Give – Donation Plugin and Fundraising Platform - Version 2.2.3

Version Description

Give version 1.8 is a major update. Please make sure you make a backup of your database before updating.

Download this release

Release Info

Developer dlocc
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

assets/dist/css/give.css CHANGED
@@ -15,4 +15,4 @@
15
  * @author: Paul Ryley (http://geminilabs.io)
16
  * @url: https://geminilabs.github.io/float-labels.js
17
  * @license: MIT
18
- */[id*=give-form].give-fl-form .give-fl-wrap{position:relative;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[id*=give-form].give-fl-form input.give-fl-input,[id*=give-form].give-fl-form select.give-fl-select,[id*=give-form].give-fl-form textarea.give-fl-textarea{width:100%;outline:0;font-size:16px;line-height:normal;border-radius:0;border:1px solid #ccc;background-color:inherit;box-sizing:border-box;transition:all .2s ease-in-out;margin-bottom:0}[id*=give-form].give-fl-form input.give-fl-input:-moz-placeholder,[id*=give-form].give-fl-form input.give-fl-input::-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-moz-placeholder{color:#bbb}[id*=give-form].give-fl-form input.give-fl-input:-ms-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-ms-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-ms-input-placeholder{color:#bbb}[id*=give-form].give-fl-form input.give-fl-input::-webkit-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-webkit-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-webkit-input-placeholder{color:#bbb}[id*=give-form].give-fl-form select.give-fl-select{position:relative;color:#bbb;cursor:pointer;-webkit-appearance:none;-moz-appearance:none}[id*=give-form].give-fl-form .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form .give-fl-is-active textarea.give-fl-textarea{color:#333;background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form .give-fl-has-focus input.give-fl-input,[id*=give-form].give-fl-form .give-fl-has-focus select.give-fl-select,[id*=give-form].give-fl-form .give-fl-has-focus textarea.give-fl-textarea{background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form label.give-fl-label{opacity:0;visibility:hidden;display:block;position:absolute;top:-12px;left:0;font-size:12px;font-weight:700;line-height:1;color:#bbb;border-radius-top-left:0;transition:all .2s ease-in-out;z-index:1}[id*=give-form].give-fl-form .give-fl-is-active label.give-fl-label{opacity:1;visibility:visible}[id*=give-form].give-fl-form .give-fl-has-focus label.give-fl-label{color:#1976d2}[id*=give-form].give-fl-form .give-fl-is-required:before{opacity:1;content:"*";display:block;position:absolute;top:1px;right:18px;font-size:16px;line-height:1.75;color:#d32f2f;transition:all .2s ease-in-out;padding:6px 0 0;z-index:1}[id*=give-form].give-fl-form .give-fl-is-required.give-fl-is-active:before{opacity:0}[id*=give-form].give-fl-form.give-fl-style-1 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select{height:44px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label{top:1px;left:10px;background-color:transparent;padding:12px 3px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label:before{content:"";display:block;position:absolute;top:19px;left:0;right:0;height:1px;background-color:inherit;z-index:-1}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label{top:-9px;padding:3px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label:before{top:9px}[id*=give-form].give-fl-form.give-fl-style-2 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 textarea.give-fl-textarea{padding:12px}[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select{height:56px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active textarea.give-fl-textarea{padding:18px 12px 6px}[id*=give-form].give-fl-form.give-fl-style-2 label.give-fl-label{top:1px;left:10px;padding:6px 3px 3px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form .give-fl-wrap-select:after{content:"";position:absolute;display:block;top:1px;right:6px;height:calc(100% - 2px);width:15px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#bbb' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>") no-repeat;background-position:100% 50%;background-size:7px 14px;z-index:2}.mfp-bg{z-index:1000001;overflow:hidden;background:#0b0b0b;opacity:.8}.mfp-bg,.mfp-wrap{top:0;left:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1000002;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1000004}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1000003}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1000005;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{transform:scale(.75)}.mfp-arrow-left{transform-origin:0}.mfp-arrow-right{transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}@font-face{font-family:give-icomoon;src:url(../fonts/icomoon.eot);src:url(../fonts/icomoon.eot#iefix) format("embedded-opentype"),url(../fonts/icomoon.woff) format("woff"),url(../images/icomoon.svg#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" give-icon-"],[class^=give-icon-]{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-icon-lamp:before{content:"\E603"}.give-icon-heart:before{content:"\E604"}.give-icon-question:before{content:"\E602"}.give-icon-info:before{content:"\E601"}.give-icon-new-tab:before{content:"\EA7E"}.give-icon-alert:before{content:"\F02D"}.give-icon-help:before{content:"\E606"}.give-icon-spinner:before{content:"\E605"}.give-button-with-loader span.give-loading-animation:before,.give-icon-spinner2:before,form[id*=give-form] .give-loading-animation:before{content:"\E607"}.give-icon-plus:before{content:"\E040"}.give-icon-minus:before{content:"\E041"}.give-icon-locked:before,[id*=give_secure_site_wrapper] span.padlock:before{content:"\E600"}.dashicons-give:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\E800"}.fa-spin,.give-button-with-loader span.give-loading-animation,form[id*=give-form] .give-loading-animation{animation:a 1s infinite linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}body.give_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.give_receipt_page #give_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.give_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.give_receipt_page td,body.give_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px 6px 0;font-weight:400}body.give_receipt_page th{font-weight:700;text-transform:uppercase}body.give_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}table#give_donation_receipt,table#give_donation_receipt_products{width:100%}table#give_donation_receipt td,table#give_donation_receipt th{text-align:left}table#give_donation_receipt .give-receipt-thead-text{font-size:18px;text-align:center;display:block}table#give_donation_receipt .give-receipt-thead-text>span{font-size:16px}table#give_donation_receipt li{margin:0 0 8px 10px}table#give_donation_receipt ul{margin:0;padding:0;list-style:none}table#give_donation_receipt .give_receipt_payment_status.failed,table#give_donation_receipt .give_receipt_payment_status.pending,table#give_donation_receipt .give_receipt_payment_status.revoked{color:#f73f2e}table#give_donation_receipt span.donation-level-text-wrap{font-style:italic;display:block}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give textarea.give-fl-textarea{line-height:inherit;padding:12px;background-color:#fff}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=email],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=number],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=password],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=search],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=tel],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=text],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=url]{height:auto;min-height:50px}[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select{line-height:inherit}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active textarea.give-fl-textarea{padding:20px 12px 4px;transition:padding .2s ease-in-out,border .2s ease-in-out}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{top:1px;left:13px;right:0;padding:6px 0 0}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-required-indicator{display:none}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip{position:absolute;top:0;width:100%;height:100%;margin:0;z-index:1}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip:before{content:unset}.give-clearfix{*zoom:1}.give-clearfix:after,.give-clearfix:before{content:" ";display:table}.give-clearfix:after{clear:both}[id*=give-form] .give-hidden{display:none}[id*=give-form] fieldset{background-color:transparent;border:none;padding:0;margin:0;border:0}[id*=give-form] .give-form-title{padding:0;margin:0 0 15px}[id*=give-form] div#give-sidebar-left{width:38%;float:left}[id*=give-form] div.images{margin:0 0 15px}[id*=give-form] div.images img{display:block;width:100%;height:auto;box-shadow:none}[id*=give-form] .give-custom-amount-text{clear:both}[id*=give-form] div.summary{width:58%;float:right}[id*=give-form] div.summary.give-full-width{width:100%;float:none}[id*=give-form] .give_form select.give-select.required{color:#000}[id*=give-form] div.give-form-content-wrap{margin:0 0 20px}[id*=give-form] div.give-form-content-wrap.give_post_form-content{margin:20px 0 0}[id*=give-form].give-display-modal form .give_notices{display:none}[id*=give-form].give-display-modal .give-btn,[id*=give-form].give-display-reveal .give-btn{margin:0 0 15px}[id*=give-form].give-display-modal #give-payment-mode-select,[id*=give-form].give-display-modal #give_purchase_form_wrap,[id*=give-form].give-display-reveal #give-payment-mode-select,[id*=give-form].give-display-reveal #give_purchase_form_wrap{display:none}[id*=give-form] .cc-address{margin-bottom:15px}.single-give_forms.et_right_sidebar #main-content .container:before{display:none}.single-give_forms .give_forms{*zoom:1}.single-give_forms .give_forms:after,.single-give_forms .give_forms:before{content:" ";display:table}.single-give_forms .give_forms:after{clear:both}#give-purchase-gravatars .give-gravatars-title{margin:0 0 15px}#give-purchase-gravatars .give-purchase-gravatars-list{list-style:none;margin:0;padding:0}#give-purchase-gravatars .give-purchase-gravatars-list li{list-style-type:none;display:inline-block;margin:0 5px 0 0;padding:0}#give-recurring-form,form.give-form,form[id*=give-form]{margin:0 0 25px;padding:0}#give-recurring-form .give-hidden,form.give-form .give-hidden,form[id*=give-form] .give-hidden{display:none}#give-recurring-form .give-title-prefix-wrap .form-row-first,#give-recurring-form .give-title-prefix-wrap .form-row-last,form.give-form .give-title-prefix-wrap .form-row-first,form.give-form .give-title-prefix-wrap .form-row-last,form[id*=give-form] .give-title-prefix-wrap .form-row-first,form[id*=give-form] .give-title-prefix-wrap .form-row-last{float:left;width:40%}#give-recurring-form .give-title-prefix-wrap .form-row-title,form.give-form .give-title-prefix-wrap .form-row-title,form[id*=give-form] .give-title-prefix-wrap .form-row-title{float:left;width:15%}#give-recurring-form .give-tooltip,form.give-form .give-tooltip,form[id*=give-form] .give-tooltip{margin:0 3px;padding:0;font-size:14px;transition:all .2s linear;color:rgba(51,51,51,.5)}#give-recurring-form .give-tooltip:hover,form.give-form .give-tooltip:hover,form[id*=give-form] .give-tooltip:hover{color:#333}#give-recurring-form h3.give-section-break,#give-recurring-form h4.give-section-break,#give-recurring-form legend,form.give-form h3.give-section-break,form.give-form h4.give-section-break,form.give-form legend,form[id*=give-form] h3.give-section-break,form[id*=give-form] h4.give-section-break,form[id*=give-form] legend{background-color:transparent;font-size:1.15em;font-weight:700;margin:10px 0 15px;padding:0 0 5px;border-bottom:1px solid rgba(0,0,0,.1);width:100%}#give-recurring-form h3.give-section-break span.sub-text,#give-recurring-form h4.give-section-break span.sub-text,#give-recurring-form legend span.sub-text,form.give-form h3.give-section-break span.sub-text,form.give-form h4.give-section-break span.sub-text,form.give-form legend span.sub-text,form[id*=give-form] h3.give-section-break span.sub-text,form[id*=give-form] h4.give-section-break span.sub-text,form[id*=give-form] legend span.sub-text{font-style:italic;font-weight:400}#give-recurring-form .form-row,form.give-form .form-row,form[id*=give-form] .form-row{*zoom:1;box-sizing:border-box;margin:0 0 15px;overflow:visible;padding:0}#give-recurring-form .form-row:after,#give-recurring-form .form-row:before,form.give-form .form-row:after,form.give-form .form-row:before,form[id*=give-form] .form-row:after,form[id*=give-form] .form-row:before{content:" ";display:table}#give-recurring-form .form-row:after,form.give-form .form-row:after,form[id*=give-form] .form-row:after{clear:both}#give-recurring-form .form-row:last-child,form.give-form .form-row:last-child,form[id*=give-form] .form-row:last-child{margin-bottom:15px}#give-recurring-form .form-row label,form.give-form .form-row label,form[id*=give-form] .form-row label{display:block;margin:0 0 5px;position:relative;line-height:1.7}#give-recurring-form .form-row label.checkbox,form.give-form .form-row label.checkbox,form[id*=give-form] .form-row label.checkbox{display:inline}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row select,#give-recurring-form .form-row textarea,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row select,form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row select,form[id*=give-form] .form-row textarea{box-sizing:border-box;width:100%;border-radius:0;outline:none;color:#333;background-color:#fdfdfd;border:1px solid #ccc;margin:0;padding:.5em}#give-recurring-form .form-row input[type=email]:focus,#give-recurring-form .form-row input[type=password]:focus,#give-recurring-form .form-row input[type=tel]:focus,#give-recurring-form .form-row input[type=text]:focus,#give-recurring-form .form-row input[type=url]:focus,#give-recurring-form .form-row select:focus,#give-recurring-form .form-row textarea:focus,form.give-form .form-row input[type=email]:focus,form.give-form .form-row input[type=password]:focus,form.give-form .form-row input[type=tel]:focus,form.give-form .form-row input[type=text]:focus,form.give-form .form-row input[type=url]:focus,form.give-form .form-row select:focus,form.give-form .form-row textarea:focus,form[id*=give-form] .form-row input[type=email]:focus,form[id*=give-form] .form-row input[type=password]:focus,form[id*=give-form] .form-row input[type=tel]:focus,form[id*=give-form] .form-row input[type=text]:focus,form[id*=give-form] .form-row input[type=url]:focus,form[id*=give-form] .form-row select:focus,form[id*=give-form] .form-row textarea:focus{background-color:#fff}#give-recurring-form .form-row input[type=email].required,#give-recurring-form .form-row input[type=password].required,#give-recurring-form .form-row input[type=tel].required,#give-recurring-form .form-row input[type=text].required,#give-recurring-form .form-row input[type=url].required,#give-recurring-form .form-row select.required,#give-recurring-form .form-row textarea.required,form.give-form .form-row input[type=email].required,form.give-form .form-row input[type=password].required,form.give-form .form-row input[type=tel].required,form.give-form .form-row input[type=text].required,form.give-form .form-row input[type=url].required,form.give-form .form-row select.required,form.give-form .form-row textarea.required,form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row select.required,form[id*=give-form] .form-row textarea.required{color:#333}#give-recurring-form .form-row-first,#give-recurring-form .form-row-title,form.give-form .form-row-first,form.give-form .form-row-title,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-title{margin-right:2.5%}#give-recurring-form .form-row-first,#give-recurring-form .form-row-last,form.give-form .form-row-first,form.give-form .form-row-last,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-last{float:left;width:48.5%}#give-recurring-form .form-row-last,form.give-form .form-row-last,form[id*=give-form] .form-row-last{float:right}#give-recurring-form .form-row-wide,form.give-form .form-row-wide,form[id*=give-form] .form-row-wide{*zoom:1;clear:both}#give-recurring-form .form-row-wide:after,#give-recurring-form .form-row-wide:before,form.give-form .form-row-wide:after,form.give-form .form-row-wide:before,form[id*=give-form] .form-row-wide:after,form[id*=give-form] .form-row-wide:before{content:" ";display:table}#give-recurring-form .form-row-wide:after,form.give-form .form-row-wide:after,form[id*=give-form] .form-row-wide:after{clear:both}#give-recurring-form .form-row-two-thirds,form.give-form .form-row-two-thirds,form[id*=give-form] .form-row-two-thirds{float:left;width:65.75%}#give-recurring-form .form-row-two-thirds.form-row-first,form.give-form .form-row-two-thirds.form-row-first,form[id*=give-form] .form-row-two-thirds.form-row-first{margin-left:0}#give-recurring-form .form-row-one-third,form.give-form .form-row-one-third,form[id*=give-form] .form-row-one-third{float:left;width:31.25%;margin-left:3%}#give-recurring-form .form-row-one-third.form-row-first,form.give-form .form-row-one-third.form-row-first,form[id*=give-form] .form-row-one-third.form-row-first{margin-left:0}@media (max-width:480px){#give-recurring-form .form-row-responsive,form.give-form .form-row-responsive,form[id*=give-form] .form-row-responsive{margin-left:0;margin-right:0;width:100%}}#give-recurring-form .give-error,#give-recurring-form .give-required-indicator,form.give-form .give-error,form.give-form .give-required-indicator,form[id*=give-form] .give-error,form[id*=give-form] .give-required-indicator{color:#a00}#give-recurring-form .card-expiration>select,form.give-form .card-expiration>select,form[id*=give-form] .card-expiration>select{width:44%;margin:0}#give-recurring-form .card-expiration>span.exp-divider,form.give-form .card-expiration>span.exp-divider,form[id*=give-form] .card-expiration>span.exp-divider{display:inline;text-align:center}#give-recurring-form .card-expiration select.card-expiry-year,form.give-form .card-expiration select.card-expiry-year,form[id*=give-form] .card-expiration select.card-expiry-year{float:right}#give-recurring-form .give-disabled,#give-recurring-form [disabled],form.give-form .give-disabled,form.give-form [disabled],form[id*=give-form] .give-disabled,form[id*=give-form] [disabled]{cursor:not-allowed}form[id*=give-form] .give-donation-amount{margin:0 0 15px}form[id*=give-form] .give-donation-amount .give-currency-symbol{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:left}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-before{border-left:1px solid #ccc;border-right:none}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-after{border-left:none;border-right:1px solid #ccc}form[id*=give-form] .give-donation-amount #give-amount,form[id*=give-form] .give-donation-amount #give-amount-text{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;min-width:125px;float:left}form[id*=give-form] .give-donation-amount #give-amount-text.invalid-amount,form[id*=give-form] .give-donation-amount #give-amount.invalid-amount{border:1px solid red}form[id*=give-form] .give-donation-amount input.give-amount-top{width:125px}form[id*=give-form] .give-donation-amount span.give-final-total-amount{border:1px solid #ccc;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;cursor:not-allowed;background:#fff;float:left}form[id*=give-form] #give_terms_agreement legend{display:none}form[id*=give-form] #give_terms_agreement label{display:inline-block}form[id*=give-form] #give-final-total-wrap{margin:10px 0 25px;padding:0;*zoom:1}form[id*=give-form] #give-final-total-wrap:after,form[id*=give-form] #give-final-total-wrap:before{content:" ";display:table}form[id*=give-form] #give-final-total-wrap:after{clear:both}form[id*=give-form] #give-final-total-wrap .give-donation-total-label{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:left;border:1px solid #ccc}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-donation-total-label{display:block;float:none}}form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;border-left:none;float:left}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;border-top:0;display:block;float:none}}.give-display-button-only>:not(form),.give-display-button-only form[id*=give-form]>:not(.give-btn-modal){display:none}form[id*=give-form] input[type=radio]{margin:0 .5em 0 0}form[id*=give-form] #give-donation-level-radio-list{margin:0 0 15px;padding:0;list-style:none;clear:both}form[id*=give-form] #give-donation-level-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}form[id*=give-form] #give-donation-level-radio-list>li label{cursor:pointer;display:inline-block;margin:0}form[id*=give-form] #give-donation-level-radio-list>li input[type=radio]{margin:0 .5em 0 0;outline:none;width:auto}form[id*=give-form] #give-gateway-radio-list{*zoom:1;margin:0 0 15px;padding:0;list-style:none}form[id*=give-form] #give-gateway-radio-list:after,form[id*=give-form] #give-gateway-radio-list:before{content:" ";display:table}form[id*=give-form] #give-gateway-radio-list:after{clear:both}form[id*=give-form] #give-gateway-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}@media (min-width:480px){form[id*=give-form] #give-gateway-radio-list>li{display:inline-block;margin-right:15px;margin-left:0}}form[id*=give-form] #give-gateway-radio-list>li label.give-gateway-option{cursor:pointer;display:inline;margin:0}form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{margin:0 .25em 0 0;outline:none;width:auto;display:inline}form[id*=give-form] input[type=checkbox]{margin:0 .25em 0 0}form[id*=give-form] select.give-select-level{outline:none;border-radius:0;min-width:155px;border:1px solid #ccc;margin:0 0 15px;display:block;clear:both;color:#333;background-color:#fdfdfd;padding:.5em;max-width:100%}#give-donation-level-button-wrap{*zoom:1;margin:0 0 15px;padding:0;clear:both;list-style:none}#give-donation-level-button-wrap:after,#give-donation-level-button-wrap:before{content:" ";display:table}#give-donation-level-button-wrap:after{clear:both}#give-donation-level-button-wrap>li{list-style-type:none;list-style-image:none;float:left;margin:0 5px 5px 0}.give_terms_links{float:right}[id*=give_secure_site_wrapper]{padding:4px 4px 15px 0;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock :before{display:inline-block}#give_purchase_form_wrap input.give-input.card-cvc.valid,#give_purchase_form_wrap input.give-input.card-expiry.valid,#give_purchase_form_wrap input.give-input.card-number.valid{background-image:url(../images/tick.png);background-repeat:no-repeat;background-position:right 10px top 50%;background-size:16px}#give_purchase_form_wrap input.give-input.card-cvc.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-expiry.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-number.valid.fl-input:not(.card-cvc):not(.card-expiry){background-position:right 55px top 50%}#give_purchase_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:37px;height:26px;background-size:37px 26px!important}#give_purchase_form_wrap .fl-wrap span.card-type{top:calc(.5em + 6px);right:11px}#give_purchase_form_wrap span.card-type.off{display:none}#give_purchase_form_wrap span.card-type.visa{background:url(../images/visa.svg) no-repeat}#give_purchase_form_wrap span.card-type.mastercard{background:url(../images/mastercard.svg) no-repeat}#give_purchase_form_wrap span.card-type.discover{background:url(../images/discover.svg) no-repeat}#give_purchase_form_wrap span.card-type.amex{background:url(../images/amex.svg) no-repeat}#give_purchase_form_wrap span.card-type.maestro{background:url(../images/maestro.svg) no-repeat}#give_purchase_form_wrap span.card-type.dinersclub{background:url(../images/diners-club.svg) no-repeat}#give_purchase_form_wrap span.card-type.jcb{background:url(../images/jcb.svg) no-repeat}#give_purchase_form_wrap span.card-type.dankort{background:url(../images/dankort.png) no-repeat}#give_purchase_form_wrap span.card-type.unionpay{background:url(../images/unionpay.svg) no-repeat}form[id*=give-form] p.give-loading-text,form[id*=give-form] span.give-loading-text{display:none;float:right;height:16px;width:16px;margin:0;padding:0;font-style:italic;line-height:20px;font-size:16px;font-weight:400}form[id*=give-form] .give-loading-animation{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;float:left;height:16px;width:16px;line-height:1;font-size:16px;margin:0 5px 0 0;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}form[id*=give-form] .give-payment-mode-label .give-loading-text{float:right}[id*=give-form] .give-login-account-wrap{margin:0 0 15px;position:relative}[id*=give-form] .give-login-account-wrap .give-login-message{text-align:right;margin:0;padding:0}[id*=give-form] .give-login-account-wrap .give-loading-text{position:absolute;right:0;top:.25em}[id*=give-form] fieldset[id^=give-login-fields]{margin:0 0 15px}[id*=give-form] .give-new-account-link{margin:0 0 15px;padding:0}[id*=give-form] .give_login_forgot_password{float:right}.give-submit-button-wrap input.give-cancel-login,[id^=give-user-login-submit] input.give-cancel-login{margin-left:5px}.give-submit-button-wrap span.give-loading-animation,[id^=give-user-login-submit] span.give-loading-animation{margin:0 0 0 .5em;display:none}.give-submit-button-wrap .give-submit,[id^=give-user-login-submit] .give-submit{float:left}.give-user-login-fields-container:after{display:block;content:"";clear:both}#give-login-form div.give-login,#give-login-form legend,#give-register-form div.give-login,#give-register-form legend{line-height:2;margin-bottom:15px}#give-login-form label,#give-register-form label{min-width:100px;display:inline-block}div.give-form-wrap.mfp-hide{display:block!important}div.mfp-content fieldset ol,div.mfp-content fieldset p,div.mfp-content fieldset ul{margin-bottom:1.2em;line-height:1.4}div.mfp-content form[id*=give-form] .give_notices{display:block!important}.give-btn{background:#ededed;border:1px solid #ccc;color:#333;padding:8px 10px;cursor:pointer;line-height:1.2em;font-size:1em}.give-btn:hover{background:#dbdbdb}#give_profile_editor_form legend{width:auto;padding:0 5px 5px;border-bottom:0}form#give-email-access-form div.g-recaptcha,form#give-email-access-form input#give-email{margin:0 0 15px}form#give-email-access-form input#give-email{width:305px}@media (max-width:768px){[id*=give-form] div#give-sidebar-left,[id*=give-form] div.images,[id*=give-form] div.summary{width:100%;float:none}}.give-form-wrap .give-form h3.give-section-break,.give-form-wrap .give-form h4.give-section-break{margin:10px 0 0}.give-do-validate input.error{border-color:red!important}.give-button-with-loader span.give-loading-animation{display:none;position:relative;top:3px;float:right;font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:16px;width:16px;line-height:1;font-size:16px;margin:0 0 0 5px;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}.give-active span.give-loading-animation{display:inline}.give_notices{position:relative}.give_notices .notice-dismiss{position:absolute;top:50%;right:0;transform:translateY(-50%);border:none;margin:0;padding:5px;background:0 0;color:#72777c;cursor:pointer;max-width:28px!important}.give_notices .notice-dismiss:before{background:0 0;color:#72777c;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}.give_notices .notice-dismiss:hover{background-color:transparent}.give_notices .notice-dismiss:hover:before{color:#dc3232}.give_error,.give_success,.give_warning{position:relative;margin:15px 0;background:#f9f9f9;padding:1em 1.5em 1em 2em;border-left:4px solid;box-shadow:0 1px 1px rgba(0,0,0,.125);clear:both}.give_error>p,.give_success>p,.give_warning>p{margin:0!important;color:#333}.give_error:before,.give_success:before,.give_warning:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;font-size:16px;margin-top:-15px;left:-17px;color:#fff;width:30px;height:30px;border-radius:100%;text-align:center;line-height:30px;text-shadow:1px 1px rgba(0,0,0,.5)}.give_error{border-color:#a00}.give_error:before{content:"\F02D";background-color:#a00}.give_success{border-color:#7ad03a}.give_success:before{background-color:#7ad03a;content:"\E601"}.give_warning{border-color:#ffba00}.give_warning:before{background-color:#ffba00;content:"\F02D"}.twentythirteen .give_forms{padding:40px 0}.twentyfourteen .tfgive{padding:12px 10px 0;max-width:474px;margin:0 auto}.twentyfourteen .tfgive .give_forms .entry-summary{padding:0!important;margin:0 0 1.618em!important}.twentyfourteen .tfgive div.give_forms.hentry.has-post-thumbnail{margin-top:0}.twentyfourteen .tfgive .give_forms .images img{margin-bottom:1em}@media screen and (min-width:673px){.twentyfourteen .tfgive{padding-right:30px;padding-left:30px}}@media screen and (min-width:1040px){.twentyfourteen .tfgive{padding-right:15px;padding-left:15px}}@media screen and (min-width:1110px){.twentyfourteen .tfgive{padding-right:30px;padding-left:30px}}@media screen and (min-width:1218px){.twentyfourteen .tfgive{margin-right:54px}.full-width .twentyfourteen .tfgive{margin-right:auto}}.twentyfifteen .t15give{padding-left:7.6923%;padding-right:7.6923%;padding-top:7.6923%;margin-bottom:7.6923%;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.15)}.twentyfifteen .t15give .page-title{margin-left:0}.twentyfifteen .t15give div.summary{padding:0}@media screen and (min-width:38.75em){.twentyfifteen .t15give{margin-right:7.6923%;margin-left:7.6923%;margin-top:8.3333%}}@media screen and (min-width:59.6875em){.twentyfifteen .t15give{margin-left:8.3333%;margin-right:8.3333%;padding:10%}.single-product .twentyfifteen .entry-summary{padding:0!important}}.avada-row>div.give-wrap #content{width:100%}.give-goal-progress{margin-bottom:20px;clear:both}.give-goal-progress .income{font-size:46px;line-height:48px;letter-spacing:-1px;color:#333}.give-goal-progress .raised{margin-bottom:15px}.give-progress-bar{height:20px;position:relative;background:#eee;border-radius:25px;overflow:hidden}.give-progress-bar>span{display:block;height:100%;border-top-right-radius:8px;border-bottom-right-radius:8px;border-top-left-radius:20px;border-bottom-left-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}table.give-table{color:#666;font-size:14px;text-shadow:1px 1px 0 #fff;background:#eaebec;margin:20px 0;border:1px solid #e0e0e0;border-top:none;border-bottom:none;width:100%}table.give-table thead{font-weight:700}table.give-table thead th:first-child{text-align:left}table.give-table th{padding:21px 25px;border-top:1px solid #e8e8e8;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;border-right:none;background:#f6f6f6;text-align:center;font-weight:700}table.give-table tbody tr{text-align:center}table.give-table tbody tr td{padding:18px;border:none;border-top:1px solid #fff;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;background:#fff;text-align:center}table.give-table tbody tr td:first-child{text-align:left;border-left:0}table.give-table tbody tr:nth-child(2n) td{background:#fcfcfc}body.give-twentysixteen div.entry-summary{margin:0}body.give-twentysixteen button.give-btn{color:#333}body.give-twentysixteen .give-submit{color:#fff}body.give-twentysixteen fieldset#give_terms_agreement{padding-left:0}body.give-twentyseventeen.colors-dark div#give_purchase_form_wrap span.give-final-total-amount,body.give-twentyseventeen.colors-dark div.give-total-wrap input.give-text-input,body.give-twentyseventeen.colors-dark div.give_notices p{color:#000}body.give-twentyseventeen.colors-dark form[id*=give] fieldset{background-color:transparent}html[class*=avia] body#top form[id*=give-form] input.give-amount-top{width:unset;border:1px solid #ccc;border-left:none}html[class*=avia] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{left:7px}html[class*=avia] body#top [id*=give-form].give-fl-form div.give-fl-is-active input{padding:8px 6px 0}.give-donation-history .give-table{table-layout:auto}.give-donation-history .give-table .give-security-column{float:left}.give-donation-history .give-table .give-security-column.give-security-description-wrap{width:75%;padding:16px 13px;font-size:12px;font-style:italic}.give-donation-history .give-table .give-security-column.give-security-button-wrap{width:25%;padding:25px 5px}.give-donation-history .give-table .give-security-column.give-security-button-wrap span{display:none;padding:0 20px}.give-donation-history .give-table .title-for-mobile{display:none}@media screen and (max-width:480px){#give_user_history thead{display:none}#give_user_history tbody{border-top:1px solid #e0e0e0}#give_user_history tr{padding:.5rem 0;background:#fff}#give_user_history tr:nth-child(2n){background-color:#fafafa}#give_user_history td{border:none;padding-top:0;padding-bottom:0;background-color:transparent}#give_user_history td,#give_user_history tr{display:block;border-left:none;text-align:left}#give_user_history .title-for-mobile{display:inline-block;font-weight:700;min-width:6em}}.give-modal{top:0;left:0;width:100%;height:100%;z-index:2148482499;position:fixed;overflow:hidden;outline:none!important;-webkit-backface-visibility:hidden;-webkit-overflow-scrolling:touch;-webkit-transform:translateZ(0)}.give-modal form[id*=give-form],.give-modal form[id*=give-form] .give-submit{margin-bottom:0}.give-modal form[id*=give-form] .give-payment-mode-label{margin-top:0;padding-top:0}@media (max-width:580px){.give-modal form[id*=give-form] .give-input{font-size:16px}}.give-modal .mfp-content{box-sizing:border-box;position:relative;background:#fff;padding:20px;width:auto;max-width:650px;margin:40px auto;z-index:2148482599}.give-modal .mfp-content [id*=give-form] #give-payment-mode-select,.give-modal .mfp-content [id*=give-form] #give_purchase_form_wrap,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-amount,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-levels-wrap{display:block}.give-modal .mfp-content .mfp-close:hover{background-color:transparent}.give-modal form.give-form button.mfp-close{position:absolute;display:block!important}.give-modal .mfp-container:after{display:none}.give-modal .mfp-content{vertical-align:middle;transform:translateY(-100px)}.give-modal.mfp-bg,.give-modal .mfp-content{opacity:0;transition:all .2s}.give-modal.mfp-ready .mfp-content{opacity:1;transform:translateY(0)}.give-modal.mfp-ready.mfp-bg{opacity:.8}.give-modal.mfp-removing .mfp-content{transform:translateY(-50px);opacity:0}.give-modal.mfp-removing.mfp-bg{opacity:0}.give-donation-grid-item-form{position:relative;margin:0 auto;max-width:600px;background-color:#fff;padding:1rem 1.5rem;height:85vh;overflow-y:auto}.give-donation-grid-item-form #give_purchase_form_wrap{display:block!important}.give-donation-grid-item-form .give-btn-modal,.give-donation-grid-item-form .give-btn-reveal{display:none!important}.give-donation-grid-item-form .give-form-title{display:none}.modal-fade-slide.give-modal .mfp-content{padding:0;max-width:100%}.modal-fade-slide .give-modal--slide{opacity:0;transition:all .2s ease-out;transform:translateY(-20px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-ready .give-modal--slide{opacity:1;transform:translateY(0) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-removing .give-modal--slide{opacity:0;transform:translateY(-10px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-bg{opacity:0;transition:opacity .3s ease-out}.modal-fade-slide.mfp-ready.mfp-bg{opacity:.8}.modal-fade-slide.mfp-removing.mfp-bg{opacity:0}.mfp-close:hover{background-color:transparent}.mfp-content .give-display-button-only .give-form-title{display:none}.mfp-content .give-display-button-only>:not(form),.mfp-content .give-display-button-only form>:not(.give-btn-modal){display:block}.give-donor{border:1px solid #e5e5e5;background:#fff;font-size:1em;margin-bottom:20px;padding:20px;position:relative;transition:all .2s ease-out;width:100%}.give-donor__header{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.give-donor__image{border:1px solid #e5e5e5;background:#fff;text-align:center;-ms-flex-preferred-size:60px;flex-basis:60px;-ms-flex-negative:0;flex-shrink:0;line-height:60px;height:60px;margin-right:10px;overflow:hidden;border-radius:50%}.give-donor__image img{border-radius:50%;display:block;height:60px;-o-object-fit:cover;object-fit:cover;width:100%}.give-donor__details{-ms-flex-positive:1;flex-grow:1;overflow:hidden}.give-donor__name{font-size:1em;font-weight:400;color:#333;line-height:1.3;margin:0}.give-donor__timestamp{color:#333;display:block;font-size:75%}.give-donor__content{color:#333;margin-top:10px;position:relative}.give-donor__content p{font-size:1em;margin:0 0 20px}.give-donor-wall-modal p:last-child,.give-donor__content p:last-child{margin-bottom:0}.give-wrap .give-grid{max-width:30rem}.give-wrap .give-grid__item{margin-bottom:1.5rem}.give-wrap .give-wrap:before{display:block;content:"";clear:both}@media (min-width:30rem){.give-wrap .give-grid{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid,.give-wrap .give-grid__item{display:-ms-flexbox;display:flex}.give-wrap .give-grid__item{padding:0 .75rem}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2 .give-grid__item,.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:50%}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:33.33333%}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4 .give-grid__item{width:25%}}@media (min-width:30rem){.give-wrap .give-grid__item .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}@supports (display:grid){@media (min-width:30rem){.give-wrap .give-grid{display:grid;grid-template-columns:1fr;grid-gap:1.5rem;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid__item{display:block;padding:0;width:auto!important}.give-wrap .give-grid--best-fit{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2,.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(2,1fr)}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(3,1fr)}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4{grid-template-columns:repeat(4,1fr)}}@media (min-width:30rem){.give-wrap .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}}.give-wrap .give-card{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);color:inherit;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;width:100%;text-decoration:none;top:0;transition:all .1s ease-out}.give-wrap .give-card:active,.give-wrap .give-card:focus,.give-wrap .give-card:hover,.give-wrap .give-card:visited{border-color:#ccc;box-shadow:0 4px 12px rgba(0,0,0,.16);top:-4px}.give-wrap .give-card__media img{border-radius:0;box-shadow:none;display:block;height:auto;margin:0;-o-object-fit:cover;object-fit:cover;-ms-flex-order:1;order:1;width:100%}.give-wrap .give-card__body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-order:2;order:2;padding:1.5rem}.give-wrap .give-card__body>:last-child{margin-bottom:0}.give-wrap .give-card__title{line-height:1.3;margin:0 0 .75rem;padding:0}.give-wrap .give-card__text{margin:0 0 1.5rem;padding:0}.give-wrap .give-card__progress{margin-top:auto;width:100%}.give-wrap .give-card__progress .raised,.give-wrap .give-card__progress>:last-child{margin-bottom:0}.give-wrap .give-card__progress .income{font-size:2em}.give-wrap .give-page-numbers{font-size:1.25em}#give-receipt .timeline-item{background:#fff}@keyframes b{0%{background-position:0 0}to{background-position:520px 0}}#give-receipt .placeholder-container-animation{max-width:650px;margin:0 auto}#give-receipt .animated-background{animation-duration:.85s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:b;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}#give-receipt .container{margin:0 auto;width:650px;background-color:#eee;border:1px solid #eee}#give-receipt .layer{display:-ms-flexbox;display:flex}#give-receipt .layer.h1{height:28px}#give-receipt .layer.h2{height:22px}#give-receipt .layer.inline-radios{height:12px}#give-receipt .layer.label{height:8px}#give-receipt .layer-item.opaque{background:#fff}#give-receipt .layer-gap{background-color:#fff}#give-receipt .layer-gap.large{height:40px}#give-receipt .layer-gap.medium{height:20px}#give-receipt .layer-gap.small{height:10px}#give-receipt .layer-1 .layer-item:nth-child(odd){width:45%}#give-receipt .layer-1 .layer-item:nth-child(2n){width:55%}#give-receipt .layer-4 .layer-item:first-child{width:30%}#give-receipt .layer-4 .layer-item:nth-child(2){width:10%}#give-receipt .layer-4 .layer-item:nth-child(3){width:20%}#give-receipt .layer-4 .layer-item:nth-child(4){width:30%}#give-receipt .layer-4 .layer-item:nth-child(5){width:10%}#give-receipt .layer-5 .layer-item:first-child{width:40%}#give-receipt .layer-5 .layer-item:nth-child(2){width:5%}#give-receipt .layer-5 .layer-item:nth-child(3){width:15%}#give-receipt .layer-5 .layer-item:nth-child(4){width:40%}#give-receipt .layer-6 .layer-item:nth-child(odd){width:30%}#give-receipt .layer-6 .layer-item:nth-child(2n){width:70%}#give-receipt .layer-8 .layer-item:first-child{width:40%}#give-receipt .layer-8 .layer-item:nth-child(2){width:20%}#give-receipt .layer-8 .layer-item:nth-child(3){width:40%}.give-grid-ie-utility{margin:0 -12px}@supports (display:grid){.give-grid-ie-utility{margin:0}}
15
  * @author: Paul Ryley (http://geminilabs.io)
16
  * @url: https://geminilabs.github.io/float-labels.js
17
  * @license: MIT
18
+ */[id*=give-form].give-fl-form .give-fl-wrap{position:relative;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[id*=give-form].give-fl-form input.give-fl-input,[id*=give-form].give-fl-form select.give-fl-select,[id*=give-form].give-fl-form textarea.give-fl-textarea{width:100%;outline:0;font-size:16px;line-height:normal;border-radius:0;border:1px solid #ccc;background-color:inherit;box-sizing:border-box;transition:all .2s ease-in-out;margin-bottom:0}[id*=give-form].give-fl-form input.give-fl-input:-moz-placeholder,[id*=give-form].give-fl-form input.give-fl-input::-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-moz-placeholder{color:#757575}[id*=give-form].give-fl-form input.give-fl-input:-ms-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-ms-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-ms-input-placeholder{color:#757575}[id*=give-form].give-fl-form input.give-fl-input::-webkit-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-webkit-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-webkit-input-placeholder{color:#757575}[id*=give-form].give-fl-form select.give-fl-select{position:relative;color:#757575;cursor:pointer;-webkit-appearance:none;-moz-appearance:none}[id*=give-form].give-fl-form .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form .give-fl-is-active textarea.give-fl-textarea{color:#333;background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form .give-fl-has-focus input.give-fl-input,[id*=give-form].give-fl-form .give-fl-has-focus select.give-fl-select,[id*=give-form].give-fl-form .give-fl-has-focus textarea.give-fl-textarea{background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form label.give-fl-label{opacity:0;visibility:hidden;display:block;position:absolute;top:-12px;left:0;font-size:12px;font-weight:700;line-height:1;color:#757575;border-radius-top-left:0;transition:all .2s ease-in-out;z-index:1}[id*=give-form].give-fl-form .give-fl-is-active label.give-fl-label{opacity:1;visibility:visible}[id*=give-form].give-fl-form .give-fl-has-focus label.give-fl-label{color:#1976d2}[id*=give-form].give-fl-form .give-fl-is-required:before{opacity:1;content:"*";display:block;position:absolute;top:1px;right:18px;font-size:16px;line-height:1.75;color:#d32f2f;transition:all .2s ease-in-out;padding:6px 0 0;z-index:1}[id*=give-form].give-fl-form .give-fl-is-required.give-fl-is-active:before{opacity:0}[id*=give-form].give-fl-form.give-fl-style-1 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select{height:44px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label{top:1px;left:10px;background-color:transparent;padding:12px 3px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label:before{content:"";display:block;position:absolute;top:19px;left:0;right:0;height:1px;background-color:inherit;z-index:-1}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label{top:-9px;padding:3px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label:before{top:9px}[id*=give-form].give-fl-form.give-fl-style-2 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 textarea.give-fl-textarea{padding:12px}[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select{height:56px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active textarea.give-fl-textarea{padding:18px 12px 6px}[id*=give-form].give-fl-form.give-fl-style-2 label.give-fl-label{top:1px;left:10px;padding:6px 3px 3px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form .give-fl-wrap-select:after{content:"";position:absolute;display:block;top:1px;right:6px;height:calc(100% - 2px);width:15px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#757575' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>") no-repeat;background-position:100% 50%;background-size:7px 14px;z-index:2}.mfp-bg{z-index:1000001;overflow:hidden;background:#0b0b0b;opacity:.8}.mfp-bg,.mfp-wrap{top:0;left:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1000002;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1000004}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1000003}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1000005;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{transform:scale(.75)}.mfp-arrow-left{transform-origin:0}.mfp-arrow-right{transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}@font-face{font-family:give-icomoon;src:url(../fonts/icomoon.eot);src:url(../fonts/icomoon.eot#iefix) format("embedded-opentype"),url(../fonts/icomoon.woff) format("woff"),url(../images/icomoon.svg#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" give-icon-"],[class^=give-icon-]{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-icon-lamp:before{content:"\E603"}.give-icon-heart:before{content:"\E604"}.give-icon-question:before{content:"\E602"}.give-icon-info:before{content:"\E601"}.give-icon-new-tab:before{content:"\EA7E"}.give-icon-alert:before{content:"\F02D"}.give-icon-help:before{content:"\E606"}.give-icon-spinner:before{content:"\E605"}.give-button-with-loader span.give-loading-animation:before,.give-icon-spinner2:before,form[id*=give-form] .give-loading-animation:before{content:"\E607"}.give-icon-plus:before{content:"\E040"}.give-icon-minus:before{content:"\E041"}.give-icon-locked:before,[id*=give_secure_site_wrapper] span.padlock:before{content:"\E600"}.dashicons-give:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\E800"}.fa-spin,.give-button-with-loader span.give-loading-animation,form[id*=give-form] .give-loading-animation{animation:a 1s infinite linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}body.give_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.give_receipt_page #give_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.give_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.give_receipt_page td,body.give_receipt_page th{display:table-cell;text-align:left;border-top:1px solid #ededed;padding:6px 10px 6px 0;font-weight:400}body.give_receipt_page th{font-weight:700;text-transform:uppercase}body.give_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}table#give_donation_receipt,table#give_donation_receipt_products{width:100%}table#give_donation_receipt td,table#give_donation_receipt th{text-align:left}table#give_donation_receipt .give-receipt-thead-text{font-size:18px;text-align:center;display:block}table#give_donation_receipt .give-receipt-thead-text>span{font-size:16px}table#give_donation_receipt li{margin:0 0 8px 10px}table#give_donation_receipt ul{margin:0;padding:0;list-style:none}table#give_donation_receipt .give_receipt_payment_status.failed,table#give_donation_receipt .give_receipt_payment_status.pending,table#give_donation_receipt .give_receipt_payment_status.revoked{color:#f73f2e}table#give_donation_receipt span.donation-level-text-wrap{font-style:italic;display:block}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give textarea.give-fl-textarea{line-height:inherit;padding:12px;background-color:#fff}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=email],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=number],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=password],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=search],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=tel],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=text],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=url]{height:auto;min-height:50px}[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select{line-height:inherit}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active textarea.give-fl-textarea{padding:20px 12px 4px;transition:padding .2s ease-in-out,border .2s ease-in-out}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{top:1px;left:13px;right:0;padding:6px 0 0}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-required-indicator{display:none}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip{position:absolute;top:0;width:100%;height:100%;margin:0;z-index:1}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip:before{content:unset}.give-clearfix{*zoom:1}.give-clearfix:after,.give-clearfix:before{content:" ";display:table}.give-clearfix:after{clear:both}[id*=give-form] .give-hidden{display:none}[id*=give-form] fieldset{background-color:transparent;border:none;padding:0;margin:0;border:0}[id*=give-form] .give-form-title{padding:0;margin:0 0 15px}[id*=give-form] div#give-sidebar-left{width:38%;float:left}[id*=give-form] div.images{margin:0 0 15px}[id*=give-form] div.images img{display:block;width:100%;height:auto;box-shadow:none}[id*=give-form] .give-custom-amount-text{clear:both}[id*=give-form] div.summary{width:58%;float:right}[id*=give-form] div.summary.give-full-width{width:100%;float:none}[id*=give-form] .give_form select.give-select.required{color:#000}[id*=give-form] div.give-form-content-wrap{margin:0 0 20px}[id*=give-form] div.give-form-content-wrap.give_post_form-content{margin:20px 0 0}[id*=give-form].give-display-modal form .give_notices{display:none}[id*=give-form].give-display-modal .give-btn,[id*=give-form].give-display-reveal .give-btn{margin:0 0 15px}[id*=give-form].give-display-modal #give-payment-mode-select,[id*=give-form].give-display-modal #give_purchase_form_wrap,[id*=give-form].give-display-reveal #give-payment-mode-select,[id*=give-form].give-display-reveal #give_purchase_form_wrap{display:none}[id*=give-form] .cc-address{margin-bottom:15px}.single-give_forms.et_right_sidebar #main-content .container:before{display:none}.single-give_forms .give_forms{*zoom:1}.single-give_forms .give_forms:after,.single-give_forms .give_forms:before{content:" ";display:table}.single-give_forms .give_forms:after{clear:both}#give-purchase-gravatars .give-gravatars-title{margin:0 0 15px}#give-purchase-gravatars .give-purchase-gravatars-list{list-style:none;margin:0;padding:0}#give-purchase-gravatars .give-purchase-gravatars-list li{list-style-type:none;display:inline-block;margin:0 5px 0 0;padding:0}#give-recurring-form,form.give-form,form[id*=give-form]{margin:0 0 25px;padding:0}#give-recurring-form .give-hidden,form.give-form .give-hidden,form[id*=give-form] .give-hidden{display:none}#give-recurring-form .give-title-prefix-wrap .form-row-first,#give-recurring-form .give-title-prefix-wrap .form-row-last,form.give-form .give-title-prefix-wrap .form-row-first,form.give-form .give-title-prefix-wrap .form-row-last,form[id*=give-form] .give-title-prefix-wrap .form-row-first,form[id*=give-form] .give-title-prefix-wrap .form-row-last{float:left;width:40%}#give-recurring-form .give-title-prefix-wrap .form-row-title,form.give-form .give-title-prefix-wrap .form-row-title,form[id*=give-form] .give-title-prefix-wrap .form-row-title{float:left;width:15%}#give-recurring-form .give-tooltip,form.give-form .give-tooltip,form[id*=give-form] .give-tooltip{margin:0 3px;padding:0;font-size:14px;transition:all .2s linear;color:rgba(51,51,51,.5)}#give-recurring-form .give-tooltip:hover,form.give-form .give-tooltip:hover,form[id*=give-form] .give-tooltip:hover{color:#333}#give-recurring-form h3.give-section-break,#give-recurring-form h4.give-section-break,#give-recurring-form legend,form.give-form h3.give-section-break,form.give-form h4.give-section-break,form.give-form legend,form[id*=give-form] h3.give-section-break,form[id*=give-form] h4.give-section-break,form[id*=give-form] legend{background-color:transparent;font-size:1.15em;font-weight:700;margin:10px 0 15px;padding:0 0 5px;border-bottom:1px solid rgba(0,0,0,.1);width:100%}#give-recurring-form h3.give-section-break span.sub-text,#give-recurring-form h4.give-section-break span.sub-text,#give-recurring-form legend span.sub-text,form.give-form h3.give-section-break span.sub-text,form.give-form h4.give-section-break span.sub-text,form.give-form legend span.sub-text,form[id*=give-form] h3.give-section-break span.sub-text,form[id*=give-form] h4.give-section-break span.sub-text,form[id*=give-form] legend span.sub-text{font-style:italic;font-weight:400}#give-recurring-form .form-row,form.give-form .form-row,form[id*=give-form] .form-row{*zoom:1;box-sizing:border-box;margin:0 0 15px;overflow:visible;padding:0}#give-recurring-form .form-row:after,#give-recurring-form .form-row:before,form.give-form .form-row:after,form.give-form .form-row:before,form[id*=give-form] .form-row:after,form[id*=give-form] .form-row:before{content:" ";display:table}#give-recurring-form .form-row:after,form.give-form .form-row:after,form[id*=give-form] .form-row:after{clear:both}#give-recurring-form .form-row:last-child,form.give-form .form-row:last-child,form[id*=give-form] .form-row:last-child{margin-bottom:15px}#give-recurring-form .form-row label,form.give-form .form-row label,form[id*=give-form] .form-row label{display:block;margin:0 0 5px;position:relative;line-height:1.7}#give-recurring-form .form-row label.checkbox,form.give-form .form-row label.checkbox,form[id*=give-form] .form-row label.checkbox{display:inline}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row select,#give-recurring-form .form-row textarea,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row select,form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row select,form[id*=give-form] .form-row textarea{box-sizing:border-box;width:100%;border-radius:0;outline:none;color:#333;background-color:#fdfdfd;border:1px solid #ccc;margin:0;padding:.5em}#give-recurring-form .form-row input[type=email]:focus,#give-recurring-form .form-row input[type=password]:focus,#give-recurring-form .form-row input[type=tel]:focus,#give-recurring-form .form-row input[type=text]:focus,#give-recurring-form .form-row input[type=url]:focus,#give-recurring-form .form-row select:focus,#give-recurring-form .form-row textarea:focus,form.give-form .form-row input[type=email]:focus,form.give-form .form-row input[type=password]:focus,form.give-form .form-row input[type=tel]:focus,form.give-form .form-row input[type=text]:focus,form.give-form .form-row input[type=url]:focus,form.give-form .form-row select:focus,form.give-form .form-row textarea:focus,form[id*=give-form] .form-row input[type=email]:focus,form[id*=give-form] .form-row input[type=password]:focus,form[id*=give-form] .form-row input[type=tel]:focus,form[id*=give-form] .form-row input[type=text]:focus,form[id*=give-form] .form-row input[type=url]:focus,form[id*=give-form] .form-row select:focus,form[id*=give-form] .form-row textarea:focus{background-color:#fff}#give-recurring-form .form-row input[type=email].required,#give-recurring-form .form-row input[type=password].required,#give-recurring-form .form-row input[type=tel].required,#give-recurring-form .form-row input[type=text].required,#give-recurring-form .form-row input[type=url].required,#give-recurring-form .form-row select.required,#give-recurring-form .form-row textarea.required,form.give-form .form-row input[type=email].required,form.give-form .form-row input[type=password].required,form.give-form .form-row input[type=tel].required,form.give-form .form-row input[type=text].required,form.give-form .form-row input[type=url].required,form.give-form .form-row select.required,form.give-form .form-row textarea.required,form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row select.required,form[id*=give-form] .form-row textarea.required{color:#333}#give-recurring-form .form-row-first,#give-recurring-form .form-row-title,form.give-form .form-row-first,form.give-form .form-row-title,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-title{margin-right:2.5%}#give-recurring-form .form-row-first,#give-recurring-form .form-row-last,form.give-form .form-row-first,form.give-form .form-row-last,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-last{float:left;width:48.5%}#give-recurring-form .form-row-last,form.give-form .form-row-last,form[id*=give-form] .form-row-last{float:right}#give-recurring-form .form-row-wide,form.give-form .form-row-wide,form[id*=give-form] .form-row-wide{*zoom:1;clear:both}#give-recurring-form .form-row-wide:after,#give-recurring-form .form-row-wide:before,form.give-form .form-row-wide:after,form.give-form .form-row-wide:before,form[id*=give-form] .form-row-wide:after,form[id*=give-form] .form-row-wide:before{content:" ";display:table}#give-recurring-form .form-row-wide:after,form.give-form .form-row-wide:after,form[id*=give-form] .form-row-wide:after{clear:both}#give-recurring-form .form-row-two-thirds,form.give-form .form-row-two-thirds,form[id*=give-form] .form-row-two-thirds{float:left;width:65.75%}#give-recurring-form .form-row-two-thirds.form-row-first,form.give-form .form-row-two-thirds.form-row-first,form[id*=give-form] .form-row-two-thirds.form-row-first{margin-left:0}#give-recurring-form .form-row-one-third,form.give-form .form-row-one-third,form[id*=give-form] .form-row-one-third{float:left;width:31.25%;margin-left:3%}#give-recurring-form .form-row-one-third.form-row-first,form.give-form .form-row-one-third.form-row-first,form[id*=give-form] .form-row-one-third.form-row-first{margin-left:0}@media (max-width:480px){#give-recurring-form .form-row-responsive,form.give-form .form-row-responsive,form[id*=give-form] .form-row-responsive{margin-left:0;margin-right:0;width:100%}}#give-recurring-form .give-error,#give-recurring-form .give-required-indicator,form.give-form .give-error,form.give-form .give-required-indicator,form[id*=give-form] .give-error,form[id*=give-form] .give-required-indicator{color:#a00}#give-recurring-form .card-expiration>select,form.give-form .card-expiration>select,form[id*=give-form] .card-expiration>select{width:44%;margin:0}#give-recurring-form .card-expiration>span.exp-divider,form.give-form .card-expiration>span.exp-divider,form[id*=give-form] .card-expiration>span.exp-divider{display:inline;text-align:center}#give-recurring-form .card-expiration select.card-expiry-year,form.give-form .card-expiration select.card-expiry-year,form[id*=give-form] .card-expiration select.card-expiry-year{float:right}#give-recurring-form .give-disabled,#give-recurring-form [disabled],form.give-form .give-disabled,form.give-form [disabled],form[id*=give-form] .give-disabled,form[id*=give-form] [disabled]{cursor:not-allowed}form[id*=give-form] .give-donation-amount{margin:0 0 15px}form[id*=give-form] .give-donation-amount .give-currency-symbol{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:left}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-before{border-left:1px solid #ccc;border-right:none}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-after{border-left:none;border-right:1px solid #ccc}form[id*=give-form] .give-donation-amount #give-amount,form[id*=give-form] .give-donation-amount #give-amount-text{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;min-width:125px;float:left}form[id*=give-form] .give-donation-amount #give-amount-text.invalid-amount,form[id*=give-form] .give-donation-amount #give-amount.invalid-amount{border:1px solid red}form[id*=give-form] .give-donation-amount input.give-amount-top{width:125px}form[id*=give-form] .give-donation-amount span.give-final-total-amount{border:1px solid #ccc;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;cursor:not-allowed;background:#fff;float:left}form[id*=give-form] #give_terms_agreement legend{display:none}form[id*=give-form] #give_terms_agreement label{display:inline-block}form[id*=give-form] #give-final-total-wrap{margin:10px 0 25px;padding:0;*zoom:1}form[id*=give-form] #give-final-total-wrap:after,form[id*=give-form] #give-final-total-wrap:before{content:" ";display:table}form[id*=give-form] #give-final-total-wrap:after{clear:both}form[id*=give-form] #give-final-total-wrap .give-donation-total-label{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:left;border:1px solid #ccc}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-donation-total-label{display:block;float:none}}form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;border-left:none;float:left}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;border-top:0;display:block;float:none}}.give-display-button-only>:not(form),.give-display-button-only form[id*=give-form]>:not(.give-btn-modal){display:none}form[id*=give-form] input[type=radio]{margin:0 .5em 0 0}form[id*=give-form] #give-donation-level-radio-list{margin:0 0 15px;padding:0;list-style:none;clear:both}form[id*=give-form] #give-donation-level-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}form[id*=give-form] #give-donation-level-radio-list>li label{cursor:pointer;display:inline-block;margin:0}form[id*=give-form] #give-donation-level-radio-list>li input[type=radio]{margin:0 .5em 0 0;outline:none;width:auto}form[id*=give-form] #give-gateway-radio-list{*zoom:1;margin:0 0 15px;padding:0;list-style:none}form[id*=give-form] #give-gateway-radio-list:after,form[id*=give-form] #give-gateway-radio-list:before{content:" ";display:table}form[id*=give-form] #give-gateway-radio-list:after{clear:both}form[id*=give-form] #give-gateway-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}@media (min-width:480px){form[id*=give-form] #give-gateway-radio-list>li{display:inline-block;margin-right:15px;margin-left:0}}form[id*=give-form] #give-gateway-radio-list>li label.give-gateway-option{cursor:pointer;display:inline;margin:0}form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{margin:0 .25em 0 0;outline:none;width:auto;display:inline}form[id*=give-form] input[type=checkbox]{margin:0 .25em 0 0}form[id*=give-form] select.give-select-level{outline:none;border-radius:0;min-width:155px;border:1px solid #ccc;margin:0 0 15px;display:block;clear:both;color:#333;background-color:#fdfdfd;padding:.5em;max-width:100%}#give-donation-level-button-wrap{*zoom:1;margin:0 0 15px;padding:0;clear:both;list-style:none}#give-donation-level-button-wrap:after,#give-donation-level-button-wrap:before{content:" ";display:table}#give-donation-level-button-wrap:after{clear:both}#give-donation-level-button-wrap>li{list-style-type:none;list-style-image:none;float:left;margin:0 5px 5px 0}.give_terms_links{float:right}[id*=give_secure_site_wrapper]{padding:4px 4px 15px 0;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock :before{display:inline-block}#give_purchase_form_wrap input.give-input.card-cvc.valid,#give_purchase_form_wrap input.give-input.card-expiry.valid,#give_purchase_form_wrap input.give-input.card-number.valid{background-image:url(../images/tick.png);background-repeat:no-repeat;background-position:right 10px top 50%;background-size:16px}#give_purchase_form_wrap input.give-input.card-cvc.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-expiry.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-number.valid.fl-input:not(.card-cvc):not(.card-expiry){background-position:right 55px top 50%}#give_purchase_form_wrap span.card-type{position:absolute;top:-2px;right:0;width:37px;height:26px;background-size:37px 26px!important}#give_purchase_form_wrap .fl-wrap span.card-type{top:calc(.5em + 6px);right:11px}#give_purchase_form_wrap span.card-type.off{display:none}#give_purchase_form_wrap span.card-type.visa{background:url(../images/visa.svg) no-repeat}#give_purchase_form_wrap span.card-type.mastercard{background:url(../images/mastercard.svg) no-repeat}#give_purchase_form_wrap span.card-type.discover{background:url(../images/discover.svg) no-repeat}#give_purchase_form_wrap span.card-type.amex{background:url(../images/amex.svg) no-repeat}#give_purchase_form_wrap span.card-type.maestro{background:url(../images/maestro.svg) no-repeat}#give_purchase_form_wrap span.card-type.dinersclub{background:url(../images/diners-club.svg) no-repeat}#give_purchase_form_wrap span.card-type.jcb{background:url(../images/jcb.svg) no-repeat}#give_purchase_form_wrap span.card-type.dankort{background:url(../images/dankort.png) no-repeat}#give_purchase_form_wrap span.card-type.unionpay{background:url(../images/unionpay.svg) no-repeat}form[id*=give-form] p.give-loading-text,form[id*=give-form] span.give-loading-text{display:none;float:right;height:16px;width:16px;margin:0;padding:0;font-style:italic;line-height:20px;font-size:16px;font-weight:400}form[id*=give-form] .give-loading-animation{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;float:left;height:16px;width:16px;line-height:1;font-size:16px;margin:0 5px 0 0;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}form[id*=give-form] .give-payment-mode-label .give-loading-text{float:right}[id*=give-form] .give-login-account-wrap{margin:0 0 15px;position:relative}[id*=give-form] .give-login-account-wrap .give-login-message{text-align:right;margin:0;padding:0}[id*=give-form] .give-login-account-wrap .give-loading-text{position:absolute;right:0;top:.25em}[id*=give-form] fieldset[id^=give-login-fields]{margin:0 0 15px}[id*=give-form] .give-new-account-link{margin:0 0 15px;padding:0}[id*=give-form] .give_login_forgot_password{float:right}.give-submit-button-wrap input.give-cancel-login,[id^=give-user-login-submit] input.give-cancel-login{margin-left:5px}.give-submit-button-wrap span.give-loading-animation,[id^=give-user-login-submit] span.give-loading-animation{margin:0 0 0 .5em;display:none}.give-submit-button-wrap .give-submit,[id^=give-user-login-submit] .give-submit{float:left}.give-user-login-fields-container:after{display:block;content:"";clear:both}#give-login-form div.give-login,#give-login-form legend,#give-register-form div.give-login,#give-register-form legend{line-height:2;margin-bottom:15px}#give-login-form label,#give-register-form label{min-width:100px;display:inline-block}div.give-form-wrap.mfp-hide{display:block!important}div.mfp-content fieldset ol,div.mfp-content fieldset p,div.mfp-content fieldset ul{margin-bottom:1.2em;line-height:1.4}div.mfp-content form[id*=give-form] .give_notices{display:block!important}.give-btn{background:#ededed;border:1px solid #ccc;color:#333;padding:8px 10px;cursor:pointer;line-height:1.2em;font-size:1em}.give-btn:hover{background:#dbdbdb}#give_profile_editor_form legend{width:auto;padding:0 5px 5px;border-bottom:0}form#give-email-access-form div.g-recaptcha,form#give-email-access-form input#give-email{margin:0 0 15px}form#give-email-access-form input#give-email{width:305px}@media (max-width:768px){[id*=give-form] div#give-sidebar-left,[id*=give-form] div.images,[id*=give-form] div.summary{width:100%;float:none}}.give-form-wrap .give-form h3.give-section-break,.give-form-wrap .give-form h4.give-section-break{margin:10px 0 0}.give-do-validate input.error{border-color:red!important}.give-button-with-loader span.give-loading-animation{display:none;position:relative;top:3px;float:right;font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:16px;width:16px;line-height:1;font-size:16px;margin:0 0 0 5px;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}.give-active span.give-loading-animation{display:inline}.give_notices{position:relative}.give_notices .notice-dismiss{position:absolute;top:50%;right:0;transform:translateY(-50%);border:none;margin:0;padding:5px;background:0 0;color:#72777c;cursor:pointer;max-width:28px!important}.give_notices .notice-dismiss:before{background:0 0;color:#72777c;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}.give_notices .notice-dismiss:hover{background-color:transparent}.give_notices .notice-dismiss:hover:before{color:#dc3232}.give_error,.give_success,.give_warning{position:relative;margin:15px 0;background:#f9f9f9;padding:1em 1.5em 1em 2em;border-left:4px solid;box-shadow:0 1px 1px rgba(0,0,0,.125);clear:both}.give_error>p,.give_success>p,.give_warning>p{margin:0!important;color:#333}.give_error:before,.give_success:before,.give_warning:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;font-size:16px;margin-top:-15px;left:-17px;color:#fff;width:30px;height:30px;border-radius:100%;text-align:center;line-height:30px;text-shadow:1px 1px rgba(0,0,0,.5)}.give_error{border-color:#a00}.give_error:before{content:"\F02D";background-color:#a00}.give_success{border-color:#7ad03a}.give_success:before{background-color:#7ad03a;content:"\E601"}.give_warning{border-color:#ffba00}.give_warning:before{background-color:#ffba00;content:"\F02D"}.twentythirteen .give_forms{padding:40px 0}.twentyfourteen .tfgive{padding:12px 10px 0;max-width:474px;margin:0 auto}.twentyfourteen .tfgive .give_forms .entry-summary{padding:0!important;margin:0 0 1.618em!important}.twentyfourteen .tfgive div.give_forms.hentry.has-post-thumbnail{margin-top:0}.twentyfourteen .tfgive .give_forms .images img{margin-bottom:1em}@media screen and (min-width:673px){.twentyfourteen .tfgive{padding-right:30px;padding-left:30px}}@media screen and (min-width:1040px){.twentyfourteen .tfgive{padding-right:15px;padding-left:15px}}@media screen and (min-width:1110px){.twentyfourteen .tfgive{padding-right:30px;padding-left:30px}}@media screen and (min-width:1218px){.twentyfourteen .tfgive{margin-right:54px}.full-width .twentyfourteen .tfgive{margin-right:auto}}.twentyfifteen .t15give{padding-left:7.6923%;padding-right:7.6923%;padding-top:7.6923%;margin-bottom:7.6923%;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.15)}.twentyfifteen .t15give .page-title{margin-left:0}.twentyfifteen .t15give div.summary{padding:0}@media screen and (min-width:38.75em){.twentyfifteen .t15give{margin-right:7.6923%;margin-left:7.6923%;margin-top:8.3333%}}@media screen and (min-width:59.6875em){.twentyfifteen .t15give{margin-left:8.3333%;margin-right:8.3333%;padding:10%}.single-product .twentyfifteen .entry-summary{padding:0!important}}.avada-row>div.give-wrap #content{width:100%}.give-goal-progress{margin-bottom:20px;clear:both}.give-goal-progress .income{font-size:46px;line-height:48px;letter-spacing:-1px;color:#333}.give-goal-progress .raised{margin-bottom:15px}.give-progress-bar{height:20px;position:relative;background:#eee;border-radius:25px;overflow:hidden}.give-progress-bar>span{display:block;height:100%;border-top-right-radius:8px;border-bottom-right-radius:8px;border-top-left-radius:20px;border-bottom-left-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}table.give-table{color:#666;font-size:14px;text-shadow:1px 1px 0 #fff;background:#eaebec;margin:20px 0;border:1px solid #e0e0e0;border-top:none;border-bottom:none;width:100%}table.give-table thead{font-weight:700}table.give-table thead th:first-child{text-align:left}table.give-table th{padding:21px 25px;border-top:1px solid #e8e8e8;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;border-right:none;background:#f6f6f6;text-align:center;font-weight:700}table.give-table tbody tr{text-align:center}table.give-table tbody tr td{padding:18px;border:none;border-top:1px solid #fff;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;background:#fff;text-align:center}table.give-table tbody tr td:first-child{text-align:left;border-left:0}table.give-table tbody tr:nth-child(2n) td{background:#fcfcfc}body.give-twentysixteen div.entry-summary{margin:0}body.give-twentysixteen button.give-btn{color:#333}body.give-twentysixteen .give-submit{color:#fff}body.give-twentysixteen fieldset#give_terms_agreement{padding-left:0}body.give-twentyseventeen.colors-dark div#give_purchase_form_wrap span.give-final-total-amount,body.give-twentyseventeen.colors-dark div.give-total-wrap input.give-text-input,body.give-twentyseventeen.colors-dark div.give_notices p{color:#000}body.give-twentyseventeen.colors-dark form[id*=give] fieldset{background-color:transparent}html[class*=avia] body#top form[id*=give-form] input.give-amount-top{width:unset;border:1px solid #ccc;border-left:none}html[class*=avia] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{left:7px}html[class*=avia] body#top [id*=give-form].give-fl-form div.give-fl-is-active input{padding:8px 6px 0}.give-donation-history .give-table{table-layout:auto}.give-donation-history .give-table .give-security-column{float:left}.give-donation-history .give-table .give-security-column.give-security-description-wrap{width:75%;padding:16px 13px;font-size:12px;font-style:italic}.give-donation-history .give-table .give-security-column.give-security-button-wrap{width:25%;padding:25px 5px}.give-donation-history .give-table .give-security-column.give-security-button-wrap span{display:none;padding:0 20px}.give-donation-history .give-table .title-for-mobile{display:none}@media screen and (max-width:480px){#give_user_history thead{display:none}#give_user_history tbody{border-top:1px solid #e0e0e0}#give_user_history tr{padding:.5rem 0;background:#fff}#give_user_history tr:nth-child(2n){background-color:#fafafa}#give_user_history td{border:none;padding-top:0;padding-bottom:0;background-color:transparent}#give_user_history td,#give_user_history tr{display:block;border-left:none;text-align:left}#give_user_history .title-for-mobile{display:inline-block;font-weight:700;min-width:6em}}.give-modal{top:0;left:0;width:100%;height:100%;z-index:2148482499;position:fixed;overflow:hidden;outline:none!important;-webkit-backface-visibility:hidden;-webkit-overflow-scrolling:touch;-webkit-transform:translateZ(0)}.give-modal form[id*=give-form],.give-modal form[id*=give-form] .give-submit{margin-bottom:0}.give-modal form[id*=give-form] .give-payment-mode-label{margin-top:0;padding-top:0}@media (max-width:580px){.give-modal form[id*=give-form] .give-input{font-size:16px}}.give-modal .mfp-content{box-sizing:border-box;position:relative;background:#fff;padding:20px;width:auto;max-width:650px;margin:40px auto;z-index:2148482599}.give-modal .mfp-content [id*=give-form] #give-payment-mode-select,.give-modal .mfp-content [id*=give-form] #give_purchase_form_wrap,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-amount,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-levels-wrap{display:block}.give-modal .mfp-content .mfp-close:hover{background-color:transparent}.give-modal form.give-form button.mfp-close{position:absolute;display:block!important}.give-modal .mfp-container:after{display:none}.give-modal .mfp-content{vertical-align:middle;transform:translateY(-100px)}.give-modal.mfp-bg,.give-modal .mfp-content{opacity:0;transition:all .2s}.give-modal.mfp-ready .mfp-content{opacity:1;transform:translateY(0)}.give-modal.mfp-ready.mfp-bg{opacity:.8}.give-modal.mfp-removing .mfp-content{transform:translateY(-50px);opacity:0}.give-modal.mfp-removing.mfp-bg{opacity:0}.give-donation-grid-item-form{position:relative;margin:0 auto;max-width:600px;background-color:#fff;padding:1rem 1.5rem;height:85vh;overflow-y:auto}.give-donation-grid-item-form #give_purchase_form_wrap{display:block!important}.give-donation-grid-item-form .give-btn-modal,.give-donation-grid-item-form .give-btn-reveal{display:none!important}.give-donation-grid-item-form .give-form-title{display:none}.modal-fade-slide.give-modal .mfp-content{padding:0;max-width:100%}.modal-fade-slide .give-modal--slide{opacity:0;transition:all .2s ease-out;transform:translateY(-20px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-ready .give-modal--slide{opacity:1;transform:translateY(0) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-removing .give-modal--slide{opacity:0;transform:translateY(-10px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-bg{opacity:0;transition:opacity .3s ease-out}.modal-fade-slide.mfp-ready.mfp-bg{opacity:.8}.modal-fade-slide.mfp-removing.mfp-bg{opacity:0}.mfp-close:hover{background-color:transparent}.mfp-content .give-display-button-only .give-form-title{display:none}.mfp-content .give-display-button-only>:not(form),.mfp-content .give-display-button-only form>:not(.give-btn-modal){display:block}.give-donor{border:1px solid #e5e5e5;background:#fff;font-size:1em;margin-bottom:20px;padding:20px;position:relative;transition:all .2s ease-out;width:100%}.give-donor__header{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.give-donor__image{border:1px solid #e5e5e5;background:#fff;text-align:center;-ms-flex-preferred-size:60px;flex-basis:60px;-ms-flex-negative:0;flex-shrink:0;line-height:60px;height:60px;margin-right:10px;overflow:hidden;border-radius:50%}.give-donor__image img{border-radius:50%;display:block;height:60px;-o-object-fit:cover;object-fit:cover;width:100%}.give-donor__details{-ms-flex-positive:1;flex-grow:1;overflow:hidden}.give-donor__name{font-size:1em;font-weight:400;color:#333;line-height:1.3;margin:0}.give-donor__timestamp{color:#333;display:block;font-size:75%}.give-donor__content{color:#333;margin-top:10px;position:relative}.give-donor__content p{font-size:1em;margin:0 0 20px}.give-donor-wall-modal p:last-child,.give-donor__content p:last-child{margin-bottom:0}.give-wrap .give-grid{max-width:30rem}.give-wrap .give-grid__item{margin-bottom:1.5rem}.give-wrap .give-wrap:before{display:block;content:"";clear:both}@media (min-width:30rem){.give-wrap .give-grid{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid,.give-wrap .give-grid__item{display:-ms-flexbox;display:flex}.give-wrap .give-grid__item{padding:0 .75rem}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2 .give-grid__item,.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:50%}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:33.33333%}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4 .give-grid__item{width:25%}}@media (min-width:30rem){.give-wrap .give-grid__item .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}@supports (display:grid){@media (min-width:30rem){.give-wrap .give-grid{display:grid;grid-template-columns:1fr;grid-gap:1.5rem;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid__item{display:block;padding:0;width:auto!important}.give-wrap .give-grid--best-fit{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2,.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(2,1fr)}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(3,1fr)}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4{grid-template-columns:repeat(4,1fr)}}@media (min-width:30rem){.give-wrap .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}}.give-wrap .give-card{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);color:inherit;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;width:100%;text-decoration:none;top:0;transition:all .1s ease-out}.give-wrap .give-card:active,.give-wrap .give-card:focus,.give-wrap .give-card:hover,.give-wrap .give-card:visited{border-color:#ccc;box-shadow:0 4px 12px rgba(0,0,0,.16);top:-4px}.give-wrap .give-card__media img{border-radius:0;box-shadow:none;display:block;height:auto;margin:0;-o-object-fit:cover;object-fit:cover;-ms-flex-order:1;order:1;width:100%}.give-wrap .give-card__body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-order:2;order:2;padding:1.5rem}.give-wrap .give-card__body>:last-child{margin-bottom:0}.give-wrap .give-card__title{line-height:1.3;margin:0 0 .75rem;padding:0}.give-wrap .give-card__text{margin:0 0 1.5rem;padding:0}.give-wrap .give-card__progress{margin-top:auto;width:100%}.give-wrap .give-card__progress .raised,.give-wrap .give-card__progress>:last-child{margin-bottom:0}.give-wrap .give-card__progress .income{font-size:2em}.give-wrap .give-page-numbers{font-size:1.25em}#give-receipt .timeline-item{background:#fff}@keyframes b{0%{background-position:0 0}to{background-position:520px 0}}#give-receipt .placeholder-container-animation{max-width:650px;margin:0 auto}#give-receipt .animated-background{animation-duration:.85s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:b;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}#give-receipt .container{margin:0 auto;width:650px;background-color:#eee;border:1px solid #eee}#give-receipt .layer{display:-ms-flexbox;display:flex}#give-receipt .layer.h1{height:28px}#give-receipt .layer.h2{height:22px}#give-receipt .layer.inline-radios{height:12px}#give-receipt .layer.label{height:8px}#give-receipt .layer-item.opaque{background:#fff}#give-receipt .layer-gap{background-color:#fff}#give-receipt .layer-gap.large{height:40px}#give-receipt .layer-gap.medium{height:20px}#give-receipt .layer-gap.small{height:10px}#give-receipt .layer-1 .layer-item:nth-child(odd){width:45%}#give-receipt .layer-1 .layer-item:nth-child(2n){width:55%}#give-receipt .layer-4 .layer-item:first-child{width:30%}#give-receipt .layer-4 .layer-item:nth-child(2){width:10%}#give-receipt .layer-4 .layer-item:nth-child(3){width:20%}#give-receipt .layer-4 .layer-item:nth-child(4){width:30%}#give-receipt .layer-4 .layer-item:nth-child(5){width:10%}#give-receipt .layer-5 .layer-item:first-child{width:40%}#give-receipt .layer-5 .layer-item:nth-child(2){width:5%}#give-receipt .layer-5 .layer-item:nth-child(3){width:15%}#give-receipt .layer-5 .layer-item:nth-child(4){width:40%}#give-receipt .layer-6 .layer-item:nth-child(odd){width:30%}#give-receipt .layer-6 .layer-item:nth-child(2n){width:70%}#give-receipt .layer-8 .layer-item:first-child{width:40%}#give-receipt .layer-8 .layer-item:nth-child(2){width:20%}#give-receipt .layer-8 .layer-item:nth-child(3){width:40%}.give-grid-ie-utility{margin:0 -12px}@supports (display:grid){.give-grid-ie-utility{margin:0}}
assets/dist/css/give.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./assets/src/css/frontend/give-frontend.scss","webpack:///./assets/src/css/frontend/_mixins.scss","webpack:///./assets/src/css/plugins/hint.min.scss","webpack:///./assets/src/css/plugins/float-labels.scss","webpack:///./assets/src/css/frontend/_variables.scss","webpack:///./assets/src/css/plugins/magnific-popup.scss","webpack:///./assets/src/css/plugins/_settings.scss","webpack:///./assets/src/css/frontend/fonts.scss","webpack:///./assets/src/css/frontend/receipt.scss","webpack:///./assets/src/css/frontend/float-labels.scss","webpack:///./assets/src/css/frontend/forms.scss","webpack:///./assets/src/css/frontend/alerts.scss","webpack:///./assets/src/css/frontend/layouts.scss","webpack:///./assets/src/css/frontend/progress-bar.scss","webpack:///./assets/src/css/frontend/tables.scss","webpack:///./assets/src/css/frontend/theme-compatibility.scss","webpack:///./assets/src/css/frontend/donation-history.scss","webpack:///./assets/src/css/frontend/modal.scss","webpack:///./assets/src/css/frontend/_components.donor.scss","webpack:///./assets/src/css/frontend/_grid.scss","webpack:///./assets/src/css/frontend/_card.scss","webpack:///./assets/src/css/frontend/_page-numbers.scss","webpack:///./blocks/components/container-placeholder-animation/style.scss"],"names":[],"mappings":"AAAA;;;;;;;;ECsDG,sBAID,wBAAyB,CAY1B,wBATC,wBAAyB,CAG3B,iBAtBE,uBACA,eACA,cACA,WACA,kBACA,mBACA,wBACA,mBAAoB,CAEpB,uBACE,WACA,oBAAqB,CACtB;;qCCpDkC,gBAErB,kBAAkB,oBAAoB,CAAE,6CAA4C,kBAAkB,gCAAqC,wBAA+D,kBAAkB,UAAU,gBAAgB,oBAAoB,4BAA4B,oBAA6C,4BAA4B,mBAA4C,CAAE,yDAAwD,mBAAmB,UAAU,6BAA6B,oBAA8C,CAAE,uBAAsB,WAAW,kBAAkB,eAAe,6BAA6B,eAAe,CAAE,sBAAqB,mBAAmB,WAAW,iBAAiB,eAAe,sDAAwD,iBAAiB,mBAAmB,0BAA0B,mFAAqC,CAAE,kCAAiC,wBAAwB,CAAE,iCAAgC,uBAAuB,CAAE,wFAAuF,sBAAsB,CAAC,iEAAiE,wBAAwB,CAAC,0EAA0E,2BAA2B,CAAC,mCAAmC,YAAY,QAAQ,CAAC,kBAAkB,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oNAKA,yBACA,iBC3G0B,CD4G1B,iDAGA,UACA,kBACA,cACA,kBACA,UACA,OACA,eACA,gBACA,cACA,WACA,yBACA,sEACA,SAAU,CACV,oEAGA,UACA,kBAAmB,CACnB,oEAGA,aAhKiC,CAiKjC,yDAGA,UACA,YACA,cACA,kBACA,QACA,WACA,eACA,iBACA,cACA,sEACA,gBACA,SAAU,CACV,2EAGA,SAAU,CACV,2MAjKC,gBAA4C,CAC5C,mEAEA,WAAiE,CACjE,oQAIA,gBAA4C,CAC5C,iEAEA,QACA,UACA,6BACA,gBAA8C,CAC9C,wEAEA,WACA,cACA,kBACA,SACA,OACA,QACA,WACA,yBACA,UAAW,CACX,oFAGA,SACA,WAA2B,CAC3B,2FAEA,OAN4D,CAO5D,2MAOA,YAA2B,CAC3B,mEAEA,WAAiE,CACjE,oQAIA,qBAAiE,CACjE,iEAEA,QACA,UACA,mBAA+D,CAC/D,yEAEA,gBAA+B,CAC/B,wDAkHD,WACA,kBACA,cACA,QACA,UACA,wBACA,WACA,2MACA,6BACA,yBACA,SAAU,CACV,QE9LC,gBACA,gBAGA,mBACA,UCrCuC,CDsCxC,kBAVC,MACA,OACA,WACA,YAGA,cAEA,CAcD,UAJC,gBAEA,uBACA,kCAAmC,CACpC,eAIC,kBACA,kBACA,WACA,YACA,OACA,MACA,cACA,mDAAsB,CACvB,sBAKG,WACA,qBACA,YACA,qBAAsB,CACvB,qCAOG,YAAa,CACd,aAMH,kBACA,qBACA,sBACA,cACA,gBACA,eCnF0C,CDoF3C,8DAIG,WACA,WAAY,CACb,cAKD,eAAgB,CACjB,iEAIG,wBACA,eAAgB,CACjB,UAGD,eACA,uBACA,cACe,CAChB,8BAGG,WAAY,CACb,kDAOD,yBACA,sBACA,qCAAiB,CAClB,wBAKG,YAAa,CACd,UAkBC,sBAAwB,CACzB,eAUD,WACA,kBACA,QACA,WACA,kBACA,iBACA,SACA,UACA,eCtK0C,CD6J5C,iBAWI,UChKsC,CDqJ1C,uBAaM,UCjKoC,CD0KvC,sDAMC,YAAa,CACd,kCAOC,iBACA,eACA,uBACA,SACA,wBACA,cACA,aACA,UACA,gBACA,wCACA,uDAA0B,CAb9B,yBAgBM,UACA,QACJ,CAAC,WAMD,WACA,YACA,iBAEA,kBACA,QACA,MACA,qBACA,kBACA,YACA,sBACA,WAEA,kBACA,eACA,uCAA0C,CAhB5C,kCAoBI,SAAU,CApBd,kBAwBI,OAAQ,CACT,6BAIC,UC3OsC,CD4OvC,2DAKC,WACA,WACA,iBACA,kBACA,UAAW,CACZ,aAKD,kBACA,MACA,QACA,WACA,eACA,iBACA,kBAAmB,CACpB,WAKG,kBACA,YACA,SACA,QACA,iBACA,UACA,WACA,aACA,yCAA0C,CAT5C,kBAWI,gBAAiB,CAXrB,kCAeI,SAAU,CAfd,mCAmBI,WACA,cACA,QACA,SACA,kBACA,OACA,MACA,gBACA,iBACA,+BAAgC,CA5BpC,iBAiCI,sBACA,yBACA,OAAO,CAnCX,kBAuCI,sBACA,yBACA,UAAY,CACb,gBAKD,MAAO,CADT,sBAGI,6BACA,gBAAiB,CAJrB,uBAOI,iBACA,+BC7TuC,CD8TxC,iBAID,OAAQ,CADV,uBAGI,4BACA,gBACF,CALF,wBAOI,8BCxUuC,CDyUxC,mBASD,iBACA,mBC5UsC,CD0UxC,gCAII,cACA,WACA,eC9UqC,CDwUzC,8BASI,SAAU,CACX,mBAGD,WACA,SACA,gBACA,kBAAqC,CAJvC,0BAMI,kBACA,cACA,MACA,OACA,WACA,YACA,4EACA,eClWoC,CDmWrC,YAYC,WACA,eACA,YACA,cAEA,oDACA,eACA,aAAc,CACf,wBAJC,aACA,CAOJ,kBAGI,WACA,kBACA,OACA,SACA,YACA,cACA,QACA,WACA,YACA,WACA,4EACA,eCnYoC,CDqXxC,kBAiBI,cACA,cACA,eACA,gBAAiB,CApBrB,mBAuBI,QAAS,CACV,gBAGD,iBACA,kBACA,SACA,OACA,WACA,WAAY,CACb,WAEC,gBACA,iBACA,cACA,qBACA,kBAA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AsB,CtB9BvB,+BsBiCE,WAAY,CtBjCd,gCsBqCE,WAAY,CtBrCd,+BsByCE,WAAY,CtBzCd,kDsBkDE,SACD,CtBnDD,iDsBsDE,SAAU,CtBtDZ,+CsB8DE,SAAU,CtB9DZ,gDsBkEE,SAAU,CtBlEZ,gDsBsEE,SAAU,CtBtEZ,gDsB0EE,SAAU,CtB1EZ,gDsB8EE,SAAU,CtB9EZ,+CsBqFE,SAAU,CtBrFZ,gDsByFE,QAAS,CtBzFX,gDsB6FE,SAAU,CtB7FZ,gDsBiGE,SAAU,CtBjGZ,kDsBwGE,SAAU,CtBxGZ,iDsB4GE,SAAU,CtB5GZ,+CsBmHE,SAAU,CtBnHZ,gDsBuHE,SAAU,CtBvHZ,gDsB2HE,SAAU,CtBvHZ,sBACC,cAAe,CACf","file":"css/give.css","sourcesContent":["/*!\n * Give Frontend SCSS/CSS\n *\n * @description: The Main SCSS file for FRONTEND styles which is compiled and minified via Gulp taskrunner\n * @package: Give\n * @subpackage: SCSS/Frontend\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n@import '_variables';\n@import '_mixins';\n@import '../plugins/hint.min';\n@import '../plugins/float-labels';\n@import '../plugins/magnific-popup';\n@import 'fonts';\n@import 'receipt';\n@import 'float-labels';\n@import 'forms';\n@import 'alerts';\n@import 'layouts';\n@import 'progress-bar';\n@import 'tables';\n@import 'theme-compatibility';\n@import 'donation-history';\n@import 'modal';\n@import '_components.donor';\n\n// Wrapper increases specificity for defensive styling against themes.\n.give-wrap {\n\t@import 'grid';\n\t@import 'card';\n\t@import 'page-numbers';\n}\n\n// Import placeholder style from gutenberg placeholder.\n#give-receipt{\n\t@import '../../../../blocks/components/container-placeholder-animation/style';\n}\n\n.give-grid-ie-utility {\n\tmargin: 0 -12px;\n}\n\n@supports (display: grid) {\n\t.give-grid-ie-utility {\n\t\tmargin: 0;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/give-frontend.scss","/**\r\n * Clearfix\r\n */\r\n@mixin clearfix() {\r\n *zoom: 1;\r\n\r\n &:before,\r\n &:after {\r\n content: \" \";\r\n display: table;\r\n }\r\n\r\n &:after {\r\n clear: both;\r\n }\r\n}\r\n\r\n.give-clearfix {\r\n @include clearfix;\r\n}\r\n\r\n/**\r\n * Box Sizing\r\n * https://github.com/timrogers/sass-box-sizing-mixin\r\n */\r\n@mixin box-sizing($box-model) {\r\n -webkit-box-sizing: $box-model; // Safari <= 5\r\n -moz-box-sizing: $box-model; // Firefox <= 19\r\n box-sizing: $box-model;\r\n}\r\n\r\n/**\r\n * CSS3 Easing\r\n */\r\n@mixin easing-transition() {\r\n -moz-transition: 0.2s all linear;\r\n -o-transition: 0.2s all linear;\r\n transition: 0.2s all linear;\r\n}\r\n\r\n//Labels\r\n@mixin give-label() {\r\n padding: .2em .4em .3em;\r\n font-size: 11px;\r\n line-height: 1;\r\n color: #fff;\r\n text-align: center;\r\n white-space: nowrap;\r\n vertical-align: baseline;\r\n border-radius: .25em;\r\n \r\n &:hover {\r\n color:#fff;\r\n text-decoration: none;\r\n }\r\n}\r\n\r\n@mixin give-label-gray() {\r\n background-color: #929292;\r\n}\r\n@mixin give-label-orange() {\r\n background-color: #ffba00;\r\n}\r\n\r\n.give-item-label {\r\n @include give-label();\r\n}\r\n\r\n.give-item-label-gray {\r\n @include give-label-gray();\r\n}\r\n\r\n.give-item-label-orange {\r\n @include give-label-orange();\r\n}\r\n\r\n\r\n.give-item-label {\r\n @include give-label();\r\n}\r\n\r\n//Fields\r\n@mixin give-currency() {\r\n background-color: lighten($light-gray, 2%);\r\n border-top: 1px solid $borders;\r\n border-bottom: 1px solid $borders;\r\n color: $dark;\r\n margin: 0;\r\n padding: 0 12px;\r\n height: 35px;\r\n line-height: 35px;\r\n font-size: $font-size-medium;\r\n @include box-sizing(border-box);\r\n}\r\n\r\n@mixin give-input() {\r\n border: 1px solid $borders;\r\n background: #FFF;\r\n border-radius: 0;\r\n height: 35px;\r\n line-height: 35px;\r\n padding: 0 12px;\r\n margin: 0;\r\n font-size: $font-size-medium;\r\n @include box-sizing(border-box);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_mixins.scss","/*! Hint.css - v2.5.0 - 2017-04-23\n* http://kushagragour.in/lab/hint/\n* Copyright (c) 2017 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/hint.min.scss","/*!\n * Float Labels\n *\n * @version: 3.2.0\n * @author: Paul Ryley (http://geminilabs.io)\n * @url: https://geminilabs.github.io/float-labels.js\n * @license: MIT\n */\n\n$float-labels: () !default;\n\n$float-labels-defaults: (\n\tbase-height : 24px,\n\tbase-padding : 6px,\n\tborder-radius : 3px,\n\tborder-width : 1px,\n\tmargin-bottom : 24px,\n\tcolor-background : #fff,\n\tcolor-background-active : #fff,\n\tcolor-background-focus : #fff,\n\tcolor-border : #dfdfdf,\n\tcolor-border-active : #dfdfdf,\n\tcolor-border-focus : #1976D2,\n\tcolor-placeholder : #bbb,\n\tcolor-required : #D32F2F,\n\tcolor-text : #444,\n\tcolor-text-focus : #1976D2,\n\tline-height : 1.5,\n\tfont-size : 16px,\n\tfont-size-small : 12px,\n\tfont-weight : 400,\n\tparent : '',\n\tprefix : 'give-fl-',\n\ttransition-easing : ease-in-out,\n\ttransition-speed : 0.2s,\n);\n\n@function fl($value) {\n\t@return map-get(map-merge($float-labels-defaults, $float-labels), $value);\n}\n\n@mixin fl-style-1 {\n\tinput.#{fl(prefix)}input,\n\tselect.#{fl(prefix)}select,\n\ttextarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding) fl(base-padding)*2;\n\t}\n\tselect.#{fl(prefix)}select {\n\t\theight: fl(base-height) + fl(base-padding)*2 + fl(border-width)*2;\n\t}\n\t.#{fl(prefix)}is-active input.#{fl(prefix)}input,\n\t.#{fl(prefix)}is-active select.#{fl(prefix)}select,\n\t.#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding) fl(base-padding)*2;\n\t}\n\tlabel.#{fl(prefix)}label {\n\t\ttop: fl(border-width);\n\t\tleft: fl(border-width) + fl(base-padding)*1.5;\n\t\tbackground-color: transparent;\n\t\tpadding: fl(base-padding)*2 fl(base-padding)/2;\n\t}\n\tlabel.#{fl(prefix)}label:before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\ttop: fl(border-width) + fl(base-padding) + fl(font-size-small);\n\t\tleft: 0;\n\t\tright: 0;\n\t\theight: fl(border-width);\n\t\tbackground-color: fl(color-background);\n\t\tz-index: -1;\n\t}\n\t$label-top: round((fl(base-padding) + fl(font-size-small))/2);\n\t.#{fl(prefix)}is-active label.#{fl(prefix)}label {\n\t\ttop: - $label-top;\n\t\tpadding: fl(base-padding)/2;\n\t}\n\t.#{fl(prefix)}is-active label.#{fl(prefix)}label:before {\n\t\ttop: $label-top;\n\t}\n}\n\n@mixin fl-style-2 {\n\tinput.#{fl(prefix)}input,\n\tselect.#{fl(prefix)}select,\n\ttextarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding)*2;\n\t}\n\tselect.#{fl(prefix)}select {\n\t\theight: fl(base-height) + fl(base-padding)*4 + fl(border-width)*2;\n\t}\n\t.#{fl(prefix)}is-active input.#{fl(prefix)}input,\n\t.#{fl(prefix)}is-active select.#{fl(prefix)}select,\n\t.#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding)*3 fl(base-padding)*2 fl(base-padding)*1;\n\t}\n\tlabel.#{fl(prefix)}label {\n\t\ttop: fl(border-width);\n\t\tleft: fl(border-width) + fl(base-padding)*1.5;\n\t\tpadding: fl(base-padding) fl(base-padding)/2 fl(base-padding)/2;\n\t}\n\t.#{fl(prefix)}is-required:before {\n\t\tpadding-top: fl(base-padding)*2;\n\t}\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}wrap {\n\tposition: relative;\n\ttext-rendering: optimizeLegibility;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\n#{fl(parent)}.#{fl(prefix)}form input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form textarea.#{fl(prefix)}textarea {\n\twidth: 100%;\n\toutline: 0;\n\tfont-size: fl(font-size);\n\tline-height: fl(line-height);\n\tborder-radius: fl(border-radius);\n\tborder: fl(border-width) solid fl(color-border);\n\tbackground-color: fl(color-background);\n\tbox-sizing: border-box;\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tmargin-bottom: fl(margin-bottom);\n\n\t&:-moz-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&::-moz-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&:-ms-input-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&::-webkit-input-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n}\n\n#{fl(parent)}.#{fl(prefix)}form select.#{fl(prefix)}select {\n\tposition: relative;\n\tcolor: fl(color-placeholder);\n\tcursor: pointer;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\tcolor: fl(color-text);\n\tbackground-color: fl(color-background-active);\n\tborder-color: fl(color-border-active);\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus textarea.#{fl(prefix)}textarea {\n\tbackground-color: fl(color-background-focus);\n\tborder-color: fl(color-border-focus);\n}\n\n#{fl(parent)}.#{fl(prefix)}form label.#{fl(prefix)}label {\n\topacity: 0;\n\tvisibility: hidden;\n\tdisplay: block;\n\tposition: absolute;\n\ttop: - fl(font-size-small);\n\tleft: 0;\n\tfont-size: fl(font-size-small);\n\tfont-weight: fl(font-weight);\n\tline-height: 1;\n\tcolor: fl(color-placeholder);\n\tborder-radius-top-left: fl(border-radius);\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tz-index: 1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active label.#{fl(prefix)}label {\n\topacity: 1;\n\tvisibility: visible;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus label.#{fl(prefix)}label {\n\tcolor: fl(color-text-focus);\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-required:before {\n\topacity: 1;\n\tcontent: '*';\n\tdisplay: block;\n\tposition: absolute;\n\ttop: fl(border-width);\n\tright: fl(base-height)/2 + fl(base-padding)/2;\n\tfont-size: fl(font-size);\n\tline-height: 1.75;\n\tcolor: fl(color-required);\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tpadding: fl(base-padding) 0 0;\n\tz-index: 1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-required.#{fl(prefix)}is-active:before {\n\topacity: 0;\n}\n\n#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-1 {\n\t@include fl-style-1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-2 {\n\t@include fl-style-2;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}wrap-select:after {\n\tcontent: '';\n\tposition: absolute;\n\tdisplay: block;\n\ttop: fl(border-width);\n\tright: 6px;\n\theight: calc(100% - #{fl(border-width)*2});\n\twidth: fl(base-height)/2;\n\tbackground: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#{fl(color-placeholder)}' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>\") no-repeat;\n\tbackground-position: 100% 50%;\n\tbackground-size: 7px 14px;\n\tz-index: 2;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/float-labels.scss","/**\n * Give CSS Variables\n */\n\n$green: #7ad03a;\n$red: #a00;\n$orange: #ffba00;\n$blue: #2ea2cc;\n$dark: #333;\n$borders: #ccc;\n$light-gray: #EDEDED;\n\n//Status\n$status-default: #777;\n$status-complete: $green;\n$status-refunded: $status-default;\n$status-subscription: #5bc0de;\n$status-revoked: #d9534f;\n\n// Borders.\n$give-card-border: #e5e5e5;\n\n//Font sizes\n$font-size-medium: 18px;\n\n$primary: #007ba4;\n// Primary color for buttons (alt)\n$primarytext: desaturate(lighten($primary, 50%), 18%);\n// Text on primary color bg\n\n$secondary: desaturate(lighten($primary, 40%), 21%);\n// Secondary buttons\n$secondarytext: desaturate(darken($secondary, 60%), 21%);\n// Text on secondary color bg\n\n$highlight: adjust-hue($primary, 150deg);\n// Prices, In stock labels, sales flash\n$highlightext: desaturate(lighten($highlight, 50%), 18%);\n// Text on highlight color bg\n\n$contentbg: #fff;\n// Content BG - Tabs (active state)\n$subtext: #777;\n// small, breadcrumbs etc\n\n$float-labels: (\n\t\tbase-height : 30px,\n\t\tborder-radius : 0,\n\t\tmargin-bottom : 0,\n\t\tcolor-background : inherit,\n\t\tcolor-background-active : inherit,\n\t\tcolor-background-focus : inherit,\n\t\tcolor-border : #ccc,\n\t\tcolor-border-active : #ccc,\n\t\tcolor-border-focus : #ccc,\n\t\tcolor-text : #333,\n\t\tline-height : normal,\n\t\tfont-weight : 700,\n\t\tparent : '[id*=\"give-form\"]',\n);\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_variables.scss","/* Magnific Popup CSS */\n\n@import \"settings\";\n\n////////////////////////\n//\n// Contents:\n//\n// 1. General styles\n// - Transluscent overlay\n// - Containers, wrappers\n// - Cursors\n// - Helper classes\n// 2. Appearance\n// - Preloader & text that displays error messages\n// - CSS reset for buttons\n// - Close icon\n// - \"1 of X\" counter\n// - Navigation (left/right) arrows\n// - Iframe content type styles\n// - Image content type styles\n// - Media query where size of arrows is reduced\n// - IE7 support\n//\n////////////////////////\n\n\n\n////////////////////////\n// 1. General styles\n////////////////////////\n\n// Transluscent overlay\n.mfp-bg {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 2;\n overflow: hidden;\n position: fixed;\n\n background: $mfp-overlay-color;\n opacity: $mfp-overlay-opacity;\n}\n\n// Wrapper for popup\n.mfp-wrap {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 3;\n position: fixed;\n outline: none !important;\n -webkit-backface-visibility: hidden; // fixes webkit bug that can cause \"false\" scrollbar\n}\n\n// Root container\n.mfp-container {\n text-align: center;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n padding: 0 $mfp-popup-padding-left;\n box-sizing: border-box;\n}\n\n// Vertical centerer helper\n.mfp-container {\n &:before {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n}\n\n// Remove vertical centering when popup has class `mfp-align-top`\n.mfp-align-top {\n .mfp-container {\n &:before {\n display: none;\n }\n }\n}\n\n// Popup content holder\n.mfp-content {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n margin: 0 auto;\n text-align: left;\n z-index: $mfp-z-index-base + 5;\n}\n.mfp-inline-holder,\n.mfp-ajax-holder {\n .mfp-content {\n width: 100%;\n cursor: auto;\n }\n}\n\n// Cursors\n.mfp-ajax-cur {\n cursor: progress;\n}\n.mfp-zoom-out-cur {\n &, .mfp-image-holder .mfp-close {\n cursor: -moz-zoom-out;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n }\n}\n.mfp-zoom {\n cursor: pointer;\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in;\n}\n.mfp-auto-cursor {\n .mfp-content {\n cursor: auto;\n }\n}\n\n.mfp-close,\n.mfp-arrow,\n.mfp-preloader,\n.mfp-counter {\n -webkit-user-select:none;\n -moz-user-select: none;\n user-select: none;\n}\n\n// Hide the image during the loading\n.mfp-loading {\n &.mfp-figure {\n display: none;\n }\n}\n\n// Helper class that hides stuff\n@if $mfp-use-visuallyhidden {\n // From HTML5 Boilerplate https://github.com/h5bp/html5-boilerplate/blob/v4.2.0/doc/css.md#visuallyhidden\n .mfp-hide {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n }\n} @else {\n .mfp-hide {\n display: none !important;\n }\n}\n\n\n////////////////////////\n// 2. Appearance\n////////////////////////\n\n// Preloader and text that displays error messages\n.mfp-preloader {\n color: $mfp-controls-text-color;\n position: absolute;\n top: 50%;\n width: auto;\n text-align: center;\n margin-top: -0.8em;\n left: 8px;\n right: 8px;\n z-index: $mfp-z-index-base + 4;\n a {\n color: $mfp-controls-text-color;\n &:hover {\n color: $mfp-controls-text-color-hover;\n }\n }\n}\n\n// Hide preloader when content successfully loaded\n.mfp-s-ready {\n .mfp-preloader {\n display: none;\n }\n}\n\n// Hide content when it was not loaded\n.mfp-s-error {\n .mfp-content {\n display: none;\n }\n}\n\n// CSS-reset for buttons\nbutton {\n &.mfp-close,\n &.mfp-arrow {\n overflow: visible;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n display: block;\n outline: none;\n padding: 0;\n z-index: $mfp-z-index-base + 6;\n box-shadow: none;\n touch-action: manipulation;\n }\n &::-moz-focus-inner {\n padding: 0;\n border: 0\n }\n}\n\n\n// Close icon\n.mfp-close {\n width: 44px;\n height: 44px;\n line-height: 44px;\n\n position: absolute;\n right: 0;\n top: 0;\n text-decoration: none;\n text-align: center;\n opacity: $mfp-controls-opacity;\n padding: 0 0 18px 10px;\n color: $mfp-controls-color;\n\n font-style: normal;\n font-size: 28px;\n font-family: Arial, Baskerville, monospace;\n\n &:hover,\n &:focus {\n opacity: 1;\n }\n\n &:active {\n top: 1px;\n }\n}\n.mfp-close-btn-in {\n .mfp-close {\n color: $mfp-inner-close-icon-color;\n }\n}\n.mfp-image-holder,\n.mfp-iframe-holder {\n .mfp-close {\n color: $mfp-controls-color;\n right: -6px;\n text-align: right;\n padding-right: 6px;\n width: 100%;\n }\n}\n\n// \"1 of X\" counter\n.mfp-counter {\n position: absolute;\n top: 0;\n right: 0;\n color: $mfp-controls-text-color;\n font-size: 12px;\n line-height: 18px;\n white-space: nowrap;\n}\n\n// Navigation arrows\n@if $mfp-include-arrows {\n .mfp-arrow {\n position: absolute;\n opacity: $mfp-controls-opacity;\n margin: 0;\n top: 50%;\n margin-top: -55px;\n padding: 0;\n width: 90px;\n height: 110px;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n &:active {\n margin-top: -54px;\n }\n &:hover,\n &:focus {\n opacity: 1;\n }\n &:before,\n &:after {\n content: '';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n left: 0;\n top: 0;\n margin-top: 35px;\n margin-left: 35px;\n border: medium inset transparent;\n }\n\n &:after {\n\n border-top-width: 13px;\n border-bottom-width: 13px;\n top:8px;\n }\n\n &:before {\n border-top-width: 21px;\n border-bottom-width: 21px;\n opacity: 0.7;\n }\n\n }\n\n .mfp-arrow-left {\n left: 0;\n &:after {\n border-right: 17px solid $mfp-controls-color;\n margin-left: 31px;\n }\n &:before {\n margin-left: 25px;\n border-right: 27px solid $mfp-controls-border-color;\n }\n }\n\n .mfp-arrow-right {\n right: 0;\n &:after {\n border-left: 17px solid $mfp-controls-color;\n margin-left: 39px\n }\n &:before {\n border-left: 27px solid $mfp-controls-border-color;\n }\n }\n}\n\n\n\n// Iframe content type\n@if $mfp-include-iframe-type {\n .mfp-iframe-holder {\n padding-top: $mfp-iframe-padding-top;\n padding-bottom: $mfp-iframe-padding-top;\n .mfp-content {\n line-height: 0;\n width: 100%;\n max-width: $mfp-iframe-max-width;\n }\n .mfp-close {\n top: -40px;\n }\n }\n .mfp-iframe-scaler {\n width: 100%;\n height: 0;\n overflow: hidden;\n padding-top: $mfp-iframe-ratio * 100%;\n iframe {\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-shadow: $mfp-shadow;\n background: $mfp-iframe-background;\n }\n }\n}\n\n\n\n// Image content type\n@if $mfp-include-image-type {\n\n /* Main image in popup */\n img {\n &.mfp-img {\n width: auto;\n max-width: 100%;\n height: auto;\n display: block;\n line-height: 0;\n box-sizing: border-box;\n padding: $mfp-image-padding-top 0 $mfp-image-padding-bottom;\n margin: 0 auto;\n }\n }\n\n /* The shadow behind the image */\n .mfp-figure {\n line-height: 0;\n &:after {\n content: '';\n position: absolute;\n left: 0;\n top: $mfp-image-padding-top;\n bottom: $mfp-image-padding-bottom;\n display: block;\n right: 0;\n width: auto;\n height: auto;\n z-index: -1;\n box-shadow: $mfp-shadow;\n background: $mfp-image-background;\n }\n small {\n color: $mfp-caption-subtitle-color;\n display: block;\n font-size: 12px;\n line-height: 14px;\n }\n figure {\n margin: 0;\n }\n }\n .mfp-bottom-bar {\n margin-top: -$mfp-image-padding-bottom + 4;\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n cursor: auto;\n }\n .mfp-title {\n text-align: left;\n line-height: 18px;\n color: $mfp-caption-title-color;\n word-wrap: break-word;\n padding-right: 36px; // leave some space for counter at right side\n }\n\n .mfp-image-holder {\n .mfp-content {\n max-width: 100%;\n }\n }\n\n .mfp-gallery {\n .mfp-image-holder {\n .mfp-figure {\n cursor: pointer;\n }\n }\n }\n\n\n @if $mfp-include-mobile-layout-for-image {\n @media screen and (max-width: 800px) and (orientation:landscape), screen and (max-height: 300px) {\n /**\n * Remove all paddings around the image on small screen\n */\n .mfp-img-mobile {\n .mfp-image-holder {\n padding-left: 0;\n padding-right: 0;\n }\n img {\n &.mfp-img {\n padding: 0;\n }\n }\n .mfp-figure {\n // The shadow behind the image\n &:after {\n top: 0;\n bottom: 0;\n }\n small {\n display: inline;\n margin-left: 5px;\n }\n }\n .mfp-bottom-bar {\n background: rgba(0,0,0,0.6);\n bottom: 0;\n margin: 0;\n top: auto;\n padding: 3px 5px;\n position: fixed;\n box-sizing: border-box;\n &:empty {\n padding: 0;\n }\n }\n .mfp-counter {\n right: 5px;\n top: 3px;\n }\n .mfp-close {\n top: 0;\n right: 0;\n width: 35px;\n height: 35px;\n line-height: 35px;\n background: rgba(0, 0, 0, 0.6);\n position: fixed;\n text-align: center;\n padding: 0;\n }\n }\n }\n }\n}\n\n\n\n// Scale navigation arrows and reduce padding from sides\n@media all and (max-width: 900px) {\n .mfp-arrow {\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n }\n .mfp-arrow-left {\n -webkit-transform-origin: 0;\n transform-origin: 0;\n }\n .mfp-arrow-right {\n -webkit-transform-origin: 100%;\n transform-origin: 100%;\n }\n .mfp-container {\n padding-left: $mfp-popup-padding-left-mobile;\n padding-right: $mfp-popup-padding-left-mobile;\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/magnific-popup.scss","////////////////////////\n// Settings //\n////////////////////////\n\n// overlay\n$mfp-overlay-color: #0b0b0b !default; // Color of overlay screen\n$mfp-overlay-opacity: 0.8 !default; // Opacity of overlay screen\n$mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default; // Shadow on image or iframe\n\n// spacing\n$mfp-popup-padding-left: 8px !default; // Padding from left and from right side\n$mfp-popup-padding-left-mobile: 6px !default; // Same as above, but is applied when width of window is less than 800px\n\n$mfp-z-index-base: 999999 !default; // Base z-index of popup\n\n// controls\n$mfp-include-arrows: true !default; // Include styles for nav arrows\n$mfp-controls-opacity: 0.65 !default; // Opacity of controls\n$mfp-controls-color: #FFF !default; // Color of controls\n$mfp-controls-border-color: #3F3F3F !default; \t // Border color of controls\n$mfp-inner-close-icon-color: #333 !default; // Color of close button when inside\n$mfp-controls-text-color: #CCC !default; // Color of preloader and \"1 of X\" indicator\n$mfp-controls-text-color-hover: #FFF !default; // Hover color of preloader and \"1 of X\" indicator\n\n// Iframe-type options\n$mfp-include-iframe-type: true !default; // Enable Iframe-type popups\n$mfp-iframe-padding-top: 40px !default; // Iframe padding top\n$mfp-iframe-background: #000 !default; // Background color of iframes\n$mfp-iframe-max-width: 900px !default; // Maximum width of iframes\n$mfp-iframe-ratio: 9/16 !default; // Ratio of iframe (9/16 = widescreen, 3/4 = standard, etc.)\n\n// Image-type options\n$mfp-include-image-type: true !default; // Enable Image-type popups\n$mfp-image-background: #444 !default;\n$mfp-image-padding-top: 40px !default; // Image padding top\n$mfp-image-padding-bottom: 40px !default; // Image padding bottom\n$mfp-include-mobile-layout-for-image: true !default; // Removes paddings from top and bottom\n\n// Image caption options\n$mfp-caption-title-color: #F3F3F3 !default; // Caption title color\n$mfp-caption-subtitle-color: #BDBDBD !default; // Caption subtitle color\n\n// A11y\n$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/_settings.scss","/**\n * Give Frontend Fonts SCSS\n *\n * Fonts are from icomoon and the src paths need to be relative to template directory.\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n@font-face {\n font-family: 'give-icomoon';\n src: url('../../fonts/icomoon.eot?kdnr3d');\n src: url('../../fonts/icomoon.eot?kdnr3d#iefix') format('embedded-opentype'),\n url('../../fonts/icomoon.woff?kdnr3d') format('woff'),\n url('../../fonts/icomoon.svg?kdnr3d#icomoon') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n@mixin iconstyle() {\n font-family: 'give-icomoon';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n // Better Font Rendering\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n[class^=\"give-icon-\"], [class*=\" give-icon-\"] {\n @include iconstyle();\n}\n\n.give-icon-lamp:before {\n content: \"\\e603\";\n}\n\n.give-icon-heart:before {\n content: \"\\e604\";\n}\n\n.give-icon-question:before {\n content: \"\\e602\";\n}\n\n.give-icon-info:before {\n content: \"\\e601\";\n}\n\n.give-icon-new-tab:before {\n content: \"\\ea7e\";\n}\n\n.give-icon-alert:before {\n content: \"\\f02d\";\n}\n\n.give-icon-help:before {\n content: \"\\e606\";\n}\n\n.give-icon-spinner:before {\n content: \"\\e605\";\n}\n\n.give-icon-spinner2:before {\n content: \"\\e607\";\n}\n\n.give-icon-plus:before {\n content: \"\\e040\";\n}\n\n.give-icon-minus:before {\n content: \"\\e041\";\n}\n\n.give-icon-locked:before {\n content: \"\\e600\";\n}\n\n.dashicons-give:before {\n @include iconstyle();\n content: \"\\e800\";\n}\n\n// --------------------------\n// Spinning Icons\n// --------------------------\n\n.fa-spin {\n -webkit-animation: spin 1000ms infinite linear;\n animation: spin 1000ms infinite linear;\n}\n\n@-webkit-keyframes spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/fonts.scss","/**\r\n * Give Frontend Receipt SCSS\r\n *\r\n * @package Give\r\n * @subpackage SCSS/Frontend\r\n * @copyright Copyright (c) 2016, WordImpress\r\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\r\n*/\r\n\r\n//------------------------------------------------------------\r\n// Email Browser Receipt Page\r\n//------------------------------------------------------------\r\nbody.give_receipt_page {\r\n\tbackground-color: #fff;\r\n\tcolor: #141412;\r\n\tmargin: 0;\r\n\tfont-family: Helvetica, sans-serif;\r\n\tfont-size: 12px;\r\n\r\n\t#give_receipt_wrapper {\r\n\t\twidth: 660px;\r\n\t\tmargin: 0 auto;\r\n\t\tpadding: 50px 0;\r\n\t}\r\n\r\n\ttable {\r\n\t\tdisplay: table;\r\n\t\twidth: 100%;\r\n\t\tborder-bottom: 1px solid #ededed;\r\n\t\tborder-collapse: collapse;\r\n\t\tborder-spacing: 0;\r\n\t\tfont-size: 14px;\r\n\t\tline-height: 2;\r\n\t\tmargin: 0 0 20px;\r\n\t}\r\n\r\n\ttd, th {\r\n\t\tdisplay: table-cell;\r\n\t\ttext-align: left;\r\n\t\tborder-top: 1px solid #ededed;\r\n\t\tpadding: 6px 10px 6px 0;\r\n\t\tfont-weight: normal;\r\n\t}\r\n\r\n\tth {\r\n\t\tfont-weight: bold;\r\n\t\ttext-transform: uppercase;\r\n\t}\r\n\r\n\th3 {\r\n\t\tfont-size: 22px;\r\n\t\tmargin: 40px 0 5px;\r\n\t\tclear: both;\r\n\t\tdisplay: block;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\r\n}\r\n\r\n//------------------------------------------------------------\r\n// On Site Donation Summary Tables\r\n//------------------------------------------------------------\r\n\r\ntable#give_donation_receipt_products,\r\ntable#give_donation_receipt {\r\n\twidth: 100%;\r\n}\r\n\r\ntable#give_donation_receipt {\r\n\r\n\ttd, th, td, th {\r\n\t\ttext-align: left;\r\n\t}\r\n\r\n\t.give-receipt-thead-text {\r\n\t\tfont-size: 18px;\r\n\t\ttext-align: center;\r\n\t\tdisplay: block;\r\n\r\n\t\t> span {\r\n\t\t\tfont-size: 16px;\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tli {\r\n\t\tmargin: 0 0 8px 10px;\r\n\t}\r\n\r\n\tul {\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t\tlist-style: none;\r\n\t}\r\n\r\n\t.give_receipt_payment_status.pending,\r\n\t.give_receipt_payment_status.revoked,\r\n\t.give_receipt_payment_status.failed {\r\n\t\tcolor: #f73f2e;\r\n\t}\r\n\r\n\tspan.donation-level-text-wrap {\r\n\t\tfont-style: italic;\r\n\t\tdisplay: block;\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/receipt.scss","#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-give {\r\n\r\n input.#{fl(prefix)}input,\r\n select.#{fl(prefix)}select,\r\n textarea.#{fl(prefix)}textarea {\r\n\tline-height: inherit;\r\n\tpadding: 12px;\r\n\tbackground-color: #FFF;\r\n }\r\n\r\n input.#{fl(prefix)}input[type=\"text\"],\r\n input.#{fl(prefix)}input[type=\"email\"],\r\n input.#{fl(prefix)}input[type=\"password\"],\r\n input.#{fl(prefix)}input[type=\"search\"],\r\n input.#{fl(prefix)}input[type=\"email\"],\r\n input.#{fl(prefix)}input[type=\"tel\"],\r\n input.#{fl(prefix)}input[type=\"url\"],\r\n input.#{fl(prefix)}input[type=\"number\"] {\r\n\theight: auto;\r\n\tmin-height: 50px;\r\n }\r\n\r\n select.#{fl(prefix)}select {\r\n\tline-height: inherit;\r\n }\r\n\r\n .#{fl(prefix)}is-active input.#{fl(prefix)}input,\r\n .#{fl(prefix)}is-active select.#{fl(prefix)}select,\r\n .#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\r\n\tpadding: 20px 12px 4px;\r\n\ttransition: padding fl(transition-speed) fl(transition-easing),\r\n\tborder fl(transition-speed) fl(transition-easing);\r\n }\r\n label.#{fl(prefix)}label {\r\n\ttop: fl(border-width);\r\n\tleft: 13px;\r\n\tright: 0;\r\n\tpadding: 6px 0 0;\r\n }\r\n .#{fl(prefix)}is-required:before {\r\n\tpadding-top: 12px;\r\n }\r\n label.#{fl(prefix)}label .give-required-indicator {\r\n\tdisplay: none;\r\n }\r\n label.#{fl(prefix)}label .give-tooltip {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tmargin: 0;\r\n\tz-index: 1;\r\n\t&::before {\r\n\t content: unset;\r\n\t}\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/float-labels.scss","/**\n * Give Frontend Forms SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n/*------------------------------------\nLayout\n--------------------------------------*/\n.give-clearfix {\n\t@include clearfix();\n}\n\n[id*='give-form'] {\n\n\t.give-hidden {\n\t\tdisplay: none;\n\t}\n\n\tfieldset {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tborder: 0;\n\t}\n\n\t.give-form-title {\n\t\tpadding: 0;\n\t\tmargin: 0 0 15px;\n\t}\n\n\tdiv#give-sidebar-left {\n\t\twidth: 38%;\n\t\tfloat: left;\n\t}\n\n\tdiv.images {\n\t\tmargin: 0 0 15px;\n\n\t\timg {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\theight: auto;\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t.give-custom-amount-text {\n\t\tclear: both;\n\t}\n\n\tdiv.summary {\n\t\twidth: 58%;\n\t\tfloat: right;\n\n\t\t&.give-full-width {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\t}\n\n\t.give_form select.give-select.required {\n\t\tcolor: #000;\n\t}\n\n\tdiv.give-form-content-wrap {\n\t\tmargin: 0 0 20px;\n\t}\n\n\tdiv.give-form-content-wrap.give_post_form-content {\n\t\tmargin: 20px 0 0 0;\n\t}\n\n\t&.give-display-modal {\n\t\tform .give_notices {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t&.give-display-reveal, &.give-display-modal {\n\t\t.give-btn {\n\t\t\tmargin: 0 0 15px;\n\t\t}\n\t\t#give-payment-mode-select, #give_purchase_form_wrap {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t.cc-address {\n\t\tmargin-bottom: 15px;\n\t}\n}\n\n/*------------------------------------\nSingle Forms\n--------------------------------------*/\n\n.single-give_forms {\n\n\t&.et_right_sidebar #main-content .container:before {\n\t\tdisplay: none; //hide Divi sidebar sep on single give forms\n\t}\n\n\t.give_forms {\n\t\t@include clearfix;\n\t}\n\n}\n\n/*------------------------------------\nGravatar List\n--------------------------------------*/\n#give-purchase-gravatars {\n\n\t.give-gravatars-title {\n\t\tmargin: 0 0 15px;\n\t}\n\n\t.give-purchase-gravatars-list {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\n\t\tli {\n\t\t\tlist-style-type: none;\n\t\t\tdisplay: inline-block;\n\t\t\tmargin: 0 5px 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t}\n}\n\n/*------------------------------------\nBase Form Styles\n--------------------------------------*/\n\nform[id*='give-form'],\n#give-recurring-form,\nform.give-form {\n\tmargin: 0 0 25px;\n\tpadding: 0;\n\n\t.give-hidden {\n\t\tdisplay: none;\n\t}\n\n .give-title-prefix-wrap{\n\n\t.form-row-first,\n\t.form-row-last {\n\t float: left;\n\t width: 40%;\n\t}\n\n\t.form-row-title {\n\t float: left;\n\t width: 15%;\n\t}\n }\n\n .give-tooltip {\n\t\tmargin: 0 3px;\n\t\tpadding: 0;\n\t\tfont-size: 14px;\n\t\t@include easing-transition();\n\t\tcolor: transparentize($dark, 0.5);\n\n\t\t&:hover {\n\t\t\tcolor: $dark;\n\t\t}\n\t}\n\n\th3.give-section-break,\n\th4.give-section-break,\n\tlegend {\n\t\tbackground-color: transparent;\n\t\tfont-size: 1.15em;\n\t\tfont-weight: bold;\n\t\tmargin: 10px 0 15px;\n\t\tpadding: 0 0 5px;\n\t\tborder-bottom: 1px solid rgba(0, 0, 0, .1);\n\t\twidth: 100%;\n\n\t\tspan.sub-text {\n\t\t\tfont-style: italic;\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\n\t//Form Layout\n\t.form-row {\n\t\t@include clearfix();\n\t\t@include box-sizing(border-box);\n\t\tmargin: 0 0 15px;\n\t\toverflow: visible;\n\t\tpadding: 0;\n\n\t\t// Prevent some themes from removing margin on last-child.\n\t\t&:last-child {\n\t\t\tmargin-bottom: 15px;\n\t\t}\n\n\t\tlabel {\n\t\t\tdisplay: block;\n\t\t\tmargin: 0 0 5px;\n\t\t\tposition: relative;\n\t\t\tline-height: 1.7;\n\n\t\t\t&.checkbox {\n\t\t\t\tdisplay: inline;\n\t\t\t}\n\n\t\t}\n\n\t\tselect, textarea, input[type=\"text\"], input[type=\"tel\"], input[type=\"email\"], input[type=\"password\"], input[type=\"url\"] {\n\t\t\t@include box-sizing(border-box);\n\t\t\twidth: 100%;\n\t\t\tborder-radius: 0;\n\t\t\toutline: none;\n\t\t\tcolor: $dark;\n\t\t\tbackground-color: #FDFDFD;\n\t\t\tborder: 1px solid $borders;\n\t\t\tmargin: 0;\n\t\t\tpadding: .5em;\n\n\t\t\t&:focus {\n\t\t\t\tbackground-color: #fff;\n\t\t\t}\n\t\t\t&.required {\n\t\t\t\tcolor: $dark;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n .form-row-title,\n\t.form-row-first {\n\t margin-right: 2.5%;\n\t}\n\n .form-row-first,\n .form-row-last {\n\tfloat: left;\n\twidth: 48.5%;\n }\n\n .form-row-last {\n\tfloat: right;\n }\n\n\t.form-row-wide {\n\t\t@include clearfix();\n\t\tclear: both;\n\t}\n\n\t.form-row-two-thirds {\n\t\tfloat: left;\n\t\twidth: 65.75%;\n\n\t\t&.form-row-first {\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n\n\t.form-row-one-third {\n\t\tfloat: left;\n\t\twidth: 31.25%;\n\t\tmargin-left: 3%;\n\n\t\t&.form-row-first {\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n\n\t.form-row-responsive {\n\t\t// Full-width on small viewports.\n\t\t@media (max-width: 480px) {\n\t\t\tmargin-left: 0;\n\t\t\tmargin-right: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t.give-error,\n\t.give-required-indicator {\n\t\tcolor: $red;\n\t}\n\n\t.card-expiration {\n\t\t> select {\n\t\t\twidth: 44%;\n\t\t\tmargin: 0;\n\t\t}\n\t\t> span.exp-divider {\n\t\t\tdisplay: inline;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\tselect.card-expiry-year {\n\t\t\tfloat: right;\n\t\t}\n\n\t}\n\t.give-disabled, [disabled] {\n\t\tcursor: not-allowed;\n\t}\n}\n\n/*---------------------------------\nForm Price & Amount\n-----------------------------------*/\n\nform[id*='give-form'] {\n\n\t.give-donation-amount {\n\t\tmargin: 0 0 15px;\n\n\t\t.give-currency-symbol {\n\t\t\t@include give-currency();\n\t\t\tfloat: left;\n\n\t\t\t&.give-currency-position-before {\n\t\t\t\tborder-left: 1px solid $borders;\n\t\t\t\tborder-right: none;\n\t\t\t}\n\t\t\t&.give-currency-position-after {\n\t\t\t\tborder-left: none;\n\t\t\t\tborder-right: 1px solid $borders;\n\t\t\t}\n\n\t\t}\n\n\t\t#give-amount,\n\t\t#give-amount-text {\n\t\t\t@include give-input();\n\t\t\tmin-width: 125px;\n\t\t\tfloat: left;\n\n\t\t\t&.invalid-amount {\n\t\t\t\tborder: 1px solid red;\n\t\t\t}\n\n\t\t}\n\n\t\tinput.give-amount-top {\n\t\t\twidth: 125px;\n\t\t}\n\n\t\tspan.give-final-total-amount {\n\t\t\t@include give-input();\n\t\t\tcursor: not-allowed;\n\t\t\tbackground: #FFF;\n\t\t\tfloat: left;\n\t\t}\n\n\t}\n\n\t#give_terms_agreement {\n\n\t\tlegend {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\tlabel {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t}\n\n\t#give-final-total-wrap {\n\t\tmargin: 10px 0 25px;\n\t\tpadding: 0;\n\t\t@include clearfix();\n\n\t\t.give-donation-total-label {\n\t\t\t@include give-currency();\n\t\t\tfloat: left;\n\t\t\tborder: 1px solid $borders;\n\n\t\t\t@media (max-width: 480px) {\n\t\t\t\tdisplay: block;\n\t\t\t\tfloat: none;\n\t\t\t}\n\t\t}\n\n\t\t.give-final-total-amount {\n\t\t\tfont-size: $font-size-medium;\n\t\t\t@include give-input();\n\t\t\tborder-left: none;\n\t\t\tfloat: left;\n\n\t\t\t@media (max-width: 480px) {\n\t\t\t\tborder: 1px solid $borders;\n\t\t\t\tborder-top: 0;\n\t\t\t\tdisplay: block;\n\t\t\t\tfloat: none;\n\t\t\t}\n\t\t}\n\n\t}\n\n}\n\n.give-display-button-only > *:not(form) {\n\tdisplay: none;\n}\n\n.give-display-button-only form[id*=give-form] > *:not(.give-btn-modal) {\n\tdisplay: none;\n}\n\n/*---------------------------------\nRadio Lists\n-----------------------------------*/\nform[id*='give-form'] {\n\tinput[type=\"radio\"] {\n\t\tmargin: 0 .5em 0 0;\n\t}\n\n\t#give-donation-level-radio-list {\n\t\t//this is the radio list for the various user set donation levels\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t\tlist-style: none;\n\t\tclear: both;\n\n\t\t> li {\n\t\t\tlist-style-type: none;\n\t\t\tlist-style-image: none;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\n\t\t\tlabel {\n\t\t\t\tcursor: pointer;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\tinput[type=\"radio\"] {\n\t\t\t\tmargin: 0 .5em 0 0;\n\t\t\t\toutline: none;\n\t\t\t\twidth: auto;\n\t\t\t}\n\t\t}\n\t}\n\n\t#give-gateway-radio-list {\n\t\t//this is the radio list for to select a gateway\n\t\t@include clearfix();\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t\tlist-style: none;\n\n\t\t> li {\n\t\t\tlist-style-type: none;\n\t\t\tlist-style-image: none;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\n\t\t\t@media (min-width: 480px) {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin-right: 15px;\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\tlabel.give-gateway-option {\n\t\t\t\tcursor: pointer;\n\t\t\t\tdisplay: inline;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\tinput[type=\"radio\"] {\n\t\t\t\tmargin: 0 .25em 0 0;\n\t\t\t\toutline: none;\n\t\t\t\twidth: auto;\n\t\t\t\tdisplay: inline;\n\t\t\t}\n\n\t\t}\n\n\t}\n}\n\n/*---------------------------------\nCheckboxes\n-----------------------------------*/\nform[id*='give-form'] {\n\tinput[type=\"checkbox\"] {\n\t\tmargin: 0 .25em 0 0;\n\t}\n}\n\n/*---------------------------------\nDonation Level: Dropdown/Select\n-----------------------------------*/\nform[id*='give-form'] {\n\tselect.give-select-level {\n\t\toutline: none;\n\t\tborder-radius: 0;\n\t\tmin-width: 155px;\n\t\tborder: 1px solid $borders;\n\t\tmargin: 0 0 15px;\n\t\tdisplay: block;\n\t\tclear: both;\n\t\tcolor: $dark;\n\t\tbackground-color: #FDFDFD;\n\t\tpadding: .5em;\n\t\tmax-width: 100%;\n\t}\n}\n\n/*---------------------------------\nButtons\n-----------------------------------*/\n\n#give-donation-level-button-wrap {\n\t@include clearfix();\n\tmargin: 0 0 15px;\n\tpadding: 0;\n\tclear: both;\n\tlist-style: none;\n\n\t> li {\n\t\tlist-style-type: none;\n\t\tlist-style-image: none;\n\t\tfloat: left;\n\t\tmargin: 0 5px 5px 0;\n\t}\n\n}\n\n.give_terms_links {\n\tfloat: right;\n}\n\n/*---------------------------------\nCC Validation\n-----------------------------------*/\n\n[id*='give_secure_site_wrapper'] {\n\tpadding: 4px 4px 15px 0;\n\tfont-size: 16px;\n\tline-height: 20px;\n\t//Secure padlock (SSL/HTTPS)\n\tspan.padlock {\n\t\t@include iconstyle();\n\t\t@extend .give-icon-locked;\n\t\tfont-size: 16px;\n\t\tline-height: 20px;\n\n\t\t:before {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n}\n\n#give_purchase_form_wrap {\n\tinput.give-input.card-number.valid,\n\tinput.give-input.card-cvc.valid,\n\tinput.give-input.card-expiry.valid {\n\t\tbackground-image: url('../../images/tick.png');\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: right 10px top 50%;\n\t\tbackground-size: 16px;\n\t\t&.fl-input:not(.card-cvc):not(.card-expiry) {\n\t\t\tbackground-position: right 55px top 50%;\n\t\t}\n\t}\n\n\tspan.card-type {\n\t\tposition: absolute;\n\t\ttop: -2px;\n\t\tright: 0;\n\t\twidth: 37px;\n\t\theight: 26px;\n\t\tbackground-size: 37px 26px !important;\n\t}\n\n\t.fl-wrap {\n\t\tspan.card-type {\n\t\t\ttop: calc(0.5em + #{fl(base-padding)});\n\t\t\tright: 11px;\n\t\t}\n\t}\n\n\tspan.card-type.off {\n\t\tdisplay: none;\n\t}\n\tspan.card-type.visa {\n\t\tbackground: url('../../images/visa.svg') no-repeat;\n\t}\n\tspan.card-type.mastercard {\n\t\tbackground: url('../../images/mastercard.svg') no-repeat;\n\t}\n\tspan.card-type.discover {\n\t\tbackground: url('../../images/discover.svg') no-repeat;\n\t}\n\tspan.card-type.amex {\n\t\tbackground: url('../../images/amex.svg') no-repeat;\n\t}\n\tspan.card-type.maestro {\n\t\tbackground: url('../../images/maestro.svg') no-repeat;\n\t}\n\tspan.card-type.dinersclub {\n\t\tbackground: url('../../images/diners-club.svg') no-repeat;\n\t}\n\tspan.card-type.jcb {\n\t\tbackground: url('../../images/jcb.svg') no-repeat;\n\t}\n\tspan.card-type.dankort {\n\t\tbackground: url('../../images/dankort.png') no-repeat;\n\t}\n\tspan.card-type.unionpay {\n\t\tbackground: url('../../images/unionpay.svg') no-repeat;\n\t}\n}\n\n/*---------------------------------\nLoading Animation\n-----------------------------------*/\n\n/* Loading Elipsis */\n@-webkit-keyframes opacity {\n\t0% {\n\t\topacity: 1;\n\t}\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@-moz-keyframes opacity {\n\t0% {\n\t\topacity: 1;\n\t}\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\nform[id*='give-form'] {\n\tp.give-loading-text,\n\tspan.give-loading-text {\n\t\tdisplay: none;\n\t\tfloat: right;\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tfont-style: italic;\n\t\tline-height: 20px;\n\t\tfont-size: 16px;\n\t\tfont-weight: normal;\n\t}\n\n\t.give-loading-animation {\n\t\t@include iconstyle();\n\t\tfloat: left;\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tline-height: 1;\n\t\tfont-size: 16px;\n\t\tmargin: 0 5px 0 0;\n\t\tbackground-size: 20px 20px;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-color: transparent;\n\t\t@extend .give-icon-spinner2;\n\t\t@extend .fa-spin;\n\t}\n\n\t.give-payment-mode-label\n\t.give-loading-text {\n\t\tfloat: right;\n\t}\n}\n\n/*---------------------------------\nUser Login\n-----------------------------------*/\n\n/*\n * User Login within Donation Form\n * (visible when Form Display > Login is enabled)\n */\n[id*='give-form'] {\n\t.give-login-account-wrap {\n\t\tmargin: 0 0 15px;\n\t\tposition: relative;\n\n\t\t.give-login-message {\n\t\t\ttext-align: right;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.give-loading-text {\n\t\t\tposition: absolute;\n\t\t\tright: 0;\n\t\t\ttop: .25em;\n\t\t}\n\t}\n\n\tfieldset[id^=\"give-login-fields\"] {\n\t\tmargin: 0 0 15px;\n\t}\n\n\t.give-new-account-link {\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t}\n\n\t.give_login_forgot_password {\n\t\tfloat: right;\n\t}\n}\n\n[id^='give-user-login-submit'],\n.give-submit-button-wrap {\n\n\tinput.give-cancel-login {\n\t\tmargin-left: 5px;\n\t}\n\n\tspan.give-loading-animation {\n\t\tmargin: 0 0 0 .5em;\n\t\tdisplay: none;\n\t}\n\t.give-submit {\n\t\tfloat: left;\n\t}\n}\n\n.give-user-login-fields-container {\n\t&:after {\n\t\tdisplay: block;\n\t\tcontent: '';\n\t\tclear: both;\n\t}\n}\n\n/* Login Shortcode Form */\n#give-login-form,\n#give-register-form {\n\tlegend, div.give-login {\n\t\tline-height: 2;\n\t\tmargin-bottom: 15px;\n\t}\n\n\tlabel {\n\t\tmin-width: 100px;\n\t\tdisplay: inline-block;\n\t}\n}\n\n/*---------------------------------\nModal - Magnific Popup\n-----------------------------------*/\n\n//Show/Hide elements in Magnific Popup\ndiv.give-form-wrap.mfp-hide {\n\tdisplay: block !important;\n}\n\ndiv.mfp-content {\n\t//Basic Styles\n\tfieldset {\n\t\tp, ol, ul {\n\t\t\tmargin-bottom: 1.2em;\n\t\t\tline-height: 1.4;\n\t\t}\n\t}\n\n\tform[id*='give-form'] .give_notices {\n\t\tdisplay: block !important;\n\t}\n}\n\n/*---------------------------------\nBasic Button Style\n-----------------------------------*/\n\n.give-btn {\n\tbackground: $light-gray;\n\tborder: 1px solid $borders;\n\tcolor: $dark;\n\tpadding: 8px 10px;\n\tcursor: pointer;\n\tline-height: 1.2em;\n\tfont-size: 1em;\n\n\t&:hover {\n\t\tbackground: #dbdbdb;\n\t}\n\n}\n\n/*---------------------------------\nProfile Editor Form\n-----------------------------------*/\n#give_profile_editor_form {\n\tlegend {\n\t\twidth: auto;\n\t\tpadding: 0 5px 5px 5px;\n\t\tborder-bottom: 0;\n\t}\n}\n\n/*---------------------------------\nEmail Access Form\n-----------------------------------*/\n\nform#give-email-access-form {\n\tdiv.g-recaptcha, input#give-email {\n\t\tmargin: 0 0 15px;\n\t}\n\tinput#give-email {\n\t\twidth: 305px;\n\t}\n}\n\n/*---------------------------------\nResponsiveness\n-----------------------------------*/\n@media (max-width: 768px) {\n\t// Multi-column layout for single forms.\n\t[id*='give-form'] {\n\t\tdiv.images, div.summary {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\n\t\tdiv#give-sidebar-left {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n/*---------------------------------\nSection Breaks\n-----------------------------------*/\n\n// Headings are commonly styled by themes, so we need to be extra-specific.\n.give-form-wrap .give-form h3.give-section-break,\n.give-form-wrap .give-form h4.give-section-break {\n\tmargin: 10px 0 0;\n}\n\n/*---------------------------------\nForm validation style\n-----------------------------------*/\n.give-do-validate {\n\tinput.error {\n\t\tborder-color: red !important;\n\t}\n}\n\n/*---------------------------------\nButton with Loader\n-----------------------------------*/\n.give-button-with-loader {\n\tspan.give-loading-animation {\n\t\tdisplay: none;\n\n\t\t// Align loading icon with button text.\n\t\tposition: relative;\n\t\ttop: 3px;\n\t\tfloat: right;\n\n\t\t@include iconstyle();\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tline-height: 1;\n\t\tfont-size: 16px;\n\t\tmargin: 0 0 0 5px;\n\t\tbackground-size: 20px 20px;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-color: transparent;\n\t\t@extend .give-icon-spinner2;\n\t\t@extend .fa-spin;\n\t}\n}\n\n\n.give-active{\n\tspan.give-loading-animation {\n\t\tdisplay: inline;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/forms.scss","/*---------------------------------\nNotices, Warnings & Errors\n-----------------------------------*/\n.give_notices {\n\tposition: relative;\n}\n\n.give_notices .notice-dismiss {\n\tposition: absolute;\n\ttop: 50%;\n\tright: 0;\n\ttransform: translate(0, -50%);\n\tborder: none;\n\tmargin: 0;\n\tpadding: 5px;\n\tbackground: 0 0;\n\tcolor: #72777c;\n\tcursor: pointer;\n\tmax-width: 28px !important;\n\n\t&:before {\n\t\tbackground: 0 0;\n\t\tcolor: #72777c;\n\t\tcontent: \"\\f153\";\n\t\tdisplay: block;\n\t\tfont: 400 16px/20px dashicons;\n\t\tspeak: none;\n\t\theight: 20px;\n\t\ttext-align: center;\n\t\twidth: 20px;\n\t\t-webkit-font-smoothing: antialiased;\n\t}\n\n\t&:hover {\n\t\tbackground-color: rgba(0, 0, 0, 0);\n\n\t\t&:before {\n\t\t\tcolor: #dc3232;\n\t\t}\n\t}\n}\n\n.give {\n\t&_error,\n\t&_success,\n\t&_warning {\n\t\tposition: relative;\n\t\tmargin: 15px 0;\n\t\tbackground: #F9F9F9;\n\t\tpadding: 1em 1.5em 1em 2em;\n\t\tborder-left: 4px solid;\n\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.125);\n\t\tclear: both;\n\n\t\t> p {\n\t\t\tmargin: 0 !important;\n\t\t\tcolor: $dark;\n\t\t}\n\n\t\t&:before {\n\t\t\t@include iconstyle();\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tfont-size: 16px;\n\t\t\tmargin-top: -15px;\n\t\t\tleft: -17px;\n\t\t\tcolor: #FFF;\n\t\t\twidth: 30px;\n\t\t\theight: 30px;\n\t\t\tborder-radius: 100%;\n\t\t\ttext-align: center;\n\t\t\tline-height: 30px;\n\t\t\ttext-shadow: 1px 1px rgba(0, 0, 0, 0.5);\n\t\t}\n\t}\n\n\t&_error {\n\t\tborder-color: $red;\n\n\t\t&:before {\n\t\t\tcontent: '\\f02d';\n\t\t\tbackground-color: $red;\n\t\t}\n\t}\n\n\t&_success {\n\t\tborder-color: $green;\n\n\t\t&:before {\n\t\t\tbackground-color: $green;\n\t\t\tcontent: '\\e601';\n\t\t}\n\t}\n\n\t&_warning {\n\t\tborder-color: $orange;\n\n\t\t&:before {\n\t\t\tbackground-color: $orange;\n\t\t\tcontent: '\\f02d';\n\t\t}\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/alerts.scss","/**\n * Give Layouts SCSS/CSS\n *\n * @description: This file provides layout styles for various themes such as the default WordPress themes and others if applicable; Most themes handle Give's template system just fine ;)\n * @package: Give\n * @subpackage: SCSS/Frontend\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n/**\n * Twenty Thirteen specific styles\n */\n\n.twentythirteen {\n\n .give_forms {\n\tpadding: 40px 0;\n }\n\n}\n\n/**\n * Twenty Fourteen specific styles\n */\n.twentyfourteen {\n .tfgive {\n\tpadding: 12px 10px 0;\n\tmax-width: 474px;\n\tmargin: 0 auto;\n\n\t.give_forms .entry-summary {\n\t padding: 0 !important;\n\t margin: 0 0 1.618em !important;\n\t}\n\n\tdiv.give_forms.hentry.has-post-thumbnail {\n\t margin-top: 0;\n\t}\n\n\t.give_forms {\n\t .images {\n\t\timg {\n\t\t margin-bottom: 1em;\n\t\t}\n\t }\n\t}\n }\n}\n\n@media screen and (min-width: 673px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 30px;\n\t padding-left: 30px;\n\t}\n }\n}\n\n@media screen and (min-width: 1040px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 15px;\n\t padding-left: 15px;\n\t}\n }\n}\n\n@media screen and (min-width: 1110px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 30px;\n\t padding-left: 30px;\n\t}\n }\n}\n\n@media screen and (min-width: 1218px) {\n .twentyfourteen {\n\t.tfgive {\n\t margin-right: 54px;\n\t}\n }\n .full-width {\n\t.twentyfourteen {\n\t .tfgive {\n\t\tmargin-right: auto;\n\t }\n\t}\n }\n}\n\n/**\n * Twenty Fifteen specific styles\n */\n.twentyfifteen {\n .t15give {\n\tpadding-left: 7.6923%;\n\tpadding-right: 7.6923%;\n\tpadding-top: 7.6923%;\n\tmargin-bottom: 7.6923%;\n\tbackground: #fff;\n\tbox-shadow: 0 0 1px rgba(0, 0, 0, 0.15);\n\n\t.page-title {\n\t margin-left: 0;\n\t}\n\tdiv.summary {\n\t padding: 0;\n\t}\n }\n}\n\n@media screen and (min-width: 38.75em) {\n .twentyfifteen {\n\t.t15give {\n\t margin-right: 7.6923%;\n\t margin-left: 7.6923%;\n\t margin-top: 8.3333%;\n\t}\n }\n}\n\n@media screen and (min-width: 59.6875em) {\n .twentyfifteen {\n\t.t15give {\n\t margin-left: 8.3333%;\n\t margin-right: 8.3333%;\n\t padding: 10%;\n\t}\n }\n\n .single-product {\n\t.twentyfifteen {\n\t .entry-summary {\n\t\tpadding: 0 !important;\n\t }\n\t}\n }\n}\n\n/*----------------------------------------------\nAvada\n------------------------------------------------*/\n\n.avada-row > div.give-wrap #content {\n width: 100%;\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/layouts.scss","/**\n * Give Frontend Progress Bar SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-goal-progress {\n margin-bottom: 20px;\n clear:both;\n\n .income {\n\tfont-size: 46px;\n\tline-height: 48px;\n\tletter-spacing: -1px;\n\tcolor: #333;\n }\n\n .raised {\n\tmargin-bottom: 15px;\n }\n}\n\n.give-progress-bar {\n height: 20px; \n position: relative;\n background: #EEE;\n border-radius: 25px;\n overflow: hidden;\n\n > span {\n\tdisplay: block;\n\theight: 100%;\n\tborder-top-right-radius: 8px;\n\tborder-bottom-right-radius: 8px;\n\tborder-top-left-radius: 20px;\n\tborder-bottom-left-radius: 20px;\n\tbackground-color: rgb(43, 194, 83);\n\tposition: relative;\n\toverflow: hidden;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/progress-bar.scss","/**\n * Give Frontend Tables SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\ntable.give-table {\n color: #666;\n font-size: 14px;\n text-shadow: 1px 1px 0px #fff;\n background: #eaebec;\n margin: 20px 0;\n border: 1px solid #e0e0e0;\n border-top: none;\n border-bottom: none;\n width: 100%;\n\n thead {\n font-weight: bold;\n\n th:first-child {\n text-align: left;\n }\n }\n\n th {\n padding: 21px 25px;\n border-top: 1px solid #E8E8E8;\n border-bottom: 1px solid #e0e0e0;\n border-left: 1px solid #e0e0e0;\n border-right: none;\n background: #F6F6F6;\n text-align: center;\n font-weight: bold;\n }\n\n tbody {\n\n tr {\n text-align: center;\n\n td {\n padding: 18px;\n border: none;\n border-top: 1px solid #ffffff;\n border-bottom: 1px solid #e0e0e0;\n border-left: 1px solid #e0e0e0;\n background: #FFF;\n text-align: center;\n }\n\n td:first-child {\n text-align: left;\n border-left: 0;\n }\n }\n\n //Even Rows\n tr:nth-child(even) td {\n background: #fcfcfc;\n }\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/tables.scss","/**\n * Give Frontend Theme Compatibility\n *\n * @description: The following styles help Give look good and fixes CSS conflicts with popular WordPress themes\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n//Twenty Sixteen\nbody.give-twentysixteen {\n\n div.entry-summary {\n\tmargin: 0;\n }\n\n button.give-btn {\n\tcolor: #333;\n }\n\n .give-submit {\n\tcolor: #FFF;\n }\n\n fieldset#give_terms_agreement {\n\tpadding-left: 0;\n }\n\n}\n\n//Twenty Seventeen Dark Color Scheme\nbody.give-twentyseventeen.colors-dark {\n div.give-total-wrap input.give-text-input,\n div#give_purchase_form_wrap span.give-final-total-amount,\n div.give_notices p {\n\tcolor: black;\n }\n\n form[id*=\"give\"] fieldset {\n\tbackground-color: transparent;\n }\n\n}\n\n// Enfold Compatibility\nhtml[class*=\"avia\"] body#top form[id*=give-form] input.give-amount-top {\n width: unset;\n border: 1px solid #ccc;\n border-left: none;\n}\n\nhtml[class*=\"avia\"] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label {\n left: 7px;\n}\n\nhtml[class*=\"avia\"] body#top [id*=give-form].give-fl-form div.give-fl-is-active input {\n padding: 8px 6px 0px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/theme-compatibility.scss",".give-donation-history {\n .give-table {\n\ttable-layout: auto;\n\n\t.give-security-column {\n\t float: left;\n\n\t &.give-security-description-wrap {\n\t\twidth: 75%;\n\t\tpadding: 16px 13px;\n\t\tfont-size: 12px;\n\t\tfont-style: italic;\n\t }\n\n\t &.give-security-button-wrap {\n\t\twidth: 25%;\n\t\tpadding: 25px 5px;\n\n\t\tspan {\n\t\t display: none;\n\t\t padding: 0 20px;\n\t\t}\n\t }\n\t}\n\n\t.title-for-mobile {\n\t\tdisplay: none;\n\t}\n }\n}\n\n@media screen and ( max-width: 480px ) {\n\t#give_user_history {\n\t\tthead {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\ttbody {\n\t\t\tborder-top: 1px solid #e0e0e0;\n\t\t}\n\n\t\ttr {\n\t\t\tpadding: 0.5rem 0;\n\t\t\tbackground: #fff;\n\n\t\t\t&:nth-child( even ) {\n\t\t\t\tbackground-color: #fafafa;\n\t\t\t}\n\t\t}\n\n\t\ttd {\n\t\t\tborder: none;\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0; \n\t\t\tbackground-color: rgba(0, 0, 0, 0);\n\t\t}\n\n\t\ttr, td {\n\t\t\tdisplay: block;\n\t\t\tborder-left: none;\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t.title-for-mobile {\n\t\t\tdisplay: inline-block;\n\t\t\tfont-weight: bold;\n\t\t\tmin-width: 6em;\n\t\t}\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/donation-history.scss","/**\n * Give Magnific Modal Custom SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n// Wrapper for popup\n.give-modal {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 2147482500;\n position: fixed;\n overflow:hidden;\n outline: none !important;\n -webkit-backface-visibility: hidden; // fixes webkit bug that can cause \"false\" scrollbar\n -webkit-overflow-scrolling: touch;\n -webkit-transform: translateZ(0);\n\n form[id*='give-form'] {\n\tmargin-bottom: 0;\n\t.give-submit {\n\t margin-bottom: 0;\n\t}\n\t.give-payment-mode-label {\n\t margin-top: 0;\n\t padding-top: 0;\n\t}\n\t@media (max-width: 580px) {\n\t .give-input {\n\t\tfont-size:16px; // Prevents mobile zoom to inputs.\n\t }\n\t}\n }\n\n // Popup content holder\n .mfp-content {\n\tbox-sizing: border-box;\n\tposition: relative;\n\tbackground: #FFF;\n\tpadding: 20px;\n\twidth: auto;\n\tmax-width: 650px;\n\tmargin: 40px auto;\n\tz-index: $mfp-z-index-base + 2147482600;\n\n\t[id*='give-form'] #give-payment-mode-select,\n\t[id*='give-form'] #give_purchase_form_wrap,\n\t[id*='give-form'].give-display-button-only .give-donation-amount,\n\t[id*='give-form'].give-display-button-only .give-donation-levels-wrap {\n\t display: block;\n\t}\n\n\t.mfp-close:hover {\n\t background-color: transparent;\n\t}\n\n }\n\n form.give-form button.mfp-close {\n\tposition: absolute;\n\tdisplay: block !important;\n }\n\n .mfp-container:after {\n\tdisplay: none;\n }\n\n}\n\n// Move-from-top effect.\n\n.give-modal {\n\n .mfp-content {\n\tvertical-align:middle;\n\topacity: 0;\n\ttransition: all 0.2s;\n\ttransform: translateY(-100px);\n }\n\n &.mfp-bg {\n\topacity: 0;\n\ttransition: all 0.2s;\n }\n\n /* animate in */\n &.mfp-ready {\n\t.mfp-content {\n\t opacity: 1;\n\t transform: translateY(0);\n\t}\n\t&.mfp-bg {\n\t opacity: 0.8;\n\t}\n }\n\n /* animate out */\n &.mfp-removing {\n\n\t.mfp-content {\n\t transform: translateY(-50px);\n\t opacity: 0;\n\t}\n\t&.mfp-bg {\n\t opacity: 0;\n\t}\n\n }\n\n}\n\n\n/**\n * Form Grid Magnific Popup CSS\n */\n.give-donation-grid-item-form {\n\tposition: relative;\n\tmargin: 0 auto;\n\tmax-width: 600px;\n\tbackground-color: #fff;\n\tpadding: 1rem 1.5rem;\n\theight: 85vh;\n\toverflow-y: auto;\n\n\t#give_purchase_form_wrap {\n\t\tdisplay: block !important;\n\t}\n\n\t.give-btn-reveal,\n\t.give-btn-modal {\n\t\tdisplay: none !important;\n\t}\n\n\t.give-form-title {\n\t\tdisplay: none;\n\t}\n}\n\n.modal-fade-slide.give-modal {\n\t.mfp-content {\n\t\tpadding: 0;\n\t\tmax-width: 100%;\n\t}\n}\n\n.modal-fade-slide .give-modal--slide {\n\topacity: 0;\n\ttransition: all 0.2s ease-out;\n\ttransform: translateY(-20px) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-ready .give-modal--slide {\n\topacity: 1;\n\ttransform: translateY(0) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-removing .give-modal--slide {\n\topacity: 0;\n\ttransform: translateY(-10px) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-bg {\n\topacity: 0;\n\ttransition: opacity 0.3s ease-out;\n}\n\n.modal-fade-slide.mfp-ready.mfp-bg {\n\topacity: 0.8;\n}\n\n.modal-fade-slide.mfp-removing.mfp-bg {\n\topacity: 0;\n}\n\n.mfp-close:hover {\n\tbackground-color: rgba(0, 0, 0, 0);\n}\n\n/**\n * Display Style Button\n */\n.mfp-content {\n\t.give-display-button-only .give-form-title {\n\t\tdisplay: none;\n\t}\n\n\t.give-display-button-only > *:not(form) {\n\t\tdisplay: block;\n\t}\n\n\t.give-display-button-only form > *:not(.give-btn-modal) {\n\t\tdisplay: block;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/modal.scss","/*--------------------------------------------------------------\n# Review\n--------------------------------------------------------------*/\n\n/**\n * Single donor with user image, details, and review text.\n *\n * 1. Header wraps the user photo and details. It displays above review text.\n * 2. Image is the image of the donor.\n * 3. Details include the donor's name, amount given, and date of the donation.\n */\n\n/*--------------------------------------------------------------\n# Spacing\n--------------------------------------------------------------*/\n\n$donor-space: 20px;\n$donor-color: #333;\n$donor-space-eighth: $donor-space * 0.125;\n$donor-space-quarter: $donor-space * 0.25;\n$donor-space-fifth: $donor-space * 0.2;\n$donor-space-half: $donor-space * 0.5;\n$donor-space-three-quarters: $donor-space * 0.75;\n$donor-space-and-quarter: $donor-space * 1.25;\n$donor-space-and-half: $donor-space * 1.5;\n$donor-space-and-three-quarters: $donor-space * 1.75;\n$donor-space-double: $donor-space * 2;\n$donor-space-triple: $donor-space * 3;\n\n.give-donor {\n\tborder: 1px solid $give-card-border;\n\tbackground: #FFF;\n\tfont-size: 1em;\n\tmargin-bottom: $donor-space;\n\tpadding: $donor-space;\n\tposition: relative;\n\ttransition: all 0.2s ease-out;\n\twidth: 100%;\n\n\t&__header { /* [1] */\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t}\n\n\t&__image { /* [2] */\n\t\tborder: 1px solid $give-card-border;\n\t\tbackground: #FFF;\n\t\ttext-align: center;\n\t\tflex-basis: $donor-space * 3;\n\t\tflex-shrink: 0;\n\t\tline-height: $donor-space * 3;\n\t\theight: $donor-space * 3;\n\t\tmargin-right: $donor-space-half;\n\t\toverflow: hidden;\n\t\tborder-radius: 50%;\n\n\t\timg {\n\t\t\tborder-radius: 50%;\n\t\t\tdisplay: block;\n\t\t\theight: $donor-space * 3;\n\t\t\tobject-fit: cover;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t&__details { /* [3] */\n\t\tflex-grow: 1;\n\t\toverflow: hidden;\n\t}\n\n\t&__name {\n\t\tfont-size: 1em;\n\t\tfont-weight: 400;\n\t\tcolor: $donor-color;\n\t\tline-height: 1.3;\n\t\tmargin: 0;\n\t}\n\n\t&__timestamp {\n\t\tcolor: $donor-color;\n\t\tdisplay: block;\n\t\tfont-size: 75%;\n\t}\n\n\t&__content {\n\t\tcolor: $donor-color;\n\t\tmargin-top: $donor-space-half;\n\t\tposition: relative;\n\n\t\tp {\n\t\t\tfont-size: 1em;\n\t\t\tmargin: 0 0 $donor-space;\n\n\t\t\t&:last-child {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n}\n\n.give-donor-wall-modal {\n\tp:last-child {\n\t\tmargin-bottom: 0;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_components.donor.scss","/**\n * Give Frontend Grid SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n// Fallback styles for old browsers that do not support CSS Grid.\n.give-grid {\n\tmax-width: 30rem;\n\n\t&__item {\n\t\tmargin-bottom: 1.5rem;\n\t}\n}\n\n.give-wrap {\n\t&:before {\n\t\tdisplay: block;\n\t\tcontent: '';\n\t\tclear: both;\n\t}\n}\n\n// IE 11 browser support.\n@media ( min-width: 30rem ) {\n\t.give-grid {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\tmargin-bottom: 1.5rem;\n\t\tmax-width: 100%;\n\n\t\t&__item {\n\t\t\tpadding: 0 .75rem;\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t&--2,\n\t\t&--3,\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 40rem ) {\n\t\t\t\t\twidth: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&--3,\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 72rem ) {\n\t\t\t\t\twidth: calc( 100% / 3 );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 90rem ) {\n\t\t\t\t\twidth: 25%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__item {\n\t\t\t.give-grid__item {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n// Modern styles for browsers that support CSS Grid.\n@supports (display: grid) {\n\t@media ( min-width: 30rem ) {\n\t\t.give-grid {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 1fr;\n\t\t\tgrid-gap: 1.5rem;\n\t\t\tmargin-bottom: 1.5rem;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__item {\n\t\t\t\tdisplay: block;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: auto !important;\n\t\t\t}\n\n\t\t\t// Fit as many columns as possible in the available space.\n\t\t\t&--best-fit {\n\t\t\t\tgrid-template-columns: repeat(auto-fit, minmax(320px, 1fr));\n\t\t\t}\n\n\t\t\t// Limit the number of columns to an explicit user-defined number.\n\t\t\t&--2,\n\t\t\t&--3,\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 40rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(2, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&--3,\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 72rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(3, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 90rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(4, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__item {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_grid.scss","/**\n * Give Frontend Card SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-card {\n\tbackground-color: white;\n\tborder: 1px solid $give-card-border;\n\tbox-shadow: 0 1px 1px rgba( 0, 0, 0, 0.04 );\n\tcolor: inherit;\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition: relative;\n\twidth: 100%;\n\ttext-decoration: none;\n\ttop: 0;\n\ttransition: all 0.1s ease-out;\n\n\t&:hover,\n\t&:focus,\n\t&:active,\n\t&:visited {\n\t\tborder-color: #ccc;\n\t\tbox-shadow: 0 4px 12px rgba( 0, 0, 0, 0.16 );\n\t\ttop: -4px;\n\t}\n\n\t&__media {\n\t\timg {\n\t\t\tborder-radius: 0;\n\t\t\tbox-shadow: none;\n\t\t\tdisplay: block;\n\t\t\theight: auto;\n\t\t\tmargin: 0;\n\t\t\tobject-fit: cover;\n\t\t\torder: 1;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t&__body {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tflex-grow: 1;\n\t\torder: 2;\n\t\tpadding: 1.5rem;\n\n\t\t& > :last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\t}\n\n\t\t&__title {\n\t\t\tline-height: 1.3;\n\t\t\tmargin: 0 0 0.75rem;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t&__text {\n\t\t\tmargin: 0 0 1.5rem;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t&__progress {\n\t\t\tmargin-top: auto;\n\t\t\twidth: 100%;\n\n\t\t\t& > :last-child {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\n\t\t\t.raised {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\n\t\t\t.income {\n\t\t\t\tfont-size: 2em;\n\t\t\t}\n\t\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_card.scss","/**\n * Give Frontend Page Numbers SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-page-numbers {\n\tfont-size: 1.25em;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_page-numbers.scss",".timeline-item {\n\tbackground: #fff;\n}\n\n@keyframes placeHolderShimmer {\n\t0% {\n\t\tbackground-position: 0 0\n\t}\n\n\t100% {\n\t\tbackground-position: 520px 0\n\t}\n}\n\n.placeholder-container-animation {\n\tmax-width: 650px;\n\tmargin: 0 auto;\n}\n\n.animated-background {\n\tanimation-duration: 0.85s;\n\tanimation-fill-mode: forwards;\n\tanimation-iteration-count: infinite;\n\tanimation-name: placeHolderShimmer;\n\tanimation-timing-function: linear;\n\tbackground: #f6f7f8;\n\tbackground: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);\n\tbackground-size: 520px 100%;\n\tposition: relative;\n}\n\n.container {\n\tmargin: 0 auto;\n\twidth: 650px;\n\tbackground-color: #eee;\n\tborder:1px solid #eee;\n}\n\n.layer {\n\tdisplay: flex;\n\n\t&.h1 {\n\t\theight: 28px;\n\t}\n\t\n\t&.h2 {\n\t\theight: 22px;\n\t}\n\t\n\t&.inline-radios {\n\t\theight: 12px;\n\t}\n\t\n\t&.label {\n\t\theight: 8px;\n\t}\n}\n\n.layer-item {\n\t&.opaque {\n\t\tbackground: #fff;\t\n\t}\n}\n\n.layer-gap {\n\tbackground-color: #fff;\n\n\t&.large {\n\t\theight: 40px;\n\t}\n\t\n\t&.medium {\n\t\theight: 20px;\n\t}\n\t\n\t&.small {\n\t\theight: 10px;\n\t}\n}\n\n// Specifics\n\n// Layer-1\n.layer-1 {\n\t.layer-item:nth-child(odd) {\n\t\twidth: 45%\n\t}\n\t\n\t.layer-item:nth-child(even) {\n\t\twidth: 55%;\n\t}\n}\n\n\n// Layer-4\n.layer-4 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 10%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 20%;\n\t}\n\t\n\t.layer-item:nth-child(4) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(5) {\n\t\twidth: 10%;\n\t}\n}\n\n// Layer-5\n.layer-5 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 40%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 5%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 15%;\n\t}\n\t\n\t.layer-item:nth-child(4) {\n\t\twidth: 40%;\n\t}\n}\n\n// Layer-6\n.layer-6 {\n\t.layer-item:nth-child(odd) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(even) {\n\t\twidth: 70%;\n\t}\n}\n\n// Layer-8\n.layer-8 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 40%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 20%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 40%;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./blocks/components/container-placeholder-animation/style.scss"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./assets/src/css/frontend/give-frontend.scss","webpack:///./assets/src/css/frontend/_mixins.scss","webpack:///./assets/src/css/plugins/hint.min.scss","webpack:///./assets/src/css/plugins/float-labels.scss","webpack:///./assets/src/css/frontend/_variables.scss","webpack:///./assets/src/css/plugins/magnific-popup.scss","webpack:///./assets/src/css/plugins/_settings.scss","webpack:///./assets/src/css/frontend/fonts.scss","webpack:///./assets/src/css/frontend/receipt.scss","webpack:///./assets/src/css/frontend/float-labels.scss","webpack:///./assets/src/css/frontend/forms.scss","webpack:///./assets/src/css/frontend/alerts.scss","webpack:///./assets/src/css/frontend/layouts.scss","webpack:///./assets/src/css/frontend/progress-bar.scss","webpack:///./assets/src/css/frontend/tables.scss","webpack:///./assets/src/css/frontend/theme-compatibility.scss","webpack:///./assets/src/css/frontend/donation-history.scss","webpack:///./assets/src/css/frontend/modal.scss","webpack:///./assets/src/css/frontend/_components.donor.scss","webpack:///./assets/src/css/frontend/_grid.scss","webpack:///./assets/src/css/frontend/_card.scss","webpack:///./assets/src/css/frontend/_page-numbers.scss","webpack:///./blocks/components/container-placeholder-animation/style.scss"],"names":[],"mappings":"AAAA;;;;;;;;ECsDG,sBAID,wBAAyB,CAY1B,wBATC,wBAAyB,CAG3B,iBAtBE,uBACA,eACA,cACA,WACA,kBACA,mBACA,wBACA,mBAAoB,CAEpB,uBACE,WACA,oBAAqB,CACtB;;qCCpDkC,gBAErB,kBAAkB,oBAAoB,CAAE,6CAA4C,kBAAkB,gCAAqC,wBAA+D,kBAAkB,UAAU,gBAAgB,oBAAoB,4BAA4B,oBAA6C,4BAA4B,mBAA4C,CAAE,yDAAwD,mBAAmB,UAAU,6BAA6B,oBAA8C,CAAE,uBAAsB,WAAW,kBAAkB,eAAe,6BAA6B,eAAe,CAAE,sBAAqB,mBAAmB,WAAW,iBAAiB,eAAe,sDAAwD,iBAAiB,mBAAmB,0BAA0B,mFAAqC,CAAE,kCAAiC,wBAAwB,CAAE,iCAAgC,uBAAuB,CAAE,wFAAuF,sBAAsB,CAAC,iEAAiE,wBAAwB,CAAC,0EAA0E,2BAA2B,CAAC,mCAAmC,YAAY,QAAQ,CAAC,kBAAkB,oBAAoB,oBAAoB,CAAC,iBAAiB,mCAAmC,0BAA0D,CAAC,wBAAwB,mCAAmC,0BAA0D,CAAC,uBAAuB,oDAAoD,2CAA4F,CAAC,yCAAyC,SAAS,QAAQ,CAAC,qBAAqB,iBAAiB,oBAAoB,CAAC,oBAAoB,mCAAmC,0BAA0D,CAAC,2BAA2B,kCAAkC,yBAAwD,CAAC,0BAA0B,mDAAmD,0CAA0F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DAAiD,CAnDnD,gDAsDE,mDAAqD,CAtDvD,iDAyDE,mDAAsD,CACtD,2BASD,GACC,SAAU,CAEX,GACC,SAAU,EAIZ,mFAYE,aACA,YACA,YACA,WACA,SACA,UACA,kBACA,iBACA,eACA,eAAmB,CAZrB,4CHlnBE,yBACA,WACA,kBACA,gBACA,oBACA,oBAIA,mCACA,kCGynBA,WACA,YACA,WACA,cACA,eACA,iBACA,0BACA,4BACA,4BAA6B,CAzB/B,gEAgCE,WAAY,CACZ,yCAaA,gBACA,iBAAkB,CAalB,6DAVC,iBACA,SACA,SAAU,CACV,4DAGA,kBACA,QACA,SAAU,CACV,gDAID,eAAgB,CAChB,uCAGA,gBACA,SAAU,CACV,4CAGA,WAAY,CACZ,sGAOA,eAAgB,CAChB,8GAGA,kBACA,YAAa,CACb,gFAEA,UAAW,CACX,wCAKA,cACA,WACA,UAAW,CACX,sHAOA,cACA,kBAAmB,CAJrB,iDAQE,gBACA,oBAAqB,CACrB,4BASD,uBAAyB,CACzB,mFAME,oBACA,eAAgB,CALnB,kDAUE,uBAAyB,CACzB,UAQD,mBACA,sBACA,WACA,iBACA,eACA,kBACA,aAAc,CAPf,gBAUE,kBAAmB,CACnB,iCASA,WACA,kBACA,eAAgB,CAChB,yFASA,eAAgB,CAFlB,6CAKE,WAAY,CACZ,yBAYC,6FAGA,WACA,UAAW,CACX,CASH,kGAEC,eAAgB,CAChB,8BAOC,0BAA4B,CAC5B,qDAQA,aAGA,kBACA,QACA,YHr1BA,yBACA,WACA,kBACA,gBACA,oBACA,oBAIA,mCACA,kCG80BA,YACA,WACA,cACA,eACA,iBACA,0BACA,4BACA,4BAA6B,CAG7B,yCAMA,cAAe,CACf,cCz3BD,iBAAkB,CAClB,8BAGA,kBACA,QACA,QACA,8DACA,YACA,SACA,YACA,eACA,cACA,eACA,wBAA0B,CAX3B,qCAcE,eACA,cACA,gBACA,cACA,6BACA,WACA,YACA,kBACA,WACA,kCAAmC,CAvBrC,oCA2BE,4BAAkC,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sBqFE,SAAU,CtBrFZ,gDsByFE,QAAS,CtBzFX,gDsB6FE,SAAU,CtB7FZ,gDsBiGE,SAAU,CtBjGZ,kDsBwGE,SAAU,CtBxGZ,iDsB4GE,SAAU,CtB5GZ,+CsBmHE,SAAU,CtBnHZ,gDsBuHE,SAAU,CtBvHZ,gDsB2HE,SAAU,CtBvHZ,sBACC,cAAe,CACf","file":"css/give.css","sourcesContent":["/*!\n * Give Frontend SCSS/CSS\n *\n * @description: The Main SCSS file for FRONTEND styles which is compiled and minified via Gulp taskrunner\n * @package: Give\n * @subpackage: SCSS/Frontend\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n@import '_variables';\n@import '_mixins';\n@import '../plugins/hint.min';\n@import '../plugins/float-labels';\n@import '../plugins/magnific-popup';\n@import 'fonts';\n@import 'receipt';\n@import 'float-labels';\n@import 'forms';\n@import 'alerts';\n@import 'layouts';\n@import 'progress-bar';\n@import 'tables';\n@import 'theme-compatibility';\n@import 'donation-history';\n@import 'modal';\n@import '_components.donor';\n\n// Wrapper increases specificity for defensive styling against themes.\n.give-wrap {\n\t@import 'grid';\n\t@import 'card';\n\t@import 'page-numbers';\n}\n\n// Import placeholder style from gutenberg placeholder.\n#give-receipt{\n\t@import '../../../../blocks/components/container-placeholder-animation/style';\n}\n\n.give-grid-ie-utility {\n\tmargin: 0 -12px;\n}\n\n@supports (display: grid) {\n\t.give-grid-ie-utility {\n\t\tmargin: 0;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/give-frontend.scss","/**\r\n * Clearfix\r\n */\r\n@mixin clearfix() {\r\n *zoom: 1;\r\n\r\n &:before,\r\n &:after {\r\n content: \" \";\r\n display: table;\r\n }\r\n\r\n &:after {\r\n clear: both;\r\n }\r\n}\r\n\r\n.give-clearfix {\r\n @include clearfix;\r\n}\r\n\r\n/**\r\n * Box Sizing\r\n * https://github.com/timrogers/sass-box-sizing-mixin\r\n */\r\n@mixin box-sizing($box-model) {\r\n -webkit-box-sizing: $box-model; // Safari <= 5\r\n -moz-box-sizing: $box-model; // Firefox <= 19\r\n box-sizing: $box-model;\r\n}\r\n\r\n/**\r\n * CSS3 Easing\r\n */\r\n@mixin easing-transition() {\r\n -moz-transition: 0.2s all linear;\r\n -o-transition: 0.2s all linear;\r\n transition: 0.2s all linear;\r\n}\r\n\r\n//Labels\r\n@mixin give-label() {\r\n padding: .2em .4em .3em;\r\n font-size: 11px;\r\n line-height: 1;\r\n color: #fff;\r\n text-align: center;\r\n white-space: nowrap;\r\n vertical-align: baseline;\r\n border-radius: .25em;\r\n \r\n &:hover {\r\n color:#fff;\r\n text-decoration: none;\r\n }\r\n}\r\n\r\n@mixin give-label-gray() {\r\n background-color: #929292;\r\n}\r\n@mixin give-label-orange() {\r\n background-color: #ffba00;\r\n}\r\n\r\n.give-item-label {\r\n @include give-label();\r\n}\r\n\r\n.give-item-label-gray {\r\n @include give-label-gray();\r\n}\r\n\r\n.give-item-label-orange {\r\n @include give-label-orange();\r\n}\r\n\r\n\r\n.give-item-label {\r\n @include give-label();\r\n}\r\n\r\n//Fields\r\n@mixin give-currency() {\r\n background-color: lighten($light-gray, 2%);\r\n border-top: 1px solid $borders;\r\n border-bottom: 1px solid $borders;\r\n color: $dark;\r\n margin: 0;\r\n padding: 0 12px;\r\n height: 35px;\r\n line-height: 35px;\r\n font-size: $font-size-medium;\r\n @include box-sizing(border-box);\r\n}\r\n\r\n@mixin give-input() {\r\n border: 1px solid $borders;\r\n background: #FFF;\r\n border-radius: 0;\r\n height: 35px;\r\n line-height: 35px;\r\n padding: 0 12px;\r\n margin: 0;\r\n font-size: $font-size-medium;\r\n @include box-sizing(border-box);\r\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_mixins.scss","/*! Hint.css - v2.5.0 - 2017-04-23\n* http://kushagragour.in/lab/hint/\n* Copyright (c) 2017 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/hint.min.scss","/*!\n * Float Labels\n *\n * @version: 3.2.0\n * @author: Paul Ryley (http://geminilabs.io)\n * @url: https://geminilabs.github.io/float-labels.js\n * @license: MIT\n */\n\n$float-labels: () !default;\n\n$float-labels-defaults: (\n\tbase-height : 24px,\n\tbase-padding : 6px,\n\tborder-radius : 3px,\n\tborder-width : 1px,\n\tmargin-bottom : 24px,\n\tcolor-background : #fff,\n\tcolor-background-active : #fff,\n\tcolor-background-focus : #fff,\n\tcolor-border : #dfdfdf,\n\tcolor-border-active : #dfdfdf,\n\tcolor-border-focus : #1976D2,\n\tcolor-placeholder : #757575,\n\tcolor-required : #D32F2F,\n\tcolor-text : #444,\n\tcolor-text-focus : #1976D2,\n\tline-height : 1.5,\n\tfont-size : 16px,\n\tfont-size-small : 12px,\n\tfont-weight : 400,\n\tparent : '',\n\tprefix : 'give-fl-',\n\ttransition-easing : ease-in-out,\n\ttransition-speed : 0.2s,\n);\n\n@function fl($value) {\n\t@return map-get(map-merge($float-labels-defaults, $float-labels), $value);\n}\n\n@mixin fl-style-1 {\n\tinput.#{fl(prefix)}input,\n\tselect.#{fl(prefix)}select,\n\ttextarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding) fl(base-padding)*2;\n\t}\n\tselect.#{fl(prefix)}select {\n\t\theight: fl(base-height) + fl(base-padding)*2 + fl(border-width)*2;\n\t}\n\t.#{fl(prefix)}is-active input.#{fl(prefix)}input,\n\t.#{fl(prefix)}is-active select.#{fl(prefix)}select,\n\t.#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding) fl(base-padding)*2;\n\t}\n\tlabel.#{fl(prefix)}label {\n\t\ttop: fl(border-width);\n\t\tleft: fl(border-width) + fl(base-padding)*1.5;\n\t\tbackground-color: transparent;\n\t\tpadding: fl(base-padding)*2 fl(base-padding)/2;\n\t}\n\tlabel.#{fl(prefix)}label:before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\ttop: fl(border-width) + fl(base-padding) + fl(font-size-small);\n\t\tleft: 0;\n\t\tright: 0;\n\t\theight: fl(border-width);\n\t\tbackground-color: fl(color-background);\n\t\tz-index: -1;\n\t}\n\t$label-top: round((fl(base-padding) + fl(font-size-small))/2);\n\t.#{fl(prefix)}is-active label.#{fl(prefix)}label {\n\t\ttop: - $label-top;\n\t\tpadding: fl(base-padding)/2;\n\t}\n\t.#{fl(prefix)}is-active label.#{fl(prefix)}label:before {\n\t\ttop: $label-top;\n\t}\n}\n\n@mixin fl-style-2 {\n\tinput.#{fl(prefix)}input,\n\tselect.#{fl(prefix)}select,\n\ttextarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding)*2;\n\t}\n\tselect.#{fl(prefix)}select {\n\t\theight: fl(base-height) + fl(base-padding)*4 + fl(border-width)*2;\n\t}\n\t.#{fl(prefix)}is-active input.#{fl(prefix)}input,\n\t.#{fl(prefix)}is-active select.#{fl(prefix)}select,\n\t.#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\t\tpadding: fl(base-padding)*3 fl(base-padding)*2 fl(base-padding)*1;\n\t}\n\tlabel.#{fl(prefix)}label {\n\t\ttop: fl(border-width);\n\t\tleft: fl(border-width) + fl(base-padding)*1.5;\n\t\tpadding: fl(base-padding) fl(base-padding)/2 fl(base-padding)/2;\n\t}\n\t.#{fl(prefix)}is-required:before {\n\t\tpadding-top: fl(base-padding)*2;\n\t}\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}wrap {\n\tposition: relative;\n\ttext-rendering: optimizeLegibility;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\n#{fl(parent)}.#{fl(prefix)}form input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form textarea.#{fl(prefix)}textarea {\n\twidth: 100%;\n\toutline: 0;\n\tfont-size: fl(font-size);\n\tline-height: fl(line-height);\n\tborder-radius: fl(border-radius);\n\tborder: fl(border-width) solid fl(color-border);\n\tbackground-color: fl(color-background);\n\tbox-sizing: border-box;\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tmargin-bottom: fl(margin-bottom);\n\n\t&:-moz-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&::-moz-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&:-ms-input-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n\t&::-webkit-input-placeholder {\n\t\tcolor: fl(color-placeholder);\n\t}\n}\n\n#{fl(parent)}.#{fl(prefix)}form select.#{fl(prefix)}select {\n\tposition: relative;\n\tcolor: fl(color-placeholder);\n\tcursor: pointer;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\n\tcolor: fl(color-text);\n\tbackground-color: fl(color-background-active);\n\tborder-color: fl(color-border-active);\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus input.#{fl(prefix)}input,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus select.#{fl(prefix)}select,\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus textarea.#{fl(prefix)}textarea {\n\tbackground-color: fl(color-background-focus);\n\tborder-color: fl(color-border-focus);\n}\n\n#{fl(parent)}.#{fl(prefix)}form label.#{fl(prefix)}label {\n\topacity: 0;\n\tvisibility: hidden;\n\tdisplay: block;\n\tposition: absolute;\n\ttop: - fl(font-size-small);\n\tleft: 0;\n\tfont-size: fl(font-size-small);\n\tfont-weight: fl(font-weight);\n\tline-height: 1;\n\tcolor: fl(color-placeholder);\n\tborder-radius-top-left: fl(border-radius);\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tz-index: 1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-active label.#{fl(prefix)}label {\n\topacity: 1;\n\tvisibility: visible;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}has-focus label.#{fl(prefix)}label {\n\tcolor: fl(color-text-focus);\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-required:before {\n\topacity: 1;\n\tcontent: '*';\n\tdisplay: block;\n\tposition: absolute;\n\ttop: fl(border-width);\n\tright: fl(base-height)/2 + fl(base-padding)/2;\n\tfont-size: fl(font-size);\n\tline-height: 1.75;\n\tcolor: fl(color-required);\n\ttransition: all fl(transition-speed) fl(transition-easing);\n\tpadding: fl(base-padding) 0 0;\n\tz-index: 1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}is-required.#{fl(prefix)}is-active:before {\n\topacity: 0;\n}\n\n#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-1 {\n\t@include fl-style-1;\n}\n\n#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-2 {\n\t@include fl-style-2;\n}\n\n#{fl(parent)}.#{fl(prefix)}form .#{fl(prefix)}wrap-select:after {\n\tcontent: '';\n\tposition: absolute;\n\tdisplay: block;\n\ttop: fl(border-width);\n\tright: 6px;\n\theight: calc(100% - #{fl(border-width)*2});\n\twidth: fl(base-height)/2;\n\tbackground: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#{fl(color-placeholder)}' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>\") no-repeat;\n\tbackground-position: 100% 50%;\n\tbackground-size: 7px 14px;\n\tz-index: 2;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/float-labels.scss","/**\n * Give CSS Variables\n */\n\n$green: #7ad03a;\n$red: #a00;\n$orange: #ffba00;\n$blue: #2ea2cc;\n$dark: #333;\n$borders: #ccc;\n$light-gray: #EDEDED;\n\n//Status\n$status-default: #777;\n$status-complete: $green;\n$status-refunded: $status-default;\n$status-subscription: #5bc0de;\n$status-revoked: #d9534f;\n\n// Borders.\n$give-card-border: #e5e5e5;\n\n//Font sizes\n$font-size-medium: 18px;\n\n$primary: #007ba4;\n// Primary color for buttons (alt)\n$primarytext: desaturate(lighten($primary, 50%), 18%);\n// Text on primary color bg\n\n$secondary: desaturate(lighten($primary, 40%), 21%);\n// Secondary buttons\n$secondarytext: desaturate(darken($secondary, 60%), 21%);\n// Text on secondary color bg\n\n$highlight: adjust-hue($primary, 150deg);\n// Prices, In stock labels, sales flash\n$highlightext: desaturate(lighten($highlight, 50%), 18%);\n// Text on highlight color bg\n\n$contentbg: #fff;\n// Content BG - Tabs (active state)\n$subtext: #777;\n// small, breadcrumbs etc\n\n$float-labels: (\n\t\tbase-height : 30px,\n\t\tborder-radius : 0,\n\t\tmargin-bottom : 0,\n\t\tcolor-background : inherit,\n\t\tcolor-background-active : inherit,\n\t\tcolor-background-focus : inherit,\n\t\tcolor-border : #ccc,\n\t\tcolor-border-active : #ccc,\n\t\tcolor-border-focus : #ccc,\n\t\tcolor-text : #333,\n\t\tline-height : normal,\n\t\tfont-weight : 700,\n\t\tparent : '[id*=\"give-form\"]',\n);\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_variables.scss","/* Magnific Popup CSS */\n\n@import \"settings\";\n\n////////////////////////\n//\n// Contents:\n//\n// 1. General styles\n// - Transluscent overlay\n// - Containers, wrappers\n// - Cursors\n// - Helper classes\n// 2. Appearance\n// - Preloader & text that displays error messages\n// - CSS reset for buttons\n// - Close icon\n// - \"1 of X\" counter\n// - Navigation (left/right) arrows\n// - Iframe content type styles\n// - Image content type styles\n// - Media query where size of arrows is reduced\n// - IE7 support\n//\n////////////////////////\n\n\n\n////////////////////////\n// 1. General styles\n////////////////////////\n\n// Transluscent overlay\n.mfp-bg {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 2;\n overflow: hidden;\n position: fixed;\n\n background: $mfp-overlay-color;\n opacity: $mfp-overlay-opacity;\n}\n\n// Wrapper for popup\n.mfp-wrap {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 3;\n position: fixed;\n outline: none !important;\n -webkit-backface-visibility: hidden; // fixes webkit bug that can cause \"false\" scrollbar\n}\n\n// Root container\n.mfp-container {\n text-align: center;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n padding: 0 $mfp-popup-padding-left;\n box-sizing: border-box;\n}\n\n// Vertical centerer helper\n.mfp-container {\n &:before {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n }\n}\n\n// Remove vertical centering when popup has class `mfp-align-top`\n.mfp-align-top {\n .mfp-container {\n &:before {\n display: none;\n }\n }\n}\n\n// Popup content holder\n.mfp-content {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n margin: 0 auto;\n text-align: left;\n z-index: $mfp-z-index-base + 5;\n}\n.mfp-inline-holder,\n.mfp-ajax-holder {\n .mfp-content {\n width: 100%;\n cursor: auto;\n }\n}\n\n// Cursors\n.mfp-ajax-cur {\n cursor: progress;\n}\n.mfp-zoom-out-cur {\n &, .mfp-image-holder .mfp-close {\n cursor: -moz-zoom-out;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n }\n}\n.mfp-zoom {\n cursor: pointer;\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in;\n}\n.mfp-auto-cursor {\n .mfp-content {\n cursor: auto;\n }\n}\n\n.mfp-close,\n.mfp-arrow,\n.mfp-preloader,\n.mfp-counter {\n -webkit-user-select:none;\n -moz-user-select: none;\n user-select: none;\n}\n\n// Hide the image during the loading\n.mfp-loading {\n &.mfp-figure {\n display: none;\n }\n}\n\n// Helper class that hides stuff\n@if $mfp-use-visuallyhidden {\n // From HTML5 Boilerplate https://github.com/h5bp/html5-boilerplate/blob/v4.2.0/doc/css.md#visuallyhidden\n .mfp-hide {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n }\n} @else {\n .mfp-hide {\n display: none !important;\n }\n}\n\n\n////////////////////////\n// 2. Appearance\n////////////////////////\n\n// Preloader and text that displays error messages\n.mfp-preloader {\n color: $mfp-controls-text-color;\n position: absolute;\n top: 50%;\n width: auto;\n text-align: center;\n margin-top: -0.8em;\n left: 8px;\n right: 8px;\n z-index: $mfp-z-index-base + 4;\n a {\n color: $mfp-controls-text-color;\n &:hover {\n color: $mfp-controls-text-color-hover;\n }\n }\n}\n\n// Hide preloader when content successfully loaded\n.mfp-s-ready {\n .mfp-preloader {\n display: none;\n }\n}\n\n// Hide content when it was not loaded\n.mfp-s-error {\n .mfp-content {\n display: none;\n }\n}\n\n// CSS-reset for buttons\nbutton {\n &.mfp-close,\n &.mfp-arrow {\n overflow: visible;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n display: block;\n outline: none;\n padding: 0;\n z-index: $mfp-z-index-base + 6;\n box-shadow: none;\n touch-action: manipulation;\n }\n &::-moz-focus-inner {\n padding: 0;\n border: 0\n }\n}\n\n\n// Close icon\n.mfp-close {\n width: 44px;\n height: 44px;\n line-height: 44px;\n\n position: absolute;\n right: 0;\n top: 0;\n text-decoration: none;\n text-align: center;\n opacity: $mfp-controls-opacity;\n padding: 0 0 18px 10px;\n color: $mfp-controls-color;\n\n font-style: normal;\n font-size: 28px;\n font-family: Arial, Baskerville, monospace;\n\n &:hover,\n &:focus {\n opacity: 1;\n }\n\n &:active {\n top: 1px;\n }\n}\n.mfp-close-btn-in {\n .mfp-close {\n color: $mfp-inner-close-icon-color;\n }\n}\n.mfp-image-holder,\n.mfp-iframe-holder {\n .mfp-close {\n color: $mfp-controls-color;\n right: -6px;\n text-align: right;\n padding-right: 6px;\n width: 100%;\n }\n}\n\n// \"1 of X\" counter\n.mfp-counter {\n position: absolute;\n top: 0;\n right: 0;\n color: $mfp-controls-text-color;\n font-size: 12px;\n line-height: 18px;\n white-space: nowrap;\n}\n\n// Navigation arrows\n@if $mfp-include-arrows {\n .mfp-arrow {\n position: absolute;\n opacity: $mfp-controls-opacity;\n margin: 0;\n top: 50%;\n margin-top: -55px;\n padding: 0;\n width: 90px;\n height: 110px;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n &:active {\n margin-top: -54px;\n }\n &:hover,\n &:focus {\n opacity: 1;\n }\n &:before,\n &:after {\n content: '';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n left: 0;\n top: 0;\n margin-top: 35px;\n margin-left: 35px;\n border: medium inset transparent;\n }\n\n &:after {\n\n border-top-width: 13px;\n border-bottom-width: 13px;\n top:8px;\n }\n\n &:before {\n border-top-width: 21px;\n border-bottom-width: 21px;\n opacity: 0.7;\n }\n\n }\n\n .mfp-arrow-left {\n left: 0;\n &:after {\n border-right: 17px solid $mfp-controls-color;\n margin-left: 31px;\n }\n &:before {\n margin-left: 25px;\n border-right: 27px solid $mfp-controls-border-color;\n }\n }\n\n .mfp-arrow-right {\n right: 0;\n &:after {\n border-left: 17px solid $mfp-controls-color;\n margin-left: 39px\n }\n &:before {\n border-left: 27px solid $mfp-controls-border-color;\n }\n }\n}\n\n\n\n// Iframe content type\n@if $mfp-include-iframe-type {\n .mfp-iframe-holder {\n padding-top: $mfp-iframe-padding-top;\n padding-bottom: $mfp-iframe-padding-top;\n .mfp-content {\n line-height: 0;\n width: 100%;\n max-width: $mfp-iframe-max-width;\n }\n .mfp-close {\n top: -40px;\n }\n }\n .mfp-iframe-scaler {\n width: 100%;\n height: 0;\n overflow: hidden;\n padding-top: $mfp-iframe-ratio * 100%;\n iframe {\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-shadow: $mfp-shadow;\n background: $mfp-iframe-background;\n }\n }\n}\n\n\n\n// Image content type\n@if $mfp-include-image-type {\n\n /* Main image in popup */\n img {\n &.mfp-img {\n width: auto;\n max-width: 100%;\n height: auto;\n display: block;\n line-height: 0;\n box-sizing: border-box;\n padding: $mfp-image-padding-top 0 $mfp-image-padding-bottom;\n margin: 0 auto;\n }\n }\n\n /* The shadow behind the image */\n .mfp-figure {\n line-height: 0;\n &:after {\n content: '';\n position: absolute;\n left: 0;\n top: $mfp-image-padding-top;\n bottom: $mfp-image-padding-bottom;\n display: block;\n right: 0;\n width: auto;\n height: auto;\n z-index: -1;\n box-shadow: $mfp-shadow;\n background: $mfp-image-background;\n }\n small {\n color: $mfp-caption-subtitle-color;\n display: block;\n font-size: 12px;\n line-height: 14px;\n }\n figure {\n margin: 0;\n }\n }\n .mfp-bottom-bar {\n margin-top: -$mfp-image-padding-bottom + 4;\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n cursor: auto;\n }\n .mfp-title {\n text-align: left;\n line-height: 18px;\n color: $mfp-caption-title-color;\n word-wrap: break-word;\n padding-right: 36px; // leave some space for counter at right side\n }\n\n .mfp-image-holder {\n .mfp-content {\n max-width: 100%;\n }\n }\n\n .mfp-gallery {\n .mfp-image-holder {\n .mfp-figure {\n cursor: pointer;\n }\n }\n }\n\n\n @if $mfp-include-mobile-layout-for-image {\n @media screen and (max-width: 800px) and (orientation:landscape), screen and (max-height: 300px) {\n /**\n * Remove all paddings around the image on small screen\n */\n .mfp-img-mobile {\n .mfp-image-holder {\n padding-left: 0;\n padding-right: 0;\n }\n img {\n &.mfp-img {\n padding: 0;\n }\n }\n .mfp-figure {\n // The shadow behind the image\n &:after {\n top: 0;\n bottom: 0;\n }\n small {\n display: inline;\n margin-left: 5px;\n }\n }\n .mfp-bottom-bar {\n background: rgba(0,0,0,0.6);\n bottom: 0;\n margin: 0;\n top: auto;\n padding: 3px 5px;\n position: fixed;\n box-sizing: border-box;\n &:empty {\n padding: 0;\n }\n }\n .mfp-counter {\n right: 5px;\n top: 3px;\n }\n .mfp-close {\n top: 0;\n right: 0;\n width: 35px;\n height: 35px;\n line-height: 35px;\n background: rgba(0, 0, 0, 0.6);\n position: fixed;\n text-align: center;\n padding: 0;\n }\n }\n }\n }\n}\n\n\n\n// Scale navigation arrows and reduce padding from sides\n@media all and (max-width: 900px) {\n .mfp-arrow {\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n }\n .mfp-arrow-left {\n -webkit-transform-origin: 0;\n transform-origin: 0;\n }\n .mfp-arrow-right {\n -webkit-transform-origin: 100%;\n transform-origin: 100%;\n }\n .mfp-container {\n padding-left: $mfp-popup-padding-left-mobile;\n padding-right: $mfp-popup-padding-left-mobile;\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/magnific-popup.scss","////////////////////////\n// Settings //\n////////////////////////\n\n// overlay\n$mfp-overlay-color: #0b0b0b !default; // Color of overlay screen\n$mfp-overlay-opacity: 0.8 !default; // Opacity of overlay screen\n$mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default; // Shadow on image or iframe\n\n// spacing\n$mfp-popup-padding-left: 8px !default; // Padding from left and from right side\n$mfp-popup-padding-left-mobile: 6px !default; // Same as above, but is applied when width of window is less than 800px\n\n$mfp-z-index-base: 999999 !default; // Base z-index of popup\n\n// controls\n$mfp-include-arrows: true !default; // Include styles for nav arrows\n$mfp-controls-opacity: 0.65 !default; // Opacity of controls\n$mfp-controls-color: #FFF !default; // Color of controls\n$mfp-controls-border-color: #3F3F3F !default; \t // Border color of controls\n$mfp-inner-close-icon-color: #333 !default; // Color of close button when inside\n$mfp-controls-text-color: #CCC !default; // Color of preloader and \"1 of X\" indicator\n$mfp-controls-text-color-hover: #FFF !default; // Hover color of preloader and \"1 of X\" indicator\n\n// Iframe-type options\n$mfp-include-iframe-type: true !default; // Enable Iframe-type popups\n$mfp-iframe-padding-top: 40px !default; // Iframe padding top\n$mfp-iframe-background: #000 !default; // Background color of iframes\n$mfp-iframe-max-width: 900px !default; // Maximum width of iframes\n$mfp-iframe-ratio: 9/16 !default; // Ratio of iframe (9/16 = widescreen, 3/4 = standard, etc.)\n\n// Image-type options\n$mfp-include-image-type: true !default; // Enable Image-type popups\n$mfp-image-background: #444 !default;\n$mfp-image-padding-top: 40px !default; // Image padding top\n$mfp-image-padding-bottom: 40px !default; // Image padding bottom\n$mfp-include-mobile-layout-for-image: true !default; // Removes paddings from top and bottom\n\n// Image caption options\n$mfp-caption-title-color: #F3F3F3 !default; // Caption title color\n$mfp-caption-subtitle-color: #BDBDBD !default; // Caption subtitle color\n\n// A11y\n$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/plugins/_settings.scss","/**\n * Give Frontend Fonts SCSS\n *\n * Fonts are from icomoon and the src paths need to be relative to template directory.\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n@font-face {\n font-family: 'give-icomoon';\n src: url('../../fonts/icomoon.eot?kdnr3d');\n src: url('../../fonts/icomoon.eot?kdnr3d#iefix') format('embedded-opentype'),\n url('../../fonts/icomoon.woff?kdnr3d') format('woff'),\n url('../../fonts/icomoon.svg?kdnr3d#icomoon') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n@mixin iconstyle() {\n font-family: 'give-icomoon';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n // Better Font Rendering\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n[class^=\"give-icon-\"], [class*=\" give-icon-\"] {\n @include iconstyle();\n}\n\n.give-icon-lamp:before {\n content: \"\\e603\";\n}\n\n.give-icon-heart:before {\n content: \"\\e604\";\n}\n\n.give-icon-question:before {\n content: \"\\e602\";\n}\n\n.give-icon-info:before {\n content: \"\\e601\";\n}\n\n.give-icon-new-tab:before {\n content: \"\\ea7e\";\n}\n\n.give-icon-alert:before {\n content: \"\\f02d\";\n}\n\n.give-icon-help:before {\n content: \"\\e606\";\n}\n\n.give-icon-spinner:before {\n content: \"\\e605\";\n}\n\n.give-icon-spinner2:before {\n content: \"\\e607\";\n}\n\n.give-icon-plus:before {\n content: \"\\e040\";\n}\n\n.give-icon-minus:before {\n content: \"\\e041\";\n}\n\n.give-icon-locked:before {\n content: \"\\e600\";\n}\n\n.dashicons-give:before {\n @include iconstyle();\n content: \"\\e800\";\n}\n\n// --------------------------\n// Spinning Icons\n// --------------------------\n\n.fa-spin {\n -webkit-animation: spin 1000ms infinite linear;\n animation: spin 1000ms infinite linear;\n}\n\n@-webkit-keyframes spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/fonts.scss","/**\r\n * Give Frontend Receipt SCSS\r\n *\r\n * @package Give\r\n * @subpackage SCSS/Frontend\r\n * @copyright Copyright (c) 2016, WordImpress\r\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\r\n*/\r\n\r\n//------------------------------------------------------------\r\n// Email Browser Receipt Page\r\n//------------------------------------------------------------\r\nbody.give_receipt_page {\r\n\tbackground-color: #fff;\r\n\tcolor: #141412;\r\n\tmargin: 0;\r\n\tfont-family: Helvetica, sans-serif;\r\n\tfont-size: 12px;\r\n\r\n\t#give_receipt_wrapper {\r\n\t\twidth: 660px;\r\n\t\tmargin: 0 auto;\r\n\t\tpadding: 50px 0;\r\n\t}\r\n\r\n\ttable {\r\n\t\tdisplay: table;\r\n\t\twidth: 100%;\r\n\t\tborder-bottom: 1px solid #ededed;\r\n\t\tborder-collapse: collapse;\r\n\t\tborder-spacing: 0;\r\n\t\tfont-size: 14px;\r\n\t\tline-height: 2;\r\n\t\tmargin: 0 0 20px;\r\n\t}\r\n\r\n\ttd, th {\r\n\t\tdisplay: table-cell;\r\n\t\ttext-align: left;\r\n\t\tborder-top: 1px solid #ededed;\r\n\t\tpadding: 6px 10px 6px 0;\r\n\t\tfont-weight: normal;\r\n\t}\r\n\r\n\tth {\r\n\t\tfont-weight: bold;\r\n\t\ttext-transform: uppercase;\r\n\t}\r\n\r\n\th3 {\r\n\t\tfont-size: 22px;\r\n\t\tmargin: 40px 0 5px;\r\n\t\tclear: both;\r\n\t\tdisplay: block;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\r\n}\r\n\r\n//------------------------------------------------------------\r\n// On Site Donation Summary Tables\r\n//------------------------------------------------------------\r\n\r\ntable#give_donation_receipt_products,\r\ntable#give_donation_receipt {\r\n\twidth: 100%;\r\n}\r\n\r\ntable#give_donation_receipt {\r\n\r\n\ttd, th, td, th {\r\n\t\ttext-align: left;\r\n\t}\r\n\r\n\t.give-receipt-thead-text {\r\n\t\tfont-size: 18px;\r\n\t\ttext-align: center;\r\n\t\tdisplay: block;\r\n\r\n\t\t> span {\r\n\t\t\tfont-size: 16px;\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tli {\r\n\t\tmargin: 0 0 8px 10px;\r\n\t}\r\n\r\n\tul {\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t\tlist-style: none;\r\n\t}\r\n\r\n\t.give_receipt_payment_status.pending,\r\n\t.give_receipt_payment_status.revoked,\r\n\t.give_receipt_payment_status.failed {\r\n\t\tcolor: #f73f2e;\r\n\t}\r\n\r\n\tspan.donation-level-text-wrap {\r\n\t\tfont-style: italic;\r\n\t\tdisplay: block;\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/receipt.scss","#{fl(parent)}.#{fl(prefix)}form.#{fl(prefix)}style-give {\r\n\r\n input.#{fl(prefix)}input,\r\n select.#{fl(prefix)}select,\r\n textarea.#{fl(prefix)}textarea {\r\n\tline-height: inherit;\r\n\tpadding: 12px;\r\n\tbackground-color: #FFF;\r\n }\r\n\r\n input.#{fl(prefix)}input[type=\"text\"],\r\n input.#{fl(prefix)}input[type=\"email\"],\r\n input.#{fl(prefix)}input[type=\"password\"],\r\n input.#{fl(prefix)}input[type=\"search\"],\r\n input.#{fl(prefix)}input[type=\"email\"],\r\n input.#{fl(prefix)}input[type=\"tel\"],\r\n input.#{fl(prefix)}input[type=\"url\"],\r\n input.#{fl(prefix)}input[type=\"number\"] {\r\n\theight: auto;\r\n\tmin-height: 50px;\r\n }\r\n\r\n select.#{fl(prefix)}select {\r\n\tline-height: inherit;\r\n }\r\n\r\n .#{fl(prefix)}is-active input.#{fl(prefix)}input,\r\n .#{fl(prefix)}is-active select.#{fl(prefix)}select,\r\n .#{fl(prefix)}is-active textarea.#{fl(prefix)}textarea {\r\n\tpadding: 20px 12px 4px;\r\n\ttransition: padding fl(transition-speed) fl(transition-easing),\r\n\tborder fl(transition-speed) fl(transition-easing);\r\n }\r\n label.#{fl(prefix)}label {\r\n\ttop: fl(border-width);\r\n\tleft: 13px;\r\n\tright: 0;\r\n\tpadding: 6px 0 0;\r\n }\r\n .#{fl(prefix)}is-required:before {\r\n\tpadding-top: 12px;\r\n }\r\n label.#{fl(prefix)}label .give-required-indicator {\r\n\tdisplay: none;\r\n }\r\n label.#{fl(prefix)}label .give-tooltip {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tmargin: 0;\r\n\tz-index: 1;\r\n\t&::before {\r\n\t content: unset;\r\n\t}\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/float-labels.scss","/**\n * Give Frontend Forms SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n/*------------------------------------\nLayout\n--------------------------------------*/\n.give-clearfix {\n\t@include clearfix();\n}\n\n[id*='give-form'] {\n\n\t.give-hidden {\n\t\tdisplay: none;\n\t}\n\n\tfieldset {\n\t\tbackground-color: transparent;\n\t\tborder: none;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tborder: 0;\n\t}\n\n\t.give-form-title {\n\t\tpadding: 0;\n\t\tmargin: 0 0 15px;\n\t}\n\n\tdiv#give-sidebar-left {\n\t\twidth: 38%;\n\t\tfloat: left;\n\t}\n\n\tdiv.images {\n\t\tmargin: 0 0 15px;\n\n\t\timg {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\theight: auto;\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t.give-custom-amount-text {\n\t\tclear: both;\n\t}\n\n\tdiv.summary {\n\t\twidth: 58%;\n\t\tfloat: right;\n\n\t\t&.give-full-width {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\t}\n\n\t.give_form select.give-select.required {\n\t\tcolor: #000;\n\t}\n\n\tdiv.give-form-content-wrap {\n\t\tmargin: 0 0 20px;\n\t}\n\n\tdiv.give-form-content-wrap.give_post_form-content {\n\t\tmargin: 20px 0 0 0;\n\t}\n\n\t&.give-display-modal {\n\t\tform .give_notices {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t&.give-display-reveal, &.give-display-modal {\n\t\t.give-btn {\n\t\t\tmargin: 0 0 15px;\n\t\t}\n\t\t#give-payment-mode-select, #give_purchase_form_wrap {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t.cc-address {\n\t\tmargin-bottom: 15px;\n\t}\n}\n\n/*------------------------------------\nSingle Forms\n--------------------------------------*/\n\n.single-give_forms {\n\n\t&.et_right_sidebar #main-content .container:before {\n\t\tdisplay: none; //hide Divi sidebar sep on single give forms\n\t}\n\n\t.give_forms {\n\t\t@include clearfix;\n\t}\n\n}\n\n/*------------------------------------\nGravatar List\n--------------------------------------*/\n#give-purchase-gravatars {\n\n\t.give-gravatars-title {\n\t\tmargin: 0 0 15px;\n\t}\n\n\t.give-purchase-gravatars-list {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\n\t\tli {\n\t\t\tlist-style-type: none;\n\t\t\tdisplay: inline-block;\n\t\t\tmargin: 0 5px 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t}\n}\n\n/*------------------------------------\nBase Form Styles\n--------------------------------------*/\n\nform[id*='give-form'],\n#give-recurring-form,\nform.give-form {\n\tmargin: 0 0 25px;\n\tpadding: 0;\n\n\t.give-hidden {\n\t\tdisplay: none;\n\t}\n\n .give-title-prefix-wrap{\n\n\t.form-row-first,\n\t.form-row-last {\n\t float: left;\n\t width: 40%;\n\t}\n\n\t.form-row-title {\n\t float: left;\n\t width: 15%;\n\t}\n }\n\n .give-tooltip {\n\t\tmargin: 0 3px;\n\t\tpadding: 0;\n\t\tfont-size: 14px;\n\t\t@include easing-transition();\n\t\tcolor: transparentize($dark, 0.5);\n\n\t\t&:hover {\n\t\t\tcolor: $dark;\n\t\t}\n\t}\n\n\th3.give-section-break,\n\th4.give-section-break,\n\tlegend {\n\t\tbackground-color: transparent;\n\t\tfont-size: 1.15em;\n\t\tfont-weight: bold;\n\t\tmargin: 10px 0 15px;\n\t\tpadding: 0 0 5px;\n\t\tborder-bottom: 1px solid rgba(0, 0, 0, .1);\n\t\twidth: 100%;\n\n\t\tspan.sub-text {\n\t\t\tfont-style: italic;\n\t\t\tfont-weight: normal;\n\t\t}\n\t}\n\n\t//Form Layout\n\t.form-row {\n\t\t@include clearfix();\n\t\t@include box-sizing(border-box);\n\t\tmargin: 0 0 15px;\n\t\toverflow: visible;\n\t\tpadding: 0;\n\n\t\t// Prevent some themes from removing margin on last-child.\n\t\t&:last-child {\n\t\t\tmargin-bottom: 15px;\n\t\t}\n\n\t\tlabel {\n\t\t\tdisplay: block;\n\t\t\tmargin: 0 0 5px;\n\t\t\tposition: relative;\n\t\t\tline-height: 1.7;\n\n\t\t\t&.checkbox {\n\t\t\t\tdisplay: inline;\n\t\t\t}\n\n\t\t}\n\n\t\tselect, textarea, input[type=\"text\"], input[type=\"tel\"], input[type=\"email\"], input[type=\"password\"], input[type=\"url\"] {\n\t\t\t@include box-sizing(border-box);\n\t\t\twidth: 100%;\n\t\t\tborder-radius: 0;\n\t\t\toutline: none;\n\t\t\tcolor: $dark;\n\t\t\tbackground-color: #FDFDFD;\n\t\t\tborder: 1px solid $borders;\n\t\t\tmargin: 0;\n\t\t\tpadding: .5em;\n\n\t\t\t&:focus {\n\t\t\t\tbackground-color: #fff;\n\t\t\t}\n\t\t\t&.required {\n\t\t\t\tcolor: $dark;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n .form-row-title,\n\t.form-row-first {\n\t margin-right: 2.5%;\n\t}\n\n .form-row-first,\n .form-row-last {\n\tfloat: left;\n\twidth: 48.5%;\n }\n\n .form-row-last {\n\tfloat: right;\n }\n\n\t.form-row-wide {\n\t\t@include clearfix();\n\t\tclear: both;\n\t}\n\n\t.form-row-two-thirds {\n\t\tfloat: left;\n\t\twidth: 65.75%;\n\n\t\t&.form-row-first {\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n\n\t.form-row-one-third {\n\t\tfloat: left;\n\t\twidth: 31.25%;\n\t\tmargin-left: 3%;\n\n\t\t&.form-row-first {\n\t\t\tmargin-left: 0;\n\t\t}\n\t}\n\n\t.form-row-responsive {\n\t\t// Full-width on small viewports.\n\t\t@media (max-width: 480px) {\n\t\t\tmargin-left: 0;\n\t\t\tmargin-right: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t.give-error,\n\t.give-required-indicator {\n\t\tcolor: $red;\n\t}\n\n\t.card-expiration {\n\t\t> select {\n\t\t\twidth: 44%;\n\t\t\tmargin: 0;\n\t\t}\n\t\t> span.exp-divider {\n\t\t\tdisplay: inline;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\tselect.card-expiry-year {\n\t\t\tfloat: right;\n\t\t}\n\n\t}\n\t.give-disabled, [disabled] {\n\t\tcursor: not-allowed;\n\t}\n}\n\n/*---------------------------------\nForm Price & Amount\n-----------------------------------*/\n\nform[id*='give-form'] {\n\n\t.give-donation-amount {\n\t\tmargin: 0 0 15px;\n\n\t\t.give-currency-symbol {\n\t\t\t@include give-currency();\n\t\t\tfloat: left;\n\n\t\t\t&.give-currency-position-before {\n\t\t\t\tborder-left: 1px solid $borders;\n\t\t\t\tborder-right: none;\n\t\t\t}\n\t\t\t&.give-currency-position-after {\n\t\t\t\tborder-left: none;\n\t\t\t\tborder-right: 1px solid $borders;\n\t\t\t}\n\n\t\t}\n\n\t\t#give-amount,\n\t\t#give-amount-text {\n\t\t\t@include give-input();\n\t\t\tmin-width: 125px;\n\t\t\tfloat: left;\n\n\t\t\t&.invalid-amount {\n\t\t\t\tborder: 1px solid red;\n\t\t\t}\n\n\t\t}\n\n\t\tinput.give-amount-top {\n\t\t\twidth: 125px;\n\t\t}\n\n\t\tspan.give-final-total-amount {\n\t\t\t@include give-input();\n\t\t\tcursor: not-allowed;\n\t\t\tbackground: #FFF;\n\t\t\tfloat: left;\n\t\t}\n\n\t}\n\n\t#give_terms_agreement {\n\n\t\tlegend {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\tlabel {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t}\n\n\t#give-final-total-wrap {\n\t\tmargin: 10px 0 25px;\n\t\tpadding: 0;\n\t\t@include clearfix();\n\n\t\t.give-donation-total-label {\n\t\t\t@include give-currency();\n\t\t\tfloat: left;\n\t\t\tborder: 1px solid $borders;\n\n\t\t\t@media (max-width: 480px) {\n\t\t\t\tdisplay: block;\n\t\t\t\tfloat: none;\n\t\t\t}\n\t\t}\n\n\t\t.give-final-total-amount {\n\t\t\tfont-size: $font-size-medium;\n\t\t\t@include give-input();\n\t\t\tborder-left: none;\n\t\t\tfloat: left;\n\n\t\t\t@media (max-width: 480px) {\n\t\t\t\tborder: 1px solid $borders;\n\t\t\t\tborder-top: 0;\n\t\t\t\tdisplay: block;\n\t\t\t\tfloat: none;\n\t\t\t}\n\t\t}\n\n\t}\n\n}\n\n.give-display-button-only > *:not(form) {\n\tdisplay: none;\n}\n\n.give-display-button-only form[id*=give-form] > *:not(.give-btn-modal) {\n\tdisplay: none;\n}\n\n/*---------------------------------\nRadio Lists\n-----------------------------------*/\nform[id*='give-form'] {\n\tinput[type=\"radio\"] {\n\t\tmargin: 0 .5em 0 0;\n\t}\n\n\t#give-donation-level-radio-list {\n\t\t//this is the radio list for the various user set donation levels\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t\tlist-style: none;\n\t\tclear: both;\n\n\t\t> li {\n\t\t\tlist-style-type: none;\n\t\t\tlist-style-image: none;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\n\t\t\tlabel {\n\t\t\t\tcursor: pointer;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\tinput[type=\"radio\"] {\n\t\t\t\tmargin: 0 .5em 0 0;\n\t\t\t\toutline: none;\n\t\t\t\twidth: auto;\n\t\t\t}\n\t\t}\n\t}\n\n\t#give-gateway-radio-list {\n\t\t//this is the radio list for to select a gateway\n\t\t@include clearfix();\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t\tlist-style: none;\n\n\t\t> li {\n\t\t\tlist-style-type: none;\n\t\t\tlist-style-image: none;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\n\t\t\t@media (min-width: 480px) {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin-right: 15px;\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\tlabel.give-gateway-option {\n\t\t\t\tcursor: pointer;\n\t\t\t\tdisplay: inline;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\tinput[type=\"radio\"] {\n\t\t\t\tmargin: 0 .25em 0 0;\n\t\t\t\toutline: none;\n\t\t\t\twidth: auto;\n\t\t\t\tdisplay: inline;\n\t\t\t}\n\n\t\t}\n\n\t}\n}\n\n/*---------------------------------\nCheckboxes\n-----------------------------------*/\nform[id*='give-form'] {\n\tinput[type=\"checkbox\"] {\n\t\tmargin: 0 .25em 0 0;\n\t}\n}\n\n/*---------------------------------\nDonation Level: Dropdown/Select\n-----------------------------------*/\nform[id*='give-form'] {\n\tselect.give-select-level {\n\t\toutline: none;\n\t\tborder-radius: 0;\n\t\tmin-width: 155px;\n\t\tborder: 1px solid $borders;\n\t\tmargin: 0 0 15px;\n\t\tdisplay: block;\n\t\tclear: both;\n\t\tcolor: $dark;\n\t\tbackground-color: #FDFDFD;\n\t\tpadding: .5em;\n\t\tmax-width: 100%;\n\t}\n}\n\n/*---------------------------------\nButtons\n-----------------------------------*/\n\n#give-donation-level-button-wrap {\n\t@include clearfix();\n\tmargin: 0 0 15px;\n\tpadding: 0;\n\tclear: both;\n\tlist-style: none;\n\n\t> li {\n\t\tlist-style-type: none;\n\t\tlist-style-image: none;\n\t\tfloat: left;\n\t\tmargin: 0 5px 5px 0;\n\t}\n\n}\n\n.give_terms_links {\n\tfloat: right;\n}\n\n/*---------------------------------\nCC Validation\n-----------------------------------*/\n\n[id*='give_secure_site_wrapper'] {\n\tpadding: 4px 4px 15px 0;\n\tfont-size: 16px;\n\tline-height: 20px;\n\t//Secure padlock (SSL/HTTPS)\n\tspan.padlock {\n\t\t@include iconstyle();\n\t\t@extend .give-icon-locked;\n\t\tfont-size: 16px;\n\t\tline-height: 20px;\n\n\t\t:before {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n}\n\n#give_purchase_form_wrap {\n\tinput.give-input.card-number.valid,\n\tinput.give-input.card-cvc.valid,\n\tinput.give-input.card-expiry.valid {\n\t\tbackground-image: url('../../images/tick.png');\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: right 10px top 50%;\n\t\tbackground-size: 16px;\n\t\t&.fl-input:not(.card-cvc):not(.card-expiry) {\n\t\t\tbackground-position: right 55px top 50%;\n\t\t}\n\t}\n\n\tspan.card-type {\n\t\tposition: absolute;\n\t\ttop: -2px;\n\t\tright: 0;\n\t\twidth: 37px;\n\t\theight: 26px;\n\t\tbackground-size: 37px 26px !important;\n\t}\n\n\t.fl-wrap {\n\t\tspan.card-type {\n\t\t\ttop: calc(0.5em + #{fl(base-padding)});\n\t\t\tright: 11px;\n\t\t}\n\t}\n\n\tspan.card-type.off {\n\t\tdisplay: none;\n\t}\n\tspan.card-type.visa {\n\t\tbackground: url('../../images/visa.svg') no-repeat;\n\t}\n\tspan.card-type.mastercard {\n\t\tbackground: url('../../images/mastercard.svg') no-repeat;\n\t}\n\tspan.card-type.discover {\n\t\tbackground: url('../../images/discover.svg') no-repeat;\n\t}\n\tspan.card-type.amex {\n\t\tbackground: url('../../images/amex.svg') no-repeat;\n\t}\n\tspan.card-type.maestro {\n\t\tbackground: url('../../images/maestro.svg') no-repeat;\n\t}\n\tspan.card-type.dinersclub {\n\t\tbackground: url('../../images/diners-club.svg') no-repeat;\n\t}\n\tspan.card-type.jcb {\n\t\tbackground: url('../../images/jcb.svg') no-repeat;\n\t}\n\tspan.card-type.dankort {\n\t\tbackground: url('../../images/dankort.png') no-repeat;\n\t}\n\tspan.card-type.unionpay {\n\t\tbackground: url('../../images/unionpay.svg') no-repeat;\n\t}\n}\n\n/*---------------------------------\nLoading Animation\n-----------------------------------*/\n\n/* Loading Elipsis */\n@-webkit-keyframes opacity {\n\t0% {\n\t\topacity: 1;\n\t}\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@-moz-keyframes opacity {\n\t0% {\n\t\topacity: 1;\n\t}\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\nform[id*='give-form'] {\n\tp.give-loading-text,\n\tspan.give-loading-text {\n\t\tdisplay: none;\n\t\tfloat: right;\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tfont-style: italic;\n\t\tline-height: 20px;\n\t\tfont-size: 16px;\n\t\tfont-weight: normal;\n\t}\n\n\t.give-loading-animation {\n\t\t@include iconstyle();\n\t\tfloat: left;\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tline-height: 1;\n\t\tfont-size: 16px;\n\t\tmargin: 0 5px 0 0;\n\t\tbackground-size: 20px 20px;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-color: transparent;\n\t\t@extend .give-icon-spinner2;\n\t\t@extend .fa-spin;\n\t}\n\n\t.give-payment-mode-label\n\t.give-loading-text {\n\t\tfloat: right;\n\t}\n}\n\n/*---------------------------------\nUser Login\n-----------------------------------*/\n\n/*\n * User Login within Donation Form\n * (visible when Form Display > Login is enabled)\n */\n[id*='give-form'] {\n\t.give-login-account-wrap {\n\t\tmargin: 0 0 15px;\n\t\tposition: relative;\n\n\t\t.give-login-message {\n\t\t\ttext-align: right;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.give-loading-text {\n\t\t\tposition: absolute;\n\t\t\tright: 0;\n\t\t\ttop: .25em;\n\t\t}\n\t}\n\n\tfieldset[id^=\"give-login-fields\"] {\n\t\tmargin: 0 0 15px;\n\t}\n\n\t.give-new-account-link {\n\t\tmargin: 0 0 15px;\n\t\tpadding: 0;\n\t}\n\n\t.give_login_forgot_password {\n\t\tfloat: right;\n\t}\n}\n\n[id^='give-user-login-submit'],\n.give-submit-button-wrap {\n\n\tinput.give-cancel-login {\n\t\tmargin-left: 5px;\n\t}\n\n\tspan.give-loading-animation {\n\t\tmargin: 0 0 0 .5em;\n\t\tdisplay: none;\n\t}\n\t.give-submit {\n\t\tfloat: left;\n\t}\n}\n\n.give-user-login-fields-container {\n\t&:after {\n\t\tdisplay: block;\n\t\tcontent: '';\n\t\tclear: both;\n\t}\n}\n\n/* Login Shortcode Form */\n#give-login-form,\n#give-register-form {\n\tlegend, div.give-login {\n\t\tline-height: 2;\n\t\tmargin-bottom: 15px;\n\t}\n\n\tlabel {\n\t\tmin-width: 100px;\n\t\tdisplay: inline-block;\n\t}\n}\n\n/*---------------------------------\nModal - Magnific Popup\n-----------------------------------*/\n\n//Show/Hide elements in Magnific Popup\ndiv.give-form-wrap.mfp-hide {\n\tdisplay: block !important;\n}\n\ndiv.mfp-content {\n\t//Basic Styles\n\tfieldset {\n\t\tp, ol, ul {\n\t\t\tmargin-bottom: 1.2em;\n\t\t\tline-height: 1.4;\n\t\t}\n\t}\n\n\tform[id*='give-form'] .give_notices {\n\t\tdisplay: block !important;\n\t}\n}\n\n/*---------------------------------\nBasic Button Style\n-----------------------------------*/\n\n.give-btn {\n\tbackground: $light-gray;\n\tborder: 1px solid $borders;\n\tcolor: $dark;\n\tpadding: 8px 10px;\n\tcursor: pointer;\n\tline-height: 1.2em;\n\tfont-size: 1em;\n\n\t&:hover {\n\t\tbackground: #dbdbdb;\n\t}\n\n}\n\n/*---------------------------------\nProfile Editor Form\n-----------------------------------*/\n#give_profile_editor_form {\n\tlegend {\n\t\twidth: auto;\n\t\tpadding: 0 5px 5px 5px;\n\t\tborder-bottom: 0;\n\t}\n}\n\n/*---------------------------------\nEmail Access Form\n-----------------------------------*/\n\nform#give-email-access-form {\n\tdiv.g-recaptcha, input#give-email {\n\t\tmargin: 0 0 15px;\n\t}\n\tinput#give-email {\n\t\twidth: 305px;\n\t}\n}\n\n/*---------------------------------\nResponsiveness\n-----------------------------------*/\n@media (max-width: 768px) {\n\t// Multi-column layout for single forms.\n\t[id*='give-form'] {\n\t\tdiv.images, div.summary {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\n\t\tdiv#give-sidebar-left {\n\t\t\twidth: 100%;\n\t\t\tfloat: none;\n\t\t}\n\t}\n}\n\n/*---------------------------------\nSection Breaks\n-----------------------------------*/\n\n// Headings are commonly styled by themes, so we need to be extra-specific.\n.give-form-wrap .give-form h3.give-section-break,\n.give-form-wrap .give-form h4.give-section-break {\n\tmargin: 10px 0 0;\n}\n\n/*---------------------------------\nForm validation style\n-----------------------------------*/\n.give-do-validate {\n\tinput.error {\n\t\tborder-color: red !important;\n\t}\n}\n\n/*---------------------------------\nButton with Loader\n-----------------------------------*/\n.give-button-with-loader {\n\tspan.give-loading-animation {\n\t\tdisplay: none;\n\n\t\t// Align loading icon with button text.\n\t\tposition: relative;\n\t\ttop: 3px;\n\t\tfloat: right;\n\n\t\t@include iconstyle();\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tline-height: 1;\n\t\tfont-size: 16px;\n\t\tmargin: 0 0 0 5px;\n\t\tbackground-size: 20px 20px;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-color: transparent;\n\t\t@extend .give-icon-spinner2;\n\t\t@extend .fa-spin;\n\t}\n}\n\n\n.give-active{\n\tspan.give-loading-animation {\n\t\tdisplay: inline;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/forms.scss","/*---------------------------------\nNotices, Warnings & Errors\n-----------------------------------*/\n.give_notices {\n\tposition: relative;\n}\n\n.give_notices .notice-dismiss {\n\tposition: absolute;\n\ttop: 50%;\n\tright: 0;\n\ttransform: translate(0, -50%);\n\tborder: none;\n\tmargin: 0;\n\tpadding: 5px;\n\tbackground: 0 0;\n\tcolor: #72777c;\n\tcursor: pointer;\n\tmax-width: 28px !important;\n\n\t&:before {\n\t\tbackground: 0 0;\n\t\tcolor: #72777c;\n\t\tcontent: \"\\f153\";\n\t\tdisplay: block;\n\t\tfont: 400 16px/20px dashicons;\n\t\tspeak: none;\n\t\theight: 20px;\n\t\ttext-align: center;\n\t\twidth: 20px;\n\t\t-webkit-font-smoothing: antialiased;\n\t}\n\n\t&:hover {\n\t\tbackground-color: rgba(0, 0, 0, 0);\n\n\t\t&:before {\n\t\t\tcolor: #dc3232;\n\t\t}\n\t}\n}\n\n.give {\n\t&_error,\n\t&_success,\n\t&_warning {\n\t\tposition: relative;\n\t\tmargin: 15px 0;\n\t\tbackground: #F9F9F9;\n\t\tpadding: 1em 1.5em 1em 2em;\n\t\tborder-left: 4px solid;\n\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.125);\n\t\tclear: both;\n\n\t\t> p {\n\t\t\tmargin: 0 !important;\n\t\t\tcolor: $dark;\n\t\t}\n\n\t\t&:before {\n\t\t\t@include iconstyle();\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tfont-size: 16px;\n\t\t\tmargin-top: -15px;\n\t\t\tleft: -17px;\n\t\t\tcolor: #FFF;\n\t\t\twidth: 30px;\n\t\t\theight: 30px;\n\t\t\tborder-radius: 100%;\n\t\t\ttext-align: center;\n\t\t\tline-height: 30px;\n\t\t\ttext-shadow: 1px 1px rgba(0, 0, 0, 0.5);\n\t\t}\n\t}\n\n\t&_error {\n\t\tborder-color: $red;\n\n\t\t&:before {\n\t\t\tcontent: '\\f02d';\n\t\t\tbackground-color: $red;\n\t\t}\n\t}\n\n\t&_success {\n\t\tborder-color: $green;\n\n\t\t&:before {\n\t\t\tbackground-color: $green;\n\t\t\tcontent: '\\e601';\n\t\t}\n\t}\n\n\t&_warning {\n\t\tborder-color: $orange;\n\n\t\t&:before {\n\t\t\tbackground-color: $orange;\n\t\t\tcontent: '\\f02d';\n\t\t}\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/alerts.scss","/**\n * Give Layouts SCSS/CSS\n *\n * @description: This file provides layout styles for various themes such as the default WordPress themes and others if applicable; Most themes handle Give's template system just fine ;)\n * @package: Give\n * @subpackage: SCSS/Frontend\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n/**\n * Twenty Thirteen specific styles\n */\n\n.twentythirteen {\n\n .give_forms {\n\tpadding: 40px 0;\n }\n\n}\n\n/**\n * Twenty Fourteen specific styles\n */\n.twentyfourteen {\n .tfgive {\n\tpadding: 12px 10px 0;\n\tmax-width: 474px;\n\tmargin: 0 auto;\n\n\t.give_forms .entry-summary {\n\t padding: 0 !important;\n\t margin: 0 0 1.618em !important;\n\t}\n\n\tdiv.give_forms.hentry.has-post-thumbnail {\n\t margin-top: 0;\n\t}\n\n\t.give_forms {\n\t .images {\n\t\timg {\n\t\t margin-bottom: 1em;\n\t\t}\n\t }\n\t}\n }\n}\n\n@media screen and (min-width: 673px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 30px;\n\t padding-left: 30px;\n\t}\n }\n}\n\n@media screen and (min-width: 1040px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 15px;\n\t padding-left: 15px;\n\t}\n }\n}\n\n@media screen and (min-width: 1110px) {\n .twentyfourteen {\n\t.tfgive {\n\t padding-right: 30px;\n\t padding-left: 30px;\n\t}\n }\n}\n\n@media screen and (min-width: 1218px) {\n .twentyfourteen {\n\t.tfgive {\n\t margin-right: 54px;\n\t}\n }\n .full-width {\n\t.twentyfourteen {\n\t .tfgive {\n\t\tmargin-right: auto;\n\t }\n\t}\n }\n}\n\n/**\n * Twenty Fifteen specific styles\n */\n.twentyfifteen {\n .t15give {\n\tpadding-left: 7.6923%;\n\tpadding-right: 7.6923%;\n\tpadding-top: 7.6923%;\n\tmargin-bottom: 7.6923%;\n\tbackground: #fff;\n\tbox-shadow: 0 0 1px rgba(0, 0, 0, 0.15);\n\n\t.page-title {\n\t margin-left: 0;\n\t}\n\tdiv.summary {\n\t padding: 0;\n\t}\n }\n}\n\n@media screen and (min-width: 38.75em) {\n .twentyfifteen {\n\t.t15give {\n\t margin-right: 7.6923%;\n\t margin-left: 7.6923%;\n\t margin-top: 8.3333%;\n\t}\n }\n}\n\n@media screen and (min-width: 59.6875em) {\n .twentyfifteen {\n\t.t15give {\n\t margin-left: 8.3333%;\n\t margin-right: 8.3333%;\n\t padding: 10%;\n\t}\n }\n\n .single-product {\n\t.twentyfifteen {\n\t .entry-summary {\n\t\tpadding: 0 !important;\n\t }\n\t}\n }\n}\n\n/*----------------------------------------------\nAvada\n------------------------------------------------*/\n\n.avada-row > div.give-wrap #content {\n width: 100%;\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/layouts.scss","/**\n * Give Frontend Progress Bar SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-goal-progress {\n margin-bottom: 20px;\n clear:both;\n\n .income {\n\tfont-size: 46px;\n\tline-height: 48px;\n\tletter-spacing: -1px;\n\tcolor: #333;\n }\n\n .raised {\n\tmargin-bottom: 15px;\n }\n}\n\n.give-progress-bar {\n height: 20px; \n position: relative;\n background: #EEE;\n border-radius: 25px;\n overflow: hidden;\n\n > span {\n\tdisplay: block;\n\theight: 100%;\n\tborder-top-right-radius: 8px;\n\tborder-bottom-right-radius: 8px;\n\tborder-top-left-radius: 20px;\n\tborder-bottom-left-radius: 20px;\n\tbackground-color: rgb(43, 194, 83);\n\tposition: relative;\n\toverflow: hidden;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/progress-bar.scss","/**\n * Give Frontend Tables SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\ntable.give-table {\n color: #666;\n font-size: 14px;\n text-shadow: 1px 1px 0px #fff;\n background: #eaebec;\n margin: 20px 0;\n border: 1px solid #e0e0e0;\n border-top: none;\n border-bottom: none;\n width: 100%;\n\n thead {\n font-weight: bold;\n\n th:first-child {\n text-align: left;\n }\n }\n\n th {\n padding: 21px 25px;\n border-top: 1px solid #E8E8E8;\n border-bottom: 1px solid #e0e0e0;\n border-left: 1px solid #e0e0e0;\n border-right: none;\n background: #F6F6F6;\n text-align: center;\n font-weight: bold;\n }\n\n tbody {\n\n tr {\n text-align: center;\n\n td {\n padding: 18px;\n border: none;\n border-top: 1px solid #ffffff;\n border-bottom: 1px solid #e0e0e0;\n border-left: 1px solid #e0e0e0;\n background: #FFF;\n text-align: center;\n }\n\n td:first-child {\n text-align: left;\n border-left: 0;\n }\n }\n\n //Even Rows\n tr:nth-child(even) td {\n background: #fcfcfc;\n }\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/tables.scss","/**\n * Give Frontend Theme Compatibility\n *\n * @description: The following styles help Give look good and fixes CSS conflicts with popular WordPress themes\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n//Twenty Sixteen\nbody.give-twentysixteen {\n\n div.entry-summary {\n\tmargin: 0;\n }\n\n button.give-btn {\n\tcolor: #333;\n }\n\n .give-submit {\n\tcolor: #FFF;\n }\n\n fieldset#give_terms_agreement {\n\tpadding-left: 0;\n }\n\n}\n\n//Twenty Seventeen Dark Color Scheme\nbody.give-twentyseventeen.colors-dark {\n div.give-total-wrap input.give-text-input,\n div#give_purchase_form_wrap span.give-final-total-amount,\n div.give_notices p {\n\tcolor: black;\n }\n\n form[id*=\"give\"] fieldset {\n\tbackground-color: transparent;\n }\n\n}\n\n// Enfold Compatibility\nhtml[class*=\"avia\"] body#top form[id*=give-form] input.give-amount-top {\n width: unset;\n border: 1px solid #ccc;\n border-left: none;\n}\n\nhtml[class*=\"avia\"] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label {\n left: 7px;\n}\n\nhtml[class*=\"avia\"] body#top [id*=give-form].give-fl-form div.give-fl-is-active input {\n padding: 8px 6px 0px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/theme-compatibility.scss",".give-donation-history {\n .give-table {\n\ttable-layout: auto;\n\n\t.give-security-column {\n\t float: left;\n\n\t &.give-security-description-wrap {\n\t\twidth: 75%;\n\t\tpadding: 16px 13px;\n\t\tfont-size: 12px;\n\t\tfont-style: italic;\n\t }\n\n\t &.give-security-button-wrap {\n\t\twidth: 25%;\n\t\tpadding: 25px 5px;\n\n\t\tspan {\n\t\t display: none;\n\t\t padding: 0 20px;\n\t\t}\n\t }\n\t}\n\n\t.title-for-mobile {\n\t\tdisplay: none;\n\t}\n }\n}\n\n@media screen and ( max-width: 480px ) {\n\t#give_user_history {\n\t\tthead {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\ttbody {\n\t\t\tborder-top: 1px solid #e0e0e0;\n\t\t}\n\n\t\ttr {\n\t\t\tpadding: 0.5rem 0;\n\t\t\tbackground: #fff;\n\n\t\t\t&:nth-child( even ) {\n\t\t\t\tbackground-color: #fafafa;\n\t\t\t}\n\t\t}\n\n\t\ttd {\n\t\t\tborder: none;\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0; \n\t\t\tbackground-color: rgba(0, 0, 0, 0);\n\t\t}\n\n\t\ttr, td {\n\t\t\tdisplay: block;\n\t\t\tborder-left: none;\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t.title-for-mobile {\n\t\t\tdisplay: inline-block;\n\t\t\tfont-weight: bold;\n\t\t\tmin-width: 6em;\n\t\t}\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/donation-history.scss","/**\n * Give Magnific Modal Custom SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2016, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n// Wrapper for popup\n.give-modal {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: $mfp-z-index-base + 2147482500;\n position: fixed;\n overflow:hidden;\n outline: none !important;\n -webkit-backface-visibility: hidden; // fixes webkit bug that can cause \"false\" scrollbar\n -webkit-overflow-scrolling: touch;\n -webkit-transform: translateZ(0);\n\n form[id*='give-form'] {\n\tmargin-bottom: 0;\n\t.give-submit {\n\t margin-bottom: 0;\n\t}\n\t.give-payment-mode-label {\n\t margin-top: 0;\n\t padding-top: 0;\n\t}\n\t@media (max-width: 580px) {\n\t .give-input {\n\t\tfont-size:16px; // Prevents mobile zoom to inputs.\n\t }\n\t}\n }\n\n // Popup content holder\n .mfp-content {\n\tbox-sizing: border-box;\n\tposition: relative;\n\tbackground: #FFF;\n\tpadding: 20px;\n\twidth: auto;\n\tmax-width: 650px;\n\tmargin: 40px auto;\n\tz-index: $mfp-z-index-base + 2147482600;\n\n\t[id*='give-form'] #give-payment-mode-select,\n\t[id*='give-form'] #give_purchase_form_wrap,\n\t[id*='give-form'].give-display-button-only .give-donation-amount,\n\t[id*='give-form'].give-display-button-only .give-donation-levels-wrap {\n\t display: block;\n\t}\n\n\t.mfp-close:hover {\n\t background-color: transparent;\n\t}\n\n }\n\n form.give-form button.mfp-close {\n\tposition: absolute;\n\tdisplay: block !important;\n }\n\n .mfp-container:after {\n\tdisplay: none;\n }\n\n}\n\n// Move-from-top effect.\n\n.give-modal {\n\n .mfp-content {\n\tvertical-align:middle;\n\topacity: 0;\n\ttransition: all 0.2s;\n\ttransform: translateY(-100px);\n }\n\n &.mfp-bg {\n\topacity: 0;\n\ttransition: all 0.2s;\n }\n\n /* animate in */\n &.mfp-ready {\n\t.mfp-content {\n\t opacity: 1;\n\t transform: translateY(0);\n\t}\n\t&.mfp-bg {\n\t opacity: 0.8;\n\t}\n }\n\n /* animate out */\n &.mfp-removing {\n\n\t.mfp-content {\n\t transform: translateY(-50px);\n\t opacity: 0;\n\t}\n\t&.mfp-bg {\n\t opacity: 0;\n\t}\n\n }\n\n}\n\n\n/**\n * Form Grid Magnific Popup CSS\n */\n.give-donation-grid-item-form {\n\tposition: relative;\n\tmargin: 0 auto;\n\tmax-width: 600px;\n\tbackground-color: #fff;\n\tpadding: 1rem 1.5rem;\n\theight: 85vh;\n\toverflow-y: auto;\n\n\t#give_purchase_form_wrap {\n\t\tdisplay: block !important;\n\t}\n\n\t.give-btn-reveal,\n\t.give-btn-modal {\n\t\tdisplay: none !important;\n\t}\n\n\t.give-form-title {\n\t\tdisplay: none;\n\t}\n}\n\n.modal-fade-slide.give-modal {\n\t.mfp-content {\n\t\tpadding: 0;\n\t\tmax-width: 100%;\n\t}\n}\n\n.modal-fade-slide .give-modal--slide {\n\topacity: 0;\n\ttransition: all 0.2s ease-out;\n\ttransform: translateY(-20px) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-ready .give-modal--slide {\n\topacity: 1;\n\ttransform: translateY(0) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-removing .give-modal--slide {\n\topacity: 0;\n\ttransform: translateY(-10px) perspective( 600px ) rotateX( 0 );\n}\n\n.modal-fade-slide.mfp-bg {\n\topacity: 0;\n\ttransition: opacity 0.3s ease-out;\n}\n\n.modal-fade-slide.mfp-ready.mfp-bg {\n\topacity: 0.8;\n}\n\n.modal-fade-slide.mfp-removing.mfp-bg {\n\topacity: 0;\n}\n\n.mfp-close:hover {\n\tbackground-color: rgba(0, 0, 0, 0);\n}\n\n/**\n * Display Style Button\n */\n.mfp-content {\n\t.give-display-button-only .give-form-title {\n\t\tdisplay: none;\n\t}\n\n\t.give-display-button-only > *:not(form) {\n\t\tdisplay: block;\n\t}\n\n\t.give-display-button-only form > *:not(.give-btn-modal) {\n\t\tdisplay: block;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/modal.scss","/*--------------------------------------------------------------\n# Review\n--------------------------------------------------------------*/\n\n/**\n * Single donor with user image, details, and review text.\n *\n * 1. Header wraps the user photo and details. It displays above review text.\n * 2. Image is the image of the donor.\n * 3. Details include the donor's name, amount given, and date of the donation.\n */\n\n/*--------------------------------------------------------------\n# Spacing\n--------------------------------------------------------------*/\n\n$donor-space: 20px;\n$donor-color: #333;\n$donor-space-eighth: $donor-space * 0.125;\n$donor-space-quarter: $donor-space * 0.25;\n$donor-space-fifth: $donor-space * 0.2;\n$donor-space-half: $donor-space * 0.5;\n$donor-space-three-quarters: $donor-space * 0.75;\n$donor-space-and-quarter: $donor-space * 1.25;\n$donor-space-and-half: $donor-space * 1.5;\n$donor-space-and-three-quarters: $donor-space * 1.75;\n$donor-space-double: $donor-space * 2;\n$donor-space-triple: $donor-space * 3;\n\n.give-donor {\n\tborder: 1px solid $give-card-border;\n\tbackground: #FFF;\n\tfont-size: 1em;\n\tmargin-bottom: $donor-space;\n\tpadding: $donor-space;\n\tposition: relative;\n\ttransition: all 0.2s ease-out;\n\twidth: 100%;\n\n\t&__header { /* [1] */\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t}\n\n\t&__image { /* [2] */\n\t\tborder: 1px solid $give-card-border;\n\t\tbackground: #FFF;\n\t\ttext-align: center;\n\t\tflex-basis: $donor-space * 3;\n\t\tflex-shrink: 0;\n\t\tline-height: $donor-space * 3;\n\t\theight: $donor-space * 3;\n\t\tmargin-right: $donor-space-half;\n\t\toverflow: hidden;\n\t\tborder-radius: 50%;\n\n\t\timg {\n\t\t\tborder-radius: 50%;\n\t\t\tdisplay: block;\n\t\t\theight: $donor-space * 3;\n\t\t\tobject-fit: cover;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t&__details { /* [3] */\n\t\tflex-grow: 1;\n\t\toverflow: hidden;\n\t}\n\n\t&__name {\n\t\tfont-size: 1em;\n\t\tfont-weight: 400;\n\t\tcolor: $donor-color;\n\t\tline-height: 1.3;\n\t\tmargin: 0;\n\t}\n\n\t&__timestamp {\n\t\tcolor: $donor-color;\n\t\tdisplay: block;\n\t\tfont-size: 75%;\n\t}\n\n\t&__content {\n\t\tcolor: $donor-color;\n\t\tmargin-top: $donor-space-half;\n\t\tposition: relative;\n\n\t\tp {\n\t\t\tfont-size: 1em;\n\t\t\tmargin: 0 0 $donor-space;\n\n\t\t\t&:last-child {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n}\n\n.give-donor-wall-modal {\n\tp:last-child {\n\t\tmargin-bottom: 0;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_components.donor.scss","/**\n * Give Frontend Grid SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n// Fallback styles for old browsers that do not support CSS Grid.\n.give-grid {\n\tmax-width: 30rem;\n\n\t&__item {\n\t\tmargin-bottom: 1.5rem;\n\t}\n}\n\n.give-wrap {\n\t&:before {\n\t\tdisplay: block;\n\t\tcontent: '';\n\t\tclear: both;\n\t}\n}\n\n// IE 11 browser support.\n@media ( min-width: 30rem ) {\n\t.give-grid {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\tmargin-bottom: 1.5rem;\n\t\tmax-width: 100%;\n\n\t\t&__item {\n\t\t\tpadding: 0 .75rem;\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t&--2,\n\t\t&--3,\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 40rem ) {\n\t\t\t\t\twidth: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&--3,\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 72rem ) {\n\t\t\t\t\twidth: calc( 100% / 3 );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&--4 {\n\t\t\t.give-grid__item {\n\t\t\t\t@media ( min-width: 90rem ) {\n\t\t\t\t\twidth: 25%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__item {\n\t\t\t.give-grid__item {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n// Modern styles for browsers that support CSS Grid.\n@supports (display: grid) {\n\t@media ( min-width: 30rem ) {\n\t\t.give-grid {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 1fr;\n\t\t\tgrid-gap: 1.5rem;\n\t\t\tmargin-bottom: 1.5rem;\n\t\t\tmax-width: 100%;\n\n\t\t\t&__item {\n\t\t\t\tdisplay: block;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: auto !important;\n\t\t\t}\n\n\t\t\t// Fit as many columns as possible in the available space.\n\t\t\t&--best-fit {\n\t\t\t\tgrid-template-columns: repeat(auto-fit, minmax(320px, 1fr));\n\t\t\t}\n\n\t\t\t// Limit the number of columns to an explicit user-defined number.\n\t\t\t&--2,\n\t\t\t&--3,\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 40rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(2, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&--3,\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 72rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(3, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&--4 {\n\t\t\t\t@media ( min-width: 90rem ) {\n\t\t\t\t\tgrid-template-columns: repeat(4, 1fr);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__item {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_grid.scss","/**\n * Give Frontend Card SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-card {\n\tbackground-color: white;\n\tborder: 1px solid $give-card-border;\n\tbox-shadow: 0 1px 1px rgba( 0, 0, 0, 0.04 );\n\tcolor: inherit;\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition: relative;\n\twidth: 100%;\n\ttext-decoration: none;\n\ttop: 0;\n\ttransition: all 0.1s ease-out;\n\n\t&:hover,\n\t&:focus,\n\t&:active,\n\t&:visited {\n\t\tborder-color: #ccc;\n\t\tbox-shadow: 0 4px 12px rgba( 0, 0, 0, 0.16 );\n\t\ttop: -4px;\n\t}\n\n\t&__media {\n\t\timg {\n\t\t\tborder-radius: 0;\n\t\t\tbox-shadow: none;\n\t\t\tdisplay: block;\n\t\t\theight: auto;\n\t\t\tmargin: 0;\n\t\t\tobject-fit: cover;\n\t\t\torder: 1;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t&__body {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tflex-grow: 1;\n\t\torder: 2;\n\t\tpadding: 1.5rem;\n\n\t\t& > :last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\t}\n\n\t\t&__title {\n\t\t\tline-height: 1.3;\n\t\t\tmargin: 0 0 0.75rem;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t&__text {\n\t\t\tmargin: 0 0 1.5rem;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t&__progress {\n\t\t\tmargin-top: auto;\n\t\t\twidth: 100%;\n\n\t\t\t& > :last-child {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\n\t\t\t.raised {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\n\t\t\t.income {\n\t\t\t\tfont-size: 2em;\n\t\t\t}\n\t\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_card.scss","/**\n * Give Frontend Page Numbers SCSS\n *\n * @package Give\n * @subpackage SCSS/Frontend\n * @copyright Copyright (c) 2018, WordImpress\n * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License\n*/\n\n.give-page-numbers {\n\tfont-size: 1.25em;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/css/frontend/_page-numbers.scss",".timeline-item {\n\tbackground: #fff;\n}\n\n@keyframes placeHolderShimmer {\n\t0% {\n\t\tbackground-position: 0 0\n\t}\n\n\t100% {\n\t\tbackground-position: 520px 0\n\t}\n}\n\n.placeholder-container-animation {\n\tmax-width: 650px;\n\tmargin: 0 auto;\n}\n\n.animated-background {\n\tanimation-duration: 0.85s;\n\tanimation-fill-mode: forwards;\n\tanimation-iteration-count: infinite;\n\tanimation-name: placeHolderShimmer;\n\tanimation-timing-function: linear;\n\tbackground: #f6f7f8;\n\tbackground: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);\n\tbackground-size: 520px 100%;\n\tposition: relative;\n}\n\n.container {\n\tmargin: 0 auto;\n\twidth: 650px;\n\tbackground-color: #eee;\n\tborder:1px solid #eee;\n}\n\n.layer {\n\tdisplay: flex;\n\n\t&.h1 {\n\t\theight: 28px;\n\t}\n\t\n\t&.h2 {\n\t\theight: 22px;\n\t}\n\t\n\t&.inline-radios {\n\t\theight: 12px;\n\t}\n\t\n\t&.label {\n\t\theight: 8px;\n\t}\n}\n\n.layer-item {\n\t&.opaque {\n\t\tbackground: #fff;\t\n\t}\n}\n\n.layer-gap {\n\tbackground-color: #fff;\n\n\t&.large {\n\t\theight: 40px;\n\t}\n\t\n\t&.medium {\n\t\theight: 20px;\n\t}\n\t\n\t&.small {\n\t\theight: 10px;\n\t}\n}\n\n// Specifics\n\n// Layer-1\n.layer-1 {\n\t.layer-item:nth-child(odd) {\n\t\twidth: 45%\n\t}\n\t\n\t.layer-item:nth-child(even) {\n\t\twidth: 55%;\n\t}\n}\n\n\n// Layer-4\n.layer-4 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 10%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 20%;\n\t}\n\t\n\t.layer-item:nth-child(4) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(5) {\n\t\twidth: 10%;\n\t}\n}\n\n// Layer-5\n.layer-5 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 40%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 5%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 15%;\n\t}\n\t\n\t.layer-item:nth-child(4) {\n\t\twidth: 40%;\n\t}\n}\n\n// Layer-6\n.layer-6 {\n\t.layer-item:nth-child(odd) {\n\t\twidth: 30%;\n\t}\n\t\n\t.layer-item:nth-child(even) {\n\t\twidth: 70%;\n\t}\n}\n\n// Layer-8\n.layer-8 {\n\t.layer-item:nth-child(1) {\n\t\twidth: 40%;\n\t}\n\t\n\t.layer-item:nth-child(2) {\n\t\twidth: 20%;\n\t}\n\t\n\t.layer-item:nth-child(3) {\n\t\twidth: 40%;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./blocks/components/container-placeholder-animation/style.scss"],"sourceRoot":""}
assets/dist/css/give.rtl.css CHANGED
@@ -15,4 +15,4 @@
15
  * @author: Paul Ryley (http://geminilabs.io)
16
  * @url: https://geminilabs.github.io/float-labels.js
17
  * @license: MIT
18
- */[id*=give-form].give-fl-form .give-fl-wrap{position:relative;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[id*=give-form].give-fl-form input.give-fl-input,[id*=give-form].give-fl-form select.give-fl-select,[id*=give-form].give-fl-form textarea.give-fl-textarea{width:100%;outline:0;font-size:16px;line-height:normal;border-radius:0;border:1px solid #ccc;background-color:inherit;box-sizing:border-box;transition:all .2s ease-in-out;margin-bottom:0}[id*=give-form].give-fl-form input.give-fl-input:-moz-placeholder,[id*=give-form].give-fl-form input.give-fl-input::-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-moz-placeholder{color:#bbb}[id*=give-form].give-fl-form input.give-fl-input:-ms-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-ms-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-ms-input-placeholder{color:#bbb}[id*=give-form].give-fl-form input.give-fl-input::-webkit-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-webkit-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-webkit-input-placeholder{color:#bbb}[id*=give-form].give-fl-form select.give-fl-select{position:relative;color:#bbb;cursor:pointer;-webkit-appearance:none;-moz-appearance:none}[id*=give-form].give-fl-form .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form .give-fl-is-active textarea.give-fl-textarea{color:#333;background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form .give-fl-has-focus input.give-fl-input,[id*=give-form].give-fl-form .give-fl-has-focus select.give-fl-select,[id*=give-form].give-fl-form .give-fl-has-focus textarea.give-fl-textarea{background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form label.give-fl-label{opacity:0;visibility:hidden;display:block;position:absolute;top:-12px;right:0;font-size:12px;font-weight:700;line-height:1;color:#bbb;border-radius-top-right:0;transition:all .2s ease-in-out;z-index:1}[id*=give-form].give-fl-form .give-fl-is-active label.give-fl-label{opacity:1;visibility:visible}[id*=give-form].give-fl-form .give-fl-has-focus label.give-fl-label{color:#1976d2}[id*=give-form].give-fl-form .give-fl-is-required:before{opacity:1;content:"*";display:block;position:absolute;top:1px;left:18px;font-size:16px;line-height:1.75;color:#d32f2f;transition:all .2s ease-in-out;padding:6px 0 0;z-index:1}[id*=give-form].give-fl-form .give-fl-is-required.give-fl-is-active:before{opacity:0}[id*=give-form].give-fl-form.give-fl-style-1 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select{height:44px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label{top:1px;right:10px;background-color:transparent;padding:12px 3px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label:before{content:"";display:block;position:absolute;top:19px;right:0;left:0;height:1px;background-color:inherit;z-index:-1}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label{top:-9px;padding:3px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label:before{top:9px}[id*=give-form].give-fl-form.give-fl-style-2 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 textarea.give-fl-textarea{padding:12px}[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select{height:56px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active textarea.give-fl-textarea{padding:18px 12px 6px}[id*=give-form].give-fl-form.give-fl-style-2 label.give-fl-label{top:1px;right:10px;padding:6px 3px 3px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form .give-fl-wrap-select:after{content:"";position:absolute;display:block;top:1px;left:6px;height:calc(100% - 2px);width:15px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#bbb' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>") no-repeat;background-position:0 50%;background-size:7px 14px;z-index:2}.mfp-bg{z-index:1000001;overflow:hidden;background:#0b0b0b;opacity:.8}.mfp-bg,.mfp-wrap{top:0;right:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1000002;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;right:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:right;z-index:1000004}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;right:8px;left:8px;z-index:1000003}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1000005;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;left:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 10px 18px 0;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;left:-6px;text-align:left;padding-left:6px;width:100%}.mfp-counter{position:absolute;top:0;left:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;right:0;top:0;margin-top:35px;margin-right:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{right:0}.mfp-arrow-left:after{border-left:17px solid #fff;margin-right:31px}.mfp-arrow-left:before{margin-right:25px;border-left:27px solid #3f3f3f}.mfp-arrow-right{left:0}.mfp-arrow-right:after{border-right:17px solid #fff;margin-right:39px}.mfp-arrow-right:before{border-right:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;right:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;right:0;top:40px;bottom:40px;display:block;left:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;right:0;width:100%;cursor:auto}.mfp-title{text-align:right;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-left:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-right:0;padding-left:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-right:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{left:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;left:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{transform:scale(.75)}.mfp-arrow-left{transform-origin:100%}.mfp-arrow-right{transform-origin:0}.mfp-container{padding-right:6px;padding-left:6px}}@font-face{font-family:give-icomoon;src:url(../fonts/icomoon.eot);src:url(../fonts/icomoon.eot#iefix) format("embedded-opentype"),url(../fonts/icomoon.woff) format("woff"),url(../images/icomoon.svg#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" give-icon-"],[class^=give-icon-]{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-icon-lamp:before{content:"\E603"}.give-icon-heart:before{content:"\E604"}.give-icon-question:before{content:"\E602"}.give-icon-info:before{content:"\E601"}.give-icon-new-tab:before{content:"\EA7E"}.give-icon-alert:before{content:"\F02D"}.give-icon-help:before{content:"\E606"}.give-icon-spinner:before{content:"\E605"}.give-button-with-loader span.give-loading-animation:before,.give-icon-spinner2:before,form[id*=give-form] .give-loading-animation:before{content:"\E607"}.give-icon-plus:before{content:"\E040"}.give-icon-minus:before{content:"\E041"}.give-icon-locked:before,[id*=give_secure_site_wrapper] span.padlock:before{content:"\E600"}.dashicons-give:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\E800"}.fa-spin,.give-button-with-loader span.give-loading-animation,form[id*=give-form] .give-loading-animation{animation:a 1s infinite linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}body.give_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.give_receipt_page #give_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.give_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.give_receipt_page td,body.give_receipt_page th{display:table-cell;text-align:right;border-top:1px solid #ededed;padding:6px 0 6px 10px;font-weight:400}body.give_receipt_page th{font-weight:700;text-transform:uppercase}body.give_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}table#give_donation_receipt,table#give_donation_receipt_products{width:100%}table#give_donation_receipt td,table#give_donation_receipt th{text-align:right}table#give_donation_receipt .give-receipt-thead-text{font-size:18px;text-align:center;display:block}table#give_donation_receipt .give-receipt-thead-text>span{font-size:16px}table#give_donation_receipt li{margin:0 10px 8px 0}table#give_donation_receipt ul{margin:0;padding:0;list-style:none}table#give_donation_receipt .give_receipt_payment_status.failed,table#give_donation_receipt .give_receipt_payment_status.pending,table#give_donation_receipt .give_receipt_payment_status.revoked{color:#f73f2e}table#give_donation_receipt span.donation-level-text-wrap{font-style:italic;display:block}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give textarea.give-fl-textarea{line-height:inherit;padding:12px;background-color:#fff}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=email],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=number],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=password],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=search],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=tel],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=text],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=url]{height:auto;min-height:50px}[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select{line-height:inherit}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active textarea.give-fl-textarea{padding:20px 12px 4px;transition:padding .2s ease-in-out,border .2s ease-in-out}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{top:1px;right:13px;left:0;padding:6px 0 0}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-required-indicator{display:none}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip{position:absolute;top:0;width:100%;height:100%;margin:0;z-index:1}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip:before{content:unset}.give-clearfix{*zoom:1}.give-clearfix:after,.give-clearfix:before{content:" ";display:table}.give-clearfix:after{clear:both}[id*=give-form] .give-hidden{display:none}[id*=give-form] fieldset{background-color:transparent;border:none;padding:0;margin:0;border:0}[id*=give-form] .give-form-title{padding:0;margin:0 0 15px}[id*=give-form] div#give-sidebar-left{width:38%;float:right}[id*=give-form] div.images{margin:0 0 15px}[id*=give-form] div.images img{display:block;width:100%;height:auto;box-shadow:none}[id*=give-form] .give-custom-amount-text{clear:both}[id*=give-form] div.summary{width:58%;float:left}[id*=give-form] div.summary.give-full-width{width:100%;float:none}[id*=give-form] .give_form select.give-select.required{color:#000}[id*=give-form] div.give-form-content-wrap{margin:0 0 20px}[id*=give-form] div.give-form-content-wrap.give_post_form-content{margin:20px 0 0}[id*=give-form].give-display-modal form .give_notices{display:none}[id*=give-form].give-display-modal .give-btn,[id*=give-form].give-display-reveal .give-btn{margin:0 0 15px}[id*=give-form].give-display-modal #give-payment-mode-select,[id*=give-form].give-display-modal #give_purchase_form_wrap,[id*=give-form].give-display-reveal #give-payment-mode-select,[id*=give-form].give-display-reveal #give_purchase_form_wrap{display:none}[id*=give-form] .cc-address{margin-bottom:15px}.single-give_forms.et_right_sidebar #main-content .container:before{display:none}.single-give_forms .give_forms{*zoom:1}.single-give_forms .give_forms:after,.single-give_forms .give_forms:before{content:" ";display:table}.single-give_forms .give_forms:after{clear:both}#give-purchase-gravatars .give-gravatars-title{margin:0 0 15px}#give-purchase-gravatars .give-purchase-gravatars-list{list-style:none;margin:0;padding:0}#give-purchase-gravatars .give-purchase-gravatars-list li{list-style-type:none;display:inline-block;margin:0 0 0 5px;padding:0}#give-recurring-form,form.give-form,form[id*=give-form]{margin:0 0 25px;padding:0}#give-recurring-form .give-hidden,form.give-form .give-hidden,form[id*=give-form] .give-hidden{display:none}#give-recurring-form .give-title-prefix-wrap .form-row-first,#give-recurring-form .give-title-prefix-wrap .form-row-last,form.give-form .give-title-prefix-wrap .form-row-first,form.give-form .give-title-prefix-wrap .form-row-last,form[id*=give-form] .give-title-prefix-wrap .form-row-first,form[id*=give-form] .give-title-prefix-wrap .form-row-last{float:right;width:40%}#give-recurring-form .give-title-prefix-wrap .form-row-title,form.give-form .give-title-prefix-wrap .form-row-title,form[id*=give-form] .give-title-prefix-wrap .form-row-title{float:right;width:15%}#give-recurring-form .give-tooltip,form.give-form .give-tooltip,form[id*=give-form] .give-tooltip{margin:0 3px;padding:0;font-size:14px;transition:all .2s linear;color:rgba(51,51,51,.5)}#give-recurring-form .give-tooltip:hover,form.give-form .give-tooltip:hover,form[id*=give-form] .give-tooltip:hover{color:#333}#give-recurring-form h3.give-section-break,#give-recurring-form h4.give-section-break,#give-recurring-form legend,form.give-form h3.give-section-break,form.give-form h4.give-section-break,form.give-form legend,form[id*=give-form] h3.give-section-break,form[id*=give-form] h4.give-section-break,form[id*=give-form] legend{background-color:transparent;font-size:1.15em;font-weight:700;margin:10px 0 15px;padding:0 0 5px;border-bottom:1px solid rgba(0,0,0,.1);width:100%}#give-recurring-form h3.give-section-break span.sub-text,#give-recurring-form h4.give-section-break span.sub-text,#give-recurring-form legend span.sub-text,form.give-form h3.give-section-break span.sub-text,form.give-form h4.give-section-break span.sub-text,form.give-form legend span.sub-text,form[id*=give-form] h3.give-section-break span.sub-text,form[id*=give-form] h4.give-section-break span.sub-text,form[id*=give-form] legend span.sub-text{font-style:italic;font-weight:400}#give-recurring-form .form-row,form.give-form .form-row,form[id*=give-form] .form-row{*zoom:1;box-sizing:border-box;margin:0 0 15px;overflow:visible;padding:0}#give-recurring-form .form-row:after,#give-recurring-form .form-row:before,form.give-form .form-row:after,form.give-form .form-row:before,form[id*=give-form] .form-row:after,form[id*=give-form] .form-row:before{content:" ";display:table}#give-recurring-form .form-row:after,form.give-form .form-row:after,form[id*=give-form] .form-row:after{clear:both}#give-recurring-form .form-row:last-child,form.give-form .form-row:last-child,form[id*=give-form] .form-row:last-child{margin-bottom:15px}#give-recurring-form .form-row label,form.give-form .form-row label,form[id*=give-form] .form-row label{display:block;margin:0 0 5px;position:relative;line-height:1.7}#give-recurring-form .form-row label.checkbox,form.give-form .form-row label.checkbox,form[id*=give-form] .form-row label.checkbox{display:inline}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row select,#give-recurring-form .form-row textarea,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row select,form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row select,form[id*=give-form] .form-row textarea{box-sizing:border-box;width:100%;border-radius:0;outline:none;color:#333;background-color:#fdfdfd;border:1px solid #ccc;margin:0;padding:.5em}#give-recurring-form .form-row input[type=email]:focus,#give-recurring-form .form-row input[type=password]:focus,#give-recurring-form .form-row input[type=tel]:focus,#give-recurring-form .form-row input[type=text]:focus,#give-recurring-form .form-row input[type=url]:focus,#give-recurring-form .form-row select:focus,#give-recurring-form .form-row textarea:focus,form.give-form .form-row input[type=email]:focus,form.give-form .form-row input[type=password]:focus,form.give-form .form-row input[type=tel]:focus,form.give-form .form-row input[type=text]:focus,form.give-form .form-row input[type=url]:focus,form.give-form .form-row select:focus,form.give-form .form-row textarea:focus,form[id*=give-form] .form-row input[type=email]:focus,form[id*=give-form] .form-row input[type=password]:focus,form[id*=give-form] .form-row input[type=tel]:focus,form[id*=give-form] .form-row input[type=text]:focus,form[id*=give-form] .form-row input[type=url]:focus,form[id*=give-form] .form-row select:focus,form[id*=give-form] .form-row textarea:focus{background-color:#fff}#give-recurring-form .form-row input[type=email].required,#give-recurring-form .form-row input[type=password].required,#give-recurring-form .form-row input[type=tel].required,#give-recurring-form .form-row input[type=text].required,#give-recurring-form .form-row input[type=url].required,#give-recurring-form .form-row select.required,#give-recurring-form .form-row textarea.required,form.give-form .form-row input[type=email].required,form.give-form .form-row input[type=password].required,form.give-form .form-row input[type=tel].required,form.give-form .form-row input[type=text].required,form.give-form .form-row input[type=url].required,form.give-form .form-row select.required,form.give-form .form-row textarea.required,form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row select.required,form[id*=give-form] .form-row textarea.required{color:#333}#give-recurring-form .form-row-first,#give-recurring-form .form-row-title,form.give-form .form-row-first,form.give-form .form-row-title,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-title{margin-left:2.5%}#give-recurring-form .form-row-first,#give-recurring-form .form-row-last,form.give-form .form-row-first,form.give-form .form-row-last,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-last{float:right;width:48.5%}#give-recurring-form .form-row-last,form.give-form .form-row-last,form[id*=give-form] .form-row-last{float:left}#give-recurring-form .form-row-wide,form.give-form .form-row-wide,form[id*=give-form] .form-row-wide{*zoom:1;clear:both}#give-recurring-form .form-row-wide:after,#give-recurring-form .form-row-wide:before,form.give-form .form-row-wide:after,form.give-form .form-row-wide:before,form[id*=give-form] .form-row-wide:after,form[id*=give-form] .form-row-wide:before{content:" ";display:table}#give-recurring-form .form-row-wide:after,form.give-form .form-row-wide:after,form[id*=give-form] .form-row-wide:after{clear:both}#give-recurring-form .form-row-two-thirds,form.give-form .form-row-two-thirds,form[id*=give-form] .form-row-two-thirds{float:right;width:65.75%}#give-recurring-form .form-row-two-thirds.form-row-first,form.give-form .form-row-two-thirds.form-row-first,form[id*=give-form] .form-row-two-thirds.form-row-first{margin-right:0}#give-recurring-form .form-row-one-third,form.give-form .form-row-one-third,form[id*=give-form] .form-row-one-third{float:right;width:31.25%;margin-right:3%}#give-recurring-form .form-row-one-third.form-row-first,form.give-form .form-row-one-third.form-row-first,form[id*=give-form] .form-row-one-third.form-row-first{margin-right:0}@media (max-width:480px){#give-recurring-form .form-row-responsive,form.give-form .form-row-responsive,form[id*=give-form] .form-row-responsive{margin-right:0;margin-left:0;width:100%}}#give-recurring-form .give-error,#give-recurring-form .give-required-indicator,form.give-form .give-error,form.give-form .give-required-indicator,form[id*=give-form] .give-error,form[id*=give-form] .give-required-indicator{color:#a00}#give-recurring-form .card-expiration>select,form.give-form .card-expiration>select,form[id*=give-form] .card-expiration>select{width:44%;margin:0}#give-recurring-form .card-expiration>span.exp-divider,form.give-form .card-expiration>span.exp-divider,form[id*=give-form] .card-expiration>span.exp-divider{display:inline;text-align:center}#give-recurring-form .card-expiration select.card-expiry-year,form.give-form .card-expiration select.card-expiry-year,form[id*=give-form] .card-expiration select.card-expiry-year{float:left}#give-recurring-form .give-disabled,#give-recurring-form [disabled],form.give-form .give-disabled,form.give-form [disabled],form[id*=give-form] .give-disabled,form[id*=give-form] [disabled]{cursor:not-allowed}form[id*=give-form] .give-donation-amount{margin:0 0 15px}form[id*=give-form] .give-donation-amount .give-currency-symbol{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:right}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-before{border-right:1px solid #ccc;border-left:none}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-after{border-right:none;border-left:1px solid #ccc}form[id*=give-form] .give-donation-amount #give-amount,form[id*=give-form] .give-donation-amount #give-amount-text{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;min-width:125px;float:right}form[id*=give-form] .give-donation-amount #give-amount-text.invalid-amount,form[id*=give-form] .give-donation-amount #give-amount.invalid-amount{border:1px solid red}form[id*=give-form] .give-donation-amount input.give-amount-top{width:125px}form[id*=give-form] .give-donation-amount span.give-final-total-amount{border:1px solid #ccc;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;cursor:not-allowed;background:#fff;float:right}form[id*=give-form] #give_terms_agreement legend{display:none}form[id*=give-form] #give_terms_agreement label{display:inline-block}form[id*=give-form] #give-final-total-wrap{margin:10px 0 25px;padding:0;*zoom:1}form[id*=give-form] #give-final-total-wrap:after,form[id*=give-form] #give-final-total-wrap:before{content:" ";display:table}form[id*=give-form] #give-final-total-wrap:after{clear:both}form[id*=give-form] #give-final-total-wrap .give-donation-total-label{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:right;border:1px solid #ccc}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-donation-total-label{display:block;float:none}}form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;border-right:none;float:right}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;border-top:0;display:block;float:none}}.give-display-button-only>:not(form),.give-display-button-only form[id*=give-form]>:not(.give-btn-modal){display:none}form[id*=give-form] input[type=radio]{margin:0 0 0 .5em}form[id*=give-form] #give-donation-level-radio-list{margin:0 0 15px;padding:0;list-style:none;clear:both}form[id*=give-form] #give-donation-level-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}form[id*=give-form] #give-donation-level-radio-list>li label{cursor:pointer;display:inline-block;margin:0}form[id*=give-form] #give-donation-level-radio-list>li input[type=radio]{margin:0 0 0 .5em;outline:none;width:auto}form[id*=give-form] #give-gateway-radio-list{*zoom:1;margin:0 0 15px;padding:0;list-style:none}form[id*=give-form] #give-gateway-radio-list:after,form[id*=give-form] #give-gateway-radio-list:before{content:" ";display:table}form[id*=give-form] #give-gateway-radio-list:after{clear:both}form[id*=give-form] #give-gateway-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}@media (min-width:480px){form[id*=give-form] #give-gateway-radio-list>li{display:inline-block;margin-left:15px;margin-right:0}}form[id*=give-form] #give-gateway-radio-list>li label.give-gateway-option{cursor:pointer;display:inline;margin:0}form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{margin:0 0 0 .25em;outline:none;width:auto;display:inline}form[id*=give-form] input[type=checkbox]{margin:0 0 0 .25em}form[id*=give-form] select.give-select-level{outline:none;border-radius:0;min-width:155px;border:1px solid #ccc;margin:0 0 15px;display:block;clear:both;color:#333;background-color:#fdfdfd;padding:.5em;max-width:100%}#give-donation-level-button-wrap{*zoom:1;margin:0 0 15px;padding:0;clear:both;list-style:none}#give-donation-level-button-wrap:after,#give-donation-level-button-wrap:before{content:" ";display:table}#give-donation-level-button-wrap:after{clear:both}#give-donation-level-button-wrap>li{list-style-type:none;list-style-image:none;float:right;margin:0 0 5px 5px}.give_terms_links{float:left}[id*=give_secure_site_wrapper]{padding:4px 0 15px 4px;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock :before{display:inline-block}#give_purchase_form_wrap input.give-input.card-cvc.valid,#give_purchase_form_wrap input.give-input.card-expiry.valid,#give_purchase_form_wrap input.give-input.card-number.valid{background-image:url(../images/tick.png);background-repeat:no-repeat;background-position:left 10px top 50%;background-size:16px}#give_purchase_form_wrap input.give-input.card-cvc.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-expiry.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-number.valid.fl-input:not(.card-cvc):not(.card-expiry){background-position:left 55px top 50%}#give_purchase_form_wrap span.card-type{position:absolute;top:-2px;left:0;width:37px;height:26px;background-size:37px 26px!important}#give_purchase_form_wrap .fl-wrap span.card-type{top:calc(.5em + 6px);left:11px}#give_purchase_form_wrap span.card-type.off{display:none}#give_purchase_form_wrap span.card-type.visa{background:url(../images/visa.svg) no-repeat}#give_purchase_form_wrap span.card-type.mastercard{background:url(../images/mastercard.svg) no-repeat}#give_purchase_form_wrap span.card-type.discover{background:url(../images/discover.svg) no-repeat}#give_purchase_form_wrap span.card-type.amex{background:url(../images/amex.svg) no-repeat}#give_purchase_form_wrap span.card-type.maestro{background:url(../images/maestro.svg) no-repeat}#give_purchase_form_wrap span.card-type.dinersclub{background:url(../images/diners-club.svg) no-repeat}#give_purchase_form_wrap span.card-type.jcb{background:url(../images/jcb.svg) no-repeat}#give_purchase_form_wrap span.card-type.dankort{background:url(../images/dankort.png) no-repeat}#give_purchase_form_wrap span.card-type.unionpay{background:url(../images/unionpay.svg) no-repeat}form[id*=give-form] p.give-loading-text,form[id*=give-form] span.give-loading-text{display:none;float:left;height:16px;width:16px;margin:0;padding:0;font-style:italic;line-height:20px;font-size:16px;font-weight:400}form[id*=give-form] .give-loading-animation{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;float:right;height:16px;width:16px;line-height:1;font-size:16px;margin:0 0 0 5px;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}form[id*=give-form] .give-payment-mode-label .give-loading-text{float:left}[id*=give-form] .give-login-account-wrap{margin:0 0 15px;position:relative}[id*=give-form] .give-login-account-wrap .give-login-message{text-align:left;margin:0;padding:0}[id*=give-form] .give-login-account-wrap .give-loading-text{position:absolute;left:0;top:.25em}[id*=give-form] fieldset[id^=give-login-fields]{margin:0 0 15px}[id*=give-form] .give-new-account-link{margin:0 0 15px;padding:0}[id*=give-form] .give_login_forgot_password{float:left}.give-submit-button-wrap input.give-cancel-login,[id^=give-user-login-submit] input.give-cancel-login{margin-right:5px}.give-submit-button-wrap span.give-loading-animation,[id^=give-user-login-submit] span.give-loading-animation{margin:0 .5em 0 0;display:none}.give-submit-button-wrap .give-submit,[id^=give-user-login-submit] .give-submit{float:right}.give-user-login-fields-container:after{display:block;content:"";clear:both}#give-login-form div.give-login,#give-login-form legend,#give-register-form div.give-login,#give-register-form legend{line-height:2;margin-bottom:15px}#give-login-form label,#give-register-form label{min-width:100px;display:inline-block}div.give-form-wrap.mfp-hide{display:block!important}div.mfp-content fieldset ol,div.mfp-content fieldset p,div.mfp-content fieldset ul{margin-bottom:1.2em;line-height:1.4}div.mfp-content form[id*=give-form] .give_notices{display:block!important}.give-btn{background:#ededed;border:1px solid #ccc;color:#333;padding:8px 10px;cursor:pointer;line-height:1.2em;font-size:1em}.give-btn:hover{background:#dbdbdb}#give_profile_editor_form legend{width:auto;padding:0 5px 5px;border-bottom:0}form#give-email-access-form div.g-recaptcha,form#give-email-access-form input#give-email{margin:0 0 15px}form#give-email-access-form input#give-email{width:305px}@media (max-width:768px){[id*=give-form] div#give-sidebar-left,[id*=give-form] div.images,[id*=give-form] div.summary{width:100%;float:none}}.give-form-wrap .give-form h3.give-section-break,.give-form-wrap .give-form h4.give-section-break{margin:10px 0 0}.give-do-validate input.error{border-color:red!important}.give-button-with-loader span.give-loading-animation{display:none;position:relative;top:3px;float:left;font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:16px;width:16px;line-height:1;font-size:16px;margin:0 5px 0 0;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}.give-active span.give-loading-animation{display:inline}.give_notices{position:relative}.give_notices .notice-dismiss{position:absolute;top:50%;left:0;transform:translateY(-50%);border:none;margin:0;padding:5px;background:100% 0;color:#72777c;cursor:pointer;max-width:28px!important}.give_notices .notice-dismiss:before{background:100% 0;color:#72777c;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}.give_notices .notice-dismiss:hover{background-color:transparent}.give_notices .notice-dismiss:hover:before{color:#dc3232}.give_error,.give_success,.give_warning{position:relative;margin:15px 0;background:#f9f9f9;padding:1em 2em 1em 1.5em;border-right:4px solid;box-shadow:0 1px 1px rgba(0,0,0,.125);clear:both}.give_error>p,.give_success>p,.give_warning>p{margin:0!important;color:#333}.give_error:before,.give_success:before,.give_warning:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;font-size:16px;margin-top:-15px;right:-17px;color:#fff;width:30px;height:30px;border-radius:100%;text-align:center;line-height:30px;text-shadow:-1px 1px rgba(0,0,0,.5)}.give_error{border-color:#a00}.give_error:before{content:"\F02D";background-color:#a00}.give_success{border-color:#7ad03a}.give_success:before{background-color:#7ad03a;content:"\E601"}.give_warning{border-color:#ffba00}.give_warning:before{background-color:#ffba00;content:"\F02D"}.twentythirteen .give_forms{padding:40px 0}.twentyfourteen .tfgive{padding:12px 10px 0;max-width:474px;margin:0 auto}.twentyfourteen .tfgive .give_forms .entry-summary{padding:0!important;margin:0 0 1.618em!important}.twentyfourteen .tfgive div.give_forms.hentry.has-post-thumbnail{margin-top:0}.twentyfourteen .tfgive .give_forms .images img{margin-bottom:1em}@media screen and (min-width:673px){.twentyfourteen .tfgive{padding-left:30px;padding-right:30px}}@media screen and (min-width:1040px){.twentyfourteen .tfgive{padding-left:15px;padding-right:15px}}@media screen and (min-width:1110px){.twentyfourteen .tfgive{padding-left:30px;padding-right:30px}}@media screen and (min-width:1218px){.twentyfourteen .tfgive{margin-left:54px}.full-width .twentyfourteen .tfgive{margin-left:auto}}.twentyfifteen .t15give{padding-right:7.6923%;padding-left:7.6923%;padding-top:7.6923%;margin-bottom:7.6923%;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.15)}.twentyfifteen .t15give .page-title{margin-right:0}.twentyfifteen .t15give div.summary{padding:0}@media screen and (min-width:38.75em){.twentyfifteen .t15give{margin-left:7.6923%;margin-right:7.6923%;margin-top:8.3333%}}@media screen and (min-width:59.6875em){.twentyfifteen .t15give{margin-right:8.3333%;margin-left:8.3333%;padding:10%}.single-product .twentyfifteen .entry-summary{padding:0!important}}.avada-row>div.give-wrap #content{width:100%}.give-goal-progress{margin-bottom:20px;clear:both}.give-goal-progress .income{font-size:46px;line-height:48px;letter-spacing:-1px;color:#333}.give-goal-progress .raised{margin-bottom:15px}.give-progress-bar{height:20px;position:relative;background:#eee;border-radius:25px;overflow:hidden}.give-progress-bar>span{display:block;height:100%;border-top-left-radius:8px;border-bottom-left-radius:8px;border-top-right-radius:20px;border-bottom-right-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}table.give-table{color:#666;font-size:14px;text-shadow:-1px 1px 0 #fff;background:#eaebec;margin:20px 0;border:1px solid #e0e0e0;border-top:none;border-bottom:none;width:100%}table.give-table thead{font-weight:700}table.give-table thead th:first-child{text-align:right}table.give-table th{padding:21px 25px;border-top:1px solid #e8e8e8;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0;border-left:none;background:#f6f6f6;text-align:center;font-weight:700}table.give-table tbody tr{text-align:center}table.give-table tbody tr td{padding:18px;border:none;border-top:1px solid #fff;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0;background:#fff;text-align:center}table.give-table tbody tr td:first-child{text-align:right;border-right:0}table.give-table tbody tr:nth-child(2n) td{background:#fcfcfc}body.give-twentysixteen div.entry-summary{margin:0}body.give-twentysixteen button.give-btn{color:#333}body.give-twentysixteen .give-submit{color:#fff}body.give-twentysixteen fieldset#give_terms_agreement{padding-right:0}body.give-twentyseventeen.colors-dark div#give_purchase_form_wrap span.give-final-total-amount,body.give-twentyseventeen.colors-dark div.give-total-wrap input.give-text-input,body.give-twentyseventeen.colors-dark div.give_notices p{color:#000}body.give-twentyseventeen.colors-dark form[id*=give] fieldset{background-color:transparent}html[class*=avia] body#top form[id*=give-form] input.give-amount-top{width:unset;border:1px solid #ccc;border-right:none}html[class*=avia] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{right:7px}html[class*=avia] body#top [id*=give-form].give-fl-form div.give-fl-is-active input{padding:8px 6px 0}.give-donation-history .give-table{table-layout:auto}.give-donation-history .give-table .give-security-column{float:right}.give-donation-history .give-table .give-security-column.give-security-description-wrap{width:75%;padding:16px 13px;font-size:12px;font-style:italic}.give-donation-history .give-table .give-security-column.give-security-button-wrap{width:25%;padding:25px 5px}.give-donation-history .give-table .give-security-column.give-security-button-wrap span{display:none;padding:0 20px}.give-donation-history .give-table .title-for-mobile{display:none}@media screen and (max-width:480px){#give_user_history thead{display:none}#give_user_history tbody{border-top:1px solid #e0e0e0}#give_user_history tr{padding:.5rem 0;background:#fff}#give_user_history tr:nth-child(2n){background-color:#fafafa}#give_user_history td{border:none;padding-top:0;padding-bottom:0;background-color:transparent}#give_user_history td,#give_user_history tr{display:block;border-right:none;text-align:right}#give_user_history .title-for-mobile{display:inline-block;font-weight:700;min-width:6em}}.give-modal{top:0;right:0;width:100%;height:100%;z-index:2148482499;position:fixed;overflow:hidden;outline:none!important;-webkit-backface-visibility:hidden;-webkit-overflow-scrolling:touch;-webkit-transform:translateZ(0)}.give-modal form[id*=give-form],.give-modal form[id*=give-form] .give-submit{margin-bottom:0}.give-modal form[id*=give-form] .give-payment-mode-label{margin-top:0;padding-top:0}@media (max-width:580px){.give-modal form[id*=give-form] .give-input{font-size:16px}}.give-modal .mfp-content{box-sizing:border-box;position:relative;background:#fff;padding:20px;width:auto;max-width:650px;margin:40px auto;z-index:2148482599}.give-modal .mfp-content [id*=give-form] #give-payment-mode-select,.give-modal .mfp-content [id*=give-form] #give_purchase_form_wrap,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-amount,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-levels-wrap{display:block}.give-modal .mfp-content .mfp-close:hover{background-color:transparent}.give-modal form.give-form button.mfp-close{position:absolute;display:block!important}.give-modal .mfp-container:after{display:none}.give-modal .mfp-content{vertical-align:middle;transform:translateY(-100px)}.give-modal.mfp-bg,.give-modal .mfp-content{opacity:0;transition:all .2s}.give-modal.mfp-ready .mfp-content{opacity:1;transform:translateY(0)}.give-modal.mfp-ready.mfp-bg{opacity:.8}.give-modal.mfp-removing .mfp-content{transform:translateY(-50px);opacity:0}.give-modal.mfp-removing.mfp-bg{opacity:0}.give-donation-grid-item-form{position:relative;margin:0 auto;max-width:600px;background-color:#fff;padding:1rem 1.5rem;height:85vh;overflow-y:auto}.give-donation-grid-item-form #give_purchase_form_wrap{display:block!important}.give-donation-grid-item-form .give-btn-modal,.give-donation-grid-item-form .give-btn-reveal{display:none!important}.give-donation-grid-item-form .give-form-title{display:none}.modal-fade-slide.give-modal .mfp-content{padding:0;max-width:100%}.modal-fade-slide .give-modal--slide{opacity:0;transition:all .2s ease-out;transform:translateY(-20px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-ready .give-modal--slide{opacity:1;transform:translateY(0) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-removing .give-modal--slide{opacity:0;transform:translateY(-10px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-bg{opacity:0;transition:opacity .3s ease-out}.modal-fade-slide.mfp-ready.mfp-bg{opacity:.8}.modal-fade-slide.mfp-removing.mfp-bg{opacity:0}.mfp-close:hover{background-color:transparent}.mfp-content .give-display-button-only .give-form-title{display:none}.mfp-content .give-display-button-only>:not(form),.mfp-content .give-display-button-only form>:not(.give-btn-modal){display:block}.give-donor{border:1px solid #e5e5e5;background:#fff;font-size:1em;margin-bottom:20px;padding:20px;position:relative;transition:all .2s ease-out;width:100%}.give-donor__header{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.give-donor__image{border:1px solid #e5e5e5;background:#fff;text-align:center;-ms-flex-preferred-size:60px;flex-basis:60px;-ms-flex-negative:0;flex-shrink:0;line-height:60px;height:60px;margin-left:10px;overflow:hidden;border-radius:50%}.give-donor__image img{border-radius:50%;display:block;height:60px;-o-object-fit:cover;object-fit:cover;width:100%}.give-donor__details{-ms-flex-positive:1;flex-grow:1;overflow:hidden}.give-donor__name{font-size:1em;font-weight:400;color:#333;line-height:1.3;margin:0}.give-donor__timestamp{color:#333;display:block;font-size:75%}.give-donor__content{color:#333;margin-top:10px;position:relative}.give-donor__content p{font-size:1em;margin:0 0 20px}.give-donor-wall-modal p:last-child,.give-donor__content p:last-child{margin-bottom:0}.give-wrap .give-grid{max-width:30rem}.give-wrap .give-grid__item{margin-bottom:1.5rem}.give-wrap .give-wrap:before{display:block;content:"";clear:both}@media (min-width:30rem){.give-wrap .give-grid{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid,.give-wrap .give-grid__item{display:-ms-flexbox;display:flex}.give-wrap .give-grid__item{padding:0 .75rem}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2 .give-grid__item,.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:50%}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:33.33333%}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4 .give-grid__item{width:25%}}@media (min-width:30rem){.give-wrap .give-grid__item .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}@supports (display:grid){@media (min-width:30rem){.give-wrap .give-grid{display:grid;grid-template-columns:1fr;grid-gap:1.5rem;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid__item{display:block;padding:0;width:auto!important}.give-wrap .give-grid--best-fit{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2,.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(2,1fr)}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(3,1fr)}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4{grid-template-columns:repeat(4,1fr)}}@media (min-width:30rem){.give-wrap .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}}.give-wrap .give-card{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);color:inherit;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;width:100%;text-decoration:none;top:0;transition:all .1s ease-out}.give-wrap .give-card:active,.give-wrap .give-card:focus,.give-wrap .give-card:hover,.give-wrap .give-card:visited{border-color:#ccc;box-shadow:0 4px 12px rgba(0,0,0,.16);top:-4px}.give-wrap .give-card__media img{border-radius:0;box-shadow:none;display:block;height:auto;margin:0;-o-object-fit:cover;object-fit:cover;-ms-flex-order:1;order:1;width:100%}.give-wrap .give-card__body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-order:2;order:2;padding:1.5rem}.give-wrap .give-card__body>:last-child{margin-bottom:0}.give-wrap .give-card__title{line-height:1.3;margin:0 0 .75rem;padding:0}.give-wrap .give-card__text{margin:0 0 1.5rem;padding:0}.give-wrap .give-card__progress{margin-top:auto;width:100%}.give-wrap .give-card__progress .raised,.give-wrap .give-card__progress>:last-child{margin-bottom:0}.give-wrap .give-card__progress .income{font-size:2em}.give-wrap .give-page-numbers{font-size:1.25em}#give-receipt .timeline-item{background:#fff}@keyframes b{0%{background-position:100% 0}to{background-position:520px 0}}#give-receipt .placeholder-container-animation{max-width:650px;margin:0 auto}#give-receipt .animated-background{animation-duration:.85s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:b;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(-90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}#give-receipt .container{margin:0 auto;width:650px;background-color:#eee;border:1px solid #eee}#give-receipt .layer{display:-ms-flexbox;display:flex}#give-receipt .layer.h1{height:28px}#give-receipt .layer.h2{height:22px}#give-receipt .layer.inline-radios{height:12px}#give-receipt .layer.label{height:8px}#give-receipt .layer-item.opaque{background:#fff}#give-receipt .layer-gap{background-color:#fff}#give-receipt .layer-gap.large{height:40px}#give-receipt .layer-gap.medium{height:20px}#give-receipt .layer-gap.small{height:10px}#give-receipt .layer-1 .layer-item:nth-child(odd){width:45%}#give-receipt .layer-1 .layer-item:nth-child(2n){width:55%}#give-receipt .layer-4 .layer-item:first-child{width:30%}#give-receipt .layer-4 .layer-item:nth-child(2){width:10%}#give-receipt .layer-4 .layer-item:nth-child(3){width:20%}#give-receipt .layer-4 .layer-item:nth-child(4){width:30%}#give-receipt .layer-4 .layer-item:nth-child(5){width:10%}#give-receipt .layer-5 .layer-item:first-child{width:40%}#give-receipt .layer-5 .layer-item:nth-child(2){width:5%}#give-receipt .layer-5 .layer-item:nth-child(3){width:15%}#give-receipt .layer-5 .layer-item:nth-child(4){width:40%}#give-receipt .layer-6 .layer-item:nth-child(odd){width:30%}#give-receipt .layer-6 .layer-item:nth-child(2n){width:70%}#give-receipt .layer-8 .layer-item:first-child{width:40%}#give-receipt .layer-8 .layer-item:nth-child(2){width:20%}#give-receipt .layer-8 .layer-item:nth-child(3){width:40%}.give-grid-ie-utility{margin:0 -12px}@supports (display:grid){.give-grid-ie-utility{margin:0}}
15
  * @author: Paul Ryley (http://geminilabs.io)
16
  * @url: https://geminilabs.github.io/float-labels.js
17
  * @license: MIT
18
+ */[id*=give-form].give-fl-form .give-fl-wrap{position:relative;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[id*=give-form].give-fl-form input.give-fl-input,[id*=give-form].give-fl-form select.give-fl-select,[id*=give-form].give-fl-form textarea.give-fl-textarea{width:100%;outline:0;font-size:16px;line-height:normal;border-radius:0;border:1px solid #ccc;background-color:inherit;box-sizing:border-box;transition:all .2s ease-in-out;margin-bottom:0}[id*=give-form].give-fl-form input.give-fl-input:-moz-placeholder,[id*=give-form].give-fl-form input.give-fl-input::-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-moz-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-moz-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-moz-placeholder{color:#757575}[id*=give-form].give-fl-form input.give-fl-input:-ms-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select:-ms-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea:-ms-input-placeholder{color:#757575}[id*=give-form].give-fl-form input.give-fl-input::-webkit-input-placeholder,[id*=give-form].give-fl-form select.give-fl-select::-webkit-input-placeholder,[id*=give-form].give-fl-form textarea.give-fl-textarea::-webkit-input-placeholder{color:#757575}[id*=give-form].give-fl-form select.give-fl-select{position:relative;color:#757575;cursor:pointer;-webkit-appearance:none;-moz-appearance:none}[id*=give-form].give-fl-form .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form .give-fl-is-active textarea.give-fl-textarea{color:#333;background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form .give-fl-has-focus input.give-fl-input,[id*=give-form].give-fl-form .give-fl-has-focus select.give-fl-select,[id*=give-form].give-fl-form .give-fl-has-focus textarea.give-fl-textarea{background-color:inherit;border-color:#ccc}[id*=give-form].give-fl-form label.give-fl-label{opacity:0;visibility:hidden;display:block;position:absolute;top:-12px;right:0;font-size:12px;font-weight:700;line-height:1;color:#757575;border-radius-top-right:0;transition:all .2s ease-in-out;z-index:1}[id*=give-form].give-fl-form .give-fl-is-active label.give-fl-label{opacity:1;visibility:visible}[id*=give-form].give-fl-form .give-fl-has-focus label.give-fl-label{color:#1976d2}[id*=give-form].give-fl-form .give-fl-is-required:before{opacity:1;content:"*";display:block;position:absolute;top:1px;left:18px;font-size:16px;line-height:1.75;color:#d32f2f;transition:all .2s ease-in-out;padding:6px 0 0;z-index:1}[id*=give-form].give-fl-form .give-fl-is-required.give-fl-is-active:before{opacity:0}[id*=give-form].give-fl-form.give-fl-style-1 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 select.give-fl-select{height:44px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active textarea.give-fl-textarea{padding:6px 12px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label{top:1px;right:10px;background-color:transparent;padding:12px 3px}[id*=give-form].give-fl-form.give-fl-style-1 label.give-fl-label:before{content:"";display:block;position:absolute;top:19px;right:0;left:0;height:1px;background-color:inherit;z-index:-1}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label{top:-9px;padding:3px}[id*=give-form].give-fl-form.give-fl-style-1 .give-fl-is-active label.give-fl-label:before{top:9px}[id*=give-form].give-fl-form.give-fl-style-2 input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 textarea.give-fl-textarea{padding:12px}[id*=give-form].give-fl-form.give-fl-style-2 select.give-fl-select{height:56px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-active textarea.give-fl-textarea{padding:18px 12px 6px}[id*=give-form].give-fl-form.give-fl-style-2 label.give-fl-label{top:1px;right:10px;padding:6px 3px 3px}[id*=give-form].give-fl-form.give-fl-style-2 .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form .give-fl-wrap-select:after{content:"";position:absolute;display:block;top:1px;left:6px;height:calc(100% - 2px);width:15px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'><path fill='#757575' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/></svg>") no-repeat;background-position:0 50%;background-size:7px 14px;z-index:2}.mfp-bg{z-index:1000001;overflow:hidden;background:#0b0b0b;opacity:.8}.mfp-bg,.mfp-wrap{top:0;right:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1000002;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;right:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:right;z-index:1000004}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;right:8px;left:8px;z-index:1000003}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1000005;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;left:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 10px 18px 0;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;left:-6px;text-align:left;padding-left:6px;width:100%}.mfp-counter{position:absolute;top:0;left:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;right:0;top:0;margin-top:35px;margin-right:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{right:0}.mfp-arrow-left:after{border-left:17px solid #fff;margin-right:31px}.mfp-arrow-left:before{margin-right:25px;border-left:27px solid #3f3f3f}.mfp-arrow-right{left:0}.mfp-arrow-right:after{border-right:17px solid #fff;margin-right:39px}.mfp-arrow-right:before{border-right:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;right:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;right:0;top:40px;bottom:40px;display:block;left:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;right:0;width:100%;cursor:auto}.mfp-title{text-align:right;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-left:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-right:0;padding-left:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-right:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{left:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;left:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{transform:scale(.75)}.mfp-arrow-left{transform-origin:100%}.mfp-arrow-right{transform-origin:0}.mfp-container{padding-right:6px;padding-left:6px}}@font-face{font-family:give-icomoon;src:url(../fonts/icomoon.eot);src:url(../fonts/icomoon.eot#iefix) format("embedded-opentype"),url(../fonts/icomoon.woff) format("woff"),url(../images/icomoon.svg#icomoon) format("svg");font-weight:400;font-style:normal}[class*=" give-icon-"],[class^=give-icon-]{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-icon-lamp:before{content:"\E603"}.give-icon-heart:before{content:"\E604"}.give-icon-question:before{content:"\E602"}.give-icon-info:before{content:"\E601"}.give-icon-new-tab:before{content:"\EA7E"}.give-icon-alert:before{content:"\F02D"}.give-icon-help:before{content:"\E606"}.give-icon-spinner:before{content:"\E605"}.give-button-with-loader span.give-loading-animation:before,.give-icon-spinner2:before,form[id*=give-form] .give-loading-animation:before{content:"\E607"}.give-icon-plus:before{content:"\E040"}.give-icon-minus:before{content:"\E041"}.give-icon-locked:before,[id*=give_secure_site_wrapper] span.padlock:before{content:"\E600"}.dashicons-give:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\E800"}.fa-spin,.give-button-with-loader span.give-loading-animation,form[id*=give-form] .give-loading-animation{animation:a 1s infinite linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}body.give_receipt_page{background-color:#fff;color:#141412;margin:0;font-family:Helvetica,sans-serif;font-size:12px}body.give_receipt_page #give_receipt_wrapper{width:660px;margin:0 auto;padding:50px 0}body.give_receipt_page table{display:table;width:100%;border-bottom:1px solid #ededed;border-collapse:collapse;border-spacing:0;font-size:14px;line-height:2;margin:0 0 20px}body.give_receipt_page td,body.give_receipt_page th{display:table-cell;text-align:right;border-top:1px solid #ededed;padding:6px 0 6px 10px;font-weight:400}body.give_receipt_page th{font-weight:700;text-transform:uppercase}body.give_receipt_page h3{font-size:22px;margin:40px 0 5px;clear:both;display:block;font-weight:700}table#give_donation_receipt,table#give_donation_receipt_products{width:100%}table#give_donation_receipt td,table#give_donation_receipt th{text-align:right}table#give_donation_receipt .give-receipt-thead-text{font-size:18px;text-align:center;display:block}table#give_donation_receipt .give-receipt-thead-text>span{font-size:16px}table#give_donation_receipt li{margin:0 10px 8px 0}table#give_donation_receipt ul{margin:0;padding:0;list-style:none}table#give_donation_receipt .give_receipt_payment_status.failed,table#give_donation_receipt .give_receipt_payment_status.pending,table#give_donation_receipt .give_receipt_payment_status.revoked{color:#f73f2e}table#give_donation_receipt span.donation-level-text-wrap{font-style:italic;display:block}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give textarea.give-fl-textarea{line-height:inherit;padding:12px;background-color:#fff}[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=email],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=number],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=password],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=search],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=tel],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=text],[id*=give-form].give-fl-form.give-fl-style-give input.give-fl-input[type=url]{height:auto;min-height:50px}[id*=give-form].give-fl-form.give-fl-style-give select.give-fl-select{line-height:inherit}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active input.give-fl-input,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active select.give-fl-select,[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-active textarea.give-fl-textarea{padding:20px 12px 4px;transition:padding .2s ease-in-out,border .2s ease-in-out}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{top:1px;right:13px;left:0;padding:6px 0 0}[id*=give-form].give-fl-form.give-fl-style-give .give-fl-is-required:before{padding-top:12px}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-required-indicator{display:none}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip{position:absolute;top:0;width:100%;height:100%;margin:0;z-index:1}[id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label .give-tooltip:before{content:unset}.give-clearfix{*zoom:1}.give-clearfix:after,.give-clearfix:before{content:" ";display:table}.give-clearfix:after{clear:both}[id*=give-form] .give-hidden{display:none}[id*=give-form] fieldset{background-color:transparent;border:none;padding:0;margin:0;border:0}[id*=give-form] .give-form-title{padding:0;margin:0 0 15px}[id*=give-form] div#give-sidebar-left{width:38%;float:right}[id*=give-form] div.images{margin:0 0 15px}[id*=give-form] div.images img{display:block;width:100%;height:auto;box-shadow:none}[id*=give-form] .give-custom-amount-text{clear:both}[id*=give-form] div.summary{width:58%;float:left}[id*=give-form] div.summary.give-full-width{width:100%;float:none}[id*=give-form] .give_form select.give-select.required{color:#000}[id*=give-form] div.give-form-content-wrap{margin:0 0 20px}[id*=give-form] div.give-form-content-wrap.give_post_form-content{margin:20px 0 0}[id*=give-form].give-display-modal form .give_notices{display:none}[id*=give-form].give-display-modal .give-btn,[id*=give-form].give-display-reveal .give-btn{margin:0 0 15px}[id*=give-form].give-display-modal #give-payment-mode-select,[id*=give-form].give-display-modal #give_purchase_form_wrap,[id*=give-form].give-display-reveal #give-payment-mode-select,[id*=give-form].give-display-reveal #give_purchase_form_wrap{display:none}[id*=give-form] .cc-address{margin-bottom:15px}.single-give_forms.et_right_sidebar #main-content .container:before{display:none}.single-give_forms .give_forms{*zoom:1}.single-give_forms .give_forms:after,.single-give_forms .give_forms:before{content:" ";display:table}.single-give_forms .give_forms:after{clear:both}#give-purchase-gravatars .give-gravatars-title{margin:0 0 15px}#give-purchase-gravatars .give-purchase-gravatars-list{list-style:none;margin:0;padding:0}#give-purchase-gravatars .give-purchase-gravatars-list li{list-style-type:none;display:inline-block;margin:0 0 0 5px;padding:0}#give-recurring-form,form.give-form,form[id*=give-form]{margin:0 0 25px;padding:0}#give-recurring-form .give-hidden,form.give-form .give-hidden,form[id*=give-form] .give-hidden{display:none}#give-recurring-form .give-title-prefix-wrap .form-row-first,#give-recurring-form .give-title-prefix-wrap .form-row-last,form.give-form .give-title-prefix-wrap .form-row-first,form.give-form .give-title-prefix-wrap .form-row-last,form[id*=give-form] .give-title-prefix-wrap .form-row-first,form[id*=give-form] .give-title-prefix-wrap .form-row-last{float:right;width:40%}#give-recurring-form .give-title-prefix-wrap .form-row-title,form.give-form .give-title-prefix-wrap .form-row-title,form[id*=give-form] .give-title-prefix-wrap .form-row-title{float:right;width:15%}#give-recurring-form .give-tooltip,form.give-form .give-tooltip,form[id*=give-form] .give-tooltip{margin:0 3px;padding:0;font-size:14px;transition:all .2s linear;color:rgba(51,51,51,.5)}#give-recurring-form .give-tooltip:hover,form.give-form .give-tooltip:hover,form[id*=give-form] .give-tooltip:hover{color:#333}#give-recurring-form h3.give-section-break,#give-recurring-form h4.give-section-break,#give-recurring-form legend,form.give-form h3.give-section-break,form.give-form h4.give-section-break,form.give-form legend,form[id*=give-form] h3.give-section-break,form[id*=give-form] h4.give-section-break,form[id*=give-form] legend{background-color:transparent;font-size:1.15em;font-weight:700;margin:10px 0 15px;padding:0 0 5px;border-bottom:1px solid rgba(0,0,0,.1);width:100%}#give-recurring-form h3.give-section-break span.sub-text,#give-recurring-form h4.give-section-break span.sub-text,#give-recurring-form legend span.sub-text,form.give-form h3.give-section-break span.sub-text,form.give-form h4.give-section-break span.sub-text,form.give-form legend span.sub-text,form[id*=give-form] h3.give-section-break span.sub-text,form[id*=give-form] h4.give-section-break span.sub-text,form[id*=give-form] legend span.sub-text{font-style:italic;font-weight:400}#give-recurring-form .form-row,form.give-form .form-row,form[id*=give-form] .form-row{*zoom:1;box-sizing:border-box;margin:0 0 15px;overflow:visible;padding:0}#give-recurring-form .form-row:after,#give-recurring-form .form-row:before,form.give-form .form-row:after,form.give-form .form-row:before,form[id*=give-form] .form-row:after,form[id*=give-form] .form-row:before{content:" ";display:table}#give-recurring-form .form-row:after,form.give-form .form-row:after,form[id*=give-form] .form-row:after{clear:both}#give-recurring-form .form-row:last-child,form.give-form .form-row:last-child,form[id*=give-form] .form-row:last-child{margin-bottom:15px}#give-recurring-form .form-row label,form.give-form .form-row label,form[id*=give-form] .form-row label{display:block;margin:0 0 5px;position:relative;line-height:1.7}#give-recurring-form .form-row label.checkbox,form.give-form .form-row label.checkbox,form[id*=give-form] .form-row label.checkbox{display:inline}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row select,#give-recurring-form .form-row textarea,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row select,form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row select,form[id*=give-form] .form-row textarea{box-sizing:border-box;width:100%;border-radius:0;outline:none;color:#333;background-color:#fdfdfd;border:1px solid #ccc;margin:0;padding:.5em}#give-recurring-form .form-row input[type=email]:focus,#give-recurring-form .form-row input[type=password]:focus,#give-recurring-form .form-row input[type=tel]:focus,#give-recurring-form .form-row input[type=text]:focus,#give-recurring-form .form-row input[type=url]:focus,#give-recurring-form .form-row select:focus,#give-recurring-form .form-row textarea:focus,form.give-form .form-row input[type=email]:focus,form.give-form .form-row input[type=password]:focus,form.give-form .form-row input[type=tel]:focus,form.give-form .form-row input[type=text]:focus,form.give-form .form-row input[type=url]:focus,form.give-form .form-row select:focus,form.give-form .form-row textarea:focus,form[id*=give-form] .form-row input[type=email]:focus,form[id*=give-form] .form-row input[type=password]:focus,form[id*=give-form] .form-row input[type=tel]:focus,form[id*=give-form] .form-row input[type=text]:focus,form[id*=give-form] .form-row input[type=url]:focus,form[id*=give-form] .form-row select:focus,form[id*=give-form] .form-row textarea:focus{background-color:#fff}#give-recurring-form .form-row input[type=email].required,#give-recurring-form .form-row input[type=password].required,#give-recurring-form .form-row input[type=tel].required,#give-recurring-form .form-row input[type=text].required,#give-recurring-form .form-row input[type=url].required,#give-recurring-form .form-row select.required,#give-recurring-form .form-row textarea.required,form.give-form .form-row input[type=email].required,form.give-form .form-row input[type=password].required,form.give-form .form-row input[type=tel].required,form.give-form .form-row input[type=text].required,form.give-form .form-row input[type=url].required,form.give-form .form-row select.required,form.give-form .form-row textarea.required,form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row select.required,form[id*=give-form] .form-row textarea.required{color:#333}#give-recurring-form .form-row-first,#give-recurring-form .form-row-title,form.give-form .form-row-first,form.give-form .form-row-title,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-title{margin-left:2.5%}#give-recurring-form .form-row-first,#give-recurring-form .form-row-last,form.give-form .form-row-first,form.give-form .form-row-last,form[id*=give-form] .form-row-first,form[id*=give-form] .form-row-last{float:right;width:48.5%}#give-recurring-form .form-row-last,form.give-form .form-row-last,form[id*=give-form] .form-row-last{float:left}#give-recurring-form .form-row-wide,form.give-form .form-row-wide,form[id*=give-form] .form-row-wide{*zoom:1;clear:both}#give-recurring-form .form-row-wide:after,#give-recurring-form .form-row-wide:before,form.give-form .form-row-wide:after,form.give-form .form-row-wide:before,form[id*=give-form] .form-row-wide:after,form[id*=give-form] .form-row-wide:before{content:" ";display:table}#give-recurring-form .form-row-wide:after,form.give-form .form-row-wide:after,form[id*=give-form] .form-row-wide:after{clear:both}#give-recurring-form .form-row-two-thirds,form.give-form .form-row-two-thirds,form[id*=give-form] .form-row-two-thirds{float:right;width:65.75%}#give-recurring-form .form-row-two-thirds.form-row-first,form.give-form .form-row-two-thirds.form-row-first,form[id*=give-form] .form-row-two-thirds.form-row-first{margin-right:0}#give-recurring-form .form-row-one-third,form.give-form .form-row-one-third,form[id*=give-form] .form-row-one-third{float:right;width:31.25%;margin-right:3%}#give-recurring-form .form-row-one-third.form-row-first,form.give-form .form-row-one-third.form-row-first,form[id*=give-form] .form-row-one-third.form-row-first{margin-right:0}@media (max-width:480px){#give-recurring-form .form-row-responsive,form.give-form .form-row-responsive,form[id*=give-form] .form-row-responsive{margin-right:0;margin-left:0;width:100%}}#give-recurring-form .give-error,#give-recurring-form .give-required-indicator,form.give-form .give-error,form.give-form .give-required-indicator,form[id*=give-form] .give-error,form[id*=give-form] .give-required-indicator{color:#a00}#give-recurring-form .card-expiration>select,form.give-form .card-expiration>select,form[id*=give-form] .card-expiration>select{width:44%;margin:0}#give-recurring-form .card-expiration>span.exp-divider,form.give-form .card-expiration>span.exp-divider,form[id*=give-form] .card-expiration>span.exp-divider{display:inline;text-align:center}#give-recurring-form .card-expiration select.card-expiry-year,form.give-form .card-expiration select.card-expiry-year,form[id*=give-form] .card-expiration select.card-expiry-year{float:left}#give-recurring-form .give-disabled,#give-recurring-form [disabled],form.give-form .give-disabled,form.give-form [disabled],form[id*=give-form] .give-disabled,form[id*=give-form] [disabled]{cursor:not-allowed}form[id*=give-form] .give-donation-amount{margin:0 0 15px}form[id*=give-form] .give-donation-amount .give-currency-symbol{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:right}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-before{border-right:1px solid #ccc;border-left:none}form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-after{border-right:none;border-left:1px solid #ccc}form[id*=give-form] .give-donation-amount #give-amount,form[id*=give-form] .give-donation-amount #give-amount-text{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;min-width:125px;float:right}form[id*=give-form] .give-donation-amount #give-amount-text.invalid-amount,form[id*=give-form] .give-donation-amount #give-amount.invalid-amount{border:1px solid red}form[id*=give-form] .give-donation-amount input.give-amount-top{width:125px}form[id*=give-form] .give-donation-amount span.give-final-total-amount{border:1px solid #ccc;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;cursor:not-allowed;background:#fff;float:right}form[id*=give-form] #give_terms_agreement legend{display:none}form[id*=give-form] #give_terms_agreement label{display:inline-block}form[id*=give-form] #give-final-total-wrap{margin:10px 0 25px;padding:0;*zoom:1}form[id*=give-form] #give-final-total-wrap:after,form[id*=give-form] #give-final-total-wrap:before{content:" ";display:table}form[id*=give-form] #give-final-total-wrap:after{clear:both}form[id*=give-form] #give-final-total-wrap .give-donation-total-label{background-color:#f2f2f2;border-top:1px solid #ccc;border-bottom:1px solid #ccc;color:#333;margin:0;padding:0 12px;height:35px;line-height:35px;font-size:18px;box-sizing:border-box;float:right;border:1px solid #ccc}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-donation-total-label{display:block;float:none}}form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;background:#fff;border-radius:0;height:35px;line-height:35px;padding:0 12px;margin:0;font-size:18px;box-sizing:border-box;border-right:none;float:right}@media (max-width:480px){form[id*=give-form] #give-final-total-wrap .give-final-total-amount{border:1px solid #ccc;border-top:0;display:block;float:none}}.give-display-button-only>:not(form),.give-display-button-only form[id*=give-form]>:not(.give-btn-modal){display:none}form[id*=give-form] input[type=radio]{margin:0 0 0 .5em}form[id*=give-form] #give-donation-level-radio-list{margin:0 0 15px;padding:0;list-style:none;clear:both}form[id*=give-form] #give-donation-level-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}form[id*=give-form] #give-donation-level-radio-list>li label{cursor:pointer;display:inline-block;margin:0}form[id*=give-form] #give-donation-level-radio-list>li input[type=radio]{margin:0 0 0 .5em;outline:none;width:auto}form[id*=give-form] #give-gateway-radio-list{*zoom:1;margin:0 0 15px;padding:0;list-style:none}form[id*=give-form] #give-gateway-radio-list:after,form[id*=give-form] #give-gateway-radio-list:before{content:" ";display:table}form[id*=give-form] #give-gateway-radio-list:after{clear:both}form[id*=give-form] #give-gateway-radio-list>li{list-style-type:none;list-style-image:none;margin:0;padding:0}@media (min-width:480px){form[id*=give-form] #give-gateway-radio-list>li{display:inline-block;margin-left:15px;margin-right:0}}form[id*=give-form] #give-gateway-radio-list>li label.give-gateway-option{cursor:pointer;display:inline;margin:0}form[id*=give-form] #give-gateway-radio-list>li input[type=radio]{margin:0 0 0 .25em;outline:none;width:auto;display:inline}form[id*=give-form] input[type=checkbox]{margin:0 0 0 .25em}form[id*=give-form] select.give-select-level{outline:none;border-radius:0;min-width:155px;border:1px solid #ccc;margin:0 0 15px;display:block;clear:both;color:#333;background-color:#fdfdfd;padding:.5em;max-width:100%}#give-donation-level-button-wrap{*zoom:1;margin:0 0 15px;padding:0;clear:both;list-style:none}#give-donation-level-button-wrap:after,#give-donation-level-button-wrap:before{content:" ";display:table}#give-donation-level-button-wrap:after{clear:both}#give-donation-level-button-wrap>li{list-style-type:none;list-style-image:none;float:right;margin:0 0 5px 5px}.give_terms_links{float:left}[id*=give_secure_site_wrapper]{padding:4px 0 15px 4px;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:20px}[id*=give_secure_site_wrapper] span.padlock :before{display:inline-block}#give_purchase_form_wrap input.give-input.card-cvc.valid,#give_purchase_form_wrap input.give-input.card-expiry.valid,#give_purchase_form_wrap input.give-input.card-number.valid{background-image:url(../images/tick.png);background-repeat:no-repeat;background-position:left 10px top 50%;background-size:16px}#give_purchase_form_wrap input.give-input.card-cvc.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-expiry.valid.fl-input:not(.card-cvc):not(.card-expiry),#give_purchase_form_wrap input.give-input.card-number.valid.fl-input:not(.card-cvc):not(.card-expiry){background-position:left 55px top 50%}#give_purchase_form_wrap span.card-type{position:absolute;top:-2px;left:0;width:37px;height:26px;background-size:37px 26px!important}#give_purchase_form_wrap .fl-wrap span.card-type{top:calc(.5em + 6px);left:11px}#give_purchase_form_wrap span.card-type.off{display:none}#give_purchase_form_wrap span.card-type.visa{background:url(../images/visa.svg) no-repeat}#give_purchase_form_wrap span.card-type.mastercard{background:url(../images/mastercard.svg) no-repeat}#give_purchase_form_wrap span.card-type.discover{background:url(../images/discover.svg) no-repeat}#give_purchase_form_wrap span.card-type.amex{background:url(../images/amex.svg) no-repeat}#give_purchase_form_wrap span.card-type.maestro{background:url(../images/maestro.svg) no-repeat}#give_purchase_form_wrap span.card-type.dinersclub{background:url(../images/diners-club.svg) no-repeat}#give_purchase_form_wrap span.card-type.jcb{background:url(../images/jcb.svg) no-repeat}#give_purchase_form_wrap span.card-type.dankort{background:url(../images/dankort.png) no-repeat}#give_purchase_form_wrap span.card-type.unionpay{background:url(../images/unionpay.svg) no-repeat}form[id*=give-form] p.give-loading-text,form[id*=give-form] span.give-loading-text{display:none;float:left;height:16px;width:16px;margin:0;padding:0;font-style:italic;line-height:20px;font-size:16px;font-weight:400}form[id*=give-form] .give-loading-animation{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;float:right;height:16px;width:16px;line-height:1;font-size:16px;margin:0 0 0 5px;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}form[id*=give-form] .give-payment-mode-label .give-loading-text{float:left}[id*=give-form] .give-login-account-wrap{margin:0 0 15px;position:relative}[id*=give-form] .give-login-account-wrap .give-login-message{text-align:left;margin:0;padding:0}[id*=give-form] .give-login-account-wrap .give-loading-text{position:absolute;left:0;top:.25em}[id*=give-form] fieldset[id^=give-login-fields]{margin:0 0 15px}[id*=give-form] .give-new-account-link{margin:0 0 15px;padding:0}[id*=give-form] .give_login_forgot_password{float:left}.give-submit-button-wrap input.give-cancel-login,[id^=give-user-login-submit] input.give-cancel-login{margin-right:5px}.give-submit-button-wrap span.give-loading-animation,[id^=give-user-login-submit] span.give-loading-animation{margin:0 .5em 0 0;display:none}.give-submit-button-wrap .give-submit,[id^=give-user-login-submit] .give-submit{float:right}.give-user-login-fields-container:after{display:block;content:"";clear:both}#give-login-form div.give-login,#give-login-form legend,#give-register-form div.give-login,#give-register-form legend{line-height:2;margin-bottom:15px}#give-login-form label,#give-register-form label{min-width:100px;display:inline-block}div.give-form-wrap.mfp-hide{display:block!important}div.mfp-content fieldset ol,div.mfp-content fieldset p,div.mfp-content fieldset ul{margin-bottom:1.2em;line-height:1.4}div.mfp-content form[id*=give-form] .give_notices{display:block!important}.give-btn{background:#ededed;border:1px solid #ccc;color:#333;padding:8px 10px;cursor:pointer;line-height:1.2em;font-size:1em}.give-btn:hover{background:#dbdbdb}#give_profile_editor_form legend{width:auto;padding:0 5px 5px;border-bottom:0}form#give-email-access-form div.g-recaptcha,form#give-email-access-form input#give-email{margin:0 0 15px}form#give-email-access-form input#give-email{width:305px}@media (max-width:768px){[id*=give-form] div#give-sidebar-left,[id*=give-form] div.images,[id*=give-form] div.summary{width:100%;float:none}}.give-form-wrap .give-form h3.give-section-break,.give-form-wrap .give-form h4.give-section-break{margin:10px 0 0}.give-do-validate input.error{border-color:red!important}.give-button-with-loader span.give-loading-animation{display:none;position:relative;top:3px;float:left;font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:16px;width:16px;line-height:1;font-size:16px;margin:0 5px 0 0;background-size:20px 20px;background-repeat:no-repeat;background-color:transparent}.give-active span.give-loading-animation{display:inline}.give_notices{position:relative}.give_notices .notice-dismiss{position:absolute;top:50%;left:0;transform:translateY(-50%);border:none;margin:0;padding:5px;background:100% 0;color:#72777c;cursor:pointer;max-width:28px!important}.give_notices .notice-dismiss:before{background:100% 0;color:#72777c;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased}.give_notices .notice-dismiss:hover{background-color:transparent}.give_notices .notice-dismiss:hover:before{color:#dc3232}.give_error,.give_success,.give_warning{position:relative;margin:15px 0;background:#f9f9f9;padding:1em 2em 1em 1.5em;border-right:4px solid;box-shadow:0 1px 1px rgba(0,0,0,.125);clear:both}.give_error>p,.give_success>p,.give_warning>p{margin:0!important;color:#333}.give_error:before,.give_success:before,.give_warning:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;font-size:16px;margin-top:-15px;right:-17px;color:#fff;width:30px;height:30px;border-radius:100%;text-align:center;line-height:30px;text-shadow:-1px 1px rgba(0,0,0,.5)}.give_error{border-color:#a00}.give_error:before{content:"\F02D";background-color:#a00}.give_success{border-color:#7ad03a}.give_success:before{background-color:#7ad03a;content:"\E601"}.give_warning{border-color:#ffba00}.give_warning:before{background-color:#ffba00;content:"\F02D"}.twentythirteen .give_forms{padding:40px 0}.twentyfourteen .tfgive{padding:12px 10px 0;max-width:474px;margin:0 auto}.twentyfourteen .tfgive .give_forms .entry-summary{padding:0!important;margin:0 0 1.618em!important}.twentyfourteen .tfgive div.give_forms.hentry.has-post-thumbnail{margin-top:0}.twentyfourteen .tfgive .give_forms .images img{margin-bottom:1em}@media screen and (min-width:673px){.twentyfourteen .tfgive{padding-left:30px;padding-right:30px}}@media screen and (min-width:1040px){.twentyfourteen .tfgive{padding-left:15px;padding-right:15px}}@media screen and (min-width:1110px){.twentyfourteen .tfgive{padding-left:30px;padding-right:30px}}@media screen and (min-width:1218px){.twentyfourteen .tfgive{margin-left:54px}.full-width .twentyfourteen .tfgive{margin-left:auto}}.twentyfifteen .t15give{padding-right:7.6923%;padding-left:7.6923%;padding-top:7.6923%;margin-bottom:7.6923%;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.15)}.twentyfifteen .t15give .page-title{margin-right:0}.twentyfifteen .t15give div.summary{padding:0}@media screen and (min-width:38.75em){.twentyfifteen .t15give{margin-left:7.6923%;margin-right:7.6923%;margin-top:8.3333%}}@media screen and (min-width:59.6875em){.twentyfifteen .t15give{margin-right:8.3333%;margin-left:8.3333%;padding:10%}.single-product .twentyfifteen .entry-summary{padding:0!important}}.avada-row>div.give-wrap #content{width:100%}.give-goal-progress{margin-bottom:20px;clear:both}.give-goal-progress .income{font-size:46px;line-height:48px;letter-spacing:-1px;color:#333}.give-goal-progress .raised{margin-bottom:15px}.give-progress-bar{height:20px;position:relative;background:#eee;border-radius:25px;overflow:hidden}.give-progress-bar>span{display:block;height:100%;border-top-left-radius:8px;border-bottom-left-radius:8px;border-top-right-radius:20px;border-bottom-right-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}table.give-table{color:#666;font-size:14px;text-shadow:-1px 1px 0 #fff;background:#eaebec;margin:20px 0;border:1px solid #e0e0e0;border-top:none;border-bottom:none;width:100%}table.give-table thead{font-weight:700}table.give-table thead th:first-child{text-align:right}table.give-table th{padding:21px 25px;border-top:1px solid #e8e8e8;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0;border-left:none;background:#f6f6f6;text-align:center;font-weight:700}table.give-table tbody tr{text-align:center}table.give-table tbody tr td{padding:18px;border:none;border-top:1px solid #fff;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0;background:#fff;text-align:center}table.give-table tbody tr td:first-child{text-align:right;border-right:0}table.give-table tbody tr:nth-child(2n) td{background:#fcfcfc}body.give-twentysixteen div.entry-summary{margin:0}body.give-twentysixteen button.give-btn{color:#333}body.give-twentysixteen .give-submit{color:#fff}body.give-twentysixteen fieldset#give_terms_agreement{padding-right:0}body.give-twentyseventeen.colors-dark div#give_purchase_form_wrap span.give-final-total-amount,body.give-twentyseventeen.colors-dark div.give-total-wrap input.give-text-input,body.give-twentyseventeen.colors-dark div.give_notices p{color:#000}body.give-twentyseventeen.colors-dark form[id*=give] fieldset{background-color:transparent}html[class*=avia] body#top form[id*=give-form] input.give-amount-top{width:unset;border:1px solid #ccc;border-right:none}html[class*=avia] body#top [id*=give-form].give-fl-form.give-fl-style-give label.give-fl-label{right:7px}html[class*=avia] body#top [id*=give-form].give-fl-form div.give-fl-is-active input{padding:8px 6px 0}.give-donation-history .give-table{table-layout:auto}.give-donation-history .give-table .give-security-column{float:right}.give-donation-history .give-table .give-security-column.give-security-description-wrap{width:75%;padding:16px 13px;font-size:12px;font-style:italic}.give-donation-history .give-table .give-security-column.give-security-button-wrap{width:25%;padding:25px 5px}.give-donation-history .give-table .give-security-column.give-security-button-wrap span{display:none;padding:0 20px}.give-donation-history .give-table .title-for-mobile{display:none}@media screen and (max-width:480px){#give_user_history thead{display:none}#give_user_history tbody{border-top:1px solid #e0e0e0}#give_user_history tr{padding:.5rem 0;background:#fff}#give_user_history tr:nth-child(2n){background-color:#fafafa}#give_user_history td{border:none;padding-top:0;padding-bottom:0;background-color:transparent}#give_user_history td,#give_user_history tr{display:block;border-right:none;text-align:right}#give_user_history .title-for-mobile{display:inline-block;font-weight:700;min-width:6em}}.give-modal{top:0;right:0;width:100%;height:100%;z-index:2148482499;position:fixed;overflow:hidden;outline:none!important;-webkit-backface-visibility:hidden;-webkit-overflow-scrolling:touch;-webkit-transform:translateZ(0)}.give-modal form[id*=give-form],.give-modal form[id*=give-form] .give-submit{margin-bottom:0}.give-modal form[id*=give-form] .give-payment-mode-label{margin-top:0;padding-top:0}@media (max-width:580px){.give-modal form[id*=give-form] .give-input{font-size:16px}}.give-modal .mfp-content{box-sizing:border-box;position:relative;background:#fff;padding:20px;width:auto;max-width:650px;margin:40px auto;z-index:2148482599}.give-modal .mfp-content [id*=give-form] #give-payment-mode-select,.give-modal .mfp-content [id*=give-form] #give_purchase_form_wrap,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-amount,.give-modal .mfp-content [id*=give-form].give-display-button-only .give-donation-levels-wrap{display:block}.give-modal .mfp-content .mfp-close:hover{background-color:transparent}.give-modal form.give-form button.mfp-close{position:absolute;display:block!important}.give-modal .mfp-container:after{display:none}.give-modal .mfp-content{vertical-align:middle;transform:translateY(-100px)}.give-modal.mfp-bg,.give-modal .mfp-content{opacity:0;transition:all .2s}.give-modal.mfp-ready .mfp-content{opacity:1;transform:translateY(0)}.give-modal.mfp-ready.mfp-bg{opacity:.8}.give-modal.mfp-removing .mfp-content{transform:translateY(-50px);opacity:0}.give-modal.mfp-removing.mfp-bg{opacity:0}.give-donation-grid-item-form{position:relative;margin:0 auto;max-width:600px;background-color:#fff;padding:1rem 1.5rem;height:85vh;overflow-y:auto}.give-donation-grid-item-form #give_purchase_form_wrap{display:block!important}.give-donation-grid-item-form .give-btn-modal,.give-donation-grid-item-form .give-btn-reveal{display:none!important}.give-donation-grid-item-form .give-form-title{display:none}.modal-fade-slide.give-modal .mfp-content{padding:0;max-width:100%}.modal-fade-slide .give-modal--slide{opacity:0;transition:all .2s ease-out;transform:translateY(-20px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-ready .give-modal--slide{opacity:1;transform:translateY(0) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-removing .give-modal--slide{opacity:0;transform:translateY(-10px) perspective(600px) rotateX(0)}.modal-fade-slide.mfp-bg{opacity:0;transition:opacity .3s ease-out}.modal-fade-slide.mfp-ready.mfp-bg{opacity:.8}.modal-fade-slide.mfp-removing.mfp-bg{opacity:0}.mfp-close:hover{background-color:transparent}.mfp-content .give-display-button-only .give-form-title{display:none}.mfp-content .give-display-button-only>:not(form),.mfp-content .give-display-button-only form>:not(.give-btn-modal){display:block}.give-donor{border:1px solid #e5e5e5;background:#fff;font-size:1em;margin-bottom:20px;padding:20px;position:relative;transition:all .2s ease-out;width:100%}.give-donor__header{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.give-donor__image{border:1px solid #e5e5e5;background:#fff;text-align:center;-ms-flex-preferred-size:60px;flex-basis:60px;-ms-flex-negative:0;flex-shrink:0;line-height:60px;height:60px;margin-left:10px;overflow:hidden;border-radius:50%}.give-donor__image img{border-radius:50%;display:block;height:60px;-o-object-fit:cover;object-fit:cover;width:100%}.give-donor__details{-ms-flex-positive:1;flex-grow:1;overflow:hidden}.give-donor__name{font-size:1em;font-weight:400;color:#333;line-height:1.3;margin:0}.give-donor__timestamp{color:#333;display:block;font-size:75%}.give-donor__content{color:#333;margin-top:10px;position:relative}.give-donor__content p{font-size:1em;margin:0 0 20px}.give-donor-wall-modal p:last-child,.give-donor__content p:last-child{margin-bottom:0}.give-wrap .give-grid{max-width:30rem}.give-wrap .give-grid__item{margin-bottom:1.5rem}.give-wrap .give-wrap:before{display:block;content:"";clear:both}@media (min-width:30rem){.give-wrap .give-grid{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid,.give-wrap .give-grid__item{display:-ms-flexbox;display:flex}.give-wrap .give-grid__item{padding:0 .75rem}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2 .give-grid__item,.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:50%}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3 .give-grid__item,.give-wrap .give-grid--4 .give-grid__item{width:33.33333%}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4 .give-grid__item{width:25%}}@media (min-width:30rem){.give-wrap .give-grid__item .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}@supports (display:grid){@media (min-width:30rem){.give-wrap .give-grid{display:grid;grid-template-columns:1fr;grid-gap:1.5rem;margin-bottom:1.5rem;max-width:100%}.give-wrap .give-grid__item{display:block;padding:0;width:auto!important}.give-wrap .give-grid--best-fit{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}@media (min-width:30rem) and (min-width:40rem){.give-wrap .give-grid--2,.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(2,1fr)}}@media (min-width:30rem) and (min-width:72rem){.give-wrap .give-grid--3,.give-wrap .give-grid--4{grid-template-columns:repeat(3,1fr)}}@media (min-width:30rem) and (min-width:90rem){.give-wrap .give-grid--4{grid-template-columns:repeat(4,1fr)}}@media (min-width:30rem){.give-wrap .give-grid__item{display:-ms-flexbox;display:flex;margin-bottom:0}}}.give-wrap .give-card{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);color:inherit;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;width:100%;text-decoration:none;top:0;transition:all .1s ease-out}.give-wrap .give-card:active,.give-wrap .give-card:focus,.give-wrap .give-card:hover,.give-wrap .give-card:visited{border-color:#ccc;box-shadow:0 4px 12px rgba(0,0,0,.16);top:-4px}.give-wrap .give-card__media img{border-radius:0;box-shadow:none;display:block;height:auto;margin:0;-o-object-fit:cover;object-fit:cover;-ms-flex-order:1;order:1;width:100%}.give-wrap .give-card__body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-order:2;order:2;padding:1.5rem}.give-wrap .give-card__body>:last-child{margin-bottom:0}.give-wrap .give-card__title{line-height:1.3;margin:0 0 .75rem;padding:0}.give-wrap .give-card__text{margin:0 0 1.5rem;padding:0}.give-wrap .give-card__progress{margin-top:auto;width:100%}.give-wrap .give-card__progress .raised,.give-wrap .give-card__progress>:last-child{margin-bottom:0}.give-wrap .give-card__progress .income{font-size:2em}.give-wrap .give-page-numbers{font-size:1.25em}#give-receipt .timeline-item{background:#fff}@keyframes b{0%{background-position:100% 0}to{background-position:520px 0}}#give-receipt .placeholder-container-animation{max-width:650px;margin:0 auto}#give-receipt .animated-background{animation-duration:.85s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:b;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(-90deg,#eee 8%,#ddd 18%,#eee 33%);background-size:520px 100%;position:relative}#give-receipt .container{margin:0 auto;width:650px;background-color:#eee;border:1px solid #eee}#give-receipt .layer{display:-ms-flexbox;display:flex}#give-receipt .layer.h1{height:28px}#give-receipt .layer.h2{height:22px}#give-receipt .layer.inline-radios{height:12px}#give-receipt .layer.label{height:8px}#give-receipt .layer-item.opaque{background:#fff}#give-receipt .layer-gap{background-color:#fff}#give-receipt .layer-gap.large{height:40px}#give-receipt .layer-gap.medium{height:20px}#give-receipt .layer-gap.small{height:10px}#give-receipt .layer-1 .layer-item:nth-child(odd){width:45%}#give-receipt .layer-1 .layer-item:nth-child(2n){width:55%}#give-receipt .layer-4 .layer-item:first-child{width:30%}#give-receipt .layer-4 .layer-item:nth-child(2){width:10%}#give-receipt .layer-4 .layer-item:nth-child(3){width:20%}#give-receipt .layer-4 .layer-item:nth-child(4){width:30%}#give-receipt .layer-4 .layer-item:nth-child(5){width:10%}#give-receipt .layer-5 .layer-item:first-child{width:40%}#give-receipt .layer-5 .layer-item:nth-child(2){width:5%}#give-receipt .layer-5 .layer-item:nth-child(3){width:15%}#give-receipt .layer-5 .layer-item:nth-child(4){width:40%}#give-receipt .layer-6 .layer-item:nth-child(odd){width:30%}#give-receipt .layer-6 .layer-item:nth-child(2n){width:70%}#give-receipt .layer-8 .layer-item:first-child{width:40%}#give-receipt .layer-8 .layer-item:nth-child(2){width:20%}#give-receipt .layer-8 .layer-item:nth-child(3){width:40%}.give-grid-ie-utility{margin:0 -12px}@supports (display:grid){.give-grid-ie-utility{margin:0}}
assets/dist/js/admin-shortcode-button.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=365)}({365:function(n,t,r){n.exports=r(366)},366:function(n,t){}});
2
  //# sourceMappingURL=admin-shortcode-button.js.map
1
+ !function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=362)}({362:function(n,t,r){n.exports=r(363)},363:function(n,t){}});
2
  //# sourceMappingURL=admin-shortcode-button.js.map
assets/dist/js/admin-shortcode-button.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///js/admin-shortcode-button.js","webpack:///webpack/bootstrap 04182ef36989b2348151"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","365","366"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,ODMMC,IACA,SAAUvB,EAAQD,EAASH,GAEjCI,EAAOD,QAAUH,EAAoB,MAK/B4B,IACA,SAAUxB,EAAQD","file":"js/admin-shortcode-button.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 365);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 365:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(366);\n\n\n/***/ }),\n\n/***/ 366:\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// js/admin-shortcode-button.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 365);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 04182ef36989b2348151"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///js/admin-shortcode-button.js","webpack:///webpack/bootstrap 49eb0aec5a1f635b6ca4"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","362","363"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,ODMMC,IACA,SAAUvB,EAAQD,EAASH,GAEjCI,EAAOD,QAAUH,EAAoB,MAK/B4B,IACA,SAAUxB,EAAQD","file":"js/admin-shortcode-button.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 362);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 362:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(363);\n\n\n/***/ }),\n\n/***/ 363:\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// js/admin-shortcode-button.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 362);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 49eb0aec5a1f635b6ca4"],"sourceRoot":""}
assets/dist/js/admin-shortcodes.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=367)}({367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o,r=n(93);jQuery(function(e){var t=e(this);window.render_continue_button_title_field=function(){var t=e(".mce-txt",".mce-give-display-style").text(),n=["- Select -","All Fields"];-1!==e.inArray(t,n)?e(".mce-give-continue-button-title").closest(".mce-container").hide():e(".mce-give-continue-button-title").closest(".mce-container").show()},window.scForm={open:function(t){var n=tinymce.get(t);if(n){var o,a,s,c,l;o={action:"give_shortcode",shortcode:i},e.post(ajaxurl,o,function(t){if(!t.body)return void console.error("Bad AJAX response!");if(0===t.body.length)return window.send_to_editor("["+t.shortcode+"]"),void scForm.destroy();e.each(t.body,function(e,n){"display_style"===n.name&&(t.body[e].onselect=function(){render_continue_button_title_field()})});var o={title:t.title,body:t.body,classes:"sc-popup",minWidth:320,buttons:[{text:t.ok,classes:"primary sc-primary",onclick:function(){l=n.windowManager.getWindows()[0],s=scShortcodes[i],c=!0;for(var e in s)if(s.hasOwnProperty(e)&&void 0!==(a=l.find("#"+e)[0])&&""===a.state.data.value){c=!1,new r.a({modalContent:{desc:s[e],cancelBtnTitle:give_vars.ok}}).render();break}c&&l.submit()}},{text:t.close,onclick:"close"}],onsubmit:function(e){var n="";for(var i in e.data)e.data.hasOwnProperty(i)&&""!==e.data[i]&&(n+=" "+i+'="'+e.data[i]+'"');window.send_to_editor("["+t.shortcode+n+"]")},onclose:function(){scForm.destroy()},onopen:function(){render_continue_button_title_field()}};t.ok.constructor===Array&&(o.buttons[0].text=t.ok[0],o.buttons[0].onclick="close",delete o.buttons[1]),n.windowManager.open(o)})}},destroy:function(){var t=e("#scTemp");t.length&&(tinymce.get("scTemp").remove(),t.remove())}};var n=function(){o.addClass("active").parent().find(".sc-menu").show()},a=function(){void 0!==o&&o.removeClass("active").parent().find(".sc-menu").hide()};t.on("click",function(t){e(t.target).closest(".sc-wrap").length||a()}),t.on("click",".sc-button",function(t){t.preventDefault(),o=e(this),o.hasClass("active")?a():n()}),t.on("click",".sc-shortcode",function(t){t.preventDefault(),i=e(this).attr("data-shortcode"),i?(tinymce.get(window.wpActiveEditor)?tinymce.execCommand("Give_Shortcode"):(e("#scTemp").length||(e("body").append('<textarea id="scTemp" style="display: none;" />'),tinymce.init({mode:"exact",elements:"scTemp",plugins:["give_shortcode","wplink"]})),setTimeout(function(){tinymce.execCommand("Give_Shortcode")},200)),setTimeout(function(){a()},100)):console.warn("That is not a valid shortcode link.")})})},93:function(e,t,n){"use strict";function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return p}),n.d(t,"b",function(){return d});var a=n(94),s=(n.n(a),n(96)),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}()),l=function(){function e(t){if(r(this,e),e===this.constructor)throw new Error("Abstract classes can't be instantiated.");this.config=Object.assign({type:"",triggerSelector:"",externalPlugin:"magnificPopup",classes:{modalWrapper:""},modalContent:{}},t),this.config.mainClass=((this.config.mainClass?this.config.mainClass:"")+" modal-fade-slide").trim()}return c(e,[{key:"init",value:function(){this.setupTemplate(),this.popupConfig(),this.__setupClickEvent()}},{key:"getTemplate",value:function(){var e='<div class="give-hidden"></div>';return this.config.type.length&&(e='<div class="give-modal give-modal--zoom '+(this.config.classes.modalWrapper?(""+this.config.classes.modalWrapper).trim():"")+'">\n\n\t\t\t\t<div class="give-modal__body">\n\t\t\t\t\t'+(this.config.modalContent.title?'<h2 class="give-modal__title">'+this.config.modalContent.title+"</h2>":"")+"\n\t\t\t\t\t"+(this.config.modalContent.desc?'<p class="give-modal__description">'+this.config.modalContent.desc+"</p>":"")+'\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class="give-modal__controls">\n\n\t\t\t\t\t'+("form"===this.config.type?'<div class="spinner"></div>':"")+"\n\t\t\t\t\t"+("form"===this.config.type?'<a class="give-modal--additional-link" href="'+this.config.modalContent.link+'">'+this.config.modalContent.link_text+"</a>":"")+'\n\n\t\t\t\t\t<button class="give-button give-button--secondary give-popup-close-button">\n\t\t\t\t\t\t'+(this.config.modalContent.cancelBtnTitle?this.config.modalContent.cancelBtnTitle:"confirm"===this.config.type?give_vars.cancel:give_vars.close)+"\n\t\t\t\t\t</button>\n\n\t\t\t\t\t"+("confirm"!==this.config.type&&"form"!==this.config.type?"":'<button class="give-button give-button--primary give-popup-'+this.config.type+'-button">\n\n\t\t\t\t\t\t'+(this.config.modalContent.confirmBtnTitle?this.config.modalContent.confirmBtnTitle:give_vars.confirm)+"\n\t\t\t\t\t</button>")+"\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>"),e}},{key:"setupTemplate",value:function(){this.config.template=this.getTemplate()}},{key:"__setupClickEvent",value:function(){this.config.triggerSelector.length&&jQuery(this.config.triggerSelector).magnificPopup(this.config)}},{key:"popupConfig",value:function(){"magnificPopup"===this.config.externalPlugin&&(this.config.items=this.config.items||{src:this.config.template,type:"inline"},this.config.removalDelay=300,this.config.fixedContentPos=!0,this.config.fixedBgPos=!0,this.config.alignTop=!0,this.config.showCloseBtn=!1,this.config.closeOnBgClick=!1,this.config.enableEscapeKey=!0,this.config.focus=".give-popup-close-button")}},{key:"render",value:function(){switch(this.config.externalPlugin){case"magnificPopup":this.config.triggerSelector||jQuery.magnificPopup.open(this.config)}return this}}],[{key:"__closePopup",value:function(e){e.preventDefault(),jQuery.magnificPopup.instance.close()}}]),e}(),p=function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--error",n.init(),n}return o(t,e),t}(l),u=(function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--warning",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--notice",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--success",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="confirm";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(n.config.classes.modalWrapper=e.modalWrapper),n.init(),n}return o(t,e),c(t,null,[{key:"__confirmPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&(jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el}),jQuery.magnificPopup.close())}}]),t}(l)),d=function(e){function t(e){r(this,t),e.type="form";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(n.config.classes.modalWrapper=e.modalWrapper),n.init(),n}return o(t,e),c(t,null,[{key:"__submitPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el})}}]),t}(l);window.addDynamicEventListener(document,"click",".give-popup-close-button",l.__closePopup,{}),window.addDynamicEventListener(document,"click",".give-popup-confirm-button",u.__confirmPopup,{}),window.addDynamicEventListener(document,"click",".give-popup-form-button",d.__submitPopup,{})},94:function(e,t,n){var i,o,r;!function(a){o=[n(95)],i=a,void 0!==(r="function"==typeof i?i.apply(t,o):i)&&(e.exports=r)}(function(e){var t,n,i,o,r,a,s=function(){},c=!!window.jQuery,l=e(window),p=function(e,n){t.ev.on("mfp"+e+".mfp",n)},u=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},d=function(n,i){t.ev.triggerHandler("mfp"+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},f=function(n){return n===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=n),t.currTemplate.closeBtn},m=function(){e.magnificPopup.instance||(t=new s,t.init(),e.magnificPopup.instance=t)},g=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};s.prototype={constructor:s,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=g(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var o;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var a,s=n.items;for(o=0;o<s.length;o++)if(a=s[o],a.parsed&&(a=a.el[0]),a===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],r="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",function(){t.close()}),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){t._checkIfClose(e.target)&&t.close()}),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(o=0;o<c.length;o++){var m=c[o];m=m.charAt(0).toUpperCase()+m.slice(1),t["init"+m].call(t)}d("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(p("MarkupParse",function(e,t,n,i){n.close_replaceWith=f(i.type)}),r+=" mfp-close-btn-in"):t.wrap.append(f())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:l.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup.mfp",function(e){27===e.keyCode&&t.close()}),l.on("resize.mfp",function(){t.updateSize()}),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r);var g=t.wH=l.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(g)){var v=t._getScrollbarSize();v&&(h.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),d("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),i.on("focusin.mfp",t._onFocusIn)},16),t.isOpen=!0,t.updateSize(g),d("Open"),n},close:function(){t.isOpen&&(d("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){d("Close");var n="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}i.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,d("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||l.height();t.fixedContentPos||t.wrap.css("height",t.wH),d("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(d("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var r=!!t.st[i]&&t.st[i].markup;d("FirstMarkupParse",r),t.currTemplate[i]=!r||e(r)}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,d("Change",n),o=n.type,t.container.prepend(t.contentContainer),d("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(f()):t.content=e:t.content="",d("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,o=t.items[n];if(o.tagName?o={el:e(o)}:(i=o.type,o={data:o,src:o.src}),o.el){for(var r=t.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){i=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=i||t.st.type||"inline",o.index=n,o.parsed=!0,t.items[n]=o,d("ElementParse",o),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var o="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(o).on(o,i)):(n.isObj=!1,n.delegate?e.off(o).on(o,n.delegate,i):(n.items=e,e.off(o).on(o,i)))},_openClick:function(n,i,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var r=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(r)if(e.isFunction(r)){if(!r.call(t))return!0}else if(l.width()<r)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),t.open(o)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var o={status:e,text:i};d("UpdateStatus",o),e=o.status,i=o.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass("mfp-prevent-close")){var i=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(i&&o)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(o&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||l.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,i){var o;i.data&&(n=e.extend(i.data,n)),d("MarkupParse",[t,n,i]),e.each(n,function(n,i){if(void 0===i||!1===i)return!0;if(o=n.split("_"),o.length>1){var r=t.find(".mfp-"+o[0]);if(r.length>0){var a=o[1];"replaceWith"===a?r[0]!==i[0]&&r.replaceWith(i):"img"===a?r.is("img")?r.attr("src",i):r.replaceWith(e("<img>").attr("src",i).attr("class",r.attr("class"))):r.attr(o[1],i)}}else t.find(".mfp-"+n).html(i)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,n){return m(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){m();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=c?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),c?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var h,v,y,b=function(){y&&(v.after(y.addClass(h)).detach(),y=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),p("Close.inline",function(){b()})},getInline:function(n,i){if(b(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(v||(h=o.hiddenClass,v=u(h),h="mfp-"+h),y=r.after(v).detach().removeClass(h)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("<div>");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var C,w=function(){C&&e(document.body).removeClass(C)},_=function(){w(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),C=t.st.ajax.cursor,p("Close.ajax",_),p("BeforeChange.ajax",_)},getAjax:function(n){C&&e(document.body).addClass(C),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};d("ParseAjax",a),t.appendContent(e(a.data),"ajax"),n.finished=!0,w(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),d("AjaxContentAdded")},error:function(){w(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var x,k=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),p("Open"+i,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),p("Close"+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),l.off("resize.mfp")}),p("Resize"+i,t.resizeImage),t.isLowIE&&p("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,x&&clearInterval(x),e.isCheckingImgSize=!1,d("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){x&&clearInterval(x),x=setInterval(function(){if(i.naturalWidth>0)return void t._onImageHasSize(e);n>200&&clearInterval(x),n++,3===n?o(10):40===n?o(50):100===n&&o(500)},r)};o(1)},getImage:function(n,i){var o=0,r=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,d("ImageLoadComplete")):(o++,o<200?setTimeout(r,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,c=i.find(".mfp-img");if(c.length){var l=document.createElement("img");l.className="mfp-img",n.el&&n.el.find("img").length&&(l.alt=n.el.find("img").attr("alt")),n.img=e(l).on("load.mfploader",r).on("error.mfploader",a),l.src=n.src,c.is("img")&&(n.img=n.img.clone()),l=n.img[0],l.naturalWidth>0?n.hasSize=!0:l.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:k(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(x&&clearInterval(x),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var P,I=function(){return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},c=function(){t.content.css("visibility","visible")};p("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void c();r=s(e),r.css(t._getOffset()),t.wrap.append(r),o=setTimeout(function(){r.css(t._getOffset(!0)),o=setTimeout(function(){c(),setTimeout(function(){r.remove(),e=r=null,d("ZoomAnimationEnded")},16)},a)},16)}}),p("BeforeClose"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=s(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout(function(){r.css(t._getOffset())},16)}}),p("Close"+i,function(){t._allowZoom()&&(c(),r&&r.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i;i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=i.offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(c?i.innerHeight():i[0].offsetHeight)-a-r};return I()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var T=function(e){if(t.currTemplate.iframe){var n=t.currTemplate.iframe.find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),p("BeforeChange",function(e,t,n){t!==n&&("iframe"===t?T():"iframe"===n&&T(!0))}),p("Close.iframe",function(){T()})},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var O=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},E=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;r+=" mfp-gallery",p("Open"+o,function(){n.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+o,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),p("UpdateStatus"+o,function(e,n){n.text&&(n.text=E(n.text,t.currItem.index,t.items.length))}),p("MarkupParse"+o,function(e,i,o,r){var a=t.items.length;o.counter=a>1?E(n.tCounter,r.index,a):""}),p("BuildControls"+o,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),r=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");o.click(function(){t.prev()}),r.click(function(){t.next()}),t.container.append(o.add(r))}}),p("Change"+o,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),p("Close"+o,function(){i.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=O(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=O(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=O(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),d("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,d("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(p("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),p("ElementParse.retina",function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),m()})},95:function(e,t){e.exports=jQuery},96:function(e,t){!function(e){"use strict";function t(e,t){return function(n){n.target&&n.target.matches(e)&&t.apply(this,arguments)}}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),e.addDynamicEventListener=function(e,n,i,o,r){e.addEventListener(n,t(i,o),r)}}(window)}});
2
  //# sourceMappingURL=admin-shortcodes.js.map
1
+ !function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=364)}({364:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o,r=n(92);jQuery(function(e){var t=e(this);window.render_continue_button_title_field=function(){var t=e(".mce-txt",".mce-give-display-style").text(),n=["- Select -","All Fields"];-1!==e.inArray(t,n)?e(".mce-give-continue-button-title").closest(".mce-container").hide():e(".mce-give-continue-button-title").closest(".mce-container").show()},window.scForm={open:function(t){var n=tinymce.get(t);if(n){var o,a,s,c,l;o={action:"give_shortcode",shortcode:i},e.post(ajaxurl,o,function(t){if(!t.body)return void console.error("Bad AJAX response!");if(0===t.body.length)return window.send_to_editor("["+t.shortcode+"]"),void scForm.destroy();e.each(t.body,function(e,n){"display_style"===n.name&&(t.body[e].onselect=function(){render_continue_button_title_field()})});var o={title:t.title,body:t.body,classes:"sc-popup",minWidth:320,buttons:[{text:t.ok,classes:"primary sc-primary",onclick:function(){l=n.windowManager.getWindows()[0],s=scShortcodes[i],c=!0;for(var e in s)if(s.hasOwnProperty(e)&&void 0!==(a=l.find("#"+e)[0])&&""===a.state.data.value){c=!1,new r.a({modalContent:{desc:s[e],cancelBtnTitle:give_vars.ok}}).render();break}c&&l.submit()}},{text:t.close,onclick:"close"}],onsubmit:function(e){var n="";for(var i in e.data)e.data.hasOwnProperty(i)&&""!==e.data[i]&&(n+=" "+i+'="'+e.data[i]+'"');window.send_to_editor("["+t.shortcode+n+"]")},onclose:function(){scForm.destroy()},onopen:function(){render_continue_button_title_field()}};t.ok.constructor===Array&&(o.buttons[0].text=t.ok[0],o.buttons[0].onclick="close",delete o.buttons[1]),n.windowManager.open(o)})}},destroy:function(){var t=e("#scTemp");t.length&&(tinymce.get("scTemp").remove(),t.remove())}};var n=function(){o.addClass("active").parent().find(".sc-menu").show()},a=function(){void 0!==o&&o.removeClass("active").parent().find(".sc-menu").hide()};t.on("click",function(t){e(t.target).closest(".sc-wrap").length||a()}),t.on("click",".sc-button",function(t){t.preventDefault(),o=e(this),o.hasClass("active")?a():n()}),t.on("click",".sc-shortcode",function(t){t.preventDefault(),i=e(this).attr("data-shortcode"),i?(tinymce.get(window.wpActiveEditor)?tinymce.execCommand("Give_Shortcode"):(e("#scTemp").length||(e("body").append('<textarea id="scTemp" style="display: none;" />'),tinymce.init({mode:"exact",elements:"scTemp",plugins:["give_shortcode","wplink"]})),setTimeout(function(){tinymce.execCommand("Give_Shortcode")},200)),setTimeout(function(){a()},100)):console.warn("That is not a valid shortcode link.")})})},92:function(e,t,n){"use strict";function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return p}),n.d(t,"b",function(){return d});var a=n(93),s=(n.n(a),n(95)),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}()),l=function(){function e(t){if(r(this,e),e===this.constructor)throw new Error("Abstract classes can't be instantiated.");this.config=Object.assign({type:"",triggerSelector:"",externalPlugin:"magnificPopup",classes:{modalWrapper:""},modalContent:{}},t),this.config.mainClass=((this.config.mainClass?this.config.mainClass:"")+" modal-fade-slide").trim()}return c(e,[{key:"init",value:function(){this.setupTemplate(),this.popupConfig(),this.__setupClickEvent()}},{key:"getTemplate",value:function(){var e='<div class="give-hidden"></div>';return this.config.type.length&&(e='<div class="give-modal give-modal--zoom '+(this.config.classes.modalWrapper?(""+this.config.classes.modalWrapper).trim():"")+'">\n\n\t\t\t\t<div class="give-modal__body">\n\t\t\t\t\t'+(this.config.modalContent.title?'<h2 class="give-modal__title">'+this.config.modalContent.title+"</h2>":"")+"\n\t\t\t\t\t"+(this.config.modalContent.desc?'<p class="give-modal__description">'+this.config.modalContent.desc+"</p>":"")+'\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class="give-modal__controls">\n\n\t\t\t\t\t'+("form"===this.config.type?'<div class="spinner"></div>':"")+"\n\t\t\t\t\t"+("form"===this.config.type?'<a class="give-modal--additional-link" href="'+this.config.modalContent.link+'">'+this.config.modalContent.link_text+"</a>":"")+'\n\n\t\t\t\t\t<button class="give-button give-button--secondary give-popup-close-button">\n\t\t\t\t\t\t'+(this.config.modalContent.cancelBtnTitle?this.config.modalContent.cancelBtnTitle:"confirm"===this.config.type?give_vars.cancel:give_vars.close)+"\n\t\t\t\t\t</button>\n\n\t\t\t\t\t"+("confirm"!==this.config.type&&"form"!==this.config.type?"":'<button class="give-button give-button--primary give-popup-'+this.config.type+'-button">\n\n\t\t\t\t\t\t'+(this.config.modalContent.confirmBtnTitle?this.config.modalContent.confirmBtnTitle:give_vars.confirm)+"\n\t\t\t\t\t</button>")+"\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>"),e}},{key:"setupTemplate",value:function(){this.config.template=this.getTemplate()}},{key:"__setupClickEvent",value:function(){this.config.triggerSelector.length&&jQuery(this.config.triggerSelector).magnificPopup(this.config)}},{key:"popupConfig",value:function(){"magnificPopup"===this.config.externalPlugin&&(this.config.items=this.config.items||{src:this.config.template,type:"inline"},this.config.removalDelay=300,this.config.fixedContentPos=!0,this.config.fixedBgPos=!0,this.config.alignTop=!0,this.config.showCloseBtn=!1,this.config.closeOnBgClick=!1,this.config.enableEscapeKey=!0,this.config.focus=".give-popup-close-button")}},{key:"render",value:function(){switch(this.config.externalPlugin){case"magnificPopup":this.config.triggerSelector||jQuery.magnificPopup.open(this.config)}return this}}],[{key:"__closePopup",value:function(e){e.preventDefault(),jQuery.magnificPopup.instance.close()}}]),e}(),p=function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--error",n.init(),n}return o(t,e),t}(l),u=(function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--warning",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--notice",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="alert";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.config.classes.modalWrapper="give-modal--success",n.init(),n}o(t,e)}(l),function(e){function t(e){r(this,t),e.type="confirm";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(n.config.classes.modalWrapper=e.modalWrapper),n.init(),n}return o(t,e),c(t,null,[{key:"__confirmPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&(jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el}),jQuery.magnificPopup.close())}}]),t}(l)),d=function(e){function t(e){r(this,t),e.type="form";var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(n.config.classes.modalWrapper=e.modalWrapper),n.init(),n}return o(t,e),c(t,null,[{key:"__submitPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el})}}]),t}(l);window.addDynamicEventListener(document,"click",".give-popup-close-button",l.__closePopup,{}),window.addDynamicEventListener(document,"click",".give-popup-confirm-button",u.__confirmPopup,{}),window.addDynamicEventListener(document,"click",".give-popup-form-button",d.__submitPopup,{})},93:function(e,t,n){var i,o,r;!function(a){o=[n(94)],i=a,void 0!==(r="function"==typeof i?i.apply(t,o):i)&&(e.exports=r)}(function(e){var t,n,i,o,r,a,s=function(){},c=!!window.jQuery,l=e(window),p=function(e,n){t.ev.on("mfp"+e+".mfp",n)},u=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},d=function(n,i){t.ev.triggerHandler("mfp"+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},f=function(n){return n===a&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),a=n),t.currTemplate.closeBtn},m=function(){e.magnificPopup.instance||(t=new s,t.init(),e.magnificPopup.instance=t)},g=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};s.prototype={constructor:s,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=g(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){var o;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var a,s=n.items;for(o=0;o<s.length;o++)if(a=s[o],a.parsed&&(a=a.el[0]),a===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],r="",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",function(){t.close()}),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){t._checkIfClose(e.target)&&t.close()}),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(o=0;o<c.length;o++){var m=c[o];m=m.charAt(0).toUpperCase()+m.slice(1),t["init"+m].call(t)}d("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(p("MarkupParse",function(e,t,n,i){n.close_replaceWith=f(i.type)}),r+=" mfp-close-btn-in"):t.wrap.append(f())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:l.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup.mfp",function(e){27===e.keyCode&&t.close()}),l.on("resize.mfp",function(){t.updateSize()}),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r);var g=t.wH=l.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(g)){var v=t._getScrollbarSize();v&&(h.marginRight=v)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),d("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),i.on("focusin.mfp",t._onFocusIn)},16),t.isOpen=!0,t.updateSize(g),d("Open"),n},close:function(){t.isOpen&&(d("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){d("Close");var n="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}i.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,d("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||l.height();t.fixedContentPos||t.wrap.css("height",t.wH),d("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(d("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var r=!!t.st[i]&&t.st[i].markup;d("FirstMarkupParse",r),t.currTemplate[i]=!r||e(r)}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,d("Change",n),o=n.type,t.container.prepend(t.contentContainer),d("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".mfp-close").length||t.content.append(f()):t.content=e:t.content="",d("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,o=t.items[n];if(o.tagName?o={el:e(o)}:(i=o.type,o={data:o,src:o.src}),o.el){for(var r=t.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){i=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=i||t.st.type||"inline",o.index=n,o.parsed=!0,t.items[n]=o,d("ElementParse",o),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var o="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(o).on(o,i)):(n.isObj=!1,n.delegate?e.off(o).on(o,n.delegate,i):(n.items=e,e.off(o).on(o,i)))},_openClick:function(n,i,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var r=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(r)if(e.isFunction(r)){if(!r.call(t))return!0}else if(l.width()<r)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),t.open(o)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var o={status:e,text:i};d("UpdateStatus",o),e=o.status,i=o.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass("mfp-prevent-close")){var i=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(i&&o)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(o&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||l.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,i){var o;i.data&&(n=e.extend(i.data,n)),d("MarkupParse",[t,n,i]),e.each(n,function(n,i){if(void 0===i||!1===i)return!0;if(o=n.split("_"),o.length>1){var r=t.find(".mfp-"+o[0]);if(r.length>0){var a=o[1];"replaceWith"===a?r[0]!==i[0]&&r.replaceWith(i):"img"===a?r.is("img")?r.attr("src",i):r.replaceWith(e("<img>").attr("src",i).attr("class",r.attr("class"))):r.attr(o[1],i)}}else t.find(".mfp-"+n).html(i)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,n){return m(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){m();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=c?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),c?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var h,v,y,b=function(){y&&(v.after(y.addClass(h)).detach(),y=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),p("Close.inline",function(){b()})},getInline:function(n,i){if(b(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(v||(h=o.hiddenClass,v=u(h),h="mfp-"+h),y=r.after(v).detach().removeClass(h)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("<div>");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var C,w=function(){C&&e(document.body).removeClass(C)},_=function(){w(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),C=t.st.ajax.cursor,p("Close.ajax",_),p("BeforeChange.ajax",_)},getAjax:function(n){C&&e(document.body).addClass(C),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};d("ParseAjax",a),t.appendContent(e(a.data),"ajax"),n.finished=!0,w(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),d("AjaxContentAdded")},error:function(){w(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var x,k=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),p("Open"+i,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),p("Close"+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),l.off("resize.mfp")}),p("Resize"+i,t.resizeImage),t.isLowIE&&p("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,x&&clearInterval(x),e.isCheckingImgSize=!1,d("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){x&&clearInterval(x),x=setInterval(function(){if(i.naturalWidth>0)return void t._onImageHasSize(e);n>200&&clearInterval(x),n++,3===n?o(10):40===n?o(50):100===n&&o(500)},r)};o(1)},getImage:function(n,i){var o=0,r=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,d("ImageLoadComplete")):(o++,o<200?setTimeout(r,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,c=i.find(".mfp-img");if(c.length){var l=document.createElement("img");l.className="mfp-img",n.el&&n.el.find("img").length&&(l.alt=n.el.find("img").attr("alt")),n.img=e(l).on("load.mfploader",r).on("error.mfploader",a),l.src=n.src,c.is("img")&&(n.img=n.img.clone()),l=n.img[0],l.naturalWidth>0?n.hasSize=!0:l.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:k(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(x&&clearInterval(x),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var P,I=function(){return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},c=function(){t.content.css("visibility","visible")};p("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void c();r=s(e),r.css(t._getOffset()),t.wrap.append(r),o=setTimeout(function(){r.css(t._getOffset(!0)),o=setTimeout(function(){c(),setTimeout(function(){r.remove(),e=r=null,d("ZoomAnimationEnded")},16)},a)},16)}}),p("BeforeClose"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=s(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout(function(){r.css(t._getOffset())},16)}}),p("Close"+i,function(){t._allowZoom()&&(c(),r&&r.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i;i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=i.offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(c?i.innerHeight():i[0].offsetHeight)-a-r};return I()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var T=function(e){if(t.currTemplate.iframe){var n=t.currTemplate.iframe.find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),p("BeforeChange",function(e,t,n){t!==n&&("iframe"===t?T():"iframe"===n&&T(!0))}),p("Close.iframe",function(){T()})},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var O=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},E=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;r+=" mfp-gallery",p("Open"+o,function(){n.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+o,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),p("UpdateStatus"+o,function(e,n){n.text&&(n.text=E(n.text,t.currItem.index,t.items.length))}),p("MarkupParse"+o,function(e,i,o,r){var a=t.items.length;o.counter=a>1?E(n.tCounter,r.index,a):""}),p("BuildControls"+o,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),r=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");o.click(function(){t.prev()}),r.click(function(){t.next()}),t.container.append(o.add(r))}}),p("Change"+o,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),p("Close"+o,function(){i.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=O(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=O(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=O(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),d("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,d("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(p("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),p("ElementParse.retina",function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),m()})},94:function(e,t){e.exports=jQuery},95:function(e,t){!function(e){"use strict";function t(e,t){return function(n){n.target&&n.target.matches(e)&&t.apply(this,arguments)}}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),e.addDynamicEventListener=function(e,n,i,o,r){e.addEventListener(n,t(i,o),r)}}(window)}});
2
  //# sourceMappingURL=admin-shortcodes.js.map
assets/dist/js/admin-shortcodes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///js/admin-shortcodes.js","webpack:///webpack/bootstrap 04182ef36989b2348151","webpack:///./includes/admin/shortcodes/admin-shortcodes.js","webpack:///./assets/src/js/plugins/modal.js","webpack:///./node_modules/magnific-popup/dist/jquery.magnific-popup.js","webpack:///external \"jQuery\"","webpack:///./assets/src/js/plugins/dynamicListener.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","367","__webpack_exports__","value","scShortcode","scButton","__WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__","jQuery","$","doc","this","window","render_continue_button_title_field","selected_display_style","text","expected_display_styles","inArray","closest","hide","show","scForm","open","editor_id","editor","tinymce","data","field","required","valid","win","action","shortcode","post","ajaxurl","response","body","console","error","length","send_to_editor","destroy","each","index","item","onselect","popup","title","classes","minWidth","buttons","ok","onclick","windowManager","getWindows","scShortcodes","id","find","state","modalContent","desc","cancelBtnTitle","give_vars","render","submit","close","onsubmit","e","attributes","key","onclose","onopen","constructor","Array","tmp","remove","scOpen","addClass","parent","scClose","removeClass","on","target","preventDefault","hasClass","attr","wpActiveEditor","execCommand","append","init","mode","elements","plugins","setTimeout","warn","93","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","TypeError","create","writable","setPrototypeOf","__proto__","_classCallCheck","instance","Constructor","GiveErrorAlert","GiveFormModal","__WEBPACK_IMPORTED_MODULE_0_magnific_popup__","__WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__","_createClass","defineProperties","props","descriptor","protoProps","staticProps","GiveModal","obj","Error","config","assign","type","triggerSelector","externalPlugin","modalWrapper","mainClass","trim","setupTemplate","popupConfig","__setupClickEvent","template","link","link_text","cancel","confirmBtnTitle","confirm","getTemplate","magnificPopup","items","src","removalDelay","fixedContentPos","fixedBgPos","alignTop","showCloseBtn","closeOnBgClick","enableEscapeKey","focus","event","_GiveModal","_this","getPrototypeOf","GiveConfirmModal","_GiveModal2","GiveWarningAlert","_this2","_GiveModal3","GiveNoticeAlert","_this3","_GiveModal4","GiveSuccessAlert","_this4","_GiveModal5","_this5","st","successConfirm","el","_GiveModal6","_this6","addDynamicEventListener","document","__closePopup","__confirmPopup","__submitPopup","94","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","factory","undefined","apply","mfp","_prevStatus","_document","_prevContentType","_wrapClasses","_currPopupType","MagnificPopup","_isJQ","_window","_mfpOn","f","ev","_getEl","className","appendTo","html","raw","createElement","innerHTML","appendChild","_mfpTrigger","triggerHandler","callbacks","charAt","toLowerCase","slice","isArray","_getCloseBtn","currTemplate","closeBtn","closeMarkup","replace","tClose","_checkInstance","supportsTransitions","style","v","pop","appVersion","navigator","isLowIE","isIE8","all","addEventListener","isAndroid","test","isIOS","supportsTransition","probablyMobile","userAgent","popupsCache","isObj","toArray","parsed","isOpen","updateItemHTML","types","mainEl","eq","extend","defaults","modal","closeOnContentClick","bgOverlay","wrap","_checkIfClose","container","contentContainer","preloader","tLoading","toUpperCase","closeBtnInside","values","close_replaceWith","css","overflow","overflowY","overflowX","top","scrollTop","position","height","keyCode","updateSize","windowHeight","wH","windowStyles","_hasScrollBar","_getScrollbarSize","marginRight","isIE7","classesToadd","_addClassToMFP","add","prependTo","_lastFocusedEl","activeElement","content","_setFocus","_onFocusIn","_close","classesToRemove","REMOVING_CLASS","detach","empty","_removeClassFromMFP","off","removeAttr","currItem","autoFocusLast","prevHeight","winHeight","zoomLevel","documentElement","clientWidth","innerWidth","innerHeight","parseEl","markup","newContent","appendContent","preloaded","prepend","tagName","addGroup","options","eHandler","mfpEl","_openClick","eName","delegate","midClick","which","ctrlKey","metaKey","altKey","shiftKey","disableOn","isFunction","width","stopPropagation","updateStatus","status","stopImmediatePropagation","closeOnContent","closeOnBg","contains","cName","scrollHeight","_parseMarkup","arr","split","EVENT_NS","replaceWith","is","scrollbarSize","scrollDiv","cssText","offsetWidth","removeChild","proto","registerModule","push","fn","jqEl","itemOpts","parseInt","arguments","_hiddenClass","_inlinePlaceholder","_lastInlineElement","_putInlineElementsBack","after","hiddenClass","tNotFound","initInline","CLOSE_EVENT","getInline","inlineSt","inline","parentNode","inlineElement","_ajaxCur","_removeAjaxCursor","_destroyAjaxRequest","req","abort","settings","cursor","tError","initAjax","ajax","getAjax","opts","url","success","textStatus","jqXHR","temp","xhr","finished","loadError","_imgInterval","_getTitle","image","titleSrc","verticalFit","initImage","imgSt","ns","resizeImage","img","decr","_onImageHasSize","hasSize","clearInterval","isCheckingImgSize","imgHidden","findImageSize","counter","mfpSetInterval","delay","setInterval","naturalWidth","getImage","guard","onLoadComplete","complete","loaded","onLoadError","alt","clone","img_replaceWith","loading","hasMozTransform","getHasMozTransform","MozTransform","enabled","easing","duration","opener","element","initZoom","zoomSt","zoom","openTimeout","animatedImg","getElToAnimate","newImg","transition","cssObj","zIndex","left","-webkit-backface-visibility","t","showMainContent","_allowZoom","clearTimeout","_getItemToZoom","_getOffset","isLarge","offset","paddingTop","paddingBottom","offsetHeight","_fixIframeBugs","isShowing","srcAction","patterns","youtube","vimeo","gmaps","initIframe","prevType","newType","getIframe","embedSrc","iframeSt","iframe","indexOf","substr","lastIndexOf","dataObj","_getLoopedId","numSlides","_replaceCurrTotal","curr","total","arrowMarkup","preload","navigateByImgClick","arrows","tPrev","tNext","tCounter","initGallery","gSt","gallery","direction","next","prev","arrowLeft","arrowRight","click","_preloadTimeout","preloadNearbyImages","goTo","newIndex","preloadBefore","Math","min","preloadAfter","_preloadItem","replaceSrc","ratio","initRetina","devicePixelRatio","retina","isNaN","max-width","95","96","globalSope","getConditionalCallback","selector","callback","matches","Element","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","querySelectorAll","rootElement","eventType"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,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AeC,iBAAiBtgB,GACjErB,EAAImhB,EAAQxd,SACP3D,GAAK,GAAKmhB,EAAQnd,KAAKhE,KAAO+B,OACvC,MAAO/B,IAAK,IA8BxB+gB,EAAW9U,wBAA0B,SAAU2V,EAAaC,EAAWZ,EAAUC,EAAUxM,GACvFkN,EAAYpS,iBAAiBqS,EAAWb,EAAuBC,EAAUC,GAAWxM,KAEzF1S","file":"js/admin-shortcodes.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 367);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 367:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__ = __webpack_require__(93);\n/*!\n * Give Admin Shortcodes JS\n *\n * @description: The Give Admin Shortcode scripts. Only enqueued on the admin widgets screen; used to show shortcode dialogs, show/hide, and other functions\n * @package: Give\n * @subpackage: Assets/JS\n * @author: Paul Ryley\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n * @since: 1.3.0\n */\n\n/* global ajaxurl, jQuery, scShortcodes, tinymce */\n\n\n\nvar scShortcode, scButton;\n\njQuery(function ($) {\n\n\tvar doc = $(this);\n\n\t/**\n * Show continue button title setting field only if display style is not All Fields.\n */\n\twindow.render_continue_button_title_field = function () {\n\t\tvar selected_display_style = $('.mce-txt', '.mce-give-display-style').text(),\n\t\t expected_display_styles = ['- Select -', 'All Fields'];\n\n\t\tif (-1 !== $.inArray(selected_display_style, expected_display_styles)) {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container').hide();\n\t\t} else {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container').show();\n\t\t}\n\t};\n\n\twindow.scForm = {\n\n\t\topen: function open(editor_id) {\n\t\t\tvar editor = tinymce.get(editor_id);\n\n\t\t\tif (!editor) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar data, field, required, valid, win;\n\n\t\t\tdata = {\n\t\t\t\taction: 'give_shortcode',\n\t\t\t\tshortcode: scShortcode\n\t\t\t};\n\n\t\t\t$.post(ajaxurl, data, function (response) {\n\n\t\t\t\t// what happens if response === false?\n\t\t\t\tif (!response.body) {\n\t\t\t\t\tconsole.error('Bad AJAX response!');\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (response.body.length === 0) {\n\t\t\t\t\twindow.send_to_editor('[' + response.shortcode + ']');\n\n\t\t\t\t\tscForm.destroy();\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n * Render continue button title setting field on basis of display style value.\n */\n\t\t\t\t$.each(response.body, function (index, item) {\n\n\t\t\t\t\tif ('display_style' === item.name) {\n\t\t\t\t\t\tresponse.body[index].onselect = function () {\n\t\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tvar popup = {\n\t\t\t\t\ttitle: response.title,\n\t\t\t\t\tbody: response.body,\n\t\t\t\t\tclasses: 'sc-popup',\n\t\t\t\t\tminWidth: 320,\n\t\t\t\t\tbuttons: [{\n\t\t\t\t\t\ttext: response.ok,\n\t\t\t\t\t\tclasses: 'primary sc-primary',\n\t\t\t\t\t\tonclick: function onclick() {\n\t\t\t\t\t\t\t// Get the top most window object\n\t\t\t\t\t\t\twin = editor.windowManager.getWindows()[0];\n\n\t\t\t\t\t\t\t// Get the shortcode required attributes\n\t\t\t\t\t\t\trequired = scShortcodes[scShortcode];\n\n\t\t\t\t\t\t\tvalid = true;\n\n\t\t\t\t\t\t\t// Do some validation voodoo\n\t\t\t\t\t\t\tfor (var id in required) {\n\t\t\t\t\t\t\t\tif (required.hasOwnProperty(id)) {\n\n\t\t\t\t\t\t\t\t\tfield = win.find('#' + id)[0];\n\n\t\t\t\t\t\t\t\t\tif (typeof field !== 'undefined' && field.state.data.value === '') {\n\n\t\t\t\t\t\t\t\t\t\tvalid = false;\n\n\t\t\t\t\t\t\t\t\t\tnew __WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__[\"a\" /* GiveErrorAlert */]({\n\t\t\t\t\t\t\t\t\t\t\tmodalContent: {\n\t\t\t\t\t\t\t\t\t\t\t\tdesc: required[id],\n\t\t\t\t\t\t\t\t\t\t\t\tcancelBtnTitle: give_vars.ok\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}).render();\n\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (valid) {\n\t\t\t\t\t\t\t\twin.submit();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}, {\n\t\t\t\t\t\ttext: response.close,\n\t\t\t\t\t\tonclick: 'close'\n\t\t\t\t\t}],\n\t\t\t\t\tonsubmit: function onsubmit(e) {\n\t\t\t\t\t\tvar attributes = '';\n\n\t\t\t\t\t\tfor (var key in e.data) {\n\t\t\t\t\t\t\tif (e.data.hasOwnProperty(key) && e.data[key] !== '') {\n\t\t\t\t\t\t\t\tattributes += ' ' + key + '=\"' + e.data[key] + '\"';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Insert shortcode into the WP_Editor\n\t\t\t\t\t\twindow.send_to_editor('[' + response.shortcode + attributes + ']');\n\t\t\t\t\t},\n\t\t\t\t\tonclose: function onclose() {\n\t\t\t\t\t\tscForm.destroy();\n\t\t\t\t\t},\n\t\t\t\t\tonopen: function onopen() {\n\t\t\t\t\t\t// Conditional fields.\n\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Change the buttons if server-side validation failed\n\t\t\t\tif (response.ok.constructor === Array) {\n\t\t\t\t\tpopup.buttons[0].text = response.ok[0];\n\t\t\t\t\tpopup.buttons[0].onclick = 'close';\n\t\t\t\t\tdelete popup.buttons[1];\n\t\t\t\t}\n\n\t\t\t\teditor.windowManager.open(popup);\n\t\t\t});\n\t\t},\n\n\t\tdestroy: function destroy() {\n\t\t\tvar tmp = $('#scTemp');\n\n\t\t\tif (tmp.length) {\n\t\t\t\ttinymce.get('scTemp').remove();\n\t\t\t\ttmp.remove();\n\t\t\t}\n\t\t}\n\t};\n\n\tvar scOpen = function scOpen() {\n\t\tscButton.addClass('active').parent().find('.sc-menu').show();\n\t};\n\n\tvar scClose = function scClose() {\n\t\tif (typeof scButton !== 'undefined') {\n\t\t\tscButton.removeClass('active').parent().find('.sc-menu').hide();\n\t\t}\n\t};\n\n\tdoc.on('click', function (e) {\n\t\tif (!$(e.target).closest('.sc-wrap').length) {\n\t\t\tscClose();\n\t\t}\n\t});\n\n\tdoc.on('click', '.sc-button', function (e) {\n\t\te.preventDefault();\n\n\t\tscButton = $(this);\n\n\t\tif (scButton.hasClass('active')) {\n\t\t\tscClose();\n\t\t} else {\n\t\t\tscOpen();\n\t\t}\n\t});\n\n\tdoc.on('click', '.sc-shortcode', function (e) {\n\t\te.preventDefault();\n\n\t\t// scShortcode is used by scForm to trigger the correct popup\n\t\tscShortcode = $(this).attr('data-shortcode');\n\n\t\tif (scShortcode) {\n\t\t\tif (!tinymce.get(window.wpActiveEditor)) {\n\n\t\t\t\tif (!$('#scTemp').length) {\n\n\t\t\t\t\t$('body').append('<textarea id=\"scTemp\" style=\"display: none;\" />');\n\n\t\t\t\t\ttinymce.init({\n\t\t\t\t\t\tmode: \"exact\",\n\t\t\t\t\t\telements: \"scTemp\",\n\t\t\t\t\t\tplugins: ['give_shortcode', 'wplink']\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\ttinymce.execCommand('Give_Shortcode');\n\t\t\t\t}, 200);\n\t\t\t} else {\n\t\t\t\ttinymce.execCommand('Give_Shortcode');\n\t\t\t}\n\n\t\t\tsetTimeout(function () {\n\t\t\t\tscClose();\n\t\t\t}, 100);\n\t\t} else {\n\t\t\tconsole.warn('That is not a valid shortcode link.');\n\t\t}\n\t});\n});\n\n/***/ }),\n\n/***/ 93:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export GiveModal */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return GiveErrorAlert; });\n/* unused harmony export GiveWarningAlert */\n/* unused harmony export GiveNoticeAlert */\n/* unused harmony export GiveSuccessAlert */\n/* unused harmony export GiveConfirmModal */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return GiveFormModal; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_magnific_popup__ = __webpack_require__(94);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_magnific_popup___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_magnific_popup__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__ = __webpack_require__(96);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dynamicListener_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * This API is under development, so do not use this in production.\n * We will open this API for use after some testing (coming releases).\n */\n/* globals give_vars, jQuery */\n\n\n\n/**\n * This abstract class is base for modal\n *\n * @since 2.1.0\n */\n\nvar GiveModal = function () {\n\tfunction GiveModal(obj) {\n\t\t_classCallCheck(this, GiveModal);\n\n\t\tif (GiveModal === this.constructor) {\n\t\t\tthrow new Error('Abstract classes can\\'t be instantiated.');\n\t\t}\n\n\t\tthis.config = Object.assign({\n\t\t\ttype: '',\n\t\t\ttriggerSelector: '',\n\t\t\texternalPlugin: 'magnificPopup',\n\t\t\tclasses: { modalWrapper: '' },\n\t\t\tmodalContent: {}\n\t\t}, obj);\n\n\t\t// Set main class.\n\t\tthis.config.mainClass = ((this.config.mainClass ? this.config.mainClass : '') + ' modal-fade-slide').trim();\n\t}\n\n\t/**\n * Bootstrap\n */\n\n\n\t_createClass(GiveModal, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis.setupTemplate();\n\t\t\tthis.popupConfig();\n\t\t\tthis.__setupClickEvent();\n\t\t}\n\n\t\t/**\n * Get template\n *\n * @since 2.1.0\n *\n * @return {string} Template HTML.\n */\n\n\t}, {\n\t\tkey: 'getTemplate',\n\t\tvalue: function getTemplate() {\n\t\t\tvar template = '<div class=\"give-hidden\"></div>';\n\n\t\t\tif (this.config.type.length) {\n\t\t\t\ttemplate = '<div class=\"give-modal give-modal--zoom ' + (this.config.classes.modalWrapper ? ('' + this.config.classes.modalWrapper).trim() : '') + '\">\\n\\n\\t\\t\\t\\t<div class=\"give-modal__body\">\\n\\t\\t\\t\\t\\t' + (this.config.modalContent.title ? '<h2 class=\"give-modal__title\">' + this.config.modalContent.title + '</h2>' : '') + '\\n\\t\\t\\t\\t\\t' + (this.config.modalContent.desc ? '<p class=\"give-modal__description\">' + this.config.modalContent.desc + '</p>' : '') + '\\n\\t\\t\\t\\t</div>\\n\\t\\n\\t\\t\\t\\t<div class=\"give-modal__controls\">\\n\\n\\t\\t\\t\\t\\t' + ('form' === this.config.type ? '<div class=\"spinner\"></div>' : '') + '\\n\\t\\t\\t\\t\\t' + ('form' === this.config.type ? '<a class=\"give-modal--additional-link\" href=\"' + this.config.modalContent.link + '\">' + this.config.modalContent.link_text + '</a>' : '') + '\\n\\n\\t\\t\\t\\t\\t<button class=\"give-button give-button--secondary give-popup-close-button\">\\n\\t\\t\\t\\t\\t\\t' + (this.config.modalContent.cancelBtnTitle ? this.config.modalContent.cancelBtnTitle : 'confirm' === this.config.type ? give_vars.cancel : give_vars.close) + '\\n\\t\\t\\t\\t\\t</button>\\n\\n\\t\\t\\t\\t\\t' + ('confirm' !== this.config.type && 'form' !== this.config.type ? '' : '<button class=\"give-button give-button--primary give-popup-' + this.config.type + '-button\">\\n\\n\\t\\t\\t\\t\\t\\t' + (this.config.modalContent.confirmBtnTitle ? this.config.modalContent.confirmBtnTitle : give_vars.confirm) + '\\n\\t\\t\\t\\t\\t</button>') + '\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\n\\t\\t\\t</div>';\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\n\t\t/**\n * Setup template\n *\n * @since 2.1.0\n */\n\n\t}, {\n\t\tkey: 'setupTemplate',\n\t\tvalue: function setupTemplate() {\n\t\t\tthis.config.template = this.getTemplate();\n\t\t}\n\n\t\t/**\n * Handle click event if triggerSelector is set.\n *\n * @since 2.1.0\n * @private\n */\n\n\t}, {\n\t\tkey: '__setupClickEvent',\n\t\tvalue: function __setupClickEvent() {\n\t\t\t// Bailout.\n\t\t\tif (!this.config.triggerSelector.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tjQuery(this.config.triggerSelector).magnificPopup(this.config);\n\t\t}\n\n\t\t/**\n * Setup popup params\n *\n * Note: only for internal purpose\n *\n * @since 2.1.0\n * @private\n */\n\n\t}, {\n\t\tkey: 'popupConfig',\n\t\tvalue: function popupConfig() {\n\t\t\tif ('magnificPopup' === this.config.externalPlugin) {\n\t\t\t\tthis.config.items = this.config.items || {\n\t\t\t\t\tsrc: this.config.template,\n\t\t\t\t\ttype: 'inline'\n\t\t\t\t};\n\n\t\t\t\tthis.config.removalDelay = 300;\n\t\t\t\tthis.config.fixedContentPos = true;\n\t\t\t\tthis.config.fixedBgPos = true;\n\t\t\t\tthis.config.alignTop = true;\n\t\t\t\tthis.config.showCloseBtn = false;\n\t\t\t\tthis.config.closeOnBgClick = false;\n\t\t\t\tthis.config.enableEscapeKey = true;\n\t\t\t\tthis.config.focus = '.give-popup-close-button';\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Click close button event handler\n *\n * @since 2.1.0\n * @private\n *\n * @param {object} event Event object.\n */\n\n\t}, {\n\t\tkey: 'render',\n\n\n\t\t/**\n * Give's Notice Popup\n *\n * @since 2.1.0\n *\n * @return {object} GiveModal class object.\n */\n\t\tvalue: function render() {\n\t\t\tswitch (this.config.externalPlugin) {\n\t\t\t\tcase 'magnificPopup':\n\t\t\t\t\tif (!this.config.triggerSelector) {\n\t\t\t\t\t\tjQuery.magnificPopup.open(this.config);\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\t}], [{\n\t\tkey: '__closePopup',\n\t\tvalue: function __closePopup(event) {\n\t\t\tevent.preventDefault();\n\t\t\tjQuery.magnificPopup.instance.close();\n\t\t}\n\t}]);\n\n\treturn GiveModal;\n}();\n\n/**\n * This class will handle error alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveErrorAlert = function (_GiveModal) {\n\t_inherits(GiveErrorAlert, _GiveModal);\n\n\tfunction GiveErrorAlert(obj) {\n\t\t_classCallCheck(this, GiveErrorAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this = _possibleConstructorReturn(this, (GiveErrorAlert.__proto__ || Object.getPrototypeOf(GiveErrorAlert)).call(this, obj));\n\n\t\t_this.config.classes.modalWrapper = 'give-modal--error';\n\n\t\t_this.init();\n\t\treturn _this;\n\t}\n\n\treturn GiveErrorAlert;\n}(GiveModal);\n\n/**\n * This class will handle warning alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveWarningAlert = function (_GiveModal2) {\n\t_inherits(GiveWarningAlert, _GiveModal2);\n\n\tfunction GiveWarningAlert(obj) {\n\t\t_classCallCheck(this, GiveWarningAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this2 = _possibleConstructorReturn(this, (GiveWarningAlert.__proto__ || Object.getPrototypeOf(GiveWarningAlert)).call(this, obj));\n\n\t\t_this2.config.classes.modalWrapper = 'give-modal--warning';\n\n\t\t_this2.init();\n\t\treturn _this2;\n\t}\n\n\treturn GiveWarningAlert;\n}(GiveModal);\n\n/**\n * This class will handle notice alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveNoticeAlert = function (_GiveModal3) {\n\t_inherits(GiveNoticeAlert, _GiveModal3);\n\n\tfunction GiveNoticeAlert(obj) {\n\t\t_classCallCheck(this, GiveNoticeAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this3 = _possibleConstructorReturn(this, (GiveNoticeAlert.__proto__ || Object.getPrototypeOf(GiveNoticeAlert)).call(this, obj));\n\n\t\t_this3.config.classes.modalWrapper = 'give-modal--notice';\n\n\t\t_this3.init();\n\t\treturn _this3;\n\t}\n\n\treturn GiveNoticeAlert;\n}(GiveModal);\n\n/**\n * This class will handle success alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveSuccessAlert = function (_GiveModal4) {\n\t_inherits(GiveSuccessAlert, _GiveModal4);\n\n\tfunction GiveSuccessAlert(obj) {\n\t\t_classCallCheck(this, GiveSuccessAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this4 = _possibleConstructorReturn(this, (GiveSuccessAlert.__proto__ || Object.getPrototypeOf(GiveSuccessAlert)).call(this, obj));\n\n\t\t_this4.config.classes.modalWrapper = 'give-modal--success';\n\n\t\t_this4.init();\n\t\treturn _this4;\n\t}\n\n\treturn GiveSuccessAlert;\n}(GiveModal);\n\n/**\n * This class will handle confirm modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveConfirmModal = function (_GiveModal5) {\n\t_inherits(GiveConfirmModal, _GiveModal5);\n\n\tfunction GiveConfirmModal(obj) {\n\t\t_classCallCheck(this, GiveConfirmModal);\n\n\t\tobj.type = 'confirm';\n\n\t\tvar _this5 = _possibleConstructorReturn(this, (GiveConfirmModal.__proto__ || Object.getPrototypeOf(GiveConfirmModal)).call(this, obj));\n\n\t\tif ('undefined' !== typeof obj.modalWrapper && '' !== obj.modalWrapper) {\n\t\t\t_this5.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\t_this5.init();\n\t\treturn _this5;\n\t}\n\n\t/**\n * Confirm button click event handler\n *\n * Note: only for internal purpose\n *\n * @since 2.1.0\n * @private\n */\n\n\n\t_createClass(GiveConfirmModal, null, [{\n\t\tkey: '__confirmPopup',\n\t\tvalue: function __confirmPopup() {\n\t\t\tif ('function' === typeof jQuery.magnificPopup.instance.st.successConfirm) {\n\t\t\t\tjQuery.magnificPopup.instance.st.successConfirm({\n\t\t\t\t\tel: jQuery.magnificPopup.instance.st.el\n\t\t\t\t});\n\t\t\t\tjQuery.magnificPopup.close();\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn GiveConfirmModal;\n}(GiveModal);\n\n/**\n * This class will handle Form modal\n *\n * @since 2.2.0\n */\n\n\nvar GiveFormModal = function (_GiveModal6) {\n\t_inherits(GiveFormModal, _GiveModal6);\n\n\tfunction GiveFormModal(obj) {\n\t\t_classCallCheck(this, GiveFormModal);\n\n\t\tobj.type = 'form';\n\n\t\tvar _this6 = _possibleConstructorReturn(this, (GiveFormModal.__proto__ || Object.getPrototypeOf(GiveFormModal)).call(this, obj));\n\n\t\tif ('undefined' !== typeof obj.modalWrapper && '' !== obj.modalWrapper) {\n\t\t\t_this6.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\t_this6.init();\n\t\treturn _this6;\n\t}\n\n\t/**\n * Submit button click event handler\n *\n * Note: only for internal purpose\n *\n * @since 2.2.0\n * @private\n */\n\n\n\t_createClass(GiveFormModal, null, [{\n\t\tkey: '__submitPopup',\n\t\tvalue: function __submitPopup() {\n\t\t\tif ('function' === typeof jQuery.magnificPopup.instance.st.successConfirm) {\n\t\t\t\tjQuery.magnificPopup.instance.st.successConfirm({\n\t\t\t\t\tel: jQuery.magnificPopup.instance.st.el\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn GiveFormModal;\n}(GiveModal);\n\n/**\n * Add events\n */\n\n\nwindow.addDynamicEventListener(document, 'click', '.give-popup-close-button', GiveModal.__closePopup, {});\nwindow.addDynamicEventListener(document, 'click', '.give-popup-confirm-button', GiveConfirmModal.__confirmPopup, {});\nwindow.addDynamicEventListener(document, 'click', '.give-popup-form-button', GiveFormModal.__submitPopup, {});\n\n\n\n/***/ }),\n\n/***/ 94:\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n;(function (factory) { \nif (true) { \n // AMD. Register as an anonymous module. \n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(95)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); \n } else if (typeof exports === 'object') { \n // Node/CommonJS \n factory(require('jquery')); \n } else { \n // Browser globals \n factory(window.jQuery || window.Zepto); \n } \n }(function($) { \n\n/*>>core*/\n/**\n * \n * Magnific Popup Core JS file\n * \n */\n\n\n/**\n * Private static constants\n */\nvar CLOSE_EVENT = 'Close',\n\tBEFORE_CLOSE_EVENT = 'BeforeClose',\n\tAFTER_CLOSE_EVENT = 'AfterClose',\n\tBEFORE_APPEND_EVENT = 'BeforeAppend',\n\tMARKUP_PARSE_EVENT = 'MarkupParse',\n\tOPEN_EVENT = 'Open',\n\tCHANGE_EVENT = 'Change',\n\tNS = 'mfp',\n\tEVENT_NS = '.' + NS,\n\tREADY_CLASS = 'mfp-ready',\n\tREMOVING_CLASS = 'mfp-removing',\n\tPREVENT_CLOSE_CLASS = 'mfp-prevent-close';\n\n\n/**\n * Private vars \n */\n/*jshint -W079 */\nvar mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'\n\tMagnificPopup = function(){},\n\t_isJQ = !!(window.jQuery),\n\t_prevStatus,\n\t_window = $(window),\n\t_document,\n\t_prevContentType,\n\t_wrapClasses,\n\t_currPopupType;\n\n\n/**\n * Private functions\n */\nvar _mfpOn = function(name, f) {\n\t\tmfp.ev.on(NS + name + EVENT_NS, f);\n\t},\n\t_getEl = function(className, appendTo, html, raw) {\n\t\tvar el = document.createElement('div');\n\t\tel.className = 'mfp-'+className;\n\t\tif(html) {\n\t\t\tel.innerHTML = html;\n\t\t}\n\t\tif(!raw) {\n\t\t\tel = $(el);\n\t\t\tif(appendTo) {\n\t\t\t\tel.appendTo(appendTo);\n\t\t\t}\n\t\t} else if(appendTo) {\n\t\t\tappendTo.appendChild(el);\n\t\t}\n\t\treturn el;\n\t},\n\t_mfpTrigger = function(e, data) {\n\t\tmfp.ev.triggerHandler(NS + e, data);\n\n\t\tif(mfp.st.callbacks) {\n\t\t\t// converts \"mfpEventName\" to \"eventName\" callback and triggers it if it's present\n\t\t\te = e.charAt(0).toLowerCase() + e.slice(1);\n\t\t\tif(mfp.st.callbacks[e]) {\n\t\t\t\tmfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);\n\t\t\t}\n\t\t}\n\t},\n\t_getCloseBtn = function(type) {\n\t\tif(type !== _currPopupType || !mfp.currTemplate.closeBtn) {\n\t\t\tmfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );\n\t\t\t_currPopupType = type;\n\t\t}\n\t\treturn mfp.currTemplate.closeBtn;\n\t},\n\t// Initialize Magnific Popup only when called at least once\n\t_checkInstance = function() {\n\t\tif(!$.magnificPopup.instance) {\n\t\t\t/*jshint -W020 */\n\t\t\tmfp = new MagnificPopup();\n\t\t\tmfp.init();\n\t\t\t$.magnificPopup.instance = mfp;\n\t\t}\n\t},\n\t// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr\n\tsupportsTransitions = function() {\n\t\tvar s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist\n\t\t\tv = ['ms','O','Moz','Webkit']; // 'v' for vendor\n\n\t\tif( s['transition'] !== undefined ) {\n\t\t\treturn true; \n\t\t}\n\t\t\t\n\t\twhile( v.length ) {\n\t\t\tif( v.pop() + 'Transition' in s ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t};\n\n\n\n/**\n * Public functions\n */\nMagnificPopup.prototype = {\n\n\tconstructor: MagnificPopup,\n\n\t/**\n\t * Initializes Magnific Popup plugin. \n\t * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed\n\t */\n\tinit: function() {\n\t\tvar appVersion = navigator.appVersion;\n\t\tmfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;\n\t\tmfp.isAndroid = (/android/gi).test(appVersion);\n\t\tmfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);\n\t\tmfp.supportsTransition = supportsTransitions();\n\n\t\t// We disable fixed positioned lightbox on devices that don't handle it nicely.\n\t\t// If you know a better way of detecting this - let me know.\n\t\tmfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );\n\t\t_document = $(document);\n\n\t\tmfp.popupsCache = {};\n\t},\n\n\t/**\n\t * Opens popup\n\t * @param data [description]\n\t */\n\topen: function(data) {\n\n\t\tvar i;\n\n\t\tif(data.isObj === false) { \n\t\t\t// convert jQuery collection to array to avoid conflicts later\n\t\t\tmfp.items = data.items.toArray();\n\n\t\t\tmfp.index = 0;\n\t\t\tvar items = data.items,\n\t\t\t\titem;\n\t\t\tfor(i = 0; i < items.length; i++) {\n\t\t\t\titem = items[i];\n\t\t\t\tif(item.parsed) {\n\t\t\t\t\titem = item.el[0];\n\t\t\t\t}\n\t\t\t\tif(item === data.el[0]) {\n\t\t\t\t\tmfp.index = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.items = $.isArray(data.items) ? data.items : [data.items];\n\t\t\tmfp.index = data.index || 0;\n\t\t}\n\n\t\t// if popup is already opened - we just update the content\n\t\tif(mfp.isOpen) {\n\t\t\tmfp.updateItemHTML();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmfp.types = []; \n\t\t_wrapClasses = '';\n\t\tif(data.mainEl && data.mainEl.length) {\n\t\t\tmfp.ev = data.mainEl.eq(0);\n\t\t} else {\n\t\t\tmfp.ev = _document;\n\t\t}\n\n\t\tif(data.key) {\n\t\t\tif(!mfp.popupsCache[data.key]) {\n\t\t\t\tmfp.popupsCache[data.key] = {};\n\t\t\t}\n\t\t\tmfp.currTemplate = mfp.popupsCache[data.key];\n\t\t} else {\n\t\t\tmfp.currTemplate = {};\n\t\t}\n\n\n\n\t\tmfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); \n\t\tmfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;\n\n\t\tif(mfp.st.modal) {\n\t\t\tmfp.st.closeOnContentClick = false;\n\t\t\tmfp.st.closeOnBgClick = false;\n\t\t\tmfp.st.showCloseBtn = false;\n\t\t\tmfp.st.enableEscapeKey = false;\n\t\t}\n\t\t\n\n\t\t// Building markup\n\t\t// main containers are created only once\n\t\tif(!mfp.bgOverlay) {\n\n\t\t\t// Dark overlay\n\t\t\tmfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {\n\t\t\t\tmfp.close();\n\t\t\t});\n\n\t\t\tmfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {\n\t\t\t\tif(mfp._checkIfClose(e.target)) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmfp.container = _getEl('container', mfp.wrap);\n\t\t}\n\n\t\tmfp.contentContainer = _getEl('content');\n\t\tif(mfp.st.preloader) {\n\t\t\tmfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);\n\t\t}\n\n\n\t\t// Initializing modules\n\t\tvar modules = $.magnificPopup.modules;\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar n = modules[i];\n\t\t\tn = n.charAt(0).toUpperCase() + n.slice(1);\n\t\t\tmfp['init'+n].call(mfp);\n\t\t}\n\t\t_mfpTrigger('BeforeOpen');\n\n\n\t\tif(mfp.st.showCloseBtn) {\n\t\t\t// Close button\n\t\t\tif(!mfp.st.closeBtnInside) {\n\t\t\t\tmfp.wrap.append( _getCloseBtn() );\n\t\t\t} else {\n\t\t\t\t_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {\n\t\t\t\t\tvalues.close_replaceWith = _getCloseBtn(item.type);\n\t\t\t\t});\n\t\t\t\t_wrapClasses += ' mfp-close-btn-in';\n\t\t\t}\n\t\t}\n\n\t\tif(mfp.st.alignTop) {\n\t\t\t_wrapClasses += ' mfp-align-top';\n\t\t}\n\n\t\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css({\n\t\t\t\toverflow: mfp.st.overflowY,\n\t\t\t\toverflowX: 'hidden',\n\t\t\t\toverflowY: mfp.st.overflowY\n\t\t\t});\n\t\t} else {\n\t\t\tmfp.wrap.css({ \n\t\t\t\ttop: _window.scrollTop(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\t\tif( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {\n\t\t\tmfp.bgOverlay.css({\n\t\t\t\theight: _document.height(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\n\t\t\n\n\t\tif(mfp.st.enableEscapeKey) {\n\t\t\t// Close on ESC key\n\t\t\t_document.on('keyup' + EVENT_NS, function(e) {\n\t\t\t\tif(e.keyCode === 27) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t_window.on('resize' + EVENT_NS, function() {\n\t\t\tmfp.updateSize();\n\t\t});\n\n\n\t\tif(!mfp.st.closeOnContentClick) {\n\t\t\t_wrapClasses += ' mfp-auto-cursor';\n\t\t}\n\t\t\n\t\tif(_wrapClasses)\n\t\t\tmfp.wrap.addClass(_wrapClasses);\n\n\n\t\t// this triggers recalculation of layout, so we get it once to not to trigger twice\n\t\tvar windowHeight = mfp.wH = _window.height();\n\n\t\t\n\t\tvar windowStyles = {};\n\n\t\tif( mfp.fixedContentPos ) {\n if(mfp._hasScrollBar(windowHeight)){\n var s = mfp._getScrollbarSize();\n if(s) {\n windowStyles.marginRight = s;\n }\n }\n }\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tif(!mfp.isIE7) {\n\t\t\t\twindowStyles.overflow = 'hidden';\n\t\t\t} else {\n\t\t\t\t// ie7 double-scroll bug\n\t\t\t\t$('body, html').css('overflow', 'hidden');\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t\n\t\tvar classesToadd = mfp.st.mainClass;\n\t\tif(mfp.isIE7) {\n\t\t\tclassesToadd += ' mfp-ie7';\n\t\t}\n\t\tif(classesToadd) {\n\t\t\tmfp._addClassToMFP( classesToadd );\n\t\t}\n\n\t\t// add content\n\t\tmfp.updateItemHTML();\n\n\t\t_mfpTrigger('BuildControls');\n\n\t\t// remove scrollbar, add margin e.t.c\n\t\t$('html').css(windowStyles);\n\t\t\n\t\t// add everything to DOM\n\t\tmfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );\n\n\t\t// Save last focused element\n\t\tmfp._lastFocusedEl = document.activeElement;\n\t\t\n\t\t// Wait for next cycle to allow CSS transition\n\t\tsetTimeout(function() {\n\t\t\t\n\t\t\tif(mfp.content) {\n\t\t\t\tmfp._addClassToMFP(READY_CLASS);\n\t\t\t\tmfp._setFocus();\n\t\t\t} else {\n\t\t\t\t// if content is not defined (not loaded e.t.c) we add class only for BG\n\t\t\t\tmfp.bgOverlay.addClass(READY_CLASS);\n\t\t\t}\n\t\t\t\n\t\t\t// Trap the focus in popup\n\t\t\t_document.on('focusin' + EVENT_NS, mfp._onFocusIn);\n\n\t\t}, 16);\n\n\t\tmfp.isOpen = true;\n\t\tmfp.updateSize(windowHeight);\n\t\t_mfpTrigger(OPEN_EVENT);\n\n\t\treturn data;\n\t},\n\n\t/**\n\t * Closes the popup\n\t */\n\tclose: function() {\n\t\tif(!mfp.isOpen) return;\n\t\t_mfpTrigger(BEFORE_CLOSE_EVENT);\n\n\t\tmfp.isOpen = false;\n\t\t// for CSS3 animation\n\t\tif(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition ) {\n\t\t\tmfp._addClassToMFP(REMOVING_CLASS);\n\t\t\tsetTimeout(function() {\n\t\t\t\tmfp._close();\n\t\t\t}, mfp.st.removalDelay);\n\t\t} else {\n\t\t\tmfp._close();\n\t\t}\n\t},\n\n\t/**\n\t * Helper for close() function\n\t */\n\t_close: function() {\n\t\t_mfpTrigger(CLOSE_EVENT);\n\n\t\tvar classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';\n\n\t\tmfp.bgOverlay.detach();\n\t\tmfp.wrap.detach();\n\t\tmfp.container.empty();\n\n\t\tif(mfp.st.mainClass) {\n\t\t\tclassesToRemove += mfp.st.mainClass + ' ';\n\t\t}\n\n\t\tmfp._removeClassFromMFP(classesToRemove);\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tvar windowStyles = {marginRight: ''};\n\t\t\tif(mfp.isIE7) {\n\t\t\t\t$('body, html').css('overflow', '');\n\t\t\t} else {\n\t\t\t\twindowStyles.overflow = '';\n\t\t\t}\n\t\t\t$('html').css(windowStyles);\n\t\t}\n\t\t\n\t\t_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);\n\t\tmfp.ev.off(EVENT_NS);\n\n\t\t// clean up DOM elements that aren't removed\n\t\tmfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');\n\t\tmfp.bgOverlay.attr('class', 'mfp-bg');\n\t\tmfp.container.attr('class', 'mfp-container');\n\n\t\t// remove close button from target element\n\t\tif(mfp.st.showCloseBtn &&\n\t\t(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {\n\t\t\tif(mfp.currTemplate.closeBtn)\n\t\t\t\tmfp.currTemplate.closeBtn.detach();\n\t\t}\n\n\n\t\tif(mfp.st.autoFocusLast && mfp._lastFocusedEl) {\n\t\t\t$(mfp._lastFocusedEl).focus(); // put tab focus back\n\t\t}\n\t\tmfp.currItem = null;\t\n\t\tmfp.content = null;\n\t\tmfp.currTemplate = null;\n\t\tmfp.prevHeight = 0;\n\n\t\t_mfpTrigger(AFTER_CLOSE_EVENT);\n\t},\n\t\n\tupdateSize: function(winHeight) {\n\n\t\tif(mfp.isIOS) {\n\t\t\t// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2\n\t\t\tvar zoomLevel = document.documentElement.clientWidth / window.innerWidth;\n\t\t\tvar height = window.innerHeight * zoomLevel;\n\t\t\tmfp.wrap.css('height', height);\n\t\t\tmfp.wH = height;\n\t\t} else {\n\t\t\tmfp.wH = winHeight || _window.height();\n\t\t}\n\t\t// Fixes #84: popup incorrectly positioned with position:relative on body\n\t\tif(!mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css('height', mfp.wH);\n\t\t}\n\n\t\t_mfpTrigger('Resize');\n\n\t},\n\n\t/**\n\t * Set content of popup based on current index\n\t */\n\tupdateItemHTML: function() {\n\t\tvar item = mfp.items[mfp.index];\n\n\t\t// Detach and perform modifications\n\t\tmfp.contentContainer.detach();\n\n\t\tif(mfp.content)\n\t\t\tmfp.content.detach();\n\n\t\tif(!item.parsed) {\n\t\t\titem = mfp.parseEl( mfp.index );\n\t\t}\n\n\t\tvar type = item.type;\n\n\t\t_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);\n\t\t// BeforeChange event works like so:\n\t\t// _mfpOn('BeforeChange', function(e, prevType, newType) { });\n\n\t\tmfp.currItem = item;\n\n\t\tif(!mfp.currTemplate[type]) {\n\t\t\tvar markup = mfp.st[type] ? mfp.st[type].markup : false;\n\n\t\t\t// allows to modify markup\n\t\t\t_mfpTrigger('FirstMarkupParse', markup);\n\n\t\t\tif(markup) {\n\t\t\t\tmfp.currTemplate[type] = $(markup);\n\t\t\t} else {\n\t\t\t\t// if there is no markup found we just define that template is parsed\n\t\t\t\tmfp.currTemplate[type] = true;\n\t\t\t}\n\t\t}\n\n\t\tif(_prevContentType && _prevContentType !== item.type) {\n\t\t\tmfp.container.removeClass('mfp-'+_prevContentType+'-holder');\n\t\t}\n\n\t\tvar newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);\n\t\tmfp.appendContent(newContent, type);\n\n\t\titem.preloaded = true;\n\n\t\t_mfpTrigger(CHANGE_EVENT, item);\n\t\t_prevContentType = item.type;\n\n\t\t// Append container back after its content changed\n\t\tmfp.container.prepend(mfp.contentContainer);\n\n\t\t_mfpTrigger('AfterChange');\n\t},\n\n\n\t/**\n\t * Set HTML content of popup\n\t */\n\tappendContent: function(newContent, type) {\n\t\tmfp.content = newContent;\n\n\t\tif(newContent) {\n\t\t\tif(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&\n\t\t\t\tmfp.currTemplate[type] === true) {\n\t\t\t\t// if there is no markup, we just append close button element inside\n\t\t\t\tif(!mfp.content.find('.mfp-close').length) {\n\t\t\t\t\tmfp.content.append(_getCloseBtn());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmfp.content = newContent;\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.content = '';\n\t\t}\n\n\t\t_mfpTrigger(BEFORE_APPEND_EVENT);\n\t\tmfp.container.addClass('mfp-'+type+'-holder');\n\n\t\tmfp.contentContainer.append(mfp.content);\n\t},\n\n\n\t/**\n\t * Creates Magnific Popup data object based on given data\n\t * @param {int} index Index of item to parse\n\t */\n\tparseEl: function(index) {\n\t\tvar item = mfp.items[index],\n\t\t\ttype;\n\n\t\tif(item.tagName) {\n\t\t\titem = { el: $(item) };\n\t\t} else {\n\t\t\ttype = item.type;\n\t\t\titem = { data: item, src: item.src };\n\t\t}\n\n\t\tif(item.el) {\n\t\t\tvar types = mfp.types;\n\n\t\t\t// check for 'mfp-TYPE' class\n\t\t\tfor(var i = 0; i < types.length; i++) {\n\t\t\t\tif( item.el.hasClass('mfp-'+types[i]) ) {\n\t\t\t\t\ttype = types[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\titem.src = item.el.attr('data-mfp-src');\n\t\t\tif(!item.src) {\n\t\t\t\titem.src = item.el.attr('href');\n\t\t\t}\n\t\t}\n\n\t\titem.type = type || mfp.st.type || 'inline';\n\t\titem.index = index;\n\t\titem.parsed = true;\n\t\tmfp.items[index] = item;\n\t\t_mfpTrigger('ElementParse', item);\n\n\t\treturn mfp.items[index];\n\t},\n\n\n\t/**\n\t * Initializes single popup or a group of popups\n\t */\n\taddGroup: function(el, options) {\n\t\tvar eHandler = function(e) {\n\t\t\te.mfpEl = this;\n\t\t\tmfp._openClick(e, el, options);\n\t\t};\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t}\n\n\t\tvar eName = 'click.magnificPopup';\n\t\toptions.mainEl = el;\n\n\t\tif(options.items) {\n\t\t\toptions.isObj = true;\n\t\t\tel.off(eName).on(eName, eHandler);\n\t\t} else {\n\t\t\toptions.isObj = false;\n\t\t\tif(options.delegate) {\n\t\t\t\tel.off(eName).on(eName, options.delegate , eHandler);\n\t\t\t} else {\n\t\t\t\toptions.items = el;\n\t\t\t\tel.off(eName).on(eName, eHandler);\n\t\t\t}\n\t\t}\n\t},\n\t_openClick: function(e, el, options) {\n\t\tvar midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;\n\n\n\t\tif(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;\n\n\t\tif(disableOn) {\n\t\t\tif($.isFunction(disableOn)) {\n\t\t\t\tif( !disableOn.call(mfp) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else { // else it's number\n\t\t\t\tif( _window.width() < disableOn ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif(e.type) {\n\t\t\te.preventDefault();\n\n\t\t\t// This will prevent popup from closing if element is inside and popup is already opened\n\t\t\tif(mfp.isOpen) {\n\t\t\t\te.stopPropagation();\n\t\t\t}\n\t\t}\n\n\t\toptions.el = $(e.mfpEl);\n\t\tif(options.delegate) {\n\t\t\toptions.items = el.find(options.delegate);\n\t\t}\n\t\tmfp.open(options);\n\t},\n\n\n\t/**\n\t * Updates text on preloader\n\t */\n\tupdateStatus: function(status, text) {\n\n\t\tif(mfp.preloader) {\n\t\t\tif(_prevStatus !== status) {\n\t\t\t\tmfp.container.removeClass('mfp-s-'+_prevStatus);\n\t\t\t}\n\n\t\t\tif(!text && status === 'loading') {\n\t\t\t\ttext = mfp.st.tLoading;\n\t\t\t}\n\n\t\t\tvar data = {\n\t\t\t\tstatus: status,\n\t\t\t\ttext: text\n\t\t\t};\n\t\t\t// allows to modify status\n\t\t\t_mfpTrigger('UpdateStatus', data);\n\n\t\t\tstatus = data.status;\n\t\t\ttext = data.text;\n\n\t\t\tmfp.preloader.html(text);\n\n\t\t\tmfp.preloader.find('a').on('click', function(e) {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t});\n\n\t\t\tmfp.container.addClass('mfp-s-'+status);\n\t\t\t_prevStatus = status;\n\t\t}\n\t},\n\n\n\t/*\n\t\t\"Private\" helpers that aren't private at all\n\t */\n\t// Check to close popup or not\n\t// \"target\" is an element that was clicked\n\t_checkIfClose: function(target) {\n\n\t\tif($(target).hasClass(PREVENT_CLOSE_CLASS)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar closeOnContent = mfp.st.closeOnContentClick;\n\t\tvar closeOnBg = mfp.st.closeOnBgClick;\n\n\t\tif(closeOnContent && closeOnBg) {\n\t\t\treturn true;\n\t\t} else {\n\n\t\t\t// We close the popup if click is on close button or on preloader. Or if there is no content.\n\t\t\tif(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// if click is outside the content\n\t\t\tif( (target !== mfp.content[0] && !$.contains(mfp.content[0], target)) ) {\n\t\t\t\tif(closeOnBg) {\n\t\t\t\t\t// last check, if the clicked element is in DOM, (in case it's removed onclick)\n\t\t\t\t\tif( $.contains(document, target) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if(closeOnContent) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t}\n\t\treturn false;\n\t},\n\t_addClassToMFP: function(cName) {\n\t\tmfp.bgOverlay.addClass(cName);\n\t\tmfp.wrap.addClass(cName);\n\t},\n\t_removeClassFromMFP: function(cName) {\n\t\tthis.bgOverlay.removeClass(cName);\n\t\tmfp.wrap.removeClass(cName);\n\t},\n\t_hasScrollBar: function(winHeight) {\n\t\treturn ( (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );\n\t},\n\t_setFocus: function() {\n\t\t(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();\n\t},\n\t_onFocusIn: function(e) {\n\t\tif( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {\n\t\t\tmfp._setFocus();\n\t\t\treturn false;\n\t\t}\n\t},\n\t_parseMarkup: function(template, values, item) {\n\t\tvar arr;\n\t\tif(item.data) {\n\t\t\tvalues = $.extend(item.data, values);\n\t\t}\n\t\t_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );\n\n\t\t$.each(values, function(key, value) {\n\t\t\tif(value === undefined || value === false) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tarr = key.split('_');\n\t\t\tif(arr.length > 1) {\n\t\t\t\tvar el = template.find(EVENT_NS + '-'+arr[0]);\n\n\t\t\t\tif(el.length > 0) {\n\t\t\t\t\tvar attr = arr[1];\n\t\t\t\t\tif(attr === 'replaceWith') {\n\t\t\t\t\t\tif(el[0] !== value[0]) {\n\t\t\t\t\t\t\tel.replaceWith(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(attr === 'img') {\n\t\t\t\t\t\tif(el.is('img')) {\n\t\t\t\t\t\t\tel.attr('src', value);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tel.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.attr(arr[1], value);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\ttemplate.find(EVENT_NS + '-'+key).html(value);\n\t\t\t}\n\t\t});\n\t},\n\n\t_getScrollbarSize: function() {\n\t\t// thx David\n\t\tif(mfp.scrollbarSize === undefined) {\n\t\t\tvar scrollDiv = document.createElement(\"div\");\n\t\t\tscrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';\n\t\t\tdocument.body.appendChild(scrollDiv);\n\t\t\tmfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t\t\tdocument.body.removeChild(scrollDiv);\n\t\t}\n\t\treturn mfp.scrollbarSize;\n\t}\n\n}; /* MagnificPopup core prototype end */\n\n\n\n\n/**\n * Public static functions\n */\n$.magnificPopup = {\n\tinstance: null,\n\tproto: MagnificPopup.prototype,\n\tmodules: [],\n\n\topen: function(options, index) {\n\t\t_checkInstance();\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t} else {\n\t\t\toptions = $.extend(true, {}, options);\n\t\t}\n\n\t\toptions.isObj = true;\n\t\toptions.index = index || 0;\n\t\treturn this.instance.open(options);\n\t},\n\n\tclose: function() {\n\t\treturn $.magnificPopup.instance && $.magnificPopup.instance.close();\n\t},\n\n\tregisterModule: function(name, module) {\n\t\tif(module.options) {\n\t\t\t$.magnificPopup.defaults[name] = module.options;\n\t\t}\n\t\t$.extend(this.proto, module.proto);\n\t\tthis.modules.push(name);\n\t},\n\n\tdefaults: {\n\n\t\t// Info about options is in docs:\n\t\t// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options\n\n\t\tdisableOn: 0,\n\n\t\tkey: null,\n\n\t\tmidClick: false,\n\n\t\tmainClass: '',\n\n\t\tpreloader: true,\n\n\t\tfocus: '', // CSS selector of input to focus after popup is opened\n\n\t\tcloseOnContentClick: false,\n\n\t\tcloseOnBgClick: true,\n\n\t\tcloseBtnInside: true,\n\n\t\tshowCloseBtn: true,\n\n\t\tenableEscapeKey: true,\n\n\t\tmodal: false,\n\n\t\talignTop: false,\n\n\t\tremovalDelay: 0,\n\n\t\tprependTo: null,\n\n\t\tfixedContentPos: 'auto',\n\n\t\tfixedBgPos: 'auto',\n\n\t\toverflowY: 'auto',\n\n\t\tcloseMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>',\n\n\t\ttClose: 'Close (Esc)',\n\n\t\ttLoading: 'Loading...',\n\n\t\tautoFocusLast: true\n\n\t}\n};\n\n\n\n$.fn.magnificPopup = function(options) {\n\t_checkInstance();\n\n\tvar jqEl = $(this);\n\n\t// We call some API method of first param is a string\n\tif (typeof options === \"string\" ) {\n\n\t\tif(options === 'open') {\n\t\t\tvar items,\n\t\t\t\titemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,\n\t\t\t\tindex = parseInt(arguments[1], 10) || 0;\n\n\t\t\tif(itemOpts.items) {\n\t\t\t\titems = itemOpts.items[index];\n\t\t\t} else {\n\t\t\t\titems = jqEl;\n\t\t\t\tif(itemOpts.delegate) {\n\t\t\t\t\titems = items.find(itemOpts.delegate);\n\t\t\t\t}\n\t\t\t\titems = items.eq( index );\n\t\t\t}\n\t\t\tmfp._openClick({mfpEl:items}, jqEl, itemOpts);\n\t\t} else {\n\t\t\tif(mfp.isOpen)\n\t\t\t\tmfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));\n\t\t}\n\n\t} else {\n\t\t// clone options obj\n\t\toptions = $.extend(true, {}, options);\n\n\t\t/*\n\t\t * As Zepto doesn't support .data() method for objects\n\t\t * and it works only in normal browsers\n\t\t * we assign \"options\" object directly to the DOM element. FTW!\n\t\t */\n\t\tif(_isJQ) {\n\t\t\tjqEl.data('magnificPopup', options);\n\t\t} else {\n\t\t\tjqEl[0].magnificPopup = options;\n\t\t}\n\n\t\tmfp.addGroup(jqEl, options);\n\n\t}\n\treturn jqEl;\n};\n\n/*>>core*/\n\n/*>>inline*/\n\nvar INLINE_NS = 'inline',\n\t_hiddenClass,\n\t_inlinePlaceholder,\n\t_lastInlineElement,\n\t_putInlineElementsBack = function() {\n\t\tif(_lastInlineElement) {\n\t\t\t_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();\n\t\t\t_lastInlineElement = null;\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(INLINE_NS, {\n\toptions: {\n\t\thiddenClass: 'hide', // will be appended with `mfp-` prefix\n\t\tmarkup: '',\n\t\ttNotFound: 'Content not found'\n\t},\n\tproto: {\n\n\t\tinitInline: function() {\n\t\t\tmfp.types.push(INLINE_NS);\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {\n\t\t\t\t_putInlineElementsBack();\n\t\t\t});\n\t\t},\n\n\t\tgetInline: function(item, template) {\n\n\t\t\t_putInlineElementsBack();\n\n\t\t\tif(item.src) {\n\t\t\t\tvar inlineSt = mfp.st.inline,\n\t\t\t\t\tel = $(item.src);\n\n\t\t\t\tif(el.length) {\n\n\t\t\t\t\t// If target element has parent - we replace it with placeholder and put it back after popup is closed\n\t\t\t\t\tvar parent = el[0].parentNode;\n\t\t\t\t\tif(parent && parent.tagName) {\n\t\t\t\t\t\tif(!_inlinePlaceholder) {\n\t\t\t\t\t\t\t_hiddenClass = inlineSt.hiddenClass;\n\t\t\t\t\t\t\t_inlinePlaceholder = _getEl(_hiddenClass);\n\t\t\t\t\t\t\t_hiddenClass = 'mfp-'+_hiddenClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// replace target inline element with placeholder\n\t\t\t\t\t\t_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);\n\t\t\t\t\t}\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t} else {\n\t\t\t\t\tmfp.updateStatus('error', inlineSt.tNotFound);\n\t\t\t\t\tel = $('<div>');\n\t\t\t\t}\n\n\t\t\t\titem.inlineElement = el;\n\t\t\t\treturn el;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('ready');\n\t\t\tmfp._parseMarkup(template, {}, item);\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>inline*/\n\n/*>>ajax*/\nvar AJAX_NS = 'ajax',\n\t_ajaxCur,\n\t_removeAjaxCursor = function() {\n\t\tif(_ajaxCur) {\n\t\t\t$(document.body).removeClass(_ajaxCur);\n\t\t}\n\t},\n\t_destroyAjaxRequest = function() {\n\t\t_removeAjaxCursor();\n\t\tif(mfp.req) {\n\t\t\tmfp.req.abort();\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(AJAX_NS, {\n\n\toptions: {\n\t\tsettings: null,\n\t\tcursor: 'mfp-ajax-cur',\n\t\ttError: '<a href=\"%url%\">The content</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitAjax: function() {\n\t\t\tmfp.types.push(AJAX_NS);\n\t\t\t_ajaxCur = mfp.st.ajax.cursor;\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);\n\t\t\t_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);\n\t\t},\n\t\tgetAjax: function(item) {\n\n\t\t\tif(_ajaxCur) {\n\t\t\t\t$(document.body).addClass(_ajaxCur);\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\n\t\t\tvar opts = $.extend({\n\t\t\t\turl: item.src,\n\t\t\t\tsuccess: function(data, textStatus, jqXHR) {\n\t\t\t\t\tvar temp = {\n\t\t\t\t\t\tdata:data,\n\t\t\t\t\t\txhr:jqXHR\n\t\t\t\t\t};\n\n\t\t\t\t\t_mfpTrigger('ParseAjax', temp);\n\n\t\t\t\t\tmfp.appendContent( $(temp.data), AJAX_NS );\n\n\t\t\t\t\titem.finished = true;\n\n\t\t\t\t\t_removeAjaxCursor();\n\n\t\t\t\t\tmfp._setFocus();\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tmfp.wrap.addClass(READY_CLASS);\n\t\t\t\t\t}, 16);\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\n\t\t\t\t\t_mfpTrigger('AjaxContentAdded');\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\t_removeAjaxCursor();\n\t\t\t\t\titem.finished = item.loadError = true;\n\t\t\t\t\tmfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));\n\t\t\t\t}\n\t\t\t}, mfp.st.ajax.settings);\n\n\t\t\tmfp.req = $.ajax(opts);\n\n\t\t\treturn '';\n\t\t}\n\t}\n});\n\n/*>>ajax*/\n\n/*>>image*/\nvar _imgInterval,\n\t_getTitle = function(item) {\n\t\tif(item.data && item.data.title !== undefined)\n\t\t\treturn item.data.title;\n\n\t\tvar src = mfp.st.image.titleSrc;\n\n\t\tif(src) {\n\t\t\tif($.isFunction(src)) {\n\t\t\t\treturn src.call(mfp, item);\n\t\t\t} else if(item.el) {\n\t\t\t\treturn item.el.attr(src) || '';\n\t\t\t}\n\t\t}\n\t\treturn '';\n\t};\n\n$.magnificPopup.registerModule('image', {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-figure\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<figure>'+\n\t\t\t\t\t\t'<div class=\"mfp-img\"></div>'+\n\t\t\t\t\t\t'<figcaption>'+\n\t\t\t\t\t\t\t'<div class=\"mfp-bottom-bar\">'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-title\"></div>'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-counter\"></div>'+\n\t\t\t\t\t\t\t'</div>'+\n\t\t\t\t\t\t'</figcaption>'+\n\t\t\t\t\t'</figure>'+\n\t\t\t\t'</div>',\n\t\tcursor: 'mfp-zoom-out-cur',\n\t\ttitleSrc: 'title',\n\t\tverticalFit: true,\n\t\ttError: '<a href=\"%url%\">The image</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitImage: function() {\n\t\t\tvar imgSt = mfp.st.image,\n\t\t\t\tns = '.image';\n\n\t\t\tmfp.types.push('image');\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\t\t\t\tif(mfp.currItem.type === 'image' && imgSt.cursor) {\n\t\t\t\t\t$(document.body).addClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(imgSt.cursor) {\n\t\t\t\t\t$(document.body).removeClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t\t_window.off('resize' + EVENT_NS);\n\t\t\t});\n\n\t\t\t_mfpOn('Resize'+ns, mfp.resizeImage);\n\t\t\tif(mfp.isLowIE) {\n\t\t\t\t_mfpOn('AfterChange', mfp.resizeImage);\n\t\t\t}\n\t\t},\n\t\tresizeImage: function() {\n\t\t\tvar item = mfp.currItem;\n\t\t\tif(!item || !item.img) return;\n\n\t\t\tif(mfp.st.image.verticalFit) {\n\t\t\t\tvar decr = 0;\n\t\t\t\t// fix box-sizing in ie7/8\n\t\t\t\tif(mfp.isLowIE) {\n\t\t\t\t\tdecr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);\n\t\t\t\t}\n\t\t\t\titem.img.css('max-height', mfp.wH-decr);\n\t\t\t}\n\t\t},\n\t\t_onImageHasSize: function(item) {\n\t\t\tif(item.img) {\n\n\t\t\t\titem.hasSize = true;\n\n\t\t\t\tif(_imgInterval) {\n\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t}\n\n\t\t\t\titem.isCheckingImgSize = false;\n\n\t\t\t\t_mfpTrigger('ImageHasSize', item);\n\n\t\t\t\tif(item.imgHidden) {\n\t\t\t\t\tif(mfp.content)\n\t\t\t\t\t\tmfp.content.removeClass('mfp-loading');\n\n\t\t\t\t\titem.imgHidden = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Function that loops until the image has size to display elements that rely on it asap\n\t\t */\n\t\tfindImageSize: function(item) {\n\n\t\t\tvar counter = 0,\n\t\t\t\timg = item.img[0],\n\t\t\t\tmfpSetInterval = function(delay) {\n\n\t\t\t\t\tif(_imgInterval) {\n\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t}\n\t\t\t\t\t// decelerating interval that checks for size of an image\n\t\t\t\t\t_imgInterval = setInterval(function() {\n\t\t\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(counter > 200) {\n\t\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\tif(counter === 3) {\n\t\t\t\t\t\t\tmfpSetInterval(10);\n\t\t\t\t\t\t} else if(counter === 40) {\n\t\t\t\t\t\t\tmfpSetInterval(50);\n\t\t\t\t\t\t} else if(counter === 100) {\n\t\t\t\t\t\t\tmfpSetInterval(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, delay);\n\t\t\t\t};\n\n\t\t\tmfpSetInterval(1);\n\t\t},\n\n\t\tgetImage: function(item, template) {\n\n\t\t\tvar guard = 0,\n\n\t\t\t\t// image load complete handler\n\t\t\t\tonLoadComplete = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\tif (item.img[0].complete) {\n\t\t\t\t\t\t\titem.img.off('.mfploader');\n\n\t\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\n\t\t\t\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\t\titem.loaded = true;\n\n\t\t\t\t\t\t\t_mfpTrigger('ImageLoadComplete');\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// if image complete check fails 200 times (20 sec), we assume that there was an error.\n\t\t\t\t\t\t\tguard++;\n\t\t\t\t\t\t\tif(guard < 200) {\n\t\t\t\t\t\t\t\tsetTimeout(onLoadComplete,100);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tonLoadError();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// image error handler\n\t\t\t\tonLoadError = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\titem.img.off('.mfploader');\n\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\titem.loaded = true;\n\t\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timgSt = mfp.st.image;\n\n\n\t\t\tvar el = template.find('.mfp-img');\n\t\t\tif(el.length) {\n\t\t\t\tvar img = document.createElement('img');\n\t\t\t\timg.className = 'mfp-img';\n\t\t\t\tif(item.el && item.el.find('img').length) {\n\t\t\t\t\timg.alt = item.el.find('img').attr('alt');\n\t\t\t\t}\n\t\t\t\titem.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);\n\t\t\t\timg.src = item.src;\n\n\t\t\t\t// without clone() \"error\" event is not firing when IMG is replaced by new IMG\n\t\t\t\t// TODO: find a way to avoid such cloning\n\t\t\t\tif(el.is('img')) {\n\t\t\t\t\titem.img = item.img.clone();\n\t\t\t\t}\n\n\t\t\t\timg = item.img[0];\n\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t} else if(!img.width) {\n\t\t\t\t\titem.hasSize = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmfp._parseMarkup(template, {\n\t\t\t\ttitle: _getTitle(item),\n\t\t\t\timg_replaceWith: item.img\n\t\t\t}, item);\n\n\t\t\tmfp.resizeImage();\n\n\t\t\tif(item.hasSize) {\n\t\t\t\tif(_imgInterval) clearInterval(_imgInterval);\n\n\t\t\t\tif(item.loadError) {\n\t\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t} else {\n\t\t\t\t\ttemplate.removeClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t}\n\t\t\t\treturn template;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\t\t\titem.loading = true;\n\n\t\t\tif(!item.hasSize) {\n\t\t\t\titem.imgHidden = true;\n\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\tmfp.findImageSize(item);\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>image*/\n\n/*>>zoom*/\nvar hasMozTransform,\n\tgetHasMozTransform = function() {\n\t\tif(hasMozTransform === undefined) {\n\t\t\thasMozTransform = document.createElement('p').style.MozTransform !== undefined;\n\t\t}\n\t\treturn hasMozTransform;\n\t};\n\n$.magnificPopup.registerModule('zoom', {\n\n\toptions: {\n\t\tenabled: false,\n\t\teasing: 'ease-in-out',\n\t\tduration: 300,\n\t\topener: function(element) {\n\t\t\treturn element.is('img') ? element : element.find('img');\n\t\t}\n\t},\n\n\tproto: {\n\n\t\tinitZoom: function() {\n\t\t\tvar zoomSt = mfp.st.zoom,\n\t\t\t\tns = '.zoom',\n\t\t\t\timage;\n\n\t\t\tif(!zoomSt.enabled || !mfp.supportsTransition) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar duration = zoomSt.duration,\n\t\t\t\tgetElToAnimate = function(image) {\n\t\t\t\t\tvar newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),\n\t\t\t\t\t\ttransition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,\n\t\t\t\t\t\tcssObj = {\n\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\tzIndex: 9999,\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t'-webkit-backface-visibility': 'hidden'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tt = 'transition';\n\n\t\t\t\t\tcssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;\n\n\t\t\t\t\tnewImg.css(cssObj);\n\t\t\t\t\treturn newImg;\n\t\t\t\t},\n\t\t\t\tshowMainContent = function() {\n\t\t\t\t\tmfp.content.css('visibility', 'visible');\n\t\t\t\t},\n\t\t\t\topenTimeout,\n\t\t\t\tanimatedImg;\n\n\t\t\t_mfpOn('BuildControls'+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\t// Basically, all code below does is clones existing image, puts in on top of the current one and animated it\n\n\t\t\t\t\timage = mfp._getItemToZoom();\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\tshowMainContent();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\n\t\t\t\t\topenTimeout = setTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset( true ) );\n\t\t\t\t\t\topenTimeout = setTimeout(function() {\n\n\t\t\t\t\t\t\tshowMainContent();\n\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t\t\t\timage = animatedImg = null;\n\t\t\t\t\t\t\t\t_mfpTrigger('ZoomAnimationEnded');\n\t\t\t\t\t\t\t}, 16); // avoid blink when switching images\n\n\t\t\t\t\t\t}, duration); // this timeout equals animation duration\n\n\t\t\t\t\t}, 16); // by adding this timeout we avoid short glitch at the beginning of animation\n\n\n\t\t\t\t\t// Lots of timeouts...\n\t\t\t\t}\n\t\t\t});\n\t\t\t_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\n\t\t\t\t\tmfp.st.removalDelay = duration;\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\timage = mfp._getItemToZoom();\n\t\t\t\t\t\tif(!image) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset(true) );\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\t\t\t\t\t}, 16);\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\t\t\t\t\tshowMainContent();\n\t\t\t\t\tif(animatedImg) {\n\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t}\n\t\t\t\t\timage = null;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\t_allowZoom: function() {\n\t\t\treturn mfp.currItem.type === 'image';\n\t\t},\n\n\t\t_getItemToZoom: function() {\n\t\t\tif(mfp.currItem.hasSize) {\n\t\t\t\treturn mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Get element postion relative to viewport\n\t\t_getOffset: function(isLarge) {\n\t\t\tvar el;\n\t\t\tif(isLarge) {\n\t\t\t\tel = mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\tel = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);\n\t\t\t}\n\n\t\t\tvar offset = el.offset();\n\t\t\tvar paddingTop = parseInt(el.css('padding-top'),10);\n\t\t\tvar paddingBottom = parseInt(el.css('padding-bottom'),10);\n\t\t\toffset.top -= ( $(window).scrollTop() - paddingTop );\n\n\n\t\t\t/*\n\n\t\t\tAnimating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.\n\n\t\t\t */\n\t\t\tvar obj = {\n\t\t\t\twidth: el.width(),\n\t\t\t\t// fix Zepto height+padding issue\n\t\t\t\theight: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop\n\t\t\t};\n\n\t\t\t// I hate to do this, but there is no another option\n\t\t\tif( getHasMozTransform() ) {\n\t\t\t\tobj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';\n\t\t\t} else {\n\t\t\t\tobj.left = offset.left;\n\t\t\t\tobj.top = offset.top;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}\n\n\t}\n});\n\n\n\n/*>>zoom*/\n\n/*>>iframe*/\n\nvar IFRAME_NS = 'iframe',\n\t_emptyPage = '//about:blank',\n\n\t_fixIframeBugs = function(isShowing) {\n\t\tif(mfp.currTemplate[IFRAME_NS]) {\n\t\t\tvar el = mfp.currTemplate[IFRAME_NS].find('iframe');\n\t\t\tif(el.length) {\n\t\t\t\t// reset src after the popup is closed to avoid \"video keeps playing after popup is closed\" bug\n\t\t\t\tif(!isShowing) {\n\t\t\t\t\tel[0].src = _emptyPage;\n\t\t\t\t}\n\n\t\t\t\t// IE8 black screen bug fix\n\t\t\t\tif(mfp.isIE8) {\n\t\t\t\t\tel.css('display', isShowing ? 'block' : 'none');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(IFRAME_NS, {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-iframe-scaler\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe>'+\n\t\t\t\t'</div>',\n\n\t\tsrcAction: 'iframe_src',\n\n\t\t// we don't care and support only one default type of URL by default\n\t\tpatterns: {\n\t\t\tyoutube: {\n\t\t\t\tindex: 'youtube.com',\n\t\t\t\tid: 'v=',\n\t\t\t\tsrc: '//www.youtube.com/embed/%id%?autoplay=1'\n\t\t\t},\n\t\t\tvimeo: {\n\t\t\t\tindex: 'vimeo.com/',\n\t\t\t\tid: '/',\n\t\t\t\tsrc: '//player.vimeo.com/video/%id%?autoplay=1'\n\t\t\t},\n\t\t\tgmaps: {\n\t\t\t\tindex: '//maps.google.',\n\t\t\t\tsrc: '%id%&output=embed'\n\t\t\t}\n\t\t}\n\t},\n\n\tproto: {\n\t\tinitIframe: function() {\n\t\t\tmfp.types.push(IFRAME_NS);\n\n\t\t\t_mfpOn('BeforeChange', function(e, prevType, newType) {\n\t\t\t\tif(prevType !== newType) {\n\t\t\t\t\tif(prevType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(); // iframe if removed\n\t\t\t\t\t} else if(newType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(true); // iframe is showing\n\t\t\t\t\t}\n\t\t\t\t}// else {\n\t\t\t\t\t// iframe source is switched, don't do anything\n\t\t\t\t//}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {\n\t\t\t\t_fixIframeBugs();\n\t\t\t});\n\t\t},\n\n\t\tgetIframe: function(item, template) {\n\t\t\tvar embedSrc = item.src;\n\t\t\tvar iframeSt = mfp.st.iframe;\n\n\t\t\t$.each(iframeSt.patterns, function() {\n\t\t\t\tif(embedSrc.indexOf( this.index ) > -1) {\n\t\t\t\t\tif(this.id) {\n\t\t\t\t\t\tif(typeof this.id === 'string') {\n\t\t\t\t\t\t\tembedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tembedSrc = this.id.call( this, embedSrc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tembedSrc = this.src.replace('%id%', embedSrc );\n\t\t\t\t\treturn false; // break;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar dataObj = {};\n\t\t\tif(iframeSt.srcAction) {\n\t\t\t\tdataObj[iframeSt.srcAction] = embedSrc;\n\t\t\t}\n\t\t\tmfp._parseMarkup(template, dataObj, item);\n\n\t\t\tmfp.updateStatus('ready');\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n\n\n/*>>iframe*/\n\n/*>>gallery*/\n/**\n * Get looped index depending on number of slides\n */\nvar _getLoopedId = function(index) {\n\t\tvar numSlides = mfp.items.length;\n\t\tif(index > numSlides - 1) {\n\t\t\treturn index - numSlides;\n\t\t} else if(index < 0) {\n\t\t\treturn numSlides + index;\n\t\t}\n\t\treturn index;\n\t},\n\t_replaceCurrTotal = function(text, curr, total) {\n\t\treturn text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);\n\t};\n\n$.magnificPopup.registerModule('gallery', {\n\n\toptions: {\n\t\tenabled: false,\n\t\tarrowMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>',\n\t\tpreload: [0,2],\n\t\tnavigateByImgClick: true,\n\t\tarrows: true,\n\n\t\ttPrev: 'Previous (Left arrow key)',\n\t\ttNext: 'Next (Right arrow key)',\n\t\ttCounter: '%curr% of %total%'\n\t},\n\n\tproto: {\n\t\tinitGallery: function() {\n\n\t\t\tvar gSt = mfp.st.gallery,\n\t\t\t\tns = '.mfp-gallery';\n\n\t\t\tmfp.direction = true; // true - next, false - prev\n\n\t\t\tif(!gSt || !gSt.enabled ) return false;\n\n\t\t\t_wrapClasses += ' mfp-gallery';\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\n\t\t\t\tif(gSt.navigateByImgClick) {\n\t\t\t\t\tmfp.wrap.on('click'+ns, '.mfp-img', function() {\n\t\t\t\t\t\tif(mfp.items.length > 1) {\n\t\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t_document.on('keydown'+ns, function(e) {\n\t\t\t\t\tif (e.keyCode === 37) {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t} else if (e.keyCode === 39) {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t_mfpOn('UpdateStatus'+ns, function(e, data) {\n\t\t\t\tif(data.text) {\n\t\t\t\t\tdata.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {\n\t\t\t\tvar l = mfp.items.length;\n\t\t\t\tvalues.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';\n\t\t\t});\n\n\t\t\t_mfpOn('BuildControls' + ns, function() {\n\t\t\t\tif(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {\n\t\t\t\t\tvar markup = gSt.arrowMarkup,\n\t\t\t\t\t\tarrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),\n\t\t\t\t\t\tarrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);\n\n\t\t\t\t\tarrowLeft.click(function() {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t});\n\t\t\t\t\tarrowRight.click(function() {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t});\n\n\t\t\t\t\tmfp.container.append(arrowLeft.add(arrowRight));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CHANGE_EVENT+ns, function() {\n\t\t\t\tif(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);\n\n\t\t\t\tmfp._preloadTimeout = setTimeout(function() {\n\t\t\t\t\tmfp.preloadNearbyImages();\n\t\t\t\t\tmfp._preloadTimeout = null;\n\t\t\t\t}, 16);\n\t\t\t});\n\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\t_document.off(ns);\n\t\t\t\tmfp.wrap.off('click'+ns);\n\t\t\t\tmfp.arrowRight = mfp.arrowLeft = null;\n\t\t\t});\n\n\t\t},\n\t\tnext: function() {\n\t\t\tmfp.direction = true;\n\t\t\tmfp.index = _getLoopedId(mfp.index + 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tprev: function() {\n\t\t\tmfp.direction = false;\n\t\t\tmfp.index = _getLoopedId(mfp.index - 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tgoTo: function(newIndex) {\n\t\t\tmfp.direction = (newIndex >= mfp.index);\n\t\t\tmfp.index = newIndex;\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tpreloadNearbyImages: function() {\n\t\t\tvar p = mfp.st.gallery.preload,\n\t\t\t\tpreloadBefore = Math.min(p[0], mfp.items.length),\n\t\t\t\tpreloadAfter = Math.min(p[1], mfp.items.length),\n\t\t\t\ti;\n\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index+i);\n\t\t\t}\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index-i);\n\t\t\t}\n\t\t},\n\t\t_preloadItem: function(index) {\n\t\t\tindex = _getLoopedId(index);\n\n\t\t\tif(mfp.items[index].preloaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar item = mfp.items[index];\n\t\t\tif(!item.parsed) {\n\t\t\t\titem = mfp.parseEl( index );\n\t\t\t}\n\n\t\t\t_mfpTrigger('LazyLoad', item);\n\n\t\t\tif(item.type === 'image') {\n\t\t\t\titem.img = $('<img class=\"mfp-img\" />').on('load.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t}).on('error.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t_mfpTrigger('LazyLoadError', item);\n\t\t\t\t}).attr('src', item.src);\n\t\t\t}\n\n\n\t\t\titem.preloaded = true;\n\t\t}\n\t}\n});\n\n/*>>gallery*/\n\n/*>>retina*/\n\nvar RETINA_NS = 'retina';\n\n$.magnificPopup.registerModule(RETINA_NS, {\n\toptions: {\n\t\treplaceSrc: function(item) {\n\t\t\treturn item.src.replace(/\\.\\w+$/, function(m) { return '@2x' + m; });\n\t\t},\n\t\tratio: 1 // Function or number. Set to 1 to disable.\n\t},\n\tproto: {\n\t\tinitRetina: function() {\n\t\t\tif(window.devicePixelRatio > 1) {\n\n\t\t\t\tvar st = mfp.st.retina,\n\t\t\t\t\tratio = st.ratio;\n\n\t\t\t\tratio = !isNaN(ratio) ? ratio : ratio();\n\n\t\t\t\tif(ratio > 1) {\n\t\t\t\t\t_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.img.css({\n\t\t\t\t\t\t\t'max-width': item.img[0].naturalWidth / ratio,\n\t\t\t\t\t\t\t'width': '100%'\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\t_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.src = st.replaceSrc(item, ratio);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n});\n\n/*>>retina*/\n _checkInstance(); }));\n\n/***/ }),\n\n/***/ 95:\n/***/ (function(module, exports) {\n\nmodule.exports = jQuery;\n\n/***/ }),\n\n/***/ 96:\n/***/ (function(module, exports) {\n\n(function (globalSope) {\n 'use strict';\n\n /**\n * Including this file adds the `addDynamicListener` to the ELement prototype.\n * \n * The dynamic listener gets an extra `selector` parameter that only calls the callback\n * if the target element matches the selector.\n * \n * The listener has to be added to the container/root element and the selector should match\n * the elements that should trigger the event.\n * \n * Browser support: IE9+\n */\n\n // Polyfil Element.matches\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches#Polyfill\n\n if (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector || function (s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1;\n };\n }\n\n /**\n * Returns a modified callback function that calls the\n * initial callback function only if the target element matches the given selector\n * \n * @param {string} selector \n * @param {function} callback \n */\n function getConditionalCallback(selector, callback) {\n return function (e) {\n if (!e.target) return;\n if (!e.target.matches(selector)) return;\n callback.apply(this, arguments);\n };\n }\n\n /**\n * \n * \n * @param {Element} rootElement The root element to add the linster too.\n * @param {string} eventType The event type to listen for.\n * @param {string} selector The selector that should match the dynamic elements.\n * @param {function} callback The function to call when an event occurs on the given selector.\n * @param {boolean|object} options Passed as the regular `options` parameter to the addEventListener function\n * Set to `true` to use capture.\n * Usually used as an object to add the listener as `passive`\n */\n globalSope.addDynamicEventListener = function (rootElement, eventType, selector, callback, options) {\n rootElement.addEventListener(eventType, getConditionalCallback(selector, callback), options);\n };\n})(window);\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// js/admin-shortcodes.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 367);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 04182ef36989b2348151","/*!\n * Give Admin Shortcodes JS\n *\n * @description: The Give Admin Shortcode scripts. Only enqueued on the admin widgets screen; used to show shortcode dialogs, show/hide, and other functions\n * @package: Give\n * @subpackage: Assets/JS\n * @author: Paul Ryley\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n * @since: 1.3.0\n */\n\n/* global ajaxurl, jQuery, scShortcodes, tinymce */\n\nimport {GiveWarningAlert, GiveErrorAlert, GiveConfirmModal} from '../../../assets/src/js/plugins/modal';\n\nvar scShortcode, scButton;\n\n\njQuery( function( $ ) {\n\n\tlet doc = $( this );\n\n\t/**\n\t * Show continue button title setting field only if display style is not All Fields.\n\t */\n\twindow.render_continue_button_title_field = function() {\n\t\tvar selected_display_style = $('.mce-txt', '.mce-give-display-style').text(),\n\t\t\texpected_display_styles = [ '- Select -', 'All Fields' ];\n\n\t\tif( -1 !== $.inArray( selected_display_style, expected_display_styles ) ) {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container' ).hide()\n\t\t} else {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container' ).show()\n\t\t}\n\t};\n\n\twindow.scForm = {\n\n\t\topen: function( editor_id ) {\n\t\t\tvar editor = tinymce.get( editor_id );\n\n\t\t\tif ( ! editor ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar data, field, required, valid, win;\n\n\t\t\tdata = {\n\t\t\t\taction : 'give_shortcode',\n\t\t\t\tshortcode : scShortcode\n\t\t\t};\n\n\t\t\t$.post( ajaxurl, data, function( response ) {\n\n\t\t\t\t// what happens if response === false?\n\t\t\t\tif ( ! response.body ) {\n\t\t\t\t\tconsole.error( 'Bad AJAX response!' );\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif ( response.body.length === 0 ) {\n\t\t\t\t\twindow.send_to_editor( '[' + response.shortcode + ']' );\n\n\t\t\t\t\tscForm.destroy();\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Render continue button title setting field on basis of display style value.\n\t\t\t\t */\n\t\t\t\t$.each( response.body, function( index, item ){\n\n\t\t\t\t\tif( 'display_style' === item.name ) {\n\t\t\t\t\t\tresponse.body[index].onselect = function(){\n\t\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tvar popup = {\n\t\t\t\t\ttitle : response.title,\n\t\t\t\t\tbody : response.body,\n\t\t\t\t\tclasses: 'sc-popup',\n\t\t\t\t\tminWidth: 320,\n\t\t\t\t\tbuttons : [ {\n\t\t\t\t\t\ttext : response.ok,\n\t\t\t\t\t\tclasses : 'primary sc-primary',\n\t\t\t\t\t\tonclick : function() {\n\t\t\t\t\t\t\t// Get the top most window object\n\t\t\t\t\t\t\twin = editor.windowManager.getWindows()[0];\n\n\t\t\t\t\t\t\t// Get the shortcode required attributes\n\t\t\t\t\t\t\trequired = scShortcodes[ scShortcode ];\n\n\t\t\t\t\t\t\tvalid = true;\n\n\t\t\t\t\t\t\t// Do some validation voodoo\n\t\t\t\t\t\t\tfor ( var id in required ) {\n\t\t\t\t\t\t\t\tif ( required.hasOwnProperty( id ) ) {\n\n\t\t\t\t\t\t\t\t\tfield = win.find( '#' + id )[0];\n\n\t\t\t\t\t\t\t\t\tif ( typeof field !== 'undefined' && field.state.data.value === '' ) {\n\n\t\t\t\t\t\t\t\t\t\tvalid = false;\n\n\t\t\t\t\t\t\t\t\t\tnew GiveErrorAlert({\n\t\t\t\t\t\t\t\t\t\t\tmodalContent:{\n\t\t\t\t\t\t\t\t\t\t\t\tdesc: required[ id ],\n\t\t\t\t\t\t\t\t\t\t\t\tcancelBtnTitle: give_vars.ok,\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}).render();\n\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif ( valid ) {\n\t\t\t\t\t\t\t\twin.submit();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttext : response.close,\n\t\t\t\t\t\t\tonclick : 'close'\n\t\t\t\t\t}, ],\n\t\t\t\t\tonsubmit: function( e ) {\n\t\t\t\t\t\tvar attributes = '';\n\n\t\t\t\t\t\tfor ( var key in e.data ) {\n\t\t\t\t\t\t\tif ( e.data.hasOwnProperty( key ) && e.data[ key ] !== '' ) {\n\t\t\t\t\t\t\t\tattributes += ' ' + key + '=\"' + e.data[ key ] + '\"';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Insert shortcode into the WP_Editor\n\t\t\t\t\t\twindow.send_to_editor( '[' + response.shortcode + attributes + ']' );\n\t\t\t\t\t},\n\t\t\t\t\tonclose: function() {\n\t\t\t\t\t\tscForm.destroy();\n\t\t\t\t\t},\n\t\t\t\t\tonopen: function() {\n\t\t\t\t\t\t// Conditional fields.\n\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Change the buttons if server-side validation failed\n\t\t\t\tif ( response.ok.constructor === Array ) {\n\t\t\t\t\tpopup.buttons[0].text = response.ok[0];\n\t\t\t\t\tpopup.buttons[0].onclick = 'close';\n\t\t\t\t\tdelete popup.buttons[1];\n\t\t\t\t}\n\n\t\t\t\teditor.windowManager.open( popup );\n\t\t\t});\n\t\t},\n\n\t\tdestroy: function() {\n\t\t\tvar tmp = $( '#scTemp' );\n\n\t\t\tif ( tmp.length ) {\n\t\t\t\ttinymce.get( 'scTemp' ).remove();\n\t\t\t\ttmp.remove();\n\t\t\t}\n\t\t}\n\t};\n\n\tvar scOpen = function() {\n\t\tscButton.addClass( 'active' ).parent().find( '.sc-menu' ).show();\n\t};\n\n\tvar scClose = function() {\n\t\tif ( typeof scButton !== 'undefined' ) {\n\t\t\tscButton.removeClass( 'active' ).parent().find( '.sc-menu' ).hide();\n\t\t}\n\t};\n\n\tdoc.on( 'click', function( e ) {\n\t\tif ( ! $( e.target ).closest( '.sc-wrap' ).length ) {\n\t\t\tscClose();\n\t\t}\n\t});\n\n\tdoc.on( 'click', '.sc-button', function( e ) {\n\t\te.preventDefault();\n\n\t\tscButton = $( this );\n\n\t\tif ( scButton.hasClass( 'active' ) ) {\n\t\t\tscClose();\n\t\t} else {\n\t\t\tscOpen();\n\t\t}\n\t});\n\n\tdoc.on( 'click', '.sc-shortcode', function( e ) {\n\t\te.preventDefault();\n\n\t\t// scShortcode is used by scForm to trigger the correct popup\n\t\tscShortcode = $( this ).attr( 'data-shortcode' );\n\n\t\tif ( scShortcode ) {\n\t\t\tif ( ! tinymce.get( window.wpActiveEditor ) ) {\n\n\t\t\t\tif ( ! $( '#scTemp' ).length ) {\n\n\t\t\t\t\t$( 'body' ).append( '<textarea id=\"scTemp\" style=\"display: none;\" />' );\n\n\t\t\t\t\ttinymce.init({\n\t\t\t\t\t\tmode : \"exact\",\n\t\t\t\t\t\telements : \"scTemp\",\n\t\t\t\t\t\tplugins : ['give_shortcode', 'wplink']\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tsetTimeout( function() { tinymce.execCommand( 'Give_Shortcode' ); }, 200 );\n\t\t\t} else {\n\t\t\t\ttinymce.execCommand( 'Give_Shortcode' );\n\t\t\t}\n\n\t\t\tsetTimeout( function() { scClose(); }, 100 );\n\t\t} else {\n\t\t\tconsole.warn( 'That is not a valid shortcode link.' );\n\t\t}\n\t});\n});\n\n\n// WEBPACK FOOTER //\n// ./includes/admin/shortcodes/admin-shortcodes.js","/**\n * This API is under development, so do not use this in production.\n * We will open this API for use after some testing (coming releases).\n */\n/* globals give_vars, jQuery */\nimport 'magnific-popup';\nimport './dynamicListener.js';\n\n/**\n * This abstract class is base for modal\n *\n * @since 2.1.0\n */\nclass GiveModal {\n\tconstructor( obj ) {\n\t\tif ( GiveModal === this.constructor ) {\n\t\t\tthrow new Error( 'Abstract classes can\\'t be instantiated.' );\n\t\t}\n\n\t\tthis.config = Object.assign(\n\t\t\t{\n\t\t\t\ttype: '',\n\t\t\t\ttriggerSelector: '',\n\t\t\t\texternalPlugin: 'magnificPopup',\n\t\t\t\tclasses: { modalWrapper: '' },\n\t\t\t\tmodalContent: {},\n\t\t\t},\n\t\t\tobj\n\t\t);\n\n\t\t// Set main class.\n\t\tthis.config.mainClass = `${ this.config.mainClass ? this.config.mainClass : '' } modal-fade-slide`.trim();\n\t}\n\n\t/**\n\t * Bootstrap\n\t */\n\tinit() {\n\t\tthis.setupTemplate();\n\t\tthis.popupConfig();\n\t\tthis.__setupClickEvent();\n\t}\n\n\t/**\n\t * Get template\n\t *\n\t * @since 2.1.0\n\t *\n\t * @return {string} Template HTML.\n\t */\n\tgetTemplate() {\n\t\tlet template = '<div class=\"give-hidden\"></div>';\n\n\t\tif ( this.config.type.length ) {\n\t\t\ttemplate = `<div class=\"give-modal give-modal--zoom ${ this.config.classes.modalWrapper ? `${ this.config.classes.modalWrapper }`.trim() : '' }\">\n\n\t\t\t\t<div class=\"give-modal__body\">\n\t\t\t\t\t${ this.config.modalContent.title ? `<h2 class=\"give-modal__title\">${ this.config.modalContent.title }</h2>` : '' }\n\t\t\t\t\t${ this.config.modalContent.desc ? `<p class=\"give-modal__description\">${ this.config.modalContent.desc }</p>` : '' }\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class=\"give-modal__controls\">\n\n\t\t\t\t\t${ ( 'form' === this.config.type ) ? '<div class=\"spinner\"></div>' : '' }\n\t\t\t\t\t${ ( 'form' === this.config.type ) ? `<a class=\"give-modal--additional-link\" href=\"${ this.config.modalContent.link }\">${ this.config.modalContent.link_text }</a>` : '' }\n\n\t\t\t\t\t<button class=\"give-button give-button--secondary give-popup-close-button\">\n\t\t\t\t\t\t${ this.config.modalContent.cancelBtnTitle ? this.config.modalContent.cancelBtnTitle : ( 'confirm' === this.config.type ? give_vars.cancel : give_vars.close ) }\n\t\t\t\t\t</button>\n\n\t\t\t\t\t${ ( 'confirm' !== this.config.type && 'form' !== this.config.type ) ? '' : `<button class=\"give-button give-button--primary give-popup-${ this.config.type }-button\">\n\n\t\t\t\t\t\t${ this.config.modalContent.confirmBtnTitle ? this.config.modalContent.confirmBtnTitle : give_vars.confirm }\n\t\t\t\t\t</button>` }\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>`;\n\t\t}\n\n\t\treturn template;\n\t}\n\n\t/**\n\t * Setup template\n\t *\n\t * @since 2.1.0\n\t */\n\tsetupTemplate() {\n\t\tthis.config.template = this.getTemplate();\n\t}\n\n\t/**\n\t * Handle click event if triggerSelector is set.\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\t__setupClickEvent() {\n\t\t// Bailout.\n\t\tif ( ! this.config.triggerSelector.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( this.config.triggerSelector ).magnificPopup( this.config );\n\t}\n\n\t/**\n\t * Setup popup params\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\tpopupConfig() {\n\t\tif ( 'magnificPopup' === this.config.externalPlugin ) {\n\t\t\tthis.config.items = this.config.items || {\n\t\t\t\tsrc: this.config.template,\n\t\t\t\ttype: 'inline',\n\t\t\t};\n\n\t\t\tthis.config.removalDelay = 300;\n\t\t\tthis.config.fixedContentPos = true;\n\t\t\tthis.config.fixedBgPos = true;\n\t\t\tthis.config.alignTop = true;\n\t\t\tthis.config.showCloseBtn = false;\n\t\t\tthis.config.closeOnBgClick = false;\n\t\t\tthis.config.enableEscapeKey = true;\n\t\t\tthis.config.focus = '.give-popup-close-button';\n\t\t}\n\t}\n\n\t/**\n\t * Click close button event handler\n\t *\n\t * @since 2.1.0\n\t * @private\n\t *\n\t * @param {object} event Event object.\n\t */\n\tstatic __closePopup( event ) {\n\t\tevent.preventDefault();\n\t\tjQuery.magnificPopup.instance.close();\n\t}\n\n\t/**\n\t * Give's Notice Popup\n\t *\n\t * @since 2.1.0\n\t *\n\t * @return {object} GiveModal class object.\n\t */\n\trender() {\n\t\tswitch ( this.config.externalPlugin ) {\n\t\t\tcase 'magnificPopup':\n\t\t\t\tif ( ! this.config.triggerSelector ) {\n\t\t\t\t\tjQuery.magnificPopup.open( this.config );\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn this;\n\t}\n}\n\n/**\n * This class will handle error alert modal\n *\n * @since 2.1.0\n */\nclass GiveErrorAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--error';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle warning alert modal\n *\n * @since 2.1.0\n */\nclass GiveWarningAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--warning';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle notice alert modal\n *\n * @since 2.1.0\n */\nclass GiveNoticeAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--notice';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle success alert modal\n *\n * @since 2.1.0\n */\nclass GiveSuccessAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--success';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle confirm modal\n *\n * @since 2.1.0\n */\nclass GiveConfirmModal extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'confirm';\n\t\tsuper( obj );\n\n\t\tif ( 'undefined' !== typeof( obj.modalWrapper ) && '' !== obj.modalWrapper ) {\n\t\t\tthis.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Confirm button click event handler\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\tstatic __confirmPopup() {\n\t\tif ( 'function' === typeof jQuery.magnificPopup.instance.st.successConfirm ) {\n\t\t\tjQuery.magnificPopup.instance.st.successConfirm( {\n\t\t\t\tel: jQuery.magnificPopup.instance.st.el,\n\t\t\t} );\n\t\t\tjQuery.magnificPopup.close();\n\t\t}\n\t}\n}\n\n/**\n * This class will handle Form modal\n *\n * @since 2.2.0\n */\nclass GiveFormModal extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'form';\n\t\tsuper( obj );\n\n\t\tif ( 'undefined' !== typeof( obj.modalWrapper ) && '' !== obj.modalWrapper ) {\n\t\t\tthis.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Submit button click event handler\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.2.0\n\t * @private\n\t */\n\tstatic __submitPopup() {\n\t\tif ( 'function' === typeof jQuery.magnificPopup.instance.st.successConfirm ) {\n\t\t\tjQuery.magnificPopup.instance.st.successConfirm( {\n\t\t\t\tel: jQuery.magnificPopup.instance.st.el,\n\t\t\t} );\n\t\t}\n\t}\n}\n\n/**\n * Add events\n */\nwindow.addDynamicEventListener( document, 'click', '.give-popup-close-button', GiveModal.__closePopup, {} );\nwindow.addDynamicEventListener( document, 'click', '.give-popup-confirm-button', GiveConfirmModal.__confirmPopup, {} );\nwindow.addDynamicEventListener( document, 'click', '.give-popup-form-button', GiveFormModal.__submitPopup, {} );\n\nexport { GiveModal, GiveErrorAlert, GiveWarningAlert, GiveNoticeAlert, GiveSuccessAlert, GiveConfirmModal, GiveFormModal };\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/js/plugins/modal.js","/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n;(function (factory) { \nif (typeof define === 'function' && define.amd) { \n // AMD. Register as an anonymous module. \n define(['jquery'], factory); \n } else if (typeof exports === 'object') { \n // Node/CommonJS \n factory(require('jquery')); \n } else { \n // Browser globals \n factory(window.jQuery || window.Zepto); \n } \n }(function($) { \n\n/*>>core*/\n/**\n * \n * Magnific Popup Core JS file\n * \n */\n\n\n/**\n * Private static constants\n */\nvar CLOSE_EVENT = 'Close',\n\tBEFORE_CLOSE_EVENT = 'BeforeClose',\n\tAFTER_CLOSE_EVENT = 'AfterClose',\n\tBEFORE_APPEND_EVENT = 'BeforeAppend',\n\tMARKUP_PARSE_EVENT = 'MarkupParse',\n\tOPEN_EVENT = 'Open',\n\tCHANGE_EVENT = 'Change',\n\tNS = 'mfp',\n\tEVENT_NS = '.' + NS,\n\tREADY_CLASS = 'mfp-ready',\n\tREMOVING_CLASS = 'mfp-removing',\n\tPREVENT_CLOSE_CLASS = 'mfp-prevent-close';\n\n\n/**\n * Private vars \n */\n/*jshint -W079 */\nvar mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'\n\tMagnificPopup = function(){},\n\t_isJQ = !!(window.jQuery),\n\t_prevStatus,\n\t_window = $(window),\n\t_document,\n\t_prevContentType,\n\t_wrapClasses,\n\t_currPopupType;\n\n\n/**\n * Private functions\n */\nvar _mfpOn = function(name, f) {\n\t\tmfp.ev.on(NS + name + EVENT_NS, f);\n\t},\n\t_getEl = function(className, appendTo, html, raw) {\n\t\tvar el = document.createElement('div');\n\t\tel.className = 'mfp-'+className;\n\t\tif(html) {\n\t\t\tel.innerHTML = html;\n\t\t}\n\t\tif(!raw) {\n\t\t\tel = $(el);\n\t\t\tif(appendTo) {\n\t\t\t\tel.appendTo(appendTo);\n\t\t\t}\n\t\t} else if(appendTo) {\n\t\t\tappendTo.appendChild(el);\n\t\t}\n\t\treturn el;\n\t},\n\t_mfpTrigger = function(e, data) {\n\t\tmfp.ev.triggerHandler(NS + e, data);\n\n\t\tif(mfp.st.callbacks) {\n\t\t\t// converts \"mfpEventName\" to \"eventName\" callback and triggers it if it's present\n\t\t\te = e.charAt(0).toLowerCase() + e.slice(1);\n\t\t\tif(mfp.st.callbacks[e]) {\n\t\t\t\tmfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);\n\t\t\t}\n\t\t}\n\t},\n\t_getCloseBtn = function(type) {\n\t\tif(type !== _currPopupType || !mfp.currTemplate.closeBtn) {\n\t\t\tmfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );\n\t\t\t_currPopupType = type;\n\t\t}\n\t\treturn mfp.currTemplate.closeBtn;\n\t},\n\t// Initialize Magnific Popup only when called at least once\n\t_checkInstance = function() {\n\t\tif(!$.magnificPopup.instance) {\n\t\t\t/*jshint -W020 */\n\t\t\tmfp = new MagnificPopup();\n\t\t\tmfp.init();\n\t\t\t$.magnificPopup.instance = mfp;\n\t\t}\n\t},\n\t// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr\n\tsupportsTransitions = function() {\n\t\tvar s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist\n\t\t\tv = ['ms','O','Moz','Webkit']; // 'v' for vendor\n\n\t\tif( s['transition'] !== undefined ) {\n\t\t\treturn true; \n\t\t}\n\t\t\t\n\t\twhile( v.length ) {\n\t\t\tif( v.pop() + 'Transition' in s ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t};\n\n\n\n/**\n * Public functions\n */\nMagnificPopup.prototype = {\n\n\tconstructor: MagnificPopup,\n\n\t/**\n\t * Initializes Magnific Popup plugin. \n\t * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed\n\t */\n\tinit: function() {\n\t\tvar appVersion = navigator.appVersion;\n\t\tmfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;\n\t\tmfp.isAndroid = (/android/gi).test(appVersion);\n\t\tmfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);\n\t\tmfp.supportsTransition = supportsTransitions();\n\n\t\t// We disable fixed positioned lightbox on devices that don't handle it nicely.\n\t\t// If you know a better way of detecting this - let me know.\n\t\tmfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );\n\t\t_document = $(document);\n\n\t\tmfp.popupsCache = {};\n\t},\n\n\t/**\n\t * Opens popup\n\t * @param data [description]\n\t */\n\topen: function(data) {\n\n\t\tvar i;\n\n\t\tif(data.isObj === false) { \n\t\t\t// convert jQuery collection to array to avoid conflicts later\n\t\t\tmfp.items = data.items.toArray();\n\n\t\t\tmfp.index = 0;\n\t\t\tvar items = data.items,\n\t\t\t\titem;\n\t\t\tfor(i = 0; i < items.length; i++) {\n\t\t\t\titem = items[i];\n\t\t\t\tif(item.parsed) {\n\t\t\t\t\titem = item.el[0];\n\t\t\t\t}\n\t\t\t\tif(item === data.el[0]) {\n\t\t\t\t\tmfp.index = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.items = $.isArray(data.items) ? data.items : [data.items];\n\t\t\tmfp.index = data.index || 0;\n\t\t}\n\n\t\t// if popup is already opened - we just update the content\n\t\tif(mfp.isOpen) {\n\t\t\tmfp.updateItemHTML();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmfp.types = []; \n\t\t_wrapClasses = '';\n\t\tif(data.mainEl && data.mainEl.length) {\n\t\t\tmfp.ev = data.mainEl.eq(0);\n\t\t} else {\n\t\t\tmfp.ev = _document;\n\t\t}\n\n\t\tif(data.key) {\n\t\t\tif(!mfp.popupsCache[data.key]) {\n\t\t\t\tmfp.popupsCache[data.key] = {};\n\t\t\t}\n\t\t\tmfp.currTemplate = mfp.popupsCache[data.key];\n\t\t} else {\n\t\t\tmfp.currTemplate = {};\n\t\t}\n\n\n\n\t\tmfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); \n\t\tmfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;\n\n\t\tif(mfp.st.modal) {\n\t\t\tmfp.st.closeOnContentClick = false;\n\t\t\tmfp.st.closeOnBgClick = false;\n\t\t\tmfp.st.showCloseBtn = false;\n\t\t\tmfp.st.enableEscapeKey = false;\n\t\t}\n\t\t\n\n\t\t// Building markup\n\t\t// main containers are created only once\n\t\tif(!mfp.bgOverlay) {\n\n\t\t\t// Dark overlay\n\t\t\tmfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {\n\t\t\t\tmfp.close();\n\t\t\t});\n\n\t\t\tmfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {\n\t\t\t\tif(mfp._checkIfClose(e.target)) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmfp.container = _getEl('container', mfp.wrap);\n\t\t}\n\n\t\tmfp.contentContainer = _getEl('content');\n\t\tif(mfp.st.preloader) {\n\t\t\tmfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);\n\t\t}\n\n\n\t\t// Initializing modules\n\t\tvar modules = $.magnificPopup.modules;\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar n = modules[i];\n\t\t\tn = n.charAt(0).toUpperCase() + n.slice(1);\n\t\t\tmfp['init'+n].call(mfp);\n\t\t}\n\t\t_mfpTrigger('BeforeOpen');\n\n\n\t\tif(mfp.st.showCloseBtn) {\n\t\t\t// Close button\n\t\t\tif(!mfp.st.closeBtnInside) {\n\t\t\t\tmfp.wrap.append( _getCloseBtn() );\n\t\t\t} else {\n\t\t\t\t_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {\n\t\t\t\t\tvalues.close_replaceWith = _getCloseBtn(item.type);\n\t\t\t\t});\n\t\t\t\t_wrapClasses += ' mfp-close-btn-in';\n\t\t\t}\n\t\t}\n\n\t\tif(mfp.st.alignTop) {\n\t\t\t_wrapClasses += ' mfp-align-top';\n\t\t}\n\n\t\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css({\n\t\t\t\toverflow: mfp.st.overflowY,\n\t\t\t\toverflowX: 'hidden',\n\t\t\t\toverflowY: mfp.st.overflowY\n\t\t\t});\n\t\t} else {\n\t\t\tmfp.wrap.css({ \n\t\t\t\ttop: _window.scrollTop(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\t\tif( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {\n\t\t\tmfp.bgOverlay.css({\n\t\t\t\theight: _document.height(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\n\t\t\n\n\t\tif(mfp.st.enableEscapeKey) {\n\t\t\t// Close on ESC key\n\t\t\t_document.on('keyup' + EVENT_NS, function(e) {\n\t\t\t\tif(e.keyCode === 27) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t_window.on('resize' + EVENT_NS, function() {\n\t\t\tmfp.updateSize();\n\t\t});\n\n\n\t\tif(!mfp.st.closeOnContentClick) {\n\t\t\t_wrapClasses += ' mfp-auto-cursor';\n\t\t}\n\t\t\n\t\tif(_wrapClasses)\n\t\t\tmfp.wrap.addClass(_wrapClasses);\n\n\n\t\t// this triggers recalculation of layout, so we get it once to not to trigger twice\n\t\tvar windowHeight = mfp.wH = _window.height();\n\n\t\t\n\t\tvar windowStyles = {};\n\n\t\tif( mfp.fixedContentPos ) {\n if(mfp._hasScrollBar(windowHeight)){\n var s = mfp._getScrollbarSize();\n if(s) {\n windowStyles.marginRight = s;\n }\n }\n }\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tif(!mfp.isIE7) {\n\t\t\t\twindowStyles.overflow = 'hidden';\n\t\t\t} else {\n\t\t\t\t// ie7 double-scroll bug\n\t\t\t\t$('body, html').css('overflow', 'hidden');\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t\n\t\tvar classesToadd = mfp.st.mainClass;\n\t\tif(mfp.isIE7) {\n\t\t\tclassesToadd += ' mfp-ie7';\n\t\t}\n\t\tif(classesToadd) {\n\t\t\tmfp._addClassToMFP( classesToadd );\n\t\t}\n\n\t\t// add content\n\t\tmfp.updateItemHTML();\n\n\t\t_mfpTrigger('BuildControls');\n\n\t\t// remove scrollbar, add margin e.t.c\n\t\t$('html').css(windowStyles);\n\t\t\n\t\t// add everything to DOM\n\t\tmfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );\n\n\t\t// Save last focused element\n\t\tmfp._lastFocusedEl = document.activeElement;\n\t\t\n\t\t// Wait for next cycle to allow CSS transition\n\t\tsetTimeout(function() {\n\t\t\t\n\t\t\tif(mfp.content) {\n\t\t\t\tmfp._addClassToMFP(READY_CLASS);\n\t\t\t\tmfp._setFocus();\n\t\t\t} else {\n\t\t\t\t// if content is not defined (not loaded e.t.c) we add class only for BG\n\t\t\t\tmfp.bgOverlay.addClass(READY_CLASS);\n\t\t\t}\n\t\t\t\n\t\t\t// Trap the focus in popup\n\t\t\t_document.on('focusin' + EVENT_NS, mfp._onFocusIn);\n\n\t\t}, 16);\n\n\t\tmfp.isOpen = true;\n\t\tmfp.updateSize(windowHeight);\n\t\t_mfpTrigger(OPEN_EVENT);\n\n\t\treturn data;\n\t},\n\n\t/**\n\t * Closes the popup\n\t */\n\tclose: function() {\n\t\tif(!mfp.isOpen) return;\n\t\t_mfpTrigger(BEFORE_CLOSE_EVENT);\n\n\t\tmfp.isOpen = false;\n\t\t// for CSS3 animation\n\t\tif(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition ) {\n\t\t\tmfp._addClassToMFP(REMOVING_CLASS);\n\t\t\tsetTimeout(function() {\n\t\t\t\tmfp._close();\n\t\t\t}, mfp.st.removalDelay);\n\t\t} else {\n\t\t\tmfp._close();\n\t\t}\n\t},\n\n\t/**\n\t * Helper for close() function\n\t */\n\t_close: function() {\n\t\t_mfpTrigger(CLOSE_EVENT);\n\n\t\tvar classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';\n\n\t\tmfp.bgOverlay.detach();\n\t\tmfp.wrap.detach();\n\t\tmfp.container.empty();\n\n\t\tif(mfp.st.mainClass) {\n\t\t\tclassesToRemove += mfp.st.mainClass + ' ';\n\t\t}\n\n\t\tmfp._removeClassFromMFP(classesToRemove);\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tvar windowStyles = {marginRight: ''};\n\t\t\tif(mfp.isIE7) {\n\t\t\t\t$('body, html').css('overflow', '');\n\t\t\t} else {\n\t\t\t\twindowStyles.overflow = '';\n\t\t\t}\n\t\t\t$('html').css(windowStyles);\n\t\t}\n\t\t\n\t\t_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);\n\t\tmfp.ev.off(EVENT_NS);\n\n\t\t// clean up DOM elements that aren't removed\n\t\tmfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');\n\t\tmfp.bgOverlay.attr('class', 'mfp-bg');\n\t\tmfp.container.attr('class', 'mfp-container');\n\n\t\t// remove close button from target element\n\t\tif(mfp.st.showCloseBtn &&\n\t\t(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {\n\t\t\tif(mfp.currTemplate.closeBtn)\n\t\t\t\tmfp.currTemplate.closeBtn.detach();\n\t\t}\n\n\n\t\tif(mfp.st.autoFocusLast && mfp._lastFocusedEl) {\n\t\t\t$(mfp._lastFocusedEl).focus(); // put tab focus back\n\t\t}\n\t\tmfp.currItem = null;\t\n\t\tmfp.content = null;\n\t\tmfp.currTemplate = null;\n\t\tmfp.prevHeight = 0;\n\n\t\t_mfpTrigger(AFTER_CLOSE_EVENT);\n\t},\n\t\n\tupdateSize: function(winHeight) {\n\n\t\tif(mfp.isIOS) {\n\t\t\t// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2\n\t\t\tvar zoomLevel = document.documentElement.clientWidth / window.innerWidth;\n\t\t\tvar height = window.innerHeight * zoomLevel;\n\t\t\tmfp.wrap.css('height', height);\n\t\t\tmfp.wH = height;\n\t\t} else {\n\t\t\tmfp.wH = winHeight || _window.height();\n\t\t}\n\t\t// Fixes #84: popup incorrectly positioned with position:relative on body\n\t\tif(!mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css('height', mfp.wH);\n\t\t}\n\n\t\t_mfpTrigger('Resize');\n\n\t},\n\n\t/**\n\t * Set content of popup based on current index\n\t */\n\tupdateItemHTML: function() {\n\t\tvar item = mfp.items[mfp.index];\n\n\t\t// Detach and perform modifications\n\t\tmfp.contentContainer.detach();\n\n\t\tif(mfp.content)\n\t\t\tmfp.content.detach();\n\n\t\tif(!item.parsed) {\n\t\t\titem = mfp.parseEl( mfp.index );\n\t\t}\n\n\t\tvar type = item.type;\n\n\t\t_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);\n\t\t// BeforeChange event works like so:\n\t\t// _mfpOn('BeforeChange', function(e, prevType, newType) { });\n\n\t\tmfp.currItem = item;\n\n\t\tif(!mfp.currTemplate[type]) {\n\t\t\tvar markup = mfp.st[type] ? mfp.st[type].markup : false;\n\n\t\t\t// allows to modify markup\n\t\t\t_mfpTrigger('FirstMarkupParse', markup);\n\n\t\t\tif(markup) {\n\t\t\t\tmfp.currTemplate[type] = $(markup);\n\t\t\t} else {\n\t\t\t\t// if there is no markup found we just define that template is parsed\n\t\t\t\tmfp.currTemplate[type] = true;\n\t\t\t}\n\t\t}\n\n\t\tif(_prevContentType && _prevContentType !== item.type) {\n\t\t\tmfp.container.removeClass('mfp-'+_prevContentType+'-holder');\n\t\t}\n\n\t\tvar newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);\n\t\tmfp.appendContent(newContent, type);\n\n\t\titem.preloaded = true;\n\n\t\t_mfpTrigger(CHANGE_EVENT, item);\n\t\t_prevContentType = item.type;\n\n\t\t// Append container back after its content changed\n\t\tmfp.container.prepend(mfp.contentContainer);\n\n\t\t_mfpTrigger('AfterChange');\n\t},\n\n\n\t/**\n\t * Set HTML content of popup\n\t */\n\tappendContent: function(newContent, type) {\n\t\tmfp.content = newContent;\n\n\t\tif(newContent) {\n\t\t\tif(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&\n\t\t\t\tmfp.currTemplate[type] === true) {\n\t\t\t\t// if there is no markup, we just append close button element inside\n\t\t\t\tif(!mfp.content.find('.mfp-close').length) {\n\t\t\t\t\tmfp.content.append(_getCloseBtn());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmfp.content = newContent;\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.content = '';\n\t\t}\n\n\t\t_mfpTrigger(BEFORE_APPEND_EVENT);\n\t\tmfp.container.addClass('mfp-'+type+'-holder');\n\n\t\tmfp.contentContainer.append(mfp.content);\n\t},\n\n\n\t/**\n\t * Creates Magnific Popup data object based on given data\n\t * @param {int} index Index of item to parse\n\t */\n\tparseEl: function(index) {\n\t\tvar item = mfp.items[index],\n\t\t\ttype;\n\n\t\tif(item.tagName) {\n\t\t\titem = { el: $(item) };\n\t\t} else {\n\t\t\ttype = item.type;\n\t\t\titem = { data: item, src: item.src };\n\t\t}\n\n\t\tif(item.el) {\n\t\t\tvar types = mfp.types;\n\n\t\t\t// check for 'mfp-TYPE' class\n\t\t\tfor(var i = 0; i < types.length; i++) {\n\t\t\t\tif( item.el.hasClass('mfp-'+types[i]) ) {\n\t\t\t\t\ttype = types[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\titem.src = item.el.attr('data-mfp-src');\n\t\t\tif(!item.src) {\n\t\t\t\titem.src = item.el.attr('href');\n\t\t\t}\n\t\t}\n\n\t\titem.type = type || mfp.st.type || 'inline';\n\t\titem.index = index;\n\t\titem.parsed = true;\n\t\tmfp.items[index] = item;\n\t\t_mfpTrigger('ElementParse', item);\n\n\t\treturn mfp.items[index];\n\t},\n\n\n\t/**\n\t * Initializes single popup or a group of popups\n\t */\n\taddGroup: function(el, options) {\n\t\tvar eHandler = function(e) {\n\t\t\te.mfpEl = this;\n\t\t\tmfp._openClick(e, el, options);\n\t\t};\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t}\n\n\t\tvar eName = 'click.magnificPopup';\n\t\toptions.mainEl = el;\n\n\t\tif(options.items) {\n\t\t\toptions.isObj = true;\n\t\t\tel.off(eName).on(eName, eHandler);\n\t\t} else {\n\t\t\toptions.isObj = false;\n\t\t\tif(options.delegate) {\n\t\t\t\tel.off(eName).on(eName, options.delegate , eHandler);\n\t\t\t} else {\n\t\t\t\toptions.items = el;\n\t\t\t\tel.off(eName).on(eName, eHandler);\n\t\t\t}\n\t\t}\n\t},\n\t_openClick: function(e, el, options) {\n\t\tvar midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;\n\n\n\t\tif(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;\n\n\t\tif(disableOn) {\n\t\t\tif($.isFunction(disableOn)) {\n\t\t\t\tif( !disableOn.call(mfp) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else { // else it's number\n\t\t\t\tif( _window.width() < disableOn ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif(e.type) {\n\t\t\te.preventDefault();\n\n\t\t\t// This will prevent popup from closing if element is inside and popup is already opened\n\t\t\tif(mfp.isOpen) {\n\t\t\t\te.stopPropagation();\n\t\t\t}\n\t\t}\n\n\t\toptions.el = $(e.mfpEl);\n\t\tif(options.delegate) {\n\t\t\toptions.items = el.find(options.delegate);\n\t\t}\n\t\tmfp.open(options);\n\t},\n\n\n\t/**\n\t * Updates text on preloader\n\t */\n\tupdateStatus: function(status, text) {\n\n\t\tif(mfp.preloader) {\n\t\t\tif(_prevStatus !== status) {\n\t\t\t\tmfp.container.removeClass('mfp-s-'+_prevStatus);\n\t\t\t}\n\n\t\t\tif(!text && status === 'loading') {\n\t\t\t\ttext = mfp.st.tLoading;\n\t\t\t}\n\n\t\t\tvar data = {\n\t\t\t\tstatus: status,\n\t\t\t\ttext: text\n\t\t\t};\n\t\t\t// allows to modify status\n\t\t\t_mfpTrigger('UpdateStatus', data);\n\n\t\t\tstatus = data.status;\n\t\t\ttext = data.text;\n\n\t\t\tmfp.preloader.html(text);\n\n\t\t\tmfp.preloader.find('a').on('click', function(e) {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t});\n\n\t\t\tmfp.container.addClass('mfp-s-'+status);\n\t\t\t_prevStatus = status;\n\t\t}\n\t},\n\n\n\t/*\n\t\t\"Private\" helpers that aren't private at all\n\t */\n\t// Check to close popup or not\n\t// \"target\" is an element that was clicked\n\t_checkIfClose: function(target) {\n\n\t\tif($(target).hasClass(PREVENT_CLOSE_CLASS)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar closeOnContent = mfp.st.closeOnContentClick;\n\t\tvar closeOnBg = mfp.st.closeOnBgClick;\n\n\t\tif(closeOnContent && closeOnBg) {\n\t\t\treturn true;\n\t\t} else {\n\n\t\t\t// We close the popup if click is on close button or on preloader. Or if there is no content.\n\t\t\tif(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// if click is outside the content\n\t\t\tif( (target !== mfp.content[0] && !$.contains(mfp.content[0], target)) ) {\n\t\t\t\tif(closeOnBg) {\n\t\t\t\t\t// last check, if the clicked element is in DOM, (in case it's removed onclick)\n\t\t\t\t\tif( $.contains(document, target) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if(closeOnContent) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t}\n\t\treturn false;\n\t},\n\t_addClassToMFP: function(cName) {\n\t\tmfp.bgOverlay.addClass(cName);\n\t\tmfp.wrap.addClass(cName);\n\t},\n\t_removeClassFromMFP: function(cName) {\n\t\tthis.bgOverlay.removeClass(cName);\n\t\tmfp.wrap.removeClass(cName);\n\t},\n\t_hasScrollBar: function(winHeight) {\n\t\treturn ( (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );\n\t},\n\t_setFocus: function() {\n\t\t(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();\n\t},\n\t_onFocusIn: function(e) {\n\t\tif( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {\n\t\t\tmfp._setFocus();\n\t\t\treturn false;\n\t\t}\n\t},\n\t_parseMarkup: function(template, values, item) {\n\t\tvar arr;\n\t\tif(item.data) {\n\t\t\tvalues = $.extend(item.data, values);\n\t\t}\n\t\t_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );\n\n\t\t$.each(values, function(key, value) {\n\t\t\tif(value === undefined || value === false) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tarr = key.split('_');\n\t\t\tif(arr.length > 1) {\n\t\t\t\tvar el = template.find(EVENT_NS + '-'+arr[0]);\n\n\t\t\t\tif(el.length > 0) {\n\t\t\t\t\tvar attr = arr[1];\n\t\t\t\t\tif(attr === 'replaceWith') {\n\t\t\t\t\t\tif(el[0] !== value[0]) {\n\t\t\t\t\t\t\tel.replaceWith(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(attr === 'img') {\n\t\t\t\t\t\tif(el.is('img')) {\n\t\t\t\t\t\t\tel.attr('src', value);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tel.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.attr(arr[1], value);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\ttemplate.find(EVENT_NS + '-'+key).html(value);\n\t\t\t}\n\t\t});\n\t},\n\n\t_getScrollbarSize: function() {\n\t\t// thx David\n\t\tif(mfp.scrollbarSize === undefined) {\n\t\t\tvar scrollDiv = document.createElement(\"div\");\n\t\t\tscrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';\n\t\t\tdocument.body.appendChild(scrollDiv);\n\t\t\tmfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t\t\tdocument.body.removeChild(scrollDiv);\n\t\t}\n\t\treturn mfp.scrollbarSize;\n\t}\n\n}; /* MagnificPopup core prototype end */\n\n\n\n\n/**\n * Public static functions\n */\n$.magnificPopup = {\n\tinstance: null,\n\tproto: MagnificPopup.prototype,\n\tmodules: [],\n\n\topen: function(options, index) {\n\t\t_checkInstance();\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t} else {\n\t\t\toptions = $.extend(true, {}, options);\n\t\t}\n\n\t\toptions.isObj = true;\n\t\toptions.index = index || 0;\n\t\treturn this.instance.open(options);\n\t},\n\n\tclose: function() {\n\t\treturn $.magnificPopup.instance && $.magnificPopup.instance.close();\n\t},\n\n\tregisterModule: function(name, module) {\n\t\tif(module.options) {\n\t\t\t$.magnificPopup.defaults[name] = module.options;\n\t\t}\n\t\t$.extend(this.proto, module.proto);\n\t\tthis.modules.push(name);\n\t},\n\n\tdefaults: {\n\n\t\t// Info about options is in docs:\n\t\t// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options\n\n\t\tdisableOn: 0,\n\n\t\tkey: null,\n\n\t\tmidClick: false,\n\n\t\tmainClass: '',\n\n\t\tpreloader: true,\n\n\t\tfocus: '', // CSS selector of input to focus after popup is opened\n\n\t\tcloseOnContentClick: false,\n\n\t\tcloseOnBgClick: true,\n\n\t\tcloseBtnInside: true,\n\n\t\tshowCloseBtn: true,\n\n\t\tenableEscapeKey: true,\n\n\t\tmodal: false,\n\n\t\talignTop: false,\n\n\t\tremovalDelay: 0,\n\n\t\tprependTo: null,\n\n\t\tfixedContentPos: 'auto',\n\n\t\tfixedBgPos: 'auto',\n\n\t\toverflowY: 'auto',\n\n\t\tcloseMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>',\n\n\t\ttClose: 'Close (Esc)',\n\n\t\ttLoading: 'Loading...',\n\n\t\tautoFocusLast: true\n\n\t}\n};\n\n\n\n$.fn.magnificPopup = function(options) {\n\t_checkInstance();\n\n\tvar jqEl = $(this);\n\n\t// We call some API method of first param is a string\n\tif (typeof options === \"string\" ) {\n\n\t\tif(options === 'open') {\n\t\t\tvar items,\n\t\t\t\titemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,\n\t\t\t\tindex = parseInt(arguments[1], 10) || 0;\n\n\t\t\tif(itemOpts.items) {\n\t\t\t\titems = itemOpts.items[index];\n\t\t\t} else {\n\t\t\t\titems = jqEl;\n\t\t\t\tif(itemOpts.delegate) {\n\t\t\t\t\titems = items.find(itemOpts.delegate);\n\t\t\t\t}\n\t\t\t\titems = items.eq( index );\n\t\t\t}\n\t\t\tmfp._openClick({mfpEl:items}, jqEl, itemOpts);\n\t\t} else {\n\t\t\tif(mfp.isOpen)\n\t\t\t\tmfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));\n\t\t}\n\n\t} else {\n\t\t// clone options obj\n\t\toptions = $.extend(true, {}, options);\n\n\t\t/*\n\t\t * As Zepto doesn't support .data() method for objects\n\t\t * and it works only in normal browsers\n\t\t * we assign \"options\" object directly to the DOM element. FTW!\n\t\t */\n\t\tif(_isJQ) {\n\t\t\tjqEl.data('magnificPopup', options);\n\t\t} else {\n\t\t\tjqEl[0].magnificPopup = options;\n\t\t}\n\n\t\tmfp.addGroup(jqEl, options);\n\n\t}\n\treturn jqEl;\n};\n\n/*>>core*/\n\n/*>>inline*/\n\nvar INLINE_NS = 'inline',\n\t_hiddenClass,\n\t_inlinePlaceholder,\n\t_lastInlineElement,\n\t_putInlineElementsBack = function() {\n\t\tif(_lastInlineElement) {\n\t\t\t_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();\n\t\t\t_lastInlineElement = null;\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(INLINE_NS, {\n\toptions: {\n\t\thiddenClass: 'hide', // will be appended with `mfp-` prefix\n\t\tmarkup: '',\n\t\ttNotFound: 'Content not found'\n\t},\n\tproto: {\n\n\t\tinitInline: function() {\n\t\t\tmfp.types.push(INLINE_NS);\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {\n\t\t\t\t_putInlineElementsBack();\n\t\t\t});\n\t\t},\n\n\t\tgetInline: function(item, template) {\n\n\t\t\t_putInlineElementsBack();\n\n\t\t\tif(item.src) {\n\t\t\t\tvar inlineSt = mfp.st.inline,\n\t\t\t\t\tel = $(item.src);\n\n\t\t\t\tif(el.length) {\n\n\t\t\t\t\t// If target element has parent - we replace it with placeholder and put it back after popup is closed\n\t\t\t\t\tvar parent = el[0].parentNode;\n\t\t\t\t\tif(parent && parent.tagName) {\n\t\t\t\t\t\tif(!_inlinePlaceholder) {\n\t\t\t\t\t\t\t_hiddenClass = inlineSt.hiddenClass;\n\t\t\t\t\t\t\t_inlinePlaceholder = _getEl(_hiddenClass);\n\t\t\t\t\t\t\t_hiddenClass = 'mfp-'+_hiddenClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// replace target inline element with placeholder\n\t\t\t\t\t\t_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);\n\t\t\t\t\t}\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t} else {\n\t\t\t\t\tmfp.updateStatus('error', inlineSt.tNotFound);\n\t\t\t\t\tel = $('<div>');\n\t\t\t\t}\n\n\t\t\t\titem.inlineElement = el;\n\t\t\t\treturn el;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('ready');\n\t\t\tmfp._parseMarkup(template, {}, item);\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>inline*/\n\n/*>>ajax*/\nvar AJAX_NS = 'ajax',\n\t_ajaxCur,\n\t_removeAjaxCursor = function() {\n\t\tif(_ajaxCur) {\n\t\t\t$(document.body).removeClass(_ajaxCur);\n\t\t}\n\t},\n\t_destroyAjaxRequest = function() {\n\t\t_removeAjaxCursor();\n\t\tif(mfp.req) {\n\t\t\tmfp.req.abort();\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(AJAX_NS, {\n\n\toptions: {\n\t\tsettings: null,\n\t\tcursor: 'mfp-ajax-cur',\n\t\ttError: '<a href=\"%url%\">The content</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitAjax: function() {\n\t\t\tmfp.types.push(AJAX_NS);\n\t\t\t_ajaxCur = mfp.st.ajax.cursor;\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);\n\t\t\t_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);\n\t\t},\n\t\tgetAjax: function(item) {\n\n\t\t\tif(_ajaxCur) {\n\t\t\t\t$(document.body).addClass(_ajaxCur);\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\n\t\t\tvar opts = $.extend({\n\t\t\t\turl: item.src,\n\t\t\t\tsuccess: function(data, textStatus, jqXHR) {\n\t\t\t\t\tvar temp = {\n\t\t\t\t\t\tdata:data,\n\t\t\t\t\t\txhr:jqXHR\n\t\t\t\t\t};\n\n\t\t\t\t\t_mfpTrigger('ParseAjax', temp);\n\n\t\t\t\t\tmfp.appendContent( $(temp.data), AJAX_NS );\n\n\t\t\t\t\titem.finished = true;\n\n\t\t\t\t\t_removeAjaxCursor();\n\n\t\t\t\t\tmfp._setFocus();\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tmfp.wrap.addClass(READY_CLASS);\n\t\t\t\t\t}, 16);\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\n\t\t\t\t\t_mfpTrigger('AjaxContentAdded');\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\t_removeAjaxCursor();\n\t\t\t\t\titem.finished = item.loadError = true;\n\t\t\t\t\tmfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));\n\t\t\t\t}\n\t\t\t}, mfp.st.ajax.settings);\n\n\t\t\tmfp.req = $.ajax(opts);\n\n\t\t\treturn '';\n\t\t}\n\t}\n});\n\n/*>>ajax*/\n\n/*>>image*/\nvar _imgInterval,\n\t_getTitle = function(item) {\n\t\tif(item.data && item.data.title !== undefined)\n\t\t\treturn item.data.title;\n\n\t\tvar src = mfp.st.image.titleSrc;\n\n\t\tif(src) {\n\t\t\tif($.isFunction(src)) {\n\t\t\t\treturn src.call(mfp, item);\n\t\t\t} else if(item.el) {\n\t\t\t\treturn item.el.attr(src) || '';\n\t\t\t}\n\t\t}\n\t\treturn '';\n\t};\n\n$.magnificPopup.registerModule('image', {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-figure\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<figure>'+\n\t\t\t\t\t\t'<div class=\"mfp-img\"></div>'+\n\t\t\t\t\t\t'<figcaption>'+\n\t\t\t\t\t\t\t'<div class=\"mfp-bottom-bar\">'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-title\"></div>'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-counter\"></div>'+\n\t\t\t\t\t\t\t'</div>'+\n\t\t\t\t\t\t'</figcaption>'+\n\t\t\t\t\t'</figure>'+\n\t\t\t\t'</div>',\n\t\tcursor: 'mfp-zoom-out-cur',\n\t\ttitleSrc: 'title',\n\t\tverticalFit: true,\n\t\ttError: '<a href=\"%url%\">The image</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitImage: function() {\n\t\t\tvar imgSt = mfp.st.image,\n\t\t\t\tns = '.image';\n\n\t\t\tmfp.types.push('image');\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\t\t\t\tif(mfp.currItem.type === 'image' && imgSt.cursor) {\n\t\t\t\t\t$(document.body).addClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(imgSt.cursor) {\n\t\t\t\t\t$(document.body).removeClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t\t_window.off('resize' + EVENT_NS);\n\t\t\t});\n\n\t\t\t_mfpOn('Resize'+ns, mfp.resizeImage);\n\t\t\tif(mfp.isLowIE) {\n\t\t\t\t_mfpOn('AfterChange', mfp.resizeImage);\n\t\t\t}\n\t\t},\n\t\tresizeImage: function() {\n\t\t\tvar item = mfp.currItem;\n\t\t\tif(!item || !item.img) return;\n\n\t\t\tif(mfp.st.image.verticalFit) {\n\t\t\t\tvar decr = 0;\n\t\t\t\t// fix box-sizing in ie7/8\n\t\t\t\tif(mfp.isLowIE) {\n\t\t\t\t\tdecr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);\n\t\t\t\t}\n\t\t\t\titem.img.css('max-height', mfp.wH-decr);\n\t\t\t}\n\t\t},\n\t\t_onImageHasSize: function(item) {\n\t\t\tif(item.img) {\n\n\t\t\t\titem.hasSize = true;\n\n\t\t\t\tif(_imgInterval) {\n\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t}\n\n\t\t\t\titem.isCheckingImgSize = false;\n\n\t\t\t\t_mfpTrigger('ImageHasSize', item);\n\n\t\t\t\tif(item.imgHidden) {\n\t\t\t\t\tif(mfp.content)\n\t\t\t\t\t\tmfp.content.removeClass('mfp-loading');\n\n\t\t\t\t\titem.imgHidden = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Function that loops until the image has size to display elements that rely on it asap\n\t\t */\n\t\tfindImageSize: function(item) {\n\n\t\t\tvar counter = 0,\n\t\t\t\timg = item.img[0],\n\t\t\t\tmfpSetInterval = function(delay) {\n\n\t\t\t\t\tif(_imgInterval) {\n\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t}\n\t\t\t\t\t// decelerating interval that checks for size of an image\n\t\t\t\t\t_imgInterval = setInterval(function() {\n\t\t\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(counter > 200) {\n\t\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\tif(counter === 3) {\n\t\t\t\t\t\t\tmfpSetInterval(10);\n\t\t\t\t\t\t} else if(counter === 40) {\n\t\t\t\t\t\t\tmfpSetInterval(50);\n\t\t\t\t\t\t} else if(counter === 100) {\n\t\t\t\t\t\t\tmfpSetInterval(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, delay);\n\t\t\t\t};\n\n\t\t\tmfpSetInterval(1);\n\t\t},\n\n\t\tgetImage: function(item, template) {\n\n\t\t\tvar guard = 0,\n\n\t\t\t\t// image load complete handler\n\t\t\t\tonLoadComplete = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\tif (item.img[0].complete) {\n\t\t\t\t\t\t\titem.img.off('.mfploader');\n\n\t\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\n\t\t\t\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\t\titem.loaded = true;\n\n\t\t\t\t\t\t\t_mfpTrigger('ImageLoadComplete');\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// if image complete check fails 200 times (20 sec), we assume that there was an error.\n\t\t\t\t\t\t\tguard++;\n\t\t\t\t\t\t\tif(guard < 200) {\n\t\t\t\t\t\t\t\tsetTimeout(onLoadComplete,100);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tonLoadError();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// image error handler\n\t\t\t\tonLoadError = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\titem.img.off('.mfploader');\n\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\titem.loaded = true;\n\t\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timgSt = mfp.st.image;\n\n\n\t\t\tvar el = template.find('.mfp-img');\n\t\t\tif(el.length) {\n\t\t\t\tvar img = document.createElement('img');\n\t\t\t\timg.className = 'mfp-img';\n\t\t\t\tif(item.el && item.el.find('img').length) {\n\t\t\t\t\timg.alt = item.el.find('img').attr('alt');\n\t\t\t\t}\n\t\t\t\titem.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);\n\t\t\t\timg.src = item.src;\n\n\t\t\t\t// without clone() \"error\" event is not firing when IMG is replaced by new IMG\n\t\t\t\t// TODO: find a way to avoid such cloning\n\t\t\t\tif(el.is('img')) {\n\t\t\t\t\titem.img = item.img.clone();\n\t\t\t\t}\n\n\t\t\t\timg = item.img[0];\n\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t} else if(!img.width) {\n\t\t\t\t\titem.hasSize = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmfp._parseMarkup(template, {\n\t\t\t\ttitle: _getTitle(item),\n\t\t\t\timg_replaceWith: item.img\n\t\t\t}, item);\n\n\t\t\tmfp.resizeImage();\n\n\t\t\tif(item.hasSize) {\n\t\t\t\tif(_imgInterval) clearInterval(_imgInterval);\n\n\t\t\t\tif(item.loadError) {\n\t\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t} else {\n\t\t\t\t\ttemplate.removeClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t}\n\t\t\t\treturn template;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\t\t\titem.loading = true;\n\n\t\t\tif(!item.hasSize) {\n\t\t\t\titem.imgHidden = true;\n\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\tmfp.findImageSize(item);\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>image*/\n\n/*>>zoom*/\nvar hasMozTransform,\n\tgetHasMozTransform = function() {\n\t\tif(hasMozTransform === undefined) {\n\t\t\thasMozTransform = document.createElement('p').style.MozTransform !== undefined;\n\t\t}\n\t\treturn hasMozTransform;\n\t};\n\n$.magnificPopup.registerModule('zoom', {\n\n\toptions: {\n\t\tenabled: false,\n\t\teasing: 'ease-in-out',\n\t\tduration: 300,\n\t\topener: function(element) {\n\t\t\treturn element.is('img') ? element : element.find('img');\n\t\t}\n\t},\n\n\tproto: {\n\n\t\tinitZoom: function() {\n\t\t\tvar zoomSt = mfp.st.zoom,\n\t\t\t\tns = '.zoom',\n\t\t\t\timage;\n\n\t\t\tif(!zoomSt.enabled || !mfp.supportsTransition) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar duration = zoomSt.duration,\n\t\t\t\tgetElToAnimate = function(image) {\n\t\t\t\t\tvar newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),\n\t\t\t\t\t\ttransition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,\n\t\t\t\t\t\tcssObj = {\n\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\tzIndex: 9999,\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t'-webkit-backface-visibility': 'hidden'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tt = 'transition';\n\n\t\t\t\t\tcssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;\n\n\t\t\t\t\tnewImg.css(cssObj);\n\t\t\t\t\treturn newImg;\n\t\t\t\t},\n\t\t\t\tshowMainContent = function() {\n\t\t\t\t\tmfp.content.css('visibility', 'visible');\n\t\t\t\t},\n\t\t\t\topenTimeout,\n\t\t\t\tanimatedImg;\n\n\t\t\t_mfpOn('BuildControls'+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\t// Basically, all code below does is clones existing image, puts in on top of the current one and animated it\n\n\t\t\t\t\timage = mfp._getItemToZoom();\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\tshowMainContent();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\n\t\t\t\t\topenTimeout = setTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset( true ) );\n\t\t\t\t\t\topenTimeout = setTimeout(function() {\n\n\t\t\t\t\t\t\tshowMainContent();\n\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t\t\t\timage = animatedImg = null;\n\t\t\t\t\t\t\t\t_mfpTrigger('ZoomAnimationEnded');\n\t\t\t\t\t\t\t}, 16); // avoid blink when switching images\n\n\t\t\t\t\t\t}, duration); // this timeout equals animation duration\n\n\t\t\t\t\t}, 16); // by adding this timeout we avoid short glitch at the beginning of animation\n\n\n\t\t\t\t\t// Lots of timeouts...\n\t\t\t\t}\n\t\t\t});\n\t\t\t_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\n\t\t\t\t\tmfp.st.removalDelay = duration;\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\timage = mfp._getItemToZoom();\n\t\t\t\t\t\tif(!image) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset(true) );\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\t\t\t\t\t}, 16);\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\t\t\t\t\tshowMainContent();\n\t\t\t\t\tif(animatedImg) {\n\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t}\n\t\t\t\t\timage = null;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\t_allowZoom: function() {\n\t\t\treturn mfp.currItem.type === 'image';\n\t\t},\n\n\t\t_getItemToZoom: function() {\n\t\t\tif(mfp.currItem.hasSize) {\n\t\t\t\treturn mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Get element postion relative to viewport\n\t\t_getOffset: function(isLarge) {\n\t\t\tvar el;\n\t\t\tif(isLarge) {\n\t\t\t\tel = mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\tel = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);\n\t\t\t}\n\n\t\t\tvar offset = el.offset();\n\t\t\tvar paddingTop = parseInt(el.css('padding-top'),10);\n\t\t\tvar paddingBottom = parseInt(el.css('padding-bottom'),10);\n\t\t\toffset.top -= ( $(window).scrollTop() - paddingTop );\n\n\n\t\t\t/*\n\n\t\t\tAnimating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.\n\n\t\t\t */\n\t\t\tvar obj = {\n\t\t\t\twidth: el.width(),\n\t\t\t\t// fix Zepto height+padding issue\n\t\t\t\theight: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop\n\t\t\t};\n\n\t\t\t// I hate to do this, but there is no another option\n\t\t\tif( getHasMozTransform() ) {\n\t\t\t\tobj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';\n\t\t\t} else {\n\t\t\t\tobj.left = offset.left;\n\t\t\t\tobj.top = offset.top;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}\n\n\t}\n});\n\n\n\n/*>>zoom*/\n\n/*>>iframe*/\n\nvar IFRAME_NS = 'iframe',\n\t_emptyPage = '//about:blank',\n\n\t_fixIframeBugs = function(isShowing) {\n\t\tif(mfp.currTemplate[IFRAME_NS]) {\n\t\t\tvar el = mfp.currTemplate[IFRAME_NS].find('iframe');\n\t\t\tif(el.length) {\n\t\t\t\t// reset src after the popup is closed to avoid \"video keeps playing after popup is closed\" bug\n\t\t\t\tif(!isShowing) {\n\t\t\t\t\tel[0].src = _emptyPage;\n\t\t\t\t}\n\n\t\t\t\t// IE8 black screen bug fix\n\t\t\t\tif(mfp.isIE8) {\n\t\t\t\t\tel.css('display', isShowing ? 'block' : 'none');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(IFRAME_NS, {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-iframe-scaler\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe>'+\n\t\t\t\t'</div>',\n\n\t\tsrcAction: 'iframe_src',\n\n\t\t// we don't care and support only one default type of URL by default\n\t\tpatterns: {\n\t\t\tyoutube: {\n\t\t\t\tindex: 'youtube.com',\n\t\t\t\tid: 'v=',\n\t\t\t\tsrc: '//www.youtube.com/embed/%id%?autoplay=1'\n\t\t\t},\n\t\t\tvimeo: {\n\t\t\t\tindex: 'vimeo.com/',\n\t\t\t\tid: '/',\n\t\t\t\tsrc: '//player.vimeo.com/video/%id%?autoplay=1'\n\t\t\t},\n\t\t\tgmaps: {\n\t\t\t\tindex: '//maps.google.',\n\t\t\t\tsrc: '%id%&output=embed'\n\t\t\t}\n\t\t}\n\t},\n\n\tproto: {\n\t\tinitIframe: function() {\n\t\t\tmfp.types.push(IFRAME_NS);\n\n\t\t\t_mfpOn('BeforeChange', function(e, prevType, newType) {\n\t\t\t\tif(prevType !== newType) {\n\t\t\t\t\tif(prevType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(); // iframe if removed\n\t\t\t\t\t} else if(newType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(true); // iframe is showing\n\t\t\t\t\t}\n\t\t\t\t}// else {\n\t\t\t\t\t// iframe source is switched, don't do anything\n\t\t\t\t//}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {\n\t\t\t\t_fixIframeBugs();\n\t\t\t});\n\t\t},\n\n\t\tgetIframe: function(item, template) {\n\t\t\tvar embedSrc = item.src;\n\t\t\tvar iframeSt = mfp.st.iframe;\n\n\t\t\t$.each(iframeSt.patterns, function() {\n\t\t\t\tif(embedSrc.indexOf( this.index ) > -1) {\n\t\t\t\t\tif(this.id) {\n\t\t\t\t\t\tif(typeof this.id === 'string') {\n\t\t\t\t\t\t\tembedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tembedSrc = this.id.call( this, embedSrc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tembedSrc = this.src.replace('%id%', embedSrc );\n\t\t\t\t\treturn false; // break;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar dataObj = {};\n\t\t\tif(iframeSt.srcAction) {\n\t\t\t\tdataObj[iframeSt.srcAction] = embedSrc;\n\t\t\t}\n\t\t\tmfp._parseMarkup(template, dataObj, item);\n\n\t\t\tmfp.updateStatus('ready');\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n\n\n/*>>iframe*/\n\n/*>>gallery*/\n/**\n * Get looped index depending on number of slides\n */\nvar _getLoopedId = function(index) {\n\t\tvar numSlides = mfp.items.length;\n\t\tif(index > numSlides - 1) {\n\t\t\treturn index - numSlides;\n\t\t} else if(index < 0) {\n\t\t\treturn numSlides + index;\n\t\t}\n\t\treturn index;\n\t},\n\t_replaceCurrTotal = function(text, curr, total) {\n\t\treturn text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);\n\t};\n\n$.magnificPopup.registerModule('gallery', {\n\n\toptions: {\n\t\tenabled: false,\n\t\tarrowMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>',\n\t\tpreload: [0,2],\n\t\tnavigateByImgClick: true,\n\t\tarrows: true,\n\n\t\ttPrev: 'Previous (Left arrow key)',\n\t\ttNext: 'Next (Right arrow key)',\n\t\ttCounter: '%curr% of %total%'\n\t},\n\n\tproto: {\n\t\tinitGallery: function() {\n\n\t\t\tvar gSt = mfp.st.gallery,\n\t\t\t\tns = '.mfp-gallery';\n\n\t\t\tmfp.direction = true; // true - next, false - prev\n\n\t\t\tif(!gSt || !gSt.enabled ) return false;\n\n\t\t\t_wrapClasses += ' mfp-gallery';\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\n\t\t\t\tif(gSt.navigateByImgClick) {\n\t\t\t\t\tmfp.wrap.on('click'+ns, '.mfp-img', function() {\n\t\t\t\t\t\tif(mfp.items.length > 1) {\n\t\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t_document.on('keydown'+ns, function(e) {\n\t\t\t\t\tif (e.keyCode === 37) {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t} else if (e.keyCode === 39) {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t_mfpOn('UpdateStatus'+ns, function(e, data) {\n\t\t\t\tif(data.text) {\n\t\t\t\t\tdata.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {\n\t\t\t\tvar l = mfp.items.length;\n\t\t\t\tvalues.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';\n\t\t\t});\n\n\t\t\t_mfpOn('BuildControls' + ns, function() {\n\t\t\t\tif(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {\n\t\t\t\t\tvar markup = gSt.arrowMarkup,\n\t\t\t\t\t\tarrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),\n\t\t\t\t\t\tarrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);\n\n\t\t\t\t\tarrowLeft.click(function() {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t});\n\t\t\t\t\tarrowRight.click(function() {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t});\n\n\t\t\t\t\tmfp.container.append(arrowLeft.add(arrowRight));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CHANGE_EVENT+ns, function() {\n\t\t\t\tif(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);\n\n\t\t\t\tmfp._preloadTimeout = setTimeout(function() {\n\t\t\t\t\tmfp.preloadNearbyImages();\n\t\t\t\t\tmfp._preloadTimeout = null;\n\t\t\t\t}, 16);\n\t\t\t});\n\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\t_document.off(ns);\n\t\t\t\tmfp.wrap.off('click'+ns);\n\t\t\t\tmfp.arrowRight = mfp.arrowLeft = null;\n\t\t\t});\n\n\t\t},\n\t\tnext: function() {\n\t\t\tmfp.direction = true;\n\t\t\tmfp.index = _getLoopedId(mfp.index + 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tprev: function() {\n\t\t\tmfp.direction = false;\n\t\t\tmfp.index = _getLoopedId(mfp.index - 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tgoTo: function(newIndex) {\n\t\t\tmfp.direction = (newIndex >= mfp.index);\n\t\t\tmfp.index = newIndex;\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tpreloadNearbyImages: function() {\n\t\t\tvar p = mfp.st.gallery.preload,\n\t\t\t\tpreloadBefore = Math.min(p[0], mfp.items.length),\n\t\t\t\tpreloadAfter = Math.min(p[1], mfp.items.length),\n\t\t\t\ti;\n\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index+i);\n\t\t\t}\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index-i);\n\t\t\t}\n\t\t},\n\t\t_preloadItem: function(index) {\n\t\t\tindex = _getLoopedId(index);\n\n\t\t\tif(mfp.items[index].preloaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar item = mfp.items[index];\n\t\t\tif(!item.parsed) {\n\t\t\t\titem = mfp.parseEl( index );\n\t\t\t}\n\n\t\t\t_mfpTrigger('LazyLoad', item);\n\n\t\t\tif(item.type === 'image') {\n\t\t\t\titem.img = $('<img class=\"mfp-img\" />').on('load.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t}).on('error.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t_mfpTrigger('LazyLoadError', item);\n\t\t\t\t}).attr('src', item.src);\n\t\t\t}\n\n\n\t\t\titem.preloaded = true;\n\t\t}\n\t}\n});\n\n/*>>gallery*/\n\n/*>>retina*/\n\nvar RETINA_NS = 'retina';\n\n$.magnificPopup.registerModule(RETINA_NS, {\n\toptions: {\n\t\treplaceSrc: function(item) {\n\t\t\treturn item.src.replace(/\\.\\w+$/, function(m) { return '@2x' + m; });\n\t\t},\n\t\tratio: 1 // Function or number. Set to 1 to disable.\n\t},\n\tproto: {\n\t\tinitRetina: function() {\n\t\t\tif(window.devicePixelRatio > 1) {\n\n\t\t\t\tvar st = mfp.st.retina,\n\t\t\t\t\tratio = st.ratio;\n\n\t\t\t\tratio = !isNaN(ratio) ? ratio : ratio();\n\n\t\t\t\tif(ratio > 1) {\n\t\t\t\t\t_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.img.css({\n\t\t\t\t\t\t\t'max-width': item.img[0].naturalWidth / ratio,\n\t\t\t\t\t\t\t'width': '100%'\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\t_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.src = st.replaceSrc(item, ratio);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n});\n\n/*>>retina*/\n _checkInstance(); }));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/magnific-popup/dist/jquery.magnific-popup.js\n// module id = 94\n// module chunks = 2 3","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 95\n// module chunks = 2 3","(function(globalSope) {\n 'use strict';\n\n /**\n * Including this file adds the `addDynamicListener` to the ELement prototype.\n * \n * The dynamic listener gets an extra `selector` parameter that only calls the callback\n * if the target element matches the selector.\n * \n * The listener has to be added to the container/root element and the selector should match\n * the elements that should trigger the event.\n * \n * Browser support: IE9+\n */\n\n // Polyfil Element.matches\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches#Polyfill\n if (!Element.prototype.matches) {\n Element.prototype.matches = \n Element.prototype.matchesSelector || \n Element.prototype.mozMatchesSelector ||\n Element.prototype.msMatchesSelector || \n Element.prototype.oMatchesSelector || \n Element.prototype.webkitMatchesSelector ||\n function(s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1; \n };\n }\n\n /**\n * Returns a modified callback function that calls the\n * initial callback function only if the target element matches the given selector\n * \n * @param {string} selector \n * @param {function} callback \n */\n function getConditionalCallback(selector, callback) {\n return function(e) {\n if(!e.target) return;\n if(!e.target.matches(selector)) return;\n callback.apply(this, arguments);\n };\n }\n\n /**\n * \n * \n * @param {Element} rootElement The root element to add the linster too.\n * @param {string} eventType The event type to listen for.\n * @param {string} selector The selector that should match the dynamic elements.\n * @param {function} callback The function to call when an event occurs on the given selector.\n * @param {boolean|object} options Passed as the regular `options` parameter to the addEventListener function\n * Set to `true` to use capture.\n * Usually used as an object to add the listener as `passive`\n */\n globalSope.addDynamicEventListener = function (rootElement, eventType, selector, callback, options) {\n rootElement.addEventListener(eventType, getConditionalCallback(selector, callback), options);\n };\n})(window);\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/js/plugins/dynamicListener.js"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///js/admin-shortcodes.js","webpack:///webpack/bootstrap 49eb0aec5a1f635b6ca4","webpack:///./includes/admin/shortcodes/admin-shortcodes.js","webpack:///./assets/src/js/plugins/modal.js","webpack:///./node_modules/magnific-popup/dist/jquery.magnific-popup.js","webpack:///external \"jQuery\"","webpack:///./assets/src/js/plugins/dynamicListener.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","364","__webpack_exports__","value","scShortcode","scButton","__WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__","jQuery","$","doc","this","window","render_continue_button_title_field","selected_display_style","text","expected_display_styles","inArray","closest","hide","show","scForm","open","editor_id","editor","tinymce","data","field","required","valid","win","action","shortcode","post","ajaxurl","response","body","console","error","length","send_to_editor","destroy","each","index","item","onselect","popup","title","classes","minWidth","buttons","ok","onclick","windowManager","getWindows","scShortcodes","id","find","state","modalContent","desc","cancelBtnTitle","give_vars","render","submit","close","onsubmit","e","attributes","key","onclose","onopen","constructor","Array","tmp","remove","scOpen","addClass","parent","scClose","removeClass","on","target","preventDefault","hasClass","attr","wpActiveEditor","execCommand","append","init","mode","elements","plugins","setTimeout","warn","92","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","TypeError","create","writable","setPrototypeOf","__proto__","_classCallCheck","instance","Constructor","GiveErrorAlert","GiveFormModal","__WEBPACK_IMPORTED_MODULE_0_magnific_popup__","__WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__","_createClass","defineProperties","props","descriptor","protoProps","staticProps","GiveModal","obj","Error","config","assign","type","triggerSelector","externalPlugin","modalWrapper","mainClass","trim","setupTemplate","popupConfig","__setupClickEvent","template","link","link_text","cancel","confirmBtnTitle","confirm","getTemplate","magnificPopup","items","src","removalDelay","fixedContentPos","fixedBgPos","alignTop","showCloseBtn","closeOnBgClick","enableEscapeKey","focus","event","_GiveModal","_this","getPrototypeOf","GiveConfirmModal","_GiveModal2","GiveWarningAlert","_this2","_GiveModal3","GiveNoticeAlert","_this3","_GiveModal4","GiveSuccessAlert","_this4","_GiveModal5","_this5","st","successConfirm","el","_GiveModal6","_this6","addDynamicEventListener","document","__closePopup","__confirmPopup","__submitPopup","93","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","factory","undefined","apply","mfp","_prevStatus","_document","_prevContentType","_wrapClasses","_currPopupType","MagnificPopup","_isJQ","_window","_mfpOn","f","ev","_getEl","className","appendTo","html","raw","createElement","innerHTML","appendChild","_mfpTrigger","triggerHandler","callbacks","charAt","toLowerCase","slice","isArray","_getCloseBtn","currTemplate","closeBtn","closeMarkup","replace","tClose","_checkInstance","supportsTransitions","style","v","pop","appVersion","navigator","isLowIE","isIE8","all","addEventListener","isAndroid","test","isIOS","supportsTransition","probablyMobile","userAgent","popupsCache","isObj","toArray","parsed","isOpen","updateItemHTML","types","mainEl","eq","extend","defaults","modal","closeOnContentClick","bgOverlay","wrap","_checkIfClose","container","contentContainer","preloader","tLoading","toUpperCase","closeBtnInside","values","close_replaceWith","css","overflow","overflowY","overflowX","top","scrollTop","position","height","keyCode","updateSize","windowHeight","wH","windowStyles","_hasScrollBar","_getScrollbarSize","marginRight","isIE7","classesToadd","_addClassToMFP","add","prependTo","_lastFocusedEl","activeElement","content","_setFocus","_onFocusIn","_close","classesToRemove","REMOVING_CLASS","detach","empty","_removeClassFromMFP","off","removeAttr","currItem","autoFocusLast","prevHeight","winHeight","zoomLevel","documentElement","clientWidth","innerWidth","innerHeight","parseEl","markup","newContent","appendContent","preloaded","prepend","tagName","addGroup","options","eHandler","mfpEl","_openClick","eName","delegate","midClick","which","ctrlKey","metaKey","altKey","shiftKey","disableOn","isFunction","width","stopPropagation","updateStatus","status","stopImmediatePropagation","closeOnContent","closeOnBg","contains","cName","scrollHeight","_parseMarkup","arr","split","EVENT_NS","replaceWith","is","scrollbarSize","scrollDiv","cssText","offsetWidth","removeChild","proto","registerModule","push","fn","jqEl","itemOpts","parseInt","arguments","_hiddenClass","_inlinePlaceholder","_lastInlineElement","_putInlineElementsBack","after","hiddenClass","tNotFound","initInline","CLOSE_EVENT","getInline","inlineSt","inline","parentNode","inlineElement","_ajaxCur","_removeAjaxCursor","_destroyAjaxRequest","req","abort","settings","cursor","tError","initAjax","ajax","getAjax","opts","url","success","textStatus","jqXHR","temp","xhr","finished","loadError","_imgInterval","_getTitle","image","titleSrc","verticalFit","initImage","imgSt","ns","resizeImage","img","decr","_onImageHasSize","hasSize","clearInterval","isCheckingImgSize","imgHidden","findImageSize","counter","mfpSetInterval","delay","setInterval","naturalWidth","getImage","guard","onLoadComplete","complete","loaded","onLoadError","alt","clone","img_replaceWith","loading","hasMozTransform","getHasMozTransform","MozTransform","enabled","easing","duration","opener","element","initZoom","zoomSt","zoom","openTimeout","animatedImg","getElToAnimate","newImg","transition","cssObj","zIndex","left","-webkit-backface-visibility","t","showMainContent","_allowZoom","clearTimeout","_getItemToZoom","_getOffset","isLarge","offset","paddingTop","paddingBottom","offsetHeight","_fixIframeBugs","isShowing","srcAction","patterns","youtube","vimeo","gmaps","initIframe","prevType","newType","getIframe","embedSrc","iframeSt","iframe","indexOf","substr","lastIndexOf","dataObj","_getLoopedId","numSlides","_replaceCurrTotal","curr","total","arrowMarkup","preload","navigateByImgClick","arrows","tPrev","tNext","tCounter","initGallery","gSt","gallery","direction","next","prev","arrowLeft","arrowRight","click","_preloadTimeout","preloadNearbyImages","goTo","newIndex","preloadBefore","Math","min","preloadAfter","_preloadItem","replaceSrc","ratio","initRetina","devicePixelRatio","retina","isNaN","max-width","94","95","globalSope","getConditionalCallback","selector","callback","matches","Element","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","querySelectorAll","rootElement","eventType"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAA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UmgB,iBAClBD,QAAQlgB,UAAUogB,oBAClBF,QAAQlgB,UAAUqgB,mBAClBH,QAAQlgB,UAAUsgB,kBAClBJ,QAAQlgB,UAAUugB,uBAClB,SAASpgB,GAGL,IAFA,GAAI8f,IAAWpf,KAAKmK,UAAYnK,KAAK2f,eAAeC,iBAAiBtgB,GACjErB,EAAImhB,EAAQxd,SACP3D,GAAK,GAAKmhB,EAAQnd,KAAKhE,KAAO+B,OACvC,MAAO/B,IAAK,IA8BxB+gB,EAAW9U,wBAA0B,SAAU2V,EAAaC,EAAWZ,EAAUC,EAAUxM,GACvFkN,EAAYpS,iBAAiBqS,EAAWb,EAAuBC,EAAUC,GAAWxM,KAEzF1S","file":"js/admin-shortcodes.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 364);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 364:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__ = __webpack_require__(92);\n/*!\n * Give Admin Shortcodes JS\n *\n * @description: The Give Admin Shortcode scripts. Only enqueued on the admin widgets screen; used to show shortcode dialogs, show/hide, and other functions\n * @package: Give\n * @subpackage: Assets/JS\n * @author: Paul Ryley\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n * @since: 1.3.0\n */\n\n/* global ajaxurl, jQuery, scShortcodes, tinymce */\n\n\n\nvar scShortcode, scButton;\n\njQuery(function ($) {\n\n\tvar doc = $(this);\n\n\t/**\n * Show continue button title setting field only if display style is not All Fields.\n */\n\twindow.render_continue_button_title_field = function () {\n\t\tvar selected_display_style = $('.mce-txt', '.mce-give-display-style').text(),\n\t\t expected_display_styles = ['- Select -', 'All Fields'];\n\n\t\tif (-1 !== $.inArray(selected_display_style, expected_display_styles)) {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container').hide();\n\t\t} else {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container').show();\n\t\t}\n\t};\n\n\twindow.scForm = {\n\n\t\topen: function open(editor_id) {\n\t\t\tvar editor = tinymce.get(editor_id);\n\n\t\t\tif (!editor) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar data, field, required, valid, win;\n\n\t\t\tdata = {\n\t\t\t\taction: 'give_shortcode',\n\t\t\t\tshortcode: scShortcode\n\t\t\t};\n\n\t\t\t$.post(ajaxurl, data, function (response) {\n\n\t\t\t\t// what happens if response === false?\n\t\t\t\tif (!response.body) {\n\t\t\t\t\tconsole.error('Bad AJAX response!');\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (response.body.length === 0) {\n\t\t\t\t\twindow.send_to_editor('[' + response.shortcode + ']');\n\n\t\t\t\t\tscForm.destroy();\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n * Render continue button title setting field on basis of display style value.\n */\n\t\t\t\t$.each(response.body, function (index, item) {\n\n\t\t\t\t\tif ('display_style' === item.name) {\n\t\t\t\t\t\tresponse.body[index].onselect = function () {\n\t\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tvar popup = {\n\t\t\t\t\ttitle: response.title,\n\t\t\t\t\tbody: response.body,\n\t\t\t\t\tclasses: 'sc-popup',\n\t\t\t\t\tminWidth: 320,\n\t\t\t\t\tbuttons: [{\n\t\t\t\t\t\ttext: response.ok,\n\t\t\t\t\t\tclasses: 'primary sc-primary',\n\t\t\t\t\t\tonclick: function onclick() {\n\t\t\t\t\t\t\t// Get the top most window object\n\t\t\t\t\t\t\twin = editor.windowManager.getWindows()[0];\n\n\t\t\t\t\t\t\t// Get the shortcode required attributes\n\t\t\t\t\t\t\trequired = scShortcodes[scShortcode];\n\n\t\t\t\t\t\t\tvalid = true;\n\n\t\t\t\t\t\t\t// Do some validation voodoo\n\t\t\t\t\t\t\tfor (var id in required) {\n\t\t\t\t\t\t\t\tif (required.hasOwnProperty(id)) {\n\n\t\t\t\t\t\t\t\t\tfield = win.find('#' + id)[0];\n\n\t\t\t\t\t\t\t\t\tif (typeof field !== 'undefined' && field.state.data.value === '') {\n\n\t\t\t\t\t\t\t\t\t\tvalid = false;\n\n\t\t\t\t\t\t\t\t\t\tnew __WEBPACK_IMPORTED_MODULE_0__assets_src_js_plugins_modal__[\"a\" /* GiveErrorAlert */]({\n\t\t\t\t\t\t\t\t\t\t\tmodalContent: {\n\t\t\t\t\t\t\t\t\t\t\t\tdesc: required[id],\n\t\t\t\t\t\t\t\t\t\t\t\tcancelBtnTitle: give_vars.ok\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}).render();\n\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (valid) {\n\t\t\t\t\t\t\t\twin.submit();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}, {\n\t\t\t\t\t\ttext: response.close,\n\t\t\t\t\t\tonclick: 'close'\n\t\t\t\t\t}],\n\t\t\t\t\tonsubmit: function onsubmit(e) {\n\t\t\t\t\t\tvar attributes = '';\n\n\t\t\t\t\t\tfor (var key in e.data) {\n\t\t\t\t\t\t\tif (e.data.hasOwnProperty(key) && e.data[key] !== '') {\n\t\t\t\t\t\t\t\tattributes += ' ' + key + '=\"' + e.data[key] + '\"';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Insert shortcode into the WP_Editor\n\t\t\t\t\t\twindow.send_to_editor('[' + response.shortcode + attributes + ']');\n\t\t\t\t\t},\n\t\t\t\t\tonclose: function onclose() {\n\t\t\t\t\t\tscForm.destroy();\n\t\t\t\t\t},\n\t\t\t\t\tonopen: function onopen() {\n\t\t\t\t\t\t// Conditional fields.\n\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Change the buttons if server-side validation failed\n\t\t\t\tif (response.ok.constructor === Array) {\n\t\t\t\t\tpopup.buttons[0].text = response.ok[0];\n\t\t\t\t\tpopup.buttons[0].onclick = 'close';\n\t\t\t\t\tdelete popup.buttons[1];\n\t\t\t\t}\n\n\t\t\t\teditor.windowManager.open(popup);\n\t\t\t});\n\t\t},\n\n\t\tdestroy: function destroy() {\n\t\t\tvar tmp = $('#scTemp');\n\n\t\t\tif (tmp.length) {\n\t\t\t\ttinymce.get('scTemp').remove();\n\t\t\t\ttmp.remove();\n\t\t\t}\n\t\t}\n\t};\n\n\tvar scOpen = function scOpen() {\n\t\tscButton.addClass('active').parent().find('.sc-menu').show();\n\t};\n\n\tvar scClose = function scClose() {\n\t\tif (typeof scButton !== 'undefined') {\n\t\t\tscButton.removeClass('active').parent().find('.sc-menu').hide();\n\t\t}\n\t};\n\n\tdoc.on('click', function (e) {\n\t\tif (!$(e.target).closest('.sc-wrap').length) {\n\t\t\tscClose();\n\t\t}\n\t});\n\n\tdoc.on('click', '.sc-button', function (e) {\n\t\te.preventDefault();\n\n\t\tscButton = $(this);\n\n\t\tif (scButton.hasClass('active')) {\n\t\t\tscClose();\n\t\t} else {\n\t\t\tscOpen();\n\t\t}\n\t});\n\n\tdoc.on('click', '.sc-shortcode', function (e) {\n\t\te.preventDefault();\n\n\t\t// scShortcode is used by scForm to trigger the correct popup\n\t\tscShortcode = $(this).attr('data-shortcode');\n\n\t\tif (scShortcode) {\n\t\t\tif (!tinymce.get(window.wpActiveEditor)) {\n\n\t\t\t\tif (!$('#scTemp').length) {\n\n\t\t\t\t\t$('body').append('<textarea id=\"scTemp\" style=\"display: none;\" />');\n\n\t\t\t\t\ttinymce.init({\n\t\t\t\t\t\tmode: \"exact\",\n\t\t\t\t\t\telements: \"scTemp\",\n\t\t\t\t\t\tplugins: ['give_shortcode', 'wplink']\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\ttinymce.execCommand('Give_Shortcode');\n\t\t\t\t}, 200);\n\t\t\t} else {\n\t\t\t\ttinymce.execCommand('Give_Shortcode');\n\t\t\t}\n\n\t\t\tsetTimeout(function () {\n\t\t\t\tscClose();\n\t\t\t}, 100);\n\t\t} else {\n\t\t\tconsole.warn('That is not a valid shortcode link.');\n\t\t}\n\t});\n});\n\n/***/ }),\n\n/***/ 92:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export GiveModal */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return GiveErrorAlert; });\n/* unused harmony export GiveWarningAlert */\n/* unused harmony export GiveNoticeAlert */\n/* unused harmony export GiveSuccessAlert */\n/* unused harmony export GiveConfirmModal */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return GiveFormModal; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_magnific_popup__ = __webpack_require__(93);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_magnific_popup___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_magnific_popup__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__ = __webpack_require__(95);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dynamicListener_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__dynamicListener_js__);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * This API is under development, so do not use this in production.\n * We will open this API for use after some testing (coming releases).\n */\n/* globals give_vars, jQuery */\n\n\n\n/**\n * This abstract class is base for modal\n *\n * @since 2.1.0\n */\n\nvar GiveModal = function () {\n\tfunction GiveModal(obj) {\n\t\t_classCallCheck(this, GiveModal);\n\n\t\tif (GiveModal === this.constructor) {\n\t\t\tthrow new Error('Abstract classes can\\'t be instantiated.');\n\t\t}\n\n\t\tthis.config = Object.assign({\n\t\t\ttype: '',\n\t\t\ttriggerSelector: '',\n\t\t\texternalPlugin: 'magnificPopup',\n\t\t\tclasses: { modalWrapper: '' },\n\t\t\tmodalContent: {}\n\t\t}, obj);\n\n\t\t// Set main class.\n\t\tthis.config.mainClass = ((this.config.mainClass ? this.config.mainClass : '') + ' modal-fade-slide').trim();\n\t}\n\n\t/**\n * Bootstrap\n */\n\n\n\t_createClass(GiveModal, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis.setupTemplate();\n\t\t\tthis.popupConfig();\n\t\t\tthis.__setupClickEvent();\n\t\t}\n\n\t\t/**\n * Get template\n *\n * @since 2.1.0\n *\n * @return {string} Template HTML.\n */\n\n\t}, {\n\t\tkey: 'getTemplate',\n\t\tvalue: function getTemplate() {\n\t\t\tvar template = '<div class=\"give-hidden\"></div>';\n\n\t\t\tif (this.config.type.length) {\n\t\t\t\ttemplate = '<div class=\"give-modal give-modal--zoom ' + (this.config.classes.modalWrapper ? ('' + this.config.classes.modalWrapper).trim() : '') + '\">\\n\\n\\t\\t\\t\\t<div class=\"give-modal__body\">\\n\\t\\t\\t\\t\\t' + (this.config.modalContent.title ? '<h2 class=\"give-modal__title\">' + this.config.modalContent.title + '</h2>' : '') + '\\n\\t\\t\\t\\t\\t' + (this.config.modalContent.desc ? '<p class=\"give-modal__description\">' + this.config.modalContent.desc + '</p>' : '') + '\\n\\t\\t\\t\\t</div>\\n\\t\\n\\t\\t\\t\\t<div class=\"give-modal__controls\">\\n\\n\\t\\t\\t\\t\\t' + ('form' === this.config.type ? '<div class=\"spinner\"></div>' : '') + '\\n\\t\\t\\t\\t\\t' + ('form' === this.config.type ? '<a class=\"give-modal--additional-link\" href=\"' + this.config.modalContent.link + '\">' + this.config.modalContent.link_text + '</a>' : '') + '\\n\\n\\t\\t\\t\\t\\t<button class=\"give-button give-button--secondary give-popup-close-button\">\\n\\t\\t\\t\\t\\t\\t' + (this.config.modalContent.cancelBtnTitle ? this.config.modalContent.cancelBtnTitle : 'confirm' === this.config.type ? give_vars.cancel : give_vars.close) + '\\n\\t\\t\\t\\t\\t</button>\\n\\n\\t\\t\\t\\t\\t' + ('confirm' !== this.config.type && 'form' !== this.config.type ? '' : '<button class=\"give-button give-button--primary give-popup-' + this.config.type + '-button\">\\n\\n\\t\\t\\t\\t\\t\\t' + (this.config.modalContent.confirmBtnTitle ? this.config.modalContent.confirmBtnTitle : give_vars.confirm) + '\\n\\t\\t\\t\\t\\t</button>') + '\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\n\\t\\t\\t</div>';\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\n\t\t/**\n * Setup template\n *\n * @since 2.1.0\n */\n\n\t}, {\n\t\tkey: 'setupTemplate',\n\t\tvalue: function setupTemplate() {\n\t\t\tthis.config.template = this.getTemplate();\n\t\t}\n\n\t\t/**\n * Handle click event if triggerSelector is set.\n *\n * @since 2.1.0\n * @private\n */\n\n\t}, {\n\t\tkey: '__setupClickEvent',\n\t\tvalue: function __setupClickEvent() {\n\t\t\t// Bailout.\n\t\t\tif (!this.config.triggerSelector.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tjQuery(this.config.triggerSelector).magnificPopup(this.config);\n\t\t}\n\n\t\t/**\n * Setup popup params\n *\n * Note: only for internal purpose\n *\n * @since 2.1.0\n * @private\n */\n\n\t}, {\n\t\tkey: 'popupConfig',\n\t\tvalue: function popupConfig() {\n\t\t\tif ('magnificPopup' === this.config.externalPlugin) {\n\t\t\t\tthis.config.items = this.config.items || {\n\t\t\t\t\tsrc: this.config.template,\n\t\t\t\t\ttype: 'inline'\n\t\t\t\t};\n\n\t\t\t\tthis.config.removalDelay = 300;\n\t\t\t\tthis.config.fixedContentPos = true;\n\t\t\t\tthis.config.fixedBgPos = true;\n\t\t\t\tthis.config.alignTop = true;\n\t\t\t\tthis.config.showCloseBtn = false;\n\t\t\t\tthis.config.closeOnBgClick = false;\n\t\t\t\tthis.config.enableEscapeKey = true;\n\t\t\t\tthis.config.focus = '.give-popup-close-button';\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Click close button event handler\n *\n * @since 2.1.0\n * @private\n *\n * @param {object} event Event object.\n */\n\n\t}, {\n\t\tkey: 'render',\n\n\n\t\t/**\n * Give's Notice Popup\n *\n * @since 2.1.0\n *\n * @return {object} GiveModal class object.\n */\n\t\tvalue: function render() {\n\t\t\tswitch (this.config.externalPlugin) {\n\t\t\t\tcase 'magnificPopup':\n\t\t\t\t\tif (!this.config.triggerSelector) {\n\t\t\t\t\t\tjQuery.magnificPopup.open(this.config);\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\t}], [{\n\t\tkey: '__closePopup',\n\t\tvalue: function __closePopup(event) {\n\t\t\tevent.preventDefault();\n\t\t\tjQuery.magnificPopup.instance.close();\n\t\t}\n\t}]);\n\n\treturn GiveModal;\n}();\n\n/**\n * This class will handle error alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveErrorAlert = function (_GiveModal) {\n\t_inherits(GiveErrorAlert, _GiveModal);\n\n\tfunction GiveErrorAlert(obj) {\n\t\t_classCallCheck(this, GiveErrorAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this = _possibleConstructorReturn(this, (GiveErrorAlert.__proto__ || Object.getPrototypeOf(GiveErrorAlert)).call(this, obj));\n\n\t\t_this.config.classes.modalWrapper = 'give-modal--error';\n\n\t\t_this.init();\n\t\treturn _this;\n\t}\n\n\treturn GiveErrorAlert;\n}(GiveModal);\n\n/**\n * This class will handle warning alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveWarningAlert = function (_GiveModal2) {\n\t_inherits(GiveWarningAlert, _GiveModal2);\n\n\tfunction GiveWarningAlert(obj) {\n\t\t_classCallCheck(this, GiveWarningAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this2 = _possibleConstructorReturn(this, (GiveWarningAlert.__proto__ || Object.getPrototypeOf(GiveWarningAlert)).call(this, obj));\n\n\t\t_this2.config.classes.modalWrapper = 'give-modal--warning';\n\n\t\t_this2.init();\n\t\treturn _this2;\n\t}\n\n\treturn GiveWarningAlert;\n}(GiveModal);\n\n/**\n * This class will handle notice alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveNoticeAlert = function (_GiveModal3) {\n\t_inherits(GiveNoticeAlert, _GiveModal3);\n\n\tfunction GiveNoticeAlert(obj) {\n\t\t_classCallCheck(this, GiveNoticeAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this3 = _possibleConstructorReturn(this, (GiveNoticeAlert.__proto__ || Object.getPrototypeOf(GiveNoticeAlert)).call(this, obj));\n\n\t\t_this3.config.classes.modalWrapper = 'give-modal--notice';\n\n\t\t_this3.init();\n\t\treturn _this3;\n\t}\n\n\treturn GiveNoticeAlert;\n}(GiveModal);\n\n/**\n * This class will handle success alert modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveSuccessAlert = function (_GiveModal4) {\n\t_inherits(GiveSuccessAlert, _GiveModal4);\n\n\tfunction GiveSuccessAlert(obj) {\n\t\t_classCallCheck(this, GiveSuccessAlert);\n\n\t\tobj.type = 'alert';\n\n\t\tvar _this4 = _possibleConstructorReturn(this, (GiveSuccessAlert.__proto__ || Object.getPrototypeOf(GiveSuccessAlert)).call(this, obj));\n\n\t\t_this4.config.classes.modalWrapper = 'give-modal--success';\n\n\t\t_this4.init();\n\t\treturn _this4;\n\t}\n\n\treturn GiveSuccessAlert;\n}(GiveModal);\n\n/**\n * This class will handle confirm modal\n *\n * @since 2.1.0\n */\n\n\nvar GiveConfirmModal = function (_GiveModal5) {\n\t_inherits(GiveConfirmModal, _GiveModal5);\n\n\tfunction GiveConfirmModal(obj) {\n\t\t_classCallCheck(this, GiveConfirmModal);\n\n\t\tobj.type = 'confirm';\n\n\t\tvar _this5 = _possibleConstructorReturn(this, (GiveConfirmModal.__proto__ || Object.getPrototypeOf(GiveConfirmModal)).call(this, obj));\n\n\t\tif ('undefined' !== typeof obj.modalWrapper && '' !== obj.modalWrapper) {\n\t\t\t_this5.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\t_this5.init();\n\t\treturn _this5;\n\t}\n\n\t/**\n * Confirm button click event handler\n *\n * Note: only for internal purpose\n *\n * @since 2.1.0\n * @private\n */\n\n\n\t_createClass(GiveConfirmModal, null, [{\n\t\tkey: '__confirmPopup',\n\t\tvalue: function __confirmPopup() {\n\t\t\tif ('function' === typeof jQuery.magnificPopup.instance.st.successConfirm) {\n\t\t\t\tjQuery.magnificPopup.instance.st.successConfirm({\n\t\t\t\t\tel: jQuery.magnificPopup.instance.st.el\n\t\t\t\t});\n\t\t\t\tjQuery.magnificPopup.close();\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn GiveConfirmModal;\n}(GiveModal);\n\n/**\n * This class will handle Form modal\n *\n * @since 2.2.0\n */\n\n\nvar GiveFormModal = function (_GiveModal6) {\n\t_inherits(GiveFormModal, _GiveModal6);\n\n\tfunction GiveFormModal(obj) {\n\t\t_classCallCheck(this, GiveFormModal);\n\n\t\tobj.type = 'form';\n\n\t\tvar _this6 = _possibleConstructorReturn(this, (GiveFormModal.__proto__ || Object.getPrototypeOf(GiveFormModal)).call(this, obj));\n\n\t\tif ('undefined' !== typeof obj.modalWrapper && '' !== obj.modalWrapper) {\n\t\t\t_this6.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\t_this6.init();\n\t\treturn _this6;\n\t}\n\n\t/**\n * Submit button click event handler\n *\n * Note: only for internal purpose\n *\n * @since 2.2.0\n * @private\n */\n\n\n\t_createClass(GiveFormModal, null, [{\n\t\tkey: '__submitPopup',\n\t\tvalue: function __submitPopup() {\n\t\t\tif ('function' === typeof jQuery.magnificPopup.instance.st.successConfirm) {\n\t\t\t\tjQuery.magnificPopup.instance.st.successConfirm({\n\t\t\t\t\tel: jQuery.magnificPopup.instance.st.el\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn GiveFormModal;\n}(GiveModal);\n\n/**\n * Add events\n */\n\n\nwindow.addDynamicEventListener(document, 'click', '.give-popup-close-button', GiveModal.__closePopup, {});\nwindow.addDynamicEventListener(document, 'click', '.give-popup-confirm-button', GiveConfirmModal.__confirmPopup, {});\nwindow.addDynamicEventListener(document, 'click', '.give-popup-form-button', GiveFormModal.__submitPopup, {});\n\n\n\n/***/ }),\n\n/***/ 93:\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n;(function (factory) { \nif (true) { \n // AMD. Register as an anonymous module. \n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(94)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); \n } else if (typeof exports === 'object') { \n // Node/CommonJS \n factory(require('jquery')); \n } else { \n // Browser globals \n factory(window.jQuery || window.Zepto); \n } \n }(function($) { \n\n/*>>core*/\n/**\n * \n * Magnific Popup Core JS file\n * \n */\n\n\n/**\n * Private static constants\n */\nvar CLOSE_EVENT = 'Close',\n\tBEFORE_CLOSE_EVENT = 'BeforeClose',\n\tAFTER_CLOSE_EVENT = 'AfterClose',\n\tBEFORE_APPEND_EVENT = 'BeforeAppend',\n\tMARKUP_PARSE_EVENT = 'MarkupParse',\n\tOPEN_EVENT = 'Open',\n\tCHANGE_EVENT = 'Change',\n\tNS = 'mfp',\n\tEVENT_NS = '.' + NS,\n\tREADY_CLASS = 'mfp-ready',\n\tREMOVING_CLASS = 'mfp-removing',\n\tPREVENT_CLOSE_CLASS = 'mfp-prevent-close';\n\n\n/**\n * Private vars \n */\n/*jshint -W079 */\nvar mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'\n\tMagnificPopup = function(){},\n\t_isJQ = !!(window.jQuery),\n\t_prevStatus,\n\t_window = $(window),\n\t_document,\n\t_prevContentType,\n\t_wrapClasses,\n\t_currPopupType;\n\n\n/**\n * Private functions\n */\nvar _mfpOn = function(name, f) {\n\t\tmfp.ev.on(NS + name + EVENT_NS, f);\n\t},\n\t_getEl = function(className, appendTo, html, raw) {\n\t\tvar el = document.createElement('div');\n\t\tel.className = 'mfp-'+className;\n\t\tif(html) {\n\t\t\tel.innerHTML = html;\n\t\t}\n\t\tif(!raw) {\n\t\t\tel = $(el);\n\t\t\tif(appendTo) {\n\t\t\t\tel.appendTo(appendTo);\n\t\t\t}\n\t\t} else if(appendTo) {\n\t\t\tappendTo.appendChild(el);\n\t\t}\n\t\treturn el;\n\t},\n\t_mfpTrigger = function(e, data) {\n\t\tmfp.ev.triggerHandler(NS + e, data);\n\n\t\tif(mfp.st.callbacks) {\n\t\t\t// converts \"mfpEventName\" to \"eventName\" callback and triggers it if it's present\n\t\t\te = e.charAt(0).toLowerCase() + e.slice(1);\n\t\t\tif(mfp.st.callbacks[e]) {\n\t\t\t\tmfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);\n\t\t\t}\n\t\t}\n\t},\n\t_getCloseBtn = function(type) {\n\t\tif(type !== _currPopupType || !mfp.currTemplate.closeBtn) {\n\t\t\tmfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );\n\t\t\t_currPopupType = type;\n\t\t}\n\t\treturn mfp.currTemplate.closeBtn;\n\t},\n\t// Initialize Magnific Popup only when called at least once\n\t_checkInstance = function() {\n\t\tif(!$.magnificPopup.instance) {\n\t\t\t/*jshint -W020 */\n\t\t\tmfp = new MagnificPopup();\n\t\t\tmfp.init();\n\t\t\t$.magnificPopup.instance = mfp;\n\t\t}\n\t},\n\t// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr\n\tsupportsTransitions = function() {\n\t\tvar s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist\n\t\t\tv = ['ms','O','Moz','Webkit']; // 'v' for vendor\n\n\t\tif( s['transition'] !== undefined ) {\n\t\t\treturn true; \n\t\t}\n\t\t\t\n\t\twhile( v.length ) {\n\t\t\tif( v.pop() + 'Transition' in s ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t};\n\n\n\n/**\n * Public functions\n */\nMagnificPopup.prototype = {\n\n\tconstructor: MagnificPopup,\n\n\t/**\n\t * Initializes Magnific Popup plugin. \n\t * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed\n\t */\n\tinit: function() {\n\t\tvar appVersion = navigator.appVersion;\n\t\tmfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;\n\t\tmfp.isAndroid = (/android/gi).test(appVersion);\n\t\tmfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);\n\t\tmfp.supportsTransition = supportsTransitions();\n\n\t\t// We disable fixed positioned lightbox on devices that don't handle it nicely.\n\t\t// If you know a better way of detecting this - let me know.\n\t\tmfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );\n\t\t_document = $(document);\n\n\t\tmfp.popupsCache = {};\n\t},\n\n\t/**\n\t * Opens popup\n\t * @param data [description]\n\t */\n\topen: function(data) {\n\n\t\tvar i;\n\n\t\tif(data.isObj === false) { \n\t\t\t// convert jQuery collection to array to avoid conflicts later\n\t\t\tmfp.items = data.items.toArray();\n\n\t\t\tmfp.index = 0;\n\t\t\tvar items = data.items,\n\t\t\t\titem;\n\t\t\tfor(i = 0; i < items.length; i++) {\n\t\t\t\titem = items[i];\n\t\t\t\tif(item.parsed) {\n\t\t\t\t\titem = item.el[0];\n\t\t\t\t}\n\t\t\t\tif(item === data.el[0]) {\n\t\t\t\t\tmfp.index = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.items = $.isArray(data.items) ? data.items : [data.items];\n\t\t\tmfp.index = data.index || 0;\n\t\t}\n\n\t\t// if popup is already opened - we just update the content\n\t\tif(mfp.isOpen) {\n\t\t\tmfp.updateItemHTML();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmfp.types = []; \n\t\t_wrapClasses = '';\n\t\tif(data.mainEl && data.mainEl.length) {\n\t\t\tmfp.ev = data.mainEl.eq(0);\n\t\t} else {\n\t\t\tmfp.ev = _document;\n\t\t}\n\n\t\tif(data.key) {\n\t\t\tif(!mfp.popupsCache[data.key]) {\n\t\t\t\tmfp.popupsCache[data.key] = {};\n\t\t\t}\n\t\t\tmfp.currTemplate = mfp.popupsCache[data.key];\n\t\t} else {\n\t\t\tmfp.currTemplate = {};\n\t\t}\n\n\n\n\t\tmfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); \n\t\tmfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;\n\n\t\tif(mfp.st.modal) {\n\t\t\tmfp.st.closeOnContentClick = false;\n\t\t\tmfp.st.closeOnBgClick = false;\n\t\t\tmfp.st.showCloseBtn = false;\n\t\t\tmfp.st.enableEscapeKey = false;\n\t\t}\n\t\t\n\n\t\t// Building markup\n\t\t// main containers are created only once\n\t\tif(!mfp.bgOverlay) {\n\n\t\t\t// Dark overlay\n\t\t\tmfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {\n\t\t\t\tmfp.close();\n\t\t\t});\n\n\t\t\tmfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {\n\t\t\t\tif(mfp._checkIfClose(e.target)) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmfp.container = _getEl('container', mfp.wrap);\n\t\t}\n\n\t\tmfp.contentContainer = _getEl('content');\n\t\tif(mfp.st.preloader) {\n\t\t\tmfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);\n\t\t}\n\n\n\t\t// Initializing modules\n\t\tvar modules = $.magnificPopup.modules;\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar n = modules[i];\n\t\t\tn = n.charAt(0).toUpperCase() + n.slice(1);\n\t\t\tmfp['init'+n].call(mfp);\n\t\t}\n\t\t_mfpTrigger('BeforeOpen');\n\n\n\t\tif(mfp.st.showCloseBtn) {\n\t\t\t// Close button\n\t\t\tif(!mfp.st.closeBtnInside) {\n\t\t\t\tmfp.wrap.append( _getCloseBtn() );\n\t\t\t} else {\n\t\t\t\t_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {\n\t\t\t\t\tvalues.close_replaceWith = _getCloseBtn(item.type);\n\t\t\t\t});\n\t\t\t\t_wrapClasses += ' mfp-close-btn-in';\n\t\t\t}\n\t\t}\n\n\t\tif(mfp.st.alignTop) {\n\t\t\t_wrapClasses += ' mfp-align-top';\n\t\t}\n\n\t\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css({\n\t\t\t\toverflow: mfp.st.overflowY,\n\t\t\t\toverflowX: 'hidden',\n\t\t\t\toverflowY: mfp.st.overflowY\n\t\t\t});\n\t\t} else {\n\t\t\tmfp.wrap.css({ \n\t\t\t\ttop: _window.scrollTop(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\t\tif( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {\n\t\t\tmfp.bgOverlay.css({\n\t\t\t\theight: _document.height(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\n\t\t\n\n\t\tif(mfp.st.enableEscapeKey) {\n\t\t\t// Close on ESC key\n\t\t\t_document.on('keyup' + EVENT_NS, function(e) {\n\t\t\t\tif(e.keyCode === 27) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t_window.on('resize' + EVENT_NS, function() {\n\t\t\tmfp.updateSize();\n\t\t});\n\n\n\t\tif(!mfp.st.closeOnContentClick) {\n\t\t\t_wrapClasses += ' mfp-auto-cursor';\n\t\t}\n\t\t\n\t\tif(_wrapClasses)\n\t\t\tmfp.wrap.addClass(_wrapClasses);\n\n\n\t\t// this triggers recalculation of layout, so we get it once to not to trigger twice\n\t\tvar windowHeight = mfp.wH = _window.height();\n\n\t\t\n\t\tvar windowStyles = {};\n\n\t\tif( mfp.fixedContentPos ) {\n if(mfp._hasScrollBar(windowHeight)){\n var s = mfp._getScrollbarSize();\n if(s) {\n windowStyles.marginRight = s;\n }\n }\n }\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tif(!mfp.isIE7) {\n\t\t\t\twindowStyles.overflow = 'hidden';\n\t\t\t} else {\n\t\t\t\t// ie7 double-scroll bug\n\t\t\t\t$('body, html').css('overflow', 'hidden');\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t\n\t\tvar classesToadd = mfp.st.mainClass;\n\t\tif(mfp.isIE7) {\n\t\t\tclassesToadd += ' mfp-ie7';\n\t\t}\n\t\tif(classesToadd) {\n\t\t\tmfp._addClassToMFP( classesToadd );\n\t\t}\n\n\t\t// add content\n\t\tmfp.updateItemHTML();\n\n\t\t_mfpTrigger('BuildControls');\n\n\t\t// remove scrollbar, add margin e.t.c\n\t\t$('html').css(windowStyles);\n\t\t\n\t\t// add everything to DOM\n\t\tmfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );\n\n\t\t// Save last focused element\n\t\tmfp._lastFocusedEl = document.activeElement;\n\t\t\n\t\t// Wait for next cycle to allow CSS transition\n\t\tsetTimeout(function() {\n\t\t\t\n\t\t\tif(mfp.content) {\n\t\t\t\tmfp._addClassToMFP(READY_CLASS);\n\t\t\t\tmfp._setFocus();\n\t\t\t} else {\n\t\t\t\t// if content is not defined (not loaded e.t.c) we add class only for BG\n\t\t\t\tmfp.bgOverlay.addClass(READY_CLASS);\n\t\t\t}\n\t\t\t\n\t\t\t// Trap the focus in popup\n\t\t\t_document.on('focusin' + EVENT_NS, mfp._onFocusIn);\n\n\t\t}, 16);\n\n\t\tmfp.isOpen = true;\n\t\tmfp.updateSize(windowHeight);\n\t\t_mfpTrigger(OPEN_EVENT);\n\n\t\treturn data;\n\t},\n\n\t/**\n\t * Closes the popup\n\t */\n\tclose: function() {\n\t\tif(!mfp.isOpen) return;\n\t\t_mfpTrigger(BEFORE_CLOSE_EVENT);\n\n\t\tmfp.isOpen = false;\n\t\t// for CSS3 animation\n\t\tif(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition ) {\n\t\t\tmfp._addClassToMFP(REMOVING_CLASS);\n\t\t\tsetTimeout(function() {\n\t\t\t\tmfp._close();\n\t\t\t}, mfp.st.removalDelay);\n\t\t} else {\n\t\t\tmfp._close();\n\t\t}\n\t},\n\n\t/**\n\t * Helper for close() function\n\t */\n\t_close: function() {\n\t\t_mfpTrigger(CLOSE_EVENT);\n\n\t\tvar classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';\n\n\t\tmfp.bgOverlay.detach();\n\t\tmfp.wrap.detach();\n\t\tmfp.container.empty();\n\n\t\tif(mfp.st.mainClass) {\n\t\t\tclassesToRemove += mfp.st.mainClass + ' ';\n\t\t}\n\n\t\tmfp._removeClassFromMFP(classesToRemove);\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tvar windowStyles = {marginRight: ''};\n\t\t\tif(mfp.isIE7) {\n\t\t\t\t$('body, html').css('overflow', '');\n\t\t\t} else {\n\t\t\t\twindowStyles.overflow = '';\n\t\t\t}\n\t\t\t$('html').css(windowStyles);\n\t\t}\n\t\t\n\t\t_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);\n\t\tmfp.ev.off(EVENT_NS);\n\n\t\t// clean up DOM elements that aren't removed\n\t\tmfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');\n\t\tmfp.bgOverlay.attr('class', 'mfp-bg');\n\t\tmfp.container.attr('class', 'mfp-container');\n\n\t\t// remove close button from target element\n\t\tif(mfp.st.showCloseBtn &&\n\t\t(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {\n\t\t\tif(mfp.currTemplate.closeBtn)\n\t\t\t\tmfp.currTemplate.closeBtn.detach();\n\t\t}\n\n\n\t\tif(mfp.st.autoFocusLast && mfp._lastFocusedEl) {\n\t\t\t$(mfp._lastFocusedEl).focus(); // put tab focus back\n\t\t}\n\t\tmfp.currItem = null;\t\n\t\tmfp.content = null;\n\t\tmfp.currTemplate = null;\n\t\tmfp.prevHeight = 0;\n\n\t\t_mfpTrigger(AFTER_CLOSE_EVENT);\n\t},\n\t\n\tupdateSize: function(winHeight) {\n\n\t\tif(mfp.isIOS) {\n\t\t\t// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2\n\t\t\tvar zoomLevel = document.documentElement.clientWidth / window.innerWidth;\n\t\t\tvar height = window.innerHeight * zoomLevel;\n\t\t\tmfp.wrap.css('height', height);\n\t\t\tmfp.wH = height;\n\t\t} else {\n\t\t\tmfp.wH = winHeight || _window.height();\n\t\t}\n\t\t// Fixes #84: popup incorrectly positioned with position:relative on body\n\t\tif(!mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css('height', mfp.wH);\n\t\t}\n\n\t\t_mfpTrigger('Resize');\n\n\t},\n\n\t/**\n\t * Set content of popup based on current index\n\t */\n\tupdateItemHTML: function() {\n\t\tvar item = mfp.items[mfp.index];\n\n\t\t// Detach and perform modifications\n\t\tmfp.contentContainer.detach();\n\n\t\tif(mfp.content)\n\t\t\tmfp.content.detach();\n\n\t\tif(!item.parsed) {\n\t\t\titem = mfp.parseEl( mfp.index );\n\t\t}\n\n\t\tvar type = item.type;\n\n\t\t_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);\n\t\t// BeforeChange event works like so:\n\t\t// _mfpOn('BeforeChange', function(e, prevType, newType) { });\n\n\t\tmfp.currItem = item;\n\n\t\tif(!mfp.currTemplate[type]) {\n\t\t\tvar markup = mfp.st[type] ? mfp.st[type].markup : false;\n\n\t\t\t// allows to modify markup\n\t\t\t_mfpTrigger('FirstMarkupParse', markup);\n\n\t\t\tif(markup) {\n\t\t\t\tmfp.currTemplate[type] = $(markup);\n\t\t\t} else {\n\t\t\t\t// if there is no markup found we just define that template is parsed\n\t\t\t\tmfp.currTemplate[type] = true;\n\t\t\t}\n\t\t}\n\n\t\tif(_prevContentType && _prevContentType !== item.type) {\n\t\t\tmfp.container.removeClass('mfp-'+_prevContentType+'-holder');\n\t\t}\n\n\t\tvar newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);\n\t\tmfp.appendContent(newContent, type);\n\n\t\titem.preloaded = true;\n\n\t\t_mfpTrigger(CHANGE_EVENT, item);\n\t\t_prevContentType = item.type;\n\n\t\t// Append container back after its content changed\n\t\tmfp.container.prepend(mfp.contentContainer);\n\n\t\t_mfpTrigger('AfterChange');\n\t},\n\n\n\t/**\n\t * Set HTML content of popup\n\t */\n\tappendContent: function(newContent, type) {\n\t\tmfp.content = newContent;\n\n\t\tif(newContent) {\n\t\t\tif(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&\n\t\t\t\tmfp.currTemplate[type] === true) {\n\t\t\t\t// if there is no markup, we just append close button element inside\n\t\t\t\tif(!mfp.content.find('.mfp-close').length) {\n\t\t\t\t\tmfp.content.append(_getCloseBtn());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmfp.content = newContent;\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.content = '';\n\t\t}\n\n\t\t_mfpTrigger(BEFORE_APPEND_EVENT);\n\t\tmfp.container.addClass('mfp-'+type+'-holder');\n\n\t\tmfp.contentContainer.append(mfp.content);\n\t},\n\n\n\t/**\n\t * Creates Magnific Popup data object based on given data\n\t * @param {int} index Index of item to parse\n\t */\n\tparseEl: function(index) {\n\t\tvar item = mfp.items[index],\n\t\t\ttype;\n\n\t\tif(item.tagName) {\n\t\t\titem = { el: $(item) };\n\t\t} else {\n\t\t\ttype = item.type;\n\t\t\titem = { data: item, src: item.src };\n\t\t}\n\n\t\tif(item.el) {\n\t\t\tvar types = mfp.types;\n\n\t\t\t// check for 'mfp-TYPE' class\n\t\t\tfor(var i = 0; i < types.length; i++) {\n\t\t\t\tif( item.el.hasClass('mfp-'+types[i]) ) {\n\t\t\t\t\ttype = types[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\titem.src = item.el.attr('data-mfp-src');\n\t\t\tif(!item.src) {\n\t\t\t\titem.src = item.el.attr('href');\n\t\t\t}\n\t\t}\n\n\t\titem.type = type || mfp.st.type || 'inline';\n\t\titem.index = index;\n\t\titem.parsed = true;\n\t\tmfp.items[index] = item;\n\t\t_mfpTrigger('ElementParse', item);\n\n\t\treturn mfp.items[index];\n\t},\n\n\n\t/**\n\t * Initializes single popup or a group of popups\n\t */\n\taddGroup: function(el, options) {\n\t\tvar eHandler = function(e) {\n\t\t\te.mfpEl = this;\n\t\t\tmfp._openClick(e, el, options);\n\t\t};\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t}\n\n\t\tvar eName = 'click.magnificPopup';\n\t\toptions.mainEl = el;\n\n\t\tif(options.items) {\n\t\t\toptions.isObj = true;\n\t\t\tel.off(eName).on(eName, eHandler);\n\t\t} else {\n\t\t\toptions.isObj = false;\n\t\t\tif(options.delegate) {\n\t\t\t\tel.off(eName).on(eName, options.delegate , eHandler);\n\t\t\t} else {\n\t\t\t\toptions.items = el;\n\t\t\t\tel.off(eName).on(eName, eHandler);\n\t\t\t}\n\t\t}\n\t},\n\t_openClick: function(e, el, options) {\n\t\tvar midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;\n\n\n\t\tif(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;\n\n\t\tif(disableOn) {\n\t\t\tif($.isFunction(disableOn)) {\n\t\t\t\tif( !disableOn.call(mfp) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else { // else it's number\n\t\t\t\tif( _window.width() < disableOn ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif(e.type) {\n\t\t\te.preventDefault();\n\n\t\t\t// This will prevent popup from closing if element is inside and popup is already opened\n\t\t\tif(mfp.isOpen) {\n\t\t\t\te.stopPropagation();\n\t\t\t}\n\t\t}\n\n\t\toptions.el = $(e.mfpEl);\n\t\tif(options.delegate) {\n\t\t\toptions.items = el.find(options.delegate);\n\t\t}\n\t\tmfp.open(options);\n\t},\n\n\n\t/**\n\t * Updates text on preloader\n\t */\n\tupdateStatus: function(status, text) {\n\n\t\tif(mfp.preloader) {\n\t\t\tif(_prevStatus !== status) {\n\t\t\t\tmfp.container.removeClass('mfp-s-'+_prevStatus);\n\t\t\t}\n\n\t\t\tif(!text && status === 'loading') {\n\t\t\t\ttext = mfp.st.tLoading;\n\t\t\t}\n\n\t\t\tvar data = {\n\t\t\t\tstatus: status,\n\t\t\t\ttext: text\n\t\t\t};\n\t\t\t// allows to modify status\n\t\t\t_mfpTrigger('UpdateStatus', data);\n\n\t\t\tstatus = data.status;\n\t\t\ttext = data.text;\n\n\t\t\tmfp.preloader.html(text);\n\n\t\t\tmfp.preloader.find('a').on('click', function(e) {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t});\n\n\t\t\tmfp.container.addClass('mfp-s-'+status);\n\t\t\t_prevStatus = status;\n\t\t}\n\t},\n\n\n\t/*\n\t\t\"Private\" helpers that aren't private at all\n\t */\n\t// Check to close popup or not\n\t// \"target\" is an element that was clicked\n\t_checkIfClose: function(target) {\n\n\t\tif($(target).hasClass(PREVENT_CLOSE_CLASS)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar closeOnContent = mfp.st.closeOnContentClick;\n\t\tvar closeOnBg = mfp.st.closeOnBgClick;\n\n\t\tif(closeOnContent && closeOnBg) {\n\t\t\treturn true;\n\t\t} else {\n\n\t\t\t// We close the popup if click is on close button or on preloader. Or if there is no content.\n\t\t\tif(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// if click is outside the content\n\t\t\tif( (target !== mfp.content[0] && !$.contains(mfp.content[0], target)) ) {\n\t\t\t\tif(closeOnBg) {\n\t\t\t\t\t// last check, if the clicked element is in DOM, (in case it's removed onclick)\n\t\t\t\t\tif( $.contains(document, target) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if(closeOnContent) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t}\n\t\treturn false;\n\t},\n\t_addClassToMFP: function(cName) {\n\t\tmfp.bgOverlay.addClass(cName);\n\t\tmfp.wrap.addClass(cName);\n\t},\n\t_removeClassFromMFP: function(cName) {\n\t\tthis.bgOverlay.removeClass(cName);\n\t\tmfp.wrap.removeClass(cName);\n\t},\n\t_hasScrollBar: function(winHeight) {\n\t\treturn ( (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );\n\t},\n\t_setFocus: function() {\n\t\t(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();\n\t},\n\t_onFocusIn: function(e) {\n\t\tif( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {\n\t\t\tmfp._setFocus();\n\t\t\treturn false;\n\t\t}\n\t},\n\t_parseMarkup: function(template, values, item) {\n\t\tvar arr;\n\t\tif(item.data) {\n\t\t\tvalues = $.extend(item.data, values);\n\t\t}\n\t\t_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );\n\n\t\t$.each(values, function(key, value) {\n\t\t\tif(value === undefined || value === false) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tarr = key.split('_');\n\t\t\tif(arr.length > 1) {\n\t\t\t\tvar el = template.find(EVENT_NS + '-'+arr[0]);\n\n\t\t\t\tif(el.length > 0) {\n\t\t\t\t\tvar attr = arr[1];\n\t\t\t\t\tif(attr === 'replaceWith') {\n\t\t\t\t\t\tif(el[0] !== value[0]) {\n\t\t\t\t\t\t\tel.replaceWith(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(attr === 'img') {\n\t\t\t\t\t\tif(el.is('img')) {\n\t\t\t\t\t\t\tel.attr('src', value);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tel.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.attr(arr[1], value);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\ttemplate.find(EVENT_NS + '-'+key).html(value);\n\t\t\t}\n\t\t});\n\t},\n\n\t_getScrollbarSize: function() {\n\t\t// thx David\n\t\tif(mfp.scrollbarSize === undefined) {\n\t\t\tvar scrollDiv = document.createElement(\"div\");\n\t\t\tscrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';\n\t\t\tdocument.body.appendChild(scrollDiv);\n\t\t\tmfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t\t\tdocument.body.removeChild(scrollDiv);\n\t\t}\n\t\treturn mfp.scrollbarSize;\n\t}\n\n}; /* MagnificPopup core prototype end */\n\n\n\n\n/**\n * Public static functions\n */\n$.magnificPopup = {\n\tinstance: null,\n\tproto: MagnificPopup.prototype,\n\tmodules: [],\n\n\topen: function(options, index) {\n\t\t_checkInstance();\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t} else {\n\t\t\toptions = $.extend(true, {}, options);\n\t\t}\n\n\t\toptions.isObj = true;\n\t\toptions.index = index || 0;\n\t\treturn this.instance.open(options);\n\t},\n\n\tclose: function() {\n\t\treturn $.magnificPopup.instance && $.magnificPopup.instance.close();\n\t},\n\n\tregisterModule: function(name, module) {\n\t\tif(module.options) {\n\t\t\t$.magnificPopup.defaults[name] = module.options;\n\t\t}\n\t\t$.extend(this.proto, module.proto);\n\t\tthis.modules.push(name);\n\t},\n\n\tdefaults: {\n\n\t\t// Info about options is in docs:\n\t\t// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options\n\n\t\tdisableOn: 0,\n\n\t\tkey: null,\n\n\t\tmidClick: false,\n\n\t\tmainClass: '',\n\n\t\tpreloader: true,\n\n\t\tfocus: '', // CSS selector of input to focus after popup is opened\n\n\t\tcloseOnContentClick: false,\n\n\t\tcloseOnBgClick: true,\n\n\t\tcloseBtnInside: true,\n\n\t\tshowCloseBtn: true,\n\n\t\tenableEscapeKey: true,\n\n\t\tmodal: false,\n\n\t\talignTop: false,\n\n\t\tremovalDelay: 0,\n\n\t\tprependTo: null,\n\n\t\tfixedContentPos: 'auto',\n\n\t\tfixedBgPos: 'auto',\n\n\t\toverflowY: 'auto',\n\n\t\tcloseMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>',\n\n\t\ttClose: 'Close (Esc)',\n\n\t\ttLoading: 'Loading...',\n\n\t\tautoFocusLast: true\n\n\t}\n};\n\n\n\n$.fn.magnificPopup = function(options) {\n\t_checkInstance();\n\n\tvar jqEl = $(this);\n\n\t// We call some API method of first param is a string\n\tif (typeof options === \"string\" ) {\n\n\t\tif(options === 'open') {\n\t\t\tvar items,\n\t\t\t\titemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,\n\t\t\t\tindex = parseInt(arguments[1], 10) || 0;\n\n\t\t\tif(itemOpts.items) {\n\t\t\t\titems = itemOpts.items[index];\n\t\t\t} else {\n\t\t\t\titems = jqEl;\n\t\t\t\tif(itemOpts.delegate) {\n\t\t\t\t\titems = items.find(itemOpts.delegate);\n\t\t\t\t}\n\t\t\t\titems = items.eq( index );\n\t\t\t}\n\t\t\tmfp._openClick({mfpEl:items}, jqEl, itemOpts);\n\t\t} else {\n\t\t\tif(mfp.isOpen)\n\t\t\t\tmfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));\n\t\t}\n\n\t} else {\n\t\t// clone options obj\n\t\toptions = $.extend(true, {}, options);\n\n\t\t/*\n\t\t * As Zepto doesn't support .data() method for objects\n\t\t * and it works only in normal browsers\n\t\t * we assign \"options\" object directly to the DOM element. FTW!\n\t\t */\n\t\tif(_isJQ) {\n\t\t\tjqEl.data('magnificPopup', options);\n\t\t} else {\n\t\t\tjqEl[0].magnificPopup = options;\n\t\t}\n\n\t\tmfp.addGroup(jqEl, options);\n\n\t}\n\treturn jqEl;\n};\n\n/*>>core*/\n\n/*>>inline*/\n\nvar INLINE_NS = 'inline',\n\t_hiddenClass,\n\t_inlinePlaceholder,\n\t_lastInlineElement,\n\t_putInlineElementsBack = function() {\n\t\tif(_lastInlineElement) {\n\t\t\t_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();\n\t\t\t_lastInlineElement = null;\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(INLINE_NS, {\n\toptions: {\n\t\thiddenClass: 'hide', // will be appended with `mfp-` prefix\n\t\tmarkup: '',\n\t\ttNotFound: 'Content not found'\n\t},\n\tproto: {\n\n\t\tinitInline: function() {\n\t\t\tmfp.types.push(INLINE_NS);\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {\n\t\t\t\t_putInlineElementsBack();\n\t\t\t});\n\t\t},\n\n\t\tgetInline: function(item, template) {\n\n\t\t\t_putInlineElementsBack();\n\n\t\t\tif(item.src) {\n\t\t\t\tvar inlineSt = mfp.st.inline,\n\t\t\t\t\tel = $(item.src);\n\n\t\t\t\tif(el.length) {\n\n\t\t\t\t\t// If target element has parent - we replace it with placeholder and put it back after popup is closed\n\t\t\t\t\tvar parent = el[0].parentNode;\n\t\t\t\t\tif(parent && parent.tagName) {\n\t\t\t\t\t\tif(!_inlinePlaceholder) {\n\t\t\t\t\t\t\t_hiddenClass = inlineSt.hiddenClass;\n\t\t\t\t\t\t\t_inlinePlaceholder = _getEl(_hiddenClass);\n\t\t\t\t\t\t\t_hiddenClass = 'mfp-'+_hiddenClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// replace target inline element with placeholder\n\t\t\t\t\t\t_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);\n\t\t\t\t\t}\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t} else {\n\t\t\t\t\tmfp.updateStatus('error', inlineSt.tNotFound);\n\t\t\t\t\tel = $('<div>');\n\t\t\t\t}\n\n\t\t\t\titem.inlineElement = el;\n\t\t\t\treturn el;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('ready');\n\t\t\tmfp._parseMarkup(template, {}, item);\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>inline*/\n\n/*>>ajax*/\nvar AJAX_NS = 'ajax',\n\t_ajaxCur,\n\t_removeAjaxCursor = function() {\n\t\tif(_ajaxCur) {\n\t\t\t$(document.body).removeClass(_ajaxCur);\n\t\t}\n\t},\n\t_destroyAjaxRequest = function() {\n\t\t_removeAjaxCursor();\n\t\tif(mfp.req) {\n\t\t\tmfp.req.abort();\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(AJAX_NS, {\n\n\toptions: {\n\t\tsettings: null,\n\t\tcursor: 'mfp-ajax-cur',\n\t\ttError: '<a href=\"%url%\">The content</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitAjax: function() {\n\t\t\tmfp.types.push(AJAX_NS);\n\t\t\t_ajaxCur = mfp.st.ajax.cursor;\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);\n\t\t\t_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);\n\t\t},\n\t\tgetAjax: function(item) {\n\n\t\t\tif(_ajaxCur) {\n\t\t\t\t$(document.body).addClass(_ajaxCur);\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\n\t\t\tvar opts = $.extend({\n\t\t\t\turl: item.src,\n\t\t\t\tsuccess: function(data, textStatus, jqXHR) {\n\t\t\t\t\tvar temp = {\n\t\t\t\t\t\tdata:data,\n\t\t\t\t\t\txhr:jqXHR\n\t\t\t\t\t};\n\n\t\t\t\t\t_mfpTrigger('ParseAjax', temp);\n\n\t\t\t\t\tmfp.appendContent( $(temp.data), AJAX_NS );\n\n\t\t\t\t\titem.finished = true;\n\n\t\t\t\t\t_removeAjaxCursor();\n\n\t\t\t\t\tmfp._setFocus();\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tmfp.wrap.addClass(READY_CLASS);\n\t\t\t\t\t}, 16);\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\n\t\t\t\t\t_mfpTrigger('AjaxContentAdded');\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\t_removeAjaxCursor();\n\t\t\t\t\titem.finished = item.loadError = true;\n\t\t\t\t\tmfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));\n\t\t\t\t}\n\t\t\t}, mfp.st.ajax.settings);\n\n\t\t\tmfp.req = $.ajax(opts);\n\n\t\t\treturn '';\n\t\t}\n\t}\n});\n\n/*>>ajax*/\n\n/*>>image*/\nvar _imgInterval,\n\t_getTitle = function(item) {\n\t\tif(item.data && item.data.title !== undefined)\n\t\t\treturn item.data.title;\n\n\t\tvar src = mfp.st.image.titleSrc;\n\n\t\tif(src) {\n\t\t\tif($.isFunction(src)) {\n\t\t\t\treturn src.call(mfp, item);\n\t\t\t} else if(item.el) {\n\t\t\t\treturn item.el.attr(src) || '';\n\t\t\t}\n\t\t}\n\t\treturn '';\n\t};\n\n$.magnificPopup.registerModule('image', {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-figure\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<figure>'+\n\t\t\t\t\t\t'<div class=\"mfp-img\"></div>'+\n\t\t\t\t\t\t'<figcaption>'+\n\t\t\t\t\t\t\t'<div class=\"mfp-bottom-bar\">'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-title\"></div>'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-counter\"></div>'+\n\t\t\t\t\t\t\t'</div>'+\n\t\t\t\t\t\t'</figcaption>'+\n\t\t\t\t\t'</figure>'+\n\t\t\t\t'</div>',\n\t\tcursor: 'mfp-zoom-out-cur',\n\t\ttitleSrc: 'title',\n\t\tverticalFit: true,\n\t\ttError: '<a href=\"%url%\">The image</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitImage: function() {\n\t\t\tvar imgSt = mfp.st.image,\n\t\t\t\tns = '.image';\n\n\t\t\tmfp.types.push('image');\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\t\t\t\tif(mfp.currItem.type === 'image' && imgSt.cursor) {\n\t\t\t\t\t$(document.body).addClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(imgSt.cursor) {\n\t\t\t\t\t$(document.body).removeClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t\t_window.off('resize' + EVENT_NS);\n\t\t\t});\n\n\t\t\t_mfpOn('Resize'+ns, mfp.resizeImage);\n\t\t\tif(mfp.isLowIE) {\n\t\t\t\t_mfpOn('AfterChange', mfp.resizeImage);\n\t\t\t}\n\t\t},\n\t\tresizeImage: function() {\n\t\t\tvar item = mfp.currItem;\n\t\t\tif(!item || !item.img) return;\n\n\t\t\tif(mfp.st.image.verticalFit) {\n\t\t\t\tvar decr = 0;\n\t\t\t\t// fix box-sizing in ie7/8\n\t\t\t\tif(mfp.isLowIE) {\n\t\t\t\t\tdecr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);\n\t\t\t\t}\n\t\t\t\titem.img.css('max-height', mfp.wH-decr);\n\t\t\t}\n\t\t},\n\t\t_onImageHasSize: function(item) {\n\t\t\tif(item.img) {\n\n\t\t\t\titem.hasSize = true;\n\n\t\t\t\tif(_imgInterval) {\n\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t}\n\n\t\t\t\titem.isCheckingImgSize = false;\n\n\t\t\t\t_mfpTrigger('ImageHasSize', item);\n\n\t\t\t\tif(item.imgHidden) {\n\t\t\t\t\tif(mfp.content)\n\t\t\t\t\t\tmfp.content.removeClass('mfp-loading');\n\n\t\t\t\t\titem.imgHidden = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Function that loops until the image has size to display elements that rely on it asap\n\t\t */\n\t\tfindImageSize: function(item) {\n\n\t\t\tvar counter = 0,\n\t\t\t\timg = item.img[0],\n\t\t\t\tmfpSetInterval = function(delay) {\n\n\t\t\t\t\tif(_imgInterval) {\n\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t}\n\t\t\t\t\t// decelerating interval that checks for size of an image\n\t\t\t\t\t_imgInterval = setInterval(function() {\n\t\t\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(counter > 200) {\n\t\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\tif(counter === 3) {\n\t\t\t\t\t\t\tmfpSetInterval(10);\n\t\t\t\t\t\t} else if(counter === 40) {\n\t\t\t\t\t\t\tmfpSetInterval(50);\n\t\t\t\t\t\t} else if(counter === 100) {\n\t\t\t\t\t\t\tmfpSetInterval(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, delay);\n\t\t\t\t};\n\n\t\t\tmfpSetInterval(1);\n\t\t},\n\n\t\tgetImage: function(item, template) {\n\n\t\t\tvar guard = 0,\n\n\t\t\t\t// image load complete handler\n\t\t\t\tonLoadComplete = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\tif (item.img[0].complete) {\n\t\t\t\t\t\t\titem.img.off('.mfploader');\n\n\t\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\n\t\t\t\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\t\titem.loaded = true;\n\n\t\t\t\t\t\t\t_mfpTrigger('ImageLoadComplete');\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// if image complete check fails 200 times (20 sec), we assume that there was an error.\n\t\t\t\t\t\t\tguard++;\n\t\t\t\t\t\t\tif(guard < 200) {\n\t\t\t\t\t\t\t\tsetTimeout(onLoadComplete,100);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tonLoadError();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// image error handler\n\t\t\t\tonLoadError = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\titem.img.off('.mfploader');\n\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\titem.loaded = true;\n\t\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timgSt = mfp.st.image;\n\n\n\t\t\tvar el = template.find('.mfp-img');\n\t\t\tif(el.length) {\n\t\t\t\tvar img = document.createElement('img');\n\t\t\t\timg.className = 'mfp-img';\n\t\t\t\tif(item.el && item.el.find('img').length) {\n\t\t\t\t\timg.alt = item.el.find('img').attr('alt');\n\t\t\t\t}\n\t\t\t\titem.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);\n\t\t\t\timg.src = item.src;\n\n\t\t\t\t// without clone() \"error\" event is not firing when IMG is replaced by new IMG\n\t\t\t\t// TODO: find a way to avoid such cloning\n\t\t\t\tif(el.is('img')) {\n\t\t\t\t\titem.img = item.img.clone();\n\t\t\t\t}\n\n\t\t\t\timg = item.img[0];\n\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t} else if(!img.width) {\n\t\t\t\t\titem.hasSize = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmfp._parseMarkup(template, {\n\t\t\t\ttitle: _getTitle(item),\n\t\t\t\timg_replaceWith: item.img\n\t\t\t}, item);\n\n\t\t\tmfp.resizeImage();\n\n\t\t\tif(item.hasSize) {\n\t\t\t\tif(_imgInterval) clearInterval(_imgInterval);\n\n\t\t\t\tif(item.loadError) {\n\t\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t} else {\n\t\t\t\t\ttemplate.removeClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t}\n\t\t\t\treturn template;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\t\t\titem.loading = true;\n\n\t\t\tif(!item.hasSize) {\n\t\t\t\titem.imgHidden = true;\n\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\tmfp.findImageSize(item);\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>image*/\n\n/*>>zoom*/\nvar hasMozTransform,\n\tgetHasMozTransform = function() {\n\t\tif(hasMozTransform === undefined) {\n\t\t\thasMozTransform = document.createElement('p').style.MozTransform !== undefined;\n\t\t}\n\t\treturn hasMozTransform;\n\t};\n\n$.magnificPopup.registerModule('zoom', {\n\n\toptions: {\n\t\tenabled: false,\n\t\teasing: 'ease-in-out',\n\t\tduration: 300,\n\t\topener: function(element) {\n\t\t\treturn element.is('img') ? element : element.find('img');\n\t\t}\n\t},\n\n\tproto: {\n\n\t\tinitZoom: function() {\n\t\t\tvar zoomSt = mfp.st.zoom,\n\t\t\t\tns = '.zoom',\n\t\t\t\timage;\n\n\t\t\tif(!zoomSt.enabled || !mfp.supportsTransition) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar duration = zoomSt.duration,\n\t\t\t\tgetElToAnimate = function(image) {\n\t\t\t\t\tvar newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),\n\t\t\t\t\t\ttransition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,\n\t\t\t\t\t\tcssObj = {\n\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\tzIndex: 9999,\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t'-webkit-backface-visibility': 'hidden'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tt = 'transition';\n\n\t\t\t\t\tcssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;\n\n\t\t\t\t\tnewImg.css(cssObj);\n\t\t\t\t\treturn newImg;\n\t\t\t\t},\n\t\t\t\tshowMainContent = function() {\n\t\t\t\t\tmfp.content.css('visibility', 'visible');\n\t\t\t\t},\n\t\t\t\topenTimeout,\n\t\t\t\tanimatedImg;\n\n\t\t\t_mfpOn('BuildControls'+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\t// Basically, all code below does is clones existing image, puts in on top of the current one and animated it\n\n\t\t\t\t\timage = mfp._getItemToZoom();\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\tshowMainContent();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\n\t\t\t\t\topenTimeout = setTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset( true ) );\n\t\t\t\t\t\topenTimeout = setTimeout(function() {\n\n\t\t\t\t\t\t\tshowMainContent();\n\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t\t\t\timage = animatedImg = null;\n\t\t\t\t\t\t\t\t_mfpTrigger('ZoomAnimationEnded');\n\t\t\t\t\t\t\t}, 16); // avoid blink when switching images\n\n\t\t\t\t\t\t}, duration); // this timeout equals animation duration\n\n\t\t\t\t\t}, 16); // by adding this timeout we avoid short glitch at the beginning of animation\n\n\n\t\t\t\t\t// Lots of timeouts...\n\t\t\t\t}\n\t\t\t});\n\t\t\t_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\n\t\t\t\t\tmfp.st.removalDelay = duration;\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\timage = mfp._getItemToZoom();\n\t\t\t\t\t\tif(!image) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset(true) );\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\t\t\t\t\t}, 16);\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\t\t\t\t\tshowMainContent();\n\t\t\t\t\tif(animatedImg) {\n\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t}\n\t\t\t\t\timage = null;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\t_allowZoom: function() {\n\t\t\treturn mfp.currItem.type === 'image';\n\t\t},\n\n\t\t_getItemToZoom: function() {\n\t\t\tif(mfp.currItem.hasSize) {\n\t\t\t\treturn mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Get element postion relative to viewport\n\t\t_getOffset: function(isLarge) {\n\t\t\tvar el;\n\t\t\tif(isLarge) {\n\t\t\t\tel = mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\tel = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);\n\t\t\t}\n\n\t\t\tvar offset = el.offset();\n\t\t\tvar paddingTop = parseInt(el.css('padding-top'),10);\n\t\t\tvar paddingBottom = parseInt(el.css('padding-bottom'),10);\n\t\t\toffset.top -= ( $(window).scrollTop() - paddingTop );\n\n\n\t\t\t/*\n\n\t\t\tAnimating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.\n\n\t\t\t */\n\t\t\tvar obj = {\n\t\t\t\twidth: el.width(),\n\t\t\t\t// fix Zepto height+padding issue\n\t\t\t\theight: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop\n\t\t\t};\n\n\t\t\t// I hate to do this, but there is no another option\n\t\t\tif( getHasMozTransform() ) {\n\t\t\t\tobj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';\n\t\t\t} else {\n\t\t\t\tobj.left = offset.left;\n\t\t\t\tobj.top = offset.top;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}\n\n\t}\n});\n\n\n\n/*>>zoom*/\n\n/*>>iframe*/\n\nvar IFRAME_NS = 'iframe',\n\t_emptyPage = '//about:blank',\n\n\t_fixIframeBugs = function(isShowing) {\n\t\tif(mfp.currTemplate[IFRAME_NS]) {\n\t\t\tvar el = mfp.currTemplate[IFRAME_NS].find('iframe');\n\t\t\tif(el.length) {\n\t\t\t\t// reset src after the popup is closed to avoid \"video keeps playing after popup is closed\" bug\n\t\t\t\tif(!isShowing) {\n\t\t\t\t\tel[0].src = _emptyPage;\n\t\t\t\t}\n\n\t\t\t\t// IE8 black screen bug fix\n\t\t\t\tif(mfp.isIE8) {\n\t\t\t\t\tel.css('display', isShowing ? 'block' : 'none');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(IFRAME_NS, {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-iframe-scaler\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe>'+\n\t\t\t\t'</div>',\n\n\t\tsrcAction: 'iframe_src',\n\n\t\t// we don't care and support only one default type of URL by default\n\t\tpatterns: {\n\t\t\tyoutube: {\n\t\t\t\tindex: 'youtube.com',\n\t\t\t\tid: 'v=',\n\t\t\t\tsrc: '//www.youtube.com/embed/%id%?autoplay=1'\n\t\t\t},\n\t\t\tvimeo: {\n\t\t\t\tindex: 'vimeo.com/',\n\t\t\t\tid: '/',\n\t\t\t\tsrc: '//player.vimeo.com/video/%id%?autoplay=1'\n\t\t\t},\n\t\t\tgmaps: {\n\t\t\t\tindex: '//maps.google.',\n\t\t\t\tsrc: '%id%&output=embed'\n\t\t\t}\n\t\t}\n\t},\n\n\tproto: {\n\t\tinitIframe: function() {\n\t\t\tmfp.types.push(IFRAME_NS);\n\n\t\t\t_mfpOn('BeforeChange', function(e, prevType, newType) {\n\t\t\t\tif(prevType !== newType) {\n\t\t\t\t\tif(prevType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(); // iframe if removed\n\t\t\t\t\t} else if(newType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(true); // iframe is showing\n\t\t\t\t\t}\n\t\t\t\t}// else {\n\t\t\t\t\t// iframe source is switched, don't do anything\n\t\t\t\t//}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {\n\t\t\t\t_fixIframeBugs();\n\t\t\t});\n\t\t},\n\n\t\tgetIframe: function(item, template) {\n\t\t\tvar embedSrc = item.src;\n\t\t\tvar iframeSt = mfp.st.iframe;\n\n\t\t\t$.each(iframeSt.patterns, function() {\n\t\t\t\tif(embedSrc.indexOf( this.index ) > -1) {\n\t\t\t\t\tif(this.id) {\n\t\t\t\t\t\tif(typeof this.id === 'string') {\n\t\t\t\t\t\t\tembedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tembedSrc = this.id.call( this, embedSrc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tembedSrc = this.src.replace('%id%', embedSrc );\n\t\t\t\t\treturn false; // break;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar dataObj = {};\n\t\t\tif(iframeSt.srcAction) {\n\t\t\t\tdataObj[iframeSt.srcAction] = embedSrc;\n\t\t\t}\n\t\t\tmfp._parseMarkup(template, dataObj, item);\n\n\t\t\tmfp.updateStatus('ready');\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n\n\n/*>>iframe*/\n\n/*>>gallery*/\n/**\n * Get looped index depending on number of slides\n */\nvar _getLoopedId = function(index) {\n\t\tvar numSlides = mfp.items.length;\n\t\tif(index > numSlides - 1) {\n\t\t\treturn index - numSlides;\n\t\t} else if(index < 0) {\n\t\t\treturn numSlides + index;\n\t\t}\n\t\treturn index;\n\t},\n\t_replaceCurrTotal = function(text, curr, total) {\n\t\treturn text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);\n\t};\n\n$.magnificPopup.registerModule('gallery', {\n\n\toptions: {\n\t\tenabled: false,\n\t\tarrowMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>',\n\t\tpreload: [0,2],\n\t\tnavigateByImgClick: true,\n\t\tarrows: true,\n\n\t\ttPrev: 'Previous (Left arrow key)',\n\t\ttNext: 'Next (Right arrow key)',\n\t\ttCounter: '%curr% of %total%'\n\t},\n\n\tproto: {\n\t\tinitGallery: function() {\n\n\t\t\tvar gSt = mfp.st.gallery,\n\t\t\t\tns = '.mfp-gallery';\n\n\t\t\tmfp.direction = true; // true - next, false - prev\n\n\t\t\tif(!gSt || !gSt.enabled ) return false;\n\n\t\t\t_wrapClasses += ' mfp-gallery';\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\n\t\t\t\tif(gSt.navigateByImgClick) {\n\t\t\t\t\tmfp.wrap.on('click'+ns, '.mfp-img', function() {\n\t\t\t\t\t\tif(mfp.items.length > 1) {\n\t\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t_document.on('keydown'+ns, function(e) {\n\t\t\t\t\tif (e.keyCode === 37) {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t} else if (e.keyCode === 39) {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t_mfpOn('UpdateStatus'+ns, function(e, data) {\n\t\t\t\tif(data.text) {\n\t\t\t\t\tdata.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {\n\t\t\t\tvar l = mfp.items.length;\n\t\t\t\tvalues.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';\n\t\t\t});\n\n\t\t\t_mfpOn('BuildControls' + ns, function() {\n\t\t\t\tif(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {\n\t\t\t\t\tvar markup = gSt.arrowMarkup,\n\t\t\t\t\t\tarrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),\n\t\t\t\t\t\tarrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);\n\n\t\t\t\t\tarrowLeft.click(function() {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t});\n\t\t\t\t\tarrowRight.click(function() {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t});\n\n\t\t\t\t\tmfp.container.append(arrowLeft.add(arrowRight));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CHANGE_EVENT+ns, function() {\n\t\t\t\tif(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);\n\n\t\t\t\tmfp._preloadTimeout = setTimeout(function() {\n\t\t\t\t\tmfp.preloadNearbyImages();\n\t\t\t\t\tmfp._preloadTimeout = null;\n\t\t\t\t}, 16);\n\t\t\t});\n\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\t_document.off(ns);\n\t\t\t\tmfp.wrap.off('click'+ns);\n\t\t\t\tmfp.arrowRight = mfp.arrowLeft = null;\n\t\t\t});\n\n\t\t},\n\t\tnext: function() {\n\t\t\tmfp.direction = true;\n\t\t\tmfp.index = _getLoopedId(mfp.index + 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tprev: function() {\n\t\t\tmfp.direction = false;\n\t\t\tmfp.index = _getLoopedId(mfp.index - 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tgoTo: function(newIndex) {\n\t\t\tmfp.direction = (newIndex >= mfp.index);\n\t\t\tmfp.index = newIndex;\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tpreloadNearbyImages: function() {\n\t\t\tvar p = mfp.st.gallery.preload,\n\t\t\t\tpreloadBefore = Math.min(p[0], mfp.items.length),\n\t\t\t\tpreloadAfter = Math.min(p[1], mfp.items.length),\n\t\t\t\ti;\n\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index+i);\n\t\t\t}\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index-i);\n\t\t\t}\n\t\t},\n\t\t_preloadItem: function(index) {\n\t\t\tindex = _getLoopedId(index);\n\n\t\t\tif(mfp.items[index].preloaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar item = mfp.items[index];\n\t\t\tif(!item.parsed) {\n\t\t\t\titem = mfp.parseEl( index );\n\t\t\t}\n\n\t\t\t_mfpTrigger('LazyLoad', item);\n\n\t\t\tif(item.type === 'image') {\n\t\t\t\titem.img = $('<img class=\"mfp-img\" />').on('load.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t}).on('error.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t_mfpTrigger('LazyLoadError', item);\n\t\t\t\t}).attr('src', item.src);\n\t\t\t}\n\n\n\t\t\titem.preloaded = true;\n\t\t}\n\t}\n});\n\n/*>>gallery*/\n\n/*>>retina*/\n\nvar RETINA_NS = 'retina';\n\n$.magnificPopup.registerModule(RETINA_NS, {\n\toptions: {\n\t\treplaceSrc: function(item) {\n\t\t\treturn item.src.replace(/\\.\\w+$/, function(m) { return '@2x' + m; });\n\t\t},\n\t\tratio: 1 // Function or number. Set to 1 to disable.\n\t},\n\tproto: {\n\t\tinitRetina: function() {\n\t\t\tif(window.devicePixelRatio > 1) {\n\n\t\t\t\tvar st = mfp.st.retina,\n\t\t\t\t\tratio = st.ratio;\n\n\t\t\t\tratio = !isNaN(ratio) ? ratio : ratio();\n\n\t\t\t\tif(ratio > 1) {\n\t\t\t\t\t_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.img.css({\n\t\t\t\t\t\t\t'max-width': item.img[0].naturalWidth / ratio,\n\t\t\t\t\t\t\t'width': '100%'\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\t_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.src = st.replaceSrc(item, ratio);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n});\n\n/*>>retina*/\n _checkInstance(); }));\n\n/***/ }),\n\n/***/ 94:\n/***/ (function(module, exports) {\n\nmodule.exports = jQuery;\n\n/***/ }),\n\n/***/ 95:\n/***/ (function(module, exports) {\n\n(function (globalSope) {\n 'use strict';\n\n /**\n * Including this file adds the `addDynamicListener` to the ELement prototype.\n * \n * The dynamic listener gets an extra `selector` parameter that only calls the callback\n * if the target element matches the selector.\n * \n * The listener has to be added to the container/root element and the selector should match\n * the elements that should trigger the event.\n * \n * Browser support: IE9+\n */\n\n // Polyfil Element.matches\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches#Polyfill\n\n if (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector || function (s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1;\n };\n }\n\n /**\n * Returns a modified callback function that calls the\n * initial callback function only if the target element matches the given selector\n * \n * @param {string} selector \n * @param {function} callback \n */\n function getConditionalCallback(selector, callback) {\n return function (e) {\n if (!e.target) return;\n if (!e.target.matches(selector)) return;\n callback.apply(this, arguments);\n };\n }\n\n /**\n * \n * \n * @param {Element} rootElement The root element to add the linster too.\n * @param {string} eventType The event type to listen for.\n * @param {string} selector The selector that should match the dynamic elements.\n * @param {function} callback The function to call when an event occurs on the given selector.\n * @param {boolean|object} options Passed as the regular `options` parameter to the addEventListener function\n * Set to `true` to use capture.\n * Usually used as an object to add the listener as `passive`\n */\n globalSope.addDynamicEventListener = function (rootElement, eventType, selector, callback, options) {\n rootElement.addEventListener(eventType, getConditionalCallback(selector, callback), options);\n };\n})(window);\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// js/admin-shortcodes.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 364);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 49eb0aec5a1f635b6ca4","/*!\n * Give Admin Shortcodes JS\n *\n * @description: The Give Admin Shortcode scripts. Only enqueued on the admin widgets screen; used to show shortcode dialogs, show/hide, and other functions\n * @package: Give\n * @subpackage: Assets/JS\n * @author: Paul Ryley\n * @copyright: Copyright (c) 2016, WordImpress\n * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License\n * @since: 1.3.0\n */\n\n/* global ajaxurl, jQuery, scShortcodes, tinymce */\n\nimport {GiveWarningAlert, GiveErrorAlert, GiveConfirmModal} from '../../../assets/src/js/plugins/modal';\n\nvar scShortcode, scButton;\n\n\njQuery( function( $ ) {\n\n\tlet doc = $( this );\n\n\t/**\n\t * Show continue button title setting field only if display style is not All Fields.\n\t */\n\twindow.render_continue_button_title_field = function() {\n\t\tvar selected_display_style = $('.mce-txt', '.mce-give-display-style').text(),\n\t\t\texpected_display_styles = [ '- Select -', 'All Fields' ];\n\n\t\tif( -1 !== $.inArray( selected_display_style, expected_display_styles ) ) {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container' ).hide()\n\t\t} else {\n\t\t\t$('.mce-give-continue-button-title').closest('.mce-container' ).show()\n\t\t}\n\t};\n\n\twindow.scForm = {\n\n\t\topen: function( editor_id ) {\n\t\t\tvar editor = tinymce.get( editor_id );\n\n\t\t\tif ( ! editor ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar data, field, required, valid, win;\n\n\t\t\tdata = {\n\t\t\t\taction : 'give_shortcode',\n\t\t\t\tshortcode : scShortcode\n\t\t\t};\n\n\t\t\t$.post( ajaxurl, data, function( response ) {\n\n\t\t\t\t// what happens if response === false?\n\t\t\t\tif ( ! response.body ) {\n\t\t\t\t\tconsole.error( 'Bad AJAX response!' );\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif ( response.body.length === 0 ) {\n\t\t\t\t\twindow.send_to_editor( '[' + response.shortcode + ']' );\n\n\t\t\t\t\tscForm.destroy();\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Render continue button title setting field on basis of display style value.\n\t\t\t\t */\n\t\t\t\t$.each( response.body, function( index, item ){\n\n\t\t\t\t\tif( 'display_style' === item.name ) {\n\t\t\t\t\t\tresponse.body[index].onselect = function(){\n\t\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tvar popup = {\n\t\t\t\t\ttitle : response.title,\n\t\t\t\t\tbody : response.body,\n\t\t\t\t\tclasses: 'sc-popup',\n\t\t\t\t\tminWidth: 320,\n\t\t\t\t\tbuttons : [ {\n\t\t\t\t\t\ttext : response.ok,\n\t\t\t\t\t\tclasses : 'primary sc-primary',\n\t\t\t\t\t\tonclick : function() {\n\t\t\t\t\t\t\t// Get the top most window object\n\t\t\t\t\t\t\twin = editor.windowManager.getWindows()[0];\n\n\t\t\t\t\t\t\t// Get the shortcode required attributes\n\t\t\t\t\t\t\trequired = scShortcodes[ scShortcode ];\n\n\t\t\t\t\t\t\tvalid = true;\n\n\t\t\t\t\t\t\t// Do some validation voodoo\n\t\t\t\t\t\t\tfor ( var id in required ) {\n\t\t\t\t\t\t\t\tif ( required.hasOwnProperty( id ) ) {\n\n\t\t\t\t\t\t\t\t\tfield = win.find( '#' + id )[0];\n\n\t\t\t\t\t\t\t\t\tif ( typeof field !== 'undefined' && field.state.data.value === '' ) {\n\n\t\t\t\t\t\t\t\t\t\tvalid = false;\n\n\t\t\t\t\t\t\t\t\t\tnew GiveErrorAlert({\n\t\t\t\t\t\t\t\t\t\t\tmodalContent:{\n\t\t\t\t\t\t\t\t\t\t\t\tdesc: required[ id ],\n\t\t\t\t\t\t\t\t\t\t\t\tcancelBtnTitle: give_vars.ok,\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}).render();\n\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif ( valid ) {\n\t\t\t\t\t\t\t\twin.submit();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttext : response.close,\n\t\t\t\t\t\t\tonclick : 'close'\n\t\t\t\t\t}, ],\n\t\t\t\t\tonsubmit: function( e ) {\n\t\t\t\t\t\tvar attributes = '';\n\n\t\t\t\t\t\tfor ( var key in e.data ) {\n\t\t\t\t\t\t\tif ( e.data.hasOwnProperty( key ) && e.data[ key ] !== '' ) {\n\t\t\t\t\t\t\t\tattributes += ' ' + key + '=\"' + e.data[ key ] + '\"';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Insert shortcode into the WP_Editor\n\t\t\t\t\t\twindow.send_to_editor( '[' + response.shortcode + attributes + ']' );\n\t\t\t\t\t},\n\t\t\t\t\tonclose: function() {\n\t\t\t\t\t\tscForm.destroy();\n\t\t\t\t\t},\n\t\t\t\t\tonopen: function() {\n\t\t\t\t\t\t// Conditional fields.\n\t\t\t\t\t\trender_continue_button_title_field();\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Change the buttons if server-side validation failed\n\t\t\t\tif ( response.ok.constructor === Array ) {\n\t\t\t\t\tpopup.buttons[0].text = response.ok[0];\n\t\t\t\t\tpopup.buttons[0].onclick = 'close';\n\t\t\t\t\tdelete popup.buttons[1];\n\t\t\t\t}\n\n\t\t\t\teditor.windowManager.open( popup );\n\t\t\t});\n\t\t},\n\n\t\tdestroy: function() {\n\t\t\tvar tmp = $( '#scTemp' );\n\n\t\t\tif ( tmp.length ) {\n\t\t\t\ttinymce.get( 'scTemp' ).remove();\n\t\t\t\ttmp.remove();\n\t\t\t}\n\t\t}\n\t};\n\n\tvar scOpen = function() {\n\t\tscButton.addClass( 'active' ).parent().find( '.sc-menu' ).show();\n\t};\n\n\tvar scClose = function() {\n\t\tif ( typeof scButton !== 'undefined' ) {\n\t\t\tscButton.removeClass( 'active' ).parent().find( '.sc-menu' ).hide();\n\t\t}\n\t};\n\n\tdoc.on( 'click', function( e ) {\n\t\tif ( ! $( e.target ).closest( '.sc-wrap' ).length ) {\n\t\t\tscClose();\n\t\t}\n\t});\n\n\tdoc.on( 'click', '.sc-button', function( e ) {\n\t\te.preventDefault();\n\n\t\tscButton = $( this );\n\n\t\tif ( scButton.hasClass( 'active' ) ) {\n\t\t\tscClose();\n\t\t} else {\n\t\t\tscOpen();\n\t\t}\n\t});\n\n\tdoc.on( 'click', '.sc-shortcode', function( e ) {\n\t\te.preventDefault();\n\n\t\t// scShortcode is used by scForm to trigger the correct popup\n\t\tscShortcode = $( this ).attr( 'data-shortcode' );\n\n\t\tif ( scShortcode ) {\n\t\t\tif ( ! tinymce.get( window.wpActiveEditor ) ) {\n\n\t\t\t\tif ( ! $( '#scTemp' ).length ) {\n\n\t\t\t\t\t$( 'body' ).append( '<textarea id=\"scTemp\" style=\"display: none;\" />' );\n\n\t\t\t\t\ttinymce.init({\n\t\t\t\t\t\tmode : \"exact\",\n\t\t\t\t\t\telements : \"scTemp\",\n\t\t\t\t\t\tplugins : ['give_shortcode', 'wplink']\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tsetTimeout( function() { tinymce.execCommand( 'Give_Shortcode' ); }, 200 );\n\t\t\t} else {\n\t\t\t\ttinymce.execCommand( 'Give_Shortcode' );\n\t\t\t}\n\n\t\t\tsetTimeout( function() { scClose(); }, 100 );\n\t\t} else {\n\t\t\tconsole.warn( 'That is not a valid shortcode link.' );\n\t\t}\n\t});\n});\n\n\n// WEBPACK FOOTER //\n// ./includes/admin/shortcodes/admin-shortcodes.js","/**\n * This API is under development, so do not use this in production.\n * We will open this API for use after some testing (coming releases).\n */\n/* globals give_vars, jQuery */\nimport 'magnific-popup';\nimport './dynamicListener.js';\n\n/**\n * This abstract class is base for modal\n *\n * @since 2.1.0\n */\nclass GiveModal {\n\tconstructor( obj ) {\n\t\tif ( GiveModal === this.constructor ) {\n\t\t\tthrow new Error( 'Abstract classes can\\'t be instantiated.' );\n\t\t}\n\n\t\tthis.config = Object.assign(\n\t\t\t{\n\t\t\t\ttype: '',\n\t\t\t\ttriggerSelector: '',\n\t\t\t\texternalPlugin: 'magnificPopup',\n\t\t\t\tclasses: { modalWrapper: '' },\n\t\t\t\tmodalContent: {},\n\t\t\t},\n\t\t\tobj\n\t\t);\n\n\t\t// Set main class.\n\t\tthis.config.mainClass = `${ this.config.mainClass ? this.config.mainClass : '' } modal-fade-slide`.trim();\n\t}\n\n\t/**\n\t * Bootstrap\n\t */\n\tinit() {\n\t\tthis.setupTemplate();\n\t\tthis.popupConfig();\n\t\tthis.__setupClickEvent();\n\t}\n\n\t/**\n\t * Get template\n\t *\n\t * @since 2.1.0\n\t *\n\t * @return {string} Template HTML.\n\t */\n\tgetTemplate() {\n\t\tlet template = '<div class=\"give-hidden\"></div>';\n\n\t\tif ( this.config.type.length ) {\n\t\t\ttemplate = `<div class=\"give-modal give-modal--zoom ${ this.config.classes.modalWrapper ? `${ this.config.classes.modalWrapper }`.trim() : '' }\">\n\n\t\t\t\t<div class=\"give-modal__body\">\n\t\t\t\t\t${ this.config.modalContent.title ? `<h2 class=\"give-modal__title\">${ this.config.modalContent.title }</h2>` : '' }\n\t\t\t\t\t${ this.config.modalContent.desc ? `<p class=\"give-modal__description\">${ this.config.modalContent.desc }</p>` : '' }\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class=\"give-modal__controls\">\n\n\t\t\t\t\t${ ( 'form' === this.config.type ) ? '<div class=\"spinner\"></div>' : '' }\n\t\t\t\t\t${ ( 'form' === this.config.type ) ? `<a class=\"give-modal--additional-link\" href=\"${ this.config.modalContent.link }\">${ this.config.modalContent.link_text }</a>` : '' }\n\n\t\t\t\t\t<button class=\"give-button give-button--secondary give-popup-close-button\">\n\t\t\t\t\t\t${ this.config.modalContent.cancelBtnTitle ? this.config.modalContent.cancelBtnTitle : ( 'confirm' === this.config.type ? give_vars.cancel : give_vars.close ) }\n\t\t\t\t\t</button>\n\n\t\t\t\t\t${ ( 'confirm' !== this.config.type && 'form' !== this.config.type ) ? '' : `<button class=\"give-button give-button--primary give-popup-${ this.config.type }-button\">\n\n\t\t\t\t\t\t${ this.config.modalContent.confirmBtnTitle ? this.config.modalContent.confirmBtnTitle : give_vars.confirm }\n\t\t\t\t\t</button>` }\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>`;\n\t\t}\n\n\t\treturn template;\n\t}\n\n\t/**\n\t * Setup template\n\t *\n\t * @since 2.1.0\n\t */\n\tsetupTemplate() {\n\t\tthis.config.template = this.getTemplate();\n\t}\n\n\t/**\n\t * Handle click event if triggerSelector is set.\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\t__setupClickEvent() {\n\t\t// Bailout.\n\t\tif ( ! this.config.triggerSelector.length ) {\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( this.config.triggerSelector ).magnificPopup( this.config );\n\t}\n\n\t/**\n\t * Setup popup params\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\tpopupConfig() {\n\t\tif ( 'magnificPopup' === this.config.externalPlugin ) {\n\t\t\tthis.config.items = this.config.items || {\n\t\t\t\tsrc: this.config.template,\n\t\t\t\ttype: 'inline',\n\t\t\t};\n\n\t\t\tthis.config.removalDelay = 300;\n\t\t\tthis.config.fixedContentPos = true;\n\t\t\tthis.config.fixedBgPos = true;\n\t\t\tthis.config.alignTop = true;\n\t\t\tthis.config.showCloseBtn = false;\n\t\t\tthis.config.closeOnBgClick = false;\n\t\t\tthis.config.enableEscapeKey = true;\n\t\t\tthis.config.focus = '.give-popup-close-button';\n\t\t}\n\t}\n\n\t/**\n\t * Click close button event handler\n\t *\n\t * @since 2.1.0\n\t * @private\n\t *\n\t * @param {object} event Event object.\n\t */\n\tstatic __closePopup( event ) {\n\t\tevent.preventDefault();\n\t\tjQuery.magnificPopup.instance.close();\n\t}\n\n\t/**\n\t * Give's Notice Popup\n\t *\n\t * @since 2.1.0\n\t *\n\t * @return {object} GiveModal class object.\n\t */\n\trender() {\n\t\tswitch ( this.config.externalPlugin ) {\n\t\t\tcase 'magnificPopup':\n\t\t\t\tif ( ! this.config.triggerSelector ) {\n\t\t\t\t\tjQuery.magnificPopup.open( this.config );\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn this;\n\t}\n}\n\n/**\n * This class will handle error alert modal\n *\n * @since 2.1.0\n */\nclass GiveErrorAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--error';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle warning alert modal\n *\n * @since 2.1.0\n */\nclass GiveWarningAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--warning';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle notice alert modal\n *\n * @since 2.1.0\n */\nclass GiveNoticeAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--notice';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle success alert modal\n *\n * @since 2.1.0\n */\nclass GiveSuccessAlert extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'alert';\n\t\tsuper( obj );\n\t\tthis.config.classes.modalWrapper = 'give-modal--success';\n\n\t\tthis.init();\n\t}\n}\n\n/**\n * This class will handle confirm modal\n *\n * @since 2.1.0\n */\nclass GiveConfirmModal extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'confirm';\n\t\tsuper( obj );\n\n\t\tif ( 'undefined' !== typeof( obj.modalWrapper ) && '' !== obj.modalWrapper ) {\n\t\t\tthis.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Confirm button click event handler\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.1.0\n\t * @private\n\t */\n\tstatic __confirmPopup() {\n\t\tif ( 'function' === typeof jQuery.magnificPopup.instance.st.successConfirm ) {\n\t\t\tjQuery.magnificPopup.instance.st.successConfirm( {\n\t\t\t\tel: jQuery.magnificPopup.instance.st.el,\n\t\t\t} );\n\t\t\tjQuery.magnificPopup.close();\n\t\t}\n\t}\n}\n\n/**\n * This class will handle Form modal\n *\n * @since 2.2.0\n */\nclass GiveFormModal extends GiveModal {\n\tconstructor( obj ) {\n\t\tobj.type = 'form';\n\t\tsuper( obj );\n\n\t\tif ( 'undefined' !== typeof( obj.modalWrapper ) && '' !== obj.modalWrapper ) {\n\t\t\tthis.config.classes.modalWrapper = obj.modalWrapper;\n\t\t}\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Submit button click event handler\n\t *\n\t * Note: only for internal purpose\n\t *\n\t * @since 2.2.0\n\t * @private\n\t */\n\tstatic __submitPopup() {\n\t\tif ( 'function' === typeof jQuery.magnificPopup.instance.st.successConfirm ) {\n\t\t\tjQuery.magnificPopup.instance.st.successConfirm( {\n\t\t\t\tel: jQuery.magnificPopup.instance.st.el,\n\t\t\t} );\n\t\t}\n\t}\n}\n\n/**\n * Add events\n */\nwindow.addDynamicEventListener( document, 'click', '.give-popup-close-button', GiveModal.__closePopup, {} );\nwindow.addDynamicEventListener( document, 'click', '.give-popup-confirm-button', GiveConfirmModal.__confirmPopup, {} );\nwindow.addDynamicEventListener( document, 'click', '.give-popup-form-button', GiveFormModal.__submitPopup, {} );\n\nexport { GiveModal, GiveErrorAlert, GiveWarningAlert, GiveNoticeAlert, GiveSuccessAlert, GiveConfirmModal, GiveFormModal };\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/js/plugins/modal.js","/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n;(function (factory) { \nif (typeof define === 'function' && define.amd) { \n // AMD. Register as an anonymous module. \n define(['jquery'], factory); \n } else if (typeof exports === 'object') { \n // Node/CommonJS \n factory(require('jquery')); \n } else { \n // Browser globals \n factory(window.jQuery || window.Zepto); \n } \n }(function($) { \n\n/*>>core*/\n/**\n * \n * Magnific Popup Core JS file\n * \n */\n\n\n/**\n * Private static constants\n */\nvar CLOSE_EVENT = 'Close',\n\tBEFORE_CLOSE_EVENT = 'BeforeClose',\n\tAFTER_CLOSE_EVENT = 'AfterClose',\n\tBEFORE_APPEND_EVENT = 'BeforeAppend',\n\tMARKUP_PARSE_EVENT = 'MarkupParse',\n\tOPEN_EVENT = 'Open',\n\tCHANGE_EVENT = 'Change',\n\tNS = 'mfp',\n\tEVENT_NS = '.' + NS,\n\tREADY_CLASS = 'mfp-ready',\n\tREMOVING_CLASS = 'mfp-removing',\n\tPREVENT_CLOSE_CLASS = 'mfp-prevent-close';\n\n\n/**\n * Private vars \n */\n/*jshint -W079 */\nvar mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'\n\tMagnificPopup = function(){},\n\t_isJQ = !!(window.jQuery),\n\t_prevStatus,\n\t_window = $(window),\n\t_document,\n\t_prevContentType,\n\t_wrapClasses,\n\t_currPopupType;\n\n\n/**\n * Private functions\n */\nvar _mfpOn = function(name, f) {\n\t\tmfp.ev.on(NS + name + EVENT_NS, f);\n\t},\n\t_getEl = function(className, appendTo, html, raw) {\n\t\tvar el = document.createElement('div');\n\t\tel.className = 'mfp-'+className;\n\t\tif(html) {\n\t\t\tel.innerHTML = html;\n\t\t}\n\t\tif(!raw) {\n\t\t\tel = $(el);\n\t\t\tif(appendTo) {\n\t\t\t\tel.appendTo(appendTo);\n\t\t\t}\n\t\t} else if(appendTo) {\n\t\t\tappendTo.appendChild(el);\n\t\t}\n\t\treturn el;\n\t},\n\t_mfpTrigger = function(e, data) {\n\t\tmfp.ev.triggerHandler(NS + e, data);\n\n\t\tif(mfp.st.callbacks) {\n\t\t\t// converts \"mfpEventName\" to \"eventName\" callback and triggers it if it's present\n\t\t\te = e.charAt(0).toLowerCase() + e.slice(1);\n\t\t\tif(mfp.st.callbacks[e]) {\n\t\t\t\tmfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);\n\t\t\t}\n\t\t}\n\t},\n\t_getCloseBtn = function(type) {\n\t\tif(type !== _currPopupType || !mfp.currTemplate.closeBtn) {\n\t\t\tmfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );\n\t\t\t_currPopupType = type;\n\t\t}\n\t\treturn mfp.currTemplate.closeBtn;\n\t},\n\t// Initialize Magnific Popup only when called at least once\n\t_checkInstance = function() {\n\t\tif(!$.magnificPopup.instance) {\n\t\t\t/*jshint -W020 */\n\t\t\tmfp = new MagnificPopup();\n\t\t\tmfp.init();\n\t\t\t$.magnificPopup.instance = mfp;\n\t\t}\n\t},\n\t// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr\n\tsupportsTransitions = function() {\n\t\tvar s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist\n\t\t\tv = ['ms','O','Moz','Webkit']; // 'v' for vendor\n\n\t\tif( s['transition'] !== undefined ) {\n\t\t\treturn true; \n\t\t}\n\t\t\t\n\t\twhile( v.length ) {\n\t\t\tif( v.pop() + 'Transition' in s ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t};\n\n\n\n/**\n * Public functions\n */\nMagnificPopup.prototype = {\n\n\tconstructor: MagnificPopup,\n\n\t/**\n\t * Initializes Magnific Popup plugin. \n\t * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed\n\t */\n\tinit: function() {\n\t\tvar appVersion = navigator.appVersion;\n\t\tmfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;\n\t\tmfp.isAndroid = (/android/gi).test(appVersion);\n\t\tmfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);\n\t\tmfp.supportsTransition = supportsTransitions();\n\n\t\t// We disable fixed positioned lightbox on devices that don't handle it nicely.\n\t\t// If you know a better way of detecting this - let me know.\n\t\tmfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );\n\t\t_document = $(document);\n\n\t\tmfp.popupsCache = {};\n\t},\n\n\t/**\n\t * Opens popup\n\t * @param data [description]\n\t */\n\topen: function(data) {\n\n\t\tvar i;\n\n\t\tif(data.isObj === false) { \n\t\t\t// convert jQuery collection to array to avoid conflicts later\n\t\t\tmfp.items = data.items.toArray();\n\n\t\t\tmfp.index = 0;\n\t\t\tvar items = data.items,\n\t\t\t\titem;\n\t\t\tfor(i = 0; i < items.length; i++) {\n\t\t\t\titem = items[i];\n\t\t\t\tif(item.parsed) {\n\t\t\t\t\titem = item.el[0];\n\t\t\t\t}\n\t\t\t\tif(item === data.el[0]) {\n\t\t\t\t\tmfp.index = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.items = $.isArray(data.items) ? data.items : [data.items];\n\t\t\tmfp.index = data.index || 0;\n\t\t}\n\n\t\t// if popup is already opened - we just update the content\n\t\tif(mfp.isOpen) {\n\t\t\tmfp.updateItemHTML();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmfp.types = []; \n\t\t_wrapClasses = '';\n\t\tif(data.mainEl && data.mainEl.length) {\n\t\t\tmfp.ev = data.mainEl.eq(0);\n\t\t} else {\n\t\t\tmfp.ev = _document;\n\t\t}\n\n\t\tif(data.key) {\n\t\t\tif(!mfp.popupsCache[data.key]) {\n\t\t\t\tmfp.popupsCache[data.key] = {};\n\t\t\t}\n\t\t\tmfp.currTemplate = mfp.popupsCache[data.key];\n\t\t} else {\n\t\t\tmfp.currTemplate = {};\n\t\t}\n\n\n\n\t\tmfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); \n\t\tmfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;\n\n\t\tif(mfp.st.modal) {\n\t\t\tmfp.st.closeOnContentClick = false;\n\t\t\tmfp.st.closeOnBgClick = false;\n\t\t\tmfp.st.showCloseBtn = false;\n\t\t\tmfp.st.enableEscapeKey = false;\n\t\t}\n\t\t\n\n\t\t// Building markup\n\t\t// main containers are created only once\n\t\tif(!mfp.bgOverlay) {\n\n\t\t\t// Dark overlay\n\t\t\tmfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {\n\t\t\t\tmfp.close();\n\t\t\t});\n\n\t\t\tmfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {\n\t\t\t\tif(mfp._checkIfClose(e.target)) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmfp.container = _getEl('container', mfp.wrap);\n\t\t}\n\n\t\tmfp.contentContainer = _getEl('content');\n\t\tif(mfp.st.preloader) {\n\t\t\tmfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);\n\t\t}\n\n\n\t\t// Initializing modules\n\t\tvar modules = $.magnificPopup.modules;\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar n = modules[i];\n\t\t\tn = n.charAt(0).toUpperCase() + n.slice(1);\n\t\t\tmfp['init'+n].call(mfp);\n\t\t}\n\t\t_mfpTrigger('BeforeOpen');\n\n\n\t\tif(mfp.st.showCloseBtn) {\n\t\t\t// Close button\n\t\t\tif(!mfp.st.closeBtnInside) {\n\t\t\t\tmfp.wrap.append( _getCloseBtn() );\n\t\t\t} else {\n\t\t\t\t_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {\n\t\t\t\t\tvalues.close_replaceWith = _getCloseBtn(item.type);\n\t\t\t\t});\n\t\t\t\t_wrapClasses += ' mfp-close-btn-in';\n\t\t\t}\n\t\t}\n\n\t\tif(mfp.st.alignTop) {\n\t\t\t_wrapClasses += ' mfp-align-top';\n\t\t}\n\n\t\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css({\n\t\t\t\toverflow: mfp.st.overflowY,\n\t\t\t\toverflowX: 'hidden',\n\t\t\t\toverflowY: mfp.st.overflowY\n\t\t\t});\n\t\t} else {\n\t\t\tmfp.wrap.css({ \n\t\t\t\ttop: _window.scrollTop(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\t\tif( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {\n\t\t\tmfp.bgOverlay.css({\n\t\t\t\theight: _document.height(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\n\t\t\n\n\t\tif(mfp.st.enableEscapeKey) {\n\t\t\t// Close on ESC key\n\t\t\t_document.on('keyup' + EVENT_NS, function(e) {\n\t\t\t\tif(e.keyCode === 27) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t_window.on('resize' + EVENT_NS, function() {\n\t\t\tmfp.updateSize();\n\t\t});\n\n\n\t\tif(!mfp.st.closeOnContentClick) {\n\t\t\t_wrapClasses += ' mfp-auto-cursor';\n\t\t}\n\t\t\n\t\tif(_wrapClasses)\n\t\t\tmfp.wrap.addClass(_wrapClasses);\n\n\n\t\t// this triggers recalculation of layout, so we get it once to not to trigger twice\n\t\tvar windowHeight = mfp.wH = _window.height();\n\n\t\t\n\t\tvar windowStyles = {};\n\n\t\tif( mfp.fixedContentPos ) {\n if(mfp._hasScrollBar(windowHeight)){\n var s = mfp._getScrollbarSize();\n if(s) {\n windowStyles.marginRight = s;\n }\n }\n }\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tif(!mfp.isIE7) {\n\t\t\t\twindowStyles.overflow = 'hidden';\n\t\t\t} else {\n\t\t\t\t// ie7 double-scroll bug\n\t\t\t\t$('body, html').css('overflow', 'hidden');\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t\n\t\tvar classesToadd = mfp.st.mainClass;\n\t\tif(mfp.isIE7) {\n\t\t\tclassesToadd += ' mfp-ie7';\n\t\t}\n\t\tif(classesToadd) {\n\t\t\tmfp._addClassToMFP( classesToadd );\n\t\t}\n\n\t\t// add content\n\t\tmfp.updateItemHTML();\n\n\t\t_mfpTrigger('BuildControls');\n\n\t\t// remove scrollbar, add margin e.t.c\n\t\t$('html').css(windowStyles);\n\t\t\n\t\t// add everything to DOM\n\t\tmfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );\n\n\t\t// Save last focused element\n\t\tmfp._lastFocusedEl = document.activeElement;\n\t\t\n\t\t// Wait for next cycle to allow CSS transition\n\t\tsetTimeout(function() {\n\t\t\t\n\t\t\tif(mfp.content) {\n\t\t\t\tmfp._addClassToMFP(READY_CLASS);\n\t\t\t\tmfp._setFocus();\n\t\t\t} else {\n\t\t\t\t// if content is not defined (not loaded e.t.c) we add class only for BG\n\t\t\t\tmfp.bgOverlay.addClass(READY_CLASS);\n\t\t\t}\n\t\t\t\n\t\t\t// Trap the focus in popup\n\t\t\t_document.on('focusin' + EVENT_NS, mfp._onFocusIn);\n\n\t\t}, 16);\n\n\t\tmfp.isOpen = true;\n\t\tmfp.updateSize(windowHeight);\n\t\t_mfpTrigger(OPEN_EVENT);\n\n\t\treturn data;\n\t},\n\n\t/**\n\t * Closes the popup\n\t */\n\tclose: function() {\n\t\tif(!mfp.isOpen) return;\n\t\t_mfpTrigger(BEFORE_CLOSE_EVENT);\n\n\t\tmfp.isOpen = false;\n\t\t// for CSS3 animation\n\t\tif(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition ) {\n\t\t\tmfp._addClassToMFP(REMOVING_CLASS);\n\t\t\tsetTimeout(function() {\n\t\t\t\tmfp._close();\n\t\t\t}, mfp.st.removalDelay);\n\t\t} else {\n\t\t\tmfp._close();\n\t\t}\n\t},\n\n\t/**\n\t * Helper for close() function\n\t */\n\t_close: function() {\n\t\t_mfpTrigger(CLOSE_EVENT);\n\n\t\tvar classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';\n\n\t\tmfp.bgOverlay.detach();\n\t\tmfp.wrap.detach();\n\t\tmfp.container.empty();\n\n\t\tif(mfp.st.mainClass) {\n\t\t\tclassesToRemove += mfp.st.mainClass + ' ';\n\t\t}\n\n\t\tmfp._removeClassFromMFP(classesToRemove);\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tvar windowStyles = {marginRight: ''};\n\t\t\tif(mfp.isIE7) {\n\t\t\t\t$('body, html').css('overflow', '');\n\t\t\t} else {\n\t\t\t\twindowStyles.overflow = '';\n\t\t\t}\n\t\t\t$('html').css(windowStyles);\n\t\t}\n\t\t\n\t\t_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);\n\t\tmfp.ev.off(EVENT_NS);\n\n\t\t// clean up DOM elements that aren't removed\n\t\tmfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');\n\t\tmfp.bgOverlay.attr('class', 'mfp-bg');\n\t\tmfp.container.attr('class', 'mfp-container');\n\n\t\t// remove close button from target element\n\t\tif(mfp.st.showCloseBtn &&\n\t\t(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {\n\t\t\tif(mfp.currTemplate.closeBtn)\n\t\t\t\tmfp.currTemplate.closeBtn.detach();\n\t\t}\n\n\n\t\tif(mfp.st.autoFocusLast && mfp._lastFocusedEl) {\n\t\t\t$(mfp._lastFocusedEl).focus(); // put tab focus back\n\t\t}\n\t\tmfp.currItem = null;\t\n\t\tmfp.content = null;\n\t\tmfp.currTemplate = null;\n\t\tmfp.prevHeight = 0;\n\n\t\t_mfpTrigger(AFTER_CLOSE_EVENT);\n\t},\n\t\n\tupdateSize: function(winHeight) {\n\n\t\tif(mfp.isIOS) {\n\t\t\t// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2\n\t\t\tvar zoomLevel = document.documentElement.clientWidth / window.innerWidth;\n\t\t\tvar height = window.innerHeight * zoomLevel;\n\t\t\tmfp.wrap.css('height', height);\n\t\t\tmfp.wH = height;\n\t\t} else {\n\t\t\tmfp.wH = winHeight || _window.height();\n\t\t}\n\t\t// Fixes #84: popup incorrectly positioned with position:relative on body\n\t\tif(!mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css('height', mfp.wH);\n\t\t}\n\n\t\t_mfpTrigger('Resize');\n\n\t},\n\n\t/**\n\t * Set content of popup based on current index\n\t */\n\tupdateItemHTML: function() {\n\t\tvar item = mfp.items[mfp.index];\n\n\t\t// Detach and perform modifications\n\t\tmfp.contentContainer.detach();\n\n\t\tif(mfp.content)\n\t\t\tmfp.content.detach();\n\n\t\tif(!item.parsed) {\n\t\t\titem = mfp.parseEl( mfp.index );\n\t\t}\n\n\t\tvar type = item.type;\n\n\t\t_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);\n\t\t// BeforeChange event works like so:\n\t\t// _mfpOn('BeforeChange', function(e, prevType, newType) { });\n\n\t\tmfp.currItem = item;\n\n\t\tif(!mfp.currTemplate[type]) {\n\t\t\tvar markup = mfp.st[type] ? mfp.st[type].markup : false;\n\n\t\t\t// allows to modify markup\n\t\t\t_mfpTrigger('FirstMarkupParse', markup);\n\n\t\t\tif(markup) {\n\t\t\t\tmfp.currTemplate[type] = $(markup);\n\t\t\t} else {\n\t\t\t\t// if there is no markup found we just define that template is parsed\n\t\t\t\tmfp.currTemplate[type] = true;\n\t\t\t}\n\t\t}\n\n\t\tif(_prevContentType && _prevContentType !== item.type) {\n\t\t\tmfp.container.removeClass('mfp-'+_prevContentType+'-holder');\n\t\t}\n\n\t\tvar newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);\n\t\tmfp.appendContent(newContent, type);\n\n\t\titem.preloaded = true;\n\n\t\t_mfpTrigger(CHANGE_EVENT, item);\n\t\t_prevContentType = item.type;\n\n\t\t// Append container back after its content changed\n\t\tmfp.container.prepend(mfp.contentContainer);\n\n\t\t_mfpTrigger('AfterChange');\n\t},\n\n\n\t/**\n\t * Set HTML content of popup\n\t */\n\tappendContent: function(newContent, type) {\n\t\tmfp.content = newContent;\n\n\t\tif(newContent) {\n\t\t\tif(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&\n\t\t\t\tmfp.currTemplate[type] === true) {\n\t\t\t\t// if there is no markup, we just append close button element inside\n\t\t\t\tif(!mfp.content.find('.mfp-close').length) {\n\t\t\t\t\tmfp.content.append(_getCloseBtn());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmfp.content = newContent;\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.content = '';\n\t\t}\n\n\t\t_mfpTrigger(BEFORE_APPEND_EVENT);\n\t\tmfp.container.addClass('mfp-'+type+'-holder');\n\n\t\tmfp.contentContainer.append(mfp.content);\n\t},\n\n\n\t/**\n\t * Creates Magnific Popup data object based on given data\n\t * @param {int} index Index of item to parse\n\t */\n\tparseEl: function(index) {\n\t\tvar item = mfp.items[index],\n\t\t\ttype;\n\n\t\tif(item.tagName) {\n\t\t\titem = { el: $(item) };\n\t\t} else {\n\t\t\ttype = item.type;\n\t\t\titem = { data: item, src: item.src };\n\t\t}\n\n\t\tif(item.el) {\n\t\t\tvar types = mfp.types;\n\n\t\t\t// check for 'mfp-TYPE' class\n\t\t\tfor(var i = 0; i < types.length; i++) {\n\t\t\t\tif( item.el.hasClass('mfp-'+types[i]) ) {\n\t\t\t\t\ttype = types[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\titem.src = item.el.attr('data-mfp-src');\n\t\t\tif(!item.src) {\n\t\t\t\titem.src = item.el.attr('href');\n\t\t\t}\n\t\t}\n\n\t\titem.type = type || mfp.st.type || 'inline';\n\t\titem.index = index;\n\t\titem.parsed = true;\n\t\tmfp.items[index] = item;\n\t\t_mfpTrigger('ElementParse', item);\n\n\t\treturn mfp.items[index];\n\t},\n\n\n\t/**\n\t * Initializes single popup or a group of popups\n\t */\n\taddGroup: function(el, options) {\n\t\tvar eHandler = function(e) {\n\t\t\te.mfpEl = this;\n\t\t\tmfp._openClick(e, el, options);\n\t\t};\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t}\n\n\t\tvar eName = 'click.magnificPopup';\n\t\toptions.mainEl = el;\n\n\t\tif(options.items) {\n\t\t\toptions.isObj = true;\n\t\t\tel.off(eName).on(eName, eHandler);\n\t\t} else {\n\t\t\toptions.isObj = false;\n\t\t\tif(options.delegate) {\n\t\t\t\tel.off(eName).on(eName, options.delegate , eHandler);\n\t\t\t} else {\n\t\t\t\toptions.items = el;\n\t\t\t\tel.off(eName).on(eName, eHandler);\n\t\t\t}\n\t\t}\n\t},\n\t_openClick: function(e, el, options) {\n\t\tvar midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;\n\n\n\t\tif(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;\n\n\t\tif(disableOn) {\n\t\t\tif($.isFunction(disableOn)) {\n\t\t\t\tif( !disableOn.call(mfp) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else { // else it's number\n\t\t\t\tif( _window.width() < disableOn ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif(e.type) {\n\t\t\te.preventDefault();\n\n\t\t\t// This will prevent popup from closing if element is inside and popup is already opened\n\t\t\tif(mfp.isOpen) {\n\t\t\t\te.stopPropagation();\n\t\t\t}\n\t\t}\n\n\t\toptions.el = $(e.mfpEl);\n\t\tif(options.delegate) {\n\t\t\toptions.items = el.find(options.delegate);\n\t\t}\n\t\tmfp.open(options);\n\t},\n\n\n\t/**\n\t * Updates text on preloader\n\t */\n\tupdateStatus: function(status, text) {\n\n\t\tif(mfp.preloader) {\n\t\t\tif(_prevStatus !== status) {\n\t\t\t\tmfp.container.removeClass('mfp-s-'+_prevStatus);\n\t\t\t}\n\n\t\t\tif(!text && status === 'loading') {\n\t\t\t\ttext = mfp.st.tLoading;\n\t\t\t}\n\n\t\t\tvar data = {\n\t\t\t\tstatus: status,\n\t\t\t\ttext: text\n\t\t\t};\n\t\t\t// allows to modify status\n\t\t\t_mfpTrigger('UpdateStatus', data);\n\n\t\t\tstatus = data.status;\n\t\t\ttext = data.text;\n\n\t\t\tmfp.preloader.html(text);\n\n\t\t\tmfp.preloader.find('a').on('click', function(e) {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t});\n\n\t\t\tmfp.container.addClass('mfp-s-'+status);\n\t\t\t_prevStatus = status;\n\t\t}\n\t},\n\n\n\t/*\n\t\t\"Private\" helpers that aren't private at all\n\t */\n\t// Check to close popup or not\n\t// \"target\" is an element that was clicked\n\t_checkIfClose: function(target) {\n\n\t\tif($(target).hasClass(PREVENT_CLOSE_CLASS)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar closeOnContent = mfp.st.closeOnContentClick;\n\t\tvar closeOnBg = mfp.st.closeOnBgClick;\n\n\t\tif(closeOnContent && closeOnBg) {\n\t\t\treturn true;\n\t\t} else {\n\n\t\t\t// We close the popup if click is on close button or on preloader. Or if there is no content.\n\t\t\tif(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// if click is outside the content\n\t\t\tif( (target !== mfp.content[0] && !$.contains(mfp.content[0], target)) ) {\n\t\t\t\tif(closeOnBg) {\n\t\t\t\t\t// last check, if the clicked element is in DOM, (in case it's removed onclick)\n\t\t\t\t\tif( $.contains(document, target) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if(closeOnContent) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t}\n\t\treturn false;\n\t},\n\t_addClassToMFP: function(cName) {\n\t\tmfp.bgOverlay.addClass(cName);\n\t\tmfp.wrap.addClass(cName);\n\t},\n\t_removeClassFromMFP: function(cName) {\n\t\tthis.bgOverlay.removeClass(cName);\n\t\tmfp.wrap.removeClass(cName);\n\t},\n\t_hasScrollBar: function(winHeight) {\n\t\treturn ( (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );\n\t},\n\t_setFocus: function() {\n\t\t(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();\n\t},\n\t_onFocusIn: function(e) {\n\t\tif( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {\n\t\t\tmfp._setFocus();\n\t\t\treturn false;\n\t\t}\n\t},\n\t_parseMarkup: function(template, values, item) {\n\t\tvar arr;\n\t\tif(item.data) {\n\t\t\tvalues = $.extend(item.data, values);\n\t\t}\n\t\t_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );\n\n\t\t$.each(values, function(key, value) {\n\t\t\tif(value === undefined || value === false) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tarr = key.split('_');\n\t\t\tif(arr.length > 1) {\n\t\t\t\tvar el = template.find(EVENT_NS + '-'+arr[0]);\n\n\t\t\t\tif(el.length > 0) {\n\t\t\t\t\tvar attr = arr[1];\n\t\t\t\t\tif(attr === 'replaceWith') {\n\t\t\t\t\t\tif(el[0] !== value[0]) {\n\t\t\t\t\t\t\tel.replaceWith(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(attr === 'img') {\n\t\t\t\t\t\tif(el.is('img')) {\n\t\t\t\t\t\t\tel.attr('src', value);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tel.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.attr(arr[1], value);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\ttemplate.find(EVENT_NS + '-'+key).html(value);\n\t\t\t}\n\t\t});\n\t},\n\n\t_getScrollbarSize: function() {\n\t\t// thx David\n\t\tif(mfp.scrollbarSize === undefined) {\n\t\t\tvar scrollDiv = document.createElement(\"div\");\n\t\t\tscrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';\n\t\t\tdocument.body.appendChild(scrollDiv);\n\t\t\tmfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t\t\tdocument.body.removeChild(scrollDiv);\n\t\t}\n\t\treturn mfp.scrollbarSize;\n\t}\n\n}; /* MagnificPopup core prototype end */\n\n\n\n\n/**\n * Public static functions\n */\n$.magnificPopup = {\n\tinstance: null,\n\tproto: MagnificPopup.prototype,\n\tmodules: [],\n\n\topen: function(options, index) {\n\t\t_checkInstance();\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t} else {\n\t\t\toptions = $.extend(true, {}, options);\n\t\t}\n\n\t\toptions.isObj = true;\n\t\toptions.index = index || 0;\n\t\treturn this.instance.open(options);\n\t},\n\n\tclose: function() {\n\t\treturn $.magnificPopup.instance && $.magnificPopup.instance.close();\n\t},\n\n\tregisterModule: function(name, module) {\n\t\tif(module.options) {\n\t\t\t$.magnificPopup.defaults[name] = module.options;\n\t\t}\n\t\t$.extend(this.proto, module.proto);\n\t\tthis.modules.push(name);\n\t},\n\n\tdefaults: {\n\n\t\t// Info about options is in docs:\n\t\t// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options\n\n\t\tdisableOn: 0,\n\n\t\tkey: null,\n\n\t\tmidClick: false,\n\n\t\tmainClass: '',\n\n\t\tpreloader: true,\n\n\t\tfocus: '', // CSS selector of input to focus after popup is opened\n\n\t\tcloseOnContentClick: false,\n\n\t\tcloseOnBgClick: true,\n\n\t\tcloseBtnInside: true,\n\n\t\tshowCloseBtn: true,\n\n\t\tenableEscapeKey: true,\n\n\t\tmodal: false,\n\n\t\talignTop: false,\n\n\t\tremovalDelay: 0,\n\n\t\tprependTo: null,\n\n\t\tfixedContentPos: 'auto',\n\n\t\tfixedBgPos: 'auto',\n\n\t\toverflowY: 'auto',\n\n\t\tcloseMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>',\n\n\t\ttClose: 'Close (Esc)',\n\n\t\ttLoading: 'Loading...',\n\n\t\tautoFocusLast: true\n\n\t}\n};\n\n\n\n$.fn.magnificPopup = function(options) {\n\t_checkInstance();\n\n\tvar jqEl = $(this);\n\n\t// We call some API method of first param is a string\n\tif (typeof options === \"string\" ) {\n\n\t\tif(options === 'open') {\n\t\t\tvar items,\n\t\t\t\titemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,\n\t\t\t\tindex = parseInt(arguments[1], 10) || 0;\n\n\t\t\tif(itemOpts.items) {\n\t\t\t\titems = itemOpts.items[index];\n\t\t\t} else {\n\t\t\t\titems = jqEl;\n\t\t\t\tif(itemOpts.delegate) {\n\t\t\t\t\titems = items.find(itemOpts.delegate);\n\t\t\t\t}\n\t\t\t\titems = items.eq( index );\n\t\t\t}\n\t\t\tmfp._openClick({mfpEl:items}, jqEl, itemOpts);\n\t\t} else {\n\t\t\tif(mfp.isOpen)\n\t\t\t\tmfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));\n\t\t}\n\n\t} else {\n\t\t// clone options obj\n\t\toptions = $.extend(true, {}, options);\n\n\t\t/*\n\t\t * As Zepto doesn't support .data() method for objects\n\t\t * and it works only in normal browsers\n\t\t * we assign \"options\" object directly to the DOM element. FTW!\n\t\t */\n\t\tif(_isJQ) {\n\t\t\tjqEl.data('magnificPopup', options);\n\t\t} else {\n\t\t\tjqEl[0].magnificPopup = options;\n\t\t}\n\n\t\tmfp.addGroup(jqEl, options);\n\n\t}\n\treturn jqEl;\n};\n\n/*>>core*/\n\n/*>>inline*/\n\nvar INLINE_NS = 'inline',\n\t_hiddenClass,\n\t_inlinePlaceholder,\n\t_lastInlineElement,\n\t_putInlineElementsBack = function() {\n\t\tif(_lastInlineElement) {\n\t\t\t_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();\n\t\t\t_lastInlineElement = null;\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(INLINE_NS, {\n\toptions: {\n\t\thiddenClass: 'hide', // will be appended with `mfp-` prefix\n\t\tmarkup: '',\n\t\ttNotFound: 'Content not found'\n\t},\n\tproto: {\n\n\t\tinitInline: function() {\n\t\t\tmfp.types.push(INLINE_NS);\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {\n\t\t\t\t_putInlineElementsBack();\n\t\t\t});\n\t\t},\n\n\t\tgetInline: function(item, template) {\n\n\t\t\t_putInlineElementsBack();\n\n\t\t\tif(item.src) {\n\t\t\t\tvar inlineSt = mfp.st.inline,\n\t\t\t\t\tel = $(item.src);\n\n\t\t\t\tif(el.length) {\n\n\t\t\t\t\t// If target element has parent - we replace it with placeholder and put it back after popup is closed\n\t\t\t\t\tvar parent = el[0].parentNode;\n\t\t\t\t\tif(parent && parent.tagName) {\n\t\t\t\t\t\tif(!_inlinePlaceholder) {\n\t\t\t\t\t\t\t_hiddenClass = inlineSt.hiddenClass;\n\t\t\t\t\t\t\t_inlinePlaceholder = _getEl(_hiddenClass);\n\t\t\t\t\t\t\t_hiddenClass = 'mfp-'+_hiddenClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// replace target inline element with placeholder\n\t\t\t\t\t\t_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);\n\t\t\t\t\t}\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t} else {\n\t\t\t\t\tmfp.updateStatus('error', inlineSt.tNotFound);\n\t\t\t\t\tel = $('<div>');\n\t\t\t\t}\n\n\t\t\t\titem.inlineElement = el;\n\t\t\t\treturn el;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('ready');\n\t\t\tmfp._parseMarkup(template, {}, item);\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>inline*/\n\n/*>>ajax*/\nvar AJAX_NS = 'ajax',\n\t_ajaxCur,\n\t_removeAjaxCursor = function() {\n\t\tif(_ajaxCur) {\n\t\t\t$(document.body).removeClass(_ajaxCur);\n\t\t}\n\t},\n\t_destroyAjaxRequest = function() {\n\t\t_removeAjaxCursor();\n\t\tif(mfp.req) {\n\t\t\tmfp.req.abort();\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(AJAX_NS, {\n\n\toptions: {\n\t\tsettings: null,\n\t\tcursor: 'mfp-ajax-cur',\n\t\ttError: '<a href=\"%url%\">The content</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitAjax: function() {\n\t\t\tmfp.types.push(AJAX_NS);\n\t\t\t_ajaxCur = mfp.st.ajax.cursor;\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);\n\t\t\t_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);\n\t\t},\n\t\tgetAjax: function(item) {\n\n\t\t\tif(_ajaxCur) {\n\t\t\t\t$(document.body).addClass(_ajaxCur);\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\n\t\t\tvar opts = $.extend({\n\t\t\t\turl: item.src,\n\t\t\t\tsuccess: function(data, textStatus, jqXHR) {\n\t\t\t\t\tvar temp = {\n\t\t\t\t\t\tdata:data,\n\t\t\t\t\t\txhr:jqXHR\n\t\t\t\t\t};\n\n\t\t\t\t\t_mfpTrigger('ParseAjax', temp);\n\n\t\t\t\t\tmfp.appendContent( $(temp.data), AJAX_NS );\n\n\t\t\t\t\titem.finished = true;\n\n\t\t\t\t\t_removeAjaxCursor();\n\n\t\t\t\t\tmfp._setFocus();\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tmfp.wrap.addClass(READY_CLASS);\n\t\t\t\t\t}, 16);\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\n\t\t\t\t\t_mfpTrigger('AjaxContentAdded');\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\t_removeAjaxCursor();\n\t\t\t\t\titem.finished = item.loadError = true;\n\t\t\t\t\tmfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));\n\t\t\t\t}\n\t\t\t}, mfp.st.ajax.settings);\n\n\t\t\tmfp.req = $.ajax(opts);\n\n\t\t\treturn '';\n\t\t}\n\t}\n});\n\n/*>>ajax*/\n\n/*>>image*/\nvar _imgInterval,\n\t_getTitle = function(item) {\n\t\tif(item.data && item.data.title !== undefined)\n\t\t\treturn item.data.title;\n\n\t\tvar src = mfp.st.image.titleSrc;\n\n\t\tif(src) {\n\t\t\tif($.isFunction(src)) {\n\t\t\t\treturn src.call(mfp, item);\n\t\t\t} else if(item.el) {\n\t\t\t\treturn item.el.attr(src) || '';\n\t\t\t}\n\t\t}\n\t\treturn '';\n\t};\n\n$.magnificPopup.registerModule('image', {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-figure\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<figure>'+\n\t\t\t\t\t\t'<div class=\"mfp-img\"></div>'+\n\t\t\t\t\t\t'<figcaption>'+\n\t\t\t\t\t\t\t'<div class=\"mfp-bottom-bar\">'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-title\"></div>'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-counter\"></div>'+\n\t\t\t\t\t\t\t'</div>'+\n\t\t\t\t\t\t'</figcaption>'+\n\t\t\t\t\t'</figure>'+\n\t\t\t\t'</div>',\n\t\tcursor: 'mfp-zoom-out-cur',\n\t\ttitleSrc: 'title',\n\t\tverticalFit: true,\n\t\ttError: '<a href=\"%url%\">The image</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitImage: function() {\n\t\t\tvar imgSt = mfp.st.image,\n\t\t\t\tns = '.image';\n\n\t\t\tmfp.types.push('image');\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\t\t\t\tif(mfp.currItem.type === 'image' && imgSt.cursor) {\n\t\t\t\t\t$(document.body).addClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(imgSt.cursor) {\n\t\t\t\t\t$(document.body).removeClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t\t_window.off('resize' + EVENT_NS);\n\t\t\t});\n\n\t\t\t_mfpOn('Resize'+ns, mfp.resizeImage);\n\t\t\tif(mfp.isLowIE) {\n\t\t\t\t_mfpOn('AfterChange', mfp.resizeImage);\n\t\t\t}\n\t\t},\n\t\tresizeImage: function() {\n\t\t\tvar item = mfp.currItem;\n\t\t\tif(!item || !item.img) return;\n\n\t\t\tif(mfp.st.image.verticalFit) {\n\t\t\t\tvar decr = 0;\n\t\t\t\t// fix box-sizing in ie7/8\n\t\t\t\tif(mfp.isLowIE) {\n\t\t\t\t\tdecr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);\n\t\t\t\t}\n\t\t\t\titem.img.css('max-height', mfp.wH-decr);\n\t\t\t}\n\t\t},\n\t\t_onImageHasSize: function(item) {\n\t\t\tif(item.img) {\n\n\t\t\t\titem.hasSize = true;\n\n\t\t\t\tif(_imgInterval) {\n\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t}\n\n\t\t\t\titem.isCheckingImgSize = false;\n\n\t\t\t\t_mfpTrigger('ImageHasSize', item);\n\n\t\t\t\tif(item.imgHidden) {\n\t\t\t\t\tif(mfp.content)\n\t\t\t\t\t\tmfp.content.removeClass('mfp-loading');\n\n\t\t\t\t\titem.imgHidden = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Function that loops until the image has size to display elements that rely on it asap\n\t\t */\n\t\tfindImageSize: function(item) {\n\n\t\t\tvar counter = 0,\n\t\t\t\timg = item.img[0],\n\t\t\t\tmfpSetInterval = function(delay) {\n\n\t\t\t\t\tif(_imgInterval) {\n\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t}\n\t\t\t\t\t// decelerating interval that checks for size of an image\n\t\t\t\t\t_imgInterval = setInterval(function() {\n\t\t\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(counter > 200) {\n\t\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\tif(counter === 3) {\n\t\t\t\t\t\t\tmfpSetInterval(10);\n\t\t\t\t\t\t} else if(counter === 40) {\n\t\t\t\t\t\t\tmfpSetInterval(50);\n\t\t\t\t\t\t} else if(counter === 100) {\n\t\t\t\t\t\t\tmfpSetInterval(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, delay);\n\t\t\t\t};\n\n\t\t\tmfpSetInterval(1);\n\t\t},\n\n\t\tgetImage: function(item, template) {\n\n\t\t\tvar guard = 0,\n\n\t\t\t\t// image load complete handler\n\t\t\t\tonLoadComplete = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\tif (item.img[0].complete) {\n\t\t\t\t\t\t\titem.img.off('.mfploader');\n\n\t\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\n\t\t\t\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\t\titem.loaded = true;\n\n\t\t\t\t\t\t\t_mfpTrigger('ImageLoadComplete');\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// if image complete check fails 200 times (20 sec), we assume that there was an error.\n\t\t\t\t\t\t\tguard++;\n\t\t\t\t\t\t\tif(guard < 200) {\n\t\t\t\t\t\t\t\tsetTimeout(onLoadComplete,100);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tonLoadError();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// image error handler\n\t\t\t\tonLoadError = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\titem.img.off('.mfploader');\n\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\titem.loaded = true;\n\t\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timgSt = mfp.st.image;\n\n\n\t\t\tvar el = template.find('.mfp-img');\n\t\t\tif(el.length) {\n\t\t\t\tvar img = document.createElement('img');\n\t\t\t\timg.className = 'mfp-img';\n\t\t\t\tif(item.el && item.el.find('img').length) {\n\t\t\t\t\timg.alt = item.el.find('img').attr('alt');\n\t\t\t\t}\n\t\t\t\titem.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);\n\t\t\t\timg.src = item.src;\n\n\t\t\t\t// without clone() \"error\" event is not firing when IMG is replaced by new IMG\n\t\t\t\t// TODO: find a way to avoid such cloning\n\t\t\t\tif(el.is('img')) {\n\t\t\t\t\titem.img = item.img.clone();\n\t\t\t\t}\n\n\t\t\t\timg = item.img[0];\n\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t} else if(!img.width) {\n\t\t\t\t\titem.hasSize = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmfp._parseMarkup(template, {\n\t\t\t\ttitle: _getTitle(item),\n\t\t\t\timg_replaceWith: item.img\n\t\t\t}, item);\n\n\t\t\tmfp.resizeImage();\n\n\t\t\tif(item.hasSize) {\n\t\t\t\tif(_imgInterval) clearInterval(_imgInterval);\n\n\t\t\t\tif(item.loadError) {\n\t\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t} else {\n\t\t\t\t\ttemplate.removeClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t}\n\t\t\t\treturn template;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\t\t\titem.loading = true;\n\n\t\t\tif(!item.hasSize) {\n\t\t\t\titem.imgHidden = true;\n\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\tmfp.findImageSize(item);\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>image*/\n\n/*>>zoom*/\nvar hasMozTransform,\n\tgetHasMozTransform = function() {\n\t\tif(hasMozTransform === undefined) {\n\t\t\thasMozTransform = document.createElement('p').style.MozTransform !== undefined;\n\t\t}\n\t\treturn hasMozTransform;\n\t};\n\n$.magnificPopup.registerModule('zoom', {\n\n\toptions: {\n\t\tenabled: false,\n\t\teasing: 'ease-in-out',\n\t\tduration: 300,\n\t\topener: function(element) {\n\t\t\treturn element.is('img') ? element : element.find('img');\n\t\t}\n\t},\n\n\tproto: {\n\n\t\tinitZoom: function() {\n\t\t\tvar zoomSt = mfp.st.zoom,\n\t\t\t\tns = '.zoom',\n\t\t\t\timage;\n\n\t\t\tif(!zoomSt.enabled || !mfp.supportsTransition) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar duration = zoomSt.duration,\n\t\t\t\tgetElToAnimate = function(image) {\n\t\t\t\t\tvar newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),\n\t\t\t\t\t\ttransition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,\n\t\t\t\t\t\tcssObj = {\n\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\tzIndex: 9999,\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t'-webkit-backface-visibility': 'hidden'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tt = 'transition';\n\n\t\t\t\t\tcssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;\n\n\t\t\t\t\tnewImg.css(cssObj);\n\t\t\t\t\treturn newImg;\n\t\t\t\t},\n\t\t\t\tshowMainContent = function() {\n\t\t\t\t\tmfp.content.css('visibility', 'visible');\n\t\t\t\t},\n\t\t\t\topenTimeout,\n\t\t\t\tanimatedImg;\n\n\t\t\t_mfpOn('BuildControls'+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\t// Basically, all code below does is clones existing image, puts in on top of the current one and animated it\n\n\t\t\t\t\timage = mfp._getItemToZoom();\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\tshowMainContent();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\n\t\t\t\t\topenTimeout = setTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset( true ) );\n\t\t\t\t\t\topenTimeout = setTimeout(function() {\n\n\t\t\t\t\t\t\tshowMainContent();\n\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t\t\t\timage = animatedImg = null;\n\t\t\t\t\t\t\t\t_mfpTrigger('ZoomAnimationEnded');\n\t\t\t\t\t\t\t}, 16); // avoid blink when switching images\n\n\t\t\t\t\t\t}, duration); // this timeout equals animation duration\n\n\t\t\t\t\t}, 16); // by adding this timeout we avoid short glitch at the beginning of animation\n\n\n\t\t\t\t\t// Lots of timeouts...\n\t\t\t\t}\n\t\t\t});\n\t\t\t_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\n\t\t\t\t\tmfp.st.removalDelay = duration;\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\timage = mfp._getItemToZoom();\n\t\t\t\t\t\tif(!image) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset(true) );\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\t\t\t\t\t}, 16);\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\t\t\t\t\tshowMainContent();\n\t\t\t\t\tif(animatedImg) {\n\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t}\n\t\t\t\t\timage = null;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\t_allowZoom: function() {\n\t\t\treturn mfp.currItem.type === 'image';\n\t\t},\n\n\t\t_getItemToZoom: function() {\n\t\t\tif(mfp.currItem.hasSize) {\n\t\t\t\treturn mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Get element postion relative to viewport\n\t\t_getOffset: function(isLarge) {\n\t\t\tvar el;\n\t\t\tif(isLarge) {\n\t\t\t\tel = mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\tel = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);\n\t\t\t}\n\n\t\t\tvar offset = el.offset();\n\t\t\tvar paddingTop = parseInt(el.css('padding-top'),10);\n\t\t\tvar paddingBottom = parseInt(el.css('padding-bottom'),10);\n\t\t\toffset.top -= ( $(window).scrollTop() - paddingTop );\n\n\n\t\t\t/*\n\n\t\t\tAnimating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.\n\n\t\t\t */\n\t\t\tvar obj = {\n\t\t\t\twidth: el.width(),\n\t\t\t\t// fix Zepto height+padding issue\n\t\t\t\theight: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop\n\t\t\t};\n\n\t\t\t// I hate to do this, but there is no another option\n\t\t\tif( getHasMozTransform() ) {\n\t\t\t\tobj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';\n\t\t\t} else {\n\t\t\t\tobj.left = offset.left;\n\t\t\t\tobj.top = offset.top;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}\n\n\t}\n});\n\n\n\n/*>>zoom*/\n\n/*>>iframe*/\n\nvar IFRAME_NS = 'iframe',\n\t_emptyPage = '//about:blank',\n\n\t_fixIframeBugs = function(isShowing) {\n\t\tif(mfp.currTemplate[IFRAME_NS]) {\n\t\t\tvar el = mfp.currTemplate[IFRAME_NS].find('iframe');\n\t\t\tif(el.length) {\n\t\t\t\t// reset src after the popup is closed to avoid \"video keeps playing after popup is closed\" bug\n\t\t\t\tif(!isShowing) {\n\t\t\t\t\tel[0].src = _emptyPage;\n\t\t\t\t}\n\n\t\t\t\t// IE8 black screen bug fix\n\t\t\t\tif(mfp.isIE8) {\n\t\t\t\t\tel.css('display', isShowing ? 'block' : 'none');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(IFRAME_NS, {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-iframe-scaler\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe>'+\n\t\t\t\t'</div>',\n\n\t\tsrcAction: 'iframe_src',\n\n\t\t// we don't care and support only one default type of URL by default\n\t\tpatterns: {\n\t\t\tyoutube: {\n\t\t\t\tindex: 'youtube.com',\n\t\t\t\tid: 'v=',\n\t\t\t\tsrc: '//www.youtube.com/embed/%id%?autoplay=1'\n\t\t\t},\n\t\t\tvimeo: {\n\t\t\t\tindex: 'vimeo.com/',\n\t\t\t\tid: '/',\n\t\t\t\tsrc: '//player.vimeo.com/video/%id%?autoplay=1'\n\t\t\t},\n\t\t\tgmaps: {\n\t\t\t\tindex: '//maps.google.',\n\t\t\t\tsrc: '%id%&output=embed'\n\t\t\t}\n\t\t}\n\t},\n\n\tproto: {\n\t\tinitIframe: function() {\n\t\t\tmfp.types.push(IFRAME_NS);\n\n\t\t\t_mfpOn('BeforeChange', function(e, prevType, newType) {\n\t\t\t\tif(prevType !== newType) {\n\t\t\t\t\tif(prevType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(); // iframe if removed\n\t\t\t\t\t} else if(newType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(true); // iframe is showing\n\t\t\t\t\t}\n\t\t\t\t}// else {\n\t\t\t\t\t// iframe source is switched, don't do anything\n\t\t\t\t//}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {\n\t\t\t\t_fixIframeBugs();\n\t\t\t});\n\t\t},\n\n\t\tgetIframe: function(item, template) {\n\t\t\tvar embedSrc = item.src;\n\t\t\tvar iframeSt = mfp.st.iframe;\n\n\t\t\t$.each(iframeSt.patterns, function() {\n\t\t\t\tif(embedSrc.indexOf( this.index ) > -1) {\n\t\t\t\t\tif(this.id) {\n\t\t\t\t\t\tif(typeof this.id === 'string') {\n\t\t\t\t\t\t\tembedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tembedSrc = this.id.call( this, embedSrc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tembedSrc = this.src.replace('%id%', embedSrc );\n\t\t\t\t\treturn false; // break;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar dataObj = {};\n\t\t\tif(iframeSt.srcAction) {\n\t\t\t\tdataObj[iframeSt.srcAction] = embedSrc;\n\t\t\t}\n\t\t\tmfp._parseMarkup(template, dataObj, item);\n\n\t\t\tmfp.updateStatus('ready');\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n\n\n/*>>iframe*/\n\n/*>>gallery*/\n/**\n * Get looped index depending on number of slides\n */\nvar _getLoopedId = function(index) {\n\t\tvar numSlides = mfp.items.length;\n\t\tif(index > numSlides - 1) {\n\t\t\treturn index - numSlides;\n\t\t} else if(index < 0) {\n\t\t\treturn numSlides + index;\n\t\t}\n\t\treturn index;\n\t},\n\t_replaceCurrTotal = function(text, curr, total) {\n\t\treturn text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);\n\t};\n\n$.magnificPopup.registerModule('gallery', {\n\n\toptions: {\n\t\tenabled: false,\n\t\tarrowMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>',\n\t\tpreload: [0,2],\n\t\tnavigateByImgClick: true,\n\t\tarrows: true,\n\n\t\ttPrev: 'Previous (Left arrow key)',\n\t\ttNext: 'Next (Right arrow key)',\n\t\ttCounter: '%curr% of %total%'\n\t},\n\n\tproto: {\n\t\tinitGallery: function() {\n\n\t\t\tvar gSt = mfp.st.gallery,\n\t\t\t\tns = '.mfp-gallery';\n\n\t\t\tmfp.direction = true; // true - next, false - prev\n\n\t\t\tif(!gSt || !gSt.enabled ) return false;\n\n\t\t\t_wrapClasses += ' mfp-gallery';\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\n\t\t\t\tif(gSt.navigateByImgClick) {\n\t\t\t\t\tmfp.wrap.on('click'+ns, '.mfp-img', function() {\n\t\t\t\t\t\tif(mfp.items.length > 1) {\n\t\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t_document.on('keydown'+ns, function(e) {\n\t\t\t\t\tif (e.keyCode === 37) {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t} else if (e.keyCode === 39) {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t_mfpOn('UpdateStatus'+ns, function(e, data) {\n\t\t\t\tif(data.text) {\n\t\t\t\t\tdata.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {\n\t\t\t\tvar l = mfp.items.length;\n\t\t\t\tvalues.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';\n\t\t\t});\n\n\t\t\t_mfpOn('BuildControls' + ns, function() {\n\t\t\t\tif(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {\n\t\t\t\t\tvar markup = gSt.arrowMarkup,\n\t\t\t\t\t\tarrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),\n\t\t\t\t\t\tarrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);\n\n\t\t\t\t\tarrowLeft.click(function() {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t});\n\t\t\t\t\tarrowRight.click(function() {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t});\n\n\t\t\t\t\tmfp.container.append(arrowLeft.add(arrowRight));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CHANGE_EVENT+ns, function() {\n\t\t\t\tif(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);\n\n\t\t\t\tmfp._preloadTimeout = setTimeout(function() {\n\t\t\t\t\tmfp.preloadNearbyImages();\n\t\t\t\t\tmfp._preloadTimeout = null;\n\t\t\t\t}, 16);\n\t\t\t});\n\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\t_document.off(ns);\n\t\t\t\tmfp.wrap.off('click'+ns);\n\t\t\t\tmfp.arrowRight = mfp.arrowLeft = null;\n\t\t\t});\n\n\t\t},\n\t\tnext: function() {\n\t\t\tmfp.direction = true;\n\t\t\tmfp.index = _getLoopedId(mfp.index + 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tprev: function() {\n\t\t\tmfp.direction = false;\n\t\t\tmfp.index = _getLoopedId(mfp.index - 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tgoTo: function(newIndex) {\n\t\t\tmfp.direction = (newIndex >= mfp.index);\n\t\t\tmfp.index = newIndex;\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tpreloadNearbyImages: function() {\n\t\t\tvar p = mfp.st.gallery.preload,\n\t\t\t\tpreloadBefore = Math.min(p[0], mfp.items.length),\n\t\t\t\tpreloadAfter = Math.min(p[1], mfp.items.length),\n\t\t\t\ti;\n\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index+i);\n\t\t\t}\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index-i);\n\t\t\t}\n\t\t},\n\t\t_preloadItem: function(index) {\n\t\t\tindex = _getLoopedId(index);\n\n\t\t\tif(mfp.items[index].preloaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar item = mfp.items[index];\n\t\t\tif(!item.parsed) {\n\t\t\t\titem = mfp.parseEl( index );\n\t\t\t}\n\n\t\t\t_mfpTrigger('LazyLoad', item);\n\n\t\t\tif(item.type === 'image') {\n\t\t\t\titem.img = $('<img class=\"mfp-img\" />').on('load.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t}).on('error.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t_mfpTrigger('LazyLoadError', item);\n\t\t\t\t}).attr('src', item.src);\n\t\t\t}\n\n\n\t\t\titem.preloaded = true;\n\t\t}\n\t}\n});\n\n/*>>gallery*/\n\n/*>>retina*/\n\nvar RETINA_NS = 'retina';\n\n$.magnificPopup.registerModule(RETINA_NS, {\n\toptions: {\n\t\treplaceSrc: function(item) {\n\t\t\treturn item.src.replace(/\\.\\w+$/, function(m) { return '@2x' + m; });\n\t\t},\n\t\tratio: 1 // Function or number. Set to 1 to disable.\n\t},\n\tproto: {\n\t\tinitRetina: function() {\n\t\t\tif(window.devicePixelRatio > 1) {\n\n\t\t\t\tvar st = mfp.st.retina,\n\t\t\t\t\tratio = st.ratio;\n\n\t\t\t\tratio = !isNaN(ratio) ? ratio : ratio();\n\n\t\t\t\tif(ratio > 1) {\n\t\t\t\t\t_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.img.css({\n\t\t\t\t\t\t\t'max-width': item.img[0].naturalWidth / ratio,\n\t\t\t\t\t\t\t'width': '100%'\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\t_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.src = st.replaceSrc(item, ratio);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n});\n\n/*>>retina*/\n _checkInstance(); }));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/magnific-popup/dist/jquery.magnific-popup.js\n// module id = 93\n// module chunks = 2 3","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 94\n// module chunks = 2 3","(function(globalSope) {\n 'use strict';\n\n /**\n * Including this file adds the `addDynamicListener` to the ELement prototype.\n * \n * The dynamic listener gets an extra `selector` parameter that only calls the callback\n * if the target element matches the selector.\n * \n * The listener has to be added to the container/root element and the selector should match\n * the elements that should trigger the event.\n * \n * Browser support: IE9+\n */\n\n // Polyfil Element.matches\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches#Polyfill\n if (!Element.prototype.matches) {\n Element.prototype.matches = \n Element.prototype.matchesSelector || \n Element.prototype.mozMatchesSelector ||\n Element.prototype.msMatchesSelector || \n Element.prototype.oMatchesSelector || \n Element.prototype.webkitMatchesSelector ||\n function(s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1; \n };\n }\n\n /**\n * Returns a modified callback function that calls the\n * initial callback function only if the target element matches the given selector\n * \n * @param {string} selector \n * @param {function} callback \n */\n function getConditionalCallback(selector, callback) {\n return function(e) {\n if(!e.target) return;\n if(!e.target.matches(selector)) return;\n callback.apply(this, arguments);\n };\n }\n\n /**\n * \n * \n * @param {Element} rootElement The root element to add the linster too.\n * @param {string} eventType The event type to listen for.\n * @param {string} selector The selector that should match the dynamic elements.\n * @param {function} callback The function to call when an event occurs on the given selector.\n * @param {boolean|object} options Passed as the regular `options` parameter to the addEventListener function\n * Set to `true` to use capture.\n * Usually used as an object to add the listener as `passive`\n */\n globalSope.addDynamicEventListener = function (rootElement, eventType, selector, callback, options) {\n rootElement.addEventListener(eventType, getConditionalCallback(selector, callback), options);\n };\n})(window);\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/js/plugins/dynamicListener.js"],"sourceRoot":""}
assets/dist/js/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?exports.Give=t(require("jQuery")):e.Give=t(e.jQuery)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=25)}([function(t,i){t.exports=e},function(e,t,i){(function(t){e.exports=t.accounting=i(3)}).call(t,i(2))},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){/*!
2
  * accounting.js v0.4.1
3
  * Copyright 2014 Open Exchange Rates
4
  *
@@ -8,7 +8,7 @@
8
  * Full details and documentation:
9
  * http://openexchangerates.github.io/accounting.js/
10
  */
11
- !function(i,n){function o(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function a(e){return f?f(e):"[object Array]"===p.call(e)}function r(e){return e&&"[object Object]"===p.call(e)}function s(e,t){var i;e=e||{},t=t||{};for(i in t)t.hasOwnProperty(i)&&null==e[i]&&(e[i]=t[i]);return e}function l(e,t,i){var n,o,a=[];if(!e)return a;if(h&&e.map===h)return e.map(t,i);for(n=0,o=e.length;n<o;n++)a[n]=t.call(i,e[n],n,e);return a}function c(e,t){return e=Math.round(Math.abs(e)),isNaN(e)?t:e}function d(e){var t=u.settings.currency.format;return"function"==typeof e&&(e=e()),o(e)&&e.match("%v")?{pos:e,neg:e.replace("-","").replace("%v","-%v"),zero:e}:e&&e.pos&&e.pos.match("%v")?e:o(t)?u.settings.currency.format={pos:t,neg:t.replace("%v","-%v"),zero:t}:t}var u={};u.version="0.4.1",u.settings={currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}};var h=Array.prototype.map,f=Array.isArray,p=Object.prototype.toString,g=u.unformat=u.parse=function(e,t){if(a(e))return l(e,function(e){return g(e,t)});if("number"==typeof(e=e||0))return e;t=t||u.settings.number.decimal;var i=new RegExp("[^0-9-"+t+"]",["g"]),n=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(i,"").replace(t,"."));return isNaN(n)?0:n},_=u.toFixed=function(e,t){t=c(t,u.settings.number.precision);var i=Math.pow(10,t);return(Math.round(u.unformat(e)*i)/i).toFixed(t)},m=u.formatNumber=u.format=function(e,t,i,n){if(a(e))return l(e,function(e){return m(e,t,i,n)});e=g(e);var o=s(r(t)?t:{precision:t,thousand:i,decimal:n},u.settings.number),d=c(o.precision),h=e<0?"-":"",f=parseInt(_(Math.abs(e||0),d),10)+"",p=f.length>3?f.length%3:0;return h+(p?f.substr(0,p)+o.thousand:"")+f.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o.thousand)+(d?o.decimal+_(Math.abs(e),d).split(".")[1]:"")},v=u.formatMoney=function(e,t,i,n,o,h){if(a(e))return l(e,function(e){return v(e,t,i,n,o,h)});e=g(e);var f=s(r(t)?t:{symbol:t,precision:i,thousand:n,decimal:o,format:h},u.settings.currency),p=d(f.format);return(e>0?p.pos:e<0?p.neg:p.zero).replace("%s",f.symbol).replace("%v",m(Math.abs(e),c(f.precision),f.thousand,f.decimal))};u.formatColumn=function(e,t,i,n,h,f){if(!e)return[];var p=s(r(t)?t:{symbol:t,precision:i,thousand:n,decimal:h,format:f},u.settings.currency),_=d(p.format),v=_.pos.indexOf("%s")<_.pos.indexOf("%v"),b=0;return l(l(e,function(e,t){if(a(e))return u.formatColumn(e,p);e=g(e);var i=e>0?_.pos:e<0?_.neg:_.zero,n=i.replace("%s",p.symbol).replace("%v",m(Math.abs(e),c(p.precision),p.thousand,p.decimal));return n.length>b&&(b=n.length),n}),function(e,t){return o(e)&&e.length<b?v?e.replace(p.symbol,p.symbol+new Array(b-e.length+1).join(" ")):new Array(b-e.length+1).join(" ")+e:e})},void 0!==e&&e.exports&&(t=e.exports=u),t.accounting=u}()},function(e,t,i){var n,o,a;!function(r){o=[i(0)],n=r,void 0!==(a="function"==typeof n?n.apply(t,o):n)&&(e.exports=a)}(function(e){var t,i,n,o,a,r,s=function(){},l=!!window.jQuery,c=e(window),d=function(e,i){t.ev.on("mfp"+e+".mfp",i)},u=function(t,i,n,o){var a=document.createElement("div");return a.className="mfp-"+t,n&&(a.innerHTML=n),o?i&&i.appendChild(a):(a=e(a),i&&a.appendTo(i)),a},h=function(i,n){t.ev.triggerHandler("mfp"+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},f=function(i){return i===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=i),t.currTemplate.closeBtn},p=function(){e.magnificPopup.instance||(t=new s,t.init(),e.magnificPopup.instance=t)},g=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};s.prototype={constructor:s,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=g(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=e(document),t.popupsCache={}},open:function(i){var o;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var r,s=i.items;for(o=0;o<s.length;o++)if(r=s[o],r.parsed&&(r=r.el[0]),r===i.el[0]){t.index=o;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],a="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=n,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",function(){t.close()}),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){t._checkIfClose(e.target)&&t.close()}),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(o=0;o<l.length;o++){var p=l[o];p=p.charAt(0).toUpperCase()+p.slice(1),t["init"+p].call(t)}h("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(d("MarkupParse",function(e,t,i,n){i.close_replaceWith=f(n.type)}),a+=" mfp-close-btn-in"):t.wrap.append(f())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:c.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:n.height(),position:"absolute"}),t.st.enableEscapeKey&&n.on("keyup.mfp",function(e){27===e.keyCode&&t.close()}),c.on("resize.mfp",function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var g=t.wH=c.height(),_={};if(t.fixedContentPos&&t._hasScrollBar(g)){var m=t._getScrollbarSize();m&&(_.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):_.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),h("BuildControls"),e("html").css(_),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),n.on("focusin.mfp",t._onFocusIn)},16),t.isOpen=!0,t.updateSize(g),h("Open"),i},close:function(){t.isOpen&&(h("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){h("Close");var i="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}n.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,h("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||c.height();t.fixedContentPos||t.wrap.css("height",t.wH),h("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(h("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var a=!!t.st[n]&&t.st[n].markup;h("FirstMarkupParse",a),t.currTemplate[n]=!a||e(a)}o&&o!==i.type&&t.container.removeClass("mfp-"+o+"-holder");var r=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(r,n),i.preloaded=!0,h("Change",i),o=i.type,t.container.prepend(t.contentContainer),h("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(f()):t.content=e:t.content="",h("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,o=t.items[i];if(o.tagName?o={el:e(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var a=t.types,r=0;r<a.length;r++)if(o.el.hasClass("mfp-"+a[r])){n=a[r];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||t.st.type||"inline",o.index=i,o.parsed=!0,t.items[i]=o,h("ElementParse",o),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var o="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,n)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,n):(i.items=e,e.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(c.width()<a)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),o.el=e(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),t.open(o)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var o={status:e,text:n};h("UpdateStatus",o),e=o.status,n=o.text,t.preloader.html(n),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass("mfp-prevent-close")){var n=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(n&&o)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(o&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?n.height():document.body.scrollHeight)>(e||c.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){if(i.target!==t.wrap[0]&&!e.contains(t.wrap[0],i.target))return t._setFocus(),!1},_parseMarkup:function(t,i,n){var o;n.data&&(i=e.extend(n.data,i)),h("MarkupParse",[t,i,n]),e.each(i,function(i,n){if(void 0===n||!1===n)return!0;if(o=i.split("_"),o.length>1){var a=t.find(".mfp-"+o[0]);if(a.length>0){var r=o[1];"replaceWith"===r?a[0]!==n[0]&&a.replaceWith(n):"img"===r?a.is("img")?a.attr("src",n):a.replaceWith(e("<img>").attr("src",n).attr("class",a.attr("class"))):a.attr(o[1],n)}}else t.find(".mfp-"+i).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,i){return p(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){p();var n=e(this);if("string"==typeof i)if("open"===i){var o,a=l?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?o=a.items[r]:(o=n,a.delegate&&(o=o.find(a.delegate)),o=o.eq(r)),t._openClick({mfpEl:o},n,a)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var _,m,v,b=function(){v&&(m.after(v.addClass(_)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",function(){b()})},getInline:function(i,n){if(b(),i.src){var o=t.st.inline,a=e(i.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(m||(_=o.hiddenClass,m=u(_),_="mfp-"+_),v=a.after(m).detach().removeClass(_)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),a=e("<div>");return i.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var y,x=function(){y&&e(document.body).removeClass(y)},w=function(){x(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),y=t.st.ajax.cursor,d("Close.ajax",w),d("BeforeChange.ajax",w)},getAjax:function(i){y&&e(document.body).addClass(y),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,o,a){var r={data:n,xhr:a};h("ParseAjax",r),t.appendContent(e(r.data),"ajax"),i.finished=!0,x(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),h("AjaxContentAdded")},error:function(){x(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var k,C=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),d("Open"+n,function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)}),d("Close"+n,function(){i.cursor&&e(document.body).removeClass(i.cursor),c.off("resize.mfp")}),d("Resize"+n,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,k&&clearInterval(k),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(a){k&&clearInterval(k),k=setInterval(function(){if(n.naturalWidth>0)return void t._onImageHasSize(e);i>200&&clearInterval(k),i++,3===i?o(10):40===i?o(50):100===i&&o(500)},a)};o(1)},getImage:function(i,n){var o=0,a=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,h("ImageLoadComplete")):(o++,o<200?setTimeout(a,100):r()))},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),c=i.img[0],c.naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:C(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(k&&clearInterval(k),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var j,T=function(){return void 0===j&&(j=void 0!==document.createElement("p").style.MozTransform),j};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var o,a,r=i.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return o["-webkit-"+a]=o["-moz-"+a]=o["-o-"+a]=o[a]=n,t.css(o),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();a=s(e),a.css(t._getOffset()),t.wrap.append(a),o=setTimeout(function(){a.css(t._getOffset(!0)),o=setTimeout(function(){l(),setTimeout(function(){a.remove(),e=a=null,h("ZoomAnimationEnded")},16)},r)},16)}}),d("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=s(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),d("Close"+n,function(){t._allowZoom()&&(l(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n;n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=n.offset(),a=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);o.top-=e(window).scrollTop()-a;var s={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-r-a};return T()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var S=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),d("Close.iframe",function(){S()})},getIframe:function(i,n){var o=i.src,a=t.st.iframe;e.each(a.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var r={};return a.srcAction&&(r[a.srcAction]=o),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var M=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},I=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;a+=" mfp-gallery",d("Open"+o,function(){i.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+o,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),d("UpdateStatus"+o,function(e,i){i.text&&(i.text=I(i.text,t.currItem.index,t.items.length))}),d("MarkupParse"+o,function(e,n,o,a){var r=t.items.length;o.counter=r>1?I(i.tCounter,a.index,r):""}),d("BuildControls"+o,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,o=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),a=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");o.click(function(){t.prev()}),a.click(function(){t.next()}),t.container.append(o.add(a))}}),d("Change"+o,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),d("Close"+o,function(){n.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=M(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=M(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),o=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?o:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=M(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),h("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,h("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;i=isNaN(i)?i():i,i>1&&(d("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse.retina",function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),p()})},function(e,t){jQuery.fn.giveHintCss=function(e,t){return this.each(function(){var i=jQuery(this);t=jQuery.extend({label:""},t);var n=i.next("span.give-hint-tooltip-js");if(!n.length){var o=t.label.length?t.label:i.data("hint-aria-label");if(!o.length)return;i.after('<span class="give-hint-tooltip-js hint--top hint--medium" aria-label="'+o+'"></span>'),n=i.next(),n.css({top:-i.outerHeight(),left:-i.outerWidth()/2})}"show"===e?n.addClass("hint--always"):"hide"===e&&n.removeClass("hint--always")})},jQuery(document).ready(function(e){function t(t){if(!t.is('[class*="hint"]')){var i=t.attr("class"),n=[],o=t.data("tooltip").split(" ").length;i&&(i=i.split(" "),n=e.grep(i,function(e){return-1!==e.indexOf("give-icon")}),n.length&&(n=n.join(" "),t.removeClass(n),t.append('<i class="'+n+'"></i>'))),t.addClass("hint--top"),15<o?t.addClass("hint--large"):7<o&&t.addClass("hint--medium"),t.attr("aria-label",t.data("tooltip"))}}var i=e("[data-tooltip]");i.length&&i.each(function(i,n){n=n instanceof jQuery?n:e(n),t(n)}),e("body").on("hover","[data-tooltip]",function(){t(e(this))})})},function(e,t,i){"use strict";var n=i(7),o=i(8),a={init:function(){var e=["form"],t=0;for(jQuery(document).trigger("give:preInit");t<e.length;)a[e[t]].init&&a[e[t]].init(),t++;jQuery(document).trigger("give:postInit")},fn:{formatCurrency:function(e,t,i){var n={symbol:"",decimal:give_global_vars.decimal_separator,thousand:give_global_vars.thousands_separator,precision:parseInt(give_global_vars.number_decimals),currency:give_global_vars.currency};if(e=e.toString().trim(),i=void 0===i?{}:i,i.length&&(n={symbol:"",decimal:a.form.fn.getInfo("decimal_separator",i),thousand:a.form.fn.getInfo("thousands_separator",i),precision:a.form.fn.getInfo("number_decimals",i),currency:a.form.fn.getInfo("currency_code",i)}),t=jQuery.extend(n,t),t.precision=parseInt(t.precision),"INR"===t.currency){var o=accounting.unformat(e,".").toString(),r="",s=void 0,l=void 0,c=o.indexOf(".");for(-1!==c&&t.precision?(r=Number(o.substr(parseInt(c))).toFixed(t.precision).toString().substr(1),o=o.substr(0,parseInt(c)),r.length?t.precision+1>r.length&&(r=(r+"000000000").substr(0,t.precision+1)):r=".0000000000".substr(0,parseInt(c)+1)):r=".000000000".substr(0,t.precision+1),s=o.substr(-3),l=o.substr(0,parseInt(o.length)-3);l.length>0;)s=l.substr(-2)+t.thousand+s,l=l.substr(0,parseInt(l.length)-2);r.length&&(s+=r),e=s,void 0!==t.symbol&&t.symbol.length&&("after"===t.position?e+=t.symbol:e=t.symbol+e)}else"after"===t.position&&(t.format="%v%s"),e=accounting.formatMoney(e,t);return e},unFormatCurrency:function(e,t){if("string"==typeof e){var i=","===t.trim()?/[^0-9\,-]+/g:/[^0-9\.-]+/g;e=e.replace(i,""),0===e.indexOf(t)?e=e.substr(1):e.length-1===e.indexOf(t)&&(e=e.slice(0,-1))}return Math.abs(parseFloat(accounting.unformat(e,t)))},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var i=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),n=i.exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},getGlobalVar:function(e){return void 0===give_global_vars[e]?"":give_global_vars[e]},setCache:function(e,t,i){i.length?a.cache["form_"+a.form.fn.getInfo("form-id",i)][e]=t:a.cache[e]=t},getCache:function(e,t){var i=void 0,n=a.cache["form_"+a.form.fn.getInfo("form-id",t)];return i=t.length?void 0!==n?n[e]:"":a.cache[e],i=void 0===i?"":i},__getCookie:function(e){var t="; "+document.cookie,i=t.split("; "+e+"="),n="";return 2===i.length&&(n=i.pop().split(";").shift()),n}},cache:{}};a.notice=n.a,a.form=o.a,t.a=a},function(e,t,i){"use strict";t.a={fn:{renderNotice:function(e,t){var i=void 0;switch(t=void 0!==t?t:{},e){case"bad_minimum":i=jQuery('<div class="give_error give-invalid-minimum give-hidden">'+this.getNotice(e,t)+"</div>");break;case"bad_maximum":i=jQuery('<div class="give_error give-invalid-maximum give-hidden">'+this.getNotice(e,t)+"</div>")}if(!t.length)return"";i.insertBefore(t.find(".give-total-wrap")).show()},getNotice:function(e,t){if(!e.length)return null;var i,n,o;if(i=n=o="",t.length)switch(e){case"bad_minimum":n=Give.fn.getGlobalVar(e),o=Give.form.fn.getMinimumAmount(t);break;case"bad_maximum":n=Give.fn.getGlobalVar(e),o=Give.form.fn.getMaximumAmount(t)}return t.length&&""!==n&&(i=n+" "+Give.fn.formatCurrency(o,{symbol:Give.form.fn.getInfo("currency_symbol",t),position:Give.form.fn.getInfo("currency_position",t)},t)),i}}}},function(e,t,i){"use strict";t.a={init:function(){this.fn.field.formatCreditCard(jQuery("form.give-form")),this.fn.__initialize_cache(),window.onload=function(){Give.form.fn.__sendBackToForm()}},fn:{isFormExist:function(){return!!document.getElementsByName("give-form-hash").length},disable:function(e,t){if(!e.length)return!1;e.find(".give-submit").prop("disabled",t)},formatAmount:function(e,t,i){return t.length?Give.fn.formatCurrency(e,i,t):e},getInfo:function(e,t){var i="";if(t=void 0!==t?t:{},!e.length||!t.length)return i;switch(e){case"gateways":i=[],jQuery.each(t.find('input[name="payment-mode"]'),function(e,t){t=t instanceof jQuery?t:jQuery(t),i.push(t.val().trim())});break;case"form-type":t.hasClass("give-form-type-set")?i="set":t.hasClass("give-form-type-multi")&&(i="multi");break;case"form-id":i=t.find('input[name="give-form-id"]').val();break;default:i=t.get(0).hasAttribute("data-"+e)?t.attr("data-"+e):t.attr(e),void 0!==i&&i.trim()}return i},setInfo:function(e,t,i,n){if(!i.length)return!1;switch(e=void 0===e?"data":e){case"nonce":i.find('input[name="give-form-hash"]').val(t)}if(void 0!==n&&!n.length)return!1;switch(e){case"attr":i.attr(n,t);break;default:i.data(n,t)}return!0},getGateway:function(e){var t="";return e.length?(t=e.find('input[name="payment-mode"]:checked').val().trim(),void 0!==t?t:""):t},getVariablePrices:function(e){var t,i=[];return e.length&&e.hasClass("give-form-type-multi")&&(t=e.find(".give-donation-levels-wrap [data-price-id] "))?(jQuery.each(t,function(t,n){n=n instanceof jQuery?n:jQuery(n);var o=Give.form.fn.getInfo("decimal_separator",e);i.push({price_id:n.data("price-id"),amount:Give.fn.unFormatCurrency(n.val(),o)})}),i):i},getPriceID:function(e,t){var i=this.getVariablePrices(e),n=Give.fn.unFormatCurrency(e.find('input[name="give-amount"]').val(),this.getInfo("decimal_separator",e)),o=Give.fn.getCache("amount_"+n,e)?Give.fn.getCache("amount_"+n,e):-1;return t=void 0===t||t,i.length&&-1===o&&(t?(jQuery.each(i,function(e,t){if(t.amount===n)return o=t.price_id,!1}),-1===o&&this.getMinimumAmount(e)<=n&&this.getMaximumAmount(e)>=n&&this.getMinimumAmount(e)<=n&&(o="custom")):o=jQuery('input[name="give-price-id"]',e).val()),o},getMinimumAmount:function(e){return e.find('input[name="give-form-minimum"]').val()},getMaximumAmount:function(e){return e.find('input[name="give-form-maximum"]').val()},getAmount:function(e){if(!e.length)return null;var t=e.find('input[name="give-amount"]').val();return void 0!==t&&t||(t=0),Give.fn.unFormatCurrency(t,this.getInfo("decimal_separator",e))},getNonce:function(e){if(!e.length)return"";var t=e.find('input[name="give-form-hash"]').val();return void 0!==t&&t||(t=""),t},resetNonce:function(e){if(!e.length||!jQuery('input[name="give-form-hash"]',e).length)return!1;Give.form.fn.disable(e,!0),jQuery.post(give_global_vars.ajaxurl,{action:"give_donation_form_nonce",give_form_id:Give.form.fn.getInfo("form-id",e)},function(t){Give.form.fn.setInfo("nonce",t.data,e,""),Give.form.fn.disable(e,!1)})},resetAllNonce:function(e){if(!e.length)return!1;Give.form.fn.disable(e,!0),jQuery.post(give_global_vars.ajaxurl,{action:"give_donation_form_reset_all_nonce",give_form_id:Give.form.fn.getInfo("form-id",e)},function(t){if(t.success){var i=e.find('input[name="give-form-user-register-hash"]');Give.form.fn.setInfo("nonce",t.data.give_form_hash,e,""),i.length&&i.val(t.data.give_form_user_register_hash),Give.form.fn.disable(e,!1),jQuery(document).trigger("give_reset_all_nonce",[t.data])}}).done(function(){Give.form.fn.disable(e,!1)})},autoSelectDonationLevel:function(e,t){if(!e.length||"multi"!==this.getInfo("form-type",e))return!1;switch(t=void 0===t?this.getPriceID(e,!1):t,!0){case!!e.find(".give-radio-input").length:e.find(".give-radio-input").prop("checked",!1),e.find('.give-radio-input[data-price-id="'+t+'"]').prop("checked",!0).addClass("give-default-level");break;case!!e.find("button.give-donation-level-btn").length:e.find("button.give-donation-level-btn").blur(),e.find('button.give-donation-level-btn[data-price-id="'+t+'"]').focus().addClass("give-default-level");break;case!!e.find("select.give-select-level").length:e.find("select.give-select-level option").prop("selected",!1),e.find('select.give-select-level option[data-price-id="'+t+'"]').prop("selected",!0).addClass("give-default-level")}},autoSetMultiLevel:function(e){var t=e.parents("form"),i=e.val(),n=e.data("price-id");if(void 0===n&&(n=e.find("option:selected").data("price-id")),"custom"===n)return t.find(".give-amount-top").val("").focus(),!1;t.find(".give-amount-top").val(i),t.find("span.give-amount-top").text(i);var o=Give.form.fn.getInfo("decimal_separator",t);jQuery(".give-donation-amount .give-text-input",t).attr("data-amount",Give.fn.unFormatCurrency(t.find(".give-final-total-amount").attr("data-total"),o)),t.find(".give-donation-amount .give-text-input").trigger("blur",[t,i,n])},__sendBackToForm:function(){var e=Give.fn.getParameterByName("form-id"),t=Give.fn.getParameterByName("payment-mode");if(!e||!t)return!1;var i=jQuery("body").find("#give-form-"+e+"-wrap"),n=i.find("form.give-form"),o=i.hasClass("give-display-modal"),a=i.hasClass("give-display-button"),r=i.hasClass("give-display-reveal");n.find("#give-gateway-radio-list label").removeClass("give-gateway-option-selected"),n.find("input[name=payment-mode][value="+t+"]").prop("checked",!0).parent().addClass("give-gateway-option-selected");var s=Give.fn.getParameterByName("level-id"),l=n.find('*[data-price-id="'+s+'"]');if(l.length>0&&this.autoSetMultiLevel(l),jQuery(".give-form-wrap").hasClass("give-form-grid-wrap")&&1===jQuery("#give-modal-form-"+e).length)return void jQuery.magnificPopup.open({items:{type:"inline",src:"#give-modal-form-"+e},fixedContentPos:!0,fixedBgPos:!0,closeBtnInside:!0,midClick:!0,removalDelay:300,mainClass:"modal-fade-slide"});o||a?give_open_form_modal(i,n):r&&(n.find(".give-btn-reveal").hide(),n.find("#give-payment-mode-select, #give_purchase_form_wrap").slideDown())},isValidDonationAmount:function(e){if(e.find('input[name="give-form-minimum"]').length<=0)return!0;var t=this.getMinimumAmount(e),i=this.getMaximumAmount(e),n=this.getAmount(e),o=this.getPriceID(e,!0);return 0!==n&&(-1<n&&n>=t&&n<=i||-1!==o)},__initialize_cache:function(){jQuery.each(jQuery(".give-form"),function(e,t){t=t instanceof jQuery?t:jQuery(t),Give.cache["form_"+Give.form.fn.getInfo("form-id",t)]=[]})},field:{formatCreditCard:function(e){e.each(function(e,t){t=jQuery(t);var i=t.find(".card-number"),n=t.find(".card-cvc"),o=t.find(".card-expiry");i.length&&(i.payment("formatCardNumber"),n.payment("formatCardCVC"),o.payment("formatCardExpiry"))})}}}}},function(e,t){!function(e){"use strict";function t(e,t){return function(i){i.target&&i.target.matches(e)&&t.apply(this,arguments)}}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length;--i>=0&&t.item(i)!==this;);return i>-1}),e.addDynamicEventListener=function(e,i,n,o,a){e.addEventListener(i,t(n,o),a)}}(window)},function(e,t,i){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"GiveModal",function(){return c}),i.d(t,"GiveErrorAlert",function(){return d}),i.d(t,"GiveWarningAlert",function(){return u}),i.d(t,"GiveNoticeAlert",function(){return h}),i.d(t,"GiveSuccessAlert",function(){return f}),i.d(t,"GiveConfirmModal",function(){return p}),i.d(t,"GiveFormModal",function(){return g});var r=i(4),s=(i.n(r),i(9)),l=(i.n(s),function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}()),c=function(){function e(t){if(a(this,e),e===this.constructor)throw new Error("Abstract classes can't be instantiated.");this.config=Object.assign({type:"",triggerSelector:"",externalPlugin:"magnificPopup",classes:{modalWrapper:""},modalContent:{}},t),this.config.mainClass=((this.config.mainClass?this.config.mainClass:"")+" modal-fade-slide").trim()}return l(e,[{key:"init",value:function(){this.setupTemplate(),this.popupConfig(),this.__setupClickEvent()}},{key:"getTemplate",value:function(){var e='<div class="give-hidden"></div>';return this.config.type.length&&(e='<div class="give-modal give-modal--zoom '+(this.config.classes.modalWrapper?(""+this.config.classes.modalWrapper).trim():"")+'">\n\n\t\t\t\t<div class="give-modal__body">\n\t\t\t\t\t'+(this.config.modalContent.title?'<h2 class="give-modal__title">'+this.config.modalContent.title+"</h2>":"")+"\n\t\t\t\t\t"+(this.config.modalContent.desc?'<p class="give-modal__description">'+this.config.modalContent.desc+"</p>":"")+'\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class="give-modal__controls">\n\n\t\t\t\t\t'+("form"===this.config.type?'<div class="spinner"></div>':"")+"\n\t\t\t\t\t"+("form"===this.config.type?'<a class="give-modal--additional-link" href="'+this.config.modalContent.link+'">'+this.config.modalContent.link_text+"</a>":"")+'\n\n\t\t\t\t\t<button class="give-button give-button--secondary give-popup-close-button">\n\t\t\t\t\t\t'+(this.config.modalContent.cancelBtnTitle?this.config.modalContent.cancelBtnTitle:"confirm"===this.config.type?give_vars.cancel:give_vars.close)+"\n\t\t\t\t\t</button>\n\n\t\t\t\t\t"+("confirm"!==this.config.type&&"form"!==this.config.type?"":'<button class="give-button give-button--primary give-popup-'+this.config.type+'-button">\n\n\t\t\t\t\t\t'+(this.config.modalContent.confirmBtnTitle?this.config.modalContent.confirmBtnTitle:give_vars.confirm)+"\n\t\t\t\t\t</button>")+"\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>"),e}},{key:"setupTemplate",value:function(){this.config.template=this.getTemplate()}},{key:"__setupClickEvent",value:function(){this.config.triggerSelector.length&&jQuery(this.config.triggerSelector).magnificPopup(this.config)}},{key:"popupConfig",value:function(){"magnificPopup"===this.config.externalPlugin&&(this.config.items=this.config.items||{src:this.config.template,type:"inline"},this.config.removalDelay=300,this.config.fixedContentPos=!0,this.config.fixedBgPos=!0,this.config.alignTop=!0,this.config.showCloseBtn=!1,this.config.closeOnBgClick=!1,this.config.enableEscapeKey=!0,this.config.focus=".give-popup-close-button")}},{key:"render",value:function(){switch(this.config.externalPlugin){case"magnificPopup":this.config.triggerSelector||jQuery.magnificPopup.open(this.config)}return this}}],[{key:"__closePopup",value:function(e){e.preventDefault(),jQuery.magnificPopup.instance.close()}}]),e}(),d=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--error",i.init(),i}return o(t,e),t}(c),u=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--warning",i.init(),i}return o(t,e),t}(c),h=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--notice",i.init(),i}return o(t,e),t}(c),f=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--success",i.init(),i}return o(t,e),t}(c),p=function(e){function t(e){a(this,t),e.type="confirm";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return o(t,e),l(t,null,[{key:"__confirmPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&(jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el}),jQuery.magnificPopup.close())}}]),t}(c),g=function(e){function t(e){a(this,t),e.type="form";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return o(t,e),l(t,null,[{key:"__submitPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el})}}]),t}(c);window.addDynamicEventListener(document,"click",".give-popup-close-button",c.__closePopup,{}),window.addDynamicEventListener(document,"click",".give-popup-confirm-button",p.__confirmPopup,{}),window.addDynamicEventListener(document,"click",".give-popup-form-button",g.__submitPopup,{})},,,,,,,,,,,,,,,function(e,t,i){i(26),e.exports=i(27)},function(e,t){},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"init",function(){return v}),i.d(t,"fn",function(){return b}),i.d(t,"cache",function(){return y}),i.d(t,"modal",function(){return x});var n=i(28),o=(i.n(n),i(1)),a=(i.n(o),i(29)),r=(i.n(a),i(30)),s=(i.n(r),i(31)),l=(i.n(s),i(32)),c=(i.n(l),i(33)),d=(i.n(c),i(34)),u=(i.n(d),i(5)),h=(i.n(u),i(6)),f=i(10),p=i(35),g=(i.n(p),i(36)),_=(i.n(g),i(37)),m=(i.n(_),i(38));i.n(m),i(39),i(40);h.a.modal=f;var v=h.a.init,b=h.a.fn,y=h.a.cache,x=h.a.modal},function(e,t){(function(){var e,t,i,n,o=function(e,t){return function(){return e.apply(t,arguments)}},a=function(e,t){function i(){this.constructor=e}for(var n in t)r.call(t,n)&&(e[n]=t[n]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,i,n,o,a,r;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,classes:e.className}),a=e.childNodes,r=[],i=0,n=a.length;i<n;i++)o=a[i],r.push(this.add_option(o,t,e.disabled));return r},e.prototype.add_option=function(e,t,i){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,title:e.title?e.title:void 0,selected:e.selected,disabled:!0===i?i:e.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}(),n.select_to_array=function(e){var t,i,o,a,r;for(a=new n,r=e.childNodes,i=0,o=r.length;i<o;i++)t=r[i],a.add_node(t);return a.parsed},t=function(){function e(t,i){this.form_field=t,this.options=null!=i?i:{},this.label_click_handler=o(this.label_click_handler,this),e.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return e.prototype.set_default_values=function(){return this.click_test_action=function(e){return function(t){return e.test_active_click(t)}}(this),this.activate_action=function(e){return function(t){return e.activate_field(t)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},e.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text},e.prototype.choice_label=function(e){return this.include_group_label_in_selected&&null!=e.group_label?"<b class='group-name'>"+this.escape_html(e.group_label)+"</b>"+e.html:e.html},e.prototype.mouse_enter=function(){return this.mouse_on_container=!0},e.prototype.mouse_leave=function(){return this.mouse_on_container=!1},e.prototype.input_focus=function(e){if(this.is_multiple){if(!this.active_field)return setTimeout(function(e){return function(){return e.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},e.prototype.input_blur=function(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(e){return function(){return e.blur_test()}}(this),100)},e.prototype.label_click_handler=function(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()},e.prototype.results_option_build=function(e){var t,i,n,o,a,r,s;for(t="",s=0,r=this.results_data,o=0,a=r.length;o<a&&(i=r[o],n="",n=i.group?this.result_add_group(i):this.result_add_option(i),""!==n&&(s++,t+=n),(null!=e?e.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(i))),!(s>=this.max_shown_results));o++);return t},e.prototype.result_add_option=function(e){var t,i;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),i=document.createElement("li"),i.className=t.join(" "),e.style&&(i.style.cssText=e.style),i.setAttribute("data-option-array-index",e.array_index),i.innerHTML=e.highlighted_html||e.html,e.title&&(i.title=e.title),this.outerHTML(i)):""},e.prototype.result_add_group=function(e){var t,i;return(e.search_match||e.group_match)&&e.active_options>0?(t=[],t.push("group-result"),e.classes&&t.push(e.classes),i=document.createElement("li"),i.className=t.join(" "),i.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(i.title=e.title),this.outerHTML(i)):""},e.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},e.prototype.reset_single_select_options=function(){var e,t,i,n,o;for(i=this.results_data,o=[],e=0,t=i.length;e<t;e++)n=i[e],n.selected?o.push(n.selected=!1):o.push(void 0);return o},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.winnow_results=function(e){var t,i,n,o,a,r,s,l,c,d,u,h,f,p,g;for(this.no_results_clear(),d=0,s=this.get_search_text(),t=s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(t),l=this.results_data,n=0,o=l.length;n<o;n++)a=l[n],a.search_match=!1,u=null,h=null,a.highlighted_html="",this.include_option_in_results(a)&&(a.group&&(a.group_match=!1,a.active_options=0),null!=a.group_array_index&&this.results_data[a.group_array_index]&&(u=this.results_data[a.group_array_index],0===u.active_options&&u.search_match&&(d+=1),u.active_options+=1),g=a.group?a.label:a.text,a.group&&!this.group_search||(h=this.search_string_match(g,c),a.search_match=null!=h,a.search_match&&!a.group&&(d+=1),a.search_match?(s.length&&(f=h.index,r=g.slice(0,f),i=g.slice(f,f+s.length),p=g.slice(f+s.length),a.highlighted_html=this.escape_html(r)+"<em>"+this.escape_html(i)+"</em>"+this.escape_html(p)),null!=u&&(u.group_match=!0)):null!=a.group_array_index&&this.results_data[a.group_array_index].search_match&&(a.search_match=!0)));return this.result_clear_highlight(),d<1&&s.length?(this.update_results_content(""),this.no_results(s)):(this.update_results_content(this.results_option_build()),(null!=e?e.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},e.prototype.get_search_regex=function(e){var t,i;return i=this.search_contains?e:"(^|\\s|\\b)"+e+"[^\\s]*",this.enable_split_word_search||this.search_contains||(i="^"+i),t=this.case_sensitive_search?"":"i",new RegExp(i,t)},e.prototype.search_string_match=function(e,t){var i;return i=t.exec(e),!this.search_contains&&(null!=i?i[1]:void 0)&&(i.index+=1),i},e.prototype.choices_count=function(){var e,t,i,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,n=this.form_field.options,e=0,t=n.length;e<t;e++)i=n[e],i.selected&&(this.selected_option_count+=1);return this.selected_option_count},e.prototype.choices_click=function(e){if(e.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},e.prototype.keydown_checker=function(e){var t,i;switch(i=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),8!==i&&this.pending_backstroke&&this.clear_backstroke(),i){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},e.prototype.keyup_checker=function(e){var t,i;switch(i=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),i){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},e.prototype.clipboard_event_checker=function(e){if(!this.is_disabled)return setTimeout(function(e){return function(){return e.results_search()}}(this),50)},e.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},e.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&!e.empty)},e.prototype.search_results_touchstart=function(e){return this.touch_started=!0,this.search_results_mouseover(e)},e.prototype.search_results_touchmove=function(e){return this.touch_started=!1,this.search_results_mouseout(e)},e.prototype.search_results_touchend=function(e){if(this.touch_started)return this.search_results_mouseup(e)},e.prototype.outerHTML=function(e){var t;return e.outerHTML?e.outerHTML:(t=document.createElement("div"),t.appendChild(e),t.innerHTML)},e.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},e.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},e.prototype.get_no_results_html=function(e){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(e)+"</span>\n</li>"},e.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e}(),e=jQuery,e.fn.extend({chosen:function(n){return t.browser_is_supported()?this.each(function(t){var o,a;if(o=e(this),a=o.data("chosen"),"destroy"===n)return void(a instanceof i&&a.destroy());a instanceof i||o.data("chosen",new i(this,n))}):this}}),i=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return a(i,t),i.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},i.prototype.set_up_html=function(){var t,i;return t=["chosen-container"],t.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),i={class:t.join(" "),title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=e("<div />",i),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},i.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},i.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.container.on("touchend.chosen",function(e){return function(t){e.container_mouseup(t)}}(this)),this.container.on("mousedown.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.container.on("mouseup.chosen",function(e){return function(t){e.container_mouseup(t)}}(this)),this.container.on("mouseenter.chosen",function(e){return function(t){e.mouse_enter(t)}}(this)),this.container.on("mouseleave.chosen",function(e){return function(t){e.mouse_leave(t)}}(this)),this.search_results.on("mouseup.chosen",function(e){return function(t){e.search_results_mouseup(t)}}(this)),this.search_results.on("mouseover.chosen",function(e){return function(t){e.search_results_mouseover(t)}}(this)),this.search_results.on("mouseout.chosen",function(e){return function(t){e.search_results_mouseout(t)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(e){return function(t){e.search_results_mousewheel(t)}}(this)),this.search_results.on("touchstart.chosen",function(e){return function(t){e.search_results_touchstart(t)}}(this)),this.search_results.on("touchmove.chosen",function(e){return function(t){e.search_results_touchmove(t)}}(this)),this.search_results.on("touchend.chosen",function(e){return function(t){e.search_results_touchend(t)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(e){return function(t){e.results_update_field(t)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(e){return function(t){e.activate_field(t)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(e){return function(t){e.close_field(t)}}(this)),this.search_field.on("blur.chosen",function(e){return function(t){e.input_blur(t)}}(this)),this.search_field.on("keyup.chosen",function(e){return function(t){e.keyup_checker(t)}}(this)),this.search_field.on("keydown.chosen",function(e){return function(t){e.keydown_checker(t)}}(this)),this.search_field.on("focus.chosen",function(e){return function(t){e.input_focus(t)}}(this)),this.search_field.on("cut.chosen",function(e){return function(t){e.clipboard_event_checker(t)}}(this)),this.search_field.on("paste.chosen",function(e){return function(t){e.clipboard_event_checker(t)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(e){return function(t){e.choices_click(t)}}(this)):this.container.on("click.chosen",function(e){e.preventDefault()})},i.prototype.destroy=function(){return e(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},i.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},i.prototype.container_mousedown=function(t){var i;if(!this.is_disabled)return!t||"mousedown"!==(i=t.type)&&"touchstart"!==i||this.results_showing||t.preventDefault(),null!=t&&e(t.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!t||e(t.target)[0]!==this.selected_item[0]&&!e(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},i.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},i.prototype.search_results_mousewheel=function(e){var t;if(e.originalEvent&&(t=e.originalEvent.deltaY||-e.originalEvent.wheelDelta||e.originalEvent.detail),null!=t)return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},i.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},i.prototype.close_field=function(){return e(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},i.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},i.prototype.test_active_click=function(t){var i;return i=e(t.target).closest(".chosen-container"),i.length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},i.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=n.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},i.prototype.result_do_highlight=function(e){var t,i,n,o,a;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),n=parseInt(this.search_results.css("maxHeight"),10),a=this.search_results.scrollTop(),o=n+a,i=this.result_highlight.position().top+this.search_results.scrollTop(),(t=i+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(t-n>0?t-n:0);if(i<a)return this.search_results.scrollTop(i)}},i.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},i.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},i.prototype.update_results_content=function(e){return this.search_results.html(e)},i.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},i.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},i.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=e("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},i.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},i.prototype.search_results_mouseup=function(t){var i;if(i=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first(),i.length)return this.result_highlight=i,this.result_select(t),this.search_field.focus()},i.prototype.search_results_mouseover=function(t){var i;if(i=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(i)},i.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result")||e(t.target).parents(".active-result").first())return this.result_clear_highlight()},i.prototype.choice_build=function(t){var i,n;return i=e("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(t)+"</span>"),t.disabled?i.addClass("search-choice-disabled"):(n=e("<a />",{class:"search-choice-close","data-option-array-index":t.array_index}),n.on("click.chosen",function(e){return function(t){return e.choice_destroy_link_click(t)}}(this)),i.append(n)),this.search_container.before(i)},i.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},i.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},i.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},i.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},i.prototype.result_select=function(e){var t,i;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):this.reset_single_select_options(),t.addClass("result-selected"),i=this.results_data[t[0].getAttribute("data-option-array-index")],i.selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(this.choice_label(i)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())},i.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)},i.prototype.result_deselect=function(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},i.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},i.prototype.get_search_field_value=function(){return this.search_field.val()},i.prototype.get_search_text=function(){return e.trim(this.get_search_field_value())},i.prototype.escape_html=function(t){return e("<div/>").text(t).html()},i.prototype.winnow_results_set_highlight=function(){var e,t;if(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(e=t.length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},i.prototype.no_results=function(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},i.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},i.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},i.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result"),e.length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},i.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last(),e.length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},i.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},i.prototype.search_field_scale=function(){var t,i,n,o,a,r,s;if(this.is_multiple){for(a={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"],i=0,n=r.length;i<n;i++)o=r[i],a[o]=this.search_field.css(o);return t=e("<div />").css(a),t.text(this.get_search_field_value()),e("body").append(t),s=t.width()+25,t.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},i.prototype.trigger_form_field_change=function(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)},i}(t)}).call(this)},function(e,t){!function(e){e.color={},e.color.make=function(t,i,n,o){var a={};return a.r=t||0,a.g=i||0,a.b=n||0,a.a=null!=o?o:1,a.add=function(e,t){for(var i=0;i<e.length;++i)a[e.charAt(i)]+=t;return a.normalize()},a.scale=function(e,t){for(var i=0;i<e.length;++i)a[e.charAt(i)]*=t;return a.normalize()},a.toString=function(){return a.a>=1?"rgb("+[a.r,a.g,a.b].join(",")+")":"rgba("+[a.r,a.g,a.b,a.a].join(",")+")"},a.normalize=function(){function e(e,t,i){return t<e?e:t>i?i:t}return a.r=e(0,parseInt(a.r),255),a.g=e(0,parseInt(a.g),255),a.b=e(0,parseInt(a.b),255),a.a=e(0,a.a,1),a},a.clone=function(){return e.color.make(a.r,a.b,a.g,a.a)},a.normalize()},e.color.extract=function(t,i){var n;do{if(""!=(n=t.css(i).toLowerCase())&&"transparent"!=n)break;t=t.parent()}while(!e.nodeName(t.get(0),"body"));return"rgba(0, 0, 0, 0)"==n&&(n="transparent"),e.color.parse(n)},e.color.parse=function(i){var n,o=e.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return o(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return o(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var a=e.trim(i).toLowerCase();return"transparent"==a?o(255,255,255,0):(n=t[a]||[0,0,0],o(n[0],n[1],n[2]))};var t={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(e){function t(t,n,o,a){function r(e,t){t=[me].concat(t);for(var i=0;i<e.length;++i)e[i].apply(this,t)}function s(e){ie=l(e),p(),g()}function l(t){for(var i=[],n=0;n<t.length;++n){var o=e.extend(!0,{},ne.series);null!=t[n].data?(o.data=t[n].data,delete t[n].data,e.extend(!0,o,t[n]),t[n].data=o.data):o.data=t[n],i.push(o)}return i}function c(e,t){var i=e[t+"axis"];return"object"==typeof i&&(i=i.n),"number"!=typeof i&&(i=1),i}function d(){return e.grep(ce.concat(de),function(e){return e})}function u(e){var t,i,n={};for(t=0;t<ce.length;++t)(i=ce[t])&&i.used&&(n["x"+i.n]=i.c2p(e.left));for(t=0;t<de.length;++t)(i=de[t])&&i.used&&(n["y"+i.n]=i.c2p(e.top));return void 0!==n.x1&&(n.x=n.x1),void 0!==n.y1&&(n.y=n.y1),n}function h(e){var t,i,n,o={};for(t=0;t<ce.length;++t)if((i=ce[t])&&i.used&&(n="x"+i.n,null==e[n]&&1==i.n&&(n="x"),null!=e[n])){o.left=i.p2c(e[n]);break}for(t=0;t<de.length;++t)if((i=de[t])&&i.used&&(n="y"+i.n,null==e[n]&&1==i.n&&(n="y"),null!=e[n])){o.top=i.p2c(e[n]);break}return o}function f(t,i){return t[i-1]||(t[i-1]={n:i,direction:t==ce?"x":"y",options:e.extend(!0,{},t==ce?ne.xaxis:ne.yaxis)}),t[i-1]}function p(){var t,i=ie.length,n=-1;for(t=0;t<ie.length;++t){var o=ie[t].color;null!=o&&(i--,"number"==typeof o&&o>n&&(n=o))}i<=n&&(i=n+1);var a,r=[],s=ne.colors,l=s.length,d=0;for(t=0;t<i;t++)a=e.color.parse(s[t%l]||"#666"),t%l==0&&t&&(d=d>=0?d<.5?-d-.2:0:-d),r[t]=a.scale("rgb",1+d);var u,h=0;for(t=0;t<ie.length;++t){if(u=ie[t],null==u.color?(u.color=r[h].toString(),++h):"number"==typeof u.color&&(u.color=r[u.color].toString()),null==u.lines.show){var p,g=!0;for(p in u)if(u[p]&&u[p].show){g=!1;break}g&&(u.lines.show=!0)}null==u.lines.zero&&(u.lines.zero=!!u.lines.fill),u.xaxis=f(ce,c(u,"x")),u.yaxis=f(de,c(u,"y"))}}function g(){function t(e,t,i){t<e.datamin&&t!=-v&&(e.datamin=t),i>e.datamax&&i!=v&&(e.datamax=i)}var i,n,o,a,s,l,c,u,h,f,p,g,_=Number.POSITIVE_INFINITY,m=Number.NEGATIVE_INFINITY,v=Number.MAX_VALUE;for(e.each(d(),function(e,t){t.datamin=_,t.datamax=m,t.used=!1}),i=0;i<ie.length;++i)s=ie[i],s.datapoints={points:[]},r(_e.processRawData,[s,s.data,s.datapoints]);for(i=0;i<ie.length;++i){if(s=ie[i],p=s.data,!(g=s.datapoints.format)){if(g=[],g.push({x:!0,number:!0,required:!0}),g.push({y:!0,number:!0,required:!0}),s.bars.show||s.lines.show&&s.lines.fill){var b=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);g.push({y:!0,number:!0,required:!1,defaultValue:0,autoscale:b}),s.bars.horizontal&&(delete g[g.length-1].y,g[g.length-1].x=!0)}s.datapoints.format=g}if(null==s.datapoints.pointsize){s.datapoints.pointsize=g.length,c=s.datapoints.pointsize,l=s.datapoints.points;var y=s.lines.show&&s.lines.steps;for(s.xaxis.used=s.yaxis.used=!0,n=o=0;n<p.length;++n,o+=c){f=p[n];var x=null==f;if(!x)for(a=0;a<c;++a)u=f[a],h=g[a],h&&(h.number&&null!=u&&(u=+u,isNaN(u)?u=null:u==1/0?u=v:u==-1/0&&(u=-v)),null==u&&(h.required&&(x=!0),null!=h.defaultValue&&(u=h.defaultValue))),l[o+a]=u;if(x)for(a=0;a<c;++a)u=l[o+a],null!=u&&(h=g[a],h.x&&t(s.xaxis,u,u),h.y&&t(s.yaxis,u,u)),l[o+a]=null;else if(y&&o>0&&null!=l[o-c]&&l[o-c]!=l[o]&&l[o-c+1]!=l[o+1]){for(a=0;a<c;++a)l[o+c+a]=l[o+a];l[o+1]=l[o-c+1],o+=c}}}}for(i=0;i<ie.length;++i)s=ie[i],r(_e.processDatapoints,[s,s.datapoints]);for(i=0;i<ie.length;++i){s=ie[i],l=s.datapoints.points,c=s.datapoints.pointsize,g=s.datapoints.format;var w=_,k=_,C=m,j=m;for(n=0;n<l.length;n+=c)if(null!=l[n])for(a=0;a<c;++a)u=l[n+a],(h=g[a])&&!1!==h.autoscale&&u!=v&&u!=-v&&(h.x&&(u<w&&(w=u),u>C&&(C=u)),h.y&&(u<k&&(k=u),u>j&&(j=u)));if(s.bars.show){var T;switch(s.bars.align){case"left":T=0;break;case"right":T=-s.bars.barWidth;break;case"center":T=-s.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+s.bars.align)}s.bars.horizontal?(k+=T,j+=T+s.bars.barWidth):(w+=T,C+=T+s.bars.barWidth)}t(s.xaxis,w,C),t(s.yaxis,k,j)}e.each(d(),function(e,t){t.datamin==_&&(t.datamin=null),t.datamax==m&&(t.datamax=null)})}function _(e){return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}function m(i){var n=document.createElement("canvas");if(n.className=i,e(n).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(t),!n.getContext){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");n=window.G_vmlCanvasManager.initElement(n)}var o=n.getContext("2d"),a=_(o);return n.width=he*a,n.height=fe*a,n.style.width=he+"px",n.style.height=fe+"px",o.save(),o.scale(a,a),n}function v(){if(he=t.width(),fe=t.height(),he<=0||fe<=0)throw new Error("Invalid dimensions for plot, width = "+he+", height = "+fe)}function b(e){var t=e.getContext("2d"),i=_(t);e.style.width!=he&&(e.width=he*i,e.style.width=he+"px"),e.style.height!=fe&&(e.height=fe*i,e.style.height=fe+"px"),t.restore(),t.save(),t.scale(i,i)}function y(){be&&clearTimeout(be),re.unbind("mousemove",H),re.unbind("mouseleave",R),re.unbind("click",U),r(_e.shutdown,[re])}function x(e){function t(e){return e}var i,n,o=e.options.transform||t,a=e.options.inverseTransform;"x"==e.direction?(i=e.scale=pe/Math.abs(o(e.max)-o(e.min)),n=Math.min(o(e.max),o(e.min))):(i=e.scale=ge/Math.abs(o(e.max)-o(e.min)),i=-i,n=Math.max(o(e.max),o(e.min))),e.p2c=o==t?function(e){return(e-n)*i}:function(e){return(o(e)-n)*i},e.c2p=a?function(e){return a(n+e/i)}:function(e){return n+e/i}}function w(e){var t=e.options,i=e.ticks||[],n=t.labelWidth||0,o=t.labelHeight||0,a=e.font;se.save(),se.font=a.style+" "+a.variant+" "+a.weight+" "+a.size+"px '"+a.family+"'";for(var r=0;r<i.length;++r){var s=i[r];if(s.lines=[],s.width=s.height=0,s.label){for(var l=(s.label+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),c=0;c<l.length;++c){var d={text:l[c]},u=se.measureText(d.text);d.width=u.width,d.height=null!=u.height?u.height:a.size,d.height+=Math.round(.15*a.size),s.width=Math.max(d.width,s.width),s.height+=d.height,s.lines.push(d)}null==t.labelWidth&&(n=Math.max(n,s.width)),null==t.labelHeight&&(o=Math.max(o,s.height))}}se.restore(),e.labelWidth=Math.ceil(n),e.labelHeight=Math.ceil(o)}function k(t){var i,n=t.labelWidth,o=t.labelHeight,a=t.options.position,r=t.options.tickLength,s=ne.grid.axisMargin,l=ne.grid.labelMargin,c="x"==t.direction?ce:de,d=e.grep(c,function(e){return e&&e.options.position==a&&e.reserveSpace});if(e.inArray(t,d)==d.length-1&&(s=0),null==r){var u=e.grep(c,function(e){return e&&e.reserveSpace});i=0==e.inArray(t,u),r=i?"full":5}isNaN(+r)||(l+=+r),"x"==t.direction?(o+=l,"bottom"==a?(ue.bottom+=o+s,t.box={top:fe-ue.bottom,height:o}):(t.box={top:ue.top+s,height:o},ue.top+=o+s)):(n+=l,"left"==a?(t.box={left:ue.left+s,width:n},ue.left+=n+s):(ue.right+=n+s,t.box={left:he-ue.right,width:n})),t.position=a,t.tickLength=r,t.box.padding=l,t.innermost=i}function C(e){"x"==e.direction?(e.box.left=ue.left-e.labelWidth/2,e.box.width=he-ue.left-ue.right+e.labelWidth):(e.box.top=ue.top-e.labelHeight/2,e.box.height=fe-ue.bottom-ue.top+e.labelHeight)}function j(){var t,i=ne.grid.minBorderMargin,n={x:0,y:0};if(null==i)for(i=0,t=0;t<ie.length;++t)i=Math.max(i,2*(ie[t].points.radius+ie[t].points.lineWidth/2));n.x=n.y=Math.ceil(i),e.each(d(),function(e,t){var i=t.direction;t.reserveSpace&&(n[i]=Math.ceil(Math.max(n[i],("x"==i?t.labelWidth:t.labelHeight)/2)))}),ue.left=Math.max(n.x,ue.left),ue.right=Math.max(n.x,ue.right),ue.top=Math.max(n.y,ue.top),ue.bottom=Math.max(n.y,ue.bottom)}function T(){var i,n=d(),o=ne.grid.show;for(var a in ue){var s=ne.grid.margin||0;ue[a]="number"==typeof s?s:s[a]||0}r(_e.processOffset,[ue]);for(var a in ue)"object"==typeof ne.grid.borderWidth?ue[a]+=o?ne.grid.borderWidth[a]:0:ue[a]+=o?ne.grid.borderWidth:0;if(e.each(n,function(e,t){t.show=t.options.show,null==t.show&&(t.show=t.used),t.reserveSpace=t.show||t.options.reserveSpace,S(t)}),o){var l={style:t.css("font-style"),size:Math.round(.8*(+t.css("font-size").replace("px","")||13)),variant:t.css("font-variant"),weight:t.css("font-weight"),family:t.css("font-family")},c=e.grep(n,function(e){return e.reserveSpace});for(e.each(c,function(t,i){M(i),I(i),P(i,i.ticks),i.font=e.extend({},l,i.options.font),w(i)}),i=c.length-1;i>=0;--i)k(c[i]);j(),e.each(c,function(e,t){C(t)})}pe=he-ue.left-ue.right,ge=fe-ue.bottom-ue.top,e.each(n,function(e,t){x(t)}),B()}function S(e){var t=e.options,i=+(null!=t.min?t.min:e.datamin),n=+(null!=t.max?t.max:e.datamax),o=n-i;if(0==o){var a=0==n?1:.01;null==t.min&&(i-=a),null!=t.max&&null==t.min||(n+=a)}else{var r=t.autoscaleMargin;null!=r&&(null==t.min&&(i-=o*r)<0&&null!=e.datamin&&e.datamin>=0&&(i=0),null==t.max&&(n+=o*r)>0&&null!=e.datamax&&e.datamax<=0&&(n=0))}e.min=i,e.max=n}function M(t){var n,o=t.options;if(n="number"==typeof o.ticks&&o.ticks>0?o.ticks:.3*Math.sqrt("x"==t.direction?he:fe),t.delta=(t.max-t.min)/n,"time"==o.mode&&!t.tickGenerator)throw new Error("Time mode requires the flot.time plugin.");if(t.tickGenerator||(t.tickGenerator=function(e){var t=o.tickDecimals,n=-Math.floor(Math.log(e.delta)/Math.LN10);null!=t&&n>t&&(n=t);var a,r,s,l=Math.pow(10,-n),c=e.delta/l,d=[],u=0,h=Number.NaN;c<1.5?a=1:c<3?(a=2,c>2.25&&(null==t||n+1<=t)&&(a=2.5,++n)):a=c<7.5?5:10,a*=l,null!=o.minTickSize&&a<o.minTickSize&&(a=o.minTickSize),e.tickDecimals=Math.max(0,null!=t?t:n),e.tickSize=o.tickSize||a,r=i(e.min,e.tickSize);do{s=h,h=r+u*e.tickSize,d.push(h),++u}while(h<e.max&&h!=s);return d},t.tickFormatter=function(e,t){var i=t.tickDecimals?Math.pow(10,t.tickDecimals):1,n=""+Math.round(e*i)/i;if(null!=t.tickDecimals){var o=n.indexOf("."),a=-1==o?0:n.length-o-1;if(a<t.tickDecimals)return(a?n:n+".")+(""+i).substr(1,t.tickDecimals-a)}return n}),e.isFunction(o.tickFormatter)&&(t.tickFormatter=function(e,t){return""+o.tickFormatter(e,t)}),null!=o.alignTicksWithAxis){var a=("x"==t.direction?ce:de)[o.alignTicksWithAxis-1];if(a&&a.used&&a!=t){var r=t.tickGenerator(t);if(r.length>0&&(null==o.min&&(t.min=Math.min(t.min,r[0])),null==o.max&&r.length>1&&(t.max=Math.max(t.max,r[r.length-1]))),t.tickGenerator=function(e){var t,i,n=[];for(i=0;i<a.ticks.length;++i)t=(a.ticks[i].v-a.min)/(a.max-a.min),t=e.min+t*(e.max-e.min),n.push(t);return n},!t.mode&&null==o.tickDecimals){var s=Math.max(0,1-Math.floor(Math.log(t.delta)/Math.LN10)),l=t.tickGenerator(t);l.length>1&&/\..*0$/.test((l[1]-l[0]).toFixed(s))||(t.tickDecimals=s)}}}}function I(t){var i=t.options.ticks,n=[];null==i||"number"==typeof i&&i>0?n=t.tickGenerator(t):i&&(n=e.isFunction(i)?i(t):i);var o,a;for(t.ticks=[],o=0;o<n.length;++o){var r=null,s=n[o];"object"==typeof s?(a=+s[0],s.length>1&&(r=s[1])):a=+s,null==r&&(r=t.tickFormatter(a,t)),isNaN(a)||t.ticks.push({v:a,label:r})}}function P(e,t){e.options.autoscaleMargin&&t.length>0&&(null==e.options.min&&(e.min=Math.min(e.min,t[0].v)),null==e.options.max&&t.length>1&&(e.max=Math.max(e.max,t[t.length-1].v)))}function z(){se.clearRect(0,0,he,fe),r(_e.drawBackground,[se]);var e=ne.grid;e.show&&e.backgroundColor&&O(),e.show&&!e.aboveData&&(Q(),E());for(var t=0;t<ie.length;++t)r(_e.drawSeries,[se,ie[t]]),D(ie[t]);r(_e.draw,[se]),e.show&&e.aboveData&&(Q(),E())}function A(e,t){for(var i,n,o,a,r=d(),s=0;s<r.length;++s)if(i=r[s],i.direction==t&&(a=t+i.n+"axis",e[a]||1!=i.n||(a=t+"axis"),e[a])){n=e[a].from,o=e[a].to;break}if(e[a]||(i="x"==t?ce[0]:de[0],n=e[t+"1"],o=e[t+"2"]),null!=n&&null!=o&&n>o){var l=n;n=o,o=l}return{from:n,to:o,axis:i}}function O(){se.save(),se.translate(ue.left,ue.top),se.fillStyle=te(ne.grid.backgroundColor,ge,0,"rgba(255, 255, 255, 0)"),se.fillRect(0,0,pe,ge),se.restore()}function Q(){var t,i,n,o;se.save(),se.translate(ue.left,ue.top);var a=ne.grid.markings;if(a)for(e.isFunction(a)&&(i=me.getAxes(),i.xmin=i.xaxis.min,i.xmax=i.xaxis.max,i.ymin=i.yaxis.min,i.ymax=i.yaxis.max,a=a(i)),t=0;t<a.length;++t){var r=a[t],s=A(r,"x"),l=A(r,"y");null==s.from&&(s.from=s.axis.min),null==s.to&&(s.to=s.axis.max),null==l.from&&(l.from=l.axis.min),null==l.to&&(l.to=l.axis.max),s.to<s.axis.min||s.from>s.axis.max||l.to<l.axis.min||l.from>l.axis.max||(s.from=Math.max(s.from,s.axis.min),s.to=Math.min(s.to,s.axis.max),l.from=Math.max(l.from,l.axis.min),l.to=Math.min(l.to,l.axis.max),s.from==s.to&&l.from==l.to||(s.from=s.axis.p2c(s.from),s.to=s.axis.p2c(s.to),l.from=l.axis.p2c(l.from),l.to=l.axis.p2c(l.to),s.from==s.to||l.from==l.to?(se.beginPath(),se.strokeStyle=r.color||ne.grid.markingsColor,se.lineWidth=r.lineWidth||ne.grid.markingsLineWidth,se.moveTo(s.from,l.from),se.lineTo(s.to,l.to),se.stroke()):(se.fillStyle=r.color||ne.grid.markingsColor,se.fillRect(s.from,l.to,s.to-s.from,l.from-l.to))))}i=d(),n=ne.grid.borderWidth;for(var c=0;c<i.length;++c){var u,h,f,p,g=i[c],_=g.box,m=g.tickLength;if(g.show&&0!=g.ticks.length){for(se.strokeStyle=g.options.tickColor||e.color.parse(g.options.color).scale("a",.22).toString(),se.lineWidth=1,"x"==g.direction?(u=0,h="full"==m?"top"==g.position?0:ge:_.top-ue.top+("top"==g.position?_.height:0)):(h=0,u="full"==m?"left"==g.position?0:pe:_.left-ue.left+("left"==g.position?_.width:0)),g.innermost||(se.beginPath(),f=p=0,"x"==g.direction?f=pe:p=ge,1==se.lineWidth&&(u=Math.floor(u)+.5,h=Math.floor(h)+.5),se.moveTo(u,h),se.lineTo(u+f,h+p),se.stroke()),se.beginPath(),t=0;t<g.ticks.length;++t){var v=g.ticks[t].v;f=p=0,isNaN(v)||v<g.min||v>g.max||"full"==m&&("object"==typeof n&&n[g.position]>0||n>0)&&(v==g.min||v==g.max)||("x"==g.direction?(u=g.p2c(v),p="full"==m?-ge:m,"top"==g.position&&(p=-p)):(h=g.p2c(v),f="full"==m?-pe:m,"left"==g.position&&(f=-f)),1==se.lineWidth&&("x"==g.direction?u=Math.floor(u)+.5:h=Math.floor(h)+.5),se.moveTo(u,h),se.lineTo(u+f,h+p))}se.stroke()}}n&&(o=ne.grid.borderColor,"object"==typeof n||"object"==typeof o?("object"!=typeof n&&(n={top:n,right:n,bottom:n,left:n}),"object"!=typeof o&&(o={top:o,right:o,bottom:o,left:o}),n.top>0&&(se.strokeStyle=o.top,se.lineWidth=n.top,se.beginPath(),se.moveTo(0-n.left,0-n.top/2),se.lineTo(pe,0-n.top/2),se.stroke()),n.right>0&&(se.strokeStyle=o.right,se.lineWidth=n.right,se.beginPath(),se.moveTo(pe+n.right/2,0-n.top),se.lineTo(pe+n.right/2,ge),se.stroke()),n.bottom>0&&(se.strokeStyle=o.bottom,se.lineWidth=n.bottom,se.beginPath(),se.moveTo(pe+n.right,ge+n.bottom/2),se.lineTo(0,ge+n.bottom/2),se.stroke()),n.left>0&&(se.strokeStyle=o.left,se.lineWidth=n.left,se.beginPath(),se.moveTo(0-n.left/2,ge+n.bottom),se.lineTo(0-n.left/2,0),se.stroke())):(se.lineWidth=n,se.strokeStyle=ne.grid.borderColor,se.strokeRect(-n/2,-n/2,pe+n,ge+n))),se.restore()}function E(){se.save(),e.each(d(),function(e,t){if(t.show&&0!=t.ticks.length){var i=t.box,n=t.font;se.fillStyle=t.options.color,se.font=n.style+" "+n.variant+" "+n.weight+" "+n.size+"px "+n.family,se.textAlign="start",se.textBaseline="middle";for(var o=0;o<t.ticks.length;++o){var a=t.ticks[o];if(!(!a.label||a.v<t.min||a.v>t.max))for(var r,s,l,c=0,d=0;d<a.lines.length;++d)l=a.lines[d],"x"==t.direction?(r=ue.left+t.p2c(a.v)-l.width/2,s="bottom"==t.position?i.top+i.padding:i.top+i.height-i.padding-a.height):(s=ue.top+t.p2c(a.v)-a.height/2,r="left"==t.position?i.left+i.width-i.padding-l.width:i.left+i.padding),s+=l.height/2+c,c+=l.height,window.opera&&window.opera.version().split(".")[0]<12&&(r=Math.floor(r),s=Math.ceil(s-2)),se.fillText(l.text,r,s)}}}),se.restore()}function D(e){e.lines.show&&W(e),e.bars.show&&N(e),e.points.show&&q(e)}function W(e){function t(e,t,i,n,o){var a=e.points,r=e.pointsize,s=null,l=null;se.beginPath();for(var c=r;c<a.length;c+=r){var d=a[c-r],u=a[c-r+1],h=a[c],f=a[c+1];if(null!=d&&null!=h){if(u<=f&&u<o.min){if(f<o.min)continue;d=(o.min-u)/(f-u)*(h-d)+d,u=o.min}else if(f<=u&&f<o.min){if(u<o.min)continue;h=(o.min-u)/(f-u)*(h-d)+d,f=o.min}if(u>=f&&u>o.max){if(f>o.max)continue;d=(o.max-u)/(f-u)*(h-d)+d,u=o.max}else if(f>=u&&f>o.max){if(u>o.max)continue;h=(o.max-u)/(f-u)*(h-d)+d,f=o.max}if(d<=h&&d<n.min){if(h<n.min)continue;u=(n.min-d)/(h-d)*(f-u)+u,d=n.min}else if(h<=d&&h<n.min){if(d<n.min)continue;f=(n.min-d)/(h-d)*(f-u)+u,h=n.min}if(d>=h&&d>n.max){if(h>n.max)continue;u=(n.max-d)/(h-d)*(f-u)+u,d=n.max}else if(h>=d&&h>n.max){if(d>n.max)continue;f=(n.max-d)/(h-d)*(f-u)+u,h=n.max}d==s&&u==l||se.moveTo(n.p2c(d)+t,o.p2c(u)+i),s=h,l=f,se.lineTo(n.p2c(h)+t,o.p2c(f)+i)}}se.stroke()}se.save(),se.translate(ue.left,ue.top),se.lineJoin="round";var i=e.lines.lineWidth,n=e.shadowSize;if(i>0&&n>0){se.lineWidth=n,se.strokeStyle="rgba(0,0,0,0.1)";var o=Math.PI/18;t(e.datapoints,Math.sin(o)*(i/2+n/2),Math.cos(o)*(i/2+n/2),e.xaxis,e.yaxis),se.lineWidth=n/2,t(e.datapoints,Math.sin(o)*(i/2+n/4),Math.cos(o)*(i/2+n/4),e.xaxis,e.yaxis)}se.lineWidth=i,se.strokeStyle=e.color;var a=G(e.lines,e.color,0,ge);a&&(se.fillStyle=a,function(e,t,i){for(var n=e.points,o=e.pointsize,a=Math.min(Math.max(0,i.min),i.max),r=0,s=!1,l=1,c=0,d=0;!(o>0&&r>n.length+o);){r+=o;var u=n[r-o],h=n[r-o+l],f=n[r],p=n[r+l];if(s){if(o>0&&null!=u&&null==f){d=r,o=-o,l=2;continue}if(o<0&&r==c+o){se.fill(),s=!1,o=-o,l=1,r=c=d+o;continue}}if(null!=u&&null!=f){if(u<=f&&u<t.min){if(f<t.min)continue;h=(t.min-u)/(f-u)*(p-h)+h,u=t.min}else if(f<=u&&f<t.min){if(u<t.min)continue;p=(t.min-u)/(f-u)*(p-h)+h,f=t.min}if(u>=f&&u>t.max){if(f>t.max)continue;h=(t.max-u)/(f-u)*(p-h)+h,u=t.max}else if(f>=u&&f>t.max){if(u>t.max)continue;p=(t.max-u)/(f-u)*(p-h)+h,f=t.max}if(s||(se.beginPath(),se.moveTo(t.p2c(u),i.p2c(a)),s=!0),h>=i.max&&p>=i.max)se.lineTo(t.p2c(u),i.p2c(i.max)),se.lineTo(t.p2c(f),i.p2c(i.max));else if(h<=i.min&&p<=i.min)se.lineTo(t.p2c(u),i.p2c(i.min)),se.lineTo(t.p2c(f),i.p2c(i.min));else{var g=u,_=f;h<=p&&h<i.min&&p>=i.min?(u=(i.min-h)/(p-h)*(f-u)+u,h=i.min):p<=h&&p<i.min&&h>=i.min&&(f=(i.min-h)/(p-h)*(f-u)+u,p=i.min),h>=p&&h>i.max&&p<=i.max?(u=(i.max-h)/(p-h)*(f-u)+u,h=i.max):p>=h&&p>i.max&&h<=i.max&&(f=(i.max-h)/(p-h)*(f-u)+u,p=i.max),u!=g&&se.lineTo(t.p2c(g),i.p2c(h)),se.lineTo(t.p2c(u),i.p2c(h)),se.lineTo(t.p2c(f),i.p2c(p)),f!=_&&(se.lineTo(t.p2c(f),i.p2c(p)),se.lineTo(t.p2c(_),i.p2c(p)))}}}}(e.datapoints,e.xaxis,e.yaxis)),i>0&&t(e.datapoints,0,0,e.xaxis,e.yaxis),se.restore()}function q(e){function t(e,t,i,n,o,a,r,s){for(var l=e.points,c=e.pointsize,d=0;d<l.length;d+=c){var u=l[d],h=l[d+1];null==u||u<a.min||u>a.max||h<r.min||h>r.max||(se.beginPath(),u=a.p2c(u),h=r.p2c(h)+n,"circle"==s?se.arc(u,h,t,0,o?Math.PI:2*Math.PI,!1):s(se,u,h,t,o),se.closePath(),i&&(se.fillStyle=i,se.fill()),se.stroke())}}se.save(),se.translate(ue.left,ue.top);var i=e.points.lineWidth,n=e.shadowSize,o=e.points.radius,a=e.points.symbol;if(0==i&&(i=1e-4),i>0&&n>0){var r=n/2;se.lineWidth=r,se.strokeStyle="rgba(0,0,0,0.1)",t(e.datapoints,o,null,r+r/2,!0,e.xaxis,e.yaxis,a),se.strokeStyle="rgba(0,0,0,0.2)",t(e.datapoints,o,null,r/2,!0,e.xaxis,e.yaxis,a)}se.lineWidth=i,se.strokeStyle=e.color,t(e.datapoints,o,G(e.points,e.color),0,!1,e.xaxis,e.yaxis,a),se.restore()}function F(e,t,i,n,o,a,r,s,l,c,d,u){var h,f,p,g,_,m,v,b,y;d?(b=m=v=!0,_=!1,h=i,f=e,g=t+n,p=t+o,f<h&&(y=f,f=h,h=y,_=!0,m=!1)):(_=m=v=!0,b=!1,h=e+n,f=e+o,p=i,(g=t)<p&&(y=g,g=p,p=y,b=!0,v=!1)),f<s.min||h>s.max||g<l.min||p>l.max||(h<s.min&&(h=s.min,_=!1),f>s.max&&(f=s.max,m=!1),p<l.min&&(p=l.min,b=!1),g>l.max&&(g=l.max,v=!1),h=s.p2c(h),p=l.p2c(p),f=s.p2c(f),g=l.p2c(g),r&&(c.beginPath(),c.moveTo(h,p),c.lineTo(h,g),c.lineTo(f,g),c.lineTo(f,p),c.fillStyle=r(p,g),c.fill()),u>0&&(_||m||v||b)&&(c.beginPath(),c.moveTo(h,p+a),_?c.lineTo(h,g+a):c.moveTo(h,g+a),v?c.lineTo(f,g+a):c.moveTo(f,g+a),m?c.lineTo(f,p+a):c.moveTo(f,p+a),b?c.lineTo(h,p+a):c.moveTo(h,p+a),c.stroke()))}function N(e){se.save(),se.translate(ue.left,ue.top),se.lineWidth=e.bars.lineWidth,se.strokeStyle=e.color;var t;switch(e.bars.align){case"left":t=0;break;case"right":t=-e.bars.barWidth;break;case"center":t=-e.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+e.bars.align)}var i=e.bars.fill?function(t,i){return G(e.bars,e.color,t,i)}:null;!function(t,i,n,o,a,r,s){for(var l=t.points,c=t.pointsize,d=0;d<l.length;d+=c)null!=l[d]&&F(l[d],l[d+1],l[d+2],i,n,o,a,r,s,se,e.bars.horizontal,e.bars.lineWidth)}(e.datapoints,t,t+e.bars.barWidth,0,i,e.xaxis,e.yaxis),se.restore()}function G(t,i,n,o){var a=t.fill;if(!a)return null;if(t.fillColor)return te(t.fillColor,n,o,i);var r=e.color.parse(i);return r.a="number"==typeof a?a:.4,r.normalize(),r.toString()}function B(){if(t.find(".legend").remove(),ne.legend.show){for(var i,n,o=[],a=[],r=!1,s=ne.legend.labelFormatter,l=0;l<ie.length;++l)i=ie[l],i.label&&(n=s?s(i.label,i):i.label)&&a.push({label:n,color:i.color});if(ne.legend.sorted)if(e.isFunction(ne.legend.sorted))a.sort(ne.legend.sorted);else if("reverse"==ne.legend.sorted)a.reverse();else{var c="descending"!=ne.legend.sorted;a.sort(function(e,t){return e.label==t.label?0:e.label<t.label!=c?1:-1})}for(var l=0;l<a.length;++l){var d=a[l];l%ne.legend.noColumns==0&&(r&&o.push("</tr>"),o.push("<tr>"),r=!0),o.push('<td class="legendColorBox"><div style="border:1px solid '+ne.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+d.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+d.label+"</td>")}if(r&&o.push("</tr>"),0!=o.length){var u='<table style="font-size:smaller;color:'+ne.grid.color+'">'+o.join("")+"</table>";if(null!=ne.legend.container)e(ne.legend.container).html(u);else{var h="",f=ne.legend.position,p=ne.legend.margin;null==p[0]&&(p=[p,p]),"n"==f.charAt(0)?h+="top:"+(p[1]+ue.top)+"px;":"s"==f.charAt(0)&&(h+="bottom:"+(p[1]+ue.bottom)+"px;"),"e"==f.charAt(1)?h+="right:"+(p[0]+ue.right)+"px;":"w"==f.charAt(1)&&(h+="left:"+(p[0]+ue.left)+"px;");var g=e('<div class="legend">'+u.replace('style="','style="position:absolute;'+h+";")+"</div>").appendTo(t);if(0!=ne.legend.backgroundOpacity){var _=ne.legend.backgroundColor;null==_&&(_=ne.grid.backgroundColor,_=_&&"string"==typeof _?e.color.parse(_):e.color.extract(g,"background-color"),_.a=1,_=_.toString());var m=g.children();e('<div style="position:absolute;width:'+m.width()+"px;height:"+m.height()+"px;"+h+"background-color:"+_+';"> </div>').prependTo(g).css("opacity",ne.legend.backgroundOpacity)}}}}}function L(e,t,i){var n,o,a,r=ne.grid.mouseActiveRadius,s=r*r+1,l=null;for(n=ie.length-1;n>=0;--n)if(i(ie[n])){var c=ie[n],d=c.xaxis,u=c.yaxis,h=c.datapoints.points,f=d.c2p(e),p=u.c2p(t),g=r/d.scale,_=r/u.scale;if(a=c.datapoints.pointsize,d.options.inverseTransform&&(g=Number.MAX_VALUE),u.options.inverseTransform&&(_=Number.MAX_VALUE),c.lines.show||c.points.show)for(o=0;o<h.length;o+=a){var m=h[o],v=h[o+1];if(null!=m&&!(m-f>g||m-f<-g||v-p>_||v-p<-_)){var b=Math.abs(d.p2c(m)-e),y=Math.abs(u.p2c(v)-t),x=b*b+y*y;x<s&&(s=x,l=[n,o/a])}}if(c.bars.show&&!l){var w="left"==c.bars.align?0:-c.bars.barWidth/2,k=w+c.bars.barWidth;for(o=0;o<h.length;o+=a){var m=h[o],v=h[o+1],C=h[o+2];null!=m&&((ie[n].bars.horizontal?f<=Math.max(C,m)&&f>=Math.min(C,m)&&p>=v+w&&p<=v+k:f>=m+w&&f<=m+k&&p>=Math.min(C,v)&&p<=Math.max(C,v))&&(l=[n,o/a]))}}}return l?(n=l[0],o=l[1],a=ie[n].datapoints.pointsize,{datapoint:ie[n].datapoints.points.slice(o*a,(o+1)*a),dataIndex:o,series:ie[n],seriesIndex:n}):null}function H(e){ne.grid.hoverable&&Y("plothover",e,function(e){return 0!=e.hoverable})}function R(e){ne.grid.hoverable&&Y("plothover",e,function(e){return!1})}function U(e){Y("plotclick",e,function(e){return 0!=e.clickable})}function Y(e,i,n){var o=re.offset(),a=i.pageX-o.left-ue.left,r=i.pageY-o.top-ue.top,s=u({left:a,top:r});s.pageX=i.pageX,s.pageY=i.pageY;var l=L(a,r,n);if(l&&(l.pageX=parseInt(l.series.xaxis.p2c(l.datapoint[0])+o.left+ue.left,10),l.pageY=parseInt(l.series.yaxis.p2c(l.datapoint[1])+o.top+ue.top,10)),ne.grid.autoHighlight){for(var c=0;c<ve.length;++c){var d=ve[c];d.auto!=e||l&&d.series==l.series&&d.point[0]==l.datapoint[0]&&d.point[1]==l.datapoint[1]||$(d.series,d.point)}l&&X(l.series,l.datapoint,e)}t.trigger(e,[s,l])}function V(){var e=ne.interaction.redrawOverlayInterval;if(-1==e)return void K();be||(be=setTimeout(K,e))}function K(){be=null,le.save(),le.clearRect(0,0,he,fe),le.translate(ue.left,ue.top);var e,t;for(e=0;e<ve.length;++e)t=ve[e],t.series.bars.show?ee(t.series,t.point):J(t.series,t.point);le.restore(),r(_e.drawOverlay,[le])}function X(e,t,i){if("number"==typeof e&&(e=ie[e]),"number"==typeof t){var n=e.datapoints.pointsize;t=e.datapoints.points.slice(n*t,n*(t+1))}var o=Z(e,t);-1==o?(ve.push({series:e,point:t,auto:i}),V()):i||(ve[o].auto=!1)}function $(e,t){null==e&&null==t&&(ve=[],V()),"number"==typeof e&&(e=ie[e]),"number"==typeof t&&(t=e.data[t]);var i=Z(e,t);-1!=i&&(ve.splice(i,1),V())}function Z(e,t){for(var i=0;i<ve.length;++i){var n=ve[i];if(n.series==e&&n.point[0]==t[0]&&n.point[1]==t[1])return i}return-1}function J(t,i){var n=i[0],o=i[1],a=t.xaxis,r=t.yaxis,s="string"==typeof t.highlightColor?t.highlightColor:e.color.parse(t.color).scale("a",.5).toString();if(!(n<a.min||n>a.max||o<r.min||o>r.max)){var l=t.points.radius+t.points.lineWidth/2;le.lineWidth=l,le.strokeStyle=s;var c=1.5*l;n=a.p2c(n),o=r.p2c(o),le.beginPath(),"circle"==t.points.symbol?le.arc(n,o,c,0,2*Math.PI,!1):t.points.symbol(le,n,o,c,!1),le.closePath(),le.stroke()}}function ee(t,i){var n="string"==typeof t.highlightColor?t.highlightColor:e.color.parse(t.color).scale("a",.5).toString(),o=n,a="left"==t.bars.align?0:-t.bars.barWidth/2;le.lineWidth=t.bars.lineWidth,le.strokeStyle=n,F(i[0],i[1],i[2]||0,a,a+t.bars.barWidth,0,function(){return o},t.xaxis,t.yaxis,le,t.bars.horizontal,t.bars.lineWidth)}function te(t,i,n,o){if("string"==typeof t)return t;for(var a=se.createLinearGradient(0,n,0,i),r=0,s=t.colors.length;r<s;++r){var l=t.colors[r];if("string"!=typeof l){var c=e.color.parse(o);null!=l.brightness&&(c=c.scale("rgb",l.brightness)),null!=l.opacity&&(c.a*=l.opacity),l=c.toString()}a.addColorStop(r/(s-1),l)}return a}var ie=[],ne={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,timezone:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:!1},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1,zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},oe=null,ae=null,re=null,se=null,le=null,ce=[],de=[],ue={left:0,right:0,top:0,bottom:0},he=0,fe=0,pe=0,ge=0,_e={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},me=this;me.setData=s,me.setupGrid=T,me.draw=z,me.getPlaceholder=function(){return t},me.getCanvas=function(){return oe},me.getPlotOffset=function(){return ue},me.width=function(){return pe},me.height=function(){return ge},me.offset=function(){var e=re.offset();return e.left+=ue.left,e.top+=ue.top,e},me.getData=function(){return ie},me.getAxes=function(){var t={};return e.each(ce.concat(de),function(e,i){i&&(t[i.direction+(1!=i.n?i.n:"")+"axis"]=i)}),t},me.getXAxes=function(){return ce},me.getYAxes=function(){return de},me.c2p=u,me.p2c=h,me.getOptions=function(){return ne},me.highlight=X,me.unhighlight=$,me.triggerRedrawOverlay=V,me.pointOffset=function(e){return{left:parseInt(ce[c(e,"x")-1].p2c(+e.x)+ue.left,10),top:parseInt(de[c(e,"y")-1].p2c(+e.y)+ue.top,10)}},me.shutdown=y,me.resize=function(){v(),b(oe),b(ae)},me.hooks=_e,function(){for(var t=0;t<a.length;++t){var i=a[t];i.init(me),i.options&&e.extend(!0,ne,i.options)}}(),function(t){var i;for(e.extend(!0,ne,t),null==ne.xaxis.color&&(ne.xaxis.color=ne.grid.color),null==ne.yaxis.color&&(ne.yaxis.color=ne.grid.color),null==ne.xaxis.tickColor&&(ne.xaxis.tickColor=ne.grid.tickColor),null==ne.yaxis.tickColor&&(ne.yaxis.tickColor=ne.grid.tickColor),null==ne.grid.borderColor&&(ne.grid.borderColor=ne.grid.color),null==ne.grid.tickColor&&(ne.grid.tickColor=e.color.parse(ne.grid.color).scale("a",.22).toString()),i=0;i<Math.max(1,ne.xaxes.length);++i)ne.xaxes[i]=e.extend(!0,{},ne.xaxis,ne.xaxes[i]);for(i=0;i<Math.max(1,ne.yaxes.length);++i)ne.yaxes[i]=e.extend(!0,{},ne.yaxis,ne.yaxes[i]);for(ne.xaxis.noTicks&&null==ne.xaxis.ticks&&(ne.xaxis.ticks=ne.xaxis.noTicks),ne.yaxis.noTicks&&null==ne.yaxis.ticks&&(ne.yaxis.ticks=ne.yaxis.noTicks),ne.x2axis&&(ne.xaxes[1]=e.extend(!0,{},ne.xaxis,ne.x2axis),ne.xaxes[1].position="top"),ne.y2axis&&(ne.yaxes[1]=e.extend(!0,{},ne.yaxis,ne.y2axis),ne.yaxes[1].position="right"),ne.grid.coloredAreas&&(ne.grid.markings=ne.grid.coloredAreas),ne.grid.coloredAreasColor&&(ne.grid.markingsColor=ne.grid.coloredAreasColor),ne.lines&&e.extend(!0,ne.series.lines,ne.lines),ne.points&&e.extend(!0,ne.series.points,ne.points),ne.bars&&e.extend(!0,ne.series.bars,ne.bars),null!=ne.shadowSize&&(ne.series.shadowSize=ne.shadowSize),null!=ne.highlightColor&&(ne.series.highlightColor=ne.highlightColor),i=0;i<ne.xaxes.length;++i)f(ce,i+1).options=ne.xaxes[i];for(i=0;i<ne.yaxes.length;++i)f(de,i+1).options=ne.yaxes[i];for(var n in _e)ne.hooks[n]&&ne.hooks[n].length&&(_e[n]=_e[n].concat(ne.hooks[n]));r(_e.processOptions,[ne])}(o),function(){var i,n=t.children("canvas.flot-base"),o=t.children("canvas.flot-overlay");0==n.length||0==o?(t.html(""),t.css({padding:0}),"static"==t.css("position")&&t.css("position","relative"),v(),oe=m("flot-base"),ae=m("flot-overlay"),i=!1):(oe=n.get(0),ae=o.get(0),i=!0),se=oe.getContext("2d"),le=ae.getContext("2d"),re=e(ae),i&&(t.data("plot").shutdown(),me.resize(),le.clearRect(0,0,he,fe),re.unbind(),t.children().not([oe,ae]).remove()),t.data("plot",me)}(),s(n),T(),z(),function(){ne.grid.hoverable&&(re.mousemove(H),re.bind("mouseleave",R)),ne.grid.clickable&&re.click(U),r(_e.bindEvents,[re])}();var ve=[],be=null}function i(e,t){return t*Math.floor(e/t)}e.plot=function(i,n,o){return new t(e(i),n,o,e.plot.plugins)},e.plot.version="0.8-alpha",e.plot.plugins=[],e.fn.plot=function(t,i){return this.each(function(){e.plot(this,t,i)})}}(jQuery)},function(e,t){!function(e){function t(e){function t(e,t,o){var r=null;if(i(t)&&(c(t),n(e),a(e),l(t),_>=2)){var s=d(t),m=0,b=u();void 0===x[t.bars.order]&&(h(s)?x[t.bars.order]=-1*f(g,s-1,Math.floor(_/2)-1)-b:x[t.bars.order]=f(g,Math.ceil(_/2),s-2)+b+2*v),m=x[t.bars.order],r=p(o,t,m),o.points=r}return r}function i(e){return null!=e.bars&&e.bars.show&&null!=e.bars.order}function n(e){var t=y?e.getPlaceholder().innerHeight():e.getPlaceholder().innerWidth(),i=y?o(e.getData(),1):o(e.getData(),0),n=i[1]-i[0];b=n/t}function o(e,t){for(var i=new Array,n=0;n<e.length;n++)i[0]=e[n].data[0]?e[n].data[0][t]:null,i[1]=e[n].data[e[n].data.length-1]?e[n].data[e[n].data.length-1][t]:null;return i}function a(e){g=r(e.getData()),_=g.length}function r(e){for(var t=new Array,i=[],n=0;n<e.length;n++)null!=e[n].bars.order&&e[n].bars.show&&i.indexOf(e[n].bars.order)<0&&(i.push(e[n].bars.order),t.push(e[n]));return t.sort(s)}function s(e,t){var i=e.bars.order,n=t.bars.order;return i<n?-1:i>n?1:0}function l(e){m=void 0!==e.bars.lineWidth?e.bars.lineWidth:2,v=m*b}function c(e){e.bars.horizontal&&(y=!0)}function d(e){for(var t=0,i=0;i<g.length;++i)if(e==g[i]){t=i;break}return t+1}function u(){var e=0;return _%2!=0&&(e=g[Math.ceil(_/2)].bars.barWidth/2),e}function h(e){return e<=Math.ceil(_/2)}function f(e,t,i){for(var n=0,o=t;o<=i;o++)n+=e[o].bars.barWidth+2*v;return n}function p(e,t,i){for(var n=e.pointsize,o=e.points,a=0,r=y?1:0;r<o.length;r+=n)o[r]+=i,t.data[a][3]=o[r],a++;return o}var g,_,m,v,b=1,y=!1,x={};e.hooks.processDatapoints.push(t)}var i={series:{bars:{order:null}}};e.plot.plugins.push({init:t,options:i,name:"orderBars",version:"0.2"})}(jQuery)},function(e,t){!function(e){function t(e,t){return t*Math.floor(e/t)}function i(e,t,i,n){if("function"==typeof e.strftime)return e.strftime(t);var o=function(e,t){return e=""+e,t=""+(null==t?"0":t),1==e.length?t+e:e},a=[],r=!1,s=e.getHours(),l=s<12;null==i&&(i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),null==n&&(n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var c;c=s>12?s-12:0==s?12:s;for(var d=0;d<t.length;++d){var u=t.charAt(d);if(r){switch(u){case"a":u=""+n[e.getDay()];break;case"b":u=""+i[e.getMonth()];break;case"d":u=o(e.getDate());break;case"e":u=o(e.getDate()," ");break;case"H":u=o(s);break;case"I":u=o(c);break;case"l":u=o(c," ");break;case"m":u=o(e.getMonth()+1);break;case"M":u=o(e.getMinutes());break;case"q":u=""+(Math.floor(e.getMonth()/3)+1);break;case"S":u=o(e.getSeconds());break;case"y":u=o(e.getFullYear()%100);break;case"Y":u=""+e.getFullYear();break;case"p":u=l?"am":"pm";break;case"P":u=l?"AM":"PM";break;case"w":u=""+e.getDay()}a.push(u),r=!1}else"%"==u?r=!0:a.push(u)}return a.join("")}function n(e){function t(e,t,i,n){e[t]=function(){return i[n].apply(i,arguments)}}var i={date:e};void 0!=e.strftime&&t(i,"strftime",e,"strftime"),t(i,"getTime",e,"getTime"),t(i,"setTime",e,"setTime");for(var n=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"],o=0;o<n.length;o++)t(i,"get"+n[o],e,"getUTC"+n[o]),t(i,"set"+n[o],e,"setUTC"+n[o]);return i}function o(e,t){if("browser"==t.timezone)return new Date(e);if(t.timezone&&"utc"!=t.timezone){if("undefined"!=typeof timezoneJS&&void 0!==timezoneJS.Date){var i=new timezoneJS.Date;return i.setTimezone(t.timezone),i.setTime(e),i}return n(new Date(e))}return n(new Date(e))}function a(n){n.hooks.processDatapoints.push(function(n,a,r){e.each(n.getAxes(),function(e,n){var a=n.options;"time"==a.mode&&(n.tickGenerator=function(e){var i=[],n=o(e.min,a),r=0,l=a.tickSize&&"quarter"===a.tickSize[1]||a.minTickSize&&"quarter"===a.minTickSize[1]?d:c;null!=a.minTickSize&&(r="number"==typeof a.tickSize?a.tickSize:a.minTickSize[0]*s[a.minTickSize[1]]);for(var u=0;u<l.length-1&&!(e.delta<(l[u][0]*s[l[u][1]]+l[u+1][0]*s[l[u+1][1]])/2&&l[u][0]*s[l[u][1]]>=r);++u);var h=l[u][0],f=l[u][1];if("year"==f){if(null!=a.minTickSize&&"year"==a.minTickSize[1])h=Math.floor(a.minTickSize[0]);else{var p=Math.pow(10,Math.floor(Math.log(e.delta/s.year)/Math.LN10)),g=e.delta/s.year/p;h=g<1.5?1:g<3?2:g<7.5?5:10,h*=p}h<1&&(h=1)}e.tickSize=a.tickSize||[h,f];var _=e.tickSize[0];f=e.tickSize[1];var m=_*s[f];"second"==f?n.setSeconds(t(n.getSeconds(),_)):"minute"==f?n.setMinutes(t(n.getMinutes(),_)):"hour"==f?n.setHours(t(n.getHours(),_)):"month"==f?n.setMonth(t(n.getMonth(),_)):"quarter"==f?n.setMonth(3*t(n.getMonth()/3,_)):"year"==f&&n.setFullYear(t(n.getFullYear(),_)),n.setMilliseconds(0),m>=s.minute?n.setSeconds(0):m>=s.hour?n.setMinutes(0):m>=s.day?n.setHours(0):m>=4*s.day?n.setDate(1):m>=2*s.month?n.setMonth(t(n.getMonth(),3)):m>=2*s.quarter?n.setMonth(t(n.getMonth(),6)):m>=s.year&&n.setMonth(0);var v,b=0,y=Number.NaN;do{if(v=y,y=n.getTime(),i.push(y),"month"==f||"quarter"==f)if(_<1){n.setDate(1);var x=n.getTime();n.setMonth(n.getMonth()+("quarter"==f?3:1));var w=n.getTime();n.setTime(y+b*s.hour+(w-x)*_),b=n.getHours(),n.setHours(0)}else n.setMonth(n.getMonth()+_*("quarter"==f?3:1));else"year"==f?n.setFullYear(n.getFullYear()+_):n.setTime(y+m)}while(y<e.max&&y!=v);return i},n.tickFormatter=function(e,t){var n=o(e,t.options);if(null!=a.timeformat)return i(n,a.timeformat,a.monthNames,a.dayNames);var r,l=t.options.tickSize&&"quarter"==t.options.tickSize[1]||t.options.minTickSize&&"quarter"==t.options.minTickSize[1],c=t.tickSize[0]*s[t.tickSize[1]],d=t.max-t.min,u=a.twelveHourClock?" %p":"",h=a.twelveHourClock?"%I":"%H";return r=c<s.minute?h+":%M:%S"+u:c<s.day?d<2*s.day?h+":%M"+u:"%b %d "+h+":%M"+u:c<s.month?"%b %d":l&&c<s.quarter||!l&&c<s.year?d<s.year?"%b":"%b %Y":l&&c<s.year?d<s.year?"Q%q":"Q%q %Y":"%Y",i(n,r,a.monthNames,a.dayNames)})})})}var r={},s={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3},l=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]],c=l.concat([[3,"month"],[6,"month"],[1,"year"]]),d=l.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);e.plot.plugins.push({init:a,options:r,name:"time",version:"1.0"}),e.plot.formatDate=i}(jQuery)},function(e,t){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){"use strict";e.extend({giveAjaxifyFields:function(t){var n,o,a={type:"",parentWrapper:"form",countryFieldName:"country",stateFieldName:"state",stateFieldWrapper:".give-field-wrap",chosenState:!0},r=e.extend({},a,t||{});switch(r.type){case"country_state":if(n=e('select[name="'+r.countryFieldName+'"]'),o=n.closest(r.parentWrapper),!n.length||"Country_state"===n.data("give-ajaxify-field"))return;n.data("give-ajaxify-field","country_state"),n.change(function(){var t=e(this),n=t.closest(r.parentWrapper).find('[name="'+r.stateFieldName+'"]'),a=n.closest(r.stateFieldWrapper),s=e("label",a);r.stateFieldWrapper||(s=e('label[for="'+r.stateFieldName+'"]',o),a=n.parent());var l={action:"give_get_states",country:t.val(),field_name:r.stateFieldName};e.post(ajaxurl,l,function(t){if(!t.show_field)return void(r.stateFieldWrapper?a.addClass("give-hidden"):n.addClass("give-hidden"));s.length&&s.text(t.states_label),r.chosenState&&n.chosen("destroy"),r.stateFieldWrapper?a.removeClass("give-hidden"):n.removeClass("give-hidden"),void 0!==i(t.states_found)&&!0===t.states_found?(n.replaceWith(t.data),n=e('[name="'+r.stateFieldName+'"]',a),r.chosenState&&n.chosen()):(n.replaceWith('<input type="text" name="'+r.stateFieldName+'" value="'+t.default_state+'" class="medium-text"/>'),n=e('[name="'+r.stateFieldName+'"]',a))})})}return this}})}(jQuery)},function(e,t){var i={collection:{},get:function(e,t,i){return jQuery?(t=void 0!==t?t:void 0,i=!0===i,(void 0===this.collection[e]||i)&&(this.collection[e]=void 0!==t?jQuery(e,t):jQuery(e)),this.collection[e]):-1}};window.Give_Selector_Cache=i},function(e,t){!function(e){e.fn.repeatable_fields=function(t){function i(t){e(a.wrapper,t).each(function(t,o){var r=this,s=e(r).children(a.container);e(s).children(a.template).hide().find(":input").each(function(){e(this).prop("disabled",!0)});var l=e(s).children(a.row).filter(function(){return!e(this).hasClass(a.template.replace(".",""))}).length;if(e(s).attr("data-rf-row-count",l),e(r).on("click",a.add,function(t){t.stopImmediatePropagation();var o=e(e(s).children(a.template).clone().removeClass(a.template.replace(".",""))[0].outerHTML);e(o).find(":input").each(function(){e(this).prop("disabled",!1)}),"function"==typeof a.before_add&&a.before_add(s);var r=e(o).show().appendTo(s);"function"==typeof a.after_add&&a.after_add(s,r,n),i(r)}),e(r).on("click",a.remove,function(t){if(t.stopImmediatePropagation(),a.confirm_before_remove_row&&a.confirm_before_remove_row_text&&!confirm(a.confirm_before_remove_row_text))return!1;var i=e(this).parents(a.row).first();"function"==typeof a.before_remove&&a.before_remove(s,i),i.remove(),"function"==typeof a.after_remove&&a.after_remove(s)}),!0===a.is_sortable&&void 0!==e.ui&&void 0!==e.ui.sortable){var c=null!==a.sortable_options?a.sortable_options:{};c.handle=a.move,e(r).find(a.container).sortable(c)}})}function n(t,i){var n=e(t).attr("data-rf-row-count");n++,e("*",i).each(function(){e.each(this.attributes,function(e,t){this.value=this.value.replace(a.row_count_placeholder,n-1)})}),e(t).attr("data-rf-row-count",n)}var o={wrapper:".wrapper",container:".container",row:".row",add:".add",remove:".remove",confirm_before_remove_row:!1,confirm_before_remove_row_text:"",move:".move",template:".template",is_sortable:!0,before_add:null,after_add:n,before_remove:null,after_remove:null,sortable_options:null,row_count_placeholder:"{{row-count-placeholder}}"},a=e.extend({},o,t);i(this)}}(jQuery)},function(e,t){/*!
12
  * Give Admin Forms JS
13
  *
14
  * @description: The Give Admin Forms scripts. Only enqueued on the give_forms CPT; used to validate fields, show/hide, and other functions
@@ -46,5 +46,5 @@ jQuery(document).ready(function(e){function t(){var t=e("form#give-export_donati
46
  * @copyright: Copyright (c) 2016, WordImpress
47
  * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License
48
  */
49
- !function(e){var t=function(){e(".widget-liquid-right").on("change",".give_forms_display_style_setting_row input",function(){var t=e(this).parents("p"),i=t.next();"onpage"===e("input:checked",t).val()?i.hide():i.show()})};e(function(){t(),e(".give_forms_display_style_setting_row input",".widget-liquid-right").trigger("change")}),e(document).ajaxSuccess(function(i,n,o){t(),e(".give_forms_display_style_setting_row input",".widget-liquid-right").trigger("change")})}(jQuery)},function(e,t,i){"use strict";function n(){var e=jQuery(".give-settings-page"),t=jQuery("h2.give-nav-tab-wrapper"),i=e.width(),n=jQuery(".give-sub-nav-tab-wrapper"),a=jQuery("nav",n),r=jQuery("div.give-nav-tab-wrapper > a:not(give-not-tab)"),s=[],l=[],c=0;if(600<jQuery(window).outerWidth()&&(c=200),!e.length)return!1;t.css({height:"auto",overflow:"visible"}),r.removeClass("give-hidden"),new Promise(function(e,t){jQuery.each(r,function(e,t){t=jQuery(t),c+=parseInt(t.outerWidth()),c<i?s.push(t):l.push(t)}),e(!0)}).then(function(e){if(l.length&&-1!==window.location.search.indexOf("&tab=")){var i={},r=o();l=l.filter(function(e){var t=-1!==parseInt(e.attr("href").indexOf("&tab="+r.tab));return t&&(i=e),!t}),i.length&&(l.unshift(s.pop()),s.push(i))}new Promise(function(e,t){s.length&&jQuery.each(s,function(e,t){t=jQuery(t),t.hasClass("give-hidden")&&t.removeClass("give-hidden")}),e(!0)}).then(function(e){l.length?(a.html(""),jQuery.each(l,function(e,t){t=jQuery(t),t.hasClass("nav-tab-active")||t.addClass("give-hidden"),t.clone().removeClass().appendTo(a)}),jQuery(".give-sub-nav-tab-wrapper",t).length||t.append(n),n.show()):n.hide()})})}function o(){for(var e,t=[],i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<i.length;n++)e=i[n].split("="),t[e[0]]=e[1];return t}var a=i(10),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=!1;!function(e){function t(e,t){return e=accounting.unformat(e,give_vars.decimal_separator).toString(),t="undefined"!==t&&t,e=!1!==t?parseFloat(e).toFixed(t):parseFloat(e).toFixed(give_vars.currency_decimals)}var i=function(t,i){i=jQuery.extend({wrapper:!0,show:!1},i);var n=i.wrapper?e(".give-spinner-wrapper",t):{},o=e(".give-spinner",t);if(i.show)return n.length&&n.addClass("is-active"),void o.addClass("is-active");n.length&&n.removeClass("is-active"),o.removeClass("is-active")},o=function(){e("body").on("click","button.notice-dismiss",function(){"give-invalid-license"!==jQuery(this).closest("div.give-notice").data("notice-id")&&l(jQuery(this).closest("div.give-notice").attr("id"))})},l=function(e){var t=document.location.href,i=t.split("?"),e=void 0===e?"":e.replace("give-","");if(i.length>=2){for(var n=i.shift(),o=i.join("?"),a=encodeURIComponent("give-message")+"=",r=o.split(/[&;]/g),s=r.length;s-- >0;)(-1!==r[s].lastIndexOf(a,0)||""!==e&&-1!==r[s].lastIndexOf("give-messages",0)&&r[s].match(e+"$"))&&r.splice(s,1);t=n+"?"+r.join("&"),window.history.pushState("",document.title,t)}return t},c=function(){var t=e(".give_datepicker");t.length>0&&t.datepicker({dateFormat:give_vars.date_format})},d=function(){var t=e(".give-select-chosen");t.hasClass("give-chosen-settings")?t.chosen({no_results_text:give_vars.chosen_add_title_prefix+" ",width:"30%"}).on("chosen:no_results",function(t,i){e(i.chosen.container).on("keydown",function(n){var o=i.chosen.get_search_text();13!==n.keyCode||jQuery(i.chosen.form_field).find('option[value="'+o+'"]').length||(e(i.chosen.form_field).append('<option value="'+o+'" selected>'+o+"</option>").trigger("chosen:updated"),i.chosen.result_highlight=i.chosen.search_results.find("li.active-result").lasteturn,i.chosen.result_select(t))})}):(t.on("chosen:ready",function(){e(this).next(".chosen-container").find("input.chosen-search-input").after('<span class="spinner"></span>')}),t.chosen({inherit_select_classes:!0,placeholder_text_single:give_vars.one_option,placeholder_text_multiple:give_vars.one_or_more_option}),t.on("chosen:no_results",function(){var t=e(this).next(".chosen-container"),i=t.find("li.no-results"),n="";n=t.hasClass("give-select-chosen-ajax")&&i.length?give_vars.chosen.ajax_search_msg.replace("{search_term}",'"'+e("input",t).val()+'"'):give_vars.chosen.no_results_msg.replace("{search_term}",'"'+e("input",t).val()+'"'),i.html(n);var o;e(document.body).on("keyup",".give-select.chosen-container .chosen-search input, .give-select.chosen-container .search-field input",function(t){var i=e(this).val(),n=e(this).closest(".give-select-chosen"),a=n.prev(),r=n.find('input[type="text"]'),s=(n.hasClass("variations"),t.which),l="give_form_search",c=this;if(n.prev().data("search-type")){if("no_ajax"===a.data("search-type"))return;l="give_"+a.data("search-type")+"_search"}i.length<=3||!l.length||9===s||13===s||16===s||17===s||18===s||19===s||20===s||27===s||33===s||34===s||35===s||36===s||37===s||38===s||39===s||40===s||44===s||45===s||144===s||145===s||91===s||93===s||224===s||112<=s&&123>=s||(clearTimeout(o),n.addClass("give-select-chosen-ajax"),o=setTimeout(function(){e.ajax({type:"POST",url:ajaxurl,data:{action:l,s:i,fields:e(c).closest("form").serialize()},dataType:"json",beforeSend:function(){a.closest("ul.chosen-results").empty(),r.prop("disabled",!0)},success:function(t){n.removeClass("give-select-chosen-ajax"),e("option:not(:selected)",a).remove(),t.length?(e.each(t,function(t,i){e('option[value="'+i.id+'"]',a).length||a.prepend('<option value="'+i.id+'">'+i.name+"</option>")}),n.prev("select.give-select-chosen").trigger("chosen:updated")):n.prev("select.give-select-chosen").trigger("chosen:no_results"),r.prop("disabled",!1),r.val(i).focus()}}).fail(function(e){window.console&&window.console.log&&console.log(e)}).done(function(e){r.prop("disabled",!1)})},342))}),e(".give-select-chosen .chosen-search input").each(function(){var t=e(this).parent().parent().parent().prev("select.give-select-chosen").data("search-type"),i="";"form"===t?i=give_vars.search_placeholder:(t="search_placeholder_"+t,give_vars[t]&&(i=give_vars[t])),e(this).attr("placeholder",i)})})),e(".chosen-container").each(function(){0===e(this).width()&&e(this).css("width","100%")}),e("#post").on("click",".give-thickbox",function(){e(".give-select-chosen","#choose-give-form").css("width","100%")})},u={init:function(){this.deleteSingleDonation(),this.resendSingleDonationReceipt()},deleteSingleDonation:function(){new a.GiveConfirmModal({triggerSelector:".delete-single-donation",modalWrapper:"give-modal--warning",modalContent:{title:give_vars.confirm_delete_donation,desc:give_vars.delete_payment},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})},resendSingleDonationReceipt:function(){new a.GiveConfirmModal({triggerSelector:".resend-single-donation-receipt",modalContent:{title:give_vars.confirm_resend,desc:give_vars.resend_receipt},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})}},h={init:function(){this.edit_address(),this.add_note(),this.remove_note(),this.new_donor(),this.resend_receipt(),this.variable_price_list()},edit_address:function(){e('select[name="give-payment-address[0][country]"]').change(function(){var t=e(this);return data={action:"give_get_states",country:t.val(),field_name:"give-payment-address[0][state]"},e.post(ajaxurl,data,function(i){t.closest(".column-container").find("#give-order-address-state-wrap").removeClass("give-hidden"),t.closest(".column-container").find(".give-column").removeClass("column-full"),t.closest(".column-container").find(".give-column").addClass("column");var n=e("#give-order-address-state-wrap");n.find("*").not(".order-data-address-line").remove(),void 0!==r(i.states_found)&&!0===i.states_found?(n.append(i.data),n.find("select").chosen()):(n.append('<input type="text" name="give-payment-address[0][state]" value="'+i.default_state+'" class="give-edit-toggles medium-text"/>'),void 0!==r(i.show_field)&&!1===i.show_field&&(t.closest(".column-container").find("#give-order-address-state-wrap").addClass("give-hidden"),t.closest(".column-container").find(".give-column").addClass("column-full"),t.closest(".column-container").find(".give-column").removeClass("column")))}),!1})},add_note:function(){e("#give-add-payment-note").on("click",function(t){t.preventDefault();var i={action:"give_insert_payment_note",payment_id:e(this).data("payment-id"),note:e("#give-payment-note").val()};if(i.note)e.ajax({type:"POST",data:i,url:ajaxurl,success:function(t){e("#give-payment-notes-inner").append(t),e(".give-no-payment-notes").hide(),e("#give-payment-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=e("#give-payment-note").css("border-color");e("#give-payment-note").css("border-color","red"),setTimeout(function(){e("#give-payment-note").css("border-color",n)},500)}})},remove_note:function(){e("body").on("click",".give-delete-payment-note",function(t){t.preventDefault();var i=this;new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_deletion,desc:give_vars.delete_payment_note},successConfirm:function(t){var n={action:"give_delete_payment_note",payment_id:e(i).data("payment-id"),note_id:e(i).data("note-id")};e.ajax({type:"POST",data:n,url:ajaxurl,success:function(t){return e("#give-payment-note-"+n.note_id).remove(),e(".give-payment-note").length||e(".give-no-payment-notes").show(),!1}}).fail(function(e){window.console&&window.console.log&&console.log(e)})}}).render()})},new_donor:function(){e("#give-donor-details").on("click",".give-payment-new-donor, .give-payment-new-donor-cancel",function(t){t.preventDefault(),e(".donor-info").toggle(),e(".new-donor").toggle(),e(".new-donor").is(":visible")?e("#give-new-donor").val(1):e("#give-new-donor").val(0)})},resend_receipt:function(){e("body").on("click","#give-resend-receipt",function(t){var i=this;t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_action,desc:give_vars.resend_receipt},successConfirm:function(){window.location.assign(e(i).attr("href"))}}).render()})},variable_price_list:function(){e("#give_payment_form_select").chosen().change(function(){var t,i=e(".give-donation-level");return!!(t=e(this).val())&&(!!i.length&&void e.ajax({type:"POST",url:ajaxurl,data:{form_id:t,payment_id:e('input[name="give_payment_id"]').val(),action:"give_check_for_form_price_variations_html"},success:function(t){t=t.trim(),t?(i.html(t),e('select[name="give-variable-price"]').chosen().change()):i.html("")}}))}),e("#give-donation-overview").on("change",'select[name="give-variable-price"]',function(){var t=jQuery(this).data("prices"),i=e("#give-payment-total");""!==t&&e(this).val()in t&&(i.val(t[e(this).val()]).css("background-color","yellow"),window.setTimeout(function(){i.css("background-color","white")},1e3))})}},f={init:function(){this.toggle_gateways(),this.setting_change_country(),this.toggle_options(),this.main_setting_update_notice(),this.verify_settings(),this.saveButtonTriggered(),this.changeAlert(),this.detectSettingsChange(),this.sequentialDonationIDPreview()},toggle_gateways:function(){e(".gateways-checkbox").on("click",function(){var t=e(this).prev(".gateways-radio"),i=(this.checked,e(".gateways-checkbox:checked"));1===i.length?(i.prev(".gateways-radio").attr("checked","checked"),this.checked?t.removeAttr("disabled"):t.attr("disabled","disabled")):this.checked?(t.removeAttr("disabled"),t.removeAttr("checked")):t.attr("disabled","disabled")})},setting_change_country:function(){e('select[name="base_country"]').change(function(){var t=e(this),i={action:"give_get_states",country:t.val(),field_name:"base_state"};return e.post(ajaxurl,i,function(n){t.closest("tr").next().show(),e("#base_state_chosen").remove(),void 0!=r(n.states_found)&&1==n.states_found?(e(':input[name="base_state"]').replaceWith(n.data).addClass("give-select-chosen"),e(':input[name="base_state"]').chosen()):(void 0!=r(n.show_field)&&0==n.show_field&&t.closest("tr").next().hide(),e(':input[name="base_state"]').replaceWith('<input type="text" name="'+i.field_name+'" value="'+n.default_state+'" class="give-edit-toggles medium-text"/>'))}),!1})},toggle_options:function(){e('input[name="email_access"]',".give-setting-tab-body-general").on("change",function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),i=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t?(e('input[name="enable_recaptcha"]').parents("tr").show(),"enabled"===i?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide(),e('input[name="enable_recaptcha"]').parents("tr").hide())}).change(),e('input[name="enable_recaptcha"]',".give-setting-tab-body-general").on("change",function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),i=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t&&"enabled"===i?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())}).change(),e('input[name="form_featured_img"]',".give-setting-tab-body-display").on("change",function(){"enabled"===e('input[name="form_featured_img"]:checked',".give-setting-tab-body-display").val()?e("#featured_image_size").parents("tr").show():e("#featured_image_size").parents("tr").hide()}).change(),e('input[name="terms"]',".give-setting-tab-body-display").on("change",function(){"enabled"===e('input[name="terms"]:checked',".give-setting-tab-body-display").val()?(e("#agree_to_terms_label").parents("tr").show(),e("#wp-agreement_text-wrap").parents("tr").show()):(e("#agree_to_terms_label").parents("tr").hide(),e("#wp-agreement_text-wrap").parents("tr").hide())}).change(),e('input[name="admin_notices"]',".give-setting-tab-body-emails").on("change",function(){"enabled"===e('input[name="admin_notices"]:checked',".give-setting-tab-body-emails").val()?(e("#donation_notification_subject").parents("tr").show(),e("#wp-donation_notification-wrap").parents("tr").show(),e("#admin_notice_emails").parents("tr").show()):(e("#donation_notification_subject").parents("tr").hide(),e("#wp-donation_notification-wrap").parents("tr").hide(),e("#admin_notice_emails").parents("tr").hide())}).change(),e('input[name="sequential-ordering_status"]',".give-setting-tab-body-general").on("change",function(){var t=e('input[name="sequential-ordering_status"]:checked',".give-setting-tab-body-general").val(),i=e(this).closest("table");"enabled"===t?e("input",i).not('input[name="sequential-ordering_status"]').parents("tr").show():e("input",i).not('input[name="sequential-ordering_status"]').parents("tr").hide()}).change()},main_setting_update_notice:function(){var t=e("#setting-error-give-setting-updated");t.length&&window.setTimeout(function(){t.slideUp()},5e3)},verify_settings:function(){var t=e("#success_page"),i=e("#failure_page");t.add(i).change(function(){if(t.val()===i.val()){var n='<div id="setting-error-give-matched-success-failure-page" class="updated settings-error notice is-dismissible"> <p><strong>'+give_vars.matched_success_failure_page+'</strong></p> <button type="button" class="notice-dismiss"><span class="screen-reader-text">'+give_vars.dismiss_notice_text+"</span></button> </div>",o=e("#setting-error-give-matched-success-failure-page");if(e(this).val(""),o.length)return!1;e("h1","#give-mainform").after(n),o=e("#setting-error-give-matched-success-failure-page"),e(".notice-dismiss",o).click(function(){o.remove()})}}).change()},saveButtonTriggered:function(){e(".give-settings-setting-page").on("click",".give-save-button",function(){e(window).unbind("beforeunload")})},changeAlert:function(){e(window).bind("beforeunload",function(e){var t=give_vars.setting_not_save_message;if(s)return(e||window.event).returnValue=t,t})},detectSettingsChange:function(){var t=e(".give-settings-setting-page");if(t.length>0){var i=e("#give-mainform").serialize();t.on("change keyup blur","form",function(){var t=e("#give-mainform").serialize();s=i!==t})}},sequentialDonationIDPreview:function(){var t=jQuery("#sequential-ordering_preview");t.length&&(jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number, #sequential-ordering_number_padding, #sequential-ordering_number_suffix").on("keyup change",function(){var e=jQuery("#sequential-ordering_number_prefix").val(),i=jQuery("#sequential-ordering_number").val().trim()||"1",n=jQuery("#sequential-ordering_number_padding").val().trim(),o=jQuery("#sequential-ordering_number_suffix").val(),a=""+e+i.padStart(n,"0")+o;t.val(a)}),jQuery("#sequential-ordering_number_prefix").trigger("keyup"),jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number_suffix").on("blur",function(){e(this).val(e(this).val().replace(new RegExp(" ","g"),"-"))}))}},p={init:function(){this.date_options(),this.donors_export(),this.recount_stats()},date_options:function(){e("#give-graphs-date-options").change(function(){"other"===e(this).val()?e("#give-date-range-options").show():e("#give-date-range-options").hide()})},donors_export:function(){e("#give_donor_export_form").change(function(){var t=e(this),i=e("option:selected",t).val(),n=e("#give_customer_export_option");"0"===t.val()?n.show():n.hide();var o=e(".give_price_options_select");if(0!=parseInt(i)){var a={action:"give_check_for_form_price_variations",form_id:i,all_prices:!0};e.post(ajaxurl,a,function(t){o.remove(),e("#give_donor_export_form_chosen").after(t)})}else o.remove()})},recount_stats:function(){e("body").on("change","#recount-stats-type",function(){var t=e("#give-tools-recount-form"),i=e("option:selected",this).data("type"),n=e("#recount-stats-submit"),o=e(".tools-form-dropdown");if(t.find(".notice-wrap").remove(),n.removeClass("button-disabled").attr("disabled",!1),o.hide(),e(".give-recount-stats-descriptions span").hide(),"reset-stats"===i){t.append('<div class="notice-wrap"></div>');var a=t.find(".notice-wrap");a.html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+give_vars.reset_stats_warn+"</label></p></div>"),n.addClass("button-disabled").attr("disabled","disabled")}else if("delete-test-donors"===i){t.append('<div class="notice-wrap"></div>');var a=t.find(".notice-wrap");a.html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+give_vars.delete_test_donor+"</label></p></div>"),n.addClass("button-disabled").attr("disabled","disabled")}else if("delete-import-donors"===i){t.append('<div class="notice-wrap"></div>');var a=t.find(".notice-wrap");a.html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+give_vars.delete_import_donor+"</label></p></div>"),n.addClass("button-disabled").attr("disabled","disabled")}else o.hide(),o.val(0);var r=e(".tools-form-dropdown-"+i);r.show(),r.find(".give-select-chosen").css({width:"auto","min-width":"250px"}),e("#"+i).show()}),e("body").on("change","#confirm-reset",function(){e(this).is(":checked")?e("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")}),e("#give-tools-recount-form").submit(function(t){var i=e("#recount-stats-type").val(),n=e(this),o=e("option:selected",this).data("type");if("reset-stats"===o){if(e("#confirm-reset").is(":checked"))return!0;r=!0}n.find(".notice-wrap").remove(),n.append('<div class="notice-wrap"></div>');var a=n.find(".notice-wrap"),r=!1;if(null!==i&&0!==i||(a.html('<div class="updated error"><p>'+give_vars.batch_export_no_class+"</p></div>"),r=!0),"recount-form"===o){0==e('select[name="form_id"]').val()&&(a.html('<div class="updated error"><p>'+give_vars.batch_export_no_reqs+"</p></div>"),r=!0)}if(r)return n.find(".button-disabled").removeClass("button-disabled"),!1})}},g={init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;e(document.body).on("submit",".give-export-form",function(i){i.preventDefault();var n=e(this).find('input[type="submit"]');if(!n.hasClass("button-disabled")){var o=e(this).serialize();n.addClass("button-disabled"),e("form.give-export-form select").attr("disabled",!0).trigger("chosen:updated");var a=e(this);e(this).find(".add-notices").length>0&&(a=e(this).find(".add-notices")),a.find(".notice-wrap").remove(),a.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.process_step(1,o,t,this)}})},process_step:function(t,i,n,o){s=!0;var a=!1;e.ajax({type:"POST",url:ajaxurl,data:{form:i,action:"give_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step||t.error||t.success){s=!1,a=!0;var r=e(o).parent().find(".notice-wrap");r.find(".give-progress");if(e(o).find(".button-disabled").removeClass("button-disabled"),e(o).find("select").attr("disabled",!1).trigger("chosen:updated"),t.error){var l=t.message;r.html('<div class="updated error"><p>'+l+"</p></div>")}else if(t.success){var c=t.message;r.html('<div id="give-batch-success" class="updated notice is-dismissible"><p>'+c+'<span class="notice-dismiss"></span></p></div>')}else r.remove(),window.location=t.url}else e(".give-progress div").animate({width:t.percentage+"%"},50,function(){}),n.process_step(parseInt(t.step),i,n,o);!0===a&&e("#give-tools-recount-form").length>0&&(e("#give-tools-recount-form")[0].reset(),e("#give-tools-recount-form .tools-form-dropdown").hide(),e("#give-tools-recount-form .tools-form-dropdown-recount-form-select").val("0").trigger("chosen:updated"))}}).fail(function(t){s=!1,window.console&&window.console.log&&console.log(t),e(".notice-wrap").append(t.responseText)})},dismiss_message:function(){e("body").on("click","#give-batch-success .notice-dismiss",function(){e("#give-batch-success").parent().slideUp("fast")})}},_={el:{},init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;t.el.main_container=Give_Selector_Cache.get("#give-db-updates"),t.el.update_link=Give_Selector_Cache.get(".give-update-now",t.el.main_container),t.el.run_upload_container=Give_Selector_Cache.get(".give-run-database-update",t.el.progress_main_container),t.el.progress_main_container=Give_Selector_Cache.get(".progress-container",t.el.main_container),t.el.heading=Give_Selector_Cache.get(".update-message",t.el.progress_main_container),t.el.progress_container=Give_Selector_Cache.get(".progress-content",t.el.progress_main_container),t.el.update_progress_counter=Give_Selector_Cache.get(e(".give-update-progress-count")),t.el.main_container.data("resume-update")&&(t.el.update_link.addClass("active").hide().removeClass("give-hidden"),e("#give-restart-upgrades").length||(give_vars.ajax.length||window.setTimeout(_.start_db_update,1e3),window.setTimeout(_.get_db_updates_info,1e3,t))),t.el.update_link.hasClass("active")||(t.el.update_link.on("click","",function(e){e.preventDefault(),t.el.run_upload_container.find(".notice").remove(),t.el.run_upload_container.append('<div class="notice notice-error non-dismissible give-run-update-containt"><p> <a href="#" class="give-run-update-button button">'+give_vars.db_update_confirmation_msg_button+"</a> "+give_vars.db_update_confirmation_msg+"</p></div>")}),e("#give-db-updates").on("click","a.give-run-update-button",function(i){return i.preventDefault(),!e(this).hasClass("active")&&(e(this).addClass("active").fadeOut(),t.el.update_link.addClass("active").fadeOut(),e("#give-db-updates .give-run-update-containt").slideUp(),t.el.progress_container.find(".notice-wrap").remove(),t.el.progress_container.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.el.progress_main_container.removeClass("give-hidden"),_.start_db_update(),window.setTimeout(_.get_db_updates_info,500,t),!1)}))},start_db_update:function(){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_run_db_updates",run_db_update:1,nonce:give_vars.db_update_nonce},dataType:"json",success:function(e){}}).always(function(){give_vars.ajax.length||window.setTimeout(_.start_db_update,1e3)})},get_db_updates_info:function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_db_updates_info"},dataType:"json",success:function(i){var n=Give_Selector_Cache.get(".notice-wrap",t.el.progress_container,!0);-1!==e.inArray("success",Object.keys(i))?i.success?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text("100%"),-1!==e.inArray("heading",Object.keys(i.data))&&t.el.heading.html("<strong>"+i.data.heading+"</strong>"),t.el.update_link.closest("p").remove(),n.html('<div class="notice notice-success is-dismissible"><p>'+i.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(i.data))&&t.el.heading.html("<strong>"+i.data.heading+"</strong>"),i.data.message?(t.el.update_link.closest("p").remove(),n.html('<div class="notice notice-error is-dismissible"><p>'+i.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):setTimeout(function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")},1e3)):i&&-1!==e.inArray("percentage",Object.keys(i.data))?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text(i.data.total_percentage+"%"),-1!==e.inArray("heading",Object.keys(i.data))&&t.el.heading.html("<strong>"+i.data.heading+"</strong>"),e(".give-progress div","#give-db-updates").animate({width:i.data.percentage+"%"},50,function(){}),window.setTimeout(_.get_db_updates_info,1e3,t)):(n.html('<div class="notice notice-error"><p>'+give_vars.updates.ajax_error+"</p></div>"),setTimeout(function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")},1e3))}})},process_step:function(t,i,n){s=!0,e.ajax({type:"POST",url:ajaxurl,data:{action:"give_do_ajax_updates",step:parseInt(t),update:parseInt(i)},dataType:"json",success:function(t){s=!1;var i=Give_Selector_Cache.get(".notice-wrap",n.el.progress_container,!0);-1!==e.inArray("success",Object.keys(t))?t.success?(-1!==e.inArray("heading",Object.keys(t.data))&&n.el.heading.html("<strong>"+t.data.heading+"</strong>"),n.el.update_link.closest("p").remove(),i.html('<div class="notice notice-success is-dismissible"><p>'+t.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(t.data))&&n.el.heading.html("<strong>"+t.data.heading+"</strong>"),i.html('<div class="notice notice-error"><p>'+t.data.message+"</p></div>"),setTimeout(function(){n.el.update_link.removeClass("active").show(),n.el.progress_main_container.addClass("give-hidden")},5e3)):t&&-1!==e.inArray("percentage",Object.keys(t.data))?(e(".give-progress div","#give-db-updates").animate({width:t.data.percentage+"%"},50,function(){}),-1!==e.inArray("heading",Object.keys(t.data))&&n.el.heading.html("<strong>"+t.data.heading.replace("{update_count}",n.el.heading.data("update-count"))+"</strong>"),n.process_step(parseInt(t.data.step),t.data.update,n)):(i.html('<div class="notice notice-error"><p>'+give_vars.updates.ajax_error+"</p></div>"),setTimeout(function(){n.el.update_link.removeClass("active").show(),n.el.progress_main_container.addClass("give-hidden")},5e3))}}).fail(function(e){s=!1,window.console&&window.console.log&&console.log(e),Give_Selector_Cache.get(".notice-wrap",self.el.progress_container).append(e.responseText)}).always(function(){})},dismiss_message:function(){e("body").on("click","#poststuff .notice-dismiss",function(){e(this).parent().slideUp("fast")})}},m={init:function(){this.restartUpgrade(),this.stopUpgrade(),this.restartUpdater()},restartUpgrade:function(){jQuery("#give-restart-upgrades").click("click",function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").show(),jQuery(".give-update-paused-text-p").hide(),new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_action,desc:give_vars.restart_upgrade},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()})},stopUpgrade:function(){jQuery("#give-pause-upgrades").click("click",function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").hide(),jQuery(".give-update-paused-text-p").show(),new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_action,desc:give_vars.stop_upgrade},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()})},restartUpdater:function(){jQuery(".give-restart-updater-btn,.give-run-update-now").click("click",function(e){var t=this;e.preventDefault(),new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_action,desc:give_vars.restart_update},successConfirm:function(){window.location.assign(jQuery(t).attr("href"))}}).render()})}},v=function(){e('select[name="give-payment-status"]').on("change",function(){var t=e(this).val();e(".give-donation-status").removeClass(function(e,t){return(t.match(/\bstatus-\S+/g)||[]).join(" ")}).addClass("status-"+t)})},b={init:function(){this.unlockDonorFields(),this.editDonor(),this.add_email(),this.removeUser(),this.cancelEdit(),this.add_note(),this.delete_checked(),this.addressesAction(),this.bulkDeleteDonor(),e("body").on("click",'#give-donors-filter .bulkactions input[type="submit"]',this.handleBulkActions)},unlockDonorFields:function(t){e("body").on("click",".give-lock-block",function(e){new a.GiveErrorAlert({modalContent:{title:give_vars.unlock_donor_fields_title,desc:give_vars.unlock_donor_fields_message,cancelBtnTitle:give_vars.ok}}).render(),e.preventDefault()})},editDonor:function(){e("body").on("click","#edit-donor",function(t){t.preventDefault(),e("#give-donor-card-wrapper .editable").hide(),e("#give-donor-card-wrapper .edit-item").fadeIn().css("display","block")})},removeUser:function(){e("body").on("click","#disconnect-donor",function(t){if(t.preventDefault(),!confirm(give_vars.disconnect_user))return!1;var i=e('input[name="customerinfo[id]"]').val(),n={give_action:"disconnect-userid",customer_id:i,_wpnonce:e("#edit-donor-info #_wpnonce").val()};e.post(ajaxurl,n,function(e){window.location.href=e.redirect},"json")})},cancelEdit:function(){e("body").on("click","#give-edit-donor-cancel",function(t){t.preventDefault(),e("#give-donor-card-wrapper .edit-item").hide(),e("#give-donor-card-wrapper .editable").show(),e(".give_user_search_results").html("")})},add_note:function(){e("body").on("click","#add-donor-note",function(t){t.preventDefault();var i={give_action:"add-donor-note",customer_id:e("#donor-id").val(),donor_note:e("#donor-note").val(),add_donor_note_nonce:e("#add_donor_note_nonce").val()};if(i.donor_note)e.ajax({type:"POST",data:i,url:ajaxurl,success:function(t){e("#give-donor-notes").prepend(t),e(".give-no-donor-notes").hide(),e("#donor-note").val("")}}).fail(function(e){window.console&&window.console.log&&console.log(e)});else{var n=e("#donor-note").css("border-color");e("#donor-note").css("border-color","red"),setTimeout(function(){e("#donor-note").css("border-color",n)},500)}})},delete_checked:function(){e("#give-donor-delete-confirm").change(function(){var t=e("#give-donor-delete-records"),i=e("#give-delete-donor");e(this).prop("checked")?(t.attr("disabled",!1),i.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),i.attr("disabled",!0))})},add_email:function(){e("#add-donor-email").length&&e(document.body).on("click","#add-donor-email",function(t){t.preventDefault();var i=e(this),n=i.parent();n.parent().find(".notice-wrap").remove(),n.find(".spinner").css("visibility","visible"),i.attr("disabled",!0);var o=n.find('input[name="donor-id"]').val(),a=n.find('input[name="additional-email"]').val(),r=n.find('input[name="make-additional-primary"]').is(":checked"),s=n.find('input[name="add_email_nonce"]').val(),l={give_action:"add_donor_email",customer_id:o,email:a,primary:r,_wpnonce:s};e.post(ajaxurl,l,function(e){!0===e.success?window.location.href=e.redirect:(i.attr("disabled",!1),n.after('<div class="notice-wrap"><div class="notice notice-error inline"><p>'+e.message+"</p></div></div>"),n.find(".spinner").css("visibility","hidden"))},"json")})},addressesAction:function(){var t=this,n=e("#donor-address-wrapper"),o=e(".all-address",n),a=e(".give-no-address-message",n),r=e(o).parent(),s=e(".address-form",n),l=e(".js-cancel",s),c=e('select[name="country"]',s),d=e(".add-new-address",n),u=parseInt(e('input[name="donor-id"]').val());c.on("change",function(){e(this).trigger("chosen:updated")}),o.on("click",".js-edit",function(i){var n=e(this).closest(".address");i.preventDefault(),e(".notice",r).remove(),t.__set_address_form_val(n),t.__set_address_form_action("update",n.data("address-id")),d.hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),s.data("process","update")}),o.on("click",".js-remove",function(i){i.preventDefault();var n=e(this).closest(".address");e(".notice",r).remove(),s.data("changed",!0),t.__set_address_form_val(n),t.__set_address_form_action("remove",n.data("address-id")),s.trigger("submit")}),d.on("click",function(i){i.preventDefault(),e(".notice",r).remove(),e(this).hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),t.__set_address_form_action("add"),t.__set_address_form_action()}),l.on("click",function(e){e.preventDefault(),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")}),s.on("change",function(){e(this).data("changed",!0)}).on("submit",function(t){t.preventDefault();var l=e(this);return e(".notice",r).remove(),e(this).data("changed")?(e.ajax({type:"POST",url:ajaxurl,data:{action:"donor_manage_addresses",donorID:u,form:e("form",s).serialize()},beforeSend:function(){i(n,{show:!0})},success:function(t){if(i(n),t.success){var s;switch(t.data.action){case"add":e(".give-grid-row",o).append(t.data.address_html),!a.hasClass("give-hidden")&&e("div.give-grid-col-4",o).length&&a.addClass("give-hidden");break;case"remove":s=o.find('div[data-address-id*="'+t.data.id+'"]').parent(),s.length&&s.animate({"margin-left":"-999"},1e3,function(){s.remove(),a.hasClass("give-hidden")&&!e("div.give-grid-col-4",o).length&&a.removeClass("give-hidden")});break;case"update":s=o.find('div[data-address-id*="'+t.data.id+'"]').parent();var l=s.prev(),c={},d=!1;parseInt(e(".give-grid-row>div",o).length)<2?e(".give-grid-row",o).append(t.data.address_html):(l.length&&(l.after(t.data.address_html),d=!0),d||(c=s.next(),c.length&&c.before(t.data.address_html))),s.remove()}r.prepend(t.data.success_msg)}else r.prepend(t.data.error_msg)},dataType:"json"}).always(function(){l.data("changed",!1),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")}),!1):(d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden"),!1)})},__set_address_form_action:function(t,i){var n=e("#donor-address-wrapper"),o=e(".address-form",n),a=e('input[name="address-action"]',o),r=e('input[name="address-id"]',o);t=t||"add",i=i||"billing",a.val(t),r.val(i)},__set_address_form_val:function(t){var i=e("#donor-address-wrapper"),n=e(".address-form",i),o=e('[data-address-type="state"]',t).text().substr(2).trim();e('select[name="country"]',n).val().trim()!==e('[data-address-type="country"]',t).text().trim()?(e('select[name="country"]',n).val(e('[data-address-type="country"]',t).text().trim()).trigger("chosen:updated").change(),window.setTimeout(function(){e('[name="state"]',n).val(o).trigger("chosen:updated")},500)):e('[name="state"]',n).val(o).trigger("chosen:updated"),e('input[name="line1"]',n).val(e('[data-address-type="line1"]',t).text().trim()),e('input[name="line2"]',n).val(e('[data-address-type="line2"]',t).text().trim()),e('input[name="city"]',n).val(e('[data-address-type="city"]',t).text().trim()),e('input[name="zip"]',n).val(e('[data-address-type="zip"]',t).text().trim())},bulkDeleteDonor:function(){var t=e("body");t.on("click","#give-bulk-delete-cancel",function(t){e(this).closest("tr").hide(),e(".give-skip-donor").trigger("click"),t.preventDefault()}),t.on("click","#cb-select-all-1, #cb-select-all-2",function(){var t=e(this);e.each(e(".donor-selector"),function(){var i=e(this).val(),n=e(this).data("name"),o='<div id="give-donor-'+i+'" data-id="'+i+'"><a class="give-skip-donor" title="'+give_vars.remove_from_bulk_delete+'">X</a>'+n+"</div>";t.is(":checked")&&!e(this).is(":checked")?e("#give-bulk-donors").append(o):t.is(":checked")||e("#give-bulk-donors").find("#give-donor-"+i).remove()})}),t.on("click",".donor-selector",function(){var t=e(this).val(),i=e(this).data("name"),n='<div id="give-donor-'+t+'" data-id="'+t+'"><a class="give-skip-donor" title="'+give_vars.remove_from_bulk_delete+'">X</a>'+i+"</div>";e(this).is(":checked")?e("#give-bulk-donors").prepend(n):e("#give-bulk-donors").find("#give-donor-"+t).remove()}),t.on("click","#give-bulk-delete .give-donor-delete-confirm",function(){e(this).is(":checked")?e("#give-bulk-delete-button").removeAttr("disabled"):(e("#give-bulk-delete-button").attr("disabled",!0),e("#give-bulk-delete .give-donor-delete-records").removeAttr("checked"))}),t.on("click","#give-bulk-delete .give-donor-delete-records",function(){e(this).is(":checked")&&(e("#give-bulk-delete .give-donor-delete-confirm").attr("checked","checked"),e("#give-bulk-delete-button").removeAttr("disabled"))}),t.on("click",".give-skip-donor",function(){var t=e(this).closest("div").data("id");e("#give-donor-"+t).remove(),e("#donor-"+t).find('input[type="checkbox"]').removeAttr("checked")}),t.on("click",".give-single-donor-delete",function(t){var i=e(this).data("id"),n=e("tr#donor-"+i).find(".donor-selector"),o=e('[id^="cb-select-all-"]'),a=e("#give-bulk-donors"),r=n.data("name"),s='<div id="give-donor-'+i+'" data-id="'+i+'"><a class="give-skip-donor" title="'+give_vars.remove_from_bulk_delete+'">X</a>'+r+"</div>";a.html(""),o.is(":checked")&&o.removeAttr("checked"),e(".donor-selector").removeAttr("checked"),n.attr("checked","checked"),0===e("#give-donor-"+i).length&&(a.prepend(s),e("#give-bulk-delete").slideDown()),t.preventDefault()})},handleBulkActions:function(t){var i=e(this).closest(".tablenav").find("select").val(),n=[],o=give_vars.donors_bulk_action.no_action_selected,r=give_vars.donors_bulk_action.no_donor_selected;return e.each(e(".donor-selector:checked"),function(){n.push(e(this).val())}),"-1"===i?(new a.GiveWarningAlert({modalContent:{title:o.title,desc:o.desc,cancelBtnTitle:give_vars.ok}}).render(),!1):parseInt(n)?("delete"===i&&e("#give-bulk-delete").slideDown(),void t.preventDefault()):(new a.GiveWarningAlert({modalContent:{title:r.title,desc:r.desc,cancelBtnTitle:give_vars.ok}}).render(),!1)}},y={init:function(){this.revoke_api_key(),this.regenerate_api_key()},revoke_api_key:function(){e("body").on("click",".give-revoke-api-key",function(e){return confirm(give_vars.revoke_api_key)})},regenerate_api_key:function(){e("body").on("click",".give-regenerate-api-key",function(e){return confirm(give_vars.regenerate_api_key)})}},x={init:function(){var t=e.query.get("give_tab").length?e.query.get("give_tab"):"form_field_options";this.handle_metabox_tab_click(),this.setup_colorpicker_fields(),this.setup_media_fields(),this.setup_repeatable_fields(),this.handle_repeater_group_events(),this.handle_multi_levels_repeater_group_events(),this.activate_tab(e('a[href="#'+t+'"]'))},handle_metabox_tab_click:function(){var t=this;e(".give-metabox-tabs a").on("click",function(i){i.preventDefault();var n=e(this);t.activate_tab(n),t.update_query(n)})},activate_tab:function(t){var i=t.data("tab-id"),n=t.parent(),o=e("ul.give-metabox-sub-tabs",n),a=o.length,r=e(".give-metabox-tabs a"),s=r.parents("li"),l=e("ul.give-metabox-sub-tabs"),c=t.parents("ul.give-metabox-sub-tabs").length;if(e("#give_form_active_tab").val(i),a){n.toggleClass("active"),o.removeClass("give-hidden");var d=e("li.active","ul.give-metabox-sub-tabs");l.not(o).addClass("give-hidden"),s.not(n).removeClass("active"),d.addClass("active")}else c?c&&(e("ul.give-metabox-sub-tabs").addClass("give-hidden"),s.removeClass("active"),t.parents("ul.give-metabox-sub-tabs").removeClass("give-hidden").children("li").removeClass("active"),t.parents("li.has-sub-fields").addClass("active")):s.each(function(t,i){i=e(i),i.removeClass("active"),i.hasClass("has-sub-fields")&&e("ul.give-metabox-sub-tabs",i).addClass("give-hidden")});t.parent().addClass("active"),e(".give_options_panel").removeClass("active"),e(t.attr("href")).addClass("active")},update_query:function(t){var i=t.data("tab-id"),n=e.query.set("give_tab",i).remove("message").toString();history.replaceState&&history.replaceState(null,null,n)},setup_colorpicker_fields:function(){e(document).ready(function(){var t=e(".give-colorpicker");t.length&&t.each(function(t,i){var n=e(i);n.parents(".give-template").length||n.wpColorPicker()})})},setup_media_fields:function(){var t,i,n=e("body");n.on("click",".give-upload-button",function(o){o.preventDefault();var a={};switch(i=e(this),e(this).data("field-type")){case"media":a={title:give_vars.metabox_fields.media.button_title,button:{text:give_vars.metabox_fields.media.button_title},multiple:!1,library:{type:"image"}};break;default:a={title:give_vars.metabox_fields.file.button_title,button:{text:give_vars.metabox_fields.file.button_title},multiple:!1}}void 0!==jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("editing")&&(wp.media.controller.Library.prototype.defaults.contentUserSetting=!1);var r=jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("library");void 0!==r&&""!==r&&(a.library={type:r}),t=wp.media(a),t.on("select",function(){var e=t.state().get("selection").first().toJSON(),o=i.prev(),a="id"===i.data("fvalue")?e.id:e.url;if(n.trigger("give_media_inserted",[e,o]),o.val(a),"id"!==i.data("fvalue")){var r='input[name="'+o.attr("name")+'_id"]';o.closest("tr").next("tr").find(r).length&&o.closest("tr").next("tr").find(r).val(e.id)}}),t.open()}),n.on("give_media_inserted",function(t,n){var o=i.parents(".give-field-wrap"),a=e(".give-image-thumb",o);return!!a.length&&("image"!==n.type?(a.addClass("give-hidden"),e("img",a).attr("src",""),!1):(a.find("img").attr("src",n.url),void a.removeClass("give-hidden")))}),e("span.give-delete-image-thumb",".give-image-thumb").on("click",function(t){t.preventDefault();var i=e(this).parents(".give-field-wrap"),n=e(this).parent(),o=e('input[type="text"]',i);n.addClass("give-hidden"),o.val(""),e("img",n).attr("src","")})},setup_repeatable_fields:function(){jQuery(function(){jQuery(".give-repeatable-field-section").each(function(){var t=e(this),i={wrapper:".give-repeatable-fields-section-wrapper",container:".container",row:".give-row",add:".give-add-repeater-field-section-row",remove:".give-remove",move:".give-move",template:".give-template",confirm_before_remove_row:!0,confirm_before_remove_row_text:give_vars.confirm_before_remove_row_text,is_sortable:!0,before_add:null,after_add:w,before_remove:null,after_remove:k,sortable_options:{placeholder:"give-ui-placeholder-state-highlight",start:function(i,n){n.item.next().hasClass("give-template")&&n.item.next().after(n.item);var o=e(".give-row",t).not(".give-template");o.length&&o.each(function(t,i){var n=e('input[type="radio"].give-field',e(i));n.length&&n.each(function(){e(this).attr("data-give-checked",e(this).is(":checked"))})}),e("body").trigger("repeater_field_sorting_start",[n.item])},stop:function(t,i){i.item.next().hasClass("give-template")&&i.item.next().after(i.item),e("body").trigger("repeater_field_sorting_stop",[i.item])},update:function(i,n){n.item.next().hasClass("give-template")&&n.item.next().after(n.item);var o=e(".give-row",t).not(".give-template"),a=e(this).closest(".give-repeatable-fields-section-wrapper");if(o.length){var r=1;o.each(function(t,i){var n=e(".give-field, label",e(i));n.length&&n.each(function(){var t=e(this).parents(".give-field-wrap"),i=e(this);e.each(this.attributes,function(e,n){var o=this.value.replace(/\[/g,"_").replace(/]/g,""),a=o+"_field",s="",l="";this.value&&(this.value=this.value.replace(/\[\d+\]/g,"["+(r-1)+"]"),l=this.value.replace(/\[/g,"_").replace(/]/g,""),t.hasClass(a)&&(s=l+"_field",t.removeClass(a).addClass(s)),o==i.attr("id")&&i.attr("id",l))})}),r++}),window.setTimeout(function(){e("input[data-give-checked]",a).each(function(t,i){i=e(i),i.prop("checked","true"===i.attr("data-give-checked"))})},100),t.trigger("repeater_field_row_reordered",[n.item])}}}};jQuery(this).repeatable_fields(i)})})},handle_repeater_group_events:function(){var t=e(".give-repeatable-field-section"),i=e("body");i.on("click",".give-row-head button",function(){var t=e(this).closest("tr");t.toggleClass("closed"),e(".give-row-body",t).toggle()}),t.on("repeater_field_new_row_added repeater_field_row_deleted repeater_field_row_reordered",function(){C(e(this))}),i.on("repeater_field_sorting_start",function(t,i){var n=e(".wp-editor-area",i);n.length&&n.each(function(t,i){window.setTimeout(function(){tinyMCE.execCommand("mceRemoveEditor",!0,e(i).attr("id"))},300)})}),i.on("repeater_field_sorting_stop",function(t,i){var n=e(".wp-editor-area",i);n.length&&n.each(function(t,i){window.setTimeout(function(){var t=e(i).attr("id");tinyMCE.execCommand("mceAddEditor",!0,t),window.setTimeout(function(){switchEditors.go(t,"html"),e("#"+t+"-tmce").trigger("click")},100)},300)})}),t.each(function(t,i){var n=e(i);C(n),parseInt(n.data("close-tabs"))&&(e(".give-row-head button",n).trigger("click"),e(".give-template",n).removeClass("closed"),e(".give-template .give-row-body",n).show())}),t.on("repeater_field_new_row_added",function(t,i,n){e(".give-colorpicker",e(this)).each(function(t,i){var n=e(i);n.parents(".wp-picker-container").length||n.parents(".give-template").length||n.wpColorPicker()});var o=e("div[data-wp-editor]",n);o.length&&o.each(function(t,i){var n=e(i),o=e(".wp-editor-wrap",n),a=e("textarea",n),r="give_wysiwyg_unique_"+Math.random().toString().replace(".","_"),s=o.prev();a.attr("id",r),e.post(ajaxurl,{action:"give_load_wp_editor",wp_editor:n.data("wp-editor"),wp_editor_id:r,textarea_name:e("textarea",n).attr("name")},function(t){o.remove(),s.after(t),tinyMCEPreInit.qtInit[a.attr("id")]=e.extend(!0,tinyMCEPreInit.qtInit._give_agree_text,{id:r}),tinyMCEPreInit.mceInit[r]=e.extend(!0,tinyMCEPreInit.mceInit._give_agree_text,{body_class:r+" post-type-give_forms post-status-publish locale-"+tinyMCEPreInit.mceInit._give_agree_text.wp_lang_attr.toLowerCase(),selector:"#"+r}),tinymce.init(tinyMCEPreInit.mceInit[r]),quicktags(tinyMCEPreInit.qtInit[r]),QTags._buttonsInit(),window.setTimeout(function(){switchEditors.go(r,"html"),e("#"+r+"-tmce").trigger("click")},100),window.wpActiveEditor||(window.wpActiveEditor=r)})})})},handle_multi_levels_repeater_group_events:function(){var t=e("#_give_donation_levels_field");e("body").on("keyup",".give-multilevel-text-field",function(){var t=e(this).closest("tr"),i=e(".give-row-head h2 span",t),n=i.data("header-title");if(e(this).val()&&e(this).val()===i.html())return!1;e(this).val()?i.html(n+": "+e(this).val()):i.html(n)}),e(".give-multilevel-text-field").each(function(t,i){if(t){var n=e(i),o=n.closest("tr"),a=e(".give-row-head h2 span",o),r=a.data("header-title");if(n.val()&&n.val()===a.html())return!1;n.val()?a.html(r+": "+n.val()):a.html(r)}}),t.on("repeater_field_row_deleted",function(){var t=e(this);window.setTimeout(function(){var i=t,n=e(".give-row",i).not(".give-template"),o=e(".give-give_default_radio_inline",n);1===n.length&&o.prop("checked",!0)},200)}),t.on("repeater_field_new_row_added",function(t,i,n){var o=e(this),a=0;window.setTimeout(function(){!1===e(".give-give_default_radio_inline",o).is(":checked")&&e(".give-row",o).not(".give-template").first().find(".give-give_default_radio_inline").prop("checked",!0)},200),e('input[type="hidden"].give-levels_id',o).each(function(t,i){var n=e(i),o=parseInt(n.val());a<o&&(a=o)}),e('input[type="hidden"].give-levels_id',n).val(++a)})}},w=function(t,i){var n=e(t).attr("data-rf-row-count"),o=e(t),a=o.parents(".give-repeatable-field-section");n++,e("*",i).each(function(){e.each(this.attributes,function(e,t){this.value=this.value.replace("{{row-count-placeholder}}",n-1)})}),e(t).attr("data-rf-row-count",n),a.trigger("repeater_field_new_row_added",[t,i])},k=function(t){var i=e(t),n=i.parents(".give-repeatable-field-section"),o=e(t).attr("data-rf-row-count");i.attr("data-rf-row-count",--o),n.trigger("repeater_field_row_deleted")},C=function(t){if(parseInt(t.data("group-numbering"))){var i=e(".give-row-head h2 span",t),n=i.data("header-title");i.each(function(t,i){var o=e(i);o.parents(".give-template").length||o.html(n+": "+t)})}},j={init:function(){e("body").on("click",'#give-payments-filter input[type="submit"]',this.handleBulkActions)},handleBulkActions:function(t){var i=e(this).closest(".tablenav").find("select").val(),n=e(this).closest(".tablenav").find('option[value="'+i+'"]').text(),o=e('input[name="payment[]"]:checked').length,r=-1!==i.indexOf("set-status-"),s="",l="";if("-1"===(i=r?"set-to-status":i))return new a.GiveWarningAlert({modalContent:{title:give_vars.donors_bulk_action.no_action_selected.title,desc:give_vars.donors_bulk_action.no_action_selected.desc,cancelBtnTitle:give_vars.ok}}).render(),!1;if(Object.keys(give_vars.donations_bulk_action).length)for(l in give_vars.donations_bulk_action)if(l===i){if(s=r?give_vars.donations_bulk_action[i].zero.replace("{status}",n.replace("Set To ","")):give_vars.donations_bulk_action[i].zero,!parseInt(o))return new a.GiveWarningAlert({modalContent:{title:give_vars.donations_bulk_action.titles.zero,desc:s,cancelBtnTitle:give_vars.ok}}).render(),!1;s=1<o?give_vars.donations_bulk_action[i].multiple:give_vars.donations_bulk_action[i].single,t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:give_vars.confirm_bulk_action,desc:s.replace("{payment_count}",o).replace("{status}",n.replace("Set To ",""))},successConfirm:function(t){e("#give-payments-filter").submit()}}).render()}return!0}};e(function(){o(),c(),v(),d(),e.giveAjaxifyFields({type:"country_state",debug:!0}),u.init(),h.init(),f.init(),p.init(),b.init(),y.init(),g.init(),_.init(),m.init(),x.init(),j.init(),e("a.give-rating-link").click(function(){jQuery(this).parent().text(jQuery(this).data("rated"))}),e(".give-ajax-user-search").on("keyup",function(){var t=e(this).val(),i="";e(this).data("exclude")&&(i=e(this).data("exclude")),e(".give-ajax").show(),data={action:"give_search_users",user_name:t,exclude:i},document.body.style.cursor="wait",e.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(t){e(".give-ajax").hide(),e(".give_user_search_results").removeClass("hidden"),e(".give_user_search_results span").html(""),e(t.results).appendTo(".give_user_search_results span"),document.body.style.cursor="default"}})}),e("body").on("click.giveSelectUser",".give_user_search_results span a",function(t){t.preventDefault();var i=e(this).data("login");e(".give-ajax-user-search").val(i),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")}),e("body").on("click.giveCancelUserSearch",".give_user_search_results a.give-ajax-user-cancel",function(t){t.preventDefault(),e(".give-ajax-user-search").val(""),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")});var i=e("#poststuff"),a=give_vars.thousands_separator,r=give_vars.decimal_separator,s="",l="",w="",k=r===a?1:0;i.on("keyup","input.give-money-field, input.give-price-field",function(){var t={label:give_vars.price_format_guide.trim()};s=(e(this).val().match(new RegExp(a,"g"))||[]).length,l=(e(this).val().match(new RegExp("[a-z]","g"))||[]).length,-1!==e(this).val().indexOf(a)&&k<s?e(this).giveHintCss("show",t):l?e(this).giveHintCss("show",t):e(this).giveHintCss("hide",t),s=l=""}),i.on("focusout","input.give-money-field, input.give-price-field",function(){if(w=t(e(this).val(),!1),e(this).giveHintCss("hide",{label:give_vars.price_format_guide.trim()}),t("0",!1)===t(e(this).val(),!1)){var i=e(this).attr("placeholder");return i=i||"0",e(this).val(i),!1}w=w.replace(".",r),-1!==w.indexOf("-")&&(w=w.replace("-","")),e(this).val(w)}),i.on("focusout","#_give_number_of_donation_goal",function(){1>e(this).val()&&e(this).val(1)}),e(".give-settings-page").on("click","#give-show-sub-nav",function(t){t.preventDefault();var i=e(this).next();return i.is(":hover")||i.toggleClass("give-hidden")
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?exports.Give=t(require("jQuery")):e.Give=t(e.jQuery)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=25)}([function(t,i){t.exports=e},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){(function(t){e.exports=t.accounting=i(3)}).call(t,i(1))},function(e,t,i){/*!
2
  * accounting.js v0.4.1
3
  * Copyright 2014 Open Exchange Rates
4
  *
8
  * Full details and documentation:
9
  * http://openexchangerates.github.io/accounting.js/
10
  */
11
+ !function(i,n){function o(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function a(e){return f?f(e):"[object Array]"===p.call(e)}function r(e){return e&&"[object Object]"===p.call(e)}function s(e,t){var i;e=e||{},t=t||{};for(i in t)t.hasOwnProperty(i)&&null==e[i]&&(e[i]=t[i]);return e}function l(e,t,i){var n,o,a=[];if(!e)return a;if(h&&e.map===h)return e.map(t,i);for(n=0,o=e.length;n<o;n++)a[n]=t.call(i,e[n],n,e);return a}function c(e,t){return e=Math.round(Math.abs(e)),isNaN(e)?t:e}function d(e){var t=u.settings.currency.format;return"function"==typeof e&&(e=e()),o(e)&&e.match("%v")?{pos:e,neg:e.replace("-","").replace("%v","-%v"),zero:e}:e&&e.pos&&e.pos.match("%v")?e:o(t)?u.settings.currency.format={pos:t,neg:t.replace("%v","-%v"),zero:t}:t}var u={};u.version="0.4.1",u.settings={currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}};var h=Array.prototype.map,f=Array.isArray,p=Object.prototype.toString,g=u.unformat=u.parse=function(e,t){if(a(e))return l(e,function(e){return g(e,t)});if("number"==typeof(e=e||0))return e;t=t||u.settings.number.decimal;var i=new RegExp("[^0-9-"+t+"]",["g"]),n=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(i,"").replace(t,"."));return isNaN(n)?0:n},_=u.toFixed=function(e,t){t=c(t,u.settings.number.precision);var i=Math.pow(10,t);return(Math.round(u.unformat(e)*i)/i).toFixed(t)},m=u.formatNumber=u.format=function(e,t,i,n){if(a(e))return l(e,function(e){return m(e,t,i,n)});e=g(e);var o=s(r(t)?t:{precision:t,thousand:i,decimal:n},u.settings.number),d=c(o.precision),h=e<0?"-":"",f=parseInt(_(Math.abs(e||0),d),10)+"",p=f.length>3?f.length%3:0;return h+(p?f.substr(0,p)+o.thousand:"")+f.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o.thousand)+(d?o.decimal+_(Math.abs(e),d).split(".")[1]:"")},v=u.formatMoney=function(e,t,i,n,o,h){if(a(e))return l(e,function(e){return v(e,t,i,n,o,h)});e=g(e);var f=s(r(t)?t:{symbol:t,precision:i,thousand:n,decimal:o,format:h},u.settings.currency),p=d(f.format);return(e>0?p.pos:e<0?p.neg:p.zero).replace("%s",f.symbol).replace("%v",m(Math.abs(e),c(f.precision),f.thousand,f.decimal))};u.formatColumn=function(e,t,i,n,h,f){if(!e)return[];var p=s(r(t)?t:{symbol:t,precision:i,thousand:n,decimal:h,format:f},u.settings.currency),_=d(p.format),v=_.pos.indexOf("%s")<_.pos.indexOf("%v"),b=0;return l(l(e,function(e,t){if(a(e))return u.formatColumn(e,p);e=g(e);var i=e>0?_.pos:e<0?_.neg:_.zero,n=i.replace("%s",p.symbol).replace("%v",m(Math.abs(e),c(p.precision),p.thousand,p.decimal));return n.length>b&&(b=n.length),n}),function(e,t){return o(e)&&e.length<b?v?e.replace(p.symbol,p.symbol+new Array(b-e.length+1).join(" ")):new Array(b-e.length+1).join(" ")+e:e})},void 0!==e&&e.exports&&(t=e.exports=u),t.accounting=u}()},function(e,t,i){var n,o,a;!function(r){o=[i(0)],n=r,void 0!==(a="function"==typeof n?n.apply(t,o):n)&&(e.exports=a)}(function(e){var t,i,n,o,a,r,s=function(){},l=!!window.jQuery,c=e(window),d=function(e,i){t.ev.on("mfp"+e+".mfp",i)},u=function(t,i,n,o){var a=document.createElement("div");return a.className="mfp-"+t,n&&(a.innerHTML=n),o?i&&i.appendChild(a):(a=e(a),i&&a.appendTo(i)),a},h=function(i,n){t.ev.triggerHandler("mfp"+i,n),t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,e.isArray(n)?n:[n]))},f=function(i){return i===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=i),t.currTemplate.closeBtn},p=function(){e.magnificPopup.instance||(t=new s,t.init(),e.magnificPopup.instance=t)},g=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};s.prototype={constructor:s,init:function(){var i=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(i),t.isIOS=/iphone|ipad|ipod/gi.test(i),t.supportsTransition=g(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=e(document),t.popupsCache={}},open:function(i){var o;if(!1===i.isObj){t.items=i.items.toArray(),t.index=0;var r,s=i.items;for(o=0;o<s.length;o++)if(r=s[o],r.parsed&&(r=r.el[0]),r===i.el[0]){t.index=o;break}}else t.items=e.isArray(i.items)?i.items:[i.items],t.index=i.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],a="",i.mainEl&&i.mainEl.length?t.ev=i.mainEl.eq(0):t.ev=n,i.key?(t.popupsCache[i.key]||(t.popupsCache[i.key]={}),t.currTemplate=t.popupsCache[i.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,i),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=u("bg").on("click.mfp",function(){t.close()}),t.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){t._checkIfClose(e.target)&&t.close()}),t.container=u("container",t.wrap)),t.contentContainer=u("content"),t.st.preloader&&(t.preloader=u("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(o=0;o<l.length;o++){var p=l[o];p=p.charAt(0).toUpperCase()+p.slice(1),t["init"+p].call(t)}h("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(d("MarkupParse",function(e,t,i,n){i.close_replaceWith=f(n.type)}),a+=" mfp-close-btn-in"):t.wrap.append(f())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:c.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:n.height(),position:"absolute"}),t.st.enableEscapeKey&&n.on("keyup.mfp",function(e){27===e.keyCode&&t.close()}),c.on("resize.mfp",function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var g=t.wH=c.height(),_={};if(t.fixedContentPos&&t._hasScrollBar(g)){var m=t._getScrollbarSize();m&&(_.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):_.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),h("BuildControls"),e("html").css(_),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP("mfp-ready"),t._setFocus()):t.bgOverlay.addClass("mfp-ready"),n.on("focusin.mfp",t._onFocusIn)},16),t.isOpen=!0,t.updateSize(g),h("Open"),i},close:function(){t.isOpen&&(h("BeforeClose"),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP("mfp-removing"),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){h("Close");var i="mfp-removing mfp-ready ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos){var o={marginRight:""};t.isIE7?e("body, html").css("overflow",""):o.overflow="",e("html").css(o)}n.off("keyup.mfp focusin.mfp"),t.ev.off(".mfp"),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,h("AfterClose")},updateSize:function(e){if(t.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;t.wrap.css("height",n),t.wH=n}else t.wH=e||c.height();t.fixedContentPos||t.wrap.css("height",t.wH),h("Resize")},updateItemHTML:function(){var i=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),i.parsed||(i=t.parseEl(t.index));var n=i.type;if(h("BeforeChange",[t.currItem?t.currItem.type:"",n]),t.currItem=i,!t.currTemplate[n]){var a=!!t.st[n]&&t.st[n].markup;h("FirstMarkupParse",a),t.currTemplate[n]=!a||e(a)}o&&o!==i.type&&t.container.removeClass("mfp-"+o+"-holder");var r=t["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,t.currTemplate[n]);t.appendContent(r,n),i.preloaded=!0,h("Change",i),o=i.type,t.container.prepend(t.contentContainer),h("AfterChange")},appendContent:function(e,i){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[i]?t.content.find(".mfp-close").length||t.content.append(f()):t.content=e:t.content="",h("BeforeAppend"),t.container.addClass("mfp-"+i+"-holder"),t.contentContainer.append(t.content)},parseEl:function(i){var n,o=t.items[i];if(o.tagName?o={el:e(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var a=t.types,r=0;r<a.length;r++)if(o.el.hasClass("mfp-"+a[r])){n=a[r];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||t.st.type||"inline",o.index=i,o.parsed=!0,t.items[i]=o,h("ElementParse",o),t.items[i]},addGroup:function(e,i){var n=function(n){n.mfpEl=this,t._openClick(n,e,i)};i||(i={});var o="click.magnificPopup";i.mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,n)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,n):(i.items=e,e.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(c.width()<a)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation()),o.el=e(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),t.open(o)}},updateStatus:function(e,n){if(t.preloader){i!==e&&t.container.removeClass("mfp-s-"+i),n||"loading"!==e||(n=t.st.tLoading);var o={status:e,text:n};h("UpdateStatus",o),e=o.status,n=o.text,t.preloader.html(n),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(i){if(!e(i).hasClass("mfp-prevent-close")){var n=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(n&&o)return!0;if(!t.content||e(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||e.contains(t.content[0],i)){if(n)return!0}else if(o&&e.contains(document,i))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?n.height():document.body.scrollHeight)>(e||c.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(i){if(i.target!==t.wrap[0]&&!e.contains(t.wrap[0],i.target))return t._setFocus(),!1},_parseMarkup:function(t,i,n){var o;n.data&&(i=e.extend(n.data,i)),h("MarkupParse",[t,i,n]),e.each(i,function(i,n){if(void 0===n||!1===n)return!0;if(o=i.split("_"),o.length>1){var a=t.find(".mfp-"+o[0]);if(a.length>0){var r=o[1];"replaceWith"===r?a[0]!==n[0]&&a.replaceWith(n):"img"===r?a.is("img")?a.attr("src",n):a.replaceWith(e("<img>").attr("src",n).attr("class",a.attr("class"))):a.attr(o[1],n)}}else t.find(".mfp-"+i).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,i){return p(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(e.magnificPopup.defaults[t]=i.options),e.extend(this.proto,i.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){p();var n=e(this);if("string"==typeof i)if("open"===i){var o,a=l?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?o=a.items[r]:(o=n,a.delegate&&(o=o.find(a.delegate)),o=o.eq(r)),t._openClick({mfpEl:o},n,a)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var _,m,v,b=function(){v&&(m.after(v.addClass(_)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",function(){b()})},getInline:function(i,n){if(b(),i.src){var o=t.st.inline,a=e(i.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(m||(_=o.hiddenClass,m=u(_),_="mfp-"+_),v=a.after(m).detach().removeClass(_)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),a=e("<div>");return i.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var y,x=function(){y&&e(document.body).removeClass(y)},w=function(){x(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),y=t.st.ajax.cursor,d("Close.ajax",w),d("BeforeChange.ajax",w)},getAjax:function(i){y&&e(document.body).addClass(y),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,o,a){var r={data:n,xhr:a};h("ParseAjax",r),t.appendContent(e(r.data),"ajax"),i.finished=!0,x(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),h("AjaxContentAdded")},error:function(){x(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var k,C=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),d("Open"+n,function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)}),d("Close"+n,function(){i.cursor&&e(document.body).removeClass(i.cursor),c.off("resize.mfp")}),d("Resize"+n,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,k&&clearInterval(k),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(a){k&&clearInterval(k),k=setInterval(function(){if(n.naturalWidth>0)return void t._onImageHasSize(e);i>200&&clearInterval(k),i++,3===i?o(10):40===i?o(50):100===i&&o(500)},a)};o(1)},getImage:function(i,n){var o=0,a=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,h("ImageLoadComplete")):(o++,o<200?setTimeout(a,100):r()))},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),c=i.img[0],c.naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:C(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(k&&clearInterval(k),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}});var j,T=function(){return void 0===j&&(j=void 0!==document.createElement("p").style.MozTransform),j};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var o,a,r=i.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return o["-webkit-"+a]=o["-moz-"+a]=o["-o-"+a]=o[a]=n,t.css(o),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();a=s(e),a.css(t._getOffset()),t.wrap.append(a),o=setTimeout(function(){a.css(t._getOffset(!0)),o=setTimeout(function(){l(),setTimeout(function(){a.remove(),e=a=null,h("ZoomAnimationEnded")},16)},r)},16)}}),d("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=s(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),d("Close"+n,function(){t._allowZoom()&&(l(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n;n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=n.offset(),a=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);o.top-=e(window).scrollTop()-a;var s={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-r-a};return T()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var S=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),d("Close.iframe",function(){S()})},getIframe:function(i,n){var o=i.src,a=t.st.iframe;e.each(a.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var r={};return a.srcAction&&(r[a.srcAction]=o),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var M=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},I=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;a+=" mfp-gallery",d("Open"+o,function(){i.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+o,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),d("UpdateStatus"+o,function(e,i){i.text&&(i.text=I(i.text,t.currItem.index,t.items.length))}),d("MarkupParse"+o,function(e,n,o,a){var r=t.items.length;o.counter=r>1?I(i.tCounter,a.index,r):""}),d("BuildControls"+o,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,o=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),a=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");o.click(function(){t.prev()}),a.click(function(){t.next()}),t.container.append(o.add(a))}}),d("Change"+o,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),d("Close"+o,function(){n.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=M(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=M(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),o=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?o:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=M(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),h("LazyLoad",n),"image"===n.type&&(n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,h("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;i=isNaN(i)?i():i,i>1&&(d("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse.retina",function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),p()})},function(e,t){jQuery.fn.giveHintCss=function(e,t){return this.each(function(){var i=jQuery(this);t=jQuery.extend({label:""},t);var n=i.next("span.give-hint-tooltip-js");if(!n.length){var o=t.label.length?t.label:i.data("hint-aria-label");if(!o.length)return;i.after('<span class="give-hint-tooltip-js hint--top hint--medium" aria-label="'+o+'"></span>'),n=i.next(),n.css({top:-i.outerHeight(),left:-i.outerWidth()/2})}"show"===e?n.addClass("hint--always"):"hide"===e&&n.removeClass("hint--always")})},jQuery(document).ready(function(e){function t(t){if(!t.is('[class*="hint"]')){var i=t.attr("class"),n=[],o=t.data("tooltip").split(" ").length;i&&(i=i.split(" "),n=e.grep(i,function(e){return-1!==e.indexOf("give-icon")}),n.length&&(n=n.join(" "),t.removeClass(n),t.append('<i class="'+n+'"></i>'))),t.addClass("hint--top"),15<o?t.addClass("hint--large"):7<o&&t.addClass("hint--medium"),t.attr("aria-label",t.data("tooltip"))}}var i=e("[data-tooltip]");i.length&&i.each(function(i,n){n=n instanceof jQuery?n:e(n),t(n)}),e("body").on("hover","[data-tooltip]",function(){t(e(this))})})},function(e,t,i){"use strict";var n=i(7),o=i(8),a={init:function(){var e=["form"],t=0;for(jQuery(document).trigger("give:preInit");t<e.length;)a[e[t]].init&&a[e[t]].init(),t++;jQuery(document).trigger("give:postInit")},fn:{formatCurrency:function(e,t,i){var n={symbol:"",decimal:give_global_vars.decimal_separator,thousand:give_global_vars.thousands_separator,precision:parseInt(give_global_vars.number_decimals),currency:give_global_vars.currency};if(e=e.toString().trim(),i=void 0===i?{}:i,i.length&&(n={symbol:"",decimal:a.form.fn.getInfo("decimal_separator",i),thousand:a.form.fn.getInfo("thousands_separator",i),precision:a.form.fn.getInfo("number_decimals",i),currency:a.form.fn.getInfo("currency_code",i)}),t=jQuery.extend(n,t),t.precision=parseInt(t.precision),"INR"===t.currency){var o=accounting.unformat(e,".").toString(),r="",s=void 0,l=void 0,c=o.indexOf(".");for(-1!==c&&(t.precision&&(r=Number(o.substr(parseInt(c))).toFixed(t.precision).toString().substr(1),r=r.length?r:".0000000000".substr(0,parseInt(c)+1),t.precision+1>r.length&&(r=(r+"000000000").substr(0,t.precision+1))),o=o.substr(0,parseInt(c))),s=o.substr(-3),l=o.substr(0,parseInt(o.length)-3);l.length>0;)s=l.substr(-2)+t.thousand+s,l=l.substr(0,parseInt(l.length)-2);r.length&&(s+=r),e=s,void 0!==t.symbol&&t.symbol.length&&("after"===t.position?e+=t.symbol:e=t.symbol+e)}else"after"===t.position&&(t.format="%v%s"),e=accounting.formatMoney(e,t);return e},unFormatCurrency:function(e,t){if("string"==typeof e){var i=","===t.trim()?/[^0-9\,-]+/g:/[^0-9\.-]+/g;e=e.replace(i,""),0===e.indexOf(t)?e=e.substr(1):e.length-1===e.indexOf(t)&&(e=e.slice(0,-1))}return Math.abs(parseFloat(accounting.unformat(e,t)))},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var i=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),n=i.exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},getGlobalVar:function(e){return void 0===give_global_vars[e]?"":give_global_vars[e]},setCache:function(e,t,i){i.length?a.cache["form_"+a.form.fn.getInfo("form-id",i)][e]=t:a.cache[e]=t},getCache:function(e,t){var i=void 0,n=a.cache["form_"+a.form.fn.getInfo("form-id",t)];return i=t.length?void 0!==n?n[e]:"":a.cache[e],i=void 0===i?"":i},__getCookie:function(e){var t="; "+document.cookie,i=t.split("; "+e+"="),n="";return 2===i.length&&(n=i.pop().split(";").shift()),n}},cache:{}};a.notice=n.a,a.form=o.a,t.a=a},function(e,t,i){"use strict";t.a={fn:{renderNotice:function(e,t){var i=void 0;switch(t=void 0!==t?t:{},e){case"bad_minimum":i=jQuery('<div class="give_error give-invalid-minimum give-hidden">'+this.getNotice(e,t)+"</div>");break;case"bad_maximum":i=jQuery('<div class="give_error give-invalid-maximum give-hidden">'+this.getNotice(e,t)+"</div>")}if(!t.length)return"";i.insertBefore(t.find(".give-total-wrap")).show()},getNotice:function(e,t){if(!e.length)return null;var i,n,o;if(i=n=o="",t.length)switch(e){case"bad_minimum":n=Give.fn.getGlobalVar(e),o=Give.form.fn.getMinimumAmount(t);break;case"bad_maximum":n=Give.fn.getGlobalVar(e),o=Give.form.fn.getMaximumAmount(t)}return t.length&&""!==n&&(i=n+" "+Give.fn.formatCurrency(o,{symbol:Give.form.fn.getInfo("currency_symbol",t),position:Give.form.fn.getInfo("currency_position",t)},t)),i}}}},function(e,t,i){"use strict";t.a={init:function(){this.fn.field.formatCreditCard(jQuery("form.give-form")),this.fn.__initialize_cache(),window.onload=function(){Give.form.fn.__sendBackToForm()}},fn:{isFormExist:function(){return!!document.getElementsByName("give-form-hash").length},disable:function(e,t){if(!e.length)return!1;e.find(".give-submit").prop("disabled",t)},formatAmount:function(e,t,i){return t.length?Give.fn.formatCurrency(e,i,t):e},getInfo:function(e,t){var i="";if(t=void 0!==t?t:{},!e.length||!t.length)return i;switch(e){case"gateways":i=[],jQuery.each(t.find('input[name="payment-mode"]'),function(e,t){t=t instanceof jQuery?t:jQuery(t),i.push(t.val().trim())});break;case"form-type":t.hasClass("give-form-type-set")?i="set":t.hasClass("give-form-type-multi")&&(i="multi");break;case"form-id":i=t.find('input[name="give-form-id"]').val();break;default:i=t.get(0).hasAttribute("data-"+e)?t.attr("data-"+e):t.attr(e),void 0!==i&&i.trim()}return i},setInfo:function(e,t,i,n){if(!i.length)return!1;switch(e=void 0===e?"data":e){case"nonce":i.find('input[name="give-form-hash"]').val(t)}if(void 0!==n&&!n.length)return!1;switch(e){case"attr":i.attr(n,t);break;default:i.data(n,t)}return!0},getGateway:function(e){var t="";return e.length?(t=e.find('input[name="payment-mode"]:checked').val().trim(),void 0!==t?t:""):t},getVariablePrices:function(e){var t,i=[];return e.length&&e.hasClass("give-form-type-multi")&&(t=e.find(".give-donation-levels-wrap [data-price-id] "))?(jQuery.each(t,function(t,n){n=n instanceof jQuery?n:jQuery(n);var o=Give.form.fn.getInfo("decimal_separator",e);i.push({price_id:n.data("price-id"),amount:Give.fn.unFormatCurrency(n.val(),o)})}),i):i},getPriceID:function(e,t){var i=this.getVariablePrices(e),n=Give.fn.unFormatCurrency(e.find('input[name="give-amount"]').val(),this.getInfo("decimal_separator",e)),o=Give.fn.getCache("amount_"+n,e)?Give.fn.getCache("amount_"+n,e):-1;return t=void 0===t||t,i.length&&-1===o&&(t?(jQuery.each(i,function(e,t){if(t.amount===n)return o=t.price_id,!1}),-1===o&&this.getMinimumAmount(e)<=n&&this.getMaximumAmount(e)>=n&&this.getMinimumAmount(e)<=n&&(o="custom")):o=jQuery('input[name="give-price-id"]',e).val()),o},getMinimumAmount:function(e){return e.find('input[name="give-form-minimum"]').val()},getMaximumAmount:function(e){return e.find('input[name="give-form-maximum"]').val()},getAmount:function(e){if(!e.length)return null;var t=e.find('input[name="give-amount"]').val();return void 0!==t&&t||(t=0),Give.fn.unFormatCurrency(t,this.getInfo("decimal_separator",e))},getNonce:function(e){if(!e.length)return"";var t=e.find('input[name="give-form-hash"]').val();return void 0!==t&&t||(t=""),t},resetNonce:function(e){if(!e.length||!jQuery('input[name="give-form-hash"]',e).length)return!1;Give.form.fn.disable(e,!0),jQuery.post(give_global_vars.ajaxurl,{action:"give_donation_form_nonce",give_form_id:Give.form.fn.getInfo("form-id",e)},function(t){Give.form.fn.setInfo("nonce",t.data,e,""),Give.form.fn.disable(e,!1)})},resetAllNonce:function(e){if(!e.length)return!1;Give.form.fn.disable(e,!0),jQuery.post(give_global_vars.ajaxurl,{action:"give_donation_form_reset_all_nonce",give_form_id:Give.form.fn.getInfo("form-id",e)},function(t){if(t.success){var i=e.find('input[name="give-form-user-register-hash"]');Give.form.fn.setInfo("nonce",t.data.give_form_hash,e,""),i.length&&i.val(t.data.give_form_user_register_hash),Give.form.fn.disable(e,!1),jQuery(document).trigger("give_reset_all_nonce",[t.data])}}).done(function(){Give.form.fn.disable(e,!1)})},autoSelectDonationLevel:function(e,t){if(!e.length||"multi"!==this.getInfo("form-type",e))return!1;switch(t=void 0===t?this.getPriceID(e,!1):t,!0){case!!e.find(".give-radio-input").length:e.find(".give-radio-input").prop("checked",!1),e.find('.give-radio-input[data-price-id="'+t+'"]').prop("checked",!0).addClass("give-default-level");break;case!!e.find("button.give-donation-level-btn").length:e.find("button.give-donation-level-btn").blur(),e.find('button.give-donation-level-btn[data-price-id="'+t+'"]').focus().addClass("give-default-level");break;case!!e.find("select.give-select-level").length:e.find("select.give-select-level option").prop("selected",!1),e.find('select.give-select-level option[data-price-id="'+t+'"]').prop("selected",!0).addClass("give-default-level")}},autoSetMultiLevel:function(e){var t=e.parents("form"),i=e.val(),n=e.data("price-id");if(void 0===n&&(n=e.find("option:selected").data("price-id")),"custom"===n)return t.find(".give-amount-top").val("").focus(),!1;t.find(".give-amount-top").val(i),t.find("span.give-amount-top").text(i);var o=Give.form.fn.getInfo("decimal_separator",t);jQuery(".give-donation-amount .give-text-input",t).attr("data-amount",Give.fn.unFormatCurrency(t.find(".give-final-total-amount").attr("data-total"),o)),t.find(".give-donation-amount .give-text-input").trigger("blur",[t,i,n])},__sendBackToForm:function(){var e=Give.fn.getParameterByName("form-id"),t=Give.fn.getParameterByName("payment-mode");if(!e||!t)return!1;var i=jQuery("body").find("#give-form-"+e+"-wrap"),n=i.find("form.give-form"),o=i.hasClass("give-display-modal"),a=i.hasClass("give-display-button"),r=i.hasClass("give-display-reveal");n.find("#give-gateway-radio-list label").removeClass("give-gateway-option-selected"),n.find("input[name=payment-mode][value="+t+"]").prop("checked",!0).parent().addClass("give-gateway-option-selected");var s=Give.fn.getParameterByName("level-id"),l=n.find('*[data-price-id="'+s+'"]');if(l.length>0&&this.autoSetMultiLevel(l),jQuery(".give-form-wrap").hasClass("give-form-grid-wrap")&&1===jQuery("#give-modal-form-"+e).length)return void jQuery.magnificPopup.open({items:{type:"inline",src:"#give-modal-form-"+e},fixedContentPos:!0,fixedBgPos:!0,closeBtnInside:!0,midClick:!0,removalDelay:300,mainClass:"modal-fade-slide"});o||a?give_open_form_modal(i,n):r&&(n.find(".give-btn-reveal").hide(),n.find("#give-payment-mode-select, #give_purchase_form_wrap").slideDown())},isValidDonationAmount:function(e){if(e.find('input[name="give-form-minimum"]').length<=0)return!0;var t=this.getMinimumAmount(e),i=this.getMaximumAmount(e),n=this.getAmount(e),o=this.getPriceID(e,!0);return 0!==n&&(-1<n&&n>=t&&n<=i||-1!==o)},__initialize_cache:function(){jQuery.each(jQuery(".give-form"),function(e,t){t=t instanceof jQuery?t:jQuery(t),Give.cache["form_"+Give.form.fn.getInfo("form-id",t)]=[]})},field:{formatCreditCard:function(e){e.each(function(e,t){t=jQuery(t);var i=t.find(".card-number"),n=t.find(".card-cvc"),o=t.find(".card-expiry");i.length&&(i.payment("formatCardNumber"),n.payment("formatCardCVC"),o.payment("formatCardExpiry"))})}}}}},function(e,t){!function(e){"use strict";function t(e,t){return function(i){i.target&&i.target.matches(e)&&t.apply(this,arguments)}}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length;--i>=0&&t.item(i)!==this;);return i>-1}),e.addDynamicEventListener=function(e,i,n,o,a){e.addEventListener(i,t(n,o),a)}}(window)},function(e,t,i){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"GiveModal",function(){return c}),i.d(t,"GiveErrorAlert",function(){return d}),i.d(t,"GiveWarningAlert",function(){return u}),i.d(t,"GiveNoticeAlert",function(){return h}),i.d(t,"GiveSuccessAlert",function(){return f}),i.d(t,"GiveConfirmModal",function(){return p}),i.d(t,"GiveFormModal",function(){return g});var r=i(4),s=(i.n(r),i(9)),l=(i.n(s),function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}()),c=function(){function e(t){if(a(this,e),e===this.constructor)throw new Error("Abstract classes can't be instantiated.");this.config=Object.assign({type:"",triggerSelector:"",externalPlugin:"magnificPopup",classes:{modalWrapper:""},modalContent:{}},t),this.config.mainClass=((this.config.mainClass?this.config.mainClass:"")+" modal-fade-slide").trim()}return l(e,[{key:"init",value:function(){this.setupTemplate(),this.popupConfig(),this.__setupClickEvent()}},{key:"getTemplate",value:function(){var e='<div class="give-hidden"></div>';return this.config.type.length&&(e='<div class="give-modal give-modal--zoom '+(this.config.classes.modalWrapper?(""+this.config.classes.modalWrapper).trim():"")+'">\n\n\t\t\t\t<div class="give-modal__body">\n\t\t\t\t\t'+(this.config.modalContent.title?'<h2 class="give-modal__title">'+this.config.modalContent.title+"</h2>":"")+"\n\t\t\t\t\t"+(this.config.modalContent.desc?'<p class="give-modal__description">'+this.config.modalContent.desc+"</p>":"")+'\n\t\t\t\t</div>\n\t\n\t\t\t\t<div class="give-modal__controls">\n\n\t\t\t\t\t'+("form"===this.config.type?'<div class="spinner"></div>':"")+"\n\t\t\t\t\t"+("form"===this.config.type?'<a class="give-modal--additional-link" href="'+this.config.modalContent.link+'">'+this.config.modalContent.link_text+"</a>":"")+'\n\n\t\t\t\t\t<button class="give-button give-button--secondary give-popup-close-button">\n\t\t\t\t\t\t'+(this.config.modalContent.cancelBtnTitle?this.config.modalContent.cancelBtnTitle:"confirm"===this.config.type?give_vars.cancel:give_vars.close)+"\n\t\t\t\t\t</button>\n\n\t\t\t\t\t"+("confirm"!==this.config.type&&"form"!==this.config.type?"":'<button class="give-button give-button--primary give-popup-'+this.config.type+'-button">\n\n\t\t\t\t\t\t'+(this.config.modalContent.confirmBtnTitle?this.config.modalContent.confirmBtnTitle:give_vars.confirm)+"\n\t\t\t\t\t</button>")+"\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>"),e}},{key:"setupTemplate",value:function(){this.config.template=this.getTemplate()}},{key:"__setupClickEvent",value:function(){this.config.triggerSelector.length&&jQuery(this.config.triggerSelector).magnificPopup(this.config)}},{key:"popupConfig",value:function(){"magnificPopup"===this.config.externalPlugin&&(this.config.items=this.config.items||{src:this.config.template,type:"inline"},this.config.removalDelay=300,this.config.fixedContentPos=!0,this.config.fixedBgPos=!0,this.config.alignTop=!0,this.config.showCloseBtn=!1,this.config.closeOnBgClick=!1,this.config.enableEscapeKey=!0,this.config.focus=".give-popup-close-button")}},{key:"render",value:function(){switch(this.config.externalPlugin){case"magnificPopup":this.config.triggerSelector||jQuery.magnificPopup.open(this.config)}return this}}],[{key:"__closePopup",value:function(e){e.preventDefault(),jQuery.magnificPopup.instance.close()}}]),e}(),d=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--error",i.init(),i}return o(t,e),t}(c),u=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--warning",i.init(),i}return o(t,e),t}(c),h=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--notice",i.init(),i}return o(t,e),t}(c),f=function(e){function t(e){a(this,t),e.type="alert";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.config.classes.modalWrapper="give-modal--success",i.init(),i}return o(t,e),t}(c),p=function(e){function t(e){a(this,t),e.type="confirm";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return o(t,e),l(t,null,[{key:"__confirmPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&(jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el}),jQuery.magnificPopup.close())}}]),t}(c),g=function(e){function t(e){a(this,t),e.type="form";var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return o(t,e),l(t,null,[{key:"__submitPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el})}}]),t}(c);window.addDynamicEventListener(document,"click",".give-popup-close-button",c.__closePopup,{}),window.addDynamicEventListener(document,"click",".give-popup-confirm-button",p.__confirmPopup,{}),window.addDynamicEventListener(document,"click",".give-popup-form-button",g.__submitPopup,{})},,,,,,,,,,,,,,,function(e,t,i){i(26),e.exports=i(27)},function(e,t){},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"init",function(){return v}),i.d(t,"fn",function(){return b}),i.d(t,"cache",function(){return y}),i.d(t,"modal",function(){return x});var n=i(28),o=(i.n(n),i(2)),a=(i.n(o),i(29)),r=(i.n(a),i(30)),s=(i.n(r),i(31)),l=(i.n(s),i(32)),c=(i.n(l),i(33)),d=(i.n(c),i(34)),u=(i.n(d),i(5)),h=(i.n(u),i(6)),f=i(10),p=i(35),g=(i.n(p),i(36)),_=(i.n(g),i(37)),m=(i.n(_),i(38));i.n(m),i(39),i(40);h.a.modal=f;var v=h.a.init,b=h.a.fn,y=h.a.cache,x=h.a.modal},function(e,t){(function(){var e,t,i,n,o=function(e,t){return function(){return e.apply(t,arguments)}},a=function(e,t){function i(){this.constructor=e}for(var n in t)r.call(t,n)&&(e[n]=t[n]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;n=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,i,n,o,a,r;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,classes:e.className}),a=e.childNodes,r=[],i=0,n=a.length;i<n;i++)o=a[i],r.push(this.add_option(o,t,e.disabled));return r},e.prototype.add_option=function(e,t,i){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,title:e.title?e.title:void 0,selected:e.selected,disabled:!0===i?i:e.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}(),n.select_to_array=function(e){var t,i,o,a,r;for(a=new n,r=e.childNodes,i=0,o=r.length;i<o;i++)t=r[i],a.add_node(t);return a.parsed},t=function(){function e(t,i){this.form_field=t,this.options=null!=i?i:{},this.label_click_handler=o(this.label_click_handler,this),e.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return e.prototype.set_default_values=function(){return this.click_test_action=function(e){return function(t){return e.test_active_click(t)}}(this),this.activate_action=function(e){return function(t){return e.activate_field(t)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},e.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text},e.prototype.choice_label=function(e){return this.include_group_label_in_selected&&null!=e.group_label?"<b class='group-name'>"+this.escape_html(e.group_label)+"</b>"+e.html:e.html},e.prototype.mouse_enter=function(){return this.mouse_on_container=!0},e.prototype.mouse_leave=function(){return this.mouse_on_container=!1},e.prototype.input_focus=function(e){if(this.is_multiple){if(!this.active_field)return setTimeout(function(e){return function(){return e.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},e.prototype.input_blur=function(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(e){return function(){return e.blur_test()}}(this),100)},e.prototype.label_click_handler=function(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()},e.prototype.results_option_build=function(e){var t,i,n,o,a,r,s;for(t="",s=0,r=this.results_data,o=0,a=r.length;o<a&&(i=r[o],n="",n=i.group?this.result_add_group(i):this.result_add_option(i),""!==n&&(s++,t+=n),(null!=e?e.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(i))),!(s>=this.max_shown_results));o++);return t},e.prototype.result_add_option=function(e){var t,i;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),i=document.createElement("li"),i.className=t.join(" "),e.style&&(i.style.cssText=e.style),i.setAttribute("data-option-array-index",e.array_index),i.innerHTML=e.highlighted_html||e.html,e.title&&(i.title=e.title),this.outerHTML(i)):""},e.prototype.result_add_group=function(e){var t,i;return(e.search_match||e.group_match)&&e.active_options>0?(t=[],t.push("group-result"),e.classes&&t.push(e.classes),i=document.createElement("li"),i.className=t.join(" "),i.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(i.title=e.title),this.outerHTML(i)):""},e.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},e.prototype.reset_single_select_options=function(){var e,t,i,n,o;for(i=this.results_data,o=[],e=0,t=i.length;e<t;e++)n=i[e],n.selected?o.push(n.selected=!1):o.push(void 0);return o},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.winnow_results=function(e){var t,i,n,o,a,r,s,l,c,d,u,h,f,p,g;for(this.no_results_clear(),d=0,s=this.get_search_text(),t=s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(t),l=this.results_data,n=0,o=l.length;n<o;n++)a=l[n],a.search_match=!1,u=null,h=null,a.highlighted_html="",this.include_option_in_results(a)&&(a.group&&(a.group_match=!1,a.active_options=0),null!=a.group_array_index&&this.results_data[a.group_array_index]&&(u=this.results_data[a.group_array_index],0===u.active_options&&u.search_match&&(d+=1),u.active_options+=1),g=a.group?a.label:a.text,a.group&&!this.group_search||(h=this.search_string_match(g,c),a.search_match=null!=h,a.search_match&&!a.group&&(d+=1),a.search_match?(s.length&&(f=h.index,r=g.slice(0,f),i=g.slice(f,f+s.length),p=g.slice(f+s.length),a.highlighted_html=this.escape_html(r)+"<em>"+this.escape_html(i)+"</em>"+this.escape_html(p)),null!=u&&(u.group_match=!0)):null!=a.group_array_index&&this.results_data[a.group_array_index].search_match&&(a.search_match=!0)));return this.result_clear_highlight(),d<1&&s.length?(this.update_results_content(""),this.no_results(s)):(this.update_results_content(this.results_option_build()),(null!=e?e.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},e.prototype.get_search_regex=function(e){var t,i;return i=this.search_contains?e:"(^|\\s|\\b)"+e+"[^\\s]*",this.enable_split_word_search||this.search_contains||(i="^"+i),t=this.case_sensitive_search?"":"i",new RegExp(i,t)},e.prototype.search_string_match=function(e,t){var i;return i=t.exec(e),!this.search_contains&&(null!=i?i[1]:void 0)&&(i.index+=1),i},e.prototype.choices_count=function(){var e,t,i,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,n=this.form_field.options,e=0,t=n.length;e<t;e++)i=n[e],i.selected&&(this.selected_option_count+=1);return this.selected_option_count},e.prototype.choices_click=function(e){if(e.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},e.prototype.keydown_checker=function(e){var t,i;switch(i=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),8!==i&&this.pending_backstroke&&this.clear_backstroke(),i){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},e.prototype.keyup_checker=function(e){var t,i;switch(i=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),i){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},e.prototype.clipboard_event_checker=function(e){if(!this.is_disabled)return setTimeout(function(e){return function(){return e.results_search()}}(this),50)},e.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},e.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&!e.empty)},e.prototype.search_results_touchstart=function(e){return this.touch_started=!0,this.search_results_mouseover(e)},e.prototype.search_results_touchmove=function(e){return this.touch_started=!1,this.search_results_mouseout(e)},e.prototype.search_results_touchend=function(e){if(this.touch_started)return this.search_results_mouseup(e)},e.prototype.outerHTML=function(e){var t;return e.outerHTML?e.outerHTML:(t=document.createElement("div"),t.appendChild(e),t.innerHTML)},e.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},e.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},e.prototype.get_no_results_html=function(e){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(e)+"</span>\n</li>"},e.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e}(),e=jQuery,e.fn.extend({chosen:function(n){return t.browser_is_supported()?this.each(function(t){var o,a;if(o=e(this),a=o.data("chosen"),"destroy"===n)return void(a instanceof i&&a.destroy());a instanceof i||o.data("chosen",new i(this,n))}):this}}),i=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return a(i,t),i.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},i.prototype.set_up_html=function(){var t,i;return t=["chosen-container"],t.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),i={class:t.join(" "),title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=e("<div />",i),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},i.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},i.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.container.on("touchend.chosen",function(e){return function(t){e.container_mouseup(t)}}(this)),this.container.on("mousedown.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.container.on("mouseup.chosen",function(e){return function(t){e.container_mouseup(t)}}(this)),this.container.on("mouseenter.chosen",function(e){return function(t){e.mouse_enter(t)}}(this)),this.container.on("mouseleave.chosen",function(e){return function(t){e.mouse_leave(t)}}(this)),this.search_results.on("mouseup.chosen",function(e){return function(t){e.search_results_mouseup(t)}}(this)),this.search_results.on("mouseover.chosen",function(e){return function(t){e.search_results_mouseover(t)}}(this)),this.search_results.on("mouseout.chosen",function(e){return function(t){e.search_results_mouseout(t)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(e){return function(t){e.search_results_mousewheel(t)}}(this)),this.search_results.on("touchstart.chosen",function(e){return function(t){e.search_results_touchstart(t)}}(this)),this.search_results.on("touchmove.chosen",function(e){return function(t){e.search_results_touchmove(t)}}(this)),this.search_results.on("touchend.chosen",function(e){return function(t){e.search_results_touchend(t)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(e){return function(t){e.results_update_field(t)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(e){return function(t){e.activate_field(t)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(e){return function(t){e.container_mousedown(t)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(e){return function(t){e.close_field(t)}}(this)),this.search_field.on("blur.chosen",function(e){return function(t){e.input_blur(t)}}(this)),this.search_field.on("keyup.chosen",function(e){return function(t){e.keyup_checker(t)}}(this)),this.search_field.on("keydown.chosen",function(e){return function(t){e.keydown_checker(t)}}(this)),this.search_field.on("focus.chosen",function(e){return function(t){e.input_focus(t)}}(this)),this.search_field.on("cut.chosen",function(e){return function(t){e.clipboard_event_checker(t)}}(this)),this.search_field.on("paste.chosen",function(e){return function(t){e.clipboard_event_checker(t)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(e){return function(t){e.choices_click(t)}}(this)):this.container.on("click.chosen",function(e){e.preventDefault()})},i.prototype.destroy=function(){return e(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},i.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},i.prototype.container_mousedown=function(t){var i;if(!this.is_disabled)return!t||"mousedown"!==(i=t.type)&&"touchstart"!==i||this.results_showing||t.preventDefault(),null!=t&&e(t.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!t||e(t.target)[0]!==this.selected_item[0]&&!e(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},i.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},i.prototype.search_results_mousewheel=function(e){var t;if(e.originalEvent&&(t=e.originalEvent.deltaY||-e.originalEvent.wheelDelta||e.originalEvent.detail),null!=t)return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},i.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},i.prototype.close_field=function(){return e(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},i.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},i.prototype.test_active_click=function(t){var i;return i=e(t.target).closest(".chosen-container"),i.length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},i.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=n.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},i.prototype.result_do_highlight=function(e){var t,i,n,o,a;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),n=parseInt(this.search_results.css("maxHeight"),10),a=this.search_results.scrollTop(),o=n+a,i=this.result_highlight.position().top+this.search_results.scrollTop(),(t=i+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(t-n>0?t-n:0);if(i<a)return this.search_results.scrollTop(i)}},i.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},i.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},i.prototype.update_results_content=function(e){return this.search_results.html(e)},i.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},i.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},i.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=e("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},i.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},i.prototype.search_results_mouseup=function(t){var i;if(i=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first(),i.length)return this.result_highlight=i,this.result_select(t),this.search_field.focus()},i.prototype.search_results_mouseover=function(t){var i;if(i=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(i)},i.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result")||e(t.target).parents(".active-result").first())return this.result_clear_highlight()},i.prototype.choice_build=function(t){var i,n;return i=e("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(t)+"</span>"),t.disabled?i.addClass("search-choice-disabled"):(n=e("<a />",{class:"search-choice-close","data-option-array-index":t.array_index}),n.on("click.chosen",function(e){return function(t){return e.choice_destroy_link_click(t)}}(this)),i.append(n)),this.search_container.before(i)},i.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},i.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},i.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},i.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},i.prototype.result_select=function(e){var t,i;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):this.reset_single_select_options(),t.addClass("result-selected"),i=this.results_data[t[0].getAttribute("data-option-array-index")],i.selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(this.choice_label(i)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())},i.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)},i.prototype.result_deselect=function(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},i.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},i.prototype.get_search_field_value=function(){return this.search_field.val()},i.prototype.get_search_text=function(){return e.trim(this.get_search_field_value())},i.prototype.escape_html=function(t){return e("<div/>").text(t).html()},i.prototype.winnow_results_set_highlight=function(){var e,t;if(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(e=t.length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},i.prototype.no_results=function(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},i.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},i.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},i.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result"),e.length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},i.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last(),e.length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},i.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},i.prototype.search_field_scale=function(){var t,i,n,o,a,r,s;if(this.is_multiple){for(a={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"],i=0,n=r.length;i<n;i++)o=r[i],a[o]=this.search_field.css(o);return t=e("<div />").css(a),t.text(this.get_search_field_value()),e("body").append(t),s=t.width()+25,t.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},i.prototype.trigger_form_field_change=function(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)},i}(t)}).call(this)},function(e,t){!function(e){e.color={},e.color.make=function(t,i,n,o){var a={};return a.r=t||0,a.g=i||0,a.b=n||0,a.a=null!=o?o:1,a.add=function(e,t){for(var i=0;i<e.length;++i)a[e.charAt(i)]+=t;return a.normalize()},a.scale=function(e,t){for(var i=0;i<e.length;++i)a[e.charAt(i)]*=t;return a.normalize()},a.toString=function(){return a.a>=1?"rgb("+[a.r,a.g,a.b].join(",")+")":"rgba("+[a.r,a.g,a.b,a.a].join(",")+")"},a.normalize=function(){function e(e,t,i){return t<e?e:t>i?i:t}return a.r=e(0,parseInt(a.r),255),a.g=e(0,parseInt(a.g),255),a.b=e(0,parseInt(a.b),255),a.a=e(0,a.a,1),a},a.clone=function(){return e.color.make(a.r,a.b,a.g,a.a)},a.normalize()},e.color.extract=function(t,i){var n;do{if(""!=(n=t.css(i).toLowerCase())&&"transparent"!=n)break;t=t.parent()}while(!e.nodeName(t.get(0),"body"));return"rgba(0, 0, 0, 0)"==n&&(n="transparent"),e.color.parse(n)},e.color.parse=function(i){var n,o=e.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return o(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return o(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var a=e.trim(i).toLowerCase();return"transparent"==a?o(255,255,255,0):(n=t[a]||[0,0,0],o(n[0],n[1],n[2]))};var t={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(e){function t(t,n,o,a){function r(e,t){t=[me].concat(t);for(var i=0;i<e.length;++i)e[i].apply(this,t)}function s(e){ie=l(e),p(),g()}function l(t){for(var i=[],n=0;n<t.length;++n){var o=e.extend(!0,{},ne.series);null!=t[n].data?(o.data=t[n].data,delete t[n].data,e.extend(!0,o,t[n]),t[n].data=o.data):o.data=t[n],i.push(o)}return i}function c(e,t){var i=e[t+"axis"];return"object"==typeof i&&(i=i.n),"number"!=typeof i&&(i=1),i}function d(){return e.grep(ce.concat(de),function(e){return e})}function u(e){var t,i,n={};for(t=0;t<ce.length;++t)(i=ce[t])&&i.used&&(n["x"+i.n]=i.c2p(e.left));for(t=0;t<de.length;++t)(i=de[t])&&i.used&&(n["y"+i.n]=i.c2p(e.top));return void 0!==n.x1&&(n.x=n.x1),void 0!==n.y1&&(n.y=n.y1),n}function h(e){var t,i,n,o={};for(t=0;t<ce.length;++t)if((i=ce[t])&&i.used&&(n="x"+i.n,null==e[n]&&1==i.n&&(n="x"),null!=e[n])){o.left=i.p2c(e[n]);break}for(t=0;t<de.length;++t)if((i=de[t])&&i.used&&(n="y"+i.n,null==e[n]&&1==i.n&&(n="y"),null!=e[n])){o.top=i.p2c(e[n]);break}return o}function f(t,i){return t[i-1]||(t[i-1]={n:i,direction:t==ce?"x":"y",options:e.extend(!0,{},t==ce?ne.xaxis:ne.yaxis)}),t[i-1]}function p(){var t,i=ie.length,n=-1;for(t=0;t<ie.length;++t){var o=ie[t].color;null!=o&&(i--,"number"==typeof o&&o>n&&(n=o))}i<=n&&(i=n+1);var a,r=[],s=ne.colors,l=s.length,d=0;for(t=0;t<i;t++)a=e.color.parse(s[t%l]||"#666"),t%l==0&&t&&(d=d>=0?d<.5?-d-.2:0:-d),r[t]=a.scale("rgb",1+d);var u,h=0;for(t=0;t<ie.length;++t){if(u=ie[t],null==u.color?(u.color=r[h].toString(),++h):"number"==typeof u.color&&(u.color=r[u.color].toString()),null==u.lines.show){var p,g=!0;for(p in u)if(u[p]&&u[p].show){g=!1;break}g&&(u.lines.show=!0)}null==u.lines.zero&&(u.lines.zero=!!u.lines.fill),u.xaxis=f(ce,c(u,"x")),u.yaxis=f(de,c(u,"y"))}}function g(){function t(e,t,i){t<e.datamin&&t!=-v&&(e.datamin=t),i>e.datamax&&i!=v&&(e.datamax=i)}var i,n,o,a,s,l,c,u,h,f,p,g,_=Number.POSITIVE_INFINITY,m=Number.NEGATIVE_INFINITY,v=Number.MAX_VALUE;for(e.each(d(),function(e,t){t.datamin=_,t.datamax=m,t.used=!1}),i=0;i<ie.length;++i)s=ie[i],s.datapoints={points:[]},r(_e.processRawData,[s,s.data,s.datapoints]);for(i=0;i<ie.length;++i){if(s=ie[i],p=s.data,!(g=s.datapoints.format)){if(g=[],g.push({x:!0,number:!0,required:!0}),g.push({y:!0,number:!0,required:!0}),s.bars.show||s.lines.show&&s.lines.fill){var b=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);g.push({y:!0,number:!0,required:!1,defaultValue:0,autoscale:b}),s.bars.horizontal&&(delete g[g.length-1].y,g[g.length-1].x=!0)}s.datapoints.format=g}if(null==s.datapoints.pointsize){s.datapoints.pointsize=g.length,c=s.datapoints.pointsize,l=s.datapoints.points;var y=s.lines.show&&s.lines.steps;for(s.xaxis.used=s.yaxis.used=!0,n=o=0;n<p.length;++n,o+=c){f=p[n];var x=null==f;if(!x)for(a=0;a<c;++a)u=f[a],h=g[a],h&&(h.number&&null!=u&&(u=+u,isNaN(u)?u=null:u==1/0?u=v:u==-1/0&&(u=-v)),null==u&&(h.required&&(x=!0),null!=h.defaultValue&&(u=h.defaultValue))),l[o+a]=u;if(x)for(a=0;a<c;++a)u=l[o+a],null!=u&&(h=g[a],h.x&&t(s.xaxis,u,u),h.y&&t(s.yaxis,u,u)),l[o+a]=null;else if(y&&o>0&&null!=l[o-c]&&l[o-c]!=l[o]&&l[o-c+1]!=l[o+1]){for(a=0;a<c;++a)l[o+c+a]=l[o+a];l[o+1]=l[o-c+1],o+=c}}}}for(i=0;i<ie.length;++i)s=ie[i],r(_e.processDatapoints,[s,s.datapoints]);for(i=0;i<ie.length;++i){s=ie[i],l=s.datapoints.points,c=s.datapoints.pointsize,g=s.datapoints.format;var w=_,k=_,C=m,j=m;for(n=0;n<l.length;n+=c)if(null!=l[n])for(a=0;a<c;++a)u=l[n+a],(h=g[a])&&!1!==h.autoscale&&u!=v&&u!=-v&&(h.x&&(u<w&&(w=u),u>C&&(C=u)),h.y&&(u<k&&(k=u),u>j&&(j=u)));if(s.bars.show){var T;switch(s.bars.align){case"left":T=0;break;case"right":T=-s.bars.barWidth;break;case"center":T=-s.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+s.bars.align)}s.bars.horizontal?(k+=T,j+=T+s.bars.barWidth):(w+=T,C+=T+s.bars.barWidth)}t(s.xaxis,w,C),t(s.yaxis,k,j)}e.each(d(),function(e,t){t.datamin==_&&(t.datamin=null),t.datamax==m&&(t.datamax=null)})}function _(e){return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}function m(i){var n=document.createElement("canvas");if(n.className=i,e(n).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(t),!n.getContext){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");n=window.G_vmlCanvasManager.initElement(n)}var o=n.getContext("2d"),a=_(o);return n.width=he*a,n.height=fe*a,n.style.width=he+"px",n.style.height=fe+"px",o.save(),o.scale(a,a),n}function v(){if(he=t.width(),fe=t.height(),he<=0||fe<=0)throw new Error("Invalid dimensions for plot, width = "+he+", height = "+fe)}function b(e){var t=e.getContext("2d"),i=_(t);e.style.width!=he&&(e.width=he*i,e.style.width=he+"px"),e.style.height!=fe&&(e.height=fe*i,e.style.height=fe+"px"),t.restore(),t.save(),t.scale(i,i)}function y(){be&&clearTimeout(be),re.unbind("mousemove",H),re.unbind("mouseleave",R),re.unbind("click",U),r(_e.shutdown,[re])}function x(e){function t(e){return e}var i,n,o=e.options.transform||t,a=e.options.inverseTransform;"x"==e.direction?(i=e.scale=pe/Math.abs(o(e.max)-o(e.min)),n=Math.min(o(e.max),o(e.min))):(i=e.scale=ge/Math.abs(o(e.max)-o(e.min)),i=-i,n=Math.max(o(e.max),o(e.min))),e.p2c=o==t?function(e){return(e-n)*i}:function(e){return(o(e)-n)*i},e.c2p=a?function(e){return a(n+e/i)}:function(e){return n+e/i}}function w(e){var t=e.options,i=e.ticks||[],n=t.labelWidth||0,o=t.labelHeight||0,a=e.font;se.save(),se.font=a.style+" "+a.variant+" "+a.weight+" "+a.size+"px '"+a.family+"'";for(var r=0;r<i.length;++r){var s=i[r];if(s.lines=[],s.width=s.height=0,s.label){for(var l=(s.label+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),c=0;c<l.length;++c){var d={text:l[c]},u=se.measureText(d.text);d.width=u.width,d.height=null!=u.height?u.height:a.size,d.height+=Math.round(.15*a.size),s.width=Math.max(d.width,s.width),s.height+=d.height,s.lines.push(d)}null==t.labelWidth&&(n=Math.max(n,s.width)),null==t.labelHeight&&(o=Math.max(o,s.height))}}se.restore(),e.labelWidth=Math.ceil(n),e.labelHeight=Math.ceil(o)}function k(t){var i,n=t.labelWidth,o=t.labelHeight,a=t.options.position,r=t.options.tickLength,s=ne.grid.axisMargin,l=ne.grid.labelMargin,c="x"==t.direction?ce:de,d=e.grep(c,function(e){return e&&e.options.position==a&&e.reserveSpace});if(e.inArray(t,d)==d.length-1&&(s=0),null==r){var u=e.grep(c,function(e){return e&&e.reserveSpace});i=0==e.inArray(t,u),r=i?"full":5}isNaN(+r)||(l+=+r),"x"==t.direction?(o+=l,"bottom"==a?(ue.bottom+=o+s,t.box={top:fe-ue.bottom,height:o}):(t.box={top:ue.top+s,height:o},ue.top+=o+s)):(n+=l,"left"==a?(t.box={left:ue.left+s,width:n},ue.left+=n+s):(ue.right+=n+s,t.box={left:he-ue.right,width:n})),t.position=a,t.tickLength=r,t.box.padding=l,t.innermost=i}function C(e){"x"==e.direction?(e.box.left=ue.left-e.labelWidth/2,e.box.width=he-ue.left-ue.right+e.labelWidth):(e.box.top=ue.top-e.labelHeight/2,e.box.height=fe-ue.bottom-ue.top+e.labelHeight)}function j(){var t,i=ne.grid.minBorderMargin,n={x:0,y:0};if(null==i)for(i=0,t=0;t<ie.length;++t)i=Math.max(i,2*(ie[t].points.radius+ie[t].points.lineWidth/2));n.x=n.y=Math.ceil(i),e.each(d(),function(e,t){var i=t.direction;t.reserveSpace&&(n[i]=Math.ceil(Math.max(n[i],("x"==i?t.labelWidth:t.labelHeight)/2)))}),ue.left=Math.max(n.x,ue.left),ue.right=Math.max(n.x,ue.right),ue.top=Math.max(n.y,ue.top),ue.bottom=Math.max(n.y,ue.bottom)}function T(){var i,n=d(),o=ne.grid.show;for(var a in ue){var s=ne.grid.margin||0;ue[a]="number"==typeof s?s:s[a]||0}r(_e.processOffset,[ue]);for(var a in ue)"object"==typeof ne.grid.borderWidth?ue[a]+=o?ne.grid.borderWidth[a]:0:ue[a]+=o?ne.grid.borderWidth:0;if(e.each(n,function(e,t){t.show=t.options.show,null==t.show&&(t.show=t.used),t.reserveSpace=t.show||t.options.reserveSpace,S(t)}),o){var l={style:t.css("font-style"),size:Math.round(.8*(+t.css("font-size").replace("px","")||13)),variant:t.css("font-variant"),weight:t.css("font-weight"),family:t.css("font-family")},c=e.grep(n,function(e){return e.reserveSpace});for(e.each(c,function(t,i){M(i),I(i),P(i,i.ticks),i.font=e.extend({},l,i.options.font),w(i)}),i=c.length-1;i>=0;--i)k(c[i]);j(),e.each(c,function(e,t){C(t)})}pe=he-ue.left-ue.right,ge=fe-ue.bottom-ue.top,e.each(n,function(e,t){x(t)}),B()}function S(e){var t=e.options,i=+(null!=t.min?t.min:e.datamin),n=+(null!=t.max?t.max:e.datamax),o=n-i;if(0==o){var a=0==n?1:.01;null==t.min&&(i-=a),null!=t.max&&null==t.min||(n+=a)}else{var r=t.autoscaleMargin;null!=r&&(null==t.min&&(i-=o*r)<0&&null!=e.datamin&&e.datamin>=0&&(i=0),null==t.max&&(n+=o*r)>0&&null!=e.datamax&&e.datamax<=0&&(n=0))}e.min=i,e.max=n}function M(t){var n,o=t.options;if(n="number"==typeof o.ticks&&o.ticks>0?o.ticks:.3*Math.sqrt("x"==t.direction?he:fe),t.delta=(t.max-t.min)/n,"time"==o.mode&&!t.tickGenerator)throw new Error("Time mode requires the flot.time plugin.");if(t.tickGenerator||(t.tickGenerator=function(e){var t=o.tickDecimals,n=-Math.floor(Math.log(e.delta)/Math.LN10);null!=t&&n>t&&(n=t);var a,r,s,l=Math.pow(10,-n),c=e.delta/l,d=[],u=0,h=Number.NaN;c<1.5?a=1:c<3?(a=2,c>2.25&&(null==t||n+1<=t)&&(a=2.5,++n)):a=c<7.5?5:10,a*=l,null!=o.minTickSize&&a<o.minTickSize&&(a=o.minTickSize),e.tickDecimals=Math.max(0,null!=t?t:n),e.tickSize=o.tickSize||a,r=i(e.min,e.tickSize);do{s=h,h=r+u*e.tickSize,d.push(h),++u}while(h<e.max&&h!=s);return d},t.tickFormatter=function(e,t){var i=t.tickDecimals?Math.pow(10,t.tickDecimals):1,n=""+Math.round(e*i)/i;if(null!=t.tickDecimals){var o=n.indexOf("."),a=-1==o?0:n.length-o-1;if(a<t.tickDecimals)return(a?n:n+".")+(""+i).substr(1,t.tickDecimals-a)}return n}),e.isFunction(o.tickFormatter)&&(t.tickFormatter=function(e,t){return""+o.tickFormatter(e,t)}),null!=o.alignTicksWithAxis){var a=("x"==t.direction?ce:de)[o.alignTicksWithAxis-1];if(a&&a.used&&a!=t){var r=t.tickGenerator(t);if(r.length>0&&(null==o.min&&(t.min=Math.min(t.min,r[0])),null==o.max&&r.length>1&&(t.max=Math.max(t.max,r[r.length-1]))),t.tickGenerator=function(e){var t,i,n=[];for(i=0;i<a.ticks.length;++i)t=(a.ticks[i].v-a.min)/(a.max-a.min),t=e.min+t*(e.max-e.min),n.push(t);return n},!t.mode&&null==o.tickDecimals){var s=Math.max(0,1-Math.floor(Math.log(t.delta)/Math.LN10)),l=t.tickGenerator(t);l.length>1&&/\..*0$/.test((l[1]-l[0]).toFixed(s))||(t.tickDecimals=s)}}}}function I(t){var i=t.options.ticks,n=[];null==i||"number"==typeof i&&i>0?n=t.tickGenerator(t):i&&(n=e.isFunction(i)?i(t):i);var o,a;for(t.ticks=[],o=0;o<n.length;++o){var r=null,s=n[o];"object"==typeof s?(a=+s[0],s.length>1&&(r=s[1])):a=+s,null==r&&(r=t.tickFormatter(a,t)),isNaN(a)||t.ticks.push({v:a,label:r})}}function P(e,t){e.options.autoscaleMargin&&t.length>0&&(null==e.options.min&&(e.min=Math.min(e.min,t[0].v)),null==e.options.max&&t.length>1&&(e.max=Math.max(e.max,t[t.length-1].v)))}function z(){se.clearRect(0,0,he,fe),r(_e.drawBackground,[se]);var e=ne.grid;e.show&&e.backgroundColor&&O(),e.show&&!e.aboveData&&(Q(),E());for(var t=0;t<ie.length;++t)r(_e.drawSeries,[se,ie[t]]),D(ie[t]);r(_e.draw,[se]),e.show&&e.aboveData&&(Q(),E())}function A(e,t){for(var i,n,o,a,r=d(),s=0;s<r.length;++s)if(i=r[s],i.direction==t&&(a=t+i.n+"axis",e[a]||1!=i.n||(a=t+"axis"),e[a])){n=e[a].from,o=e[a].to;break}if(e[a]||(i="x"==t?ce[0]:de[0],n=e[t+"1"],o=e[t+"2"]),null!=n&&null!=o&&n>o){var l=n;n=o,o=l}return{from:n,to:o,axis:i}}function O(){se.save(),se.translate(ue.left,ue.top),se.fillStyle=te(ne.grid.backgroundColor,ge,0,"rgba(255, 255, 255, 0)"),se.fillRect(0,0,pe,ge),se.restore()}function Q(){var t,i,n,o;se.save(),se.translate(ue.left,ue.top);var a=ne.grid.markings;if(a)for(e.isFunction(a)&&(i=me.getAxes(),i.xmin=i.xaxis.min,i.xmax=i.xaxis.max,i.ymin=i.yaxis.min,i.ymax=i.yaxis.max,a=a(i)),t=0;t<a.length;++t){var r=a[t],s=A(r,"x"),l=A(r,"y");null==s.from&&(s.from=s.axis.min),null==s.to&&(s.to=s.axis.max),null==l.from&&(l.from=l.axis.min),null==l.to&&(l.to=l.axis.max),s.to<s.axis.min||s.from>s.axis.max||l.to<l.axis.min||l.from>l.axis.max||(s.from=Math.max(s.from,s.axis.min),s.to=Math.min(s.to,s.axis.max),l.from=Math.max(l.from,l.axis.min),l.to=Math.min(l.to,l.axis.max),s.from==s.to&&l.from==l.to||(s.from=s.axis.p2c(s.from),s.to=s.axis.p2c(s.to),l.from=l.axis.p2c(l.from),l.to=l.axis.p2c(l.to),s.from==s.to||l.from==l.to?(se.beginPath(),se.strokeStyle=r.color||ne.grid.markingsColor,se.lineWidth=r.lineWidth||ne.grid.markingsLineWidth,se.moveTo(s.from,l.from),se.lineTo(s.to,l.to),se.stroke()):(se.fillStyle=r.color||ne.grid.markingsColor,se.fillRect(s.from,l.to,s.to-s.from,l.from-l.to))))}i=d(),n=ne.grid.borderWidth;for(var c=0;c<i.length;++c){var u,h,f,p,g=i[c],_=g.box,m=g.tickLength;if(g.show&&0!=g.ticks.length){for(se.strokeStyle=g.options.tickColor||e.color.parse(g.options.color).scale("a",.22).toString(),se.lineWidth=1,"x"==g.direction?(u=0,h="full"==m?"top"==g.position?0:ge:_.top-ue.top+("top"==g.position?_.height:0)):(h=0,u="full"==m?"left"==g.position?0:pe:_.left-ue.left+("left"==g.position?_.width:0)),g.innermost||(se.beginPath(),f=p=0,"x"==g.direction?f=pe:p=ge,1==se.lineWidth&&(u=Math.floor(u)+.5,h=Math.floor(h)+.5),se.moveTo(u,h),se.lineTo(u+f,h+p),se.stroke()),se.beginPath(),t=0;t<g.ticks.length;++t){var v=g.ticks[t].v;f=p=0,isNaN(v)||v<g.min||v>g.max||"full"==m&&("object"==typeof n&&n[g.position]>0||n>0)&&(v==g.min||v==g.max)||("x"==g.direction?(u=g.p2c(v),p="full"==m?-ge:m,"top"==g.position&&(p=-p)):(h=g.p2c(v),f="full"==m?-pe:m,"left"==g.position&&(f=-f)),1==se.lineWidth&&("x"==g.direction?u=Math.floor(u)+.5:h=Math.floor(h)+.5),se.moveTo(u,h),se.lineTo(u+f,h+p))}se.stroke()}}n&&(o=ne.grid.borderColor,"object"==typeof n||"object"==typeof o?("object"!=typeof n&&(n={top:n,right:n,bottom:n,left:n}),"object"!=typeof o&&(o={top:o,right:o,bottom:o,left:o}),n.top>0&&(se.strokeStyle=o.top,se.lineWidth=n.top,se.beginPath(),se.moveTo(0-n.left,0-n.top/2),se.lineTo(pe,0-n.top/2),se.stroke()),n.right>0&&(se.strokeStyle=o.right,se.lineWidth=n.right,se.beginPath(),se.moveTo(pe+n.right/2,0-n.top),se.lineTo(pe+n.right/2,ge),se.stroke()),n.bottom>0&&(se.strokeStyle=o.bottom,se.lineWidth=n.bottom,se.beginPath(),se.moveTo(pe+n.right,ge+n.bottom/2),se.lineTo(0,ge+n.bottom/2),se.stroke()),n.left>0&&(se.strokeStyle=o.left,se.lineWidth=n.left,se.beginPath(),se.moveTo(0-n.left/2,ge+n.bottom),se.lineTo(0-n.left/2,0),se.stroke())):(se.lineWidth=n,se.strokeStyle=ne.grid.borderColor,se.strokeRect(-n/2,-n/2,pe+n,ge+n))),se.restore()}function E(){se.save(),e.each(d(),function(e,t){if(t.show&&0!=t.ticks.length){var i=t.box,n=t.font;se.fillStyle=t.options.color,se.font=n.style+" "+n.variant+" "+n.weight+" "+n.size+"px "+n.family,se.textAlign="start",se.textBaseline="middle";for(var o=0;o<t.ticks.length;++o){var a=t.ticks[o];if(!(!a.label||a.v<t.min||a.v>t.max))for(var r,s,l,c=0,d=0;d<a.lines.length;++d)l=a.lines[d],"x"==t.direction?(r=ue.left+t.p2c(a.v)-l.width/2,s="bottom"==t.position?i.top+i.padding:i.top+i.height-i.padding-a.height):(s=ue.top+t.p2c(a.v)-a.height/2,r="left"==t.position?i.left+i.width-i.padding-l.width:i.left+i.padding),s+=l.height/2+c,c+=l.height,window.opera&&window.opera.version().split(".")[0]<12&&(r=Math.floor(r),s=Math.ceil(s-2)),se.fillText(l.text,r,s)}}}),se.restore()}function D(e){e.lines.show&&W(e),e.bars.show&&N(e),e.points.show&&q(e)}function W(e){function t(e,t,i,n,o){var a=e.points,r=e.pointsize,s=null,l=null;se.beginPath();for(var c=r;c<a.length;c+=r){var d=a[c-r],u=a[c-r+1],h=a[c],f=a[c+1];if(null!=d&&null!=h){if(u<=f&&u<o.min){if(f<o.min)continue;d=(o.min-u)/(f-u)*(h-d)+d,u=o.min}else if(f<=u&&f<o.min){if(u<o.min)continue;h=(o.min-u)/(f-u)*(h-d)+d,f=o.min}if(u>=f&&u>o.max){if(f>o.max)continue;d=(o.max-u)/(f-u)*(h-d)+d,u=o.max}else if(f>=u&&f>o.max){if(u>o.max)continue;h=(o.max-u)/(f-u)*(h-d)+d,f=o.max}if(d<=h&&d<n.min){if(h<n.min)continue;u=(n.min-d)/(h-d)*(f-u)+u,d=n.min}else if(h<=d&&h<n.min){if(d<n.min)continue;f=(n.min-d)/(h-d)*(f-u)+u,h=n.min}if(d>=h&&d>n.max){if(h>n.max)continue;u=(n.max-d)/(h-d)*(f-u)+u,d=n.max}else if(h>=d&&h>n.max){if(d>n.max)continue;f=(n.max-d)/(h-d)*(f-u)+u,h=n.max}d==s&&u==l||se.moveTo(n.p2c(d)+t,o.p2c(u)+i),s=h,l=f,se.lineTo(n.p2c(h)+t,o.p2c(f)+i)}}se.stroke()}se.save(),se.translate(ue.left,ue.top),se.lineJoin="round";var i=e.lines.lineWidth,n=e.shadowSize;if(i>0&&n>0){se.lineWidth=n,se.strokeStyle="rgba(0,0,0,0.1)";var o=Math.PI/18;t(e.datapoints,Math.sin(o)*(i/2+n/2),Math.cos(o)*(i/2+n/2),e.xaxis,e.yaxis),se.lineWidth=n/2,t(e.datapoints,Math.sin(o)*(i/2+n/4),Math.cos(o)*(i/2+n/4),e.xaxis,e.yaxis)}se.lineWidth=i,se.strokeStyle=e.color;var a=G(e.lines,e.color,0,ge);a&&(se.fillStyle=a,function(e,t,i){for(var n=e.points,o=e.pointsize,a=Math.min(Math.max(0,i.min),i.max),r=0,s=!1,l=1,c=0,d=0;!(o>0&&r>n.length+o);){r+=o;var u=n[r-o],h=n[r-o+l],f=n[r],p=n[r+l];if(s){if(o>0&&null!=u&&null==f){d=r,o=-o,l=2;continue}if(o<0&&r==c+o){se.fill(),s=!1,o=-o,l=1,r=c=d+o;continue}}if(null!=u&&null!=f){if(u<=f&&u<t.min){if(f<t.min)continue;h=(t.min-u)/(f-u)*(p-h)+h,u=t.min}else if(f<=u&&f<t.min){if(u<t.min)continue;p=(t.min-u)/(f-u)*(p-h)+h,f=t.min}if(u>=f&&u>t.max){if(f>t.max)continue;h=(t.max-u)/(f-u)*(p-h)+h,u=t.max}else if(f>=u&&f>t.max){if(u>t.max)continue;p=(t.max-u)/(f-u)*(p-h)+h,f=t.max}if(s||(se.beginPath(),se.moveTo(t.p2c(u),i.p2c(a)),s=!0),h>=i.max&&p>=i.max)se.lineTo(t.p2c(u),i.p2c(i.max)),se.lineTo(t.p2c(f),i.p2c(i.max));else if(h<=i.min&&p<=i.min)se.lineTo(t.p2c(u),i.p2c(i.min)),se.lineTo(t.p2c(f),i.p2c(i.min));else{var g=u,_=f;h<=p&&h<i.min&&p>=i.min?(u=(i.min-h)/(p-h)*(f-u)+u,h=i.min):p<=h&&p<i.min&&h>=i.min&&(f=(i.min-h)/(p-h)*(f-u)+u,p=i.min),h>=p&&h>i.max&&p<=i.max?(u=(i.max-h)/(p-h)*(f-u)+u,h=i.max):p>=h&&p>i.max&&h<=i.max&&(f=(i.max-h)/(p-h)*(f-u)+u,p=i.max),u!=g&&se.lineTo(t.p2c(g),i.p2c(h)),se.lineTo(t.p2c(u),i.p2c(h)),se.lineTo(t.p2c(f),i.p2c(p)),f!=_&&(se.lineTo(t.p2c(f),i.p2c(p)),se.lineTo(t.p2c(_),i.p2c(p)))}}}}(e.datapoints,e.xaxis,e.yaxis)),i>0&&t(e.datapoints,0,0,e.xaxis,e.yaxis),se.restore()}function q(e){function t(e,t,i,n,o,a,r,s){for(var l=e.points,c=e.pointsize,d=0;d<l.length;d+=c){var u=l[d],h=l[d+1];null==u||u<a.min||u>a.max||h<r.min||h>r.max||(se.beginPath(),u=a.p2c(u),h=r.p2c(h)+n,"circle"==s?se.arc(u,h,t,0,o?Math.PI:2*Math.PI,!1):s(se,u,h,t,o),se.closePath(),i&&(se.fillStyle=i,se.fill()),se.stroke())}}se.save(),se.translate(ue.left,ue.top);var i=e.points.lineWidth,n=e.shadowSize,o=e.points.radius,a=e.points.symbol;if(0==i&&(i=1e-4),i>0&&n>0){var r=n/2;se.lineWidth=r,se.strokeStyle="rgba(0,0,0,0.1)",t(e.datapoints,o,null,r+r/2,!0,e.xaxis,e.yaxis,a),se.strokeStyle="rgba(0,0,0,0.2)",t(e.datapoints,o,null,r/2,!0,e.xaxis,e.yaxis,a)}se.lineWidth=i,se.strokeStyle=e.color,t(e.datapoints,o,G(e.points,e.color),0,!1,e.xaxis,e.yaxis,a),se.restore()}function F(e,t,i,n,o,a,r,s,l,c,d,u){var h,f,p,g,_,m,v,b,y;d?(b=m=v=!0,_=!1,h=i,f=e,g=t+n,p=t+o,f<h&&(y=f,f=h,h=y,_=!0,m=!1)):(_=m=v=!0,b=!1,h=e+n,f=e+o,p=i,(g=t)<p&&(y=g,g=p,p=y,b=!0,v=!1)),f<s.min||h>s.max||g<l.min||p>l.max||(h<s.min&&(h=s.min,_=!1),f>s.max&&(f=s.max,m=!1),p<l.min&&(p=l.min,b=!1),g>l.max&&(g=l.max,v=!1),h=s.p2c(h),p=l.p2c(p),f=s.p2c(f),g=l.p2c(g),r&&(c.beginPath(),c.moveTo(h,p),c.lineTo(h,g),c.lineTo(f,g),c.lineTo(f,p),c.fillStyle=r(p,g),c.fill()),u>0&&(_||m||v||b)&&(c.beginPath(),c.moveTo(h,p+a),_?c.lineTo(h,g+a):c.moveTo(h,g+a),v?c.lineTo(f,g+a):c.moveTo(f,g+a),m?c.lineTo(f,p+a):c.moveTo(f,p+a),b?c.lineTo(h,p+a):c.moveTo(h,p+a),c.stroke()))}function N(e){se.save(),se.translate(ue.left,ue.top),se.lineWidth=e.bars.lineWidth,se.strokeStyle=e.color;var t;switch(e.bars.align){case"left":t=0;break;case"right":t=-e.bars.barWidth;break;case"center":t=-e.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+e.bars.align)}var i=e.bars.fill?function(t,i){return G(e.bars,e.color,t,i)}:null;!function(t,i,n,o,a,r,s){for(var l=t.points,c=t.pointsize,d=0;d<l.length;d+=c)null!=l[d]&&F(l[d],l[d+1],l[d+2],i,n,o,a,r,s,se,e.bars.horizontal,e.bars.lineWidth)}(e.datapoints,t,t+e.bars.barWidth,0,i,e.xaxis,e.yaxis),se.restore()}function G(t,i,n,o){var a=t.fill;if(!a)return null;if(t.fillColor)return te(t.fillColor,n,o,i);var r=e.color.parse(i);return r.a="number"==typeof a?a:.4,r.normalize(),r.toString()}function B(){if(t.find(".legend").remove(),ne.legend.show){for(var i,n,o=[],a=[],r=!1,s=ne.legend.labelFormatter,l=0;l<ie.length;++l)i=ie[l],i.label&&(n=s?s(i.label,i):i.label)&&a.push({label:n,color:i.color});if(ne.legend.sorted)if(e.isFunction(ne.legend.sorted))a.sort(ne.legend.sorted);else if("reverse"==ne.legend.sorted)a.reverse();else{var c="descending"!=ne.legend.sorted;a.sort(function(e,t){return e.label==t.label?0:e.label<t.label!=c?1:-1})}for(var l=0;l<a.length;++l){var d=a[l];l%ne.legend.noColumns==0&&(r&&o.push("</tr>"),o.push("<tr>"),r=!0),o.push('<td class="legendColorBox"><div style="border:1px solid '+ne.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+d.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+d.label+"</td>")}if(r&&o.push("</tr>"),0!=o.length){var u='<table style="font-size:smaller;color:'+ne.grid.color+'">'+o.join("")+"</table>";if(null!=ne.legend.container)e(ne.legend.container).html(u);else{var h="",f=ne.legend.position,p=ne.legend.margin;null==p[0]&&(p=[p,p]),"n"==f.charAt(0)?h+="top:"+(p[1]+ue.top)+"px;":"s"==f.charAt(0)&&(h+="bottom:"+(p[1]+ue.bottom)+"px;"),"e"==f.charAt(1)?h+="right:"+(p[0]+ue.right)+"px;":"w"==f.charAt(1)&&(h+="left:"+(p[0]+ue.left)+"px;");var g=e('<div class="legend">'+u.replace('style="','style="position:absolute;'+h+";")+"</div>").appendTo(t);if(0!=ne.legend.backgroundOpacity){var _=ne.legend.backgroundColor;null==_&&(_=ne.grid.backgroundColor,_=_&&"string"==typeof _?e.color.parse(_):e.color.extract(g,"background-color"),_.a=1,_=_.toString());var m=g.children();e('<div style="position:absolute;width:'+m.width()+"px;height:"+m.height()+"px;"+h+"background-color:"+_+';"> </div>').prependTo(g).css("opacity",ne.legend.backgroundOpacity)}}}}}function L(e,t,i){var n,o,a,r=ne.grid.mouseActiveRadius,s=r*r+1,l=null;for(n=ie.length-1;n>=0;--n)if(i(ie[n])){var c=ie[n],d=c.xaxis,u=c.yaxis,h=c.datapoints.points,f=d.c2p(e),p=u.c2p(t),g=r/d.scale,_=r/u.scale;if(a=c.datapoints.pointsize,d.options.inverseTransform&&(g=Number.MAX_VALUE),u.options.inverseTransform&&(_=Number.MAX_VALUE),c.lines.show||c.points.show)for(o=0;o<h.length;o+=a){var m=h[o],v=h[o+1];if(null!=m&&!(m-f>g||m-f<-g||v-p>_||v-p<-_)){var b=Math.abs(d.p2c(m)-e),y=Math.abs(u.p2c(v)-t),x=b*b+y*y;x<s&&(s=x,l=[n,o/a])}}if(c.bars.show&&!l){var w="left"==c.bars.align?0:-c.bars.barWidth/2,k=w+c.bars.barWidth;for(o=0;o<h.length;o+=a){var m=h[o],v=h[o+1],C=h[o+2];null!=m&&((ie[n].bars.horizontal?f<=Math.max(C,m)&&f>=Math.min(C,m)&&p>=v+w&&p<=v+k:f>=m+w&&f<=m+k&&p>=Math.min(C,v)&&p<=Math.max(C,v))&&(l=[n,o/a]))}}}return l?(n=l[0],o=l[1],a=ie[n].datapoints.pointsize,{datapoint:ie[n].datapoints.points.slice(o*a,(o+1)*a),dataIndex:o,series:ie[n],seriesIndex:n}):null}function H(e){ne.grid.hoverable&&Y("plothover",e,function(e){return 0!=e.hoverable})}function R(e){ne.grid.hoverable&&Y("plothover",e,function(e){return!1})}function U(e){Y("plotclick",e,function(e){return 0!=e.clickable})}function Y(e,i,n){var o=re.offset(),a=i.pageX-o.left-ue.left,r=i.pageY-o.top-ue.top,s=u({left:a,top:r});s.pageX=i.pageX,s.pageY=i.pageY;var l=L(a,r,n);if(l&&(l.pageX=parseInt(l.series.xaxis.p2c(l.datapoint[0])+o.left+ue.left,10),l.pageY=parseInt(l.series.yaxis.p2c(l.datapoint[1])+o.top+ue.top,10)),ne.grid.autoHighlight){for(var c=0;c<ve.length;++c){var d=ve[c];d.auto!=e||l&&d.series==l.series&&d.point[0]==l.datapoint[0]&&d.point[1]==l.datapoint[1]||$(d.series,d.point)}l&&X(l.series,l.datapoint,e)}t.trigger(e,[s,l])}function V(){var e=ne.interaction.redrawOverlayInterval;if(-1==e)return void K();be||(be=setTimeout(K,e))}function K(){be=null,le.save(),le.clearRect(0,0,he,fe),le.translate(ue.left,ue.top);var e,t;for(e=0;e<ve.length;++e)t=ve[e],t.series.bars.show?ee(t.series,t.point):J(t.series,t.point);le.restore(),r(_e.drawOverlay,[le])}function X(e,t,i){if("number"==typeof e&&(e=ie[e]),"number"==typeof t){var n=e.datapoints.pointsize;t=e.datapoints.points.slice(n*t,n*(t+1))}var o=Z(e,t);-1==o?(ve.push({series:e,point:t,auto:i}),V()):i||(ve[o].auto=!1)}function $(e,t){null==e&&null==t&&(ve=[],V()),"number"==typeof e&&(e=ie[e]),"number"==typeof t&&(t=e.data[t]);var i=Z(e,t);-1!=i&&(ve.splice(i,1),V())}function Z(e,t){for(var i=0;i<ve.length;++i){var n=ve[i];if(n.series==e&&n.point[0]==t[0]&&n.point[1]==t[1])return i}return-1}function J(t,i){var n=i[0],o=i[1],a=t.xaxis,r=t.yaxis,s="string"==typeof t.highlightColor?t.highlightColor:e.color.parse(t.color).scale("a",.5).toString();if(!(n<a.min||n>a.max||o<r.min||o>r.max)){var l=t.points.radius+t.points.lineWidth/2;le.lineWidth=l,le.strokeStyle=s;var c=1.5*l;n=a.p2c(n),o=r.p2c(o),le.beginPath(),"circle"==t.points.symbol?le.arc(n,o,c,0,2*Math.PI,!1):t.points.symbol(le,n,o,c,!1),le.closePath(),le.stroke()}}function ee(t,i){var n="string"==typeof t.highlightColor?t.highlightColor:e.color.parse(t.color).scale("a",.5).toString(),o=n,a="left"==t.bars.align?0:-t.bars.barWidth/2;le.lineWidth=t.bars.lineWidth,le.strokeStyle=n,F(i[0],i[1],i[2]||0,a,a+t.bars.barWidth,0,function(){return o},t.xaxis,t.yaxis,le,t.bars.horizontal,t.bars.lineWidth)}function te(t,i,n,o){if("string"==typeof t)return t;for(var a=se.createLinearGradient(0,n,0,i),r=0,s=t.colors.length;r<s;++r){var l=t.colors[r];if("string"!=typeof l){var c=e.color.parse(o);null!=l.brightness&&(c=c.scale("rgb",l.brightness)),null!=l.opacity&&(c.a*=l.opacity),l=c.toString()}a.addColorStop(r/(s-1),l)}return a}var ie=[],ne={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,timezone:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:!1},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1,zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},oe=null,ae=null,re=null,se=null,le=null,ce=[],de=[],ue={left:0,right:0,top:0,bottom:0},he=0,fe=0,pe=0,ge=0,_e={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},me=this;me.setData=s,me.setupGrid=T,me.draw=z,me.getPlaceholder=function(){return t},me.getCanvas=function(){return oe},me.getPlotOffset=function(){return ue},me.width=function(){return pe},me.height=function(){return ge},me.offset=function(){var e=re.offset();return e.left+=ue.left,e.top+=ue.top,e},me.getData=function(){return ie},me.getAxes=function(){var t={};return e.each(ce.concat(de),function(e,i){i&&(t[i.direction+(1!=i.n?i.n:"")+"axis"]=i)}),t},me.getXAxes=function(){return ce},me.getYAxes=function(){return de},me.c2p=u,me.p2c=h,me.getOptions=function(){return ne},me.highlight=X,me.unhighlight=$,me.triggerRedrawOverlay=V,me.pointOffset=function(e){return{left:parseInt(ce[c(e,"x")-1].p2c(+e.x)+ue.left,10),top:parseInt(de[c(e,"y")-1].p2c(+e.y)+ue.top,10)}},me.shutdown=y,me.resize=function(){v(),b(oe),b(ae)},me.hooks=_e,function(){for(var t=0;t<a.length;++t){var i=a[t];i.init(me),i.options&&e.extend(!0,ne,i.options)}}(),function(t){var i;for(e.extend(!0,ne,t),null==ne.xaxis.color&&(ne.xaxis.color=ne.grid.color),null==ne.yaxis.color&&(ne.yaxis.color=ne.grid.color),null==ne.xaxis.tickColor&&(ne.xaxis.tickColor=ne.grid.tickColor),null==ne.yaxis.tickColor&&(ne.yaxis.tickColor=ne.grid.tickColor),null==ne.grid.borderColor&&(ne.grid.borderColor=ne.grid.color),null==ne.grid.tickColor&&(ne.grid.tickColor=e.color.parse(ne.grid.color).scale("a",.22).toString()),i=0;i<Math.max(1,ne.xaxes.length);++i)ne.xaxes[i]=e.extend(!0,{},ne.xaxis,ne.xaxes[i]);for(i=0;i<Math.max(1,ne.yaxes.length);++i)ne.yaxes[i]=e.extend(!0,{},ne.yaxis,ne.yaxes[i]);for(ne.xaxis.noTicks&&null==ne.xaxis.ticks&&(ne.xaxis.ticks=ne.xaxis.noTicks),ne.yaxis.noTicks&&null==ne.yaxis.ticks&&(ne.yaxis.ticks=ne.yaxis.noTicks),ne.x2axis&&(ne.xaxes[1]=e.extend(!0,{},ne.xaxis,ne.x2axis),ne.xaxes[1].position="top"),ne.y2axis&&(ne.yaxes[1]=e.extend(!0,{},ne.yaxis,ne.y2axis),ne.yaxes[1].position="right"),ne.grid.coloredAreas&&(ne.grid.markings=ne.grid.coloredAreas),ne.grid.coloredAreasColor&&(ne.grid.markingsColor=ne.grid.coloredAreasColor),ne.lines&&e.extend(!0,ne.series.lines,ne.lines),ne.points&&e.extend(!0,ne.series.points,ne.points),ne.bars&&e.extend(!0,ne.series.bars,ne.bars),null!=ne.shadowSize&&(ne.series.shadowSize=ne.shadowSize),null!=ne.highlightColor&&(ne.series.highlightColor=ne.highlightColor),i=0;i<ne.xaxes.length;++i)f(ce,i+1).options=ne.xaxes[i];for(i=0;i<ne.yaxes.length;++i)f(de,i+1).options=ne.yaxes[i];for(var n in _e)ne.hooks[n]&&ne.hooks[n].length&&(_e[n]=_e[n].concat(ne.hooks[n]));r(_e.processOptions,[ne])}(o),function(){var i,n=t.children("canvas.flot-base"),o=t.children("canvas.flot-overlay");0==n.length||0==o?(t.html(""),t.css({padding:0}),"static"==t.css("position")&&t.css("position","relative"),v(),oe=m("flot-base"),ae=m("flot-overlay"),i=!1):(oe=n.get(0),ae=o.get(0),i=!0),se=oe.getContext("2d"),le=ae.getContext("2d"),re=e(ae),i&&(t.data("plot").shutdown(),me.resize(),le.clearRect(0,0,he,fe),re.unbind(),t.children().not([oe,ae]).remove()),t.data("plot",me)}(),s(n),T(),z(),function(){ne.grid.hoverable&&(re.mousemove(H),re.bind("mouseleave",R)),ne.grid.clickable&&re.click(U),r(_e.bindEvents,[re])}();var ve=[],be=null}function i(e,t){return t*Math.floor(e/t)}e.plot=function(i,n,o){return new t(e(i),n,o,e.plot.plugins)},e.plot.version="0.8-alpha",e.plot.plugins=[],e.fn.plot=function(t,i){return this.each(function(){e.plot(this,t,i)})}}(jQuery)},function(e,t){!function(e){function t(e){function t(e,t,o){var r=null;if(i(t)&&(c(t),n(e),a(e),l(t),_>=2)){var s=d(t),m=0,b=u();void 0===x[t.bars.order]&&(h(s)?x[t.bars.order]=-1*f(g,s-1,Math.floor(_/2)-1)-b:x[t.bars.order]=f(g,Math.ceil(_/2),s-2)+b+2*v),m=x[t.bars.order],r=p(o,t,m),o.points=r}return r}function i(e){return null!=e.bars&&e.bars.show&&null!=e.bars.order}function n(e){var t=y?e.getPlaceholder().innerHeight():e.getPlaceholder().innerWidth(),i=y?o(e.getData(),1):o(e.getData(),0),n=i[1]-i[0];b=n/t}function o(e,t){for(var i=new Array,n=0;n<e.length;n++)i[0]=e[n].data[0]?e[n].data[0][t]:null,i[1]=e[n].data[e[n].data.length-1]?e[n].data[e[n].data.length-1][t]:null;return i}function a(e){g=r(e.getData()),_=g.length}function r(e){for(var t=new Array,i=[],n=0;n<e.length;n++)null!=e[n].bars.order&&e[n].bars.show&&i.indexOf(e[n].bars.order)<0&&(i.push(e[n].bars.order),t.push(e[n]));return t.sort(s)}function s(e,t){var i=e.bars.order,n=t.bars.order;return i<n?-1:i>n?1:0}function l(e){m=void 0!==e.bars.lineWidth?e.bars.lineWidth:2,v=m*b}function c(e){e.bars.horizontal&&(y=!0)}function d(e){for(var t=0,i=0;i<g.length;++i)if(e==g[i]){t=i;break}return t+1}function u(){var e=0;return _%2!=0&&(e=g[Math.ceil(_/2)].bars.barWidth/2),e}function h(e){return e<=Math.ceil(_/2)}function f(e,t,i){for(var n=0,o=t;o<=i;o++)n+=e[o].bars.barWidth+2*v;return n}function p(e,t,i){for(var n=e.pointsize,o=e.points,a=0,r=y?1:0;r<o.length;r+=n)o[r]+=i,t.data[a][3]=o[r],a++;return o}var g,_,m,v,b=1,y=!1,x={};e.hooks.processDatapoints.push(t)}var i={series:{bars:{order:null}}};e.plot.plugins.push({init:t,options:i,name:"orderBars",version:"0.2"})}(jQuery)},function(e,t){!function(e){function t(e,t){return t*Math.floor(e/t)}function i(e,t,i,n){if("function"==typeof e.strftime)return e.strftime(t);var o=function(e,t){return e=""+e,t=""+(null==t?"0":t),1==e.length?t+e:e},a=[],r=!1,s=e.getHours(),l=s<12;null==i&&(i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),null==n&&(n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var c;c=s>12?s-12:0==s?12:s;for(var d=0;d<t.length;++d){var u=t.charAt(d);if(r){switch(u){case"a":u=""+n[e.getDay()];break;case"b":u=""+i[e.getMonth()];break;case"d":u=o(e.getDate());break;case"e":u=o(e.getDate()," ");break;case"H":u=o(s);break;case"I":u=o(c);break;case"l":u=o(c," ");break;case"m":u=o(e.getMonth()+1);break;case"M":u=o(e.getMinutes());break;case"q":u=""+(Math.floor(e.getMonth()/3)+1);break;case"S":u=o(e.getSeconds());break;case"y":u=o(e.getFullYear()%100);break;case"Y":u=""+e.getFullYear();break;case"p":u=l?"am":"pm";break;case"P":u=l?"AM":"PM";break;case"w":u=""+e.getDay()}a.push(u),r=!1}else"%"==u?r=!0:a.push(u)}return a.join("")}function n(e){function t(e,t,i,n){e[t]=function(){return i[n].apply(i,arguments)}}var i={date:e};void 0!=e.strftime&&t(i,"strftime",e,"strftime"),t(i,"getTime",e,"getTime"),t(i,"setTime",e,"setTime");for(var n=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"],o=0;o<n.length;o++)t(i,"get"+n[o],e,"getUTC"+n[o]),t(i,"set"+n[o],e,"setUTC"+n[o]);return i}function o(e,t){if("browser"==t.timezone)return new Date(e);if(t.timezone&&"utc"!=t.timezone){if("undefined"!=typeof timezoneJS&&void 0!==timezoneJS.Date){var i=new timezoneJS.Date;return i.setTimezone(t.timezone),i.setTime(e),i}return n(new Date(e))}return n(new Date(e))}function a(n){n.hooks.processDatapoints.push(function(n,a,r){e.each(n.getAxes(),function(e,n){var a=n.options;"time"==a.mode&&(n.tickGenerator=function(e){var i=[],n=o(e.min,a),r=0,l=a.tickSize&&"quarter"===a.tickSize[1]||a.minTickSize&&"quarter"===a.minTickSize[1]?d:c;null!=a.minTickSize&&(r="number"==typeof a.tickSize?a.tickSize:a.minTickSize[0]*s[a.minTickSize[1]]);for(var u=0;u<l.length-1&&!(e.delta<(l[u][0]*s[l[u][1]]+l[u+1][0]*s[l[u+1][1]])/2&&l[u][0]*s[l[u][1]]>=r);++u);var h=l[u][0],f=l[u][1];if("year"==f){if(null!=a.minTickSize&&"year"==a.minTickSize[1])h=Math.floor(a.minTickSize[0]);else{var p=Math.pow(10,Math.floor(Math.log(e.delta/s.year)/Math.LN10)),g=e.delta/s.year/p;h=g<1.5?1:g<3?2:g<7.5?5:10,h*=p}h<1&&(h=1)}e.tickSize=a.tickSize||[h,f];var _=e.tickSize[0];f=e.tickSize[1];var m=_*s[f];"second"==f?n.setSeconds(t(n.getSeconds(),_)):"minute"==f?n.setMinutes(t(n.getMinutes(),_)):"hour"==f?n.setHours(t(n.getHours(),_)):"month"==f?n.setMonth(t(n.getMonth(),_)):"quarter"==f?n.setMonth(3*t(n.getMonth()/3,_)):"year"==f&&n.setFullYear(t(n.getFullYear(),_)),n.setMilliseconds(0),m>=s.minute?n.setSeconds(0):m>=s.hour?n.setMinutes(0):m>=s.day?n.setHours(0):m>=4*s.day?n.setDate(1):m>=2*s.month?n.setMonth(t(n.getMonth(),3)):m>=2*s.quarter?n.setMonth(t(n.getMonth(),6)):m>=s.year&&n.setMonth(0);var v,b=0,y=Number.NaN;do{if(v=y,y=n.getTime(),i.push(y),"month"==f||"quarter"==f)if(_<1){n.setDate(1);var x=n.getTime();n.setMonth(n.getMonth()+("quarter"==f?3:1));var w=n.getTime();n.setTime(y+b*s.hour+(w-x)*_),b=n.getHours(),n.setHours(0)}else n.setMonth(n.getMonth()+_*("quarter"==f?3:1));else"year"==f?n.setFullYear(n.getFullYear()+_):n.setTime(y+m)}while(y<e.max&&y!=v);return i},n.tickFormatter=function(e,t){var n=o(e,t.options);if(null!=a.timeformat)return i(n,a.timeformat,a.monthNames,a.dayNames);var r,l=t.options.tickSize&&"quarter"==t.options.tickSize[1]||t.options.minTickSize&&"quarter"==t.options.minTickSize[1],c=t.tickSize[0]*s[t.tickSize[1]],d=t.max-t.min,u=a.twelveHourClock?" %p":"",h=a.twelveHourClock?"%I":"%H";return r=c<s.minute?h+":%M:%S"+u:c<s.day?d<2*s.day?h+":%M"+u:"%b %d "+h+":%M"+u:c<s.month?"%b %d":l&&c<s.quarter||!l&&c<s.year?d<s.year?"%b":"%b %Y":l&&c<s.year?d<s.year?"Q%q":"Q%q %Y":"%Y",i(n,r,a.monthNames,a.dayNames)})})})}var r={},s={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3},l=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]],c=l.concat([[3,"month"],[6,"month"],[1,"year"]]),d=l.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);e.plot.plugins.push({init:a,options:r,name:"time",version:"1.0"}),e.plot.formatDate=i}(jQuery)},function(e,t){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){"use strict";e.extend({giveAjaxifyFields:function(t){var n,o,a={type:"",parentWrapper:"form",countryFieldName:"country",stateFieldName:"state",stateFieldWrapper:".give-field-wrap",chosenState:!0},r=e.extend({},a,t||{});switch(r.type){case"country_state":if(n=e('select[name="'+r.countryFieldName+'"]'),o=n.closest(r.parentWrapper),!n.length||"Country_state"===n.data("give-ajaxify-field"))return;n.data("give-ajaxify-field","country_state"),n.change(function(){var t=e(this),n=t.closest(r.parentWrapper).find('[name="'+r.stateFieldName+'"]'),a=n.closest(r.stateFieldWrapper),s=e("label",a);r.stateFieldWrapper||(s=e('label[for="'+r.stateFieldName+'"]',o),a=n.parent());var l={action:"give_get_states",country:t.val(),field_name:r.stateFieldName};e.post(ajaxurl,l,function(t){if(!t.show_field)return void(r.stateFieldWrapper?a.addClass("give-hidden"):n.addClass("give-hidden"));s.length&&s.text(t.states_label),r.chosenState&&n.chosen("destroy"),r.stateFieldWrapper?a.removeClass("give-hidden"):n.removeClass("give-hidden"),void 0!==i(t.states_found)&&!0===t.states_found?(n.replaceWith(t.data),n=e('[name="'+r.stateFieldName+'"]',a),r.chosenState&&n.chosen()):(n.replaceWith('<input type="text" name="'+r.stateFieldName+'" value="'+t.default_state+'" class="medium-text"/>'),n=e('[name="'+r.stateFieldName+'"]',a))})})}return this}})}(jQuery)},function(e,t){var i={collection:{},get:function(e,t,i){return jQuery?(t=void 0!==t?t:void 0,i=!0===i,(void 0===this.collection[e]||i)&&(this.collection[e]=void 0!==t?jQuery(e,t):jQuery(e)),this.collection[e]):-1}};window.Give_Selector_Cache=i},function(e,t){!function(e){e.fn.repeatable_fields=function(t){function i(t){e(a.wrapper,t).each(function(t,o){var r=this,s=e(r).children(a.container);e(s).children(a.template).hide().find(":input").each(function(){e(this).prop("disabled",!0)});var l=e(s).children(a.row).filter(function(){return!e(this).hasClass(a.template.replace(".",""))}).length;if(e(s).attr("data-rf-row-count",l),e(r).on("click",a.add,function(t){t.stopImmediatePropagation();var o=e(e(s).children(a.template).clone().removeClass(a.template.replace(".",""))[0].outerHTML);e(o).find(":input").each(function(){e(this).prop("disabled",!1)}),"function"==typeof a.before_add&&a.before_add(s);var r=e(o).show().appendTo(s);"function"==typeof a.after_add&&a.after_add(s,r,n),i(r)}),e(r).on("click",a.remove,function(t){if(t.stopImmediatePropagation(),a.confirm_before_remove_row&&a.confirm_before_remove_row_text&&!confirm(a.confirm_before_remove_row_text))return!1;var i=e(this).parents(a.row).first();"function"==typeof a.before_remove&&a.before_remove(s,i),i.remove(),"function"==typeof a.after_remove&&a.after_remove(s)}),!0===a.is_sortable&&void 0!==e.ui&&void 0!==e.ui.sortable){var c=null!==a.sortable_options?a.sortable_options:{};c.handle=a.move,e(r).find(a.container).sortable(c)}})}function n(t,i){var n=e(t).attr("data-rf-row-count");n++,e("*",i).each(function(){e.each(this.attributes,function(e,t){this.value=this.value.replace(a.row_count_placeholder,n-1)})}),e(t).attr("data-rf-row-count",n)}var o={wrapper:".wrapper",container:".container",row:".row",add:".add",remove:".remove",confirm_before_remove_row:!1,confirm_before_remove_row_text:"",move:".move",template:".template",is_sortable:!0,before_add:null,after_add:n,before_remove:null,after_remove:null,sortable_options:null,row_count_placeholder:"{{row-count-placeholder}}"},a=e.extend({},o,t);i(this)}}(jQuery)},function(e,t){/*!
12
  * Give Admin Forms JS
13
  *
14
  * @description: The Give Admin Forms scripts. Only enqueued on the give_forms CPT; used to validate fields, show/hide, and other functions
46
  * @copyright: Copyright (c) 2016, WordImpress
47
  * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License
48
  */