1 2(function(e){function d(){var e=o();if(e!==u){u=e;i.trigger("orientationchange")}}function E(t,n,r,i){var s=r.type;r.type=n;e.event.dispatch.call(t,r,i);r.type=s}e.attrFn=e.attrFn||{};var t=navigator.userAgent.toLowerCase(),n=t.indexOf("chrome")>-1&&(t.indexOf("windows")>-1||t.indexOf("macintosh")>-1||t.indexOf("linux")>-1)&&t.indexOf("chrome")<0,r={swipe_h_threshold:50,swipe_v_threshold:50,taphold_threshold:750,doubletap_int:500,touch_capable:"ontouchstart"in document.documentElement&&!n,orientation_support:"orientation"in window&&"onorientationchange"in window,startevent:"ontouchstart"in document.documentElement&&!n?"touchstart":"mousedown",endevent:"ontouchstart"in document.documentElement&&!n?"touchend":"mouseup",moveevent:"ontouchstart"in document.documentElement&&!n?"touchmove":"mousemove",tapevent:"ontouchstart"in document.documentElement&&!n?"tap":"click",scrollevent:"ontouchstart"in document.documentElement&&!n?"touchmove":"scroll",hold_timer:null,tap_timer:null};e.isTouchCapable=function(){return r.touch_capable};e.getStartEvent=function(){return r.startevent};e.getEndEvent=function(){return r.endevent};e.getMoveEvent=function(){return r.moveevent};e.getTapEvent=function(){return r.tapevent};e.getScrollEvent=function(){return r.scrollevent};e.each(["tapstart","tapend","tap","singletap","doubletap","taphold","swipe","swipeup","swiperight","swipedown","swipeleft","swipeend","scrollstart","scrollend","orientationchange"],function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)};e.attrFn[n]=true});e.event.special.tapstart={setup:function(){var t=this,n=e(t);n.bind(r.startevent,function(e){n.data("callee",arguments.callee);if(e.which&&e.which!==1){return false}var i=e.originalEvent,s={position:{x:r.touch_capable?i.touches[0].screenX:e.screenX,y:r.touch_capable?i.touches[0].screenY:e.screenY},offset:{x:r.touch_capable?i.touches[0].pageX-i.touches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?i.touches[0].pageY-i.touches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};E(t,"tapstart",e,s);return true})},remove:function(){e(this).unbind(r.startevent,e(this).data.callee)}};e.event.special.tapend={setup:function(){var t=this,n=e(t);n.bind(r.endevent,function(e){n.data("callee",arguments.callee);var i=e.originalEvent;var s={position:{x:r.touch_capable?i.changedTouches[0].screenX:e.screenX,y:r.touch_capable?i.changedTouches[0].screenY:e.screenY},offset:{x:r.touch_capable?i.changedTouches[0].pageX-i.changedTouches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?i.changedTouches[0].pageY-i.changedTouches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};E(t,"tapend",e,s);return true})},remove:function(){e(this).unbind(r.endevent,e(this).data.callee)}};e.event.special.taphold={setup:function(){var t=this,n=e(t),i,s,o={x:0,y:0};n.bind(r.startevent,function(e){if(e.which&&e.which!==1){return false}else{n.data("tapheld",false);i=e.target;var s=e.originalEvent;var u=(new Date).getTime(),a={x:r.touch_capable?s.touches[0].screenX:e.screenX,y:r.touch_capable?s.touches[0].screenY:e.screenY},f={x:r.touch_capable?s.touches[0].pageX-s.touches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?s.touches[0].pageY-s.touches[0].target.offsetTop:e.offsetY};o.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX;o.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY;r.hold_timer=window.setTimeout(function(){var l=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,c=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY;if(e.target==i&&o.x==l&&o.y==c){n.data("tapheld",true);var h=(new Date).getTime(),p={x:r.touch_capable?s.touches[0].screenX:e.screenX,y:r.touch_capable?s.touches[0].screenY:e.screenY},d={x:r.touch_capable?s.touches[0].pageX-s.touches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?s.touches[0].pageY-s.touches[0].target.offsetTop:e.offsetY};duration=h-u;var v={startTime:u,endTime:h,startPosition:a,startOffset:f,endPosition:p,endOffset:d,duration:duration,target:e.target};n.data("callee1",arguments.callee);E(t,"taphold",e,v)}},r.taphold_threshold);return true}}).bind(r.endevent,function(){n.data("callee2",arguments.callee);n.data("tapheld",false);window.clearTimeout(r.hold_timer)})},remove:function(){e(this).unbind(r.startevent,e(this).data.callee1).unbind(r.endevent,e(this).data.callee2)}};e.event.special.doubletap={setup:function(){var t=this,n=e(t),i,s,o,u;n.bind(r.startevent,function(e){if(e.which&&e.which!==1){return false}else{n.data("doubletapped",false);i=e.target;n.data("callee1",arguments.callee);u=e.originalEvent;o={position:{x:r.touch_capable?u.touches[0].screenX:e.screenX,y:r.touch_capable?u.touches[0].screenY:e.screenY},offset:{x:r.touch_capable?u.touches[0].pageX-u.touches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?u.touches[0].pageY-u.touches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};return true}}).bind(r.endevent,function(e){var a=(new Date).getTime();var f=n.data("lastTouch")||a+1;var l=a-f;window.clearTimeout(s);n.data("callee2",arguments.callee);if(l<r.doubletap_int&&l>0&&e.target==i&&l>100){n.data("doubletapped",true);
2window.clearTimeout(r.tap_timer);var c={position:{x:r.touch_capable?u.touches[0].screenX:e.screenX,y:r.touch_capable?u.touches[0].screenY:e.screenY},offset:{x:r.touch_capable?u.touches[0].pageX-u.touches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?u.touches[0].pageY-u.touches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};var h={firstTap:o,secondTap:c,interval:c.time-o.time};E(t,"doubletap",e,h)}else{n.data("lastTouch",a);s=window.setTimeout(function(e){window.clearTimeout(s)},r.doubletap_int,[e])}n.data("lastTouch",a)})},remove:function(){e(this).unbind(r.startevent,e(this).data.callee1).unbind(r.endevent,e(this).data.callee2)}};e.event.special.singletap={setup:function(){var t=this,n=e(t),i=null,s=null,o={x:0,y:0};n.bind(r.startevent,function(e){if(e.which&&e.which!==1){return false}else{s=(new Date).getTime();i=e.target;n.data("callee1",arguments.callee);o.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX;o.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY;return true}}).bind(r.endevent,function(e){n.data("callee2",arguments.callee);if(e.target==i){end_pos_x=e.originalEvent.changedTouches?e.originalEvent.changedTouches[0].pageX:e.pageX;end_pos_y=e.originalEvent.changedTouches?e.originalEvent.changedTouches[0].pageY:e.pageY;r.tap_timer=window.setTimeout(function(){if(!n.data("doubletapped")&&!n.data("tapheld")&&o.x==end_pos_x&&o.y==end_pos_y){var i=e.originalEvent;var u={position:{x:r.touch_capable?i.changedTouches[0].screenX:e.screenX,y:r.touch_capable?i.changedTouches[0].screenY:e.screenY},offset:{x:r.touch_capable?i.changedTouches[0].pageX-i.changedTouches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?i.changedTouches[0].pageY-i.changedTouches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};if(u.time-s<r.taphold_threshold){E(t,"singletap",e,u)}}},r.doubletap_int)}})},remove:function(){e(this).unbind(r.startevent,e(this).data.callee1).unbind(r.endevent,e(this).data.callee2)}};e.event.special.tap={setup:function(){var t=this,n=e(t),i=false,s=null,o,u={x:0,y:0};n.bind(r.startevent,function(e){n.data("callee1",arguments.callee);if(e.which&&e.which!==1){return false}else{i=true;u.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX;u.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY;o=(new Date).getTime();s=e.target;return true}}).bind(r.endevent,function(e){n.data("callee2",arguments.callee);var a=e.originalEvent.targetTouches?e.originalEvent.changedTouches[0].pageX:e.pageX,f=e.originalEvent.targetTouches?e.originalEvent.changedTouches[0].pageY:e.pageY;if(s==e.target&&i&&(new Date).getTime()-o<r.taphold_threshold&&u.x==a&&u.y==f){var l=e.originalEvent;var c={position:{x:r.touch_capable?l.changedTouches[0].screenX:e.screenX,y:r.touch_capable?l.changedTouches[0].screenY:e.screenY},offset:{x:r.touch_capable?l.changedTouches[0].pageX-l.changedTouches[0].target.offsetLeft:e.offsetX,y:r.touch_capable?l.changedTouches[0].pageY-l.changedTouches[0].target.offsetTop:e.offsetY},time:(new Date).getTime(),target:e.target};E(t,"tap",e,c)}})},remove:function(){e(this).unbind(r.startevent,e(this).data.callee1).unbind(r.endevent,e(this).data.callee2)}};e.event.special.swipe={setup:function(){function f(t){n=e(t.target);n.data("callee1",arguments.callee);o.x=t.originalEvent.targetTouches?t.originalEvent.targetTouches[0].pageX:t.pageX;o.y=t.originalEvent.targetTouches?t.originalEvent.targetTouches[0].pageY:t.pageY;u.x=o.x;u.y=o.y;i=true;var s=t.originalEvent;a={position:{x:r.touch_capable?s.touches[0].screenX:t.screenX,y:r.touch_capable?s.touches[0].screenY:t.screenY},offset:{x:r.touch_capable?s.touches[0].pageX-s.touches[0].target.offsetLeft:t.offsetX,y:r.touch_capable?s.touches[0].pageY-s.touches[0].target.offsetTop:t.offsetY},time:(new Date).getTime(),target:t.target};var f=new Date;while(new Date-f<100){}}function l(t){n=e(t.target);n.data("callee2",arguments.callee);u.x=t.originalEvent.targetTouches?t.originalEvent.targetTouches[0].pageX:t.pageX;u.y=t.originalEvent.targetTouches?t.originalEvent.targetTouches[0].pageY:t.pageY;window.clearTimeout(r.hold_timer);var f;var l=n.data("xthreshold"),c=n.data("ythreshold"),h=typeof l!=="undefined"&&l!==false&&parseInt(l)?parseInt(l):r.swipe_h_threshold,p=typeof c!=="undefined"&&c!==false&&parseInt(c)?parseInt(c):r.swipe_v_threshold;if(o.y>u.y&&o.y-u.y>p){f="swipeup"}if(o.x<u.x&&u.x-o.x>h){f="swiperight"}if(o.y<u.y&&u.y-o.y>p){f="swipedown"}if(o.x>u.x&&o.x-u.x>h){f="swipeleft"}if(f!=undefined&&i){o.x=0;o.y=0;u.x=0;u.y=0;i=false;var d=t.originalEvent;endEvnt={position:{x:r.touch_capable?d.touches[0].screenX:t.screenX,y:r.touch_capable?d.touches[0].screenY:t.screenY},offset:{x:r.touch_capable?d.touches[0].pageX-d.touches[0].target.offsetLeft:t.offsetX,y:r.touch_capable?d.touches[0].pageY-d.touches[0].target.offsetTop:t.offsetY},time:(new Date).getTime(),target:t.target};var v=Math.abs(a.position.x-endEvnt.position.x),m=Math.abs(a.position.y-endEvnt.position.y);var g={startEvnt:a,endEvnt:endEvnt,direction:f.replace("swipe",""),xAmount:v,yAmount:m,duration:endEvnt.time-a.time};
2s=true;n.trigger("swipe",g).trigger(f,g)}}function c(t){n=e(t.target);var o="";n.data("callee3",arguments.callee);if(s){var u=n.data("xthreshold"),f=n.data("ythreshold"),l=typeof u!=="undefined"&&u!==false&&parseInt(u)?parseInt(u):r.swipe_h_threshold,c=typeof f!=="undefined"&&f!==false&&parseInt(f)?parseInt(f):r.swipe_v_threshold;var h=t.originalEvent;endEvnt={position:{x:r.touch_capable?h.changedTouches[0].screenX:t.screenX,y:r.touch_capable?h.changedTouches[0].screenY:t.screenY},offset:{x:r.touch_capable?h.changedTouches[0].pageX-h.changedTouches[0].target.offsetLeft:t.offsetX,y:r.touch_capable?h.changedTouches[0].pageY-h.changedTouches[0].target.offsetTop:t.offsetY},time:(new Date).getTime(),target:t.target};if(a.position.y>endEvnt.position.y&&a.position.y-endEvnt.position.y>c){o="swipeup"}if(a.position.x<endEvnt.position.x&&endEvnt.position.x-a.position.x>l){o="swiperight"}if(a.position.y<endEvnt.position.y&&endEvnt.position.y-a.position.y>c){o="swipedown"}if(a.position.x>endEvnt.position.x&&a.position.x-endEvnt.position.x>l){o="swipeleft"}var p=Math.abs(a.position.x-endEvnt.position.x),d=Math.abs(a.position.y-endEvnt.position.y);var v={startEvnt:a,endEvnt:endEvnt,direction:o.replace("swipe",""),xAmount:p,yAmount:d,duration:endEvnt.time-a.time};n.trigger("swipeend",v)}i=false;s=false}var t=this,n=e(t),i=false,s=false,o={x:0,y:0},u={x:0,y:0},a;n.bind(r.startevent,f);n.bind(r.moveevent,l);n.bind(r.endevent,c)},remove:function(){e(this).unbind(r.startevent,e(this).data.callee1).unbind(r.moveevent,e(this).data.callee2).unbind(r.endevent,e(this).data.callee3)}};e.event.special.scrollstart={setup:function(){function o(e,n){i=n;E(t,i?"scrollstart":"scrollend",e)}var t=this,n=e(t),i,s;n.bind(r.scrollevent,function(e){n.data("callee",arguments.callee);if(!i){o(e,true)}clearTimeout(s);s=setTimeout(function(){o(e,false)},50)})},remove:function(){e(this).unbind(r.scrollevent,e(this).data.callee)}};var i=e(window),s,o,u,a,f,l={0:true,180:true};if(r.orientation_support){var c=window.innerWidth||e(window).width(),h=window.innerHeight||e(window).height(),p=50;a=c>h&&c-h>p;f=l[window.orientation];if(a&&f||!a&&!f){l={"-90":true,90:true}}}e.event.special.orientationchange=s={setup:function(){if(r.orientation_support){return false}u=o();i.bind("throttledresize",d);return true},teardown:function(){if(r.orientation_support){return false}i.unbind("throttledresize",d);return true},add:function(e){var t=e.handler;e.handler=function(e){e.orientation=o();return t.apply(this,arguments)}}};e.event.special.orientationchange.orientation=o=function(){var e=true,t=document.documentElement;if(r.orientation_support){e=l[window.orientation]}else{e=t&&t.clientWidth/t.clientHeight<1.1}return e?"portrait":"landscape"};e.event.special.throttledresize={setup:function(){e(this).bind("resize",m)},teardown:function(){e(this).unbind("resize",m)}};var v=250,m=function(){b=(new Date).getTime();w=b-g;if(w>=v){g=b;e(this).trigger("throttledresize")}else{if(y){window.clearTimeout(y)}y=window.setTimeout(d,v-w)}},g=0,y,b,w;e.each({scrollend:"scrollstart",swipeup:"swipe",swiperight:"swipe",swipedown:"swipe",swipeleft:"swipe",swipeend:"swipe"},function(t,n,r){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)}}})})(jQuery); 3 4 5 6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var H;function f(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function L(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(c(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function V(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],s=e.length,i=0;i<s;++i)n.push(t(e[i],i));return n}function E(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return Pt(e,t,n,s,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 7,452 bytes, line 6
6dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function A(e){if(null==e._isValid){var t=m(e),n=j.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function I(e){var t=l(NaN);return null!=e?E(m(t),e):m(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},Z=f.momentProperties=[],z=!1;function $(e,t){var n,s,i,r=Z.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=m(t)),o(t._locale)||(e._locale=t._locale),0<r)for(n=0;n<r;n++)o(i=t[s=Z[n]])||(e[s]=i);return e}function q(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,f.updateOffset(this),z=!1)}function h(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function B(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,a){var o=!0;return E(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,r),o){for(var e,t,n=[],s=arguments.length,i=0;i<s;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])c(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}B(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var J={};function Q(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),J[e]||(B(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function X(e,t){var n,s=E({},e);for(n in t)c(t,n)&&(F(e[n])&&F(t[n])?(s[n]={},E(s[n],e[n]),E(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)c(e,n)&&!c(t,n)&&F(e[n])&&(s[n]=E({},s[n]));return s}function K(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};function r(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,se={},ie={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(ie[e]=i),t&&(ie[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function re(e,t){return e.isValid()?(t=ae(t,e.localeData()),se[t]=se[t]||function(s){for(var e,i=s.match(te),t=0,r=i.length;t<r;t++)ie[i[t]]?i[t]=ie[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,s):i[n];return t}}(t),se[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,s),ne.lastIndex=0,--n;return e}var oe={};function t(e,t){var n=e.toLowerCase();oe[n]=oe[n+"s"]=oe[t]=e}function _(e){return"string"==typeof e?oe[e]||oe[e.toLowerCase()]:void 0}function ue(e){var t,n,s={};for(n in e)c(e,n)&&(t=_(n))&&(s[t]=e[n]);return s}var le={};function n(e,t){le[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?y(e):t}function de(t,n){return function(e){return null!=e?(fe(this,t,e),f.updateOffset(this,n),this):ce(this,t)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),We(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,w=/\d\d/,me=/\d{3}/,_e=/\d{4}/,ye=/[+-]?\d{6}/,p=/\d\d?/,ge=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ke=/\d{1,4}/,ve=/[+-]?\d{1,6}/,Me=/\d+/,De=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Ye=/Z|[+-]\d\d(?::?\d\d)?/gi,k=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function v(e,n,s){be[e]=d(n)?n:function(e,t){return e&&s?s:n}}function Oe(e,t){return c(be,e)?be[e](t._strict,t._locale):new RegExp(M(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function M(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var be={},xe={};function D(e,n){var t,s,i=n;for("string"==typeof e&&(e=[e]),u(n)&&(i=function(e,t){t[n]=g(e)}),s=e.length,t=0;t<s;t++)xe[e[t]]=i}function Te(e,i){D(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var S,Y=0,O=1,b=2,x=3,T=4,N=5,Ne=6,Pe=7,Re=8;function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",p),v("MM",p,w),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[O]=g(e)-1}),D(["MMM","MMMM"],function(e,t,n,s){s=n._locale.monthsParse(e,s,n._strict);null!=s?t[O]=s:m(n).invalidMonth=e});var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=k,Le=k;function Ve(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!u(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ve(this,e),f.updateOffset(this,!0),this):ce(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=M(n[r]),s[r]=M(s[r]);for(r=0;r<24;r++)i[r]=M(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ae(e){return he(e)?366:365}s("Y",0,0,function(){var e=this.year();
vendor: 36,992 bytes, line 6
6return e<=9999?r(e,4):"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",De),v("YY",p,w),v("YYYY",ke,_e),v("YYYYY",ve,ye),v("YYYYYY",ve,ye),D(["YYYYY","YYYYYY"],Y),D("YYYY",function(e,t){t[Y]=2===e.length?f.parseTwoDigitYear(e):g(e)}),D("YY",function(e,t){t[Y]=f.parseTwoDigitYear(e)}),D("Y",function(e,t){t[Y]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ie=de("FullYear",!0);function je(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function Ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return n-(7+Ze(e,0,n).getUTCDay()-t)%7-1}function $e(e,t,n,s,i){var r,t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i),n=t<=0?Ae(r=e-1)+t:t>Ae(e)?(r=e+1,t-Ae(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+P(i=e.year()-1,t,n):r>P(e.year(),t,n)?(s=r-P(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function P(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(Ae(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",p),v("ww",p,w),v("W",p),v("WW",p,w),Te(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=g(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",p),v("e",p),v("E",p),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:m(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,s){t[s]=g(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=k,et=k,tt=k;function nt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=M(this.weekdaysMin(s,"")),n=M(this.weekdaysShort(s,"")),s=M(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function st(){return this.hours()%12||12}function it(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,st),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)}),s("hmmss",0,0,function(){return""+st.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),v("a",rt),v("A",rt),v("H",p),v("h",p),v("k",p),v("HH",p,w),v("hh",p,w),v("kk",p,w),v("hmm",ge),v("hmmss",we),v("Hmm",ge),v("Hmmss",we),D(["H","HH"],x),D(["k","kk"],function(e,t,n){e=g(e);t[x]=24===e?0:e}),D(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),D(["h","hh"],function(e,t,n){t[x]=g(e),m(n).bigHour=!0}),D("hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s)),m(n).bigHour=!0}),D("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i)),m(n).bigHour=!0}),D("Hmm",function(e,t,n){var s=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s))}),D("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[x]=g(e.substr(0,s)),t[T]=g(e.substr(s,2)),t[N]=g(e.substr(i))});k=de("Hours",!0);var at,ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ue,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Xe,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},R={},ut={};function lt(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=lt(e[r]).split("-")).length,n=(n=lt(e[r+1]))?n.split("-"):null;0<t;){if(s=dt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return at}function dt(t){var e;if(void 0===R[t]&&"undefined"!=typeof module&&module&&module.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,require("./locale/"+t),ct(e)}catch(e){R[t]=null}return R[t]}function ct(e,t){return e&&((t=o(t)?mt(e):ft(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null===t)return delete R[e],null;var n,s=ot;if(t.abbr=e,null!=R[e])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=R[e]._config;else if(null!=t.parentLocale)if(null!=R[t.parentLocale])s=R[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;s=n._config}return R[e]=new K(X(s,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ct(e),R[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!a(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function _t(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[O]<0||11<t[O]?O:t[b]<1||t[b]>We(t[Y],t[O])?b:t[x]<0||24<t[x]||24===t[x]&&(0!==t[T]||0!==t[N]||0!==t[Ne])?x:t[T]<0||59<t[T]?T:t[N]<0||59<t[N]?N:t[Ne]<0||999<t[Ne]?Ne:-1,m(e)._overflowDayOfYear&&(t<Y||b<t)&&(t=b),m(e)._overflowWeeks&&-1===t&&(t=Pe),m(e)._overflowWeekday&&-1===t&&(t=Re),m(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,s,i,r,a,o=e._i,u=yt.exec(o)||gt.exec(o),o=pt.length,l=kt.length;if(u){for(m(e).iso=!0,t=0,n=o;t<n;t++)if(pt[t][1].exec(u[1])){i=pt[t][0],s=!1!==pt[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=l;t<n;t++)if(kt[t][1].exec(u[3])){r=(u[2]||" ")+kt[t][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(u[4]){if(!wt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Tt(e)}else e._isValid=!1}}else e._isValid=!1}function Yt(e,t,n,s,i,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Ue.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&e.push(parseInt(r,10)),e}function Ot(e){var t,n,s,i,r=Mt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Yt(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&Qe.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()?(m(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],s=r[9],i=r[10],n?Dt[n]:s?0:60*(((n=parseInt(i,10))-(s=n%100))/100)+s),e._d=Ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0)):e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,s,i,r,a,o,u,l,h,d,c=[];if(!e._d){for(s=e,i=new Date(f.now()),n=s._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()],e._w&&null==e._a[b]&&null==e._a[O]&&(null!=(i=(s=e)._w).GG||null!=i.W||null!=i.E?(u=1,l=4,r=bt(i.GG,s._a[Y],qe(W(),1,4).year),a=bt(i.W,1),((o=bt(i.E,1))<1||7<o)&&(h=!0)):(u=s._locale._week.dow,l=s._locale._week.doy,d=qe(W(),u,l),r=bt(i.gg,s._a[Y],d.year),a=bt(i.w,d.week),null!=i.d?((o=i.d)<0||6<o)&&(h=!0):null!=i.e?(o=i.e+u,(i.e<0||6<i.e)&&(h=!0)):o=u),a<1||a>P(r,u,l)?m(s)._overflowWeeks=!0:null!=h?m(s)._overflowWeekday=!0:(d=$e(r,a,o,u,l),s._a[Y]=d.year,s._dayOfYear=d.dayOfYear)),null!=e._dayOfYear&&(i=bt(e._a[Y],n[Y]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),h=Ze(i,0,e._dayOfYear),e._a[O]=h.getUTCMonth(),e._a[b]=h.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[x]&&0===e._a[T]&&0===e._a[N]&&0===e._a[Ne]&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?Ze:je).apply(null,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Tt(e){if(e._f===f.ISO_8601)St(e);else if(e._f===f.RFC_2822)Ot(e);else{e._a=[],m(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],h=l.length,d=0;d<h;d++)n=l[d],(t=(a.match(Oe(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&m(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),ie[n]?(t?m(e).empty=!1:m(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&c(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&m(e).unusedTokens.push(n);m(e).charsLeftOver=o-u,0<a.length&&m(e).unusedInput.push(a),e._a[x]<=12&&!0===m(e).bigHour&&0<e._a[x]&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[x]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[x],e._meridiem),null!==(o=m(e).era)&&(e._a[Y]=e._locale.erasConvertYear(o,e._a[Y])),xt(e),_t(e)}}function Nt(e){var t,n,s,i=e._i,r=e._f;if(e._locale=e._locale||mt(e._l),null===i||void 0===r&&""===i)return I({nullInput:!0});if("string"==typeof i&&(e._i=i=e._locale.preparse(i)),h(i))return new q(_t(i));if(V(i))e._d=i;else if(a(r))!function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u)return m(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<u;i++)r=0,a=!1,t=$({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Tt(t),A(t)&&(a=!0),r=(r+=m(t).charsLeftOver)+10*m(t).unusedTokens.length,m(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));E(e,n||t)}(e);else if(r)Tt(e);else if(o(r=(i=e)._i))i._d=new Date(f.now());else V(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null!==(t=vt.exec(n._i))?n._d=new Date(+t[1]):(St(n),!1===n._isValid&&(delete n._isValid,Ot(n),!1===n._isValid&&(delete n._isValid,n._strict?n._isValid=!1:f.createFromInputFallback(n))))):a(r)?(i._a=G(r.slice(0),function(e){return parseInt(e,10)}),xt(i)):F(r)?(t=i)._d||(s=void 0===(n=ue(t._i)).day?n.date:n.day,t._a=G([n.year,n.month,s,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),xt(t)):u(r)?i._d=new Date(r):f.createFromInputFallback(i);return A(e)||(e._d=null),e}function Pt(e,t,n,s,i){var r={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(F(e)&&L(e)||a(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new q(_t(Nt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function W(e,t,n,s){return Pt(e,t,n,s,!1)}f.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:I()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:I()});function Rt(e,t){var n,s;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return W();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var e=ue(e),t=e.year||0,n=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=Wt.length;for(t in e)if(c(e,t)&&(-1===S.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==g(e[Wt[n]])&&(s=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=mt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+r(~~(e/60),2)+n+r(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),v("Z",Ye),v("ZZ",Ye),D(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(Ye,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Lt)||["-",0,0])[1]+g(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var n;return t._isUTC?(t=t.clone(),n=(h(e)||V(e)?e:W(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),f.updateOffset(t,!1),t):W(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}f.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var n,s=e,i=null;return Ut(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(i=It.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:g(i[b])*n,h:g(i[x])*n,m:g(i[T])*n,s:g(i[N])*n,ms:g(Ht(1e3*i[Ne]))*n}):(i=jt.exec(e))?(n="-"===i[1]?-1:1,s={y:Zt(i[2],n),M:Zt(i[3],n),w:Zt(i[4],n),d:Zt(i[5],n),h:Zt(i[6],n),m:Zt(i[7],n),s:Zt(i[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Gt(t,e),e.isBefore(t)?n=zt(e,t):((n=zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(W(s.from),W(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),i=new Ct(s),Ut(e)&&c(e,"_locale")&&(i._locale=e._locale),Ut(e)&&c(e,"_isValid")&&(i._isValid=e._isValid),i}function Zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $t(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Q(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,C(e,t),s),this}}function qt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),t=Ht(t._months);e.isValid()&&(s=null==s||s,t&&Ve(e,ce(e,"Month")+t*n),r&&fe(e,"Date",ce(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&f.updateOffset(e,r||t))}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)};Ce=$t(1,"add"),Je=$t(-1,"subtract");function Bt(e){return"string"==typeof e||e instanceof String}function Jt(e){return h(e)||V(e)||Bt(e)||u(e)||function(t){var e=a(t),n=!1;e&&(n=0===t.filter(function(e){return!u(e)&&Bt(t)}).length);return e&&n}(e)||function(e){var t,n,s=F(e)&&!L(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=r.length;for(t=0;t<a;t+=1)n=r[t],i=i||c(e,n);return s&&i}(e)||null==e}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),t=t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s);return-(n+t)||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Xe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Kt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(M(i[r].name)),e.push(M(i[r].abbr)),n.push(M(i[r].narrow)),s.push(M(i[r].name)),s.push(M(i[r].abbr)),s.push(M(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function on(e,t){s(0,[e,e.length],0,t)}function un(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=P(e,s,i),function(e,t,n,s,i){e=$e(e,t,n,s,i),t=Ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),v("N",rn),v("NN",rn),v("NNN",rn),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){s=n._locale.erasParse(e,s,n._strict);s?m(n).era=s:m(n).invalidEra=e}),v("y",Me),v("yy",Me),v("yyy",Me),v("yyyy",Me),v("yo",function(e,t){return t._eraYearOrdinalRegex||Me}),D(["y","yy","yyy","yyyy"],Y),D(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Y]=n._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)}),s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",De),v("g",De),v("GG",p,w),v("gg",p,w),v("GGGG",ke,_e),v("gggg",ke,_e),v("GGGGG",ve,ye),v("ggggg",ve,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=g(e)}),Te(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),D("Q",function(e,t){t[O]=3*(g(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",p),v("DD",p,w),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],b),D("Do",function(e,t){t[b]=g(e.match(p)[0])});ke=de("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",pe),v("DDDD",me),D(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",p),v("mm",p,w),D(["m","mm"],T);var ln,_e=de("Minutes",!1),ve=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",p),v("ss",p,w),D(["s","ss"],N),de("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",pe,i),v("SS",pe,w),v("SSS",pe,me),ln="SSSS";ln.length<=9;ln+="S")v(ln,Me);function hn(e,t){t[Ne]=g(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")D(ln,hn);ye=de("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");i=q.prototype;function dn(e){return e}i.add=Ce,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!L(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||c(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||W(),n=Gt(e,this).startOf("day"),n=f.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,W(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=_(t)){case"year":r=Qt(this,s)/12;break;case"month":r=Qt(this,s);break;case"quarter":r=Qt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:y(r)},i.endOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=re(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(W(),e)},i.to=function(e,t){return this.isValid()&&(h(e)&&e.isValid()||W(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(W(),e)},i.get=function(e){return d(this[e=_(e)])?this[e]():this},i.invalidAt=function(){return m(this).overflow},i.isAfter=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=h(e)?e:W(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,s){return e=h(e)?e:W(e),t=h(t)?t:W(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n)))},i.isSame=function(e,t){var e=h(e)?e:W(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=_(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return A(this)},i.lang=Xe,i.locale=Xt,i.localeData=Kt,i.max=we,i.min=ge,i.parsingFlags=function(){return E({},m(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:le[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),s=n.length,i=0;i<s;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=_(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=_(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3);break}return this._d.setTime(t),f.updateOffset(this,!0),this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?re(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",re(t,"Z")):re(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},i.year=Ie,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return We(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return P(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return P(this.isoWeekYear(),1,4)},i.date=ke,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},i.hour=i.hours=k,i.minute=i.minutes=_e,i.second=i.seconds=ve,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(Ye,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?qt(this,C(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=At,i.isUTC=At,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",ke),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",Ie),i.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return $(t,this),(t=Nt(t))._a?(e=(t._isUTC?l:W)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&g(e[a])!==g(t[a]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});w=K.prototype;function cn(e,t,n,s){var i=mt(),s=l().set(s,t);return i[n](s,e)}function fn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return cn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=cn(e,i,n,"month");return s}function mn(e,t,n,s){t=("boolean"==typeof e?u(t)&&(n=t,t=void 0):(t=e,e=!1,u(n=t)&&(n=t,t=void 0)),t||"");var i,r=mt(),a=e?r._week.dow:0,o=[];if(null!=n)return cn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");return o}w.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},w.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},w.invalidDate=function(){return this._invalidDate},w.ordinal=function(e){return this._ordinal.replace("%d",e)},w.preparse=dn,w.postformat=dn,w.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return d(i)?i(e,t,n,s):i.replace(/%d/i,e)},w.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},w.set=function(e){var t,n;for(n in e)c(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},w.eras=function(e,t){for(var n,s=this._eras||mt("en")._eras,i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":n=f(s[i].since).startOf("day"),s[i].since=n.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf();break}}return s},w.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s];break}else if(0<=[r,a,o].indexOf(e))return u[s]},w.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},w.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},w.erasNameRegex=function(e){return c(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},w.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex}
vendor: 12,956 bytes, lines 6-10
6,w.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},w.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},w.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},w.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},w.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},w.week=function(e){return qe(e,this._week.dow,this._week.doy).week},w.firstDayOfYear=function(){return this._week.doy},w.firstDayOfWeek=function(){return this._week.dow},w.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Be(t,this._week.dow):e?t[e.day()]:t},w.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},w.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},w.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},w.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},w.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},w.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},w.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},w.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ct),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",mt);var _n=Math.abs;function yn(e,t,n,s){t=C(t,n);return e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function pn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}pe=kn("ms"),me=kn("s"),Ce=kn("m"),we=kn("h"),ge=kn("d"),Je=kn("w"),k=kn("M"),_e=kn("Q"),ve=kn("y");function vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=vn("milliseconds"),ke=vn("seconds"),Ie=vn("minutes"),w=vn("hours"),Mn=vn("days"),Dn=vn("months"),Sn=vn("years");var Yn=Math.round,On={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bn(e,t,n,s){var i=C(e).abs(),r=Yn(i.as("s")),a=Yn(i.as("m")),o=Yn(i.as("h")),u=Yn(i.as("d")),l=Yn(i.as("M")),h=Yn(i.as("w")),i=Yn(i.as("y")),r=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return(r=(r=null!=n.w?r||h<=1&&["w"]||h<n.w&&["ww",h]:r)||l<=1&&["M"]||l<n.M&&["MM",l]||i<=1&&["y"]||["yy",i])[2]=t,r[3]=0<+e,r[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,r)}var xn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o=xn(this._milliseconds)/1e3,u=xn(this._days),l=xn(this._months),h=this.asSeconds();return h?(e=y(o/60),t=y(e/60),o%=60,e%=60,n=y(l/12),l%=12,s=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(h)?"-":"",r=Tn(this._days)!==Tn(h)?"-":"",a=Tn(this._milliseconds)!==Tn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(l?i+l+"M":"")+(u?r+u+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+s+"S":"")):"P0D"}var U=Ct.prototype;return U.isValid=function(){return this._isValid},U.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},U.add=function(e,t){return yn(this,e,t,1)},U.subtract=function(e,t){return yn(this,e,t,-1)},U.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=_(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(pn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},U.asMilliseconds=pe,U.asSeconds=me,U.asMinutes=Ce,U.asHours=we,U.asDays=ge,U.asWeeks=Je,U.asMonths=k,U.asQuarters=_e,U.asYears=ve,U.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},U._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*gn(pn(n)+t),n=t=0),s.milliseconds=e%1e3,e=y(e/1e3),s.seconds=e%60,e=y(e/60),s.minutes=e%60,e=y(e/60),s.hours=e%24,t+=y(e/24),n+=e=y(wn(t)),t-=gn(pn(e)),e=y(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},U.clone=function(){return C(this)},U.get=function(e){return e=_(e),this.isValid()?this[e+"s"]():NaN},U.milliseconds=ye,U.seconds=ke,U.minutes=Ie,U.hours=w,U.days=Mn,U.weeks=function(){return y(this.days()/7)},U.months=Dn,U.years=Sn,U.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=On;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(s=Object.assign({},On,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),e=this.localeData(),t=bn(this,!n,s,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},U.toISOString=Nn,U.toString=Nn,U.toJSON=Nn,U.locale=Xt,U.localeData=Kt,U.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn),U.lang=Xe,s("X",0,0,"unix"),s("x",0,0,"valueOf"),v("x",De),v("X",/[+-]?\d+(\.\d{1,3})?/),D("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),D("x",function(e,t,n){n._d=new Date(g(e))}),f.version="2.29.4",H=W,f.fn=i,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=l,f.unix=function(e){return W(1e3*e)},f.months=function(e,t){return fn(e,t,"months")},f.isDate=V,f.locale=ct,f.invalid=I,f.duration=C,f.isMoment=h,f.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},f.parseZone=function(){return W.apply(null,arguments).parseZone()},f.localeData=mt,f.isDuration=Ut,f.monthsShort=function(e,t){return fn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},f.defineLocale=ft,f.updateLocale=function(e,t){var n,s;return null!=t?(s=ot,null!=R[e]&&null!=R[e].parentLocale?R[e].set(X(R[e]._config,t)):(t=X(s=null!=(n=dt(e))?n._config:s,t),null==n&&(t.abbr=e),(s=new K(t)).parentLocale=R[e],R[e]=s),ct(e)):null!=R[e]&&(null!=R[e].parentLocale?(R[e]=R[e].parentLocale,e===ct()&&ct(e)):null!=R[e]&&delete R[e]),R[e]},f.locales=function(){return ee(R)},f.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},f.normalizeUnits=_,f.relativeTimeRounding=function(e){return void 0===e?Yn:"function"==typeof e&&(Yn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==On[e]&&(void 0===t?On[e]:(On[e]=t,"s"===e&&(On.ss=t-1),!0))},f.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},f.prototype=i,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f}); 7 8 9 10!function(a,i){"use strict";"object"==typeof module&&module.exports?module.exports=i(require("moment")):"function"==typeof define&&define.amd?define(["moment"],i):i(a.moment)}(this,function(o){"use strict";void 0===o.version&&o.default&&(o=o.default);var i,s={},c={},A={},u={},m={},a=(o&&"string"==typeof o.version||D("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/"),o.version.split(".")),r=+a[0],e=+a[1];function n(a){return 96<a?a-87:64<a?a-29:a-48}function t(a){var i=0,r=a.split("."),e=r[0],o=r[1]||"",c=1,A=0,r=1;
vendor: 4,425 bytes, line 10
10for(45===a.charCodeAt(0)&&(r=-(i=1));i<e.length;i++)A=60*A+n(e.charCodeAt(i));for(i=0;i<o.length;i++)c/=60,A+=n(o.charCodeAt(i))*c;return A*r}function l(a){for(var i=0;i<a.length;i++)a[i]=t(a[i])}function f(a,i){for(var r=[],e=0;e<i.length;e++)r[e]=a[i[e]];return r}function p(a){for(var a=a.split("|"),i=a[2].split(" "),r=a[3].split(""),e=a[4].split(" "),o=(l(i),l(r),l(e),e),c=r.length,A=0;A<c;A++)o[A]=Math.round((o[A-1]||0)+6e4*o[A]);return o[c-1]=1/0,{name:a[0],abbrs:f(a[1].split(" "),r),offsets:f(i,r),untils:e,population:0|a[5]}}function M(a){a&&this._set(p(a))}function b(a,i){this.name=a,this.zones=i}function h(a){var i=a.toTimeString(),r=i.match(/\([a-z ]+\)/i);"GMT"===(r=r&&r[0]?(r=r[0].match(/[A-Z]/g))?r.join(""):void 0:(r=i.match(/[A-Z]{3,5}/g))?r[0]:void 0)&&(r=void 0),this.at=+a,this.abbr=r,this.offset=a.getTimezoneOffset()}function d(a){this.zone=a,this.offsetScore=0,this.abbrScore=0}function E(){for(var a,i,r,e=(new Date).getFullYear()-2,o=new h(new Date(e,0,1)),c=o.offset,A=[o],n=1;n<48;n++)(r=new Date(e,n,1).getTimezoneOffset())!==c&&(a=function(a,i){for(var r;r=6e4*((i.at-a.at)/12e4|0);)(r=new h(new Date(a.at+r))).offset===a.offset?a=r:i=r;return a}(o,i=new h(new Date(e,n,1))),A.push(a),A.push(new h(new Date(a.at+6e4))),o=i,c=r);for(n=0;n<4;n++)A.push(new h(new Date(e+n,0,1))),A.push(new h(new Date(e+n,6,1)));return A}function g(a,i){return a.offsetScore!==i.offsetScore?a.offsetScore-i.offsetScore:a.abbrScore!==i.abbrScore?a.abbrScore-i.abbrScore:a.zone.population!==i.zone.population?i.zone.population-a.zone.population:i.zone.name.localeCompare(a.zone.name)}function z(){try{var a=Intl.DateTimeFormat().resolvedOptions().timeZone;if(a&&3<a.length){var i=u[P(a)];if(i)return i;D("Moment Timezone found "+a+" from the Intl api, but did not have that data loaded.")}}catch(a){}for(var r,e,o=E(),c=o.length,A=function(a){for(var i,r,e,o=a.length,c={},A=[],n={},t=0;t<o;t++)if(r=a[t].offset,!n.hasOwnProperty(r)){for(i in e=m[r]||{})e.hasOwnProperty(i)&&(c[i]=!0);n[r]=!0}for(t in c)c.hasOwnProperty(t)&&A.push(u[t]);return A}(o),n=[],t=0;t<A.length;t++){for(r=new d(T(A[t])),e=0;e<c;e++)r.scoreOffsetAt(o[e]);n.push(r)}return n.sort(g),0<n.length?n[0].zone.name:void 0}function P(a){return(a||"").toLowerCase().replace(/\//g,"_")}function k(a){var i,r,e,o;for("string"==typeof a&&(a=[a]),i=0;i<a.length;i++){o=P(r=(e=a[i].split("|"))[0]),s[o]=a[i],u[o]=r,A=c=t=n=void 0;var c,A,n=o,t=e[2].split(" ");for(l(t),c=0;c<t.length;c++)A=t[c],m[A]=m[A]||{},m[A][n]=!0}}function T(a,i){a=P(a);var r=s[a];return r instanceof M?r:"string"==typeof r?(r=new M(r),s[a]=r):c[a]&&i!==T&&(i=T(c[a],T))?((r=s[a]=new M)._set(i),r.name=u[a],r):null}function S(a){var i,r,e,o;for("string"==typeof a&&(a=[a]),i=0;i<a.length;i++)e=P((r=a[i].split("|"))[0]),o=P(r[1]),c[e]=o,u[e]=r[0],c[o]=e,u[o]=r[1]}function _(a){k(a.zones),S(a.links);var i,r,e,o=a.countries;if(o&&o.length)for(i=0;i<o.length;i++)r=(e=o[i].split("|"))[0].toUpperCase(),e=e[1].split(" "),A[r]=new b(r,e);y.dataVersion=a.version}function C(a){return C.didShowError||(C.didShowError=!0,D("moment.tz.zoneExists('"+a+"') has been deprecated in favor of !moment.tz.zone('"+a+"')")),!!T(a)}function B(a){var i="X"===a._f||"x"===a._f;return!(!a._a||void 0!==a._tzm||i)}function D(a){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(a)}function y(a){var i=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],i=o.utc.apply(null,i);return!o.isMoment(a)&&B(i)&&(a=T(r))&&i.add(a.parse(i),"minutes"),i.tz(r),i}(r<2||2==r&&e<6)&&D("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+o.version+". See momentjs.com"),M.prototype={_set:function(a){this.name=a.name,this.abbrs=a.abbrs,this.untils=a.untils,this.offsets=a.offsets,this.population=a.population},_index:function(a){a=function(a,i){var r,e=i.length;if(a<i[0])return 0;if(1<e&&i[e-1]===1/0&&a>=i[e-2])return e-1;if(a>=i[e-1])return-1;for(var o=0,c=e-1;1<c-o;)i[r=Math.floor((o+c)/2)]<=a?o=r:c=r;return c}(+a,this.untils);if(0<=a)return a},countries:function(){var i=this.name;return Object.keys(A).filter(function(a){return-1!==A[a].zones.indexOf(i)})},parse:function(a){for(var i,r,e,o=+a,c=this.offsets,A=this.untils,n=A.length-1,t=0;t<n;t++)if(i=c[t],r=c[t+1],e=c[t&&t-1],i<r&&y.moveAmbiguousForward?i=r:e<i&&y.moveInvalidForward&&(i=e),o<A[t]-6e4*i)return c[t];return c[n]},abbr:function(a){return this.abbrs[this._index(a)]}
vendor: 4,656 bytes, line 10
10,offset:function(a){return D("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(a)]},utcOffset:function(a){return this.offsets[this._index(a)]}},d.prototype.scoreOffsetAt=function(a){this.offsetScore+=Math.abs(this.zone.utcOffset(a.at)-a.offset),this.zone.abbr(a.at).replace(/[^A-Z]/g,"")!==a.abbr&&this.abbrScore++},y.version="0.5.44",y.dataVersion="",y._zones=s,y._links=c,y._names=u,y._countries=A,y.add=k,y.link=S,y.load=_,y.zone=T,y.zoneExists=C,y.guess=function(a){return i=i&&!a?i:z()},y.names=function(){var a,i=[];for(a in u)u.hasOwnProperty(a)&&(s[a]||s[c[a]])&&u[a]&&i.push(u[a]);return i.sort()},y.Zone=M,y.unpack=p,y.unpackBase60=t,y.needsOffset=B,y.moveInvalidForward=!0,y.moveAmbiguousForward=!1,y.countries=function(){return Object.keys(A)},y.zonesForCountry=function(a,i){var r;return r=(r=a).toUpperCase(),(a=A[r]||null)?(r=a.zones.sort(),i?r.map(function(a){return{name:a,offset:T(a).utcOffset(new Date)}}):r):null};var L,a=o.fn;function O(a){return function(){return this._z?this._z.abbr(this):a.call(this)}}function N(a){return function(){return this._z=null,a.apply(this,arguments)}}o.tz=y,o.defaultZone=null,o.updateOffset=function(a,i){var r,e=o.defaultZone;void 0===a._z&&(e&&B(a)&&!a._isUTC&&a.isValid()&&(a._d=o.utc(a._a)._d,a.utc().add(e.parse(a),"minutes")),a._z=e),a._z&&(e=a._z.utcOffset(a),Math.abs(e)<16&&(e/=60),void 0!==a.utcOffset?(r=a._z,a.utcOffset(-e,i),a._z=r):a.zone(e,i))},a.tz=function(a,i){if(a){if("string"!=typeof a)throw new Error("Time zone name must be a string, got "+a+" ["+typeof a+"]");return this._z=T(a),this._z?o.updateOffset(this,i):D("Moment Timezone has no data for "+a+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},a.zoneName=O(a.zoneName),a.zoneAbbr=O(a.zoneAbbr),a.utc=N(a.utc),a.local=N(a.local),a.utcOffset=(L=a.utcOffset,function(){return 0<arguments.length&&(this._z=null),L.apply(this,arguments)}),o.tz.setDefault=function(a){return(r<2||2==r&&e<9)&&D("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+o.version+"."),o.defaultZone=a?T(a):null,o};a=o.momentProperties;return"[object Array]"===Object.prototype.toString.call(a)?(a.push("_z"),a.push("_a")):a&&(a._z=null),_({version:"2023d",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Ne
10w_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","America/Scoresbysund|-01 +00 -02|10 0 20|0101010101010202020202|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 2pA0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|452","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|010101010101|1Vkh0 1o30 14k0 1kr0 12l0 1o01 14kX 1lf1 14kX 1lf1 13bX|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Antarctica/Vostok|+07 +05|-70 -50|01|2bnv0|25","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4
vendor: 11,718 bytes, line 10
10","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|A
10sia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Antarctica/Vostok Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa
vendor: 9,372 bytes, line 10
10","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),o})
vendor: 3,813 bytes, lines 10-15
10; 11 12 13 14/*! This file is auto-generated */ 15!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.8",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,i){return i=null==i?u.length-1:+i,function(){for(var n=Math.max(arguments.length-i,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+i];switch(i){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(i+1),r=0;r<i;r++)e[r]=arguments[r];return e[i]=t,u.apply(this,e)}}function i(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function o(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=o("String"),Y=o("Number"),Z=o("Date"),nn=o("RegExp"),tn=o("Error"),rn=o("Symbol"),en=o("ArrayBuffer"),a=o("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=o("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=o("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,c=U||o("Array");function v(n,t){return null!=n&&q.call(n,t)}var on=o("Arguments"),an=(!function(){on(arguments)||(on=function(n){return v(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var y=sn("byteLength"),pn=ln(y),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),d=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,i="constructor";for(v(n,i)&&!t.contains(i)&&t.push(i);r--;)(i=J[r])in n&&n[i]!==u[i]&&!t.contains(i)&&t.push(i)}function g(n){if(!i(n))return[];if(W)return W(n);var t,r=[];for(t in n)v(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=g(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0}function b(n){return n instanceof b?n:this instanceof b?void(this._wrapped=n):new b(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,y(n))}b.VERSION=n,b.prototype.valueOf=b.prototype.toJSON=b.prototype.value=function(){return this._wrapped},b.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function m(n){if(!i(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function mn(e){var u=d(e);return function(n){if(null==n)return!1;var t=m(n);if(d(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==wn||!p(n[jn])}}
vendor: 13,632 bytes, line 15
15var jn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(jn,u),wn=t.concat(u),r=["add"].concat(t,jn,"has"),u=a?mn(U):o("Map"),t=a?mn(wn):o("WeakMap"),U=a?mn(r):o("Set"),a=o("WeakSet");function j(n){for(var t=g(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function _n(n){for(var t={},r=g(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function An(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function xn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),i=u.length,o=0;o<i;o++){var a=u[o];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var Sn=xn(m),w=xn(g),On=xn(m,!0);function Mn(n){var t;return i(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function En(n){return c(n)?n:[n]}function _(n){return b.toPath(n)}function Bn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function Nn(n,t,r){n=Bn(n,_(t));return H(n)?r:n}function kn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function In(t){return t=_(t),function(n){return Bn(n,t)}}function x(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 3:return function(n,t,r){return u.call(i,n,t,r)};case 4:return function(n,t,r,e){return u.call(i,n,t,r,e)}}return function(){return u.apply(i,arguments)}}function Tn(n,t,r){return null==n?kn:p(n)?x(n,t,r):(i(n)&&!c(n)?A:In)(n)}function Dn(n,t){return Tn(n,t,1/0)}function S(n,t,r){return b.iteratee!==Dn?b.iteratee(n,t):Tn(n,t,r)}function Rn(){}function Vn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}b.toPath=En,b.iteratee=Dn;var O=Date.now||function(){return(new Date).getTime()};function Fn(t){function r(n){return t[n]}var n="(?:"+g(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Pn=Fn(r),r=Fn(_n(r)),qn=b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Un=/(.)^/,Wn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zn=/\\|'|\r|\n|\u2028|\u2029/g;function Ln(n){return"\\"+Wn[n]}var $n=/^\s*(\w|\$)+\s*$/;var Cn=0;function Kn(n,t,r,e,u){return e instanceof t?(e=Mn(n.prototype),i(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,i){function o(){for(var n=0,t=i.length,r=Array(t),e=0;e<t;e++)r[e]=i[e]===a?arguments[n++]:i[e];for(;n<arguments.length;)r.push(arguments[n++]);return Kn(u,o,this,this,r)}var a=M.placeholder;return o}),Jn=(M.placeholder=b,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Kn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(d);function B(n,t,r){t||0===t||(t=1/0);for(var e=[],u=0,i=0,o=d(n)||0,a=[];;){if(o<=i){if(a.length){var f=a.pop(),i=f.i,o=d(n=f.v);continue}break}f=n[i++];t<=a.length?e[u++]=f:E(f)&&(c(f)||an(f))?(a.push({i:i,v:n}),i=0,o=d(n=f)):r||(e[u++]=f)}return e}var Gn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Jn(n[e],n)}return n});var Hn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Qn=M(Hn,b,1);function Xn(n){return function(){return!n.apply(this,arguments)}}function Yn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var Zn=M(Yn,2);function nt(n,t,r){t=S(t,r);for(var e,u=g(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e}function tt(i){return function(n,t,r){t=S(t,r);for(var e=d(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(t(n[u],u,n))return u;return-1}}var rt=tt(1),et=tt(-1);function ut(n,t,r,e){for(var u=(r=S(r,e,1))(t),i=0,o=d(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i}function it(i,o,a){return function(n,t,r){var e=0,u=d(n);if("number"==typeof r)0<i?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=o(f.call(n,e,u),fn))?r+e:-1;for(r=0<i?e:u-1;0<=r&&r<u;r+=i)if(n[r]===t)return r;return-1}}var ot=it(1,rt,ut),at=it(-1,et);function ft(n,t,r){t=(E(n)?rt:nt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,i=n.length;u<i;u++)t(n[u],u,n);else for(var e=g(n),u=0,i=e.length;u<i;u++)t(n[e[u]],e[u],n);return n}function k(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i}function ct(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&g(n),i=(u||n).length,o=0<f?0:i-1;for(e||(r=n[u?u[o]:o],o+=f);0<=o&&o<i;o+=f){var a=u?u[o]:o;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var lt=ct(1),st=ct(-1);function I(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function pt(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&g(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1}function T(n,t,r,e){return E(n)||(n=j(n)),0<=ot(n,t,r="number"==typeof r&&!e?r:0)}var vt=l(function(n,r,e){var u,i;return p(r)?i=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),k(n,function(n){var t=i;if(!t){if(null==(n=u&&u.length?Bn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function yt(n,t){return k(n,In(t))}function dt(n,e,t){var r,u,i=-1/0,o=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&i<r&&(i=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i}var gt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function bt(n){return n?c(n)?f.call(n):X(n)?n.match(gt):E(n)?k(n,kn):j(n):[]}function mt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Vn(n.length-1)];for(var e=bt(n),r=d(e),u=(t=Math.max(Math.min(t,r),0),r-1),i=0;i<t;i++){var o=Vn(i,u),a=e[i];e[i]=e[o],e[o]=a}return e.slice(0,t)}function D(i,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);i(u,n,t)}),u}}var jt=D(function(n,t,r){v(n,r)?n[r].push(t):n[r]=[t]}),wt=D(function(n,t,r){n[r]=t}),_t=D(function(n,t,r){v(n,r)?n[r]++:n[r]=1}),At=D(function(n,t,r){n[r?0:1].push(t)},!0);function xt(n,t,r){return t in r}var St=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=m(n)):(e=xt,t=B(t,!1,!1),n=Object(n));for(var u=0,i=t.length;u<i;u++){var o=t[u],a=n[o];e(a,o,n)&&(r[o]=a)}}return r}),Ot=l(function(n,r){var t,e=r[0];return p(e)?(e=Xn(e),1<r.length&&(t=r[1])):(r=k(B(r,!1,!1),String),e=function(n,t){return!T(r,t)}),St(n,e,t)});function Mt(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Et(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Mt(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Bt=l(function(n,t){return t=B(t,!0,!0),I(n,function(n){return!T(t,n)})}),Nt=l(function(n,t){return Bt(n,t)});function kt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],i=[],o=0,a=d(n);o<a;o++){var f=n[o],c=r?r(f,o,n):f;t&&!r?(o&&i===c||u.push(f),i=c):r?T(i,c)||(i.push(c),u.push(f)):T(u,f)||u.push(f)}return u}var It=l(function(n){return kt(B(n,!0,!0))});function Tt(n){for(var t=n&&dt(n,d).length||0,r=Array(t),e=0;e<t;e++)r[e]=yt(n,e);return r}var Dt=l(Tt);function Rt(n,t){return n._chain?b(t).chain():t}function Vt(r){return N(An(r),function(n){var t=b[n]=r[n];b.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Rt(this,t.apply(b,n))}}),b}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];b.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Rt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];b.prototype[n]=function(){var n=this._wrapped;return Rt(this,n=null!=n?t.apply(n,arguments):n)}});n=Vt({__proto__:null,VERSION:n,restArguments:l,isObject:i,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:c,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=d(n))&&(c(n)||X(n)||an(n))?0===t:0===d(g(n)))},isMatch:dn,isEqual:function(n,t){for(var r=[{a:n,b:t}],e=[],u=[];r.length;){var i=r.pop();if(!0===i)e.pop(),u.pop();else{if((n=i.a)===(t=i.b)){if(0!==n||1/n==1/t)continue;return!1}if(null==n||null==t)return!1;if(n!=n){if(t!=t)continue;return!1}i=typeof n;if("function"!=i&&"object"!=i&&"object"!=typeof t)return!1;n instanceof b&&(n=n._wrapped),t instanceof b&&(t=t._wrapped);i=s.call(n);if(i!==s.call(t))return!1;if(un&&"[object Object]"==i&&h(n)){if(!h(t))return!1;i=bn}switch(i){case"[object RegExp]":case"[object String]":if(""+n==""+t)continue;return!1;case"[object Number]":r.push({a:+n,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+n==+t)continue;return!1;case"[object Symbol]":if(F.valueOf.call(n)===F.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case bn:r.push({a:gn(n),b:gn(t)});continue}i="[object Array]"===i;if(!i&&vn(n)){if(y(n)!==y(t))return!1;if(n.buffer===t.buffer&&n.byteOffset===t.byteOffset)continue;i=!0}if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(p(o)&&o instanceof o&&p(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}for(var f=e.length;f--;)if(e[f]===n){if(u[f]===t)break;return!1}if(!(0<=f))if(e.push(n),u.push(t),r.push(!0),i){if((f=n.length)!==t.length)return!1;for(;f--;)r.push({a:n[f],b:t[f]})}else{var c,l=g(n),f=l.length;if(g(t).length!==f)return!1;for(;f--;){if(!v(t,c=l[f]))return!1;r.push({a:n[c],b:t[c]})}}}}return!0},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:g,allKeys:m,values:j,pairs:function(n){for(var t=g(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:_n,functions:An,methods:An,extend:Sn,extendOwn:w,assign:w,defaults:On,create:function(n,t){return n=Mn(n),t&&w(n,t),n},clone:function(n){return i(n)?c(n)?n.slice():Sn({},n):n},tap:function(n,t){return t(n),n},get:Nn,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!v(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=g(n),u=e.length,i={},o=0;o<u;o++){var a=e[o];i[a]=t(n[a],a,n)}return i},identity:kn,constant:cn,noop:Rn,toPath:En,property:In,propertyOf:function(t){return null==t?Rn:function(n){return Nn(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Vn,now:O,escape:Pn,unescape:r,templateSettings:qn,template:function(i,n,t){n=On({},n=!n&&t?t:n,b.templateSettings);var r,t=RegExp([(n.escape||Un).source,(n.interpolate||Un).source,(n.evaluate||Un).source].join("|")+"|$","g"),o=0,a="__p+='";if(i.replace(t,function(n,t,r,e,u){return a+=i.slice(o,u).replace(zn,Ln),o=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!$n.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,b)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var i=null==n?void 0:n[t[u]];void 0===i&&(i=r,u=e),n=p(i)?i.call(n):i}return n},uniqueId:function(n){var t=++Cn+"";return n?n+t:t},chain:function(n){return(n=b(n))._chain=!0,n},iteratee:Dn,partial:M,bind:Jn,bindAll:Gn,memoize:function(e,u){function i(n){var t=i.cache,r=""+(u?u.apply(this,arguments):n);return v(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return i.cache={},i},delay:Hn,defer:Qn,throttle:function(r,e,u){function i(){l=!1===u.leading?0:O(),o=null,c=r.apply(a,f),o||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(o&&(clearTimeout(o),o=null),l=n,c=r.apply(a,f),o||(a=f=null)):o||!1===u.trailing||(o=setTimeout(i,t)),c}var o,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(o),l=0,o=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-o;n<r?i=setTimeout(u,r-n):(i=null,e||(f=t.apply(c,a)),i||(a=c=null))}var i,o,a,f,c,n=l(function(n){return c=this,a=n,o=O(),i||(i=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(i),i=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Xn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Yn,once:Zn,findKey:nt,findIndex:rt,findLastIndex:et,sortedIndex:ut,indexOf:ot,lastIndexOf:at,find:ft,detect:ft,findWhere:function(n,t){return ft(n,A(t))},each:N,forEach:N,map:k,collect:k,reduce:lt,foldl:lt,inject:lt,reduceRight:st,foldr:st,filter:I,select:I,reject:function(n,t,r){return I(n,Xn(S(t)),r)},every:pt,all:pt,some:ht,any:ht,contains:T,includes:T,include:T,invoke:vt,pluck:yt,where:function(n,t){return I(n,A(t))},max:dt,min:function(n,e,t){var r,u,i=1/0,o=1/0;
15if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<i&&(i=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<o||u===1/0&&i===1/0)&&(i=n,o=u)});return i},shuffle:function(n){return mt(n,1/0)},sample:mt,sortBy:function(n,e,t){var u=0;return e=S(e,t),yt(k(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:jt,indexBy:wt,countBy:_t,partition:At,toArray:bt,size:function(n){return null==n?0:(E(n)?n:g(n)).length},pick:St,omit:Ot,first:Et,head:Et,take:Et,initial:Mt,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return I(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:Nt,uniq:kt,unique:kt,union:It,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=d(n);e<u;e++){var i=n[e];if(!T(t,i)){for(var o=1;o<r&&T(arguments[o],i);o++);o===r&&t.push(i)}}return t},difference:Bt,unzip:Tt,transpose:Tt,zip:Dt,object:function(n,t){for(var r={},e=0,u=d(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Vt,default:b});return n._=n}); 16 17 18 19/*! This file is auto-generated */ 20window.wp=window.wp||{},wp.shortcode={next:function(t,e,n){var s=wp.shortcode.regexp(t);if(s.lastIndex=n||0,n=s.exec(e))return"["===n[1]&&"]"===n[7]?wp.shortcode.next(t,e,s.lastIndex):(t={index:n.index,content:n[0],shortcode:wp.shortcode.fromMatch(n)},n[1]&&(t.content=t.content.slice(1),t.index++),n[7]&&(t.content=t.content.slice(0,-1)),t)},replace:function(t,e,h){return e.replace(wp.shortcode.regexp(t),function(t,e,n,s,r,o,i,c){var a;return("["!==e||"]"!==c)&&(a=h(wp.shortcode.fromMatch(arguments)))?e+a+c:t})},string:function(t){return new wp.shortcode(t).string()},regexp:_.memoize(function(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}),attrs:_.memoize(function(t){var e,n={},s=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=r.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?s.push(e[7]):e[8]?s.push(e[8]):e[9]&&s.push(e[9]);return{named:n,numeric:s}}),fromMatch:function(t){var e=t[4]?"self-closing":t[6]?"closed":"single";return new wp.shortcode({tag:t[2],attrs:t[3],type:e,content:t[5]})}},wp.shortcode=_.extend(function(t){_.extend(this,_.pick(t||{},"tag","attrs","type","content"));var e=this.attrs;this.attrs={named:{},numeric:[]},e&&(_.isString(e)?this.attrs=wp.shortcode.attrs(e):0===_.difference(_.keys(e),["named","numeric"]).length?this.attrs=_.defaults(e,this.attrs):_.each(t.attrs,function(t,e){this.set(e,t)},this))},wp.shortcode),_.extend(wp.shortcode.prototype,{get:function(t){return this.attrs[_.isNumber(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[_.isNumber(t)?"numeric":"named"][t]=e,this},string:function(){var n="["+this.tag;return _.each(this.attrs.numeric,function(t){/\s/.test(t)?n+=' "'+t+'"':n+=" "+t}),_.each(this.attrs.named,function(t,e){n+=" "+e+'="'+t+'"'}),"single"===this.type?n+"]":"self-closing"===this.type?n+" /]":(n+="]",this.content&&(n+=this.content),n+"[/"+this.tag+"]")}}),wp.html=_.extend(wp.html||{},{attrs:function(t){var e;return"/"===t[t.length-1]&&(t=t.slice(0,-1)),t=wp.shortcode.attrs(t),e=t.named,_.each(t.numeric,function(t){/\s/.test(t)||(e[t]="")}),e},string:function(t){var n="<"+t.tag,e=t.content||"";return _.each(t.attrs,function(t,e){n+=" "+e,_.isBoolean(t)&&(t=t?"true":"false"),n+='="'+t+'"'}),t.single?n+" />":(n=(n+=">")+(_.isObject(e)?wp.html.string(e):e))+"</"+t.tag+">"}}); 21 22 23 24/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net) 25 * Licensed under the MIT License (LICENSE.txt). 26 * 27 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. 28 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. 29 * Thanks to: Seamus Leahy for adding deltaX and deltaY 30 * 31 * Version: 3.0.6 32 * 33 * Requires: 1.2.2+ 34 */ 35(function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1
35),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery); 36 37 38 39/** 40 * Javascript code that is associated with the front end of the calendar 41 * @version 5.0.7 42 * @license EventON JavaScript Assets 43 * Copyright (C) 2014-2026 Ashan Jay, AshanJay Designs LLC. 44 * 45 * PROPRIETARY LICENSE - All Rights Reserved 46 * 47 * Permission granted solely for personal use with valid EventON license. 48 * YOU MAY NOT: redistribute, resell, sublicense, or publish these Assets. 49 * 50 * Trademark: "EventON" is a trademark of AshanJay Designs LLC. 51 * Contact: [email protected] 52 * 53 * PROVIDED "AS IS" WITHOUT WARRANTY. VIOLATION MAY RESULT IN LEGAL ACTION. 54 */ 55jQuery(document).ready(function($){if(evo_general_params!=''&&evo_general_params!==undefined&&evo_general_params.is_admin)return;var BODY=$('body');var BUS='';var ajax_url=evo_general_params.ajaxurl;var D={'listenCall':!1,'listenInt':!1};$.fn.evo_calendar=function(options){var el=this;var cal=this;var cal={};var calO=$.extend({'SC':{},'json':{},'type':'init',map_delay:0},options);var SC=el.evo_shortcode_data();this.find('.eventon_list_event').each(function(){evo_cal_eventcard_interactions($(this))});var init=function(){if($(el).hasClass('evcal_widget')){$(el).find('.evcal_gmaps').each(function(){var gmap_id=obj.attr('id');var new_gmal_id=gmap_id+'_widget';obj.attr({'id':new_gmal_id})})} 56_evo_run_eventcard_map_load();$(el).evo_cal_filtering();$(el).evo_cal_localize_time();$(cal).evo_cal_oneevent_onload(calO.type);el.evo_cal_hide_data();live_now_cal();counters()};var live_now_cal=function(){$(el).find('.evo_img_time').each(function(){if($(this).closest('a.desc_trig').find('em.evcal_time').length){_html=$
56(this).closest('a.desc_trig').find('em.evcal_time')[0].outerHTML;$(this).html(_html)}})} 57var counters=function(){$(el).find('.evo_countdowner').each(function(){$(this).evo_countdown()})} 58init()};var EVO_EventCard_Listeners=function(){const EVO_Card_Listeners={E:{B:$('body')},init(){const{E}=this;E.B.on('click.evoCard','.evo_et_trigger',(e)=>this.evo_handle_et_sidePanel(e));E.B.on('evo_ajax_success_evo_et_trigger.evoCard',(e,OO,data,el)=>this.evo_handle_et_sp_content(e,OO,data,el));E.B.on('click.evoCard','.tzo_trig',(e)=>this.localizeTime(e));E.B.on('click.evoCard','.evo_event_more_img',(e)=>this.handle_event_more_img(e));E.B.on('click.evoCard','.evo_img_triglb',(e)=>this.handle_img_triglb(e));E.B.on('click.evoCard','.evo_repeat_series_date',(e)=>this.handle_repeat_series_date(e));E.B.on('click.evoCard','.copy.evo_ss',(e)=>this.handle_copy_event_link(e));E.B.on('click.evoCard','.evo_copy_address',(e)=>this.handle_copy_event_address(e));E.B.on('click.evoCard','.evo_openmap_trig',(e)=>this.handle_open_inmaps(e));E.B.on('click.evoCard','.evo_locimg_more',(e)=>this.handle_locimg_more(e));E.B.on('click.evoCard','.evo_gal_icon',(e)=>this.handle_gal_icon(e));E.B.on('click.evoCard','.evobtn_details_show_more',(e)=>this.handle_details_show_more(e));E.B.on('click.evoCard','.evcal_close',(e)=>this.handle_close_eventcard(e));E.B.on('click.evoCard','.evocmd_button',(e)=>this.handle_evocmd_button(e));E.B.on('click.evoCard','.evo_org_clk_link',(e)=>this.handle_org_clk_link(e));E.B.on('click.evoCard','.editEventBtnET',(e)=>this.handle_edit_event_button(e));E.B.on('click.evoCard','.evo_organizer_more_trig',(e)=>this.handle_organizer_more_details(e))},handle_organizer_more_details(e){const{E}=this;const $el=$(e.currentTarget);$el.parent().hide();$el.parent().siblings('.evo_org_details_full').show().removeClass('evodni')},evo_handle_et_sidePanel(e){const{E}=this;const $el=$(e.currentTarget);e.preventDefault();$el.addClass('evo_sp_trig_on');const aData=$el.data('d');aData.adata.data.nonce=evo_general_params.n;$el.evo_open_sidepanel(aData)},evo_handle_et_sp_content(e,OO,data,el){$(el).evo_populate_sidepanel(data.html);$('#evo_sp').find('.evo_loading_bar_holder').remove()},localizeTime(e){e.preventDefault();e.stopPropagation();$(e.target).evo_localize_time()},handle_event_more_img(e){const $el=$(e.currentTarget);const box=$el.closest('.evcal_eventcard');const gal=$el.closest('.evocard_fti_in');if(box.length===0)return;$el.siblings('span').removeClass('select');$el.addClass('select');const mainIMG=box.find('.evocard_main_image');mainIMG.data({h:$el.data('h'),w:$el.data('w'),f:$el.data('f'),a:$el.data('a'),});if(mainIMG.hasClass('def')){mainIMG.css('background-image',`url(${$el.data('f')})`)}else{mainIMG.html(`<span style="background-image:url(${$el.data('f')})"></span>`);mainIMG.eventon_process_main_ft_img()}},handle_img_triglb(e){const $el=$(e.currentTarget);if($el.hasClass('inlb'))return;const __ac=parseInt($el.data('w'))>=parseInt($el.data('h'))?'iW':'iH';$el.evo_lightbox_open({uid:'evocard_ft_img',lbc:'evolb_ft_img',lbac:`within evocard_img ${__ac}`,content:`<img class='evocard_main_image inlb' src='${$el.data('f')}' data-w='${$el.data('w')}' data-h='${$el.data('h')}' style='max-width:100%; max-height:100%;'/>`,end:'client',lb_padding:'',d:{event_id:$el.data('event_id'),ri:$el.data('ri')}})},handle_repeat_series_date(e){const $el=$(e.currentTarget);if(!$el.parent().hasClass('clickable'))return;const ux=$el.data('ux');const URL=$el.data('l');if(ux==='def')window.location=URL;if(ux==='defA')window.open(URL,'_blank');},handle_copy_event_link(e){e.preventDefault();e.stopPropagation();const $el=$(e.currentTarget);const ROW=$el.closest('.evcal_evdata_row');const link=decodeURIComponent($el.data('l'));navigator.clipboard.writeText(link);const evo_card_socialshare_html=ROW.html();ROW.html(`<p style='display:flex'><i class='fa fa-check marr10'></i> ${$el.data('t')}</p>`);setTimeout(()=>{ROW.html(evo_card_socialshare_html)},3000)},handle_copy_event_address(e){e.preventDefault();e.stopPropagation();const $el=$(e.currentTarget);const content=decodeURIComponent($el.data('txt'));const informer=$el.siblings('.evo_event_loc_link');navigator.clipboard.writeText(content);informer.html($el.data('t'));setTimeout(()=>{informer.html(content)},3000)},handle_open_inmaps(e){e.preventDefault();e.stopPropagation();const $el=$(e.currentTarget);const address=$el.data('d');const ua=navigator.userAgent;if(ua.includes('iphone')||ua.includes('ipad')||ua.includes('ipod')){window.location='maps://maps.apple.com/?q='+address;setTimeout(()=>{window.open('https://maps.apple.com/?q='+address,'_blank')},1000)}else if(ua.includes('android')){window.location='geo:0,0?q='+address;setTimeout(()=>{window.open('https://www.google.com/maps/search/?api=1&query='+address,'_blank')},1000)}else{window.open('https://www.google.com/maps/search/?api=1&query='+address,'_blank','noopener')}},handle_locimg_more(e){e.preventDefault();e.stopPropagation();$(e.currentTarget).closest('.evo_metarow_locImg').toggleClass('vis')},handle_gal_icon(e){e.preventDefault();e.stopPropagation();const $el=$(e.currentTarget);if($el.hasClass('on'))return;$el.siblings('div').removeClass('on');$el.addClass('on');$el.closest('.evo_gal_box').find('.evo_gal_main_img').css('background-image',`url(${$el.data('u')})`).data('f',$el.data('u')).data('h',$el.data('h')).data('w',$el.data('w'))},handle_details_show_more(e){e.preventDefault();this.control_more_less($(e.currentTarget))},handle_close_eventcard(e){e.preventDefault();
58$(e.currentTarget).closest('.evcal_eventcard').slideUp().removeClass('open')},handle_evocmd_button(e){e.preventDefault();e.stopPropagation();const $el=$(e.currentTarget);const href=$el.data('href');if($el.data('target')==='yes'){window.open(href,'_blank')}else{window.location=href}},handle_org_clk_link(e){window.open($(e.currentTarget).data('link'),'_blank')},handle_edit_event_button(e){e.stopPropagation();const href=$(e.currentTarget).attr('href');window.open(href)},control_more_less(obj){const content=obj.attr('content');const current_text=obj.find('.ev_more_text').html();const changeTo_text=obj.find('.ev_more_text').attr('data-txt');const cell=obj.closest('.evcal_evdata_cell');if(content==='less'){cell.removeClass('shorter_desc');obj.attr('content','more');obj.find('.ev_more_arrow').removeClass('ard');obj.find('.ev_more_text').attr('data-txt',current_text).html(changeTo_text)}else{cell.addClass('shorter_desc');obj.attr('content','less');obj.find('.ev_more_arrow').addClass('ard');obj.find('.ev_more_text').attr('data-txt',current_text).html(changeTo_text)}}};EVO_Card_Listeners.init()} 59var evo_cal_eventcard_interactions=function(EC,load_maps){EC.find(".evocard_main_image").eventon_process_main_ft_img();EC.find('.evo_elm_HCS').each(function(){$(this).evoContentSlider()});EC.find('.evo_countdowner').each(function(){var obj=$(this);obj.removeClass('evo_cd_on');obj.evo_countdown()});$(window).on('resize',function(){BODY.find(".evocard_main_image").each(function(){$(this).eventon_process_main_ft_img()})})} 60$.fn._evo_cal_eventcard_interactions=function(EC,load_maps){evo_cal_eventcard_interactions(EC,load_maps)} 61function _evo_run_eventcard_map_load(){BODY.evo_run_eventcard_map_load()} 62$.fn.evo_run_eventcard_map_load=function(){time=600;BODY.find('.evo_metarow_gmap').each(function(index){O=$(this);if(!(O.is(":visible")))return;O.evo_load_gmap({map_canvas_id:O.attr('id'),trigger_point:'evo_calendar',delay:time});time+=600})} 63var evo_cal_eventtop_interactions=function(ET){} 64EVO_Global_Init();function EVO_Global_Init(){EVO_Interactions();EVO_EventCard_Listeners();var run_initload=!1;if($('body').find('.ajde_evcal_calendar').length>0)run_initload=!0;if($('body').find('.ajax_loading_cal').length>0)run_initload=!0;if($('body').find('.eventon_single_event').length>0)run_initload=!0;if(run_initload==!1)return!1;var data_arg={};BODY.trigger('evo_global_page_run');data_arg.global=$('#evo_global_data').data('d');data_arg.cals={};data_arg.nonce=evo_general_params.n;BODY.find('.ajde_evcal_calendar').each(function(){const CAL=$(this);var SC=CAL.evo_shortcode_data();CAL.evo_pre_cal();if(CAL.hasClass('ajax_loading_cal')){data_arg.cals[CAL.attr('id')]={};data_arg.cals[CAL.attr('id')].sc=SC;BODY.trigger('evo_global_page_run_after',CAL,SC)}});BODY.evo_admin_get_ajax({adata:{data:data_arg,a:'eventon_init_load',ajax_type:'endpoint',end:'client'},onSuccess:function(OO,data,LB){$('#evo_global_data').data('d',data);BUS=data;if('cals' in data){var time=300;$.each(data.cals,function(i,v){setTimeout(function(){CAL=BODY.find('#'+i);if(CAL.length===0)return;if('html' in v){CAL.find('#evcal_list').html(v.html);CAL.removeClass('ajax_loading_cal');CAL.find('.evo_ajax_load_events').remove()} 65CAL.evo_cal_functions({action:'update_shortcodes',SC:v.sc});CAL.evo_cal_functions({action:'update_json',json:v.json});$('body').trigger('evo_init_ajax_success_each_cal',[data,i,v,CAL])},time);time+=300})} 66$('body').trigger('evo_init_ajax_success',[data]);setTimeout(function(){BODY.find('.ajde_evcal_calendar').each(function(){if($(this).hasClass('.ajax_loading_cal'))return;$(this).evo_calendar({'type':'complete'})})},time)},onComplete:function(OO,data){$('body').trigger('evo_init_ajax_completed',[data])}});handlebar_additional_arguments();EVO_Cal_Body_listeners();BODY.find('.evo_countdowner').each(function(){$(this).evo_countdown()})} 67$('body').on('mouseover','.ajdeToolTip, .evotooltip, .evotooltipfree',function(event){event.stopPropagation();const el=$(this);if(el.hasClass('show'))return;var free=el.hasClass('free')||el.hasClass('evotooltipfree');var content=el.data('d')||el.attr('title')||'';if(!content)return;var p=el.position();var cor=getCoords(event.target);$('.evo_tooltip_box').removeClass('show').removeClass('L').html(content);var box_height=$('.evo_tooltip_box').height();var box_width=$('.evo_tooltip_box').width();var top=cor.top-55-box_height+(free?20:0);$('.evo_tooltip_box').css({'top':top,'left':(cor.left+5)}).addClass('show');if($(this).hasClass('L')){$('.evo_tooltip_box').css({'left':(cor.left-box_width-15)}).addClass('L')}}).on('mouseout','.ajdeToolTip, .evotooltip, .evotooltipfree',function(e){event.stopPropagation();var relatedTarget=$(event.relatedTarget);var target=$(this);$('.evo_tooltip_box').removeClass('show')});function getCoords(elem){var box=elem.getBoundingClientRect();var body=document.body;var docEl=document.documentElement;var scrollTop=window.pageYOffset||docEl.scrollTop||body.scrollTop;var scrollLeft=window.pageXOffset||docEl.scrollLeft||body.scrollLeft;var clientTop=docEl.clientTop||body.clientTop||0;var clientLeft=docEl.clientLeft||body.clientLeft||0;var top=box.top+scrollTop-clientTop;var left=box.left+scrollLeft-clientLeft;
67return{top:Math.round(top),left:Math.round(left)}} 68$('body').on('click','.ajde_yn_btn ',function(event){if($('body').hasClass('wp-admin'))return!1;var obj=$(this);var afterstatement=obj.attr('afterstatement');afterstatement=(afterstatement===undefined)?obj.attr('data-afterstatement'):afterstatement;var uid='';if(obj.hasClass('NO')){obj.removeClass('NO');obj.siblings('input').val('yes');if(afterstatement!=''){var type=(obj.attr('as_type')=='class')?'.':'#';if(obj.data('uid')!==undefined)uid=obj.data('uid');$(type+afterstatement).slideDown('fast')}}else{obj.addClass('NO');obj.siblings('input').val('no');if(afterstatement!=''){var type=(obj.attr('as_type')=='class')?'.':'#';$(type+afterstatement).slideUp('fast')}}});$.fn.evoContentSlider=function(){return this.each(function(){const $slider=$(this);const $inner=$slider.find('.evo_elm_HCS_in');const scrollAmount=10;let scrollTimeout;updateButtonVisibility($slider);$slider.data('evo-slider-initialized',!0);$slider.on('click','.evo_elmHCS_nav.content_slide_trig',function(){const $button=$(this);const scrollDistance=parseInt($slider.width())/2;const currentScroll=$inner.scrollLeft();let newScroll;if($button.hasClass('HCSnavR')){newScroll=currentScroll+scrollDistance;$slider.find('.HCSnavL')[0].classList.add('vis')}else{newScroll=Math.max(0,currentScroll-scrollDistance)} 69$inner.animate({scrollLeft:newScroll},200,()=>{updateButtonVisibility($slider)})});$inner[0].addEventListener('wheel',function(e){e.preventDefault();const delta=e.deltaY;const scrollableLength=this.scrollWidth-parseInt($slider.width());const newScroll=Math.max(0,Math.min($inner.scrollLeft()+(delta>0?scrollAmount:-scrollAmount),scrollableLength));$inner.scrollLeft(newScroll);updateButtonVisibility($slider)},{passive:!1});$inner[0].addEventListener('scroll',function(){clearTimeout(scrollTimeout);scrollTimeout=setTimeout(()=>{updateButtonVisibility($slider)},100)})})};$('body').on('evo_reload_slider',function(event,$slider){updateButtonVisibility($slider)});function updateButtonVisibility($slider){const $inner=$slider.find('.evo_elm_HCS_in');const scrollableLength=$inner[0].scrollWidth-parseInt($slider.width());const currentScroll=$inner.scrollLeft();const leftButton=$slider.find('.HCSnavL')[0];const rightButton=$slider.find('.HCSnavR')[0];if(scrollableLength<=0){leftButton.classList.remove('vis');rightButton.classList.remove('vis');return} 70leftButton.classList.toggle('vis',currentScroll>=10);rightButton.classList.toggle('vis',currentScroll<scrollableLength-5)} 71let resizeTimeout;$(window).on('resize',function(){clearTimeout(resizeTimeout);resizeTimeout=setTimeout(()=>{$('.evo_elm_HCS').each(function(){updateButtonVisibility($(this),$(this).find('.evo_elm_HCS_in'))})},100)});BODY.find('.evo_elm_HCS').each(function(event){$(this).evoContentSlider()});BODY.on('click','.evo_elm_dynamic_select_trig',function(e){e.preventDefault();const btn=$(this);const row=btn.closest('.evo_elm_dynamic_select');const list=btn.find('.evoelm_ds_list');row.toggleClass('open');btn.toggleClass('open');if(btn.hasClass('open')){const options=btn.siblings('div').data('d');let html=`<div class="evoelm_ds_list evobr10 evodfx evofx_dr_c evobgcw evofz14 evoff_2 evo_ofh evoposa evoleft0 " role="listbox" aria-labelledby="selected-option">`;$.each(options,(index,value)=>{html+=`<span class="evoelm_ds_list_item evopad10 evocurp evoborderb" role="option" tabindex="-1" data-index="${index}">${value}</span>`});html+='</div>';btn.append(html)}else{list.remove()}});$(document).click(function(event){if(!$(event.target).closest('.evo_elm_dynamic_select').length){const openBox=BODY.find('.evo_elm_dynamic_select.open');openBox.removeClass('open').find('button').removeClass('open');openBox.find('.evoelm_ds_list').remove()}});BODY.on('click','.evoelm_ds_list_item',function(event){const item=$(this);const box=item.closest('.evo_elm_dynamic_select');const value=item.data('index');box.find('.evoelm_ds_current').html(item.html());box.find('input').val(value);BODY.trigger('evoelm_dynamic_select_clicked',[item,value,box]);box.removeClass('open');box.find('button').removeClass('open');item.parent().remove()});var file_frame;var __img_index;var __img_obj;var __img_box;var __img_type;BODY.on('click','.evolm_img_select_trig',function(event){event.preventDefault();const $trigger=$(this);const __img_obj=$(this);const $row=$trigger.closest('.evo_elm_row');const __img_box=__img_obj.closest('.evo_metafield_image');const __img_actions=__img_obj.closest('.evolm_img_actions');const __img_type=__img_box.hasClass('multi')?'multi':'single';const uploaderId=$row.data('id');if(__img_type=='single'&&__img_box.hasClass('has_img'))return;if(__img_type=='multi'){__img_index=__img_obj.data('index');if(__img_obj.hasClass('on')){__img_obj.css('background-image','').removeClass('on');__img_obj.find('input').val('');return}} 72if(file_frame){file_frame.close();file_frame=null} 73var user_id=__img_actions.data('userid')?parseInt(__img_actions.data('userid')):0;var library_args={type:'image'};if(user_id>0){library_args.author=user_id} 74file_frame=wp.media.frames.downloadable_file=wp.media({title:'Choose an Image',button:{text:'Use Image'},multiple:!1,library:library_args,});if(uploaderId!=''||uploaderId!==undefined){file_frame.uploaderId=uploaderId} 75file_frame.on('select',function(){var selection=file_frame.state().get('selection');if(selection.length>0){var attachment=selection.first().toJSON();if(__img_type=='single'){__img_box.addClass('has_img');__img_box.find('input.evo_meta_img').val(attachment.id);__img_box.find('.evoelm_img_holder').css('background-image','url('+attachment.url+')')}else{__img_obj.css('background-image','url('+attachment.url+')').addClass('on');__img_obj.find('input').val(attachment.id)}}else{console.log('No image selected')}});file_frame.on('error',function(error){console.error('Media Uploader Error:',error);alert('Error: '+error.message)});file_frame.open()});BODY.on('click','.evoel_img_remove_trig',function(){const field=$(this).closest('.evo_metafield_image');if(!(field.hasClass('has_img')))return;field.removeClass('has_img');field.find('input').val('');
75field.find('button').addClass('chooseimg');field.find('.evoelm_img_holder').css('background-image','')});$('body').on('click','.evo_plusminus_change',function(event){if(evo_general_params.cal.is_admin)return;OBJ=$(this);QTY=parseInt(OBJ.siblings('input').val());MAX=OBJ.siblings('input').data('max');if(!MAX)MAX=OBJ.siblings('input').attr('max');NEWQTY=(OBJ.hasClass('plu'))?QTY+1:QTY-1;NEWQTY=(NEWQTY<=0)?0:NEWQTY;if(NEWQTY==0&&OBJ.hasClass('min')){return} 76NEWQTY=(MAX!=''&&NEWQTY>MAX)?MAX:NEWQTY;if(isNaN(NEWQTY))NEWQTY=0;OBJ.siblings('input').val(NEWQTY).attr('value',NEWQTY);if(QTY!=NEWQTY)$('body').trigger('evo_plusminus_changed',[NEWQTY,MAX,OBJ]);if(NEWQTY==MAX){PLU=OBJ.parent().find('b.plu');if(!PLU.hasClass('reached'))PLU.addClass('reached');if(QTY==MAX)$('body').trigger('evo_plusminus_max_reached',[NEWQTY,MAX,OBJ]);}else{OBJ.parent().find('b.plu').removeClass('reached')}});function EVO_Cal_Body_listeners(){BODY.evo_cal_lb_listeners();const EVO_Listeners={E:{B:$('body')},init(){const{B}=this.E;if(D.listenCall)return;D.listenCall=!0;B.on('click.evoCal','.evo_faq_toggle',(e)=>this.handle_faq_toggle(e));B.on('click.evoCal','.evo_trig_ajax',(e)=>this.handle_general_ajax(e));B.on('click.evoCal','.eventon_anywhere.evoajax',(e)=>this.handle_event_anywhere(e));B.on('click.evoCal','.evo_no_events_btn',(e)=>this.handle_no_events_btn(e));B.on('click.evoCal','.evcal_arrows',(e)=>this.handle_month_switch(e));B.on('click.evoCal','.evoShow_more_events',(e)=>this.handle_show_more_events(e));B.on('runajax_refresh_eventtop.evoCal',(e,OBJ,nonce)=>this.handle_refresh_eventtop(e,OBJ,nonce));B.on('evo_slidedown_eventcard_complete.evoCal',(e,event_id,obj,is_slide_down)=>this.handle_slidedown_complete(e,event_id,obj,is_slide_down));B.on('calendar_month_changed.evoCal',(e,CAL)=>this.handle_calendar_month_changed(e,CAL));B.on('click.evoCal','.evo-gototoday-btn',(e)=>this.handle_gototoday_btn(e));B.on('runajax_refresh_now_cal.evoCal',(e,OBJ,nonce)=>this.handle_refresh_now_cal(e,OBJ,nonce));this.handle_cal_head_interactions();B.on('show_cal_head_btn.evoCal',(e,obj)=>this.handle_show_cal_head_btn(e,obj));B.on('hide_cal_head_btn.evoCal',(e,obj)=>this.handle_hide_cal_head_btn(e,obj));B.on('click.evoCal','.ajde_evcal_calendar.boxstyle3 .eventon_list_event',(e)=>this.handle_tile_box_click(e));B.on('click.evoCal','.eventon_list_event .desc_trig',(e)=>this.handle_desc_trig(e))},handle_faq_toggle(e){const toggle=$(e.currentTarget);const answer=toggle.next('.evo_faq_answer');const icon=toggle.find('i.fa');answer.toggle();icon.toggleClass('fa-plus fa-minus')},handle_general_ajax(e){const obj=$(e.target);let ajax_data=obj.data();$(document).data('evo_data',ajax_data);this.E.B.trigger('evo_before_trig_ajax',[obj]);const new_ajax_data=$(document).data('evo_data');new_ajax_data.nn=the_ajax_script.postnonce;$.ajax({beforeSend:()=>{this.E.B.trigger('evo_beforesend_trig_ajax',[obj,new_ajax_data])},type:'POST',url:get_ajax_url('eventon_gen_trig_ajax'),data:new_ajax_data,dataType:'json',success:(return_data)=>{this.E.B.trigger('evo_success_trig_ajax',[obj,new_ajax_data,return_data])},complete:()=>{this.E.B.trigger('evo_complete_trig_ajax',[obj,new_ajax_data])}})},handle_event_anywhere(e){e.preventDefault();const obj=$(e.currentTarget);const data=obj.data('sc');if(data.ev_uxval=='4')return;data.evortl='no';if('id' in data)data.event_id=data.id;data.ux_val='3a';data.ajax_eventtop_show_content=!1;obj.evo_cal_lightbox_trigger(data,obj,!1)},handle_no_events_btn(e){this.E.B.trigger('click_on_no_event_btn',[$(e.currentTarget)])},handle_month_switch(e){e.preventDefault();const CAL=$(e.currentTarget).closest('.ajde_evcal_calendar');let dir=$(e.currentTarget).hasClass('evcal_btn_prev')?'prev':'next';const cal_id=CAL.attr('id');if(CAL.hasClass('evortl')){dir=dir=='next'?'prev':'next'} 77if($(e.currentTarget).closest('.evo_footer_nav').length>0){const BOX=$(e.currentTarget).closest('.evo_footer_nav');const offset=BOX.offset();const scrolltop=$(window).scrollTop();const viewport_top=offset.top-scrolltop;CAL.addClass('nav_from_foot').data('viewport_top',viewport_top)} 78run_cal_ajax(cal_id,dir,'switchmonth')},handle_show_more_events(e){const CAL=$(e.currentTarget).closest('.ajde_evcal_calendar');const SC=CAL.evo_shortcode_data();const OBJ=$(e.currentTarget);if(SC.show_limit_redir!==''){window.location=SC.show_limit_redir;return!1}
79if(SC.show_limit_ajax=='yes'){const CURRENT_PAGED=parseInt(SC.show_limit_paged);CAL.evo_update_cal_sc({F:'show_limit_paged',V:CURRENT_PAGED+1});run_cal_ajax(CAL.attr('id'),'none','paged')}else{const event_count=parseInt(SC.event_count);const eventList=OBJ.parent();const allEvents=eventList.find('.eventon_list_event').length;const currentShowing=eventList.find('.eventon_list_event:visible').length;for(let x=1;x<=event_count;x++){const inde=currentShowing+x-1;eventList.find(`.eventon_list_event:eq(${inde})`).slideDown()} 80if(allEvents>=currentShowing&&allEvents<=(currentShowing+event_count)){OBJ.fadeOut()}}},handle_refresh_eventtop(e,OBJ,nonce){},handle_slidedown_complete(e,event_id,obj,is_slide_down){if(!is_slide_down)return;setTimeout(()=>{const OO=obj.closest('.eventon_list_event');evo_cal_eventcard_interactions(OO,!0)},300)},handle_calendar_month_changed(e,CAL){const SC=CAL.evo_shortcode_data();const B=CAL.find('.evo-gototoday-btn');const O=CAL.find('.evo_j_container');O.find('.evo_j_months a').removeClass('set');O.find(`.evo_j_months a[data-val="${SC.fixed_month}"]`).addClass('set');O.find('.evo_j_years a').removeClass('set');O.find(`.evo_j_years a[data-val="${SC.fixed_year}"]`).addClass('set');if(SC.fixed_month!=B.data('mo')||SC.fixed_year!=B.data('yr')){this.E.B.trigger('show_cal_head_btn',[B])}else{this.E.B.trigger('hide_cal_head_btn',[B])}},handle_gototoday_btn(e){const obj=$(e.currentTarget);const CAL=obj.closest('.ajde_evcal_calendar');const calid=CAL.attr('id');CAL.evo_update_cal_sc({F:'fixed_month',V:obj.data('mo')});CAL.evo_update_cal_sc({F:'fixed_year',V:obj.data('yr')});run_cal_ajax(calid,'none','today');this.E.B.trigger('hide_cal_head_btn',[obj])},handle_refresh_now_cal(e,OBJ,nonce){const section=OBJ.closest('.evo_eventon_live_now_section');const CAL=section.find('.ajde_evcal_calendar').eq(0);const dataA={nonce:evo_general_params.n,other:OBJ.data(),SC:CAL.evo_shortcode_data()};$.ajax({beforeSend:()=>{section.addClass('evoloading')},type:'POST',url:get_ajax_url('eventon_refresh_now_cal'),data:dataA,dataType:'json',success:(data)=>{if(data.status=='good'){section.html(data.html);this.E.B.trigger('evo_refresh_designated_elm',[OBJ,'evo_vir_data'])}},complete:()=>{section.removeClass('evoloading');this.E.B.find('.evo_countdowner').each(function(){$(this).evo_countdown()})}})},handle_cal_head_interactions(){const{B}=this.E;B.on('click.evoCal','.cal_head_btn',(e)=>{const obj=$(e.currentTarget);if(obj.hasClass('vis')){this.E.B.trigger('hide_cal_head_btn',[obj])}else{this.E.B.trigger('show_cal_head_btn',[obj])}});B.on('evo_cal_header_btn_clicked',function(event,O,CAL){var SC=CAL.evo_shortcode_data();if(evo_general_params.cal.search_openoninit)return;if(O.hasClass('evo-search')){if(O.hasClass('vis')){CAL.find('.evo_search_bar').show(1,function(){$(this).find('input').focus()})}else{CAL.find('.evo_search_bar').hide()}} 81if(O.hasClass('evo-sort-btn')||O.hasClass('evo-filter-btn')){CAL.find('.evo_search_bar').hide()}})},handle_show_cal_head_btn(e,obj){if(!obj.hasClass('evo-gototoday-btn')){obj.siblings(':not(.evo-gototoday-btn)').removeClass('show vis')} 82obj.addClass('show vis');const CAL=obj.closest('.ajde_evcal_calendar');this.E.B.trigger('evo_cal_header_btn_clicked',[obj,CAL,'show'])},handle_hide_cal_head_btn(e,obj){const CAL=obj.closest('.ajde_evcal_calendar');obj.removeClass('show vis');this.E.B.trigger('evo_cal_header_btn_clicked',[obj,CAL,'hide'])},handle_tile_box_click(e){e.preventDefault();e.stopPropagation();$(e.currentTarget).find('.desc_trig').trigger('click')},handle_desc_trig(e){e.preventDefault();const $this=$(e.currentTarget);const $eventBox=$this.closest('.eventon_list_event');const $cal=$this.closest('.evo_lightbox').data('cal_id')?$('#'+$this.closest('.evo_lightbox').data('cal_id')):$this.closest('.ajde_evcal_calendar');const SC=$cal.evo_shortcode_data();const ux_val=$cal.evo_cal_event_get_uxval(SC,$this);const event_id=$eventBox.data('event_id');const exlk=$this.data('exlk');const isSingleEventBox=$this.closest('.eventon_single_event').length>0&&$cal.find('.evo-data').data('exturl');const actions={'3':()=>this.open_lightbox($this,$cal,SC,event_id,$eventBox,ux_val),'3a':()=>this.open_lightbox($this,$cal,SC,event_id,$eventBox,ux_val),'4':()=>this.open_url($this,$this.attr('href')||$this.parent().siblings('.evo_event_schema').find('a').attr('href'),'_self'),'4a':()=>this.open_url($this,$this.attr('href')||$this.parent().siblings('.evo_event_schema').find('a').attr('href'),'_blank'),'2':()=>this.handle_external_link($this,isSingleEventBox),'X':()=>!1,'none':()=>!1,'default':()=>exlk==='1'?this.handle_external_link($this,isSingleEventBox):this.slide_down_event_card($this,$eventBox,$cal,SC,event_id)};return(actions[ux_val]||actions['default'])()}
82,open_lightbox($trigger,$cal,SC,event_id,$eventBox,ux_val){const repeat_interval=parseInt($eventBox.data('ri'))||0;const etttc_class=$cal.attr('class')?.split(' ').find(cls=>cls.startsWith('etttc_'))||'';const new_SC_data={...SC,repeat_interval,event_id,ux_val,evortl:$trigger.closest('.eventon_events_list').hasClass('evortl')?'yes':'no',ajax_eventtop_show_content:!0,additional_class:etttc_class};$cal.evo_cal_lightbox_trigger(new_SC_data,$trigger,$cal);return!1},open_url($this,url,target){target=$this.attr('target')==='_blank'?'_blank':target;if(url)window.open(url,target);return target==='_blank'},handle_external_link($trigger,isSingleEventBox){if(isSingleEventBox)return!1;const url=$trigger.attr('href');if(url){window.open(url,$trigger.attr('target')==='_blank'?'_blank':'_self')} 83return!!url},slide_down_event_card($trigger,$eventBox,$cal,SC,event_id){const $content=$eventBox.find('.event_description');const isOpen=$content.hasClass('open');if(SC&&SC.accord==='yes'){$cal.find('.eventon_list_event').removeClass('open');
83$cal.find('.event_description').slideUp().removeClass('open')} 84$eventBox.toggleClass('open',!isOpen);$content[isOpen?'slideUp':'slideDown']().toggleClass('open',!isOpen);if($eventBox.find('.evo_metarow_gmap').length){$eventBox.find('.evo_metarow_gmap').evo_load_gmap({trigger_point:'slideDownCard'})} 85if($trigger.data('runjs')){this.E.B.trigger('evo_load_single_event_content',[event_id,$trigger])} 86this.E.B.trigger('evo_slidedown_eventcard_complete',[event_id,$trigger,!isOpen]);return!1}} 87EVO_Listeners.init()} 88function EVO_Interactions(){const interactions_class={E:{B:$('body')},run(){if(D.listenInt)return;D.listenInt=!0;const{B}=this.E;this.evoLightboxEnd();this.evocardNavTrig();this.evoMapExpandTrig();this.handle_lightbox_processed();this.handle_calendar_interactions();this.handle_global_listners();this.handle_tabs();this.handle_aria_population();this.handle_events_list_trig()},handle_events_list_trig(){this.E.B.on('evo_ajax_success_evo_new_eventslist_trig',function(event,OO,data,el){const $el=$(el);$el.siblings('.evo_trigger_ajax_run').removeClass('evofwb evobgclg6 ').addClass('evobgct');$el.addClass('evofwb evobgclg6').removeClass('evobgct')})},handle_aria_population(){const chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';const gen=()=>Array.from({length:9},()=>chars[Math.floor(Math.random()*62)]).join('');const used=new Set();$('.evo_aria_ready').each(function(){const $label=$(this);let $unique_label=$label.text().trim();const $i=$label.siblings('.evo_aria_ready_match').first();if(!$i.length)return;let id;do{id=gen()}while(used.has(id));used.add(id);$unique_label=$unique_label.replace(/\[[^\]]*\]/,'['+id+']');$label.html($unique_label);$i.attr('aria-label',$unique_label);$(this).attr('for',id);$i.attr('id',id).removeAttr('aria-label')})},evoLightboxEnd(){this.E.B.on('evolightbox_end',(event,LB,CAL)=>{setTimeout(()=>{LB.find('.eventon_list_event').each(function(){evo_cal_eventcard_interactions($(this),!0)});_evo_run_eventcard_map_load();LB.evo_cal_localize_time();this.handle_aria_population()},1000)});this.E.B.on('evolightbox_end',(e,LB,CAL,OO)=>{if(!evo_general_params.cal.lbnav)return;if(evo_general_params.cal.lbnav==='no')return;if(OO===undefined||!('other_data' in OO))return;const event=$(OO.other_data.obj).closest('.event');const calId=(CAL?CAL.attr('id'):'');const buttons=[{dir:'prev',icon:'left',sibling:event.prev('.event')},{dir:'next',icon:'right',sibling:event.next('.event')}].filter(b=>b.sibling.length).map(b=>` 89 <div class='evocard_lb_navs'> 90 <button class='evocard_nav_trig ${b.dir} evoposa evocurp evohoop7 evobr30 evobgcw evodfx evofxjcc evofxaic evo_transit_all evoboxbb' data-id='${b.sibling.attr('id')}' data-cid='${calId}'> 91 <i class='fa fa-chevron-${b.icon}'></i> 92 </button> 93 </div> 94 `).join('');LB.find('.evolb_box').append(buttons);setTimeout(()=>LB.find('.evocard_nav_trig').addClass('show'),500)})},evocardNavTrig(){this.E.B.on('click','.evocard_nav_trig',function(e){e.preventDefault();const $el=$(e.currentTarget);const CAL=$('#'+$el.data('cid'));const SC=CAL.evo_shortcode_data();const eventId=$el.data('id').split('_')[1];const newEvent=CAL.find(`#${$el.data('id')}`);const newEventTrigger=newEvent.find('.desc_trig');const LB=$el.closest('.evo_lightbox');LB.find('.evocard_nav_trig').fadeOut().addClass('old');setTimeout(()=>LB.find('.evocard_lb_navs').has('.old').remove(),500);LB.evo_lightbox_show_open_animation({animation_type:'saving'});const updatedSC={...SC,repeat_interval:parseInt(newEvent.data('ri')),ux_val:CAL.evo_cal_event_get_uxval(SC,newEventTrigger),event_id:eventId,ajax_eventtop_show_content:!0,evortl:newEvent.find('.eventon_events_list').hasClass('evortl')?'yes':'no',additional_class:CAL.attr('class').match(/etttc_\w+/)?.[0]||'',};const newLbClass="evo_eventcard_"+eventId;LB.removeClass(LB.data('lbc')).addClass(newLbClass).data('lbc',newLbClass);setTimeout(()=>CAL.evo_cal_lightbox_trigger(updatedSC,newEventTrigger,CAL,LB),1000)})},evoMapExpandTrig(){this.E.B.on('click','.evo_map_expand_trig',function(e){e.preventDefault();const $gmapDiv=$(this).closest('.evo_map').find('.evo_metarow_gmap');const mapID=$gmapDiv.attr('id')+'_exp';const $newDiv=$('<div id="'+mapID+'" class="evo_lb_map evobr15" style="min-height:calc(100vh - 120px);"></div>');const locationAdd=$gmapDiv.data('address');const locationName=$gmapDiv.data('name');const extra=`<div class='evodfx evofxdrr evofxaic evogap10 evomarr50'> 95 <input id="user-address-${mapID}" type="text" placeholder="Enter starting address"/> 96 <button id="get-directions-${mapID}" class='evo_nonbtn'><i class='fa fa-circle-arrow-right'></i></button> 97 <i class='fa fa-route evofz24i evocurp evoop5 evohoop7'></i> 98 <button class='evo_nonbtn evoff_2 evocurp evohoop7 evoop5'><i class='fa fa-calendar evomarr10 evofz24i'></i>More Events</button> 99 </div>`;const $topDiv=`<div class='evodfx evofxdrr evogap10 evofxjcsb evofxaic evomarb10'> 100 <div class='evodfx evofxdrr evofxaic evogap10'> 101 <p class='evoff_1i evomar0i evofz18i'>${locationName}</p> 102 <p class='evomar0i evofz14i'>${locationAdd}</p> 103 </div> 104 </div>`;const $botDiv=``;$.each($gmapDiv.data(),function(key,value){$newDiv.data(key,value).attr('data-'+key,value)});const calID=$(this).closest('.ajde_evcal_calendar').attr('id');$(this).evo_lightbox_open({uid:'evo_map_expand',calid:calID,lbdata:{class:'evo_map_expand',content:$topDiv+$newDiv[0].outerHTML+$botDiv}})})},handle_lightbox_processed(){this.E.B.on('evo_lightbox_processed',function(e,OO,LB){if(OO.uid=='evo_map_expand'){setTimeout(function(){LB.find('.evo_lb_map').evo_load_gmap({cal:$('body').find('#'+OO.calid)})},500)}}).on('evo_ajax_success_evo_open_eventcard_lightbox',function(e,OO,data,el){setTimeout(function(){LB.find('.evcal_gmaps').evo_load_gmap({cal:$('body').find('#'+OO.d.calid)})},500)})},handle_calendar_interactions(){const{B}=this.E;B.find('.ajde_evcal_calendar').each((index,calendar)=>{const $calendar=$(calendar);const $SC=$calendar.evo_shortcode_data();if($calendar.hasClass('bub')){$calendar.on('mouseover.evoCal','.eventon_list_event',(e)=>{const $event=$(e.currentTarget);const $list=$event.closest('.eventon_events_list');const title=$event.find('.evoet_dayblock').data('bub');const position=$event.position();$list.append(`<span class="evo_bub_box">${title}</span>`);const $bubble=$list.find('.evo_bub_box');let left=position.left;let top=position.top-$bubble.height()-30;
104const listWidth=$list.width();const totalWidth=position.left+$bubble.width()+$event.width();if(totalWidth>listWidth){left=position.left-$bubble.width()+$event.width()-20} 105$bubble.css({top,left}).addClass('show')}).on('mouseout.evoCal','.eventon_list_event',(e)=>{$(e.currentTarget).closest('.eventon_events_list').find('.evo_bub_box').remove()})} 106$calendar.on('click.evoCal','.evo-jumper-btn',(e)=>{const $this=$(e.currentTarget);$this.closest('.calendar_header').find('.evo_j_container').toggle();$this.toggleClass('vis')});$calendar.on('click','.evo_j_dates a',function(){var val=$(this).attr('data-val'),type=$(this).parent().parent().attr('data-val'),CAL=$calendar,SC=CAL.evo_shortcode_data();if(type=='m'){CAL.evo_update_cal_sc({F:'fixed_month',V:val})}else{CAL.evo_update_cal_sc({F:'fixed_year',V:val})} 107run_cal_ajax(CAL.attr('id'),'none','jumper');if(SC.expj=='no')container.delay(2000).slideUp();});$calendar.on('click','.evo_vSW',function(){const O=elm=$(this);var DATA=O.data('d');if(O.hasClass('focusX'))return;CAL=$calendar;CAL.find('.evoADDS').hide().delay(200).queue(function(){$(this).remove()});var SC=$SC;const cal_tz=CAL.evo_get_global({S1:'cal_def',S2:'cal_tz'});var reload_cal_data=!1;_M1=moment().set({'year':SC.fixed_year,'month':(SC.fixed_month-1),'date':SC.fixed_day}).tz(cal_tz);_M1.set('date',1).startOf('date');_start=_M1.unix();_M1.endOf('month').endOf('date');_end=_M1.unix();var DD=new Date(SC.fixed_year,SC.fixed_month-1,SC.fixed_day,0,0,0);DD.setUTCHours(0);DD.setUTCFullYear(SC.fixed_year);DD.setUTCMonth(SC.fixed_month-1);DD.setUTCDate(SC.fixed_day);O.siblings('.evo_vSW').removeClass('focusX select');O.addClass('focusX select');CAL.find('.evo-viewswitcher-btn em').html(O.html());O.closest('.evo_cal_view_switcher').removeClass('show');if(DATA&&'ux_val' in DATA)CAL.evo_update_cal_sc({F:'ux_val',V:DATA.ux_val});O.siblings('.evo_vSW').each(function(){var _d=$(this).data('d');if(_d&&'c' in _d)CAL.removeClass(_d.c);});if(DATA&&'c' in DATA)CAL.addClass(DATA.c);CAL.find('.evoet_dayblock span').hide();CAL.find('.evoet_dayblock span.evo_start').show();CAL.find('.evoet_dayblock span.evo_end').show();CAL.find('.evoet_dayblock span.evo_end.only_time').hide();if(SC.focus_start_date_range!=_start&&SC.focus_end_date_range!=_end){reload_cal_data=!0;CAL.evo_update_cal_sc({F:'focus_start_date_range',V:_start});CAL.evo_update_cal_sc({F:'focus_end_date_range',V:_end})} 108if('el_visibility' in DATA){el_visibility=DATA.el_visibility;if(el_visibility=='show_events')CAL.find('.eventon_list_event').show();if(el_visibility=='hide_events')CAL.find('.eventon_list_event').hide();if(el_visibility=='hide_list')CAL.find('#evcal_list').addClass('evo_hide').hide();if(el_visibility=='show_all'){CAL.find('#evcal_list').removeClass('evo_hide').show();CAL.find('.eventon_list_event').show()}} 109CAL.evo_update_cal_sc({F:'calendar_type',V:'default'});B.trigger('evo_vSW_clicked_before_ajax',[O,CAL,DD,reload_cal_data]);if(reload_cal_data){B.trigger('evo_run_cal_ajax',[CAL.attr('id'),'none','filering'])}else{B.trigger('evo_vSW_clicked_noajax',[O,CAL])} 110B.trigger('evo_vSW_clicked',[O,CAL,DD,reload_cal_data]);if(elm.hasClass('evoti')){CAL.find('.eventon_list_event').each(function(){color=$(this).data('colr');$(this).find('a.desc_trig').css({'background-color':color})});CAL.addClass('color').removeClass('sev').data('oC','sev')}else{if(CAL.hasClass('esty_0')||CAL.hasClass('esty_4')){CAL.removeClass('color');CAL.find('.eventon_list_event').each(function(){$(this).find('a.desc_trig').css({'background-color':''})});if(CAL.data('oC')!==undefined)CAL.addClass(CAL.data('oC'));}}})})},handle_global_listners(){const{B}=this.E;B.on('evo_trigger_cal_reset',function(event,cal){cal_resets(cal)});B.on('click',function(event){BODY.trigger('clicked_on_page',[$(event.target),event])});B.find('.evo_location_map').each(function(){$(this).evo_load_gmap()});B.on('evo_ajax_complete_eventon_get_tax_card_content',function(event,OO,el){parent=$(el);setTimeout(function(){if(parent.find('.evo_trigger_map').length>0){map_id_elm=parent.find('.evo_trigger_map');map_id_elm.evo_load_gmap({check_trigger:!0});console.log('Loading Event Map')} 111parent.find('.evo_countdowner').each(function(){$(this).evo_countdown()});CAL=parent.find('.ajde_evcal_calendar');
111if(CAL.length)CAL.evo_cal_filtering();},500)})},handle_tabs(){const{B}=this.E;B.find('.evo_tab_container').each(function(){$(this).find('.evo_tab_section').each(function(){if(!$(this).hasClass('visible')){$(this).addClass('hidden')}})});B.on('click','.evo_tab',function(){tab=$(this).data('tab');tabsection=$(this).closest('.evo_tab_view').find('.evo_tab_container');tabsection.find('.evo_tab_section').addClass('hidden').removeClass('visible');tabsection.find('.'+tab).addClass('visible').removeClass('hidden');$(this).parent().find('.evo_tab').removeClass('selected');$(this).addClass('selected');B.trigger('evo_tabs_newtab_selected',[$(this)])})},};interactions_class.run()} 112const EVO={E:{B:$('body')},init(){this.Tools.init();this.Interactions.init();this.Virtual_Events.init();this.Search.init();this.Elements_Interactions.init();this.setupGlobalListeners();this.schedule_view();this.ajax_triggers()},setupGlobalListeners(){const{B}=this.E;$(document).on('heartbeat-send',(e,data)=>{if(this.BODY&&this.BODY.find('.evo_refresh_on_heartbeat').length){this.BODY.find('.evo_refresh_on_heartbeat').each((i,el)=>{if($(el).closest('.eventon_list_event').length<=0)return;if($(el).data('refresh')!==undefined&&!$(el).data('refresh'))return;data.evo_data=EVO.Tools.build_elm_refresh_data($(el))})}});$(document).on('heartbeat-tick',(e,data)=>{EVO.Tools.evo_apply_refresh_content(data)});B.on('evo_refresh_elements',(e,send_data)=>{if(!send_data||send_data.length<=0)return;send_data.nonce=evo_general_params.n;$.ajax({beforeSend:()=>{if('evo_data' in send_data){$.each(send_data.evo_data,(ekey,eclasses)=>{$.each(eclasses,(classnm,val)=>{if(val&&'loader' in val&&val.loader&&'loader_class' in val){$('#event_'+ekey).find('.'+val.loader_class).addClass('evoloading')}})})}},type:'POST',url:EVO.Tools.get_ajax_url('eventon_refresh_elm'),data:send_data,dataType:'json',success:(data)=>{if(data.status==='good'){EVO.Tools.evo_apply_refresh_content(data)}},complete:()=>{if('evo_data' in send_data){$.each(send_data.evo_data,(ekey,eclasses)=>{$.each(eclasses,(classnm,val)=>{if(val&&'loader' in val&&val.loader&&'loader_class' in val){$('#event_'+ekey).find('.'+val.loader_class).removeClass('evoloading')}})})}}})});B.on('evo_refresh_designated_elm',function(ee,elm,elm_class,extra_data){const event=$(elm).closest('.eventon_list_event');if(!event||event.find('.'+elm_class).length===0)return;const refresh_elm=event.find('.'+elm_class);let send_data={};send_data.evo_data=EVO.Tools.build_elm_refresh_data(refresh_elm,extra_data);B.trigger('evo_refresh_elements',[send_data])})},schedule_view(){EVO.E.B.on('evo_init_ajax_success_each_cal',function(event,data,i,v,CAL){$('body').find('.ajde_evcal_calendar.evoSV').each(function(){EVO.Tools.evosv_populate($(this))})}).on('evo_main_ajax_before_fnc',function(event,CAL,ajaxtype,data_arg){SC=data_arg.shortcode;if(SC.calendar_type=='schedule'){CAL.find('#evcal_list').removeClass('evo_hide').show()}}).on('evo_main_ajax_success',function(event,CAL,ajaxtype,data,data_arg){SC=data_arg.shortcode;if(SC.calendar_type=='schedule'){CAL.find('#evcal_list').addClass('evo_hide').hide()}}).on('evo_main_ajax_complete',function(event,CAL,ajaxtype,data,data_arg){SC=data_arg.shortcode;if(SC.calendar_type=='schedule'){EVO.Tools.evosv_populate(CAL)}}).on('evo_vSW_clicked_before_ajax',function(event,O,CAL,DD,reload_cal_data){if(!(O.hasClass('evosv')))return;var SC=CAL.evo_shortcode_data();CAL.evo_update_cal_sc({F:'calendar_type',V:'schedule'});CAL.evo_update_cal_sc({F:'fixed_day',V:SC.fixed_day})}).on('evo_vSW_clicked',function(event,OBJ,CAL,DD,reload_cal_data){if(!(OBJ.hasClass('evosv')))return;CAL.evo_update_cal_sc({F:'calendar_type',V:'schedule'})}).on('evo_vSW_clicked_noajax',function(event,OBJ,CAL,DD,reload_cal_data){if(!(OBJ.hasClass('evosv')))return;EVO.Tools.evosv_populate(CAL)}).on('click','.evosv_items',function(event,elm){O=$(this);CAL=O.closest('.ajde_evcal_calendar');var e_cl='event_'+O.data('id');const clicked_event_uxval=O.data('uxval');if(clicked_event_uxval=='1'){CAL.find('.'+e_cl).find('.desc_trig').data('ux_val',3)} 113CAL.find('.'+e_cl).find('.desc_trig').trigger('click')})},Interactions:{init(){const{B}=EVO.E},},Search:{init(){const{B}=EVO.E;B.on('click.evoSearch','.evo_do_search',(event)=>{EVO.Tools.do_search_box($(event.target))});B.on('keypress.evoSearch','.evo_search_field',(ev)=>{if((ev.keyCode||ev.which)===13){EVO.Tools.do_search_box($(ev.target).siblings('.evo_do_search'))}});B.on('keypress.evoSearch','.evo_search_bar_in_field',(ev)=>{if((ev.keyCode||ev.which)===13){EVO.Tools.search_within_calendar($(ev.target))}});B.on('click','.evosr_search_clear_btn',function(e){e.preventDefault();EVO.Tools.reset_search($(this).siblings('input'),$(this))});B.on('evo_main_ajax_complete',function(e,CAL,ajaxtype,responseJSON,data){if(ajaxtype==='search'&&data.shortcode.s){CAL.find('.evosr_search_clear_btn').addClass('show')}});B.on({'click':function(){EVO.Tools.search_within_calendar($(this).siblings('input'))},'keyup':function(e){const $input=$(this),$clearBtn=$input.siblings('.evosr_search_clear_btn');if(e.which===27){e.preventDefault();EVO.Tools.reset_search($input,$clearBtn);return} 114$clearBtn.toggleClass('show',$input.val().trim()!=='')}},'.evo_search_bar_in_field, .evosr_search_btn')}},Elements_Interactions:{init(){const{B}=EVO.E;B.on('click','.evo_qty_change',function(event){var OBJ=$(this);var QTY=oQTY=parseInt(OBJ.siblings('em').html());var MAX=OBJ.siblings('input').attr('max');var BOX=OBJ.closest('.evo_purchase_box');var pfd=BOX.find('.evo_purchase_box_data').data('pfd');(OBJ.hasClass('plu'))?QTY++:QTY--;QTY=(QTY==0)?1:QTY;QTY=(MAX!=''&&QTY>MAX)?MAX:QTY;var sin_price=OBJ.parent().data('p');new_price=sin_price*QTY;new_price=EVO.Tools.get_format_price(new_price,pfd);BOX.find('.total .value').html(new_price);OBJ.siblings('em').html(QTY);OBJ.siblings('input').val(QTY);B.trigger('evo_qty_changed',[QTY,oQTY,new_price,OBJ])})}},Virtual_Events:{init(){const{B}=EVO.E;this.jitsi();B.on('click','.evo_vir_signin_btn',function(){let extra_data={};extra_data.signin='y';extra_data.refresh_main='y';extra_data.loader=!0;extra_data.loader_class='evo_vir_main_content';B.trigger('evo_refresh_designated_elm',[$(this),'evo_vir_data',extra_data])})},jitsi(mod_refresh){const{B}=EVO.E;const domain='meet.jit.si';let api=[];B.find('.evo-jitsi-wrapper').each(function(index,element){const O=$(this);const eventO=O.closest('.eventon_list_event');if(mod_refresh!=''&&mod_refresh=='mod_refresh_no'&&O.hasClass('mod'))return;const roomName=$(element).data('n');const width=$(element).data('width');const height=$(element).data('height');const audioMuted=$(element).data('audiomute');const videoMuted=$(element).data('videomute');const screenSharing=$(element).data('screen');const myOverwrite={'TOOLBAR_BUTTONS':$(element).data('d'),"DEFAULT_BACKGROUND":'#494a4e','MOBILE_APP_PROMO':!1,'SETTINGS_SECTIONS':['devices','language','profile','calendar'],};const options={roomName,width,height,parentNode:element,configOverwrite:{startWithAudioMuted:audio
114Muted,startWithVideoMuted:videoMuted,startScreenSharing:!1,disableInviteFunctions:!1,},interfaceConfigOverwrite:myOverwrite,};api=new JitsiMeetExternalAPI(domain,options);api.addEventListener('participantRoleChanged',function(event){if(event.role==="moderator"){this._record_moderator_join('yes',eventO.data('event_id'),eventO.data('ri'))} 115const pp=jQuery(element).data('p');if(event.role==="moderator"&&pp!='__'){ppp=pp.replace('_','');api.executeCommand('password',ppp)}});api.addEventListener('videoConferenceLeft',function(event){if(eventO.find('.evo_vir_data').data('ismod')=='y'){this._record_moderator_join('no',eventO.data('event_id'),eventO.data('ri'));O.siblings('.evo_vir_mod_left').show();O.hide()}})})},_record_moderator_join(joined,eid,ri){var data_arg={'action':'eventon_record_mod_joined','eid':eid,'ri':ri,'joined':joined,'nonce':evo_general_params.n,};$.ajax({beforeSend:function(){},type:'POST',url:ajax_url,data:data_arg,dataType:'json',success:function(data){}})}},ajax_triggers(){const{B}=EVO.E;B.on('evo_before_trig_ajax',function(event,obj){if(!obj.hasClass('evo_trig_vir_end'))return;var new_ajax_data=$(document).data('evo_data');new_ajax_data.fnct='mark_event_ended';$(document).data('evo_data',new_ajax_data)}).on('evo_beforesend_trig_ajax',function(event,obj,new_ajax_data){if(!obj.hasClass('evo_trig_vir_end'))return;obj.closest('.evo_vir_mod_box').addClass('evoloading')}).on('evo_success_trig_ajax',function(event,obj,new_ajax_data,return_data){if(!obj.hasClass('evo_trig_vir_end'))return;if(!('_vir_ended' in return_data))return;extra_data={};extra_data.refresh_main='yy';extra_data.loader=!0;extra_data.loader_class='evo_vir_main_content';B.trigger('evo_refresh_designated_elm',[obj,'evo_vir_data',extra_data])}).on('evo_complete_trig_ajax',function(event,obj,new_ajax_data){if(!obj.hasClass('evo_trig_vir_end'))return;obj.closest('.evo_vir_mod_box').removeClass('evoloading')})},Tools:{init(){const{B}=EVO.E;B.on('evo_ajax_beforesend_evo_get_search_results',(event,OO,el)=>{$(el).find('.evo_search_results_count').hide();$(el).addClass('searching')}).on('evo_ajax_complete_evo_get_search_results',(event,OO,el)=>{$(el).removeClass('searching');EVO_Cal_Body_listeners();EVO_Interactions()}).on('evo_ajax_success_evo_get_search_results',(event,OO,data,el)=>{$(el).find('.evo_search_results').html(data.content);if($(el).find('.no_events').length===0){const Events=$(el).find('.eventon_list_event').length;$(el).find('.evo_search_results_count span').html(Events);$(el).find('.evo_search_results_count').fadeIn();const CAL=$(el).find('.ajde_evcal_calendar');CAL.evo_calendar()}})},do_search_box(OBJ){const{B}=EVO.E;const SearchVal=OBJ.closest('.evosr_search_box').find('input').val();const Evosearch=OBJ.closest('.EVOSR_section');OBJ.closest('.evo_search_entry').find('.evosr_msg').toggle(!SearchVal);if(!SearchVal)return!1;var ajax_results=Evosearch.evo_admin_get_ajax({'ajaxdata':{search:SearchVal,shortcode:Evosearch.find('span.data').data('sc'),nonce:evo_general_params.n},ajax_type:'endpoint',ajax_action:'eventon_search_evo_events',uid:'evo_get_search_results',end:'client',})},search_within_calendar($input){const ev_cal=$input.closest('.ajde_evcal_calendar');ev_cal.evo_update_cal_sc({F:'show_limit_paged',V:'1'});ev_cal.evo_update_cal_sc({F:'s',V:$input.val()});run_cal_ajax(ev_cal.attr('id'),'none','search');return!1},reset_search($input,$clearBtn){const ev_cal=$input.closest('.ajde_evcal_calendar');ev_cal.evo_update_cal_sc({F:'s',V:''});run_cal_ajax(ev_cal.attr('id'),'none','search');$input.val('');$clearBtn.removeClass('show')},get_format_price(price,data){PF=data;totalPrice=price.toFixed(PF.numDec);htmlPrice=totalPrice.toString().replace('.',PF.decSep);if(PF.thoSep.length>0){htmlPrice=EVO.Tools._addThousandSep(htmlPrice,PF.thoSep)} 116if(PF.curPos=='right'){htmlPrice=htmlPrice+PF.currencySymbol}else if(PF.curPos=='right_space'){htmlPrice=htmlPrice+' '+PF.currencySymbol}else if(PF.curPos=='left_space'){htmlPrice=PF.currencySymbol+' '+htmlPrice}else{htmlPrice=PF.currencySymbol+htmlPrice} 117return htmlPrice},_addThousandSep(n,thoSep){var rx=/(\d+)(\d{3})/;
117return String(n).replace(/^\d+/,function(w){while(rx.test(w)){w=w.replace(rx,'$1'+thoSep+'$2')} 118return w})},evo_apply_refresh_content(data){const{B}=EVO.E;if(!('evo_data' in data))return;$.each(data.evo_data,function(eclass,boxes){var vir_data_vals=!1;if('evo_vir_data' in boxes)vir_data_vals=boxes.evo_vir_data.data;B.find('.'+eclass).each(function(){const event_elm=$(this);$.each(boxes,(boxclass,boxdata)=>{if(boxdata=='')return;if(!boxdata.html||event_elm.find('.'+boxclass).length<=0)return;event_elm.find('.'+boxclass).html(boxdata.html)});if(vir_data_vals){if(vir_data_vals&&('vir_type' in vir_data_vals)&&vir_data_vals.vir_type=='jitsi'&&('evo_vir_main_content' in boxes)&&('html' in boxes.evo_vir_main_content)&&boxes.evo_vir_main_content.html!=''){EVO.Virtual_Events.jitsi('mod_refresh_no')} 119$.each(boxes,function(boxclass,boxdata){if(boxdata.data==''||boxdata.data===undefined)return;if(boxdata!==undefined&&vir_data_vals.vir_type=='jitsi'&&vir_data_vals.mod_joined=='left'){boxdata.data.refresh_main='yy'} 120event_elm.find('.'+boxclass).data(boxdata.data)})}})})},build_elm_refresh_data(elm,extra_data){const dataObj={};const event=$(elm).closest('.eventon_list_event');const ekey=event.data('event_id')+'_'+parseInt(event.data('ri'));dataObj[ekey]={};const key2=elm.data('key');dataObj[ekey][key2]=elm.data();if(elm.data('check_awaitmod')){if((event.find('.evo_vir_jitsi_waitmod').length>0))dataObj[ekey][key2].refresh_main='yy';if(event.find('.evo-jitsi-wrapper').length>0&&dataObj[ekey][key2].mod_joined!=='left') 121dataObj[ekey][key2].refresh_main=''} 122if(extra_data&&extra_data!==undefined){$.each(extra_data,(index,val)=>{dataObj[ekey][key2][index]=val})} 123return dataObj},evosv_populate(CAL){var SC=CAL.evo_shortcode_data();OD=CAL.evo_get_OD();var cal_events=CAL.find('.eventon_list_event');days_in_month=CAL.evo_day_in_month({M:SC.fixed_month,Y:SC.fixed_year});time_format=CAL.evo_get_global({S1:'cal_def',S2:'wp_time_format'});_txt=CAL.evo_get_txt({V:'no_events'});_txt2=CAL.evo_get_txt({V:'until'});_txt3=CAL.evo_get_txt({V:'from'});_txt4=CAL.evo_get_txt({V:'all_day'});CAL.find('#evcal_list').addClass('evo_hide');var has_events=!1;var html='';var template_data={};var processed_ids={};var SU=parseInt(SC.focus_start_date_range);var EU='';var M=moment.unix(SU).tz(OD.cal_tz);for(var x=1;x<=days_in_month;x++){var month_name=CAL.evo_get_dms_vals({V:(M.get('month')+1),type:'m3'});var day_name=CAL.evo_get_dms_vals({V:M.day(),type:'d3'});SU=M.unix();M.endOf('day');EU=M.unix();M.startOf('day');var events={};cal_events.each(function(index,elm){ED=$(elm).evo_cal_get_basic_eventdata();if(!ED)return;processed_ids[ED.uID]=ED.uID;ESU=ED.unix_start;EEU=ED.unix_end;var inrange=CAL.evo_is_in_range({'S':SU,'E':EU,'start':ESU,'end':EEU});if(!inrange)return;has_events=!0;m=moment.unix(ESU).tz(OD.cal_tz);me=moment.unix(end).tz(OD.cal_tz);var all_day=$(elm).find('a.desc_trig').hasClass('allday')?true:!1;if(all_day){ED.t=_txt4}else{if(ESU<=SU){if(EEU>=EU)ED.t=_txt4;if(EEU<EU)ED.t=_txt2+' '+me.format(time_format);}else if(ESU>SU){if(EEU>=EU)ED.t=_txt3+' '+m.format(time_format);if(EEU<EU)ED.t=m.format(time_format)+' - '+me.format(time_format);}} 124if(ED.hide_et=='y')ED.t=m.format(time_format);events[index]=ED});if(events&&Object.keys(events).length>0){template_data[x]={};template_data[x].date='<b>'+M.get('date')+'</b> '+month_name+' '+day_name;template_data[x].d=M.format('YYYY-M-D');template_data[x].SU=SU;template_data[x].events={} 125$.each(events,function(index,item){location_data=organizer_data=event_tags='';if(SC.show_location=='yes'&&'location' in item){location_data="<div class='evosv_subdata evosv_location'><i class='fa fa-location-pin marr5'></i>"+item.location+"</div>"} 126if(SC.show_organizer=='yes'&&'organizer' in item){organizer_data="<div class='evosv_subdata evosv_org'>"+item.organizer+"</div>"} 127if(SC.show_tags=='yes'&&'event_tags' in item){event_tags="<div class='evosv_subdata evosv_tags'>";$.each(item.event_tags,function(index,val){event_tags+="<span class='evosv_tag "+index+"'>"+val+"</span>"});event_tags+="</div>"} 128template_data[x].events[item.uID]={'time':item.t,'ux_val':item.ux_val,'title':item.event_title,'color':item.hex_color,'tag':event_tags,'loc':location_data,'org':organizer_data,'i':item}})} 129M.add(1,'d')} 130var html_="<div class='evosv_grid evoADDS'>";
130if(!has_events){no_event_content=CAL.evo_get_global({S1:'html',S2:'no_events'});html_+="<div class='date_row'><div class='row no_events evosv'>"+no_event_content+"</div></div>"}else{html_+=CAL.evo_HB_process_template({TD:template_data,part:'evosv_grid'})} 131html_+='</div>';if(CAL.find('.evosv_grid').length>0){CAL.find('.evosv_grid').replaceWith(html_)}else{ELM=CAL.find('#eventon_loadbar_section');ELM.after(html_)}},get_ajax_url(action){var ajax_type='endpoint';if('ajax_method' in evo_general_params)ajax_type=evo_general_params.ajax_method;return EVO.E.B.evo_get_ajax_url({a:action,type:ajax_type})},}};EVO.init();function cal_resets(calOBJ){calargs=$(calOBJ).find('.cal_arguments');calargs.attr('data-show_limit_paged',1);calOBJ.evo_update_cal_sc({F:'show_limit_paged',V:'1'})} 132if($('body').find('.evo_layout_changer').length>0){$('body').find('.evo_layout_changer').each(function(item){if($(this).parent().hasClass('boxy')){$(this).find('.fa-th-large').addClass('on')}else{$(this).find('.fa-reorder').addClass('on')}});$('.evo_layout_changer').on('click','i',function(){const CAL=$(this).closest('.ajde_evcal_calendar');TYPE=$(this).data('type');$(this).parent().find('i').removeClass('on');$(this).addClass('on');if(TYPE=='row'){CAL.attr('class','ajde_evcal_calendar');CAL.find('.eventon_list_event').each(function(){$(this).find('.desc_trig').css('background-color','');$(this).find('.desc_trig_outter').css('background-color','')})}else if(TYPE=='bar'){CAL.attr('class','ajde_evcal_calendar box_2 sev cev');CAL.find('.eventon_list_event').each(function(){const color=$(this).data('colr');$(this).find('.desc_trig').css('background-color',color)})}else{CAL.find('.eventon_list_event').each(function(){const color=$(this).data('colr');$(this).find('.desc_trig_outter').css('background-color',color)});CAL.attr('class','ajde_evcal_calendar boxy boxstyle0 box_2')}})} 133$('body').on('click','.evo_sort_option',function(){O=$(this);var CAL=O.closest('.ajde_evcal_calendar');var sort_by=O.data('val');CAL.evo_update_cal_sc({F:'sort_by',V:sort_by});O.parent().find('p').removeClass('select');O.addClass('select');run_cal_ajax(CAL.attr('id'),'none','sorting')});BODY.on('clicked_on_page',function(ev,obj,ee){if(!(obj.hasClass('eventon_filter'))&&!(obj.hasClass('filtering_set_val'))&&!(obj.hasClass('evo_filter_val'))&&!(obj.hasClass('evofp_filter_search_i'))&&obj.parents('.filtering_set_val').length==0){BODY.find('.evo_filter_menu').html('');BODY.find('.evo_filter_tax_box.vis').removeClass('vis')}});$.fn.evo_cal_filtering=function(O){var opt=$.extend({},O);var el=this;const sortbox=el.find('.eventon_sorting_section'),filter_container=sortbox.find('.evo_filter_container_in'),filter_line=sortbox.find('.eventon_filter_line'),fmenu=sortbox.find('.evo_filter_menu'),all_cal_filter_data=el.evo_get_filter_data(),SC=el.evo_shortcode_data();var tterms=[];var init=function(){if(SC==''||SC===null)return;if(el.hasClass('filters_go'))return;el.addClass('filters_go');draw_filter_bar();filter_actions();run_filter_nav_check()} 134var draw_filter_bar=function(){BODY.trigger('evo_filter_before_draw',[el]);html='';$.each(all_cal_filter_data,function(index,value){if(SC&&'fast_filter' in SC&&SC.fast_filter=='yes'&&SC.ff_tax!=''&&SC.ff_tax!==undefined){__t=SC.ff_tax.split(',');if(__t.includes(index))return} 135html+="<div class='eventon_filter evo_filter_tax_box evo_hideshow_st "+index+"' data-tax='"+value.__tax+"' data-filter_type='"+value.__filter_type+"'>";html+="<div class='eventon_filter_selection'>";html+="<p class='filtering_set_val'><i class='fa fa-check'></i> "+value.__name+"<em class='fa fa-caret-down'></em></p>";html+="</div>";html+="</div>"});filter_line.html(html);BODY.trigger('evo_filter_drawn',[el])} 136var filter_actions=function(){el.off('click','.evo-filter-btn');el.on('click','.evo-filter-btn',function(){const CAL=$(this).closest('.ajde_evcal_calendar');BODY.trigger('evo_filter_btn_trig',[CAL,O]);if(CAL.hasClass('fp_lb'))return;if(!($(this).hasClass('vis'))){sortbox.addClass('vis');run_filter_nav_check()}else{sortbox.removeClass('vis')} 137console.log('r')});BODY.on('evo_cal_header_btn_clicked',function(event,O){if(O.hasClass('evo-sort-btn')||O.hasClass('evo-search')){const CAL=O.closest('.ajde_evcal_calendar');CAL.find('.eventon_sorting_section').removeClass('vis')}});el.on('click','.filtering_set_val',function(){O=$(this);const filterbox=O.closest('.evo_filter_tax_box'),filter_tax=filterbox.data('tax');selected_terms=el.evo_cal_get_filter_sub_data(filter_tax,'tterms');el.find('.eventon_sort_line').hide();if(filterbox.hasClass('vis')){filterbox.removeClass('vis');close_filter_menu();return} 138if(fmenu.data('tax')==filter_tax){filterbox.removeClass('vis');close_filter_menu();return}else{sortbox.find('.filtering_set_val').removeClass('show');sortbox.find('.evo_filter_tax_box').removeClass('vis');filterbox.addClass('vis')} 139var filter_item_data=all_cal_filter_data[filter_tax].__list;var __menu_html='<div class="evo_filter_inside evo_filter_menu_in" data-tax="'+filter_tax+'"><div class="eventon_filter_dropdown">';var sorted_data=Object.values(filter_item_data);sorted_data.sort(function(a,b){return a[1].localeCompare(b[1],'en',{numeric:!0,sensitivity:'base'})});var menuInside='';var AllHtml='';$.each(sorted_data,function(index,val){var icon_html='';var _class=filter_tax+'_'+val[0]+' '+val[0];if(val[3]!==undefined&&val[3]!=''&&val[3]=='n')_class+=' np';if(selected_terms=='all')_class+=' select';if(selected_terms.includes(val[0]))_class+=' select';
139if(val[2]!=''&&val[2]!==undefined){_class+=' has_icon';icon_html=val[2]} 140var _tax_color='';if(val[4]!=''&&val[4]!==undefined){_tax_color=`style='background-color:#${val[4]};'`} 141const itemHTML=`<p class="evo_filter_val ${_class}" data-id="${val[0]}" ${_tax_color}>${icon_html} ${val[1]}</p>`;if(val[0]=='all'){AllHtml=itemHTML}else{menuInside+=itemHTML}});__menu_html+=AllHtml+menuInside+"</div></div>";BODY.trigger('evo_filter_menu_html_ready',[el,__menu_html,O,filterbox,filter_tax]);if(el.hasClass('fp_side'))return;const scrolled_width=filter_container.scrollLeft();fmenu.html(__menu_html);BODY.trigger('evo_filter_menu_built',[el,fmenu,filter_tax]);__left_margin=filterbox.position().left+10-scrolled_width;__menu_width=fmenu.find('.evo_filter_inside').width();__cal_left_margin=el.position().left;if(__left_margin+__menu_width+__cal_left_margin>$(window).width()){if((__left_margin+__menu_width)>el.width()){new_left=el.width()-__menu_width-10}else{new_left=(el.width()-__menu_width)/2} 142fmenu.css('left',new_left)}else{fmenu.css('left',__left_margin)}});el.on('click','p.filtering_static_val',function(){BODY.trigger('evo_filter_static_clicked',[el,$(this)])});el.on('click','p.evo_filter_val',function(){var O=$(this);const filter_menuIN=O.closest('.evo_filter_inside'),filter_tax=filter_menuIN.data('tax'),filterbox=sortbox.find('.evo_filter_tax_box.'+filter_tax),all_terms_obj=filter_menuIN.find('p'),new_term_id=O.data('id'),old_terms=el.evo_cal_get_filter_sub_data(filter_tax,'terms');var tterms=el.evo_cal_get_filter_sub_data(filter_tax,'nterms');var new_terms=[];if(SC.filter_type=='select'){if(new_term_id=='all'){if(O.hasClass('select')){all_terms_obj.removeClass('select')}else{all_terms_obj.addClass('select');new_terms.push('all')}}else{filter_menuIN.find('p.all').removeClass('select');O.toggleClass('select');var unselect_count=0;all_terms_obj.each(function(){if($(this).hasClass('select')){new_terms.push($(this).data('id'))}else{if(!$(this).hasClass('all'))unselect_count++}});if(unselect_count==0){filter_menuIN.find('p.all').addClass('select');new_terms.push('all')} 143if(new_terms.length==0&&O.parent().find('p.all').length==0) 144new_terms.push('all');}}else{if(new_term_id=='all'){if(O.hasClass('select')){new_terms.push('NOT-all');all_terms_obj.removeClass('select')}else{all_terms_obj.addClass('select');new_terms.push(new_term_id)}}else{all_terms_obj.removeClass('select');O.addClass('select');new_terms.push(new_term_id)} 145update_filter_data(filter_tax,new_terms);if(tterms==new_terms){close_filter_menu()}else{cal_resets(el);el.evo_update_sc_from_filters();run_cal_ajax(el.attr('id'),'none','filering');close_filter_menu();O.removeClass('show')} 146close_filter_menu();filterbox.removeClass('vis')} 147if(compare_terms(new_terms,tterms)){filterbox.removeClass('chg')}else{filterbox.addClass('chg')} 148if(compare_terms(old_terms,new_terms)){filterbox.removeClass('set')}else{filterbox.addClass('set')} 149var chg_filters=sortbox.find('.evo_filter_tax_box.chg').length;var set_count=sortbox.find('.evo_filter_tax_box.set').length;if(SC.filter_type=='select')(chg_filters>0)?show_apply_btns():hide_apply_btns();if(!(el.hasClass('flhi'))){const filter_btn=el.find('.evo-filter-btn');if(set_count>0){filter_btn.find('em').html(set_count).addClass('o')}else{filter_btn.find('em').removeClass('o')}} 150update_filter_data(filter_tax,new_terms,'tterms');run_filter_nav_check()});el.on('click','.evo_filter_submit',function(){el.evo_filters_update_from_temp(filter_line,el);cal_resets(el);close_filter_menu();sortbox.find('.filtering_set_val').removeClass('show');el.evo_update_sc_from_filters();run_cal_ajax(el.attr('id'),'none','filering');run_filter_nav_check()});el.on('click','.evo_filter_clear',function(){el.find('.evo_filter_tax_box').each(function(){const O=$(this),tax=O.data('tax'),terms=O.data('terms');O.removeClass('set');O.find('.filtering_set_val').removeClass('set show');el.find('.evo-filter-btn em').removeClass('o');close_filter_menu()});$.each(all_cal_filter_data,function(tax,tdata){update_filter_data(tax,tdata.terms)});hide_apply_btns();el.evo_update_sc_from_filters();run_cal_ajax(el.attr('id'),'none','filering');run_filter_nav_check()});el.on('click','.evo_filter_nav',function(){O=$(this);_filter_bar=O.closest('.evo_filter_bar');_filter_container=_filter_bar.find('.evo_filter_container_in');_filter_line_width=_filter_bar.find('.eventon_filter_line')[0].scrollWidth;_filter_container_width=parseInt(_filter_container.width())+0;_leftPos=_filter_container.scrollLeft();_scrollable_legth=_filter_line_width-_filter_container_width;const scroll_length=_filter_container_width/2;if(O.hasClass('evo_filter_r')){_filter_container.animate({scrollLeft:_leftPos+scroll_length},200);_filter_bar.find('.evo_filter_l').addClass('vis')}else{sleft=(_leftPos-scroll_length<scroll_length)?0:_leftPos-scroll_length;_filter_container.animate({scrollLeft:sleft},200)} 151close_filter_menu();setTimeout(function(){var _leftPos=_filter_container.scrollLeft();if(_leftPos<10){_filter_bar.find('.evo_filter_l').removeClass('vis');_filter_bar.find('.evo_filter_r').addClass('vis')} 152if(_leftPos>(_scrollable_legth-5)){_filter_bar.find('.evo_filter_r').removeClass('vis')}},200)});$(window).on('resize',function(){run_filter_nav_check()})}
153var compare_terms=function(a,b){if(a===b)return!0;if(a==null||b==null)return!1;if(a.length!==b.length)return!1;for(var i=0;i<a.length;++i){if(a[i]!==b[i])return!1} 154return!0} 155var close_filter_menu=function(){fmenu.html('').data('tax','')} 156var show_apply_btns=function(){sortbox.find('.evo_filter_aply_btns').addClass('vis')} 157var hide_apply_btns=function(){sortbox.find('.evo_filter_aply_btns').removeClass('vis')} 158var update_filter_data=function(tax,new_val,key){el.evo_cal_update_filter_data(tax,new_val,key)} 159var run_filter_nav_check=function(){$.each(el.find('.evo_filter_bar'),function(event){_filter_bar=$(this);_filter_container=_filter_bar.find('.evo_filter_container_in');_filter_line_width=_filter_bar.find('.eventon_filter_line')[0].scrollWidth;_filter_container_width=parseInt(_filter_container.width())+3;var leftPos=_filter_container.scrollLeft();if(_filter_line_width>_filter_container_width){if((_filter_container_width+leftPos)<_filter_line_width) 160_filter_bar.find('.evo_filter_r').addClass('vis');if(leftPos>0){_filter_bar.find('.evo_filter_l').addClass('vis')}else{_filter_bar.find('.evo_filter_r').addClass('vis')}}else{_filter_bar.find('.evo_filter_l').removeClass('vis');_filter_bar.find('.evo_filter_r').removeClass('vis')}})} 161init()} 162$.fn.evo_filters_update_from_temp=function(filter_line,cal){filter_line.find('.evo_filter_tax_box').each(function(){var taxonomy=$(this).data('tax');const tterms=cal.evo_cal_get_filter_sub_data(taxonomy,'tterms');cal.evo_cal_update_filter_data(taxonomy,tterms,'nterms');$(this).removeClass('chg')})} 163function run_cal_ajax(cal_id,direction,ajaxtype){var CAL=ev_cal=$('#'+cal_id);if(CAL.attr('data-runajax')!='0'){const EVENTS_LIST=CAL.find('.eventon_events_list');const $showMoreBtn=EVENTS_LIST.find('.evoShow_more_events');var cat=CAL.find('.evcal_sort').attr('cat');if(ajaxtype=='switchmonth'){CAL.find('.cal_arguments').attr('data-show_limit_paged',1);CAL.evo_update_cal_sc({F:'show_limit_paged',V:'1'})} 164SC=CAL.evo_cal_functions({action:'load_shortcodes'});$('body').trigger('evo_main_ajax_before',[CAL,ajaxtype,direction,SC]);var data_arg={direction:direction,shortcode:SC,ajaxtype:ajaxtype,nonce:evo_general_params.n,nonceX:evo_general_params.nonce};$.ajax({beforeSend:function(xhr){xhr.setRequestHeader('X-WP-Nonce',evo_general_params.nonce);CAL.addClass('evo_loading');if(ajaxtype=='paged'){const currentContent=$showMoreBtn.html();$showMoreBtn.data('txt',currentContent);if(SC.tiles=='yes'){$showMoreBtn.addClass('evoloading');$showMoreBtn.find('span').html('')}else{$showMoreBtn.find('span').addClass('evobtn_loader full')}}else{html=evo_general_params.html.preload_events;if(SC.tiles=='yes')html=evo_general_params.html.preload_event_tiles;EVENTS_LIST.html(html)} 165if(CAL.hasClass('nav_from_foot')){scrolltop=CAL.offset().top;$('html, body').animate({scrollTop:scrolltop},20)} 166$('body').trigger('evo_main_ajax_before_fnc',[CAL,ajaxtype,data_arg])},type:'POST',url:get_ajax_url('eventon_get_events'),data:data_arg,dataType:'json',success:function(data){if(!data)return!1;if(ajaxtype=='paged'){$showMoreBtn.remove();EVENTS_LIST.find('.clear').remove();EVENTS_LIST.append(data.html+"<div class='clear'></div>");var events_in_list=EVENTS_LIST.find('.eventon_list_event').length;if('total_events' in data&&data.total_events==events_in_list){$showMoreBtn.hide()} 167var T={};EVENTS_LIST.find('.evcal_month_line').each(function(){d=$(this).data('d');if(T[d]) 168$(this).remove();else T[d]=!0});var T={};EVENTS_LIST.find('.sep_month_events').each(function(){d=$(this).data('d');if(T[d]){var H=$(this).html();EVENTS_LIST.find('.sep_month_events[data-d="'+d+'"]').append(H);$(this).remove()}else{T[d]=!0}})}else{EVENTS_LIST.html(data.html)} 169CAL.find('.evo_month_title').html(data.cal_month_title);CAL.evo_cal_functions({action:'update_shortcodes',SC:data.SC});CAL.evo_cal_functions({action:'update_json',json:data.json});CAL.evo_calendar({SC:data.SC,json:data.json});$('body').trigger('calendar_month_changed',[CAL,data]);$('body').trigger('evo_main_ajax_success',[CAL,ajaxtype,data,data_arg])},complete:function(data){if(!EVENTS_LIST.hasClass('evo_hide'))EVENTS_LIST.delay(300).slideDown('slow');if(CAL.hasClass('nav_from_foot')){setTimeout(function(){scrolltop=CAL.offset().top;$('html, body').animate({scrollTop:scrolltop},20);CAL.removeClass('nav_from_foot')},302)} 170$('body').trigger('evo_main_ajax_complete',[CAL,ajaxtype,data.responseJSON,data_arg]);CAL.removeClass('evo_loading')}})}} 171$('body').on('evo_run_cal_ajax',function(event,cal_id,direction,ajaxtype){run_cal_ajax(cal_id,direction,ajaxtype)});function ajax_post_content(sortby,cal_id,direction,ajaxtype){run_cal_ajax(cal_id,direction,ajaxtype)} 172$('body').on('evo_load_single_event_content',function(event,eid,obj){var ajaxdataa={};ajaxdataa.eid=eid;ajaxdataa.nonce=the_ajax_script.postnonce;if(obj.data('j')){$.each(obj.data('j'),function(index,val){ajaxdataa[index]=val})} 173$.ajax({beforeSend:function(){}
173,url:get_ajax_url('eventon_load_event_content'),data:ajaxdataa,dataType:'json',type:'POST',success:function(data){$('body').trigger('evo_single_event_content_loaded',[data,obj])},complete:function(){}})});if(BODY.evo_is_mobile()){if($('body').find('.fb.evo_ss').length!=0){$('body').find('.fb.evo_ss').each(function(){obj=$(this);obj.attr({'href':'http://m.facebook.com/sharer.php?u='+obj.attr('data-url')})})}} 174if($('body').find('.evo_sin_page').length>0){$('.evo_sin_page').each(function(){$('body').trigger('evo_load_single_event_content',[$(this).data('eid'),$(this)]);$(this).find('.desc_trig ').attr({'data-ux_val':'none'})})} 175$('body').find('.eventon_single_event').each(function(){var _this=$(this);var CAL=_this.closest('.ajde_evcal_calendar');var SC=CAL.evo_shortcode_data();var evObj=CAL.find('.eventon_list_event');if(SC.expanded=='yes'){_this.find('.evcal_eventcard').show();var idd=_this.find('.evcal_gmaps');_this.find('.evcal_close').parent().css({'padding-right':0});_this.find('.evcal_close').hide();var obj=_this.find('.desc_trig');_this.find('.evo_metarow_gmap').evo_load_gmap();evObj.find('.event_description').addClass('open')}else if(SC.uxval=='3'){var obj=_this.find('.desc_trig');obj.removeAttr('data-exlk').attr({'data-ux_val':'3'})} 176var ev_excerpt=CAL.find('.event_excerpt').html();if(ev_excerpt!=''&&ev_excerpt!==undefined&&SC.excerpt=='yes'){var appendation='<div class="event_excerpt_in">'+ev_excerpt+'</div>' 177evObj.append(appendation)} 178var obj=evObj.find('.desc_trig');var event_id=evObj.data('event_id');$('body').trigger('evo_slidedown_eventcard_complete',[event_id,obj])});function get_ajax_url(action){var ajax_type='endpoint';if('ajax_method' in evo_general_params)ajax_type=evo_general_params.ajax_method;return $('body').evo_get_ajax_url({a:action,type:ajax_type})} 179function handlebar_additional_arguments(){Handlebars.registerHelper('ifE',function(v1,options){return(v1!==undefined&&v1!=''&&v1)?options.fn(this):options.inverse(this)});Handlebars.registerHelper('ifEQ',function(v1,v2,options){return(v1==v2)?options.fn(this):options.inverse(this)});Handlebars.registerHelper('ifNEQ',function(v1,v2,options){return(v1!=v2)?options.fn(this):options.inverse(this)});Handlebars.registerHelper('BUStxt',function(V,options){if(!(V in BUS.txt))return V;return BUS.txt[V]});Handlebars.registerHelper('GetDMnames',function(V,U,options){return BUS.dms[U][V]});Handlebars.registerHelper('forAdds',function(count,add_val,options){O='';for(x=1;x<=count;x++){O+=add_val} 180return O});Handlebars.registerHelper('GetEvProp',function(EID,PROP,CALID){EID=EID.split('-');
180EV=$('#'+CALID).find('.evo_cal_events').data('events');var O='';$.each(EV,function(i,d){if(d.ID==EID[0]&&d.ri==EID[1]){if(!(PROP in d.event_pmv))return;O=d.event_pmv[PROP][0]}});return O});Handlebars.registerHelper('GetEvV',function(EID,PROP,CALID){EID=EID.split('-');EV=$('#'+CALID).find('.evo_cal_events').data('events');var O='';$.each(EV,function(i,d){if(d.ID==EID[0]&&d.ri==EID[1]){O=d[PROP]}});return O});Handlebars.registerHelper('COUNT',function(V){return Object.keys(V).length});Handlebars.registerHelper('CountlimitLess',function(AR,C,options){var L=Object.keys(AR).length;return(L<C)?options.inverse(this):options.fn(this)});Handlebars.registerHelper('ifCOND',function(v1,operator,v2,options){return checkCondition(v1,operator,v2)?options.fn(this):options.inverse(this)});Handlebars.registerHelper('toJSON',function(obj){return new Handlebars.SafeString(JSON.stringify(obj))});Handlebars.registerHelper('Cal_def_check',function(V,options){if(BUS.cal_def&&BUS.cal_def[V])return options.fn(this);return options.inverse(this)});Handlebars.registerHelper('TypeCheck',function(V,options){if(options.type==V)return options.fn(this);return options.inverse(this)})} 181function checkCondition(v1,operator,v2){switch(operator){case '==':return(v1==v2);case '===':return(v1===v2);case '!==':return(v1!==v2);case '<':return(v1<v2);case '<=':return(v1<=v2);case '>':return(v1>v2);case '>=':return(v1>=v2);case '&&':return(v1&&v2);case '||':return(v1||v2);default:return!1}} 182BODY.on('evo_open_lightbox',function(event,lb_class,content){const LIGHTBOX=$('.evo_lightbox.'+lb_class).eq(0);if(LIGHTBOX.is("visible")===!0)return!1;if(content!=''){LIGHTBOX.find('.evo_lightbox_body').html(content)} 183BODY.trigger('evolightbox_show',[lb_class])});BODY.on('clicked_on_page',function(event,obj,ev){if(obj.hasClass('evo_content_inin')){closing_lightbox(obj.closest('.evo_lightbox'))}});BODY.on('click','.evolbclose',function(){if($(this).hasClass('evolb_close_btn'))return;LIGHTBOX=$(this).closest('.evo_lightbox');closing_lightbox(LIGHTBOX)});function closing_lightbox(lightboxELM){if(!lightboxELM.hasClass('show'))return!1;Close=(lightboxELM.parent().find('.evo_lightbox.show').length==1)?true:!1;lightboxELM.removeClass('show');$('body').trigger('lightbox_before_event_closing',[lightboxELM]);setTimeout(function(){lightboxELM.find('.evo_lightbox_body').html('');if(Close){$('body').removeClass('evo_overflow');$('html').removeClass('evo_overflow')} 184$('body').trigger('lightbox_event_closing',[lightboxELM])},100)} 185$('body').on('evolightbox_show',function(event,lb_class){$('.evo_lightboxes').show();$('body').addClass('evo_overflow');$('html').addClass('evo_overflow');$('body').trigger('evolightbox_opened',[lb_class])})}); 186 187 188 189/* 190 * jQuery.bind-first library v0.2.3 191 * Copyright (c) 2013 Vladimir Zhuravlev 192 * 193 * Released under MIT License 194 * @license 195 * 196 * Date: Thu Feb 6 10:13:59 ICT 2014 197 **/ 198(function(t){function e(e){return u?e.data("events"):t._data(e[0]).events}function n(t,n,r){var i=e(t),a=i[n];if(!u){var s=r?a.splice(a.delegateCount-1,1)[0]:a.pop();return a.splice(r?0:a.delegateCount||0,0,s),void 0}r?i.live.unshift(i.live.pop()):a.unshift(a.pop())}function r(e,r,i){var a=r.split(/\s+/);e.each(function(){for(var e=0;a.length>e;++e){var r=a[e].trim().match(/[^\.]+/i)[0];n(t(this),r,i)}})}function i(e){t.fn[e+"First"]=function(){var n=t.makeArray(arguments),i=n.shift();return i&&(t.fn[e].apply(this,arguments),r(this,i)),this}}var a=t.fn.jquery.split("."),s=parseInt(a[0]),f=parseInt(a[1]),u=1>s||1==s&&7>f;i("bind"),i("one"),t.fn.delegateFirst=function(){var e=t.makeArray(arguments),n=e[1];return n&&(e.splice(0,2),t.fn.delegate.apply(this,arguments),r(this,n,!0)),this},t.fn.liveFirst=function(){var e=t.makeArray(arguments);return e.unshift(this.selector),t.fn.delegateFirst.apply(t(document),e),this},u||(t.fn.onFirst=function(e,n){var i=t(this),a="string"==typeof n;if(t.fn.on.apply(i,arguments),"object"==typeof e)for(type in e)e.hasOwnProperty(type)&&r(i,type,a);else"string"==typeof e&&r(i,e,a);return i})})(jQuery); 199 200 201 202!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();
202t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if(i=e({path:"/"},t.defaults,i),"number"==typeof i.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}return r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)),n=n.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),n=n.replace(/[\(\)]/g,escape),document.cookie=[n,"=",r,i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,d=0;d<p.length;d++){var f=p[d].split("="),u=f.slice(1).join("=");'"'===u.charAt(0)&&(u=u.slice(1,-1));try{var l=f[0].replace(s,decodeURIComponent);if(u=o.read?o.read(u,l):o(u,l)||u.replace(s,decodeURIComponent),this.json)try{u=JSON.parse(u)}catch(e){}if(n===l){c=u;break}n||(c[l]=u)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})}); 203 204 205 206/** 207 * [js-sha256]{@link https://github.com/emn178/js-sha256} 208 * 209 * @version 0.11.0 210 * @author Chen, Yi-Cyuan [[email protected]] 211 * @copyright Chen, Yi-Cyuan 2014-2024 212 * @license MIT 213 */ 214(function(){'use strict';var ERROR='input is invalid type';var WINDOW=typeof window==='object';var root=WINDOW?window:{};if(root.JS_SHA256_NO_WINDOW){WINDOW=!1} 215var WEB_WORKER=!WINDOW&&typeof self==='object';var NODE_JS=!root.JS_SHA256_NO_NODE_JS&&typeof process==='object'&&process.versions&&process.versions.node;if(NODE_JS){root=global}else if(WEB_WORKER){root=self} 216var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&typeof module==='object'&&module.exports;var AMD=typeof define==='function'&&define.amd;var ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer!=='undefined';var HEX_CHARS='0123456789abcdef'.split('');var EXTRA=[-2147483648,8388608,32768,128];var SHIFT=[24,16,8,0];var K=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];var OUTPUT_TYPES=['hex','array','digest','arrayBuffer'];var blocks=[];if(root.JS_SHA256_NO_NODE_JS||!Array.isArray){Array.isArray=function(obj){return Object.prototype.toString.call(obj)==='[object Array]'}} 217if(ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)){ArrayBuffer.isView=function(obj){return typeof obj==='object'&&obj.buffer&&obj.buffer.constructor===ArrayBuffer}} 218var createOutputMethod=function(outputType,is224){return function(message){return new Sha256(is224,!0).update(message)[outputType]()}};var createMethod=function(is224){var method=createOutputMethod('hex',is224);if(NODE_JS){method=nodeWrap(method,is224)} 219method.create=function(){return new Sha256(is224)};method.update=function(message){return method.create().update(message)};for(var i=0;i<OUTPUT_TYPES.length;++i){var type=OUTPUT_TYPES[i];method[type]=createOutputMethod(type,is224)} 220return method};var nodeWrap=function(method,is224){var crypto=require('crypto') 221var Buffer=require('buffer').Buffer;var algorithm=is224?'sha224':'sha256';var bufferFrom;if(Buffer.from&&!root.JS_SHA256_NO_BUFFER_FROM){bufferFrom=Buffer.from}else{bufferFrom=function(message){return new Buffer(message)}} 222var nodeMethod=function(message){if(typeof message==='string'){return crypto.createHash(algorithm).update(message,'utf8').digest('hex')}else{if(message===null||message===undefined){throw new Error(ERROR)}else if(message.constructor===ArrayBuffer){message=new Uint8Array(message)}} 223if(Array.isArray(message)||ArrayBuffer.isView(message)||message.constructor===Buffer){return crypto.createHash(algorithm).update(bufferFrom(message)).digest('hex')}else{return method(message)}};return nodeMethod};var createHmacOutputMethod=function(outputType,is224){return function(key,message){return new HmacSha256(key,is224,!0).update(message)[outputType]()}};var createHmacMethod=function(is224){var method=createHmacOutputMethod('hex',is224);method.create=function(key){return new HmacSha256(key,is224)};method.update=function(key,message){return method.create(key).update(message)};for(var i=0;i<OUTPUT_TYPES.length;++i){var type=OUTPUT_TYPES[i];method[type]=createHmacOutputMethod(type,is224)} 224return method};function Sha256(is224,sharedMemory){if(sharedMemory){blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0;this.blocks=blocks}else{this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]} 225if(is224){this.h0=0xc1059ed8;this.h1=0x367cd507;this.h2=0x3070dd17;this.h3=0xf70e5939;this.h4=0xffc00b31;this.h5=0x68581511;this.h6=0x64f98fa7;this.h7=0xbefa4fa4}
225else{this.h0=0x6a09e667;this.h1=0xbb67ae85;this.h2=0x3c6ef372;this.h3=0xa54ff53a;this.h4=0x510e527f;this.h5=0x9b05688c;this.h6=0x1f83d9ab;this.h7=0x5be0cd19} 226this.block=this.start=this.bytes=this.hBytes=0;this.finalized=this.hashed=!1;this.first=!0;this.is224=is224} 227Sha256.prototype.update=function(message){if(this.finalized){return} 228var notString,type=typeof message;if(type!=='string'){if(type==='object'){if(message===null){throw new Error(ERROR)}else if(ARRAY_BUFFER&&message.constructor===ArrayBuffer){message=new Uint8Array(message)}else if(!Array.isArray(message)){if(!ARRAY_BUFFER||!ArrayBuffer.isView(message)){throw new Error(ERROR)}}}else{throw new Error(ERROR)} 229notString=!0} 230var code,index=0,i,length=message.length,blocks=this.blocks;while(index<length){if(this.hashed){this.hashed=!1;blocks[0]=this.block;this.block=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0} 231if(notString){for(i=this.start;index<length&&i<64;++index){blocks[i>>>2]|=message[index]<<SHIFT[i++&3]}}else{for(i=this.start;index<length&&i<64;++index){code=message.charCodeAt(index);if(code<0x80){blocks[i>>>2]|=code<<SHIFT[i++&3]}else if(code<0x800){blocks[i>>>2]|=(0xc0|(code>>>6))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|(code&0x3f))<<SHIFT[i++&3]}else if(code<0xd800||code>=0xe000){blocks[i>>>2]|=(0xe0|(code>>>12))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|((code>>>6)&0x3f))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|(code&0x3f))<<SHIFT[i++&3]}else{code=0x10000+(((code&0x3ff)<<10)|(message.charCodeAt(++index)&0x3ff));blocks[i>>>2]|=(0xf0|(code>>>18))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|((code>>>12)&0x3f))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|((code>>>6)&0x3f))<<SHIFT[i++&3];blocks[i>>>2]|=(0x80|(code&0x3f))<<SHIFT[i++&3]}}} 232this.lastByteIndex=i;this.bytes+=i-this.start;if(i>=64){this.block=blocks[16];this.start=i-64;this.hash();this.hashed=!0}else{this.start=i}} 233if(this.bytes>4294967295){this.hBytes+=this.bytes/4294967296<<0;this.bytes=this.bytes%4294967296} 234return this};Sha256.prototype.finalize=function(){if(this.finalized){return} 235this.finalized=!0;var blocks=this.blocks,i=this.lastByteIndex;blocks[16]=this.block;blocks[i>>>2]|=EXTRA[i&3];this.block=blocks[16];if(i>=56){if(!this.hashed){this.hash()} 236blocks[0]=this.block;blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0} 237blocks[14]=this.hBytes<<3|this.bytes>>>29;blocks[15]=this.bytes<<3;this.hash()};Sha256.prototype.hash=function(){var a=this.h0,b=this.h1,c=this.h2,d=this.h3,e=this.h4,f=this.h5,g=this.h6,h=this.h7,blocks=this.blocks,j,s0,s1,maj,t1,t2,ch,ab,da,cd,bc;for(j=16;j<64;++j){t1=blocks[j-15];s0=((t1>>>7)|(t1<<25))^((t1>>>18)|(t1<<14))^(t1>>>3);t1=blocks[j-2];s1=((t1>>>17)|(t1<<15))^((t1>>>19)|(t1<<13))^(t1>>>10);blocks[j]=blocks[j-16]+s0+blocks[j-7]+s1<<0} 238bc=b&c;for(j=0;j<64;j+=4){if(this.first){if(this.is224){ab=300032;t1=blocks[0]-1413257819;h=t1-150054599<<0;d=t1+24177077<<0}else{ab=704751109;t1=blocks[0]-210244248;h=t1-1521486534<<0;d=t1+143694565<<0} 239this.first=!1}else{s0=((a>>>2)|(a<<30))^((a>>>13)|(a<<19))^((a>>>22)|(a<<10));s1=((e>>>6)|(e<<26))^((e>>>11)|(e<<21))^((e>>>25)|(e<<7));ab=a&b;maj=ab^(a&c)^bc;ch=(e&f)^(~e&g);t1=h+s1+ch+K[j]+blocks[j];t2=s0+maj;h=d+t1<<0;d=t1+t2<<0} 240s0=((d>>>2)|(d<<30))^((d>>>13)|(d<<19))^((d>>>22)|(d<<10));s1=((h>>>6)|(h<<26))^((h>>>11)|(h<<21))^((h>>>25)|(h<<7));da=d&a;maj=da^(d&b)^ab;ch=(h&e)^(~h&f);t1=g+s1+ch+K[j+1]+blocks[j+1];t2=s0+maj;g=c+t1<<0;c=t1+t2<<0;s0=((c>>>2)|(c<<30))^((c>>>13)|(c<<19))^((c>>>22)|(c<<10));s1=((g>>>6)|(g<<26))^((g>>>11)|(g<<21))^((g>>>25)|(g<<7));cd=c&d;maj=cd^(c&a)^da;ch=(g&h)^(~g&e);t1=f+s1+ch+K[j+2]+blocks[j+2];t2=s0+maj;f=b+t1<<0;b=t1+t2<<0;s0=((b>>>2)|(b<<30))^((b>>>13)|(b<<19))^((b>>>22)|(b<<10));s1=((f>>>6)|(f<<26))^((f>>>11)|(f<<21))^((f>>>25)|(f<<7));bc=b&c;maj=bc^(b&d)^cd;ch=(f&g)^(~f&h);t1=e+s1+ch+K[j+3]+blocks[j+3];t2=s0+maj;e=a+t1<<0;a=t1+t2<<0;this.chromeBugWorkAround=!0} 241this.h0=this.h0+a<<0;this.h1=this.h1+b<<0;this.h2=this.h2+c<<0;this.h3=this.h3+d<<0;this.h4=this.h4+e<<0;this.h5=this.h5+f<<0;this.h6=this.h6+g<<0;this.h7=this.h7+h<<0};Sha256.prototype.hex=function(){this.finalize();var h0=this.h0,h1=this.h1,h2=this.h2,h3=this.h3,h4=this.h4,h5=this.h5,h6=this.h6,h7=this.h7;var hex=HEX_CHARS[(h0>>>28)&0x0F]+HEX_CHARS[(h0>>>24)&0x0F]+HEX_CHARS[(h0>>>20)&0x0F]+HEX_CHARS[(h0>>>16)&0x0F]+HEX_CHARS[(h0>>>12)&0x0F]+HEX_CHARS[(h0>>>8)&0x0F]+HEX_CHARS[(h0>>>4)&0x0F]+HEX_CHARS[h0&0x0F]+HEX_CHARS[(h1>>>28)&0x0F]+HEX_CHARS[(h1>>>24)&0x0F]+HEX_CHARS[(h1>>>20)&0x0F]+HEX_CHARS[(h1>>>16)&0x0F]+HEX_CHARS[(h1>>>12)&0x0F]+HEX_CHARS[(h1>>>8)&0x0F]+HEX_CHARS[(h1>>>4)&0x0F]+HEX_CHARS[h1&0x0F]+HEX_CHARS[(h2>>>28)&0x0F]+HEX_CHARS[(h2>>>24)&0x0F]+HEX_CHARS[(h2>>>20)&0x0F]+HEX_CHARS[(h2>>>16)&0x0F]+HEX_CHARS[(h2>>>12)&0x0F]+HEX_CHARS[(h2>>>8)&0x0F]+HEX_CHARS[(h2>>>4)&0x0F]+HEX_CHARS[h2&0x0F]+HEX_CHARS[(h3>>>28)&0x0F]+HEX_CHARS[(h3>>>24)&0x0F]+HEX_CHARS[(h3>>>20)&0x0F]+HEX_CHARS[(h3>>>16)&0x0F]+HEX_CHARS[(h3>>>12)&0x0F]+HEX_CHARS[(h3>>>
2418)&0x0F]+HEX_CHARS[(h3>>>4)&0x0F]+HEX_CHARS[h3&0x0F]+HEX_CHARS[(h4>>>28)&0x0F]+HEX_CHARS[(h4>>>24)&0x0F]+HEX_CHARS[(h4>>>20)&0x0F]+HEX_CHARS[(h4>>>16)&0x0F]+HEX_CHARS[(h4>>>12)&0x0F]+HEX_CHARS[(h4>>>8)&0x0F]+HEX_CHARS[(h4>>>4)&0x0F]+HEX_CHARS[h4&0x0F]+HEX_CHARS[(h5>>>28)&0x0F]+HEX_CHARS[(h5>>>24)&0x0F]+HEX_CHARS[(h5>>>20)&0x0F]+HEX_CHARS[(h5>>>16)&0x0F]+HEX_CHARS[(h5>>>12)&0x0F]+HEX_CHARS[(h5>>>8)&0x0F]+HEX_CHARS[(h5>>>4)&0x0F]+HEX_CHARS[h5&0x0F]+HEX_CHARS[(h6>>>28)&0x0F]+HEX_CHARS[(h6>>>24)&0x0F]+HEX_CHARS[(h6>>>20)&0x0F]+HEX_CHARS[(h6>>>16)&0x0F]+HEX_CHARS[(h6>>>12)&0x0F]+HEX_CHARS[(h6>>>8)&0x0F]+HEX_CHARS[(h6>>>4)&0x0F]+HEX_CHARS[h6&0x0F];if(!this.is224){hex+=HEX_CHARS[(h7>>>28)&0x0F]+HEX_CHARS[(h7>>>24)&0x0F]+HEX_CHARS[(h7>>>20)&0x0F]+HEX_CHARS[(h7>>>16)&0x0F]+HEX_CHARS[(h7>>>12)&0x0F]+HEX_CHARS[(h7>>>8)&0x0F]+HEX_CHARS[(h7>>>4)&0x0F]+HEX_CHARS[h7&0x0F]} 242return hex};Sha256.prototype.toString=Sha256.prototype.hex;Sha256.prototype.digest=function(){this.finalize();var h0=this.h0,h1=this.h1,h2=this.h2,h3=this.h3,h4=this.h4,h5=this.h5,h6=this.h6,h7=this.h7;var arr=[(h0>>>24)&0xFF,(h0>>>16)&0xFF,(h0>>>8)&0xFF,h0&0xFF,(h1>>>24)&0xFF,(h1>>>16)&0xFF,(h1>>>8)&0xFF,h1&0xFF,(h2>>>24)&0xFF,(h2>>>16)&0xFF,(h2>>>8)&0xFF,h2&0xFF,(h3>>>24)&0xFF,(h3>>>16)&0xFF,(h3>>>8)&0xFF,h3&0xFF,(h4>>>24)&0xFF,(h4>>>16)&0xFF,(h4>>>8)&0xFF,h4&0xFF,(h5>>>24)&0xFF,(h5>>>16)&0xFF,(h5>>>8)&0xFF,h5&0xFF,(h6>>>24)&0xFF,(h6>>>16)&0xFF,(h6>>>8)&0xFF,h6&0xFF];if(!this.is224){arr.push((h7>>>24)&0xFF,(h7>>>16)&0xFF,(h7>>>8)&0xFF,h7&0xFF)} 243return arr};Sha256.prototype.array=Sha256.prototype.digest;Sha256.prototype.arrayBuffer=function(){this.finalize();var buffer=new ArrayBuffer(this.is224?28:32);var dataView=new DataView(buffer);dataView.setUint32(0,this.h0);dataView.setUint32(4,this.h1);dataView.setUint32(8,this.h2);dataView.setUint32(12,this.h3);dataView.setUint32(16,this.h4);dataView.setUint32(20,this.h5);dataView.setUint32(24,this.h6);if(!this.is224){dataView.setUint32(28,this.h7)} 244return buffer};function HmacSha256(key,is224,sharedMemory){var i,type=typeof key;if(type==='string'){var bytes=[],length=key.length,index=0,code;for(i=0;i<length;++i){code=key.charCodeAt(i);if(code<0x80){bytes[index++]=code}else if(code<0x800){bytes[index++]=(0xc0|(code>>>6));bytes[index++]=(0x80|(code&0x3f))}else if(code<0xd800||code>=0xe000){bytes[index++]=(0xe0|(code>>>12));bytes[index++]=(0x80|((code>>>6)&0x3f));bytes[index++]=(0x80|(code&0x3f))}else{code=0x10000+(((code&0x3ff)<<10)|(key.charCodeAt(++i)&0x3ff));bytes[index++]=(0xf0|(code>>>18));bytes[index++]=(0x80|((code>>>12)&0x3f));bytes[index++]=(0x80|((code>>>6)&0x3f));bytes[index++]=(0x80|(code&0x3f))}} 245key=bytes}else{if(type==='object'){if(key===null){throw new Error(ERROR)}else if(ARRAY_BUFFER&&key.constructor===ArrayBuffer){key=new Uint8Array(key)}else if(!Array.isArray(key)){if(!ARRAY_BUFFER||!ArrayBuffer.isView(key)){throw new Error(ERROR)}}}else{throw new Error(ERROR)}} 246if(key.length>64){key=(new Sha256(is224,!0)).update(key).array()} 247var oKeyPad=[],iKeyPad=[];for(i=0;i<64;++i){var b=key[i]||0;oKeyPad[i]=0x5c^b;iKeyPad[i]=0x36^b} 248Sha256.call(this,is224,sharedMemory);this.update(iKeyPad);this.oKeyPad=oKeyPad;this.inner=!0;this.sharedMemory=sharedMemory} 249HmacSha256.prototype=new Sha256();HmacSha256.prototype.finalize=function(){Sha256.prototype.finalize.call(this);if(this.inner){this.inner=!1;var innerHash=this.array();Sha256.call(this,this.is224,this.sharedMemory);this.update(this.oKeyPad);this.update(innerHash);Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports;exports.sha224=createMethod(!0);exports.sha256.hmac=createHmacMethod();exports.sha224.hmac=createHmacMethod(!0);if(COMMON_JS){module.exports=exports}else{root.sha256=exports.sha256;root.sha224=exports.sha224;if(AMD){define(function(){return exports})}}})(); 250 251 252 253!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).tldjs=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){"use strict";var allRules=require("./lib/suffix-trie.js").fromJson(require("./rules.json")),extractHostname=require("./lib/clean-host.js"),getDomain=require("./lib/domain.js"),getPublicSuffix=require("./lib/public-suffix.js"),getSubdomain=require("./lib/subdomain.js"),isValid=require("./lib/is-valid.js"),isIp=require("./lib/is-ip.js"),tldExists=require("./lib/tld-exists.js"),TLD_EXISTS=1,PUBLIC_SUFFIX=2,DOMAIN=3,SUB_DOMAIN=4,ALL=5;module.exports=function factory(options){var rules=options.rules||allRules||{},validHosts=options.validHosts||[],_extractHostname=options.extractHostname||extractHostname;function parse(url,_step){var step=_step||ALL,result={hostname:_extractHostname(url),isValid:null,isIp:null,tldExists:!1,publicSuffix:null,domain:null,subdomain:null};return null===result.hostname?(result.isIp=!1,result.isValid=!1,result):(result.isIp=isIp(result.hostname),result.isIp?(result.isValid=!0,result):(result.isValid=isValid(result.hostname),!1===result.isValid?result:(step!==ALL&&step!==TLD_EXISTS||(result.tldExists=tldExists(rules,result.hostname)),step===TLD_EXISTS?result:(result.publicSuffix=getPublicSuffix(rules,result.hostname),step===PUBLIC_SUFFIX?result:(result.domain=getDomain(validHosts,result.publicSuffix,result.hostname),step===DOMAIN?result:(result.subdomain=getSubdomain(result.hostname,result.domain),result))))))}return{extractHostname:_extractHostname,isValid:isValid,parse:parse,tldExists:function(url){return parse(url,TLD_EXISTS
253).tldExists},getPublicSuffix:function(url){return parse(url,PUBLIC_SUFFIX).publicSuffix},getDomain:function(url){return parse(url,DOMAIN).domain},getSubdomain:function(url){return parse(url,SUB_DOMAIN).subdomain},fromUserSettings:factory}}({})},{"./lib/clean-host.js":2,"./lib/domain.js":3,"./lib/is-ip.js":5,"./lib/is-valid.js":6,"./lib/public-suffix.js":7,"./lib/subdomain.js":8,"./lib/suffix-trie.js":9,"./lib/tld-exists.js":10,"./rules.json":17}],2:[function(require,module,exports){var URL=require("url"),isValid=require("./is-valid.js"),hasPrefixRE=/^(([a-z][a-z0-9+.-]*)?:)?\/\//;function trimTrailingDots(value){return"."===value[value.length-1]?value.substr(0,value.length-1):value}module.exports=function(value){if(isValid(value))return trimTrailingDots(value);var url=value;"string"!=typeof url&&(url=""+url);var needsTrimming=function(value){return value.length>0&&(value.charCodeAt(0)<=32||value.charCodeAt(value.length-1)<=32)}(url);needsTrimming&&(url=url.trim());var needsLowerCase=function(value){for(var i=0;i<value.length;i+=1){var code=value.charCodeAt(i);if(code>=65&&code<=90)return!0}return!1}(url);if(needsLowerCase&&(url=url.toLowerCase()),(needsLowerCase||needsTrimming)&&isValid(url))return trimTrailingDots(url);hasPrefixRE.test(url)||(url="//"+url);var parts=URL.parse(url,null,!0);return parts.hostname?trimTrailingDots(parts.hostname):null}},{"./is-valid.js":6,url:15}],3:[function(require,module,exports){"use strict";function shareSameDomainSuffix(hostname,vhost){return pattern=vhost,(str=hostname).lastIndexOf(pattern)===str.length-pattern.length&&(hostname.length===vhost.length||"."===hostname[hostname.length-vhost.length-1]);var str,pattern}module.exports=function(validHosts,suffix,hostname){for(var i=0;i<validHosts.length;i+=1){var vhost=validHosts[i];if(shareSameDomainSuffix(hostname,vhost))return vhost}return null===suffix?null:suffix.length===hostname.length?null:function(hostname,publicSuffix){var publicSuffixIndex=hostname.length-publicSuffix.length-2,lastDotBeforeSuffixIndex=hostname.lastIndexOf(".",publicSuffixIndex);return-1===lastDotBeforeSuffixIndex?hostname:hostname.substr(lastDotBeforeSuffixIndex+1)}(hostname,suffix)}},{}],4:[function(require,module,exports){"use strict";module.exports=function(hostname){var lastDotIndex=hostname.lastIndexOf(".");return-1===lastDotIndex?null:hostname.substr(lastDotIndex+1)}},{}],5:[function(require,module,exports){"use strict";module.exports=function(hostname){return"string"==typeof hostname&&(0!==hostname.length&&(function(hostname){for(var hasColon=!1,i=0;i<hostname.length;i+=1){var code=hostname.charCodeAt(i);if(58===code)hasColon=!0;else if(!(code>=48&&code<=57||code>=97&&code<=102))return!1}return hasColon}(hostname)||function(hostname){for(var numberOfDots=0,i=0;i<hostname.length;i+=1){var code=hostname.charCodeAt(i);if(46===code)numberOfDots+=1;else if(code<48||code>57)return!1}return 3===numberOfDots&&"."!==hostname[0]&&"."!==hostname[hostname.length-1]}(hostname)))}},{}],6:[function(require,module,exports){"use strict";function isDigit(code){return code>=48&&code<=57}function isAlpha(code){return code>=97&&code<=122}module.exports=function(hostname){if("string"!=typeof hostname)return!1;if(hostname.length>255)return!1;if(0===hostname.length)return!1;var firstCharCode=hostname.charCodeAt(0);if(!isAlpha(firstCharCode)&&!isDigit(firstCharCode))return!1;for(var lastCharCode,code,lastDotIndex=-1,len=hostname.length,i=0;i<len;i+=1){if(46===(code=hostname.charCodeAt(i))){if(i-lastDotIndex>64||46===lastCharCode||45===lastCharCode)return!1;lastDotIndex=i}else if(!isAlpha(code)&&!isDigit(code)&&45!==code)return!1;lastCharCode=code}return len-lastDotIndex-1<=63&&45!==lastCharCode}},{}],7:[function(require,module,exports){"use strict";var extractTldFromHost=require("./from-host.js");module.exports=function(rules,hostname){if(rules.hasTld(hostname))return hostname;var candidate=rules.suffixLookup(hostname);return null===candidate?extractTldFromHost(hostname):candidate}},{"./from-host.js":4}],8:[function(require,module,exports){"use strict";module.exports=function(hostname,domain){return null===domain?null:hostname.substr(0,hostname.length-domain.length-1)}},{}],9:[function(require,module,exports){"use strict";var VALID_HOSTNAME_VALUE=0;function minIndex(a,b){return null===a?b:null===b?a:a<b?a:b}function insertInTrie(rule,trie){for(var parts=rule.parts,node=trie,i=0;i<parts.length;i+=1){var part=parts[i],nextNode=node[part];void 0===nextNode&&(nextNode=Object.create(null),node[part]=nextNode),node=nextNode}return node.$=VALID_HOSTNAME_VALUE,trie}function lookupInTrie(parts,trie,index){var nextNode,publicSuffixIndex=null;return void 0!==trie.$&&(publicSuffixIndex=index+1),-1===index?publicSuffixIndex:(void 0!==(nextNode=trie[parts[index]])&&(publicSuffixIndex=minIndex(publicSuffixIndex,lookupInTrie(parts,nextNode,index-1))),void 0!==(nextNode=trie["*"])&&(publicSuffixIndex=minIndex(publicSuffixIndex,lookupInTrie(parts,nextNode,index-1))),publicSuffixIndex)}function SuffixTrie(rules){if(this.exceptions=Object.create(null),this.rules=Object.create(null),rules)for(var i=0;i<rules.length;i+=1){var rule=rules[i];rule.exception?insertInTrie(rule,this.exceptions):insertInTrie(rule,this.rules)}}SuffixTrie.fromJson=function(json){var trie=new SuffixTrie;return trie.exceptions=json.exceptions,trie.rules=json.rules,trie},SuffixTrie.prototype.hasTld=function(value){return void 0!==this.rules[value]},SuffixTrie.prototype.suffixLookup=function(hostname){var parts=hostname.split("."),publicSuffixIndex=lookupInTrie(parts,this.rules,parts.length-1);if(null===publicSuffixIndex)return null;var exceptionIndex=lookupInTrie(parts,this.exceptions,parts.length-1);return null!==exceptionIndex?parts.slice(exceptionIndex+1).join("."):parts.slice(publicSuffixIndex).join(".")},module.exports=SuffixTrie},{}],10:[function(require,module,exports){"use strict";var extractTldFromHost=require("./from-host.js");module.exports=function(rules,hostname){if(rules.hasTld(hostname))return!0;var hostTld=extractTldFromHost(hostname);return null!==hostTld&&rules.hasTld(hostTld)}},{"./from-host.js":4}],11:[function(require,module,exports){(function(global){!function(root){var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule="object"==typeof module&&module&&!module.nodeType&&module,freeGlobal="object"==typeof global&&global;freeGlobal.global!==freeGlobal&&freeGlobal.window!==freeGlobal&&freeGlobal.self!==freeGlobal||(root=freeGlobal);
vendor: 4,158 bytes, line 253
253var punycode,key,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(type){throw new RangeError(errors[type])}function map(array,fn){for(var length=array.length,result=[];length--;)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@"),result="";return parts.length>1&&(result=parts[0]+"@",string=parts[1]),result+map((string=string.replace(regexSeparators,".")).split("."),fn).join(".")}function ucs2decode(string){for(var value,extra,output=[],counter=0,length=string.length;counter<length;)(value=string.charCodeAt(counter++))>=55296&&value<=56319&&counter<length?56320==(64512&(extra=string.charCodeAt(counter++)))?output.push(((1023&value)<<10)+(1023&extra)+65536):(output.push(value),counter--):output.push(value);return output}function ucs2encode(array){return map(array,function(value){var output="";return value>65535&&(output+=stringFromCharCode((value-=65536)>>>10&1023|55296),value=56320|1023&value),output+=stringFromCharCode(value)}).join("")}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/damp):delta>>1,delta+=floor(delta/numPoints);delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var out,basic,j,index,oldi,w,k,digit,t,baseMinusT,codePoint,output=[],inputLength=input.length,i=0,n=initialN,bias=initialBias;for((basic=input.lastIndexOf(delimiter))<0&&(basic=0),j=0;j<basic;++j)input.charCodeAt(j)>=128&&error("not-basic"),output.push(input.charCodeAt(j));for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;index>=inputLength&&error("invalid-input"),((digit=(codePoint=input.charCodeAt(index++))-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:base)>=base||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,!(digit<(t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias));k+=base)w>floor(maxInt/(baseMinusT=base-t))&&error("overflow"),w*=baseMinusT;bias=adapt(i-oldi,out=output.length+1,0==oldi),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT,output=[];for(inputLength=(input=ucs2decode(input)).length,n=initialN,delta=0,bias=initialBias,j=0;j<inputLength;++j)(currentValue=input[j])<128&&output.push(stringFromCharCode(currentValue));for(handledCPCount=basicLength=output.length,basicLength&&output.push(delimiter);handledCPCount<inputLength;){for(m=maxInt,j=0;j<inputLength;++j)(currentValue=input[j])>=n&¤tValue<m&&(m=currentValue);for(m-n>floor((maxInt-delta)/(handledCPCountPlusOne=handledCPCount+1))&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;j<inputLength;++j)if((currentValue=input[j])<n&&++delta>maxInt&&error("overflow"),currentValue==n){for(q=delta,k=base;!(q<(t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias));k+=base)qMinusT=q-t,baseMinusT=base-t,output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT);output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")}if(punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:function(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})},toUnicode:function(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}}
vendor: 4,571 bytes, line 253
253,freeExports&&freeModule)if(module.exports==freeExports)freeModule.exports=punycode;else for(key in punycode)punycode.hasOwnProperty(key)&&(freeExports[key]=punycode[key]);else root.punycode=punycode}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],12:[function(require,module,exports){"use strict";function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&",eq=eq||"=";var obj={};if("string"!=typeof qs||0===qs.length)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&"number"==typeof options.maxKeys&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var kstr,vstr,k,v,x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq);idx>=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty(obj,k)?isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)}},{}],13:[function(require,module,exports){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){return sep=sep||"&",eq=eq||"=",null===obj&&(obj=void 0),"object"==typeof obj?map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;return isArray(obj[k])?map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))}).join(sep):name?encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj)):""};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)};function map(xs,f){if(xs.map)return xs.map(f);for(var res=[],i=0;i<xs.length;i++)res.push(f(xs[i],i));return res}var objectKeys=Object.keys||function(obj){var res=[];for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&res.push(key);return res}},{}],14:[function(require,module,exports){"use strict";exports.decode=exports.parse=require("./decode"),exports.encode=exports.stringify=require("./encode")},{"./decode":12,"./encode":13}],15:[function(require,module,exports){"use strict";var punycode=require("punycode"),util=require("./util");function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}exports.parse=urlParse,exports.resolve=function(source,relative){return urlParse(source,!1,!0).resolve(relative)},exports.resolveObject=function(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative},exports.format=function(obj){util.isString(obj)&&(obj=urlParse(obj));return obj instanceof Url?obj.format():Url.prototype.format.call(obj)},exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,unwise=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require("querystring");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;return u.parse(url,parseQueryString,slashesDenoteHost),u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=-1!==queryIndex&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter);uSplit[0]=uSplit[0].replace(/\\/g,"/");var rest=url=uSplit.join(splitter);if(rest=rest.trim(),!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath)return this.path=rest,this.href=rest,this.pathname=simplePath[1],simplePath[2]?(this.search=simplePath[2],this.query=p
vendor: 4,428 bytes, line 253
253arseQueryString?querystring.parse(this.search.substr(1)):this.search.substr(1)):parseQueryString&&(this.search="",this.query={}),this}var proto=protocolPattern.exec(rest);if(proto){var lowerProto=(proto=proto[0]).toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes="//"===rest.substr(0,2);!slashes||proto&&hostlessProtocol[proto]||(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var auth,atSign,hostEnd=-1,i=0;i<hostEndingChars.length;i++){-1!==(hec=rest.indexOf(hostEndingChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1!==(atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd))&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(i=0;i<nonHostChars.length;i++){var hec;-1!==(hec=rest.indexOf(nonHostChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),l=(i=0,hostparts.length);i<l;i++){var part=hostparts[i];if(part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==rest[0]&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(-1!==rest.indexOf(ae)){var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}}var hash=rest.indexOf("#");-1!==hash&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(-1!==qm?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}return this.href=this.format(),this},Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=(auth=encodeURIComponent(auth)).replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";return protocol&&":"!==protocol.substr(-1)&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&!1!==host?(host="//"+(host||""),pathname&&"/"!==pathname.charAt(0)&&(pathname="/"+pathname)):host||(host=""),hash&&"#"!==hash.charAt(0)&&(hash="#"+hash),search&&"?"!==search.charAt(0)&&(search="?"+search),protocol+host+(pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)}))+(search=search.replace("#","%23"))+hash},Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()},Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}for(var result=new Url,tkeys=Object.keys(this),tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}if(result.hash=relative.hash,""===relative.href)return result.href=result.format(),result;if(relative.slashes&&!relative.protocol){for(var rkeys=Object.keys(relative),rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];
vendor: 5,154 bytes, line 253
253"protocol"!==rkey&&(result[rkey]=relative[rkey])}return slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/"),result.href=result.format(),result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){for(var keys=Object.keys(relative),v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}return result.href=result.format(),result}if(result.protocol=relative.protocol,relative.host||hostlessProtocol[relative.protocol])result.pathname=relative.pathname;else{for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),""!==relPath[0]&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&"/"===result.pathname.charAt(0),isRelAbs=relative.host||relative.pathname&&"/"===relative.pathname.charAt(0),mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],psychotic=(relPath=relative.pathname&&relative.pathname.split("/")||[],result.protocol&&!slashedProtocol[result.protocol]);if(psychotic&&(result.hostname="",result.port=null,result.host&&(""===srcPath[0]?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(""===relPath[0]?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(""===relPath[0]||""===srcPath[0])),isRelAbs)result.host=relative.host||""===relative.host?relative.host:result.host,result.hostname=relative.hostname||""===relative.hostname?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(!util.isNullOrUndefined(relative.search)){if(psychotic)result.hostname=result.host=srcPath.shift(),(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift());return result.search=relative.search,result.query=relative.query,util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last,up=0,i=srcPath.length;i>=0;i--)"."===(last=srcPath[i])?srcPath.splice(i,1):".."===last?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift(""),hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var authInHost,isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);psychotic&&(result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"",(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift()));return(mustEndAbs=mustEndAbs||result.host&&srcPath.length)&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result},Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(":"!==(port=port[0])&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)}},{"./util":16,punycode:11,querystring:14}],16:[function(require,module,exports){"use strict";module.exports={isString:function(arg){return"string"==typeof arg},isObject:function(arg){return"object"==typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},{}],17:[function(require,module,exports){module.exports={exceptions:{ck:{www:{$:0}},jp:{kawasaki:{city:{$:0}},kitakyushu:{city:{$:0}},kobe:{city:{$:0}},nagoya:{city:{$:0}},sapporo:{city:{$:0}},sendai:{city:{$:0}},yokohama:{city:{$:0}}}},rules:{ac:{$:0,com:{$:0},edu:{$:0},gov:{$:0}
253,net:{$:0},mil:{$:0},org:{$:0}},ad:{$:0,nom:{$:0}},ae:{$:0,co:{$:0},net:{$:0},org:{$:0},sch:{$:0},ac:{$:0},gov:{$:0},mil:{$:0},blogspot:{$:0},nom:{$:0}},aero:{$:0,"accident-investigation":{$:0},"accident-prevention":{$:0},aerobatic:{$:0},aeroclub:{$:0},aerodrome:{$:0},agents:{$:0},aircraft:{$:0},airline:{$:0},airport:{$:0},"air-surveillance":{$:0},airtraffic:{$:0},"air-traffic-control":{$:0},ambulance:{$:0},amusement:{$:0},association:{$:0},author:{$:0},ballooning:{$:0},broker:{$:0},caa:{$:0},cargo:{$:0},catering:{$:0},certification:{$:0},championship:{$:0},charter:{$:0},civilaviation:{$:0},club:{$:0},conference:{$:0},consultant:{$:0},consulting:{$:0},control:{$:0},council:{$:0},crew:{$:0},design:{$:0},dgca:{$:0},educator:{$:0},emergency:{$:0},engine:{$:0},engineer:{$:0},entertainment:{$:0},equipment:{$:0},exchange:{$:0},express:{$:0},federation:{$:0},flight:{$:0},freight:{$:0},fuel:{$:0},gliding:{$:0},government:{$:0},groundhandling:{$:0},group:{$:0},hanggliding:{$:0},homebuilt:{$:0},insurance:{$:0},journal:{$:0},journalist:{$:0},leasing:{$:0},logistics:{$:0},magazine:{$:0},maintenance:{$:0},media:{$:0},microlight:{$:0},modelling:{$:0},navigation:{$:0},parachuting:{$:0},paragliding:{$:0},"passenger-association":{$:0},pilot:{$:0},press:{$:0},production:{$:0},recreation:{$:0},repbody:{$:0},res:{$:0},research:{$:0},rotorcraft:{$:0},safety:{$:0},scientist:{$:0},services:{$:0},show:{$:0},skydiving:{$:0},software:{$:0},student:{$:0},trader:{$:0},trading:{$:0},trainer:{$:0},union:{$:0},workinggroup:{$:0},works:{$:0}},af:{$:0,gov:{$:0},com:{$:0},org:{$:0}
vendor: 2,434 bytes, line 253
253,net:{$:0},edu:{$:0}},ag:{$:0,com:{$:0},org:{$:0},net:{$:0},co:{$:0},nom:{$:0}},ai:{$:0,off:{$:0},com:{$:0},net:{$:0},org:{$:0},nom:{$:0}},al:{$:0,com:{$:0},edu:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0},blogspot:{$:0},nom:{$:0}},am:{$:0,blogspot:{$:0}},ao:{$:0,ed:{$:0},gv:{$:0},og:{$:0},co:{$:0},pb:{$:0},it:{$:0}},aq:{$:0},ar:{$:0,com:{$:0,blogspot:{$:0}},edu:{$:0},gob:{$:0},gov:{$:0},int:{$:0},mil:{$:0},musica:{$:0},net:{$:0},org:{$:0},tur:{$:0}},arpa:{$:0,e164:{$:0},"in-addr":{$:0},ip6:{$:0},iris:{$:0},uri:{$:0},urn:{$:0}},as:{$:0,gov:{$:0}},asia:{$:0,cloudns:{$:0}},at:{$:0,ac:{$:0},co:{$:0,blogspot:{$:0}},gv:{$:0},or:{$:0},futurecms:{"*":{$:0}},futurehosting:{$:0},futuremailing:{$:0},ortsinfo:{ex:{"*":{$:0}},kunden:{"*":{$:0}}},biz:{$:0},info:{$:0},priv:{$:0},"12hp":{$:0},"2ix":{$:0},"4lima":{$:0},"lima-city":{$:0}},au:{$:0,com:{$:0,blogspot:{$:0}},net:{$:0},org:{$:0},edu:{$:0,act:{$:0},nsw:{$:0},nt:{$:0},qld:{$:0},sa:{$:0},tas:{$:0},vic:{$:0},wa:{$:0}},gov:{$:0,qld:{$:0},sa:{$:0},tas:{$:0},vic:{$:0},wa:{$:0}},asn:{$:0},id:{$:0},info:{$:0},conf:{$:0},oz:{$:0},act:{$:0},nsw:{$:0},nt:{$:0},qld:{$:0},sa:{$:0},tas:{$:0},vic:{$:0},wa:{$:0}},aw:{$:0,com:{$:0}},ax:{$:0},az:{$:0,com:{$:0},net:{$:0},int:{$:0},gov:{$:0},org:{$:0},edu:{$:0},info:{$:0},pp:{$:0},mil:{$:0},name:{$:0},pro:{$:0},biz:{$:0}},ba:{$:0,com:{$:0},edu:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0},blogspot:{$:0}},bb:{$:0,biz:{$:0},co:{$:0},com:{$:0},edu:{$:0},gov:{$:0},info:{$:0},net:{$:0},org:{$:0},store:{$:0},tv:{$:0}},bd:{"*":{$:0}},be:{$:0,ac:{$:0},webhosting:{$:0},blogspot:{$:0},transurl:{"*":{$:0}}},bf:{$:0,gov:{$:0}},bg:{0:{$:0},1:{$:0},2:{$:0},3:{$:0},4:{$:0},5:{$:0},6:{$:0},7:{$:0},8:{$:0},9:{$:0},$:0,a:{$:0},b:{$:0},c:{$:0},d:{$:0},e:{$:0},f:{$:0},g:{$:0},h:{$:0},i:{$:0},j:{$:0},k:{$:0},l:{$:0},m:{$:0},n:{$:0},o:{$:0},p:{$:0},q:{$:0},r:{$:0},s:{$:0},t:{$:0},u:{$:0},v:{$:0},w:{$:0},x:{$:0},y:{$:0},z:{$:0},blogspot:{$:0},barsy:{$:0}},bh:{$:0,com:{$:0},edu:{$:0},net:{$:0},org:{$:0},gov:{$:0}},bi:{$:0,co:{$:0},com:{$:0},edu:{$:0},or:{$:0},org:{$:0}},biz:{$:0,cloudns:{$:0},dyndns:{$:0},"for-better":{$:0},"for-more":{$:0},"for-some":{$:0},"for-the":{$:0},selfip:{$:0},webhop:{$:0},mmafan:{$:0},myftp:{$:0},"no-ip":{$:0},dscloud:{$:0}},bj:{$:0,asso:{$:0},barreau:{$:0},gouv:{$:0},blogspot:{$:0}},bm:{$:0,com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},bn:{"*":{$:0}},bo:{$:0,com:{$:0},edu:{$:0},gob:{$:0},int:{$:0},org:{$:0}
253,net:{$:0},mil:{$:0},tv:{$:0},web:{$:0},academia:{$:0},agro:{$:0},arte:{$:0},blog:{$:0},bolivia:{$:0},ciencia:{$:0},cooperativa:{$:0},democracia:{$:0},deporte:{$:0},ecologia:{$:0},economia:{$:0},empresa:{$:0},indigena:{$:0},industria:{$:0},info:{$:0},medicina:{$:0},movimiento:{$:0},musica:{$:0},natural:{$:0},nombre:{$:0},noticias:{$:0},patria:{$:0},politica:{$:0},profesional:{$:0},plurinacional:{$:0},pueblo:{$:0},revista:{$:0},salud:{$:0},tecnologia:{$:0},tksat:{$:0},transporte:{$:0},wiki:{$:0}},br:{$:0,"9guacu":{$:0},abc:{$:0},adm:{$:0},adv:{$:0},agr:{$:0},aju:{$:0},am:{$:0},anani:{$:0},aparecida:{$:0},arq:{$:0},art:{$:0},ato:{$:0},b:{$:0},belem:{$:0},bhz:{$:0},bio:{$:0},blog:{$:0},bmd:{$:0},boavista:{$:0},bsb:{$:0},campinagrande:{$:0},campinas:{$:0},caxias:{$:0},cim:{$:0},cng:{$:0},cnt:{$:0},com:{$:0,blogspot:{$:0}},contagem:{$:0},coop:{$:0},cri:{$:0},cuiaba:{$:0},curitiba:{$:0},def:{$:0},ecn:{$:0},eco:{$:0},edu:{$:0},emp:{$:0},eng:{$:0},esp:{$:0},etc:{$:0},eti:{$:0},far:{$:0},feira:{$:0},flog:{$:0},floripa:{$:0},fm:{$:0},fnd:{$:0},fortal:{$:0},fot:{$:0},foz:{$:0},fst:{$:0},g12:{$:0},ggf:{$:0},goiania:{$:0},gov:{$:0,ac:{$:0},al:{$:0},am:{$:0},ap:{$:0},ba:{$:0},ce:{$:0},df:{$:0},es:{$:0},go:{$:0},ma:{$:0},mg:{$:0},ms:{$:0},mt:{$:0},pa:{$:0},pb:{$:0},pe:{$:0},pi:{$:0},pr:{$:0},rj:{$:0},rn:{$:0},ro:{$:0},rr:{$:0},rs:{$:0},sc:{$:0},se:{$:0},sp:{$:0},to:{$:0}},gru:{$:0},imb:{$:0},ind:{$:0},inf:{$:0},jab:{$:0},jampa:{$:0},jdf:{$:0},joinville:{$:0},jor:{$:0},jus:{$:0},leg:{$:0,ac:{$:0},al:{$:0},am:{$:0},ap:{$:0},ba:{$:0},ce:{$:0},df:{$:0},es:{$:0},go:{$:0},ma:{$:0},mg:{$:0},ms:{$:0},mt:{$:0},pa:{$:0},pb:{$:0},pe:{$:0},pi:{$:0},pr:{$:0},rj:{$:0},rn:{$:0},ro:{$:0},rr:{$:0},rs:{$:0},sc:{$:0},se:{$:0},sp:{$:0},to:{$:0}},lel:{$:0},londrina:{$:0},macapa:{$:0},maceio:{$:0},manaus:{$:0},maringa:{$:0},mat:{$:0},med:{$:0},mil:{$:0},morena:{$:0},mp:{$:0},mus:{$:0},natal:{$:0},net:{$:0},niteroi:{$:0},nom:{"*":{$:0}},not:{$:0},ntr:{$:0},odo:{$:0},org:{$:0},osasco:{$:0},palmas:{$:0},poa:{$:0},ppg:{$:0},pro:{$:0},psc:{$:0},psi:{$:0},pvh:{$:0},qsl:{$:0},radio:{$:0},rec:{$:0},recife:{$:0},ribeirao:{$:0},rio:{$:0},riobranco:{$:0},riopreto:{$:0},salvador:{$:0},sampa:{$:0},santamaria:{$:0},santoandre:{$:0},saobernardo:{$:0},saogonca:{$:0},sjc:{$:0},slg:{$:0},slz:{$:0},sorocaba:{$:0},srv:{$:0},taxi:{$:0},teo:{$:0},the:{$:0},tmp:{$:0},trd:{$:0},tur:{$:0},tv:{$:0},udi:{$:0},vet:{$:0},vix:{$:0},vlog:{$:0},wiki:{$:0},zlg:{$:0}},bs:{$:0,com:{$:0}
vendor: 11,922 bytes, line 253
253,net:{$:0},org:{$:0},edu:{$:0},gov:{$:0},we:{$:0}},bt:{$:0,com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},bv:{$:0},bw:{$:0,co:{$:0},org:{$:0}},by:{$:0,gov:{$:0},mil:{$:0},com:{$:0,blogspot:{$:0}},of:{$:0},nym:{$:0}},bz:{$:0,com:{$:0},net:{$:0},org:{$:0},edu:{$:0},gov:{$:0},za:{$:0},nym:{$:0}},ca:{$:0,ab:{$:0},bc:{$:0},mb:{$:0},nb:{$:0},nf:{$:0},nl:{$:0},ns:{$:0},nt:{$:0},nu:{$:0},on:{$:0},pe:{$:0},qc:{$:0},sk:{$:0},yk:{$:0},gc:{$:0},"1password":{$:0},awdev:{"*":{$:0}},co:{$:0},blogspot:{$:0},"no-ip":{$:0}},cat:{$:0},cc:{$:0,cloudns:{$:0},ftpaccess:{$:0},"game-server":{$:0},myphotos:{$:0},scrapping:{$:0},twmail:{$:0},fantasyleague:{$:0}},cd:{$:0,gov:{$:0}},cf:{$:0,blogspot:{$:0}},cg:{$:0},ch:{$:0,square7:{$:0},blogspot:{$:0},gotdns:{$:0},"12hp":{$:0},"2ix":{$:0},"4lima":{$:0},"lima-city":{$:0}},ci:{$:0,org:{$:0},or:{$:0},com:{$:0},co:{$:0},edu:{$:0},ed:{$:0},ac:{$:0},net:{$:0},go:{$:0},asso:{$:0},"xn--aroport-bya":{$:0},int:{$:0},presse:{$:0},md:{$:0},gouv:{$:0}},ck:{"*":{$:0}},cl:{$:0,gov:{$:0},gob:{$:0},co:{$:0},mil:{$:0},blogspot:{$:0},nom:{$:0}},cm:{$:0,co:{$:0},com:{$:0},gov:{$:0},net:{$:0}},cn:{$:0,ac:{$:0},com:{$:0,amazonaws:{compute:{"*":{$:0}},eb:{"cn-north-1":{$:0}},elb:{"*":{$:0}},"cn-north-1":{s3:{$:0}}}},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0},mil:{$:0},"xn--55qx5d":{$:0},"xn--io0a7i":{$:0},"xn--od0alg":{$:0},ah:{$:0},bj:{$:0},cq:{$:0},fj:{$:0},gd:{$:0},gs:{$:0},gz:{$:0},gx:{$:0},ha:{$:0},hb:{$:0},he:{$:0},hi:{$:0},hl:{$:0},hn:{$:0},jl:{$:0},js:{$:0},jx:{$:0},ln:{$:0},nm:{$:0},nx:{$:0},qh:{$:0},sc:{$:0},sd:{$:0},sh:{$:0},sn:{$:0},sx:{$:0},tj:{$:0},xj:{$:0},xz:{$:0},yn:{$:0},zj:{$:0},hk:{$:0},mo:{$:0},tw:{$:0}},co:{$:0,arts:{$:0},com:{$:0,blogspot:{$:0}},edu:{$:0},firm:{$:0},gov:{$:0},info:{$:0},int:{$:0},mil:{$:0},net:{$:0},nom:{$:0},org:{$:0},rec:{$:0},web:{$:0},nodum:{$:0}},com:{$:0,"1password":{$:0},amazonaws:{compute:{"*":{$:0}},"compute-1":{"*":{$:0}},"us-east-1":{$:0,dualstack:{s3:{$:0}}},elb:{"*":{$:0}},s3:{$:0},"s3-ap-northeast-1":{$:0},"s3-ap-northeast-2":{$:0},"s3-ap-south-1":{$:0},"s3-ap-southeast-1":{$:0},"s3-ap-southeast-2":{$:0},"s3-ca-central-1":{$:0},"s3-eu-central-1":{$:0},"s3-eu-west-1":{$:0},"s3-eu-west-2":{$:0},"s3-eu-west-3":{$:0},"s3-external-1":{$:0},"s3-fips-us-gov-west-1":{$:0},"s3-sa-east-1":{$:0},"s3-us-gov-west-1":{$:0},"s3-us-east-2":{$:0},"s3-us-west-1":{$:0},"s3-us-west-2":{$:0},"ap-northeast-2":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"ap-south-1":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"ca-central-1":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"eu-central-1":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"eu-west-2":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"eu-west-3":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"us-east-2":{s3:{$:0},dualstack:{s3:{$:0}},"s3-website":{$:0}},"ap-northeast-1":{dualstack:{s3:{$:0}}},"ap-southeast-1":{dualstack:{s3:{$:0}}},"ap-southeast-2":{dualstack:{s3:{$:0}}},"eu-west-1":{dualstack:{s3:{$:0}}},"sa-east-1":{dualstack:{s3:{$:0}}},"s3-website-us-east-1":{$:0},"s3-website-us-west-1":{$:0},"s3-website-us-west-2":{$:0},"s3-website-ap-northeast-1":{$:0},"s3-website-ap-southeast-1":{$:0},"s3-website-ap-southeast-2":{$:0},"s3-website-eu-west-1":{$:0},"s3-website-sa-east-1":{$:0}},elasticbeanstalk:{$:0,"ap-northeast-1":{$:0},"ap-northeast-2":{$:0},"ap-south-1":{$:0},"ap-southeast-1":{$:0},"ap-southeast-2":{$:0},"ca-central-1":{$:0},"eu-central-1":{$:0},"eu-west-1":{$:0},"eu-west-2":{$:0},"eu-west-3":{$:0},"sa-east-1":{$:0},"us-east-1":{$:0},"us-east-2":{$:0},"us-gov-west-1":{$:0},"us-west-1":{$:0},"us-west-2":{$:0}},"on-aptible":{$:0},myasustor:{$:0},betainabox:{$:0},bplaced:{$:0},ar:{$:0},br:{$:0},cn:{$:0},de:{$:0},eu:{$:0},gb:{$:0},hu:{$:0},jpn:{$:0},kr:{$:0},mex:{$:0},no:{$:0},qc:{$:0},ru:{$:0},sa:{$:0},se:{$:0},uk:{$:0},us:{$:0},uy:{$:0},za:{$:0},africa:{$:0},gr:{$:0},co:{$:0},xenapponazure:{$:0},jdevcloud:{$:0},wpdevcloud:{$:0},cloudcontrolled:{$:0},cloudcontrolapp:{$:0},drayddns:{$:0},dreamhosters:{$:0},mydrobo:{$:0},"dyndns-at-home":{$:0},"dyndns-at-work":{$:0},"dyndns-blog":{$:0},"dyndns-free":{$:0},"dyndns-home":{$:0},"dyndns-ip":{$:0},"dyndns-mail":{$:0},"dyndns-office":{$:0},"dyndns-pics":{$:0},"dyndns-remote":{$:0},"dyndns-server":{$:0},"dyndns-web":{$:0},"dyndns-wiki":{$:0},"dyndns-work":{$:0},blogdns:{$:0},cechire:{$:0},dnsalias:{$:0},dnsdojo:{$:0},doesntexist:{$:0},dontexist:{$:0},doomdns:{$:0},"dyn-o-saur":{$:0},dynalias:{$:0},"est-a-la-maison":{$:0},"est-a-la-masion":{$:0},"est-le-patron":{$:0},"est-mon-blogueur":{$:0},"from-ak":{$:0},"from-al":{$:0},"from-ar":{$:0},"from-ca":{$:0},"from-ct":{$:0},"from-dc":{$:0},"from-de":{$:0},"from-fl":{$:0},"from-ga":{$:0},"from-hi":{$:0},"from-ia":{$:0},"from-id":{$:0},"from-il":{$:0},"from-in":{$:0},"from-ks":{$:0},"from-ky":{$:0},"from-ma":{$:0},"from-md":{$:0},"from-mi":{$:0},"from-mn":{$:0},"from-mo":{$:0},"from-ms":{$:0},"from-mt":{$:0},"from-nc":{$:0},"from-nd":{$:0},"from-ne":{$:0},"from-nh":{$:0},"from-nj":{$:0},"from-nm":{$:0},"from-nv":{$:0},"from-oh":{$:0},"from-ok":{$:0},"from-or":{$:0},"from-pa":{$:0},"from-pr":{$:0},"from-ri":{$:0},"from-sc":{$:0},"from-sd":{$:0},"from-tn":{$:0},"from-tx":{$:0},"from-ut":{$:0},"from-va":{$:0},"from-vt":{$:0},"from-wa":{$:0},"from-wi":{$:0},"from-wv":{$:0},"from-wy":{$:0},getmyip:{$:0},gotdns:{$:0},"hobby-site":{$:0},homelinux:{$:0},homeunix:{$:0},iamallama:{$:0},"is-a-anarchist":{$:0},"is-a-blogger":{$:0},"is-a-bookkeeper":{$:0},"is-a-bulls-fan":{$:0},"is-a-caterer":{$:0},"is-a-chef":{$:0},"is-a-conservative":{$:0},"is-a-cpa":{$:0},"is-a-cubicle-slave":{$:0},"is-a-democrat":{$:0},"is-a-designer":{$:0},"is-a-doctor":{$:0},"is-a-financialadvisor":{$:0},"is-a-geek":{$:0},"is-a-green":{$:0},"is-a-guru":{$:0},"is-a-hard-worker":{$:0},"is-a-hunter":{$:0},"is-a-landscaper":{$:0},"is-a-lawyer":{$:0},"is-a-liberal":{$:0},"is-a-libertarian":{$:0},"is-a-llama":{$:0},"is-a-musician":{$:0},"is-a-nascarfan":{$:0},"is-a-nurse":{$:0},"is-a-painter":{$:0},"is-a-personaltrainer":{$:0},"is-a-photographer":{$:0},"is-a-player":{$:0},"is-a-republican":{$:0},"is-a-rockstar":{$:0},"is-a-socialist":{$:0},"is-a-student":{$:0},"is-a-teacher":{$:0},"is-a-techie":{$:0},"is-a-therapist":{$:0},"is-an-accountant":{$:0},"is-an-actor":{$:0},"is-an-actress":{$:0},"is-an-anarchist":{$:0},"is-an-artist":{$:0},"is-an-engineer":{$:0},"is-an-entertainer":{$:0},"is-certified":{$:0},"is-gone":{$:0},"is-into-anime":{$:0},"is-into-cars":{$:0},"is-into-cartoons":{$:0},"is-into-games":{$:0},"is-leet":{$:0},"is-not-certified":{$:0},"is-slick":{$:0},"is-uberleet":{$:0},"is-with-theband":{$:0},"isa-geek":{$:0},"isa-hockeynut":{$:0},issmarterthanyou:{$:0},"likes-pie":{$:0},likescandy:{$:0},"neat-url":{$:0},"saves-the-whales":{$:0},selfip:{$:0},"sells-for-less":{$:0},"sells-for-u":{$:0},servebbs:{$:0},"simple-url":{$:0},"space-to-rent":{$:0},"teaches-yoga":{$:0},writesthisblog:{$:0},ddnsfree:{$:0},ddnsgeek:{$:0},giize:{$:0},gleeze:{$:0},kozow:{$:0},loseyourip:{$:0},ooguy:{$:0},theworkpc:{$:0},mytuleap:{$:0},evennode:{"eu-1":{$:0},"eu-2":{$:0},"eu-3":{$:0},"eu-4":{$:0},"us-1":{$:0},"us-2":{$:0},"us-3":{$:0},"us-4":{$:0}},fbsbx:{apps:{$:0}},firebaseapp:{$:0},flynnhub:{$:0},"freebox-os":{$:0},freeboxos:{$:0},githubusercontent:{$:0},"0emm":{"*":{$:0}},appspot:{$:0},blogspot:{$:0},codespot:{$:0},googleapis:{$:0},googlecode:{$:0},pagespeedmobilizer:{$:0},publishproxy:{$:0},withgoogle:{$:0},withyoutube:{$:0},herokuapp:{$:0},herokussl:{$:0},pixolino:{$:0},joyent:{cns:{"*":{$:0}}},barsyonline:{$:0},meteorapp:{$:0,eu:{$:0}},bitballoon:{$:0},netlify:{$:0},"4u":{$:0},nfshost:{$:0},blogsyte:{$:0},ciscofreak:{$:0},damnserver:{$:0},ditchyourip:{$:0},dnsiskinky:{$:0},dynns:{$:0},geekgalaxy:{$:0},"health-carereform":{$:0},homesecuritymac:{$:0},homesecuritypc:{$:0},myactivedirectory:{$:0},mysecuritycamera:{$:0},"net-freaks":{$:0},onthewifi:{$:0},point2this:{$:0},quicksytes:{$:0},securitytactics:{$:0},serveexchange:{$:0},servehumour:{$:0},servep2p:{$:0},servesarcasm:{$:0},stufftoread:{$:0},unusualperson:{$:0},workisboring:{$:0},"3utilities":{$:0},ddnsking:{$:0},myvnc:{$:0},servebeer:{$:0},servecounterstrike:{$:0},serveftp:{$:0},servegame:{$:0},servehalflife:{$:0},servehttp:{$:0},serveirc:{$:0},servemp3:{$:0},servepics:{$:0},servequake:{$:0},operaunite:{$:0},outsystemscloud:{$:0},ownprovider:{$:0},pgfog:{$:0},pagefrontapp:{$:0},gotpantheon:{$:0},prgmr:{xen:{$:0}},qa2:{$:0},"dev-myqnapcloud":{$:0},"alpha-myqnapcloud":{$:0},myqnapcloud:{$:0},quipelements:{"*":{$:0}},rackmaze:{$:0},rhcloud:{$:0},logoip:{$:0},scrysec:{$:0},"firewall-gateway":{$:0},myshopblocks:{$:0},"1kapp":{$:0},appchizi:{$:0},applinzi:{$:0},sinaapp:{$:0},vipsinaapp:{$:0},"bounty-full":{$:0,alpha:{$:0},beta:{$:0}},"temp-dns":{$:0},dsmynas:{$:0},familyds:{$:0},bloxcms:{$:0},"townnews-staging":{$:0},hk:{$:0},remotewd:{$:0},yolasite:{$:0}},coop:{$:0},cr:{$:0,ac:{$:0},co:{$:0},ed:{$:0},fi:{$:0},go:{$:0},or:{$:0},sa:{$:0}},cu:{$:0,com:{$:0},edu:{$:0},org:{$:0},net:{$:0},gov:{$:0},inf:{$:0}},cv:{$:0,blogspot:{$:0}},cw:{$:0,com:{$:0},edu:{$:0},net:{$:0},org:{$:0}},cx:{$:0,gov:{$:0},ath:{$:0},info:{$:0}},cy:{$:0,ac:{$:0},biz:{$:0},com:{$:0,blogspot:{$:0}},ekloges:{$:0},gov:{$:0},ltd:{$:0},name:{$:0},net:{$:0},org:{$:0},parliament:{$:0},press:{$:0},pro:{$:0},tm:{$:0}},cz:{$:0,co:{$:0},realm:{$:0},e4:{$:0},blogspot:{$:0},metacentrum:{cloud:{$:0},custom:{$:0}}},de:{$:0,bplaced:{$:0},square7:{$:0},com:{$:0},cosidns:{dyn:{$:0}},"dynamisches-dns":{$:0},dnsupdater:{$:0},"internet-dns":{$:0},"l-o-g-i-n":{$:0},dnshome:{$:0},fuettertdasnetz:{$:0},isteingeek:{$:0},istmein:{$:0},lebtimnetz:{$:0},leitungsen:{$:0},traeumtgerade:{$:0},ddnss:{$:0,dyn:{$:0},dyndns:{$:0}},dyndns1:{$:0},"dyn-ip24":{$:0},"home-webserver":{$:0,dyn:{$:0}},"myhome-server":{$:0},goip:{$:0},blogspot:{$:0},keymachine:{$:0},"git-repos":{$:0},"lcube-server":{$:0},"svn-repos":{$:0},barsy:{$:0},logoip:{$:0},"firewall-gateway":{$:0},"my-gateway":{$:0},"my-router":{$:0},spdns:{$:0},"taifun-dns":{$:0},"12hp":{$:0},"2ix":{$:0},"4lima":{$:0},"lima-city":{$:0},"dd-dns":{$:0},"dray-dns":{$:0},draydns:{$:0},"dyn-vpn":{$:0},dynvpn:{$:0},"mein-vigor":{$:0},"my-vigor":{$:0},"my-wan":{$:0},"syno-ds":{$:0},"synology-diskstation":{$:0},"synology-ds":{$:0}},dj:{$:0},dk:{$:0,biz:{$:0},co:{$:0},firm:{$:0},reg:{$:0},store:{$:0},blogspot:{$:0}},dm:{$:0,com:{$:0},net:{$:0},org:{$:0},edu:{$:0},gov:{$:0}},do:{$:0,art:{$:0},com:{$:0},edu:{$:0},gob:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0},sld:{$:0},web:{$:0}},dz:{$:0,com:{$:0},org:{$:0},net:{$:0},gov:{$:0},edu:{$:0},asso:{$:0},pol:{$:0},art:{$:0}},ec:{$:0,com:{$:0},info:{$:0},net:{$:0},fin:{$:0},k12:{$:0},med:{$:0},pro:{$:0},org:{$:0},edu:{$:0},gov:{$:0},gob:{$:0},mil:{$:0}},edu:{$:0},ee:{$:0,edu:{$:0},gov:{$:0},riik:{$:0},lib:{$:0},med:{$:0},com:{$:0,blogspot:{$:0}},pri:{$:0},aip:{$:0},org:{$:0},fie:{$:0}},eg:{$:0,com:{$:0,blogspot:{$:0}},edu:{$:0},eun:{$:0},gov:{$:0},mil:{$:0},name:{$:0},net:{$:0},org:{$:0},sci:{$:0}},er:{"*":{$:0}},es:{$:0,com:{$:0,blogspot:{$:0}},nom:{$:0},org:{$:0},gob:{$:0},edu:{$:0}},et:{$:0,com:{$:0},gov:{$:0},org:{$:0},edu:{$:0},biz:{$:0},name:{$:0},info:{$:0},net:{$:0}},eu:{$:0,"1password":{$:0},mycd:{$:0},cloudns:{$:0},barsy:{$:0},wellbeingzone:{$:0},spdns:{$:0},transurl:{"*":{$:0}},diskstation:{$:0}},fi:{$:0,aland:{$:0},dy:{$:0},blogspot:{$:0},iki:{$:0}},fj:{"*":{$:0}},fk:{"*":{$:0}},fm:{$:0},fo:{$:0},fr:{$:0,com:{$:0},asso:{$:0},nom:{$:0},prd:{$:0},presse:{$:0},tm:{$:0},aeroport:{$:0},assedic:{$:0},avocat:{$:0},avoues:{$:0},cci:{$:0},chambagri:{$:0},"chirurgiens-dentistes":{$:0},"experts-comptables":{$:0},"geometre-expert":{$:0},gouv:{$:0},greta:{$:0},"huissier-justice":{$:0},medecin:{$:0},notaires:{$:0},pharmacien:{$:0},port:{$:0},veterinaire:{$:0},"fbx-os":{$:0},fbxos:{$:0},"freebox-os":{$:0},freeboxos:{$:0},blogspot:{$:0},"on-web":{$:0},"chirurgiens-dentistes-en-france":{$:0}},ga:{$:0},gb:{$:0},gd:{$:0,nom:{$:0}},ge:{$:0,com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},mil:{$:0}
253,net:{$:0},pvt:{$:0}},gf:{$:0},gg:{$:0,co:{$:0},net:{$:0},org:{$:0},cya:{$:0}},gh:{$:0,com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},mil:{$:0}},gi:{$:0,com:{$:0},ltd:{$:0},gov:{$:0},mod:{$:0},edu:{$:0},org:{$:0}},gl:{$:0,co:{$:0},com:{$:0},edu:{$:0},net:{$:0},org:{$:0},nom:{$:0}},gm:{$:0},gn:{$:0,ac:{$:0},com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},net:{$:0}},gov:{$:0},gp:{$:0,com:{$:0},net:{$:0},mobi:{$:0},edu:{$:0},org:{$:0},asso:{$:0}},gq:{$:0},gr:{$:0,com:{$:0},edu:{$:0},net:{$:0},org:{$:0},gov:{$:0},blogspot:{$:0},nym:{$:0}},gs:{$:0},gt:{$:0,com:{$:0},edu:{$:0},gob:{$:0},ind:{$:0},mil:{$:0},net:{$:0},org:{$:0},nom:{$:0}},gu:{"*":{$:0}},gw:{$:0},gy:{$:0,co:{$:0},com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},hk:{$:0,com:{$:0},edu:{$:0},gov:{$:0},idv:{$:0},net:{$:0},org:{$:0},"xn--55qx5d":{$:0},"xn--wcvs22d":{$:0},"xn--lcvr32d":{$:0},"xn--mxtq1m":{$:0},"xn--gmqw5a":{$:0},"xn--ciqpn":{$:0},"xn--gmq050i":{$:0},"xn--zf0avx":{$:0},"xn--io0a7i":{$:0},"xn--mk0axi":{$:0},"xn--od0alg":{$:0},"xn--od0aq3b":{$:0},"xn--tn0ag":{$:0},"xn--uc0atv":{$:0},"xn--uc0ay4a":{$:0},blogspot:{$:0},ltd:{$:0},inc:{$:0}},hm:{$:0},hn:{$:0,com:{$:0},edu:{$:0},org:{$:0}
vendor: 2,175 bytes, line 253
253,net:{$:0},mil:{$:0},gob:{$:0},nom:{$:0}},hr:{$:0,iz:{$:0},from:{$:0},name:{$:0},com:{$:0},blogspot:{$:0}},ht:{$:0,com:{$:0},shop:{$:0},firm:{$:0},info:{$:0},adult:{$:0},net:{$:0},pro:{$:0},org:{$:0},med:{$:0},art:{$:0},coop:{$:0},pol:{$:0},asso:{$:0},edu:{$:0},rel:{$:0},gouv:{$:0},perso:{$:0}},hu:{2000:{$:0},$:0,co:{$:0},info:{$:0},org:{$:0},priv:{$:0},sport:{$:0},tm:{$:0},agrar:{$:0},bolt:{$:0},casino:{$:0},city:{$:0},erotica:{$:0},erotika:{$:0},film:{$:0},forum:{$:0},games:{$:0},hotel:{$:0},ingatlan:{$:0},jogasz:{$:0},konyvelo:{$:0},lakas:{$:0},media:{$:0},news:{$:0},reklam:{$:0},sex:{$:0},shop:{$:0},suli:{$:0},szex:{$:0},tozsde:{$:0},utazas:{$:0},video:{$:0},blogspot:{$:0}},id:{$:0,ac:{$:0},biz:{$:0},co:{$:0,blogspot:{$:0}},desa:{$:0},go:{$:0},mil:{$:0},my:{$:0},net:{$:0},or:{$:0},sch:{$:0},web:{$:0}},ie:{$:0,gov:{$:0},blogspot:{$:0}},il:{$:0,ac:{$:0},co:{$:0,blogspot:{$:0}},gov:{$:0},idf:{$:0},k12:{$:0},muni:{$:0},net:{$:0},org:{$:0}},im:{$:0,ac:{$:0},co:{$:0,ltd:{$:0},plc:{$:0}},com:{$:0},net:{$:0},org:{$:0},tt:{$:0},tv:{$:0},ro:{$:0},nom:{$:0}},in:{$:0,co:{$:0},firm:{$:0},net:{$:0},org:{$:0},gen:{$:0},ind:{$:0},nic:{$:0},ac:{$:0},edu:{$:0},res:{$:0},gov:{$:0},mil:{$:0},cloudns:{$:0},blogspot:{$:0},barsy:{$:0}},info:{$:0,cloudns:{$:0},"dynamic-dns":{$:0},dyndns:{$:0},"barrel-of-knowledge":{$:0},"barrell-of-knowledge":{$:0},"for-our":{$:0},"groks-the":{$:0},"groks-this":{$:0},"here-for-more":{$:0},knowsitall:{$:0},selfip:{$:0},webhop:{$:0},nsupdate:{$:0},dvrcam:{$:0},ilovecollege:{$:0},"no-ip":{$:0},"v-info":{$:0}},int:{$:0,eu:{$:0}},io:{$:0,com:{$:0},backplaneapp:{$:0},boxfuse:{$:0},browsersafetymark:{$:0},dedyn:{$:0},drud:{$:0},definima:{$:0},enonic:{$:0,customer:{$:0}},github:{$:0},gitlab:{$:0},"hasura-app":{$:0},ngrok:{$:0},nodeart:{stage:{$:0}},nodum:{$:0},nid:{$:0},pantheonsite:{$:0},protonet:{$:0},vaporcloud:{$:0},resindevice:{$:0},resinstaging:{devices:{$:0}},hzc:{$:0},sandcats:{$:0},s5y:{"*":{$:0}},shiftedit:{$:0},lair:{apps:{$:0}},stolos:{"*":{$:0}},spacekit:{$:0},thingdust:{dev:{cust:{$:0}},disrec:{cust:{$:0}},prod:{cust:{$:0}},testing:{cust:{$:0}}},wedeploy:{$:0}},iq:{$:0,gov:{$:0},edu:{$:0},mil:{$:0},com:{$:0},org:{$:0}
253,net:{$:0}},ir:{$:0,ac:{$:0},co:{$:0},gov:{$:0},id:{$:0},net:{$:0},org:{$:0},sch:{$:0},"xn--mgba3a4f16a":{$:0},"xn--mgba3a4fra":{$:0}},is:{$:0,net:{$:0},com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},int:{$:0},cupcake:{$:0},blogspot:{$:0}},it:{$:0,gov:{$:0},edu:{$:0},abr:{$:0},abruzzo:{$:0},"aosta-valley":{$:0},aostavalley:{$:0},bas:{$:0},basilicata:{$:0},cal:{$:0},calabria:{$:0},cam:{$:0},campania:{$:0},"emilia-romagna":{$:0},emiliaromagna:{$:0},emr:{$:0},"friuli-v-giulia":{$:0},"friuli-ve-giulia":{$:0},"friuli-vegiulia":{$:0},"friuli-venezia-giulia":{$:0},"friuli-veneziagiulia":{$:0},"friuli-vgiulia":{$:0},"friuliv-giulia":{$:0},"friulive-giulia":{$:0},friulivegiulia:{$:0},"friulivenezia-giulia":{$:0},friuliveneziagiulia:{$:0},friulivgiulia:{$:0},fvg:{$:0},laz:{$:0},lazio:{$:0},lig:{$:0},liguria:{$:0},lom:{$:0},lombardia:{$:0},lombardy:{$:0},lucania:{$:0},mar:{$:0},marche:{$:0},mol:{$:0},molise:{$:0},piedmont:{$:0},piemonte:{$:0},pmn:{$:0},pug:{$:0},puglia:{$:0},sar:{$:0},sardegna:{$:0},sardinia:{$:0},sic:{$:0},sicilia:{$:0},sicily:{$:0},taa:{$:0},tos:{$:0},toscana:{$:0},"trentino-a-adige":{$:0},"trentino-aadige":{$:0},"trentino-alto-adige":{$:0},"trentino-altoadige":{$:0},"trentino-s-tirol":{$:0},"trentino-stirol":{$:0},"trentino-sud-tirol":{$:0},"trentino-sudtirol":{$:0},"trentino-sued-tirol":{$:0},"trentino-suedtirol":{$:0},"trentinoa-adige":{$:0},trentinoaadige:{$:0},"trentinoalto-adige":{$:0},trentinoaltoadige:{$:0},"trentinos-tirol":{$:0},trentinostirol:{$:0},"trentinosud-tirol":{$:0},trentinosudtirol:{$:0},"trentinosued-tirol":{$:0},trentinosuedtirol:{$:0},tuscany:{$:0},umb:{$:0},umbria:{$:0},"val-d-aosta":{$:0},"val-daosta":{$:0},"vald-aosta":{$:0},valdaosta:{$:0},"valle-aosta":{$:0},"valle-d-aosta":{$:0},"valle-daosta":{$:0},valleaosta:{$:0},"valled-aosta":{$:0},valledaosta:{$:0},"vallee-aoste":{$:0},valleeaoste:{$:0},vao:{$:0},vda:{$:0},ven:{$:0},veneto:{$:0},ag:{$:0},agrigento:{$:0},al:{$:0},alessandria:{$:0},"alto-adige":{$:0},altoadige:{$:0},an:{$:0},ancona:{$:0},"andria-barletta-trani":{$:0},"andria-trani-barletta":{$:0},andriabarlettatrani:{$:0},andriatranibarletta:{$:0},ao:{$:0},aosta:{$:0},aoste:{$:0},ap:{$:0},aq:{$:0},aquila:{$:0},ar:{$:0},arezzo:{$:0},"ascoli-piceno":{$:0},ascolipiceno:{$:0},asti:{$:0},at:{$:0},av:{$:0},avellino:{$:0},ba:{$:0},balsan:{$:0},bari:{$:0},"barletta-trani-andria":{$:0},barlettatraniandria:{$:0},belluno:{$:0},benevento:{$:0},bergamo:{$:0},bg:{$:0},bi:{$:0},biella:{$:0},bl:{$:0},bn:{$:0},bo:{$:0},bologna:{$:0},bolzano:{$:0},bozen:{$:0},br:{$:0},brescia:{$:0},brindisi:{$:0},bs:{$:0},bt:{$:0},bz:{$:0},ca:{$:0},cagliari:{$:0},caltanissetta:{$:0},"campidano-medio":{$:0},campidanomedio:{$:0},campobasso:{$:0},"carbonia-iglesias":{$:0},carboniaiglesias:{$:0},"carrara-massa":{$:0},carraramassa:{$:0},caserta:{$:0},catania:{$:0},catanzaro:{$:0},cb:{$:0},ce:{$:0},"cesena-forli":{$:0},cesenaforli:{$:0},ch:{$:0},chieti:{$:0},ci:{$:0},cl:{$:0},cn:{$:0},co:{$:0},como:{$:0},cosenza:{$:0},cr:{$:0},cremona:{$:0},crotone:{$:0},cs:{$:0},ct:{$:0},cuneo:{$:0},cz:{$:0},"dell-ogliastra":{$:0},dellogliastra:{$:0},en:{$:0},enna:{$:0},fc:{$:0},fe:{$:0},fermo:{$:0},ferrara:{$:0},fg:{$:0},fi:{$:0},firenze:{$:0},florence:{$:0},fm:{$:0},foggia:{$:0},"forli-cesena":{$:0},forlicesena:{$:0},fr:{$:0},frosinone:{$:0},ge:{$:0},genoa:{$:0},genova:{$:0},go:{$:0},gorizia:{$:0},gr:{$:0},grosseto:{$:0},"iglesias-carbonia":{$:0},iglesiascarbonia:{$:0},im:{$:0},imperia:{$:0},is:{$:0},isernia:{$:0},kr:{$:0},"la-spezia":{$:0},laquila:{$:0},laspezia:{$:0},latina:{$:0},lc:{$:0},le:{$:0},lecce:{$:0},lecco:{$:0},li:{$:0},livorno:{$:0},lo:{$:0},lodi:{$:0},lt:{$:0},lu:{$:0},lucca:{$:0},macerata:{$:0},mantova:{$:0},"massa-carrara":{$:0},massacarrara:{$:0},matera:{$:0},mb:{$:0},mc:{$:0},me:{$:0},"medio-campidano":{$:0},mediocampidano:{$:0},messina:{$:0},mi:{$:0},milan:{$:0},milano:{$:0},mn:{$:0},mo:{$:0},modena:{$:0},"monza-brianza":{$:0},"monza-e-della-brianza":{$:0},monza:{$:0},monzabrianza:{$:0},monzaebrianza:{$:0},monzaedellabrianza:{$:0},ms:{$:0},mt:{$:0},na:{$:0},naples:{$:0},napoli:{$:0},no:{$:0},novara:{$:0},nu:{$:0},nuoro:{$:0},og:{$:0},ogliastra:{$:0},"olbia-tempio":{$:0},olbiatempio:{$:0},or:{$:0},oristano:{$:0},ot:{$:0},pa:{$:0},padova:{$:0},padua:{$:0},palermo:{$:0},parma:{$:0},pavia:{$:0},pc:{$:0},pd:{$:0},pe:{$:0},perugia:{$:0},"pesaro-urbino":{$:0},pesarourbino:{$:0},pescara:{$:0},pg:{$:0},pi:{$:0},piacenza:{$:0},pisa:{$:0},pistoia:{$:0}
253,pn:{$:0},po:{$:0},pordenone:{$:0},potenza:{$:0},pr:{$:0},prato:{$:0},pt:{$:0},pu:{$:0},pv:{$:0},pz:{$:0},ra:{$:0},ragusa:{$:0},ravenna:{$:0},rc:{$:0},re:{$:0},"reggio-calabria":{$:0},"reggio-emilia":{$:0},reggiocalabria:{$:0},reggioemilia:{$:0},rg:{$:0},ri:{$:0},rieti:{$:0},rimini:{$:0},rm:{$:0},rn:{$:0},ro:{$:0},roma:{$:0},rome:{$:0},rovigo:{$:0},sa:{$:0},salerno:{$:0},sassari:{$:0},savona:{$:0},si:{$:0},siena:{$:0},siracusa:{$:0},so:{$:0},sondrio:{$:0},sp:{$:0},sr:{$:0},ss:{$:0},suedtirol:{$:0},sv:{$:0},ta:{$:0},taranto:{$:0},te:{$:0},"tempio-olbia":{$:0},tempioolbia:{$:0},teramo:{$:0},terni:{$:0},tn:{$:0},to:{$:0},torino:{$:0},tp:{$:0},tr:{$:0},"trani-andria-barletta":{$:0},"trani-barletta-andria":{$:0},traniandriabarletta:{$:0},tranibarlettaandria:{$:0},trapani:{$:0},trentino:{$:0},trento:{$:0},treviso:{$:0},trieste:{$:0},ts:{$:0},turin:{$:0},tv:{$:0},ud:{$:0},udine:{$:0},"urbino-pesaro":{$:0},urbinopesaro:{$:0},va:{$:0},varese:{$:0},vb:{$:0},vc:{$:0},ve:{$:0},venezia:{$:0},venice:{$:0},verbania:{$:0},vercelli:{$:0},verona:{$:0},vi:{$:0},"vibo-valentia":{$:0},vibovalentia:{$:0},vicenza:{$:0},viterbo:{$:0},vr:{$:0},vs:{$:0},vt:{$:0},vv:{$:0},blogspot:{$:0}},je:{$:0,co:{$:0},net:{$:0},org:{$:0}},jm:{"*":{$:0}},jo:{$:0,com:{$:0},org:{$:0}
253,net:{$:0},edu:{$:0},sch:{$:0},gov:{$:0},mil:{$:0},name:{$:0}},jobs:{$:0},jp:{$:0,ac:{$:0},ad:{$:0},co:{$:0},ed:{$:0},go:{$:0},gr:{$:0},lg:{$:0},ne:{$:0
vendor: 23,752 bytes, line 253
253},or:{$:0},aichi:{$:0,aisai:{$:0},ama:{$:0},anjo:{$:0},asuke:{$:0},chiryu:{$:0},chita:{$:0},fuso:{$:0},gamagori:{$:0},handa:{$:0},hazu:{$:0},hekinan:{$:0},higashiura:{$:0},ichinomiya:{$:0},inazawa:{$:0},inuyama:{$:0},isshiki:{$:0},iwakura:{$:0},kanie:{$:0},kariya:{$:0},kasugai:{$:0},kira:{$:0},kiyosu:{$:0},komaki:{$:0},konan:{$:0},kota:{$:0},mihama:{$:0},miyoshi:{$:0},nishio:{$:0},nisshin:{$:0},obu:{$:0},oguchi:{$:0},oharu:{$:0},okazaki:{$:0},owariasahi:{$:0},seto:{$:0},shikatsu:{$:0},shinshiro:{$:0},shitara:{$:0},tahara:{$:0},takahama:{$:0},tobishima:{$:0},toei:{$:0},togo:{$:0},tokai:{$:0},tokoname:{$:0},toyoake:{$:0},toyohashi:{$:0},toyokawa:{$:0},toyone:{$:0},toyota:{$:0},tsushima:{$:0},yatomi:{$:0}},akita:{$:0,akita:{$:0},daisen:{$:0},fujisato:{$:0},gojome:{$:0},hachirogata:{$:0},happou:{$:0},higashinaruse:{$:0},honjo:{$:0},honjyo:{$:0},ikawa:{$:0},kamikoani:{$:0},kamioka:{$:0},katagami:{$:0},kazuno:{$:0},kitaakita:{$:0},kosaka:{$:0},kyowa:{$:0},misato:{$:0},mitane:{$:0},moriyoshi:{$:0},nikaho:{$:0},noshiro:{$:0},odate:{$:0},oga:{$:0},ogata:{$:0},semboku:{$:0},yokote:{$:0},yurihonjo:{$:0}},aomori:{$:0,aomori:{$:0},gonohe:{$:0},hachinohe:{$:0},hashikami:{$:0},hiranai:{$:0},hirosaki:{$:0},itayanagi:{$:0},kuroishi:{$:0},misawa:{$:0},mutsu:{$:0},nakadomari:{$:0},noheji:{$:0},oirase:{$:0},owani:{$:0},rokunohe:{$:0},sannohe:{$:0},shichinohe:{$:0},shingo:{$:0},takko:{$:0},towada:{$:0},tsugaru:{$:0},tsuruta:{$:0}},chiba:{$:0,abiko:{$:0},asahi:{$:0},chonan:{$:0},chosei:{$:0},choshi:{$:0},chuo:{$:0},funabashi:{$:0},futtsu:{$:0},hanamigawa:{$:0},ichihara:{$:0},ichikawa:{$:0},ichinomiya:{$:0},inzai:{$:0},isumi:{$:0},kamagaya:{$:0},kamogawa:{$:0},kashiwa:{$:0},katori:{$:0},katsuura:{$:0},kimitsu:{$:0},kisarazu:{$:0},kozaki:{$:0},kujukuri:{$:0},kyonan:{$:0},matsudo:{$:0},midori:{$:0},mihama:{$:0},minamiboso:{$:0},mobara:{$:0},mutsuzawa:{$:0},nagara:{$:0},nagareyama:{$:0},narashino:{$:0},narita:{$:0},noda:{$:0},oamishirasato:{$:0},omigawa:{$:0},onjuku:{$:0},otaki:{$:0},sakae:{$:0},sakura:{$:0},shimofusa:{$:0},shirako:{$:0},shiroi:{$:0},shisui:{$:0},sodegaura:{$:0},sosa:{$:0},tako:{$:0},tateyama:{$:0},togane:{$:0},tohnosho:{$:0},tomisato:{$:0},urayasu:{$:0},yachimata:{$:0},yachiyo:{$:0},yokaichiba:{$:0},yokoshibahikari:{$:0},yotsukaido:{$:0}},ehime:{$:0,ainan:{$:0},honai:{$:0},ikata:{$:0},imabari:{$:0},iyo:{$:0},kamijima:{$:0},kihoku:{$:0},kumakogen:{$:0},masaki:{$:0},matsuno:{$:0},matsuyama:{$:0},namikata:{$:0},niihama:{$:0},ozu:{$:0},saijo:{$:0},seiyo:{$:0},shikokuchuo:{$:0},tobe:{$:0},toon:{$:0},uchiko:{$:0},uwajima:{$:0},yawatahama:{$:0}},fukui:{$:0,echizen:{$:0},eiheiji:{$:0},fukui:{$:0},ikeda:{$:0},katsuyama:{$:0},mihama:{$:0},minamiechizen:{$:0},obama:{$:0},ohi:{$:0},ono:{$:0},sabae:{$:0},sakai:{$:0},takahama:{$:0},tsuruga:{$:0},wakasa:{$:0}},fukuoka:{$:0,ashiya:{$:0},buzen:{$:0},chikugo:{$:0},chikuho:{$:0},chikujo:{$:0},chikushino:{$:0},chikuzen:{$:0},chuo:{$:0},dazaifu:{$:0},fukuchi:{$:0},hakata:{$:0},higashi:{$:0},hirokawa:{$:0},hisayama:{$:0},iizuka:{$:0},inatsuki:{$:0},kaho:{$:0},kasuga:{$:0},kasuya:{$:0},kawara:{$:0},keisen:{$:0},koga:{$:0},kurate:{$:0},kurogi:{$:0},kurume:{$:0},minami:{$:0},miyako:{$:0},miyama:{$:0},miyawaka:{$:0},mizumaki:{$:0},munakata:{$:0},nakagawa:{$:0},nakama:{$:0},nishi:{$:0},nogata:{$:0},ogori:{$:0},okagaki:{$:0},okawa:{$:0},oki:{$:0},omuta:{$:0},onga:{$:0},onojo:{$:0},oto:{$:0},saigawa:{$:0},sasaguri:{$:0},shingu:{$:0},shinyoshitomi:{$:0},shonai:{$:0},soeda:{$:0},sue:{$:0},tachiarai:{$:0},tagawa:{$:0},takata:{$:0},toho:{$:0},toyotsu:{$:0},tsuiki:{$:0},ukiha:{$:0},umi:{$:0},usui:{$:0},yamada:{$:0},yame:{$:0},yanagawa:{$:0},yukuhashi:{$:0}},fukushima:{$:0,aizubange:{$:0},aizumisato:{$:0},aizuwakamatsu:{$:0},asakawa:{$:0},bandai:{$:0},date:{$:0},fukushima:{$:0},furudono:{$:0},futaba:{$:0},hanawa:{$:0},higashi:{$:0},hirata:{$:0},hirono:{$:0},iitate:{$:0},inawashiro:{$:0},ishikawa:{$:0},iwaki:{$:0},izumizaki:{$:0},kagamiishi:{$:0},kaneyama:{$:0},kawamata:{$:0},kitakata:{$:0},kitashiobara:{$:0},koori:{$:0},koriyama:{$:0},kunimi:{$:0},miharu:{$:0},mishima:{$:0},namie:{$:0},nango:{$:0},nishiaizu:{$:0},nishigo:{$:0},okuma:{$:0},omotego:{$:0},ono:{$:0},otama:{$:0},samegawa:{$:0},shimogo:{$:0},shirakawa:{$:0},showa:{$:0},soma:{$:0},sukagawa:{$:0},taishin:{$:0},tamakawa:{$:0},tanagura:{$:0},tenei:{$:0},yabuki:{$:0},yamato:{$:0},yamatsuri:{$:0},yanaizu:{$:0},yugawa:{$:0}},gifu:{$:0,anpachi:{$:0},ena:{$:0},gifu:{$:0},ginan:{$:0},godo:{$:0},gujo:{$:0},hashima:{$:0},hichiso:{$:0},hida:{$:0},higashishirakawa:{$:0},ibigawa:{$:0},ikeda:{$:0},kakamigahara:{$:0},kani:{$:0},kasahara:{$:0},kasamatsu:{$:0},kawaue:{$:0},kitagata:{$:0},mino:{$:0},minokamo:{$:0},mitake:{$:0},mizunami:{$:0},motosu:{$:0},nakatsugawa:{$:0},ogaki:{$:0},sakahogi:{$:0},seki:{$:0},sekigahara:{$:0},shirakawa:{$:0},tajimi:{$:0},takayama:{$:0},tarui:{$:0},toki:{$:0},tomika:{$:0},wanouchi:{$:0},yamagata:{$:0},yaotsu:{$:0},yoro:{$:0}},gunma:{$:0,annaka:{$:0},chiyoda:{$:0},fujioka:{$:0},higashiagatsuma:{$:0},isesaki:{$:0},itakura:{$:0},kanna:{$:0},kanra:{$:0},katashina:{$:0},kawaba:{$:0},kiryu:{$:0},kusatsu:{$:0},maebashi:{$:0},meiwa:{$:0},midori:{$:0},minakami:{$:0},naganohara:{$:0},nakanojo:{$:0},nanmoku:{$:0},numata:{$:0},oizumi:{$:0},ora:{$:0},ota:{$:0},shibukawa:{$:0},shimonita:{$:0},shinto:{$:0},showa:{$:0},takasaki:{$:0},takayama:{$:0},tamamura:{$:0},tatebayashi:{$:0},tomioka:{$:0},tsukiyono:{$:0},tsumagoi:{$:0},ueno:{$:0},yoshioka:{$:0}},hiroshima:{$:0,asaminami:{$:0},daiwa:{$:0},etajima:{$:0},fuchu:{$:0},fukuyama:{$:0},hatsukaichi:{$:0},higashihiroshima:{$:0},hongo:{$:0},jinsekikogen:{$:0},kaita:{$:0},kui:{$:0},kumano:{$:0},kure:{$:0},mihara:{$:0},miyoshi:{$:0},naka:{$:0},onomichi:{$:0},osakikamijima:{$:0},otake:{$:0},saka:{$:0},sera:{$:0},seranishi:{$:0},shinichi:{$:0},shobara:{$:0},takehara:{$:0}},hokkaido:{$:0,abashiri:{$:0},abira:{$:0},aibetsu:{$:0},akabira:{$:0},akkeshi:{$:0},asahikawa:{$:0},ashibetsu:{$:0},ashoro:{$:0},assabu:{$:0},atsuma:{$:0},bibai:{$:0},biei:{$:0},bifuka:{$:0},bihoro:{$:0},biratori:{$:0},chippubetsu:{$:0},chitose:{$:0},date:{$:0},ebetsu:{$:0},embetsu:{$:0},eniwa:{$:0},erimo:{$:0},esan:{$:0},esashi:{$:0},fukagawa:{$:0},fukushima:{$:0},furano:{$:0},furubira:{$:0},haboro:{$:0},hakodate:{$:0},hamatonbetsu:{$:0},hidaka:{$:0},higashikagura:{$:0},higashikawa:{$:0},hiroo:{$:0},hokuryu:{$:0},hokuto:{$:0},honbetsu:{$:0},horokanai:{$:0},horonobe:{$:0},ikeda:{$:0},imakane:{$:0},ishikari:{$:0},iwamizawa:{$:0},iwanai:{$:0},kamifurano:{$:0},kamikawa:{$:0},kamishihoro:{$:0},kamisunagawa:{$:0},kamoenai:{$:0},kayabe:{$:0},kembuchi:{$:0},kikonai:{$:0},kimobetsu:{$:0},kitahiroshima:{$:0},kitami:{$:0},kiyosato:{$:0},koshimizu:{$:0},kunneppu:{$:0},kuriyama:{$:0},kuromatsunai:{$:0},kushiro:{$:0},kutchan:{$:0},kyowa:{$:0},mashike:{$:0},matsumae:{$:0},mikasa:{$:0},minamifurano:{$:0},mombetsu:{$:0},moseushi:{$:0},mukawa:{$:0},muroran:{$:0},naie:{$:0},nakagawa:{$:0},nakasatsunai:{$:0},nakatombetsu:{$:0},nanae:{$:0},nanporo:{$:0},nayoro:{$:0},nemuro:{$:0},niikappu:{$:0},niki:{$:0},nishiokoppe:{$:0},noboribetsu:{$:0},numata:{$:0},obihiro:{$:0},obira:{$:0},oketo:{$:0},okoppe:{$:0},otaru:{$:0},otobe:{$:0},otofuke:{$:0},otoineppu:{$:0},oumu:{$:0},ozora:{$:0},pippu:{$:0},rankoshi:{$:0},rebun:{$:0},rikubetsu:{$:0},rishiri:{$:0},rishirifuji:{$:0},saroma:{$:0},sarufutsu:{$:0},shakotan:{$:0},shari:{$:0},shibecha:{$:0},shibetsu:{$:0},shikabe:{$:0},shikaoi:{$:0},shimamaki:{$:0},shimizu:{$:0},shimokawa:{$:0},shinshinotsu:{$:0},shintoku:{$:0},shiranuka:{$:0},shiraoi:{$:0},shiriuchi:{$:0},sobetsu:{$:0},sunagawa:{$:0},taiki:{$:0},takasu:{$:0},takikawa:{$:0},takinoue:{$:0},teshikaga:{$:0},tobetsu:{$:0},tohma:{$:0},tomakomai:{$:0},tomari:{$:0},toya:{$:0},toyako:{$:0},toyotomi:{$:0},toyoura:{$:0},tsubetsu:{$:0},tsukigata:{$:0},urakawa:{$:0},urausu:{$:0},uryu:{$:0},utashinai:{$:0},wakkanai:{$:0},wassamu:{$:0},yakumo:{$:0},yoichi:{$:0}},hyogo:{$:0,aioi:{$:0},akashi:{$:0},ako:{$:0},amagasaki:{$:0},aogaki:{$:0},asago:{$:0},ashiya:{$:0},awaji:{$:0},fukusaki:{$:0},goshiki:{$:0},harima:{$:0},himeji:{$:0},ichikawa:{$:0},inagawa:{$:0},itami:{$:0},kakogawa:{$:0},kamigori:{$:0},kamikawa:{$:0},kasai:{$:0},kasuga:{$:0},kawanishi:{$:0},miki:{$:0},minamiawaji:{$:0},nishinomiya:{$:0},nishiwaki:{$:0},ono:{$:0},sanda:{$:0},sannan:{$:0},sasayama:{$:0},sayo:{$:0},shingu:{$:0},shinonsen:{$:0},shiso:{$:0},sumoto:{$:0},taishi:{$:0},taka:{$:0},takarazuka:{$:0},takasago:{$:0},takino:{$:0},tamba:{$:0},tatsuno:{$:0},toyooka:{$:0},yabu:{$:0},yashiro:{$:0},yoka:{$:0},yokawa:{$:0}},ibaraki:{$:0,ami:{$:0},asahi:{$:0},bando:{$:0},chikusei:{$:0},daigo:{$:0},fujishiro:{$:0},hitachi:{$:0},hitachinaka:{$:0},hitachiomiya:{$:0},hitachiota:{$:0},ibaraki:{$:0},ina:{$:0},inashiki:{$:0},itako:{$:0},iwama:{$:0},joso:{$:0},kamisu:{$:0},kasama:{$:0},kashima:{$:0},kasumigaura:{$:0},koga:{$:0},miho:{$:0},mito:{$:0},moriya:{$:0},naka:{$:0},namegata:{$:0},oarai:{$:0},ogawa:{$:0},omitama:{$:0},ryugasaki:{$:0},sakai:{$:0},sakuragawa:{$:0},shimodate:{$:0},shimotsuma:{$:0},shirosato:{$:0},sowa:{$:0},suifu:{$:0},takahagi:{$:0},tamatsukuri:{$:0},tokai:{$:0},tomobe:{$:0},tone:{$:0},toride:{$:0},tsuchiura:{$:0},tsukuba:{$:0},uchihara:{$:0},ushiku:{$:0},yachiyo:{$:0},yamagata:{$:0},yawara:{$:0},yuki:{$:0}},ishikawa:{$:0,anamizu:{$:0},hakui:{$:0},hakusan:{$:0},kaga:{$:0},kahoku:{$:0},kanazawa:{$:0},kawakita:{$:0},komatsu:{$:0},nakanoto:{$:0},nanao:{$:0},nomi:{$:0},nonoichi:{$:0},noto:{$:0},shika:{$:0},suzu:{$:0},tsubata:{$:0},tsurugi:{$:0},uchinada:{$:0},wajima:{$:0}},iwate:{$:0,fudai:{$:0},fujisawa:{$:0},hanamaki:{$:0},hiraizumi:{$:0},hirono:{$:0},ichinohe:{$:0},ichinoseki:{$:0},iwaizumi:{$:0},iwate:{$:0},joboji:{$:0},kamaishi:{$:0},kanegasaki:{$:0},karumai:{$:0},kawai:{$:0},kitakami:{$:0},kuji:{$:0},kunohe:{$:0},kuzumaki:{$:0},miyako:{$:0},mizusawa:{$:0},morioka:{$:0},ninohe:{$:0},noda:{$:0},ofunato:{$:0},oshu:{$:0},otsuchi:{$:0},rikuzentakata:{$:0},shiwa:{$:0},shizukuishi:{$:0},sumita:{$:0},tanohata:{$:0},tono:{$:0},yahaba:{$:0},yamada:{$:0}},kagawa:{$:0,ayagawa:{$:0},higashikagawa:{$:0},kanonji:{$:0},kotohira:{$:0},manno:{$:0},marugame:{$:0},mitoyo:{$:0},naoshima:{$:0},sanuki:{$:0},tadotsu:{$:0},takamatsu:{$:0},tonosho:{$:0},uchinomi:{$:0},utazu:{$:0},zentsuji:{$:0}},kagoshima:{$:0,akune:{$:0},amami:{$:0},hioki:{$:0},isa:{$:0},isen:{$:0},izumi:{$:0},kagoshima:{$:0},kanoya:{$:0},kawanabe:{$:0},kinko:{$:0},kouyama:{$:0},makurazaki:{$:0},matsumoto:{$:0},minamitane:{$:0},nakatane:{$:0},nishinoomote:{$:0},satsumasendai:{$:0},soo:{$:0},tarumizu:{$:0},yusui:{$:0}},kanagawa:{$:0,aikawa:{$:0},atsugi:{$:0},ayase:{$:0},chigasaki:{$:0},ebina:{$:0},fujisawa:{$:0},hadano:{$:0},hakone:{$:0},hiratsuka:{$:0},isehara:{$:0},kaisei:{$:0},kamakura:{$:0},kiyokawa:{$:0},matsuda:{$:0},minamiashigara:{$:0},miura:{$:0},nakai:{$:0},ninomiya:{$:0},odawara:{$:0},oi:{$:0},oiso:{$:0},sagamihara:{$:0},samukawa:{$:0},tsukui:{$:0},yamakita:{$:0},yamato:{$:0},yokosuka:{$:0},yugawara:{$:0},zama:{$:0},zushi:{$:0}},kochi:{$:0,aki:{$:0},geisei:{$:0},hidaka:{$:0},higashitsuno:{$:0},ino:{$:0},kagami:{$:0},kami:{$:0},kitagawa:{$:0},kochi:{$:0},mihara:{$:0},motoyama:{$:0},muroto:{$:0},nahari:{$:0},nakamura:{$:0},nankoku:{$:0},nishitosa:{$:0},niyodogawa:{$:0},ochi:{$:0},okawa:{$:0},otoyo:{$:0},otsuki:{$:0},sakawa:{$:0},sukumo:{$:0},susaki:{$:0},tosa:{$:0},tosashimizu:{$:0},toyo:{$:0},tsuno:{$:0},umaji:{$:0},yasuda:{$:0},yusuhara:{$:0}},kumamoto:{$:0,amakusa:{$:0},arao:{$:0},aso:{$:0},choyo:{$:0},gyokuto:{$:0},kamiamakusa:{$:0},kikuchi:{$:0},kumamoto:{$:0},mashiki:{$:0},mifune:{$:0},minamata:{$:0},minamioguni:{$:0},nagasu:{$:0},nishihara:{$:0},oguni:{$:0},ozu:{$:0},sumoto:{$:0},takamori:{$:0},uki:{$:0},uto:{$:0},yamaga:{$:0},yamato:{$:0},yatsushiro:{$:0}},kyoto:{$:0,ayabe:{$:0},fukuchiyama:{$:0},higashiyama:{$:0},ide:{$:0},ine:{$:0},joyo:{$:0},kameoka:{$:0},kamo:{$:0},kita:{$:0},kizu:{$:0},kumiyama:{$:0},kyotamba:{$:0},kyotanabe:{$:0},kyotango:{$:0},maizuru:{$:0},minami:{$:0},minamiyamashiro:{$:0},miyazu:{$:0},muko:{$:0},nagaokakyo:{$:0},nakagyo:{$:0},nantan:{$:0},oyamazaki:{$:0},sakyo:{$:0},seika:{$:0},tanabe:{$:0},uji:{$:0},ujitawara:{$:0},wazuka:{$:0},yamashina:{$:0},yawata:{$:0}},mie:{$:0,asahi:{$:0},inabe:{$:0},ise:{$:0},kameyama:{$:0},kawagoe:{$:0},kiho:{$:0},kisosaki:{$:0},kiwa:{$:0},komono:{$:0},kumano:{$:0},kuwana:{$:0},matsusaka:{$:0},meiwa:{$:0},mihama:{$:0},minamiise:{$:0},misugi:{$:0},miyama:{$:0},nabari:{$:0},shima:{$:0},suzuka:{$:0},tado:{$:0},taiki:{$:0},taki:{$:0},tamaki:{$:0},toba:{$:0},tsu:{$:0},udono:{$:0},ureshino:{$:0},watarai:{$:0},yokkaichi:{$:0}},miyagi:{$:0,furukawa:{$:0},higashimatsushima:{$:0},ishinomaki:{$:0},iwanuma:{$:0},kakuda:{$:0},kami:{$:0},kawasaki:{$:0},marumori:{$:0},matsushima:{$:0},minamisanriku:{$:0},misato:{$:0},murata:{$:0},natori:{$:0},ogawara:{$:0},ohira:{$:0},onagawa:{$:0},osaki:{$:0},rifu:{$:0},semine:{$:0},shibata:{$:0},shichikashuku:{$:0},shikama:{$:0},shiogama:{$:0},shiroishi:{$:0},tagajo:{$:0},taiwa:{$:0},tome:{$:0},tomiya:{$:0},wakuya:{$:0},watari:{$:0},yamamoto:{$:0},zao:{$:0}},miyazaki:{$:0,aya:{$:0},ebino:{$:0},gokase:{$:0},hyuga:{$:0},kadogawa:{$:0},kawaminami:{$:0},kijo:{$:0},kitagawa:{$:0},kitakata:{$:0},kitaura:{$:0},kobayashi:{$:0},kunitomi:{$:0},kushima:{$:0},mimata:{$:0},miyakonojo:{$:0},miyazaki:{$:0},morotsuka:{$:0},nichinan:{$:0},nishimera:{$:0},nobeoka:{$:0},saito:{$:0},shiiba:{$:0},shintomi:{$:0},takaharu:{$:0},takanabe:{$:0},takazaki:{$:0},tsuno:{$:0}},nagano:{$:0,achi:{$:0},agematsu:{$:0},anan:{$:0},aoki:{$:0},asahi:{$:0},azumino:{$:0},chikuhoku:{$:0},chikuma:{$:0},chino:{$:0},fujimi:{$:0},hakuba:{$:0},hara:{$:0},hiraya:{$:0},iida:{$:0},iijima:{$:0},iiyama:{$:0},iizuna:{$:0},ikeda:{$:0},ikusaka:{$:0},ina:{$:0},karuizawa:{$:0},kawakami:{$:0},kiso:{$:0},kisofukushima:{$:0},kitaaiki:{$:0},komagane:{$:0},komoro:{$:0},matsukawa:{$:0},matsumoto:{$:0},miasa:{$:0},minamiaiki:{$:0},minamimaki:{$:0},minamiminowa:{$:0},minowa:{$:0},miyada:{$:0},miyota:{$:0},mochizuki:{$:0},nagano:{$:0},nagawa:{$:0},nagiso:{$:0},nakagawa:{$:0},nakano:{$:0},nozawaonsen:{$:0},obuse:{$:0},ogawa:{$:0},okaya:{$:0},omachi:{$:0},omi:{$:0},ookuwa:{$:0},ooshika:{$:0},otaki:{$:0},otari:{$:0},sakae:{$:0},sakaki:{$:0},saku:{$:0},sakuho:{$:0},shimosuwa:{$:0},shinanomachi:{$:0},shiojiri:{$:0},suwa:{$:0},suzaka:{$:0},takagi:{$:0},takamori:{$:0},takayama:{$:0},tateshina:{$:0},tatsuno:{$:0},togakushi:{$:0},togura:{$:0},tomi:{$:0},ueda:{$:0},wada:{$:0},yamagata:{$:0},yamanouchi:{$:0},yasaka:{$:0},yasuoka:{$:0}},nagasaki:{$:0,chijiwa:{$:0},futsu:{$:0},goto:{$:0},hasami:{$:0},hirado:{$:0},iki:{$:0},isahaya:{$:0},kawatana:{$:0},kuchinotsu:{$:0},matsuura:{$:0},nagasaki:{$:0},obama:{$:0},omura:{$:0},oseto:{$:0},saikai:{$:0},sasebo:{$:0},seihi:{$:0},shimabara:{$:0},shinkamigoto:{$:0},togitsu:{$:0},tsushima:{$:0},unzen:{$:0}},nara:{$:0,ando:{$:0},gose:{$:0},heguri:{$:0},higashiyoshino:{$:0},ikaruga:{$:0},ikoma:{$:0},kamikitayama:{$:0},kanmaki:{$:0},kashiba:{$:0},kashihara:{$:0},katsuragi:{$:0},kawai:{$:0},kawakami:{$:0},kawanishi:{$:0},koryo:{$:0},kurotaki:{$:0},mitsue:{$:0},miyake:{$:0},nara:{$:0},nosegawa:{$:0},oji:{$:0},ouda:{$:0},oyodo:{$:0},sakurai:{$:0},sango:{$:0},shimoichi:{$:0},shimokitayama:{$:0},shinjo:{$:0},soni:{$:0},takatori:{$:0},tawaramoto:{$:0},tenkawa:{$:0},tenri:{$:0},uda:{$:0},yamatokoriyama:{$:0},yamatotakada:{$:0},yamazoe:{$:0},yoshino:{$:0}},niigata:{$:0,aga:{$:0},agano:{$:0},gosen:{$:0},itoigawa:{$:0},izumozaki:{$:0},joetsu:{$:0},kamo:{$:0},kariwa:{$:0},kashiwazaki:{$:0},minamiuonuma:{$:0},mitsuke:{$:0},muika:{$:0},murakami:{$:0},myoko:{$:0},nagaoka:{$:0},niigata:{$:0},ojiya:{$:0},omi:{$:0},sado:{$:0},sanjo:{$:0},seiro:{$:0},seirou:{$:0},sekikawa:{$:0},shibata:{$:0},tagami:{$:0},tainai:{$:0},tochio:{$:0},tokamachi:{$:0},tsubame:{$:0},tsunan:{$:0},uonuma:{$:0},yahiko:{$:0},yoita:{$:0},yuzawa:{$:0}},oita:{$:0,beppu:{$:0},bungoono:{$:0},bungotakada:{$:0},hasama:{$:0},hiji:{$:0},himeshima:{$:0},hita:{$:0},kamitsue:{$:0},kokonoe:{$:0},kuju:{$:0},kunisaki:{$:0},kusu:{$:0},oita:{$:0},saiki:{$:0},taketa:{$:0},tsukumi:{$:0},usa:{$:0},usuki:{$:0},yufu:{$:0}},okayama:{$:0,akaiwa:{$:0},asakuchi:{$:0},bizen:{$:0},hayashima:{$:0},ibara:{$:0},kagamino:{$:0},kasaoka:{$:0},kibichuo:{$:0},kumenan:{$:0},kurashiki:{$:0},maniwa:{$:0},misaki:{$:0},nagi:{$:0},niimi:{$:0},nishiawakura:{$:0},okayama:{$:0},satosho:{$:0},setouchi:{$:0},shinjo:{$:0},shoo:{$:0},soja:{$:0},takahashi:{$:0},tamano:{$:0},tsuyama:{$:0},wake:{$:0},yakage:{$:0}},okinawa:{$:0,aguni:{$:0},ginowan:{$:0},ginoza:{$:0},gushikami:{$:0},haebaru:{$:0},higashi:{$:0},hirara:{$:0},iheya:{$:0},ishigaki:{$:0},ishikawa:{$:0},itoman:{$:0},izena:{$:0},kadena:{$:0},kin:{$:0},kitadaito:{$:0},kitanakagusuku:{$:0},kumejima:{$:0},kunigami:{$:0},minamidaito:{$:0},motobu:{$:0},nago:{$:0},naha:{$:0},nakagusuku:{$:0},nakijin:{$:0},nanjo:{$:0},nishihara:{$:0},ogimi:{$:0},okinawa:{$:0},onna:{$:0},shimoji:{$:0},taketomi:{$:0},tarama:{$:0},tokashiki:{$:0},tomigusuku:{$:0},tonaki:{$:0},urasoe:{$:0},uruma:{$:0},yaese:{$:0},yomitan:{$:0},yonabaru:{$:0},yonaguni:{$:0},zamami:{$:0}},osaka:{$:0,abeno:{$:0},chihayaakasaka:{$:0},chuo:{$:0},daito:{$:0},fujiidera:{$:0},habikino:{$:0},hannan:{$:0},higashiosaka:{$:0},higashisumiyoshi:{$:0},higashiyodogawa:{$:0},hirakata:{$:0},ibaraki:{$:0},ikeda:{$:0},izumi:{$:0},izumiotsu:{$:0},izumisano:{$:0},kadoma:{$:0},kaizuka:{$:0},kanan:{$:0},kashiwara:{$:0},katano:{$:0},kawachinagano:{$:0},kishiwada:{$:0},kita:{$:0},kumatori:{$:0},matsubara:{$:0},minato:{$:0},minoh:{$:0},misaki:{$:0},moriguchi:{$:0},neyagawa:{$:0},nishi:{$:0},nose:{$:0},osakasayama:{$:0},sakai:{$:0},sayama:{$:0},sennan:{$:0},settsu:{$:0},shijonawate:{$:0},shimamoto:{$:0},suita:{$:0},tadaoka:{$:0},taishi:{$:0},tajiri:{$:0},takaishi:{$:0},takatsuki:{$:0},tondabayashi:{$:0},toyonaka:{$:0},toyono:{$:0},yao:{$:0}},saga:{$:0,ariake:{$:0},arita:{$:0},fukudomi:{$:0},genkai:{$:0},hamatama:{$:0},hizen:{$:0},imari:{$:0},kamimine:{$:0},kanzaki:{$:0},karatsu:{$:0},kashima:{$:0},kitagata:{$:0},kitahata:{$:0},kiyama:{$:0},kouhoku:{$:0},kyuragi:{$:0},nishiarita:{$:0},ogi:{$:0},omachi:{$:0},ouchi:{$:0},saga:{$:0},shiroishi:{$:0},taku:{$:0},tara:{$:0},tosu:{$:0},yoshinogari:{$:0}},saitama:{$:0,arakawa:{$:0},asaka:{$:0},chichibu:{$:0},fujimi:{$:0},fujimino:{$:0},fukaya:{$:0},hanno:{$:0},hanyu:{$:0},hasuda:{$:0},hatogaya:{$:0},hatoyama:{$:0},hidaka:{$:0},higashichichibu:{$:0},higashimatsuyama:{$:0},honjo:{$:0},ina:{$:0},iruma:{$:0},iwatsuki:{$:0},kamiizumi:{$:0},kamikawa:{$:0},kamisato:{$:0},kasukabe:{$:0},kawagoe:{$:0},kawaguchi:{$:0},kawajima:{$:0},kazo:{$:0},kitamoto:{$:0},koshigaya:{$:0},kounosu:{$:0},kuki:{$:0},kumagaya:{$:0},matsubushi:{$:0},minano:{$:0},misato:{$:0},miyashiro:{$:0},miyoshi:{$:0},moroyama:{$:0},nagatoro:{$:0},namegawa:{$:0},niiza:{$:0},ogano:{$:0},ogawa:{$:0},ogose:{$:0},okegawa:{$:0},omiya:{$:0},otaki:{$:0},ranzan:{$:0},ryokami:{$:0},saitama:{$:0},sakado:{$:0},satte:{$:0},sayama:{$:0},shiki:{$:0},shiraoka:{$:0},soka:{$:0},sugito:{$:0},toda:{$:0},tokigawa:{$:0},tokorozawa:{$:0},tsurugashima:{$:0},urawa:{$:0},warabi:{$:0},yashio:{$:0},yokoze:{$:0},yono:{$:0},yorii:{$:0},yoshida:{$:0},yoshikawa:{$:0},yoshimi:{$:0}},shiga:{$:0,aisho:{$:0},gamo:{$:0},higashiomi:{$:0},hikone:{$:0},koka:{$:0},konan:{$:0},kosei:{$:0},koto:{$:0},kusatsu:{$:0},maibara:{$:0},moriyama:{$:0},nagahama:{$:0},nishiazai:{$:0},notogawa:{$:0},omihachiman:{$:0},otsu:{$:0},ritto:{$:0},ryuoh:{$:0},takashima:{$:0},takatsuki:{$:0},torahime:{$:0},toyosato:{$:0},yasu:{$:0}},shimane:{$:0,akagi:{$:0},ama:{$:0},gotsu:{$:0},hamada:{$:0},higashiizumo:{$:0},hikawa:{$:0},hikimi:{$:0},izumo:{$:0},kakinoki:{$:0},masuda:{$:0},matsue:{$:0},misato:{$:0},nishinoshima:{$:0},ohda:{$:0},okinoshima:{$:0},okuizumo:{$:0},shimane:{$:0},tamayu:{$:0},tsuwano:{$:0},unnan:{$:0},yakumo:{$:0},yasugi:{$:0},yatsuka:{$:0}},shizuoka:{$:0,arai:{$:0},atami:{$:0},fuji:{$:0},fujieda:{$:0},fujikawa:{$:0},fujinomiya:{$:0},fukuroi:{$:0},gotemba:{$:0},haibara:{$:0},hamamatsu:{$:0},higashiizu:{$:0},ito:{$:0},iwata:{$:0},izu:{$:0},izunokuni:{$:0},kakegawa:{$:0},kannami:{$:0},kawanehon:{$:0},kawazu:{$:0},kikugawa:{$:0},kosai:{$:0},makinohara:{$:0},matsuzaki:{$:0},minamiizu:{$:0},mishima:{$:0},morimachi:{$:0},nishiizu:{$:0},numazu:{$:0},omaezaki:{$:0},shimada:{$:0},shimizu:{$:0},shimoda:{$:0},shizuoka:{$:0},susono:{$:0},yaizu:{$:0},yoshida:{$:0}},tochigi:{$:0,ashikaga:{$:0},bato:{$:0},haga:{$:0},ichikai:{$:0},iwafune:{$:0},kaminokawa:{$:0},kanuma:{$:0},karasuyama:{$:0},kuroiso:{$:0},mashiko:{$:0},mibu:{$:0},moka:{$:0},motegi:{$:0},nasu:{$:0},nasushiobara:{$:0},nikko:{$:0},nishikata:{$:0},nogi:{$:0},ohira:{$:0},ohtawara:{$:0},oyama:{$:0},sakura:{$:0},sano:{$:0},shimotsuke:{$:0},shioya:{$:0},takanezawa:{$:0},tochigi:{$:0},tsuga:{$:0},ujiie:{$:0},utsunomiya:{$:0},yaita:{$:0}},tokushima:{$:0,aizumi:{$:0},anan:{$:0},ichiba:{$:0},itano:{$:0},kainan:{$:0},komatsushima:{$:0},matsushige:{$:0},mima:{$:0},minami:{$:0},miyoshi:{$:0},mugi:{$:0},nakagawa:{$:0},naruto:{$:0},sanagochi:{$:0},shishikui:{$:0},tokushima:{$:0},wajiki:{$:0}},tokyo:{$:0,adachi:{$:0},akiruno:{$:0},akishima:{$:0},aogashima:{$:0},arakawa:{$:0},bunkyo:{$:0},chiyoda:{$:0},chofu:{$:0},chuo:{$:0},edogawa:{$:0},fuchu:{$:0},fussa:{$:0},hachijo:{$:0},hachioji:{$:0},hamura:{$:0},higashikurume:{$:0},higashimurayama:{$:0},higashiyamato:{$:0},hino:{$:0},hinode:{$:0},hinohara:{$:0},inagi:{$:0},itabashi:{$:0},katsushika:{$:0},kita:{$:0},kiyose:{$:0},kodaira:{$:0},koganei:{$:0},kokubunji:{$:0},komae:{$:0},koto:{$:0},kouzushima:{$:0},kunitachi:{$:0},machida:{$:0},meguro:{$:0},minato:{$:0},mitaka:{$:0},mizuho:{$:0},musashimurayama:{$:0},musashino:{$:0},nakano:{$:0},nerima:{$:0},ogasawara:{$:0},okutama:{$:0},ome:{$:0},oshima:{$:0},ota:{$:0},setagaya:{$:0},shibuya:{$:0},shinagawa:{$:0},shinjuku:{$:0},suginami:{$:0},sumida:{$:0},tachikawa:{$:0},taito:{$:0},tama:{$:0},toshima:{$:0}},tottori:{$:0,chizu:{$:0},hino:{$:0},kawahara:{$:0},koge:{$:0},kotoura:{$:0},misasa:{$:0},nanbu:{$:0},nichinan:{$:0},sakaiminato:{$:0},tottori:{$:0},wakasa:{$:0},yazu:{$:0},yonago:{$:0}},toyama:{$:0,asahi:{$:0},fuchu:{$:0},fukumitsu:{$:0},funahashi:{$:0},himi:{$:0},imizu:{$:0},inami:{$:0},johana:{$:0},kamiichi:{$:0},kurobe:{$:0},nakaniikawa:{$:0},namerikawa:{$:0},nanto:{$:0},nyuzen:{$:0},oyabe:{$:0},taira:{$:0},takaoka:{$:0},tateyama:{$:0},toga:{$:0},tonami:{$:0},toyama:{$:0},unazuki:{$:0},uozu:{$:0},yamada:{$:0}},wakayama:{$:0,arida:{$:0},aridagawa:{$:0},gobo:{$:0},hashimoto:{$:0},hidaka:{$:0},hirogawa:{$:0},inami:{$:0},iwade:{$:0},kainan:{$:0},kamitonda:{$:0},katsuragi:{$:0},kimino:{$:0},kinokawa:{$:0},kitayama:{$:0},koya:{$:0},koza:{$:0},kozagawa:{$:0},kudoyama:{$:0},kushimoto:{$:0},mihama:{$:0},misato:{$:0},nachikatsuura:{$:0},shingu:{$:0},shirahama:{$:0},taiji:{$:0},tanabe:{$:0},wakayama:{$:0},yuasa:{$:0},yura:{$:0}},yamagata:{$:0,asahi:{$:0},funagata:{$:0},higashine:{$:0},iide:{$:0},kahoku:{$:0},kaminoyama:{$:0},kaneyama:{$:0},kawanishi:{$:0},mamurogawa:{$:0},mikawa:{$:0},murayama:{$:0},nagai:{$:0},nakayama:{$:0},nanyo:{$:0},nishikawa:{$:0},obanazawa:{$:0},oe:{$:0},oguni:{$:0},ohkura:{$:0},oishida:{$:0},sagae:{$:0},sakata:{$:0},sakegawa:{$:0},shinjo:{$:0},shirataka:{$:0},shonai:{$:0},takahata:{$:0},tendo:{$:0},tozawa:{$:0},tsuruoka:{$:0},yamagata:{$:0},yamanobe:{$:0},yonezawa:{$:0},yuza:{$:0}},yamaguchi:{$:0,abu:{$:0},hagi:{$:0},hikari:{$:0},hofu:{$:0},iwakuni:{$:0},kudamatsu:{$:0},mitou:{$:0},nagato:{$:0},oshima:{$:0},shimonoseki:{$:0},shunan:{$:0},tabuse:{$:0},tokuyama:{$:0},toyota:{$:0},ube:{$:0},yuu:{$:0}},yamanashi:{$:0,chuo:{$:0},doshi:{$:0},fuefuki:{$:0},fujikawa:{$:0},fujikawaguchiko:{$:0},fujiyoshida:{$:0},hayakawa:{$:0},hokuto:{$:0},ichikawamisato:{$:0},kai:{$:0},kofu:{$:0},koshu:{$:0},kosuge:{$:0},"minami-alps":{$:0},minobu:{$:0},nakamichi:{$:0},nanbu:{$:0},narusawa:{$:0},nirasaki:{$:0},nishikatsura:{$:0},oshino:{$:0},otsuki:{$:0},showa:{$:0},tabayama:{$:0},tsuru:{$:0},uenohara:{$:0},yamanakako:{$:0},yamanashi:{$:0}},"xn--
2534pvxs":{$:0},"xn--vgu402c":{$:0},"xn--c3s14m":{$:0},"xn--f6qx53a":{$:0},"xn--8pvr4u":{$:0},"xn--uist22h":{$:0},"xn--djrs72d6uy":{$:0},"xn--mkru45i":{$:0},"xn--0trq7p7nn":{$:0},"xn--8ltr62k":{$:0},"xn--2m4a15e":{$:0},"xn--efvn9s":{$:0},"xn--32vp30h":{$:0},"xn--4it797k":{$:0},"xn--1lqs71d":{$:0},"xn--5rtp49c":{$:0},"xn--5js045d":{$:0},"xn--ehqz56n":{$:0},"xn--1lqs03n":{$:0},"xn--qqqt11m":{$:0},"xn--kbrq7o":{$:0},"xn--pssu33l":{$:0},"xn--ntsq17g":{$:0},"xn--uisz3g":{$:0},"xn--6btw5a":{$:0},"xn--1ctwo":{$:0},"xn--6orx2r":{$:0},"xn--rht61e":{$:0},"xn--rht27z":{$:0},"xn--djty4k":{$:0},"xn--nit225k":{$:0},"xn--rht3d":{$:0},"xn--klty5x":{$:0},"xn--kltx9a":{$:0},"xn--kltp7d":{$:0},"xn--uuwu58a":{$:0},"xn--zbx025d":{$:0},"xn--ntso0iqx3a":{$:0},"xn--elqq16h":{$:0},"xn--4it168d":{$:0},"xn--klt787d":{$:0},"xn--rny31h":{$:0},"xn--7t0a264c":{$:0},"xn--5rtq34k":{$:0},"xn--k7yn95e":{$:0},"xn--tor131o":{$:0},"xn--d5qv7z876c":{$:0},kawasaki:{"*":{$:0}},kitakyushu:{"*":{$:0}},kobe:{"*":{$:0}},nagoya:{"*":{$:0}},sapporo:{"*":{$:0}},sendai:{"*":{$:0}},yokohama:{"*":{$:0}},blogspot:{$:0}},ke:{$:0,ac:{$:0},co:{$:0,blogspot:{$:0}},go:{$:0},info:{$:0},me:{$:0},mobi:{$:0},ne:{$:0},or:{$:0},sc:{$:0}},kg:{$:0,org:{$:0}
253,net:{$:0},com:{$:0},edu:{$:0},gov:{$:0},mil:{$:0}},kh:{"*":{$:0}},ki:{$:0,edu:{$:0},biz:{$:0},net:{$:0},org:{$:0},gov:{$:0},info:{$:0},com:{$:0}},km:{$:0,org:{$:0},nom:{$:0},gov:{$:0},prd:{$:0},tm:{$:0},edu:{$:0},mil:{$:0},ass:{$:0},com:{$:0},coop:{$:0},asso:{$:0},presse:{$:0},medecin:{$:0},notaires:{$:0},pharmaciens:{$:0},veterinaire:{$:0},gouv:{$:0}},kn:{$:0,net:{$:0},org:{$:0},edu:{$:0},gov:{$:0}},kp:{$:0,com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},rep:{$:0},tra:{$:0}},kr:{$:0,ac:{$:0},co:{$:0},es:{$:0},go:{$:0},hs:{$:0},kg:{$:0},mil:{$:0},ms:{$:0},ne:{$:0},or:{$:0},pe:{$:0},re:{$:0},sc:{$:0},busan:{$:0},chungbuk:{$:0},chungnam:{$:0},daegu:{$:0},daejeon:{$:0},gangwon:{$:0},gwangju:{$:0},gyeongbuk:{$:0},gyeonggi:{$:0},gyeongnam:{$:0},incheon:{$:0},jeju:{$:0},jeonbuk:{$:0},jeonnam:{$:0},seoul:{$:0},ulsan:{$:0},blogspot:{$:0}},kw:{"*":{$:0}},ky:{$:0,edu:{$:0},gov:{$:0},com:{$:0},org:{$:0},net:{$:0}},kz:{$:0,org:{$:0},edu:{$:0},net:{$:0},gov:{$:0},mil:{$:0},com:{$:0},nym:{$:0}},la:{$:0,int:{$:0},net:{$:0},info:{$:0},edu:{$:0},gov:{$:0},per:{$:0},com:{$:0},org:{$:0},bnr:{$:0},c:{$:0},nym:{$:0}},lb:{$:0,com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},lc:{$:0,com:{$:0}
253,net:{$:0},co:{$:0},org:{$:0},edu:{$:0},gov:{$:0},oy:{$:0}},li:{$:0,blogspot:{$:0},nom:{$:0},nym:{$:0}},lk:{$:0,gov:{$:0},sch:{$:0},net:{$:0},int:{$:0},com:{$:0},org:{$:0},edu:{$:0},ngo:{$:0},soc:{$:0},web:{$:0},ltd:{$:0},assn:{$:0},grp:{$:0},hotel:{$:0},ac:{$:0}},lr:{$:0,com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},net:{$:0}},ls:{$:0,co:{$:0},org:{$:0}},lt:{$:0,gov:{$:0},blogspot:{$:0},nym:{$:0}},lu:{$:0,blogspot:{$:0},nym:{$:0}},lv:{$:0,com:{$:0},edu:{$:0},gov:{$:0},org:{$:0},mil:{$:0},id:{$:0},net:{$:0},asn:{$:0},conf:{$:0}},ly:{$:0,com:{$:0},net:{$:0},gov:{$:0},plc:{$:0},edu:{$:0},sch:{$:0},med:{$:0},org:{$:0},id:{$:0}},ma:{$:0,co:{$:0},net:{$:0},gov:{$:0},org:{$:0},ac:{$:0},press:{$:0}},mc:{$:0,tm:{$:0},asso:{$:0}},md:{$:0,blogspot:{$:0}},me:{$:0,co:{$:0},net:{$:0},org:{$:0},edu:{$:0},ac:{$:0},gov:{$:0},its:{$:0},priv:{$:0},c66:{$:0},daplie:{$:0,localhost:{$:0}},filegear:{$:0},brasilia:{$:0},ddns:{$:0},dnsfor:{$:0},hopto:{$:0},loginto:{$:0},noip:{$:0},webhop:{$:0},nym:{$:0},diskstation:{$:0},dscloud:{$:0},i234:{$:0},myds:{$:0},synology:{$:0},wedeploy:{$:0},yombo:{$:0}},mg:{$:0,org:{$:0},nom:{$:0},gov:{$:0},prd:{$:0},tm:{$:0},edu:{$:0},mil:{$:0},com:{$:0},co:{$:0}},mh:{$:0},mil:{$:0},mk:{$:0,com:{$:0},org:{$:0}
253,net:{$:0},edu:{$:0},gov:{$:0},inf:{$:0},name:{$:0},blogspot:{$:0},nom:{$:0}},ml:{$:0,com:{$:0},edu:{$:0},gouv:{$:0},gov:{$:0},net:{$:0},org:{$:0},presse:{$:0}},mm:{"*":{$:0}},mn:{$:0,gov:{$:0},edu:{$:0},org:{$:0},nyc:{$:0}},mo:{$:0,com:{$:0},net:{$:0},org:{$:0},edu:{$:0},gov:{$:0}},mobi:{$:0,dscloud:{$:0}},mp:{$:0},mq:{$:0},mr:{$:0,gov:{$:0},blogspot:{$:0}},ms:{$:0,com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},mt:{$:0,com:{$:0,blogspot:{$:0}},edu:{$:0},net:{$:0},org:{$:0}},mu:{$:0,com:{$:0},net:{$:0},org:{$:0},gov:{$:0},ac:{$:0},co:{$:0},or:{$:0}},museum:{$:0,academy:{$:0},agriculture:{$:0},air:{$:0},airguard:{$:0},alabama:{$:0},alaska:{$:0},amber:{$:0},ambulance:{$:0},american:{$:0},americana:{$:0},americanantiques:{$:0},americanart:{$:0},amsterdam:{$:0},and:{$:0},annefrank:{$:0},anthro:{$:0},anthropology:{$:0},antiques:{$:0},aquarium:{$:0},arboretum:{$:0},archaeological:{$:0},archaeology:{$:0},architecture:{$:0},art:{$:0},artanddesign:{$:0},artcenter:{$:0},artdeco:{$:0},arteducation:{$:0},artgallery:{$:0},arts:{$:0},artsandcrafts:{$:0},asmatart:{$:0},assassination:{$:0},assisi:{$:0},association:{$:0},astronomy:{$:0},atlanta:{$:0},austin:{$:0},australia:{$:0},automotive:{$:0},aviation:{$:0},axis:{$:0},badajoz:{$:0},baghdad:{$:0},bahn:{$:0},bale:{$:0},baltimore:{$:0},barcelona:{$:0},baseball:{$:0},basel:{$:0},baths:{$:0},bauern:{$:0},beauxarts:{$:0},beeldengeluid:{$:0},bellevue:{$:0},bergbau:{$:0},berkeley:{$:0},berlin:{$:0},bern:{$:0},bible:{$:0},bilbao:{$:0},bill:{$:0},birdart:{$:0},birthplace:{$:0},bonn:{$:0},boston:{$:0},botanical:{$:0},botanicalgarden:{$:0},botanicgarden:{$:0},botany:{$:0},brandywinevalley:{$:0},brasil:{$:0},bristol:{$:0},british:{$:0},britishcolumbia:{$:0},broadcast:{$:0},brunel:{$:0},brussel:{$:0},brussels:{$:0},bruxelles:{$:0},building:{$:0},burghof:{$:0},bus:{$:0},bushey:{$:0},cadaques:{$:0},california:{$:0},cambridge:{$:0},can:{$:0},canada:{$:0},capebreton:{$:0},carrier:{$:0},cartoonart:{$:0},casadelamoneda:{$:0},castle:{$:0},castres:{$:0},celtic:{$:0},center:{$:0},chattanooga:{$:0},cheltenham:{$:0},chesapeakebay:{$:0},chicago:{$:0},children:{$:0},childrens:{$:0},childrensgarden:{$:0},chiropractic:{$:0},chocolate:{$:0},christiansburg:{$:0},cincinnati:{$:0},cinema:{$:0},circus:{$:0},civilisation:{$:0},civilization:{$:0},civilwar:{$:0},clinton:{$:0},clock:{$:0},coal:{$:0},coastaldefence:{$:0},cody:{$:0},coldwar:{$:0},collection:{$:0},colonialwilliamsburg:{$:0},coloradoplateau:{$:0},columbia:{$:0},columbus:{$:0},communication:{$:0},communications:{$:0},community:{$:0},computer:{$:0},computerhistory:{$:0},"xn--comunicaes-v6a2o":{$:0},contemporary:{$:0},contemporaryart:{$:0},convent:{$:0},copenhagen:{$:0},corporation:{$:0},"xn--correios-e-telecomunicaes-ghc29a":{$:0},corvette:{$:0},costume:{$:0},countryestate:{$:0},county:{$:0},crafts:{$:0},cranbrook:{$:0},creation:{$:0},cultural:{$:0},culturalcenter:{$:0},culture:{$:0},cyber:{$:0},cymru:{$:0},dali:{$:0},dallas:{$:0},database:{$:0},ddr:{$:0},decorativearts:{$:0},delaware:{$:0},delmenhorst:{$:0},denmark:{$:0},depot:{$:0},design:{$:0},detroit:{$:0},dinosaur:{$:0},discovery:{$:0},dolls:{$:0},donostia:{$:0},durham:{$:0},eastafrica:{$:0},eastcoast:{$:0},education:{$:0},educational:{$:0},egyptian:{$:0},eisenbahn:{$:0},elburg:{$:0},elvendrell:{$:0},embroidery:{$:0},encyclopedic:{$:0},england:{$:0},entomology:{$:0},environment:{$:0},environmentalconservation:{$:0},epilepsy:{$:0},essex:{$:0},estate:{$:0},ethnology:{$:0},exeter:{$:0},exhibition:{$:0},family:{$:0},farm:{$:0},farmequipment:{$:0},farmers:{$:0},farmstead:{$:0},field:{$:0},figueres:{$:0},filatelia:{$:0},film:{$:0},fineart:{$:0},finearts:{$:0},finland:{$:0},flanders:{$:0},florida:{$:0},force:{$:0},fortmissoula:{$:0},fortworth:{$:0},foundation:{$:0},francaise:{$:0},frankfurt:{$:0},franziskaner:{$:0},freemasonry:{$:0},freiburg:{$:0},fribourg:{$:0},frog:{$:0},fundacio:{$:0},furniture:{$:0},gallery:{$:0},garden:{$:0},gateway:{$:0},geelvinck:{$:0},gemological:{$:0},geology:{$:0},georgia:{$:0},giessen:{$:0},glas:{$:0},glass:{$:0},gorge:{$:0},grandrapids:{$:0},graz:{$:0},guernsey:{$:0},halloffame:{$:0},hamburg:{$:0},handson:{$:0},harvestcelebration:{$:0},hawaii:{$:0},health:{$:0},heimatunduhren:{$:0},hellas:{$:0},helsinki:{$:0},hembygdsforbund:{$:0},heritage:{$:0},histoire:{$:0},historical:{$:0},historicalsociety:{$:0},historichouses:{$:0},historisch:{$:0},historisches:{$:0},history:{$:0},historyofscience:{$:0},horology:{$:0},house:{$:0},humanities:{$:0},illustration:{$:0},imageandsound:{$:0},indian:{$:0},indiana:{$:0},indianapolis:{$:0},indianmarket:{$:0},intelligence:{$:0},interactive:{$:0},iraq:{$:0},iron:{$:0},isleofman:{$:0},jamison:{$:0},jefferson:{$:0},jerusalem:{$:0},jewelry:{$:0},jewish:{$:0},jewishart:{$:0},jfk:{$:0},journalism:{$:0},judaica:{$:0},judygarland:{$:0},juedisches:{$:0},juif:{$:0},karate:{$:0},karikatur:{$:0},kids:{$:0},koebenhavn:{$:0},koeln:{$:0},kunst:{$:0},kunstsammlung:{$:0},kunstunddesign:{$:0},labor:{$:0},labour:{$:0},lajolla:{$:0},lancashire:{$:0},landes:{$:0},lans:{$:0},"xn--lns-qla":{$:0},larsson:{$:0},lewismiller:{$:0},lincoln:{$:0},linz:{$:0},living:{$:0},livinghistory:{$:0},localhistory:{$:0},london:{$:0},losangeles:{$:0},louvre:{$:0},loyalist:{$:0},lucerne:{$:0},luxembourg:{$:0},luzern:{$:0},mad:{$:0},madrid:{$:0},mallorca:{$:0},manchester:{$:0},mansion:{$:0},mansions:{$:0},manx:{$:0},marburg:{$:0},maritime:{$:0},maritimo:{$:0},maryland:{$:0},marylhurst:{$:0},media:{$:0},medical:{$:0},medizinhistorisches:{$:0},meeres:{$:0},memorial:{$:0},mesaverde:{$:0},michigan:{$:0},midatlantic:{$:0},military:{$:0},mill:{$:0},miners:{$:0},mining:{$:0},minnesota:{$:0},missile:{$:0},missoula:{$:0},modern:{$:0},moma:{$:0},money:{$:0},monmouth:{$:0},monticello:{$:0},montreal:{$:0},moscow:{$:0},motorcycle:{$:0},muenchen:{$:0},muenster:{$:0},mulhouse:{$:0},muncie:{$:0},museet:{$:0},museumcenter:{$:0},museumvereniging:{$:0},music:{$:0},national:{$:0},nationalfirearms:{$:0},nationalheritage:{$:0},nativeamerican:{$:0},naturalhistory:{$:0},naturalhistorymuseum:{$:0},naturalsciences:{$:0},nature:{$:0},naturhistorisches:{$:0},natuurwetenschappen:{$:0},naumburg:{$:0},naval:{$:0},nebraska:{$:0},neues:{$:0},newhampshire:{$:0},newjersey:{$:0},newmexico:{$:0},newport:{$:0},newspaper:{$:0},newyork:{$:0},niepce:{$:0},norfolk:{$:0},north:{$:0},nrw:{$:0}
253,nuernberg:{$:0},nuremberg:{$:0},nyc:{$:0},nyny:{$:0},oceanographic:{$:0},oceanographique:{$:0},omaha:{$:0},online:{$:0},ontario:{$:0},openair:{$:0},oregon:{$:0},oregontrail:{$:0},otago:{$:0},oxford:{$:0},pacific:{$:0},paderborn:{$:0},palace:{$:0},paleo:{$:0},palmsprings:{$:0},panama:{$:0},paris:{$:0},pasadena:{$:0},pharmacy:{$:0},philadelphia:{$:0},philadelphiaarea:{$:0},philately:{$:0},phoenix:{$:0},photography:{$:0},pilots:{$:0},pittsburgh:{$:0},planetarium:{$:0},plantation:{$:0},plants:{$:0},plaza:{$:0},portal:{$:0},portland:{$:0},portlligat:{$:0},"posts-and-telecommunications":{$:0},preservation:{$:0},presidio:{$:0},press:{$:0},project:{$:0},public:{$:0},pubol:{$:0},quebec:{$:0},railroad:{$:0},railway:{$:0},research:{$:0},resistance:{$:0},riodejaneiro:{$:0},rochester:{$:0},rockart:{$:0},roma:{$:0},russia:{$:0},saintlouis:{$:0},salem:{$:0},salvadordali:{$:0},salzburg:{$:0},sandiego:{$:0},sanfrancisco:{$:0},santabarbara:{$:0},santacruz:{$:0},santafe:{$:0},saskatchewan:{$:0},satx:{$:0},savannahga:{$:0},schlesisches:{$:0},schoenbrunn:{$:0},schokoladen:{$:0},school:{$:0},schweiz:{$:0},science:{$:0},scienceandhistory:{$:0},scienceandindustry:{$:0},sciencecenter:{$:0},sciencecenters:{$:0},"science-fiction":{$:0},sciencehistory:{$:0},sciences:{$:0},sciencesnaturelles:{$:0},scotland:{$:0},seaport:{$:0},settlement:{$:0},settlers:{$:0},shell:{$:0},sherbrooke:{$:0},sibenik:{$:0},silk:{$:0},ski:{$:0},skole:{$:0},society:{$:0},sologne:{$:0},soundandvision:{$:0},southcarolina:{$:0},southwest:{$:0},space:{$:0},spy:{$:0},square:{$:0},stadt:{$:0},stalbans:{$:0},starnberg:{$:0},state:{$:0},stateofdelaware:{$:0},station:{$:0},steam:{$:0},steiermark:{$:0},stjohn:{$:0},stockholm:{$:0},stpetersburg:{$:0},stuttgart:{$:0},suisse:{$:0},surgeonshall:{$:0},surrey:{$:0},svizzera:{$:0},sweden:{$:0},sydney:{$:0},tank:{$:0},tcm:{$:0},technology:{$:0},telekommunikation:{$:0},television:{$:0},texas:{$:0},textile:{$:0},theater:{$:0},time:{$:0},timekeeping:{$:0},topology:{$:0},torino:{$:0},touch:{$:0},town:{$:0},transport:{$:0},tree:{$:0},trolley:{$:0},trust:{$:0},trustee:{$:0},uhren:{$:0},ulm:{$:0},undersea:{$:0},university:{$:0},usa:{$:0},usantiques:{$:0},usarts:{$:0},uscountryestate:{$:0},usculture:{$:0},usdecorativearts:{$:0},usgarden:{$:0},ushistory:{$:0},ushuaia:{$:0},uslivinghistory:{$:0},utah:{$:0},uvic:{$:0},valley:{$:0},vantaa:{$:0},versailles:{$:0},viking:{$:0},village:{$:0},virginia:{$:0},virtual:{$:0},virtuel:{$:0},vlaanderen:{$:0},volkenkunde:{$:0},wales:{$:0},wallonie:{$:0},war:{$:0},washingtondc:{$:0},watchandclock:{$:0},"watch-and-clock":{$:0},western:{$:0},westfalen:{$:0},whaling:{$:0},wildlife:{$:0},williamsburg:{$:0},windmill:{$:0},workshop:{$:0},york:{$:0},yorkshire:{$:0},yosemite:{$:0},youth:{$:0},zoological:{$:0},zoology:{$:0},"xn--9dbhblg6di":{$:0},"xn--h1aegh":{$:0}},mv:{$:0,aero:{$:0},biz:{$:0},com:{$:0},coop:{$:0},edu:{$:0},gov:{$:0},info:{$:0},int:{$:0},mil:{$:0},museum:{$:0},name:{$:0},net:{$:0},org:{$:0},pro:{$:0}},mw:{$:0,ac:{$:0},biz:{$:0},co:{$:0},com:{$:0},coop:{$:0},edu:{$:0},gov:{$:0},int:{$:0},museum:{$:0},net:{$:0},org:{$:0}},mx:{$:0,com:{$:0},org:{$:0},gob:{$:0},edu:{$:0},net:{$:0},blogspot:{$:0},nym:{$:0}},my:{$:0,com:{$:0}
vendor: 8,603 bytes, line 253
253,net:{$:0},org:{$:0},gov:{$:0},edu:{$:0},mil:{$:0},name:{$:0},blogspot:{$:0}},mz:{$:0,ac:{$:0},adv:{$:0},co:{$:0},edu:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0}},na:{$:0,info:{$:0},pro:{$:0},name:{$:0},school:{$:0},or:{$:0},dr:{$:0},us:{$:0},mx:{$:0},ca:{$:0},in:{$:0},cc:{$:0},tv:{$:0},ws:{$:0},mobi:{$:0},co:{$:0},com:{$:0},org:{$:0}},name:{$:0,her:{forgot:{$:0}},his:{forgot:{$:0}}},nc:{$:0,asso:{$:0},nom:{$:0}},ne:{$:0},net:{$:0,alwaysdata:{$:0},cloudfront:{$:0},t3l3p0rt:{$:0},myfritz:{$:0},boomla:{$:0},bplaced:{$:0},square7:{$:0},gb:{$:0},hu:{$:0},jp:{$:0},se:{$:0},uk:{$:0},in:{$:0},cloudaccess:{$:0},"cdn77-ssl":{$:0},cdn77:{r:{$:0}},"feste-ip":{$:0},"knx-server":{$:0},"static-access":{$:0},cryptonomic:{"*":{$:0}},debian:{$:0},"at-band-camp":{$:0},blogdns:{$:0},"broke-it":{$:0},buyshouses:{$:0},dnsalias:{$:0},dnsdojo:{$:0},"does-it":{$:0},dontexist:{$:0},dynalias:{$:0},dynathome:{$:0},endofinternet:{$:0},"from-az":{$:0},"from-co":{$:0},"from-la":{$:0},"from-ny":{$:0},"gets-it":{$:0},"ham-radio-op":{$:0},homeftp:{$:0},homeip:{$:0},homelinux:{$:0},homeunix:{$:0},"in-the-band":{$:0},"is-a-chef":{$:0},"is-a-geek":{$:0},"isa-geek":{$:0},"kicks-ass":{$:0},"office-on-the":{$:0},podzone:{$:0},"scrapper-site":{$:0},selfip:{$:0},"sells-it":{$:0},servebbs:{$:0},serveftp:{$:0},thruhere:{$:0},webhop:{$:0},definima:{$:0},casacam:{$:0},dynu:{$:0},dynv6:{$:0},twmail:{$:0},ru:{$:0},channelsdvr:{$:0},fastlylb:{$:0,map:{$:0}},fastly:{freetls:{$:0},map:{$:0},prod:{a:{$:0},global:{$:0}},ssl:{a:{$:0},b:{$:0},global:{$:0}}},flynnhosting:{$:0},cloudfunctions:{$:0},moonscale:{$:0},ipifony:{$:0},barsy:{$:0},azurewebsites:{$:0},"azure-mobile":{$:0},cloudapp:{$:0},"eating-organic":{$:0},mydissent:{$:0},myeffect:{$:0},mymediapc:{$:0},mypsx:{$:0},mysecuritycamera:{$:0},nhlfan:{$:0},"no-ip":{$:0},pgafan:{$:0},privatizehealthinsurance:{$:0},bounceme:{$:0},ddns:{$:0},redirectme:{$:0},serveblog:{$:0},serveminecraft:{$:0},sytes:{$:0},rackmaze:{$:0},"firewall-gateway":{$:0},dsmynas:{$:0},familyds:{$:0},za:{$:0}},nf:{$:0,com:{$:0},net:{$:0},per:{$:0},rec:{$:0},web:{$:0},arts:{$:0},firm:{$:0},info:{$:0},other:{$:0},store:{$:0}},ng:{$:0,com:{$:0,blogspot:{$:0}},edu:{$:0},gov:{$:0},i:{$:0},mil:{$:0},mobi:{$:0},name:{$:0},net:{$:0},org:{$:0},sch:{$:0}},ni:{$:0,ac:{$:0},biz:{$:0},co:{$:0},com:{$:0},edu:{$:0},gob:{$:0},in:{$:0},info:{$:0},int:{$:0},mil:{$:0},net:{$:0},nom:{$:0},org:{$:0},web:{$:0}},nl:{$:0,bv:{$:0},virtueeldomein:{$:0},co:{$:0},"hosting-cluster":{$:0},blogspot:{$:0},transurl:{"*":{$:0}},cistron:{$:0},demon:{$:0}},no:{$:0,fhs:{$:0},vgs:{$:0},fylkesbibl:{$:0},folkebibl:{$:0},museum:{$:0},idrett:{$:0},priv:{$:0},mil:{$:0},stat:{$:0},dep:{$:0},kommune:{$:0},herad:{$:0},aa:{$:0,gs:{$:0}},ah:{$:0,gs:{$:0}},bu:{$:0,gs:{$:0}},fm:{$:0,gs:{$:0}},hl:{$:0,gs:{$:0}},hm:{$:0,gs:{$:0}},"jan-mayen":{$:0,gs:{$:0}},mr:{$:0,gs:{$:0}},nl:{$:0,gs:{$:0}},nt:{$:0,gs:{$:0}},of:{$:0,gs:{$:0}},ol:{$:0,gs:{$:0}},oslo:{$:0,gs:{$:0}},rl:{$:0,gs:{$:0}},sf:{$:0,gs:{$:0}},st:{$:0,gs:{$:0}},svalbard:{$:0,gs:{$:0}},tm:{$:0,gs:{$:0}},tr:{$:0,gs:{$:0}},va:{$:0,gs:{$:0}},vf:{$:0,gs:{$:0}},akrehamn:{$:0},"xn--krehamn-dxa":{$:0},algard:{$:0},"xn--lgrd-poac":{$:0},arna:{$:0},brumunddal:{$:0},bryne:{$:0},bronnoysund:{$:0},"xn--brnnysund-m8ac":{$:0},drobak:{$:0},"xn--drbak-wua":{$:0},egersund:{$:0},fetsund:{$:0},floro:{$:0},"xn--flor-jra":{$:0},fredrikstad:{$:0},hokksund:{$:0},honefoss:{$:0},"xn--hnefoss-q1a":{$:0},jessheim:{$:0},jorpeland:{$:0},"xn--jrpeland-54a":{$:0},kirkenes:{$:0},kopervik:{$:0},krokstadelva:{$:0},langevag:{$:0},"xn--langevg-jxa":{$:0},leirvik:{$:0},mjondalen:{$:0},"xn--mjndalen-64a":{$:0},"mo-i-rana":{$:0},mosjoen:{$:0},"xn--mosjen-eya":{$:0},nesoddtangen:{$:0},orkanger:{$:0},osoyro:{$:0},"xn--osyro-wua":{$:0},raholt:{$:0},"xn--rholt-mra":{$:0},sandnessjoen:{$:0},"xn--sandnessjen-ogb":{$:0},skedsmokorset:{$:0},slattum:{$:0},spjelkavik:{$:0},stathelle:{$:0},stavern:{$:0},stjordalshalsen:{$:0},"xn--stjrdalshalsen-sqb":{$:0},tananger:{$:0},tranby:{$:0},vossevangen:{$:0},afjord:{$:0},"xn--fjord-lra":{$:0},agdenes:{$:0},al:{$:0},"xn--l-1fa":{$:0},alesund:{$:0},"xn--lesund-hua":{$:0},alstahaug:{$:0},alta:{$:0},"xn--lt-liac":{$:0},alaheadju:{$:0},"xn--laheadju-7ya":{$:0},alvdal:{$:0},amli:{$:0},"xn--mli-tla":{$:0},amot:{$:0},"xn--mot-tla":{$:0},andebu:{$:0},andoy:{$:0},"xn--andy-ira":{$:0},andasuolo:{$:0},ardal:{$:0},"xn--rdal-poa":{$:0},aremark:{$:0},arendal:{$:0},"xn--s-1fa":{$:0},aseral:{$:0},"xn--seral-lra":{$:0},asker:{$:0},askim:{$:0},askvoll:{$:0},askoy:{$:0},"xn--asky-ira":{$:0},asnes:{$:0},"xn--snes-poa":{$:0},audnedaln:{$:0},aukra:{$:0},aure:{$:0},aurland:{$:0},"aurskog-holand":{$:0},"xn--aurskog-hland-jnb":{$:0},austevoll:{$:0},austrheim:{$:0},averoy:{$:0},"xn--avery-yua":{$:0},balestrand:{$:0},ballangen:{$:0},balat:{$:0},"xn--blt-elab":{$:0},balsfjord:{$:0},bahccavuotna:{$:0},"xn--bhccavuotna-k7a":{$:0},bamble:{$:0},bardu:{$:0},beardu:{$:0},beiarn:{$:0},bajddar:{$:0},"xn--bjddar-pta":{$:0},baidar:{$:0},"xn--bidr-5nac":{$:0},berg:{$:0},bergen:{$:0},berlevag:{$:0},"xn--berlevg-jxa":{$:0},bearalvahki:{$:0},"xn--bearalvhki-y4a":{$:0},bindal:{$:0},birkenes:{$:0},bjarkoy:{$:0},"xn--bjarky-fya":{$:0},bjerkreim:{$:0},bjugn:{$:0},bodo:{$:0},"xn--bod-2na":{$:0},badaddja:{$:0},"xn--bdddj-mrabd":{$:0},budejju:{$:0},bokn:{$:0},bremanger:{$:0},bronnoy:{$:0},"xn--brnny-wuac":{$:0},bygland:{$:0},bykle:{$:0},barum:{$:0},"xn--brum-voa":{$:0},telemark:{bo:{$:0},"xn--b-5ga":{$:0}},nordland:{bo:{$:0},"xn--b-5ga":{$:0},heroy:{$:0},"xn--hery-ira":{$:0}},bievat:{$:0},"xn--bievt-0qa":{$:0},bomlo:{$:0},"xn--bmlo-gra":{$:0},batsfjord:{$:0},"xn--btsfjord-9za":{$:0},bahcavuotna:{$:0},"xn--bhcavuotna-s4a":{$:0},dovre:{$:0},drammen:{$:0},drangedal:{$:0},dyroy:{$:0},"xn--dyry-ira":{$:0},donna:{$:0},"xn--dnna-gra":{$:0},eid:{$:0},eidfjord:{$:0},eidsberg:{$:0},eidskog:{$:0},eidsvoll:{$:0},eigersund:{$:0},elverum:{$:0},enebakk:{$:0},engerdal:{$:0},etne:{$:0},etnedal:{$:0},evenes:{$:0},evenassi:{$:0},"xn--eveni-0qa01ga":{$:0},"evje-og-hornnes":{$:0},farsund:{$:0},fauske:{$:0},fuossko:{$:0},fuoisku:{$:0},fedje:{$:0},fet:{$:0},finnoy:{$:0},"xn--finny-yua":{$:0},fitjar:{$:0},fjaler:{$:0},fjell:{$:0},flakstad:{$:0},flatanger:{$:0},flekkefjord:{$:0},flesberg:{$:0},flora:{$:0},fla:{$:0},"xn--fl-zia":{$:0},folldal:{$:0},forsand:{$:0},fosnes:{$:0},frei:{$:0},frogn:{$:0},froland:{$:0},frosta:{$:0},frana:{$:0},"xn--frna-woa":{$:0},froya:{$:0},"xn--frya-hra":{$:0},fusa:{$:0},fyresdal:{$:0},forde:{$:0},"xn--frde-gra":{$:0},gamvik:{$:0},gangaviika:{$:0},"xn--ggaviika-8ya47h":{$:0},gaular:{$:0},gausdal:{$:0},gildeskal:{$:0},"xn--gildeskl-g0a":{$:0},giske:{$:0},gjemnes:{$:0},gjerdrum:{$:0},gjerstad:{$:0},gjesdal:{$:0},gjovik:{$:0},"xn--gjvik-wua":{$:0},gloppen:{$:0},gol:{$:0},gran:{$:0},grane:{$:0},granvin:{$:0},gratangen:{$:0},grimstad:{$:0},grong:{$:0},kraanghke:{$:0},"xn--kranghke-b0a":{$:0},grue:{$:0},gulen:{$:0},hadsel:{$:0},halden:{$:0},halsa:{$:0},hamar:{$:0},hamaroy:{$:0},habmer:{$:0},"xn--hbmer-xqa":{$:0},hapmir:{$:0},"xn--hpmir-xqa":{$:0},hammerfest:{$:0},hammarfeasta:{$:0},"xn--hmmrfeasta-s4ac":{$:0},haram:{$:0},hareid:{$:0},harstad:{$:0},hasvik:{$:0},aknoluokta:{$:0},"xn--koluokta-7ya57h":{$:0},hattfjelldal:{$:0},aarborte:{$:0},haugesund:{$:0},hemne:{$:0},hemnes:{$:0},hemsedal:{$:0},"more-og-romsdal":{heroy:{$:0},sande:{$:0}},"xn--mre-og-romsdal-qqb":{"xn--hery-ira":{$:0},sande:{$:0}},hitra:{$:0},hjartdal:{$:0},hjelmeland:{$:0},hobol:{$:0},"xn--hobl-ira":{$:0},hof:{$:0},hol:{$:0},hole:{$:0},holmestrand:{$:0},holtalen:{$:0},"xn--holtlen-hxa":{$:0},hornindal:{$:0},horten:{$:0},hurdal:{$:0},hurum:{$:0},hvaler:{$:0},hyllestad:{$:0},hagebostad:{$:0},"xn--hgebostad-g3a":{$:0},hoyanger:{$:0},"xn--hyanger-q1a":{$:0},hoylandet:{$:0},"xn--hylandet-54a":{$:0},ha:{$:0},"xn--h-2fa":{$:0},ibestad:{$:0},inderoy:{$:0},"xn--indery-fya":{$:0},iveland:{$:0},jevnaker:{$:0},jondal:{$:0},jolster:{$:0},"xn--jlster-bya":{$:0},karasjok:{$:0},karasjohka:{$:0},"xn--krjohka-hwab49j":{$:0},karlsoy:{$:0},galsa:{$:0},"xn--gls-elac":{$:0},karmoy:{$:0},"xn--karmy-yua":{$:0},kautokeino:{$:0},guovdageaidnu:{$:0},klepp:{$:0},klabu:{$:0},"xn--klbu-woa":{$:0},kongsberg:{$:0},kongsvinger:{$:0},kragero:{$:0},"xn--krager-gya":{$:0},kristiansand:{$:0},kristiansund:{$:0},krodsherad:{$:0},"xn--krdsherad-m8a":{$:0},kvalsund:{$:0},rahkkeravju:{$:0},"xn--rhkkervju-01af":{$:0},kvam:{$:0},kvinesdal:{$:0},kvinnherad:{$:0},kviteseid:{$:0},kvitsoy:{$:0},"xn--kvitsy-fya":{$:0},kvafjord:{$:0},"xn--kvfjord-nxa":{$:0},giehtavuoatna:{$:0},kvanangen:{$:0},"xn--kvnangen-k0a":{$:0},navuotna:{$:0},"xn--nvuotna-hwa":{$:0},kafjord:{$:0},"xn--kfjord-iua":{$:0},gaivuotna:{$:0}
253,"xn--givuotna-8ya":{$:0},larvik:{$:0},lavangen:{$:0},lavagis:{$:0},loabat:{$:0},"xn--loabt-0qa":{$:0},lebesby:{$:0},davvesiida:{$:0},leikanger:{$:0},leirfjord:{$:0},leka:{$:0},leksvik:{$:0},lenvik:{$:0},leangaviika:{$:0},"xn--leagaviika-52b":{$:0},lesja:{$:0},levanger:{$:0},lier:{$:0},lierne:{$:0},lillehammer:{$:0},lillesand:{$:0},lindesnes:{$:0},lindas:{$:0},"xn--linds-pra":{$:0},lom:{$:0},loppa:{$:0},lahppi:{$:0},"xn--lhppi-xqa":{$:0},lund:{$:0},lunner:{$:0},luroy:{$:0},"xn--lury-ira":{$:0},luster:{$:0},lyngdal:{$:0},lyngen:{$:0},ivgu:{$:0},lardal:{$:0},lerdal:{$:0},"xn--lrdal-sra":{$:0},lodingen:{$:0},"xn--ldingen-q1a":{$:0},lorenskog:{$:0},"xn--lrenskog-54a":{$:0},loten:{$:0},"xn--lten-gra":{$:0},malvik:{$:0},masoy:{$:0},"xn--msy-ula0h":{$:0},muosat:{$:0},"xn--muost-0qa":{$:0},mandal:{$:0},marker:{$:0},marnardal:{$:0},masfjorden:{$:0},meland:{$:0},meldal:{$:0},melhus:{$:0},meloy:{$:0},"xn--mely-ira":{$:0},meraker:{$:0},"xn--merker-kua":{$:0},moareke:{$:0},"xn--moreke-jua":{$:0},midsund:{$:0},"midtre-gauldal":{$:0},modalen:{$:0},modum:{$:0},molde:{$:0},moskenes:{$:0},moss:{$:0},mosvik:{$:0},malselv:{$:0},"xn--mlselv-iua":{$:0},malatvuopmi:{$:0},"xn--mlatvuopmi-s4a":{$:0},namdalseid:{$:0},aejrie:{$:0},namsos:{$:0},namsskogan:{$:0},naamesjevuemie:{$:0},"xn--nmesjevuemie-tcba":{$:0},laakesvuemie:{$:0},nannestad:{$:0},narvik:{$:0},narviika:{$:0},naustdal:{$:0},"nedre-eiker":{$:0},akershus:{nes:{$:0}},buskerud:{nes:{$:0}},nesna:{$:0},nesodden:{$:0},nesseby:{$:0},unjarga:{$:0},"xn--unjrga-rta":{$:0},nesset:{$:0},nissedal:{$:0},nittedal:{$:0},"nord-aurdal":{$:0},"nord-fron":{$:0},"nord-odal":{$:0},norddal:{$:0},nordkapp:{$:0},davvenjarga:{$:0},"xn--davvenjrga-y4a":{$:0},"nordre-land":{$:0},nordreisa:{$:0},raisa:{$:0},"xn--risa-5na":{$:0},"nore-og-uvdal":{$:0},notodden:{$:0},naroy:{$:0},"xn--nry-yla5g":{$:0},notteroy:{$:0},"xn--nttery-byae":{$:0},odda:{$:0},oksnes:{$:0},"xn--ksnes-uua":{$:0},oppdal:{$:0},oppegard:{$:0},"xn--oppegrd-ixa":{$:0},orkdal:{$:0},orland:{$:0},"xn--rland-uua":{$:0},orskog:{$:0},"xn--rskog-uua":{$:0},orsta:{$:0},"xn--rsta-fra":{$:0},hedmark:{os:{$:0},valer:{$:0},"xn--vler-qoa":{$:0}},hordaland:{os:{$:0}},osen:{$:0},osteroy:{$:0},"xn--ostery-fya":{$:0},"ostre-toten":{$:0},"xn--stre-toten-zcb":{$:0},overhalla:{$:0},"ovre-eiker":{$:0},"xn--vre-eiker-k8a":{$:0},oyer:{$:0},"xn--yer-zna":{$:0},oygarden:{$:0},"xn--ygarden-p1a":{$:0},"oystre-slidre":{$:0},"xn--ystre-slidre-ujb":{$:0},porsanger:{$:0},porsangu:{$:0},"xn--porsgu-sta26f":{$:0},porsgrunn:{$:0},radoy:{$:0},"xn--rady-ira":{$:0},rakkestad:{$:0},rana:{$:0},ruovat:{$:0},randaberg:{$:0},rauma:{$:0},rendalen:{$:0},rennebu:{$:0},rennesoy:{$:0},"xn--rennesy-v1a":{$:0},rindal:{$:0},ringebu:{$:0},ringerike:{$:0},ringsaker:{$:0},rissa:{$:0},risor:{$:0},"xn--risr-ira":{$:0},roan:{$:0},rollag:{$:0},rygge:{$:0},ralingen:{$:0},"xn--rlingen-mxa":{$:0},rodoy:{$:0},"xn--rdy-0nab":{$:0},romskog:{$:0},"xn--rmskog-bya":{$:0},roros:{$:0},"xn--rros-gra":{$:0},rost:{$:0},"xn--rst-0na":{$:0},royken:{$:0},"xn--ryken-vua":{$:0},royrvik:{$:0},"xn--ryrvik-bya":{$:0},rade:{$:0},"xn--rde-ula":{$:0},salangen:{$:0},siellak:{$:0},saltdal:{$:0},salat:{$:0},"xn--slt-elab":{$:0},"xn--slat-5na":{$:0},samnanger:{$:0},vestfold:{sande:{$:0}},sandefjord:{$:0},sandnes:{$:0},sandoy:{$:0},"xn--sandy-yua":{$:0},sarpsborg:{$:0},sauda:{$:0},sauherad:{$:0},sel:{$:0},selbu:{$:0},selje:{$:0},seljord:{$:0},sigdal:{$:0},siljan:{$:0},sirdal:{$:0},skaun:{$:0},skedsmo:{$:0},ski:{$:0},skien:{$:0},skiptvet:{$:0},skjervoy:{$:0},"xn--skjervy-v1a":{$:0},skierva:{$:0},"xn--skierv-uta":{$:0},skjak:{$:0},"xn--skjk-soa":{$:0},skodje:{$:0},skanland:{$:0},"xn--sknland-fxa":{$:0},skanit:{$:0},"xn--sknit-yqa":{$:0},smola:{$:0},"xn--smla-hra":{$:0},snillfjord:{$:0},snasa:{$:0},"xn--snsa-roa":{$:0},snoasa:{$:0},snaase:{$:0},"xn--snase-nra":{$:0},sogndal:{$:0},sokndal:{$:0},sola:{$:0},solund:{$:0},songdalen:{$:0},sortland:{$:0},spydeberg:{$:0},stange:{$:0},stavanger:{$:0},steigen:{$:0},steinkjer:{$:0},stjordal:{$:0},"xn--stjrdal-s1a":{$:0},stokke:{$:0},"stor-elvdal":{$:0},stord:{$:0},stordal:{$:0},storfjord:{$:0},omasvuotna:{$:0},strand:{$:0},stranda:{$:0},stryn:{$:0},sula:{$:0},suldal:{$:0},sund:{$:0},sunndal:{$:0},surnadal:{$:0},sveio:{$:0},svelvik:{$:0},sykkylven:{$:0},sogne:{$:0},"xn--sgne-gra":{$:0},somna:{$:0},"xn--smna-gra":{$:0},"sondre-land":{$:0},"xn--sndre-land-0cb":{$:0},"sor-aurdal":{$:0},"xn--sr-aurdal-l8a":{$:0},"sor-fron":{$:0},"xn--sr-fron-q1a":{$:0},"sor-odal":{$:0},"xn--sr-odal-q1a":{$:0},"sor-varanger":{$:0},"xn--sr-varanger-ggb":{$:0},"matta-varjjat":{$:0},"xn--mtta-vrjjat-k7af":{$:0},sorfold:{$:0},"xn--srfold-bya":{$:0},sorreisa:{$:0},"xn--srreisa-q1a":{$:0},sorum:{$:0},"xn--srum-gra":{$:0},tana:{$:0},deatnu:{$:0},time:{$:0},tingvoll:{$:0},tinn:{$:0},tjeldsund:{$:0},dielddanuorri:{$:0},tjome:{$:0},"xn--tjme-hra":{$:0},tokke:{$:0},tolga:{$:0},torsken:{$:0},tranoy:{$:0},"xn--trany-yua":{$:0},tromso:{$:0},"xn--troms-zua":{$:0},tromsa:{$:0},romsa:{$:0},trondheim:{$:0},troandin:{$:0},trysil:{$:0},trana:{$:0}
253,"xn--trna-woa":{$:0},trogstad:{$:0},"xn--trgstad-r1a":{$:0},tvedestrand:{$:0},tydal:{$:0},tynset:{$:0},tysfjord:{$:0},divtasvuodna:{$:0},divttasvuotna:{$:0},tysnes:{$:0},tysvar:{$:0},"xn--tysvr-vra":{$:0},tonsberg:{$:0},"xn--tnsberg-q1a":{$:0},ullensaker:{$:0},ullensvang:{$:0},ulvik:{$:0},utsira:{$:0},vadso:{$:0},"xn--vads-jra":{$:0},cahcesuolo:{$:0},"xn--hcesuolo-7ya35b":{$:0},vaksdal:{$:0},valle:{$:0},vang:{$:0},vanylven:{$:0},vardo:{$:0},"xn--vard-jra":{$:0},varggat:{$:0},"xn--vrggt-xqad":{$:0},vefsn:{$:0},vaapste:{$:0},vega:{$:0},vegarshei:{$:0},"xn--vegrshei-c0a":{$:0},vennesla:{$:0},verdal:{$:0},verran:{$:0},vestby:{$:0},vestnes:{$:0},"vestre-slidre":{$:0},"vestre-toten":{$:0},vestvagoy:{$:0},"xn--vestvgy-ixa6o":{$:0},vevelstad:{$:0},vik:{$:0},vikna:{$:0},vindafjord:{$:0},volda:{$:0},voss:{$:0},varoy:{$:0},"xn--vry-yla5g":{$:0},vagan:{$:0},"xn--vgan-qoa":{$:0},voagat:{$:0},vagsoy:{$:0},"xn--vgsy-qoa0j":{$:0},vaga:{$:0},"xn--vg-yiab":{$:0},ostfold:{valer:{$:0}},"xn--stfold-9xa":{"xn--vler-qoa":{$:0}},co:{$:0},blogspot:{$:0}},np:{"*":{$:0}},nr:{$:0,biz:{$:0},info:{$:0},gov:{$:0},edu:{$:0},org:{$:0}
vendor: 2,760 bytes, line 253
253,net:{$:0},com:{$:0}},nu:{$:0,merseine:{$:0},mine:{$:0},shacknet:{$:0},nom:{$:0}},nz:{$:0,ac:{$:0},co:{$:0,blogspot:{$:0}},cri:{$:0},geek:{$:0},gen:{$:0},govt:{$:0},health:{$:0},iwi:{$:0},kiwi:{$:0},maori:{$:0},mil:{$:0},"xn--mori-qsa":{$:0},net:{$:0},org:{$:0},parliament:{$:0},school:{$:0},nym:{$:0}},om:{$:0,co:{$:0},com:{$:0},edu:{$:0},gov:{$:0},med:{$:0},museum:{$:0},net:{$:0},org:{$:0},pro:{$:0}},onion:{$:0},org:{$:0,amune:{tele:{$:0}},pimienta:{$:0},poivron:{$:0},potager:{$:0},sweetpepper:{$:0},ae:{$:0},us:{$:0},certmgr:{$:0},cdn77:{c:{$:0},rsc:{$:0}},"cdn77-secure":{origin:{ssl:{$:0}}},cloudns:{$:0},duckdns:{$:0},tunk:{$:0},dyndns:{$:0,go:{$:0},home:{$:0}},blogdns:{$:0},blogsite:{$:0},boldlygoingnowhere:{$:0},dnsalias:{$:0},dnsdojo:{$:0},doesntexist:{$:0},dontexist:{$:0},doomdns:{$:0},dvrdns:{$:0},dynalias:{$:0},endofinternet:{$:0},endoftheinternet:{$:0},"from-me":{$:0},"game-host":{$:0},gotdns:{$:0},"hobby-site":{$:0},homedns:{$:0},homeftp:{$:0},homelinux:{$:0},homeunix:{$:0},"is-a-bruinsfan":{$:0},"is-a-candidate":{$:0},"is-a-celticsfan":{$:0},"is-a-chef":{$:0},"is-a-geek":{$:0},"is-a-knight":{$:0},"is-a-linux-user":{$:0},"is-a-patsfan":{$:0},"is-a-soxfan":{$:0},"is-found":{$:0},"is-lost":{$:0},"is-saved":{$:0},"is-very-bad":{$:0},"is-very-evil":{$:0},"is-very-good":{$:0},"is-very-nice":{$:0},"is-very-sweet":{$:0},"isa-geek":{$:0},"kicks-ass":{$:0},misconfused:{$:0},podzone:{$:0},readmyblog:{$:0},selfip:{$:0},sellsyourhome:{$:0},servebbs:{$:0},serveftp:{$:0},servegame:{$:0},"stuff-4-sale":{$:0},webhop:{$:0},ddnss:{$:0},accesscam:{$:0},camdvr:{$:0},freeddns:{$:0},mywire:{$:0},webredirect:{$:0},eu:{$:0,al:{$:0},asso:{$:0},at:{$:0},au:{$:0},be:{$:0},bg:{$:0},ca:{$:0},cd:{$:0},ch:{$:0},cn:{$:0},cy:{$:0},cz:{$:0},de:{$:0},dk:{$:0},edu:{$:0},ee:{$:0},es:{$:0},fi:{$:0},fr:{$:0},gr:{$:0},hr:{$:0},hu:{$:0},ie:{$:0},il:{$:0},in:{$:0},int:{$:0},is:{$:0},it:{$:0},jp:{$:0},kr:{$:0},lt:{$:0},lu:{$:0},lv:{$:0},mc:{$:0},me:{$:0},mk:{$:0},mt:{$:0},my:{$:0},net:{$:0},ng:{$:0},nl:{$:0},no:{$:0},nz:{$:0},paris:{$:0},pl:{$:0},pt:{$:0},"q-a":{$:0},ro:{$:0},ru:{$:0},se:{$:0},si:{$:0},sk:{$:0},tr:{$:0},uk:{$:0},us:{$:0}},twmail:{$:0},fedorainfracloud:{$:0},fedorapeople:{$:0},fedoraproject:{cloud:{$:0},os:{app:{$:0}},stg:{os:{app:{$:0}}}},hepforge:{$:0},js:{$:0},bmoattachments:{$:0},"cable-modem":{$:0},collegefan:{$:0},couchpotatofries:{$:0},mlbfan:{$:0},mysecuritycamera:{$:0},nflfan:{$:0},"read-books":{$:0},ufcfan:{$:0},hopto:{$:0},myftp:{$:0},"no-ip":{$:0},zapto:{$:0},"my-firewall":{$:0},myfirewall:{$:0},spdns:{$:0},dsmynas:{$:0},familyds:{$:0},tuxfamily:{$:0},diskstation:{$:0},hk:{$:0},wmflabs:{$:0},za:{$:0}},pa:{$:0,ac:{$:0},gob:{$:0},com:{$:0},org:{$:0},sld:{$:0},edu:{$:0},net:{$:0},ing:{$:0},abo:{$:0},med:{$:0},nom:{$:0}}
253,pe:{$:0,edu:{$:0},gob:{$:0},nom:{$:0},mil:{$:0},org:{$:0},com:{$:0},net:{$:0},blogspot:{$:0},nym:{$:0}},pf:{$:0,com:{$:0},org:{$:0},edu:{$:0}},pg:{"*":{$:0}},ph:{$:0,com:{$:0},net:{$:0},org:{$:0},gov:{$:0},edu:{$:0},ngo:{$:0},mil:{$:0},i:{$:0}},pk:{$:0,com:{$:0},net:{$:0},edu:{$:0},org:{$:0},fam:{$:0},biz:{$:0},web:{$:0},gov:{$:0},gob:{$:0},gok:{$:0},gon:{$:0},gop:{$:0},gos:{$:0},info:{$:0}},pl:{$:0,com:{$:0},net:{$:0},org:{$:0},aid:{$:0},agro:{$:0},atm:{$:0},auto:{$:0},biz:{$:0},edu:{$:0},gmina:{$:0},gsm:{$:0},info:{$:0},mail:{$:0},miasta:{$:0},media:{$:0},mil:{$:0},nieruchomosci:{$:0},nom:{$:0},pc:{$:0},powiat:{$:0},priv:{$:0},realestate:{$:0},rel:{$:0},sex:{$:0},shop:{$:0},sklep:{$:0},sos:{$:0},szkola:{$:0},targi:{$:0},tm:{$:0},tourism:{$:0},travel:{$:0},turystyka:{$:0},gov:{$:0,ap:{$:0},ic:{$:0},is:{$:0},us:{$:0},kmpsp:{$:0},kppsp:{$:0},kwpsp:{$:0},psp:{$:0},wskr:{$:0},kwp:{$:0},mw:{$:0},ug:{$:0},um:{$:0},umig:{$:0},ugim:{$:0},upow:{$:0},uw:{$:0},starostwo:{$:0},pa:{$:0},po:{$:0},psse:{$:0},pup:{$:0},rzgw:{$:0},sa:{$:0},so:{$:0},sr:{$:0},wsa:{$:0},sko:{$:0},uzs:{$:0},wiih:{$:0},winb:{$:0},pinb:{$:0},wios:{$:0},witd:{$:0},wzmiuw:{$:0},piw:{$:0},wiw:{$:0},griw:{$:0},wif:{$:0},oum:{$:0},sdn:{$:0},zp:{$:0},uppo:{$:0},mup:{$:0},wuoz:{$:0},konsulat:{$:0},oirm:{$:0}},augustow:{$:0},"babia-gora":{$:0},bedzin:{$:0},beskidy:{$:0},bialowieza:{$:0},bialystok:{$:0},bielawa:{$:0},bieszczady:{$:0},boleslawiec:{$:0},bydgoszcz:{$:0},bytom:{$:0},cieszyn:{$:0},czeladz:{$:0},czest:{$:0},dlugoleka:{$:0},elblag:{$:0},elk:{$:0},glogow:{$:0},gniezno:{$:0},gorlice:{$:0},grajewo:{$:0},ilawa:{$:0},jaworzno:{$:0},"jelenia-gora":{$:0},jgora:{$:0},kalisz:{$:0},"kazimierz-dolny":{$:0},karpacz:{$:0},kartuzy:{$:0},kaszuby:{$:0},katowice:{$:0},kepno:{$:0},ketrzyn:{$:0},klodzko:{$:0},kobierzyce:{$:0},kolobrzeg:{$:0},konin:{$:0},konskowola:{$:0},kutno:{$:0},lapy:{$:0},lebork:{$:0},legnica:{$:0},lezajsk:{$:0},limanowa:{$:0},lomza:{$:0},lowicz:{$:0},lubin:{$:0},lukow:{$:0},malbork:{$:0},malopolska:{$:0},mazowsze:{$:0},mazury:{$:0},mielec:{$:0},mielno:{$:0},mragowo:{$:0},naklo:{$:0},nowaruda:{$:0},nysa:{$:0},olawa:{$:0},olecko:{$:0},olkusz:{$:0},olsztyn:{$:0},opoczno:{$:0},opole:{$:0},ostroda:{$:0},ostroleka:{$:0},ostrowiec:{$:0},ostrowwlkp:{$:0},pila:{$:0},pisz:{$:0},podhale:{$:0},podlasie:{$:0},polkowice:{$:0},pomorze:{$:0},pomorskie:{$:0},prochowice:{$:0},pruszkow:{$:0},przeworsk:{$:0},pulawy:{$:0},radom:{$:0},"rawa-maz":{$:0},rybnik:{$:0},rzeszow:{$:0},sanok:{$:0},sejny:{$:0},slask:{$:0},slupsk:{$:0},sosnowiec:{$:0},"stalowa-wola":{$:0},skoczow:{$:0},starachowice:{$:0},stargard:{$:0},suwalki:{$:0},swidnica:{$:0},swiebodzin:{$:0},swinoujscie:{$:0},szczecin:{$:0},szczytno:{$:0},tarnobrzeg:{$:0},tgory:{$:0},turek:{$:0},tychy:{$:0},ustka:{$:0},walbrzych:{$:0},warmia:{$:0},warszawa:{$:0},waw:{$:0},wegrow:{$:0},wielun:{$:0},wlocl:{$:0},wloclawek:{$:0},wodzislaw:{$:0},wolomin:{$:0},wroclaw:{$:0},zachpomor:{$:0},zagan:{$:0},zarow:{$:0},zgora:{$:0},zgorzelec:{$:0},beep:{$:0},co:{$:0},art:{$:0},gliwice:{$:0},krakow:{$:0},poznan:{$:0},wroc:{$:0},zakopane:{$:0},gda:{$:0},gdansk:{$:0},gdynia:{$:0},med:{$:0},sopot:{$:0}},pm:{$:0},pn:{$:0,gov:{$:0},co:{$:0},org:{$:0},edu:{$:0},net:{$:0}},post:{$:0},pr:{$:0,com:{$:0}
253,net:{$:0},org:{$:0},gov:{$:0},edu:{$:0},isla:{$:0},pro:{$:0},biz:{$:0},info:{$:0},name:{$:0},est:{$:0},prof:{$:0},ac:{$:0}},pro:{$:0,aaa:{$:0},aca:{$:0},acct:{$:0},avocat:{$:0},bar:{$:0},cpa:{$:0},eng:{$:0},jur:{$:0},law:{$:0},med:{$:0},recht:{$:0},cloudns:{$:0}},ps:{$:0,edu:{$:0},gov:{$:0},sec:{$:0},plo:{$:0},com:{$:0},org:{$:0},net:{$:0}},pt:{$:0,net:{$:0},gov:{$:0},org:{$:0},edu:{$:0},int:{$:0},publ:{$:0},com:{$:0},nome:{$:0},blogspot:{$:0},nym:{$:0}},pw:{$:0,co:{$:0},ne:{$:0},or:{$:0},ed:{$:0},go:{$:0},belau:{$:0},cloudns:{$:0},nom:{$:0}},py:{$:0,com:{$:0},coop:{$:0},edu:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0}},qa:{$:0,com:{$:0},edu:{$:0},gov:{$:0},mil:{$:0},name:{$:0},net:{$:0},org:{$:0},sch:{$:0},blogspot:{$:0},nom:{$:0}},re:{$:0,asso:{$:0},com:{$:0},nom:{$:0},blogspot:{$:0}},ro:{$:0,arts:{$:0},com:{$:0},firm:{$:0},info:{$:0},nom:{$:0},nt:{$:0},org:{$:0},rec:{$:0},store:{$:0},tm:{$:0},www:{$:0},shop:{$:0},blogspot:{$:0}},rs:{$:0,ac:{$:0},co:{$:0},edu:{$:0},gov:{$:0},in:{$:0},org:{$:0},blogspot:{$:0},nom:{$:0}},ru:{$:0,ac:{$:0},edu:{$:0},gov:{$:0},int:{$:0},mil:{$:0},test:{$:0},adygeya:{$:0},bashkiria:{$:0},bir:{$:0},cbg:{$:0},com:{$:0},dagestan:{$:0},grozny:{$:0},kalmykia:{$:0},kustanai:{$:0},marine:{$:0},mordovia:{$:0},msk:{$:0},mytis:{$:0},nalchik:{$:0},nov:{$:0},pyatigorsk:{$:0},spb:{$:0},vladikavkaz:{$:0},vladimir:{$:0},blogspot:{$:0},cldmail:{hb:{$:0}},net:{$:0},org:{$:0},pp:{$:0}},rw:{$:0,gov:{$:0},net:{$:0},edu:{$:0},ac:{$:0},com:{$:0},co:{$:0},int:{$:0},mil:{$:0},gouv:{$:0}},sa:{$:0,com:{$:0}
253,net:{$:0},org:{$:0},gov:{$:0},med:{$:0},pub:{$:0},edu:{$:0},sch:{$:0}},sb:{$:0,com:{$:0},edu:{$:0},gov:{$:0},net:{$:0},org:{$:0}},sc:{$:0,com:{$:0},gov:{$:0},net:{$:0},org:{$:0},edu:{$:0}},sd:{$:0,com:{$:0},net:{$:0},org:{$:0},edu:{$:0},med:{$:0},tv:{$:0},gov:{$:0},info:{$:0}},se:{$:0,a:{$:0},ac:{$:0},b:{$:0},bd:{$:0},brand:{$:0},c:{$:0},d:{$:0},e:{$:0},f:{$:0},fh:{$:0},fhsk:{$:0},fhv:{$:0},g:{$:0},h:{$:0},i:{$:0},k:{$:0},komforb:{$:0},kommunalforbund:{$:0},komvux:{$:0},l:{$:0},lanbib:{$:0},m:{$:0},n:{$:0},naturbruksgymn:{$:0},o:{$:0},org:{$:0},p:{$:0},parti:{$:0},pp:{$:0},press:{$:0},r:{$:0},s:{$:0},t:{$:0},tm:{$:0},u:{$:0},w:{$:0},x:{$:0},y:{$:0},z:{$:0},com:{$:0},blogspot:{$:0}},sg:{$:0,com:{$:0},net:{$:0},org:{$:0},gov:{$:0},edu:{$:0},per:{$:0},blogspot:{$:0}},sh:{$:0,com:{$:0},net:{$:0},gov:{$:0},org:{$:0},mil:{$:0},hashbang:{$:0},platform:{"*":{$:0}},wedeploy:{$:0},now:{$:0}},si:{$:0,blogspot:{$:0},nom:{$:0}},sj:{$:0},sk:{$:0,blogspot:{$:0},nym:{$:0}},sl:{$:0,com:{$:0},net:{$:0},edu:{$:0},gov:{$:0},org:{$:0}},sm:{$:0},sn:{$:0,art:{$:0},com:{$:0},edu:{$:0},gouv:{$:0},org:{$:0},perso:{$:0},univ:{$:0},blogspot:{$:0}},so:{$:0,com:{$:0}
253,net:{$:0},org:{$:0}},sr:{$:0},st:{$:0,co:{$:0},com:{$:0},consulado:{$:0},edu:{$:0},embaixada:{$:0},gov:{$:0},mil:{$:0},net:{$:0},org:{$:0},principe:{$:0},saotome:{$:0},store:{$:0}},su:{$:0,abkhazia:{$:0},adygeya:{$:0},aktyubinsk:{$:0},arkhangelsk:{$:0},armenia:{$:0},ashgabad:{$:0},azerbaijan:{$:0},balashov:{$:0},bashkiria:{$:0},bryansk:{$:0},bukhara:{$:0},chimkent:{$:0},dagestan:{$:0},"east-kazakhstan":{$:0},exnet:{$:0},georgia:{$:0},grozny:{$:0},ivanovo:{$:0},jambyl:{$:0},kalmykia:{$:0},kaluga:{$:0},karacol:{$:0},karaganda:{$:0},karelia:{$:0},khakassia:{$:0},krasnodar:{$:0},kurgan:{$:0},kustanai:{$:0},lenug:{$:0},mangyshlak:{$:0},mordovia:{$:0},msk:{$:0},murmansk:{$:0},nalchik:{$:0},navoi:{$:0},"north-kazakhstan":{$:0},nov:{$:0},obninsk:{$:0},penza:{$:0},pokrovsk:{$:0},sochi:{$:0},spb:{$:0},tashkent:{$:0},termez:{$:0},togliatti:{$:0},troitsk:{$:0},tselinograd:{$:0},tula:{$:0},tuva:{$:0},vladikavkaz:{$:0},vladimir:{$:0},vologda:{$:0},nym:{$:0}},sv:{$:0,com:{$:0},edu:{$:0},gob:{$:0},org:{$:0},red:{$:0}},sx:{$:0,gov:{$:0},nym:{$:0}},sy:{$:0,edu:{$:0},gov:{$:0},net:{$:0},mil:{$:0},com:{$:0},org:{$:0}},sz:{$:0,co:{$:0},ac:{$:0},org:{$:0}},tc:{$:0},td:{$:0,blogspot:{$:0}},tel:{$:0},tf:{$:0},tg:{$:0},th:{$:0,ac:{$:0},co:{$:0},go:{$:0},in:{$:0},mi:{$:0},net:{$:0},or:{$:0}},tj:{$:0,ac:{$:0},biz:{$:0},co:{$:0},com:{$:0},edu:{$:0},go:{$:0},gov:{$:0},int:{$:0},mil:{$:0},name:{$:0},net:{$:0},nic:{$:0},org:{$:0},test:{$:0},web:{$:0}},tk:{$:0},tl:{$:0,gov:{$:0}},tm:{$:0,com:{$:0},co:{$:0},org:{$:0}
vendor: 4,105 bytes, line 253
253,net:{$:0},nom:{$:0},gov:{$:0},mil:{$:0},edu:{$:0}},tn:{$:0,com:{$:0},ens:{$:0},fin:{$:0},gov:{$:0},ind:{$:0},intl:{$:0},nat:{$:0},net:{$:0},org:{$:0},info:{$:0},perso:{$:0},tourism:{$:0},edunet:{$:0},rnrt:{$:0},rns:{$:0},rnu:{$:0},mincom:{$:0},agrinet:{$:0},defense:{$:0},turen:{$:0}},to:{$:0,com:{$:0},gov:{$:0},net:{$:0},org:{$:0},edu:{$:0},mil:{$:0},vpnplus:{$:0}},tr:{$:0,com:{$:0,blogspot:{$:0}},info:{$:0},biz:{$:0},net:{$:0},org:{$:0},web:{$:0},gen:{$:0},tv:{$:0},av:{$:0},dr:{$:0},bbs:{$:0},name:{$:0},tel:{$:0},gov:{$:0},bel:{$:0},pol:{$:0},mil:{$:0},k12:{$:0},edu:{$:0},kep:{$:0},nc:{$:0,gov:{$:0}}},travel:{$:0},tt:{$:0,co:{$:0},com:{$:0},org:{$:0},net:{$:0},biz:{$:0},info:{$:0},pro:{$:0},int:{$:0},coop:{$:0},jobs:{$:0},mobi:{$:0},travel:{$:0},museum:{$:0},aero:{$:0},name:{$:0},gov:{$:0},edu:{$:0}},tv:{$:0,dyndns:{$:0},"better-than":{$:0},"on-the-web":{$:0},"worse-than":{$:0}},tw:{$:0,edu:{$:0},gov:{$:0},mil:{$:0},com:{$:0,mymailer:{$:0}},net:{$:0},org:{$:0},idv:{$:0},game:{$:0},ebiz:{$:0},club:{$:0},"xn--zf0ao64a":{$:0},"xn--uc0atv":{$:0},"xn--czrw28b":{$:0},url:{$:0},blogspot:{$:0},nym:{$:0}},tz:{$:0,ac:{$:0},co:{$:0},go:{$:0},hotel:{$:0},info:{$:0},me:{$:0},mil:{$:0},mobi:{$:0},ne:{$:0},or:{$:0},sc:{$:0},tv:{$:0}},ua:{$:0,com:{$:0},edu:{$:0},gov:{$:0},in:{$:0},net:{$:0},org:{$:0},cherkassy:{$:0},cherkasy:{$:0},chernigov:{$:0},chernihiv:{$:0},chernivtsi:{$:0},chernovtsy:{$:0},ck:{$:0},cn:{$:0},cr:{$:0},crimea:{$:0},cv:{$:0},dn:{$:0},dnepropetrovsk:{$:0},dnipropetrovsk:{$:0},dominic:{$:0},donetsk:{$:0},dp:{$:0},if:{$:0},"ivano-frankivsk":{$:0},kh:{$:0},kharkiv:{$:0},kharkov:{$:0},kherson:{$:0},khmelnitskiy:{$:0},khmelnytskyi:{$:0},kiev:{$:0},kirovograd:{$:0},km:{$:0},kr:{$:0},krym:{$:0},ks:{$:0},kv:{$:0},kyiv:{$:0},lg:{$:0},lt:{$:0},lugansk:{$:0},lutsk:{$:0},lv:{$:0},lviv:{$:0},mk:{$:0},mykolaiv:{$:0},nikolaev:{$:0},od:{$:0},odesa:{$:0},odessa:{$:0},pl:{$:0},poltava:{$:0},rivne:{$:0},rovno:{$:0},rv:{$:0},sb:{$:0},sebastopol:{$:0},sevastopol:{$:0},sm:{$:0},sumy:{$:0},te:{$:0},ternopil:{$:0},uz:{$:0},uzhgorod:{$:0},vinnica:{$:0},vinnytsia:{$:0},vn:{$:0},volyn:{$:0},yalta:{$:0},zaporizhzhe:{$:0},zaporizhzhia:{$:0},zhitomir:{$:0},zhytomyr:{$:0},zp:{$:0},zt:{$:0},cc:{$:0},inf:{$:0},ltd:{$:0},biz:{$:0},co:{$:0},pp:{$:0}},ug:{$:0,co:{$:0},or:{$:0},ac:{$:0},sc:{$:0},go:{$:0},ne:{$:0},com:{$:0},org:{$:0},blogspot:{$:0},nom:{$:0}},uk:{$:0,ac:{$:0},co:{$:0,blogspot:{$:0},"nh-serv":{$:0},"no-ip":{$:0},wellbeingzone:{$:0}},gov:{$:0,service:{$:0},homeoffice:{$:0}},ltd:{$:0},me:{$:0},net:{$:0},nhs:{$:0},org:{$:0},plc:{$:0},police:{$:0},sch:{"*":{$:0}}},us:{$:0,dni:{$:0},fed:{$:0},isa:{$:0},kids:{$:0},nsn:{$:0},ak:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},al:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ar:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},as:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},az:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ca:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},co:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ct:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},dc:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},de:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},fl:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ga:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},gu:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},hi:{$:0,cc:{$:0},lib:{$:0}},ia:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},id:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},il:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},in:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ks:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ky:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},la:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ma:{$:0,k12:{$:0,pvt:{$:0},chtr:{$:0},paroch:{$:0}},cc:{$:0},lib:{$:0}},md:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},me:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},mi:{$:0,k12:{$:0},cc:{$:0},lib:{$:0},"ann-arbor":{$:0},cog:{$:0},dst:{$:0},eaton:{$:0},gen:{$:0},mus:{$:0},tec:{$:0},washtenaw:{$:0}},mn:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},mo:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ms:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},mt:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nc:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nd:{$:0,cc:{$:0},lib:{$:0}},ne:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nh:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nj:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nm:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},nv:{$:0,k12:{$:0}
253,cc:{$:0},lib:{$:0}},ny:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},oh:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ok:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},or:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},pa:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},pr:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ri:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},sc:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},sd:{$:0,cc:{$:0},lib:{$:0}},tn:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},tx:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},ut:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},vi:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},vt:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},va:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},wa:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},wi:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},wv:{$:0,cc:{$:0}},wy:{$:0,k12:{$:0},cc:{$:0},lib:{$:0}},cloudns:{$:0},drud:{$:0},"is-by":{$:0},"land-4-sale":{$:0},"stuff-4-sale":{$:0},golffan:{$:0},noip:{$:0},pointto:{$:0}},uy:{$:0,com:{$:0,blogspot:{$:0}},edu:{$:0},gub:{$:0},mil:{$:0},net:{$:0},org:{$:0},nom:{$:0}},uz:{$:0,co:{$:0},com:{$:0},net:{$:0},org:{$:0}},va:{$:0},vc:{$:0,com:{$:0},net:{$:0},org:{$:0},gov:{$:0},mil:{$:0},edu:{$:0},nom:{$:0}},ve:{$:0,arts:{$:0},co:{$:0},com:{$:0},e12:{$:0},edu:{$:0},firm:{$:0},gob:{$:0},gov:{$:0},info:{$:0},int:{$:0},mil:{$:0}
vendor: 2,204 bytes, line 253
253,net:{$:0},org:{$:0},rec:{$:0},store:{$:0},tec:{$:0},web:{$:0}},vg:{$:0,nom:{$:0}},vi:{$:0,co:{$:0},com:{$:0},k12:{$:0},net:{$:0},org:{$:0}},vn:{$:0,com:{$:0},net:{$:0},org:{$:0},edu:{$:0},gov:{$:0},int:{$:0},ac:{$:0},biz:{$:0},info:{$:0},name:{$:0},pro:{$:0},health:{$:0},blogspot:{$:0}},vu:{$:0,com:{$:0},edu:{$:0},net:{$:0},org:{$:0}},wf:{$:0},ws:{$:0,com:{$:0},net:{$:0},org:{$:0},gov:{$:0},edu:{$:0},advisor:{"*":{$:0}},dyndns:{$:0},mypets:{$:0}},yt:{$:0},"xn--mgbaam7a8h":{$:0},"xn--y9a3aq":{$:0},"xn--54b7fta0cc":{$:0},"xn--90ae":{$:0},"xn--90ais":{$:0},"xn--fiqs8s":{$:0},"xn--fiqz9s":{$:0},"xn--lgbbat1ad8j":{$:0},"xn--wgbh1c":{$:0},"xn--e1a4c":{$:0},"xn--node":{$:0},"xn--qxam":{$:0},"xn--j6w193g":{$:0},"xn--2scrj9c":{$:0},"xn--3hcrj9c":{$:0},"xn--45br5cyl":{$:0},"xn--h2breg3eve":{$:0},"xn--h2brj9c8c":{$:0},"xn--mgbgu82a":{$:0},"xn--rvc1e0am3e":{$:0},"xn--h2brj9c":{$:0},"xn--mgbbh1a71e":{$:0},"xn--fpcrj9c3d":{$:0},"xn--gecrj9c":{$:0},"xn--s9brj9c":{$:0},"xn--45brj9c":{$:0},"xn--xkc2dl3a5ee0h":{$:0},"xn--mgba3a4f16a":{$:0},"xn--mgba3a4fra":{$:0},"xn--mgbtx2b":{$:0},"xn--mgbayh7gpa":{$:0},"xn--3e0b707e":{$:0},"xn--80ao21a":{$:0},"xn--fzc2c9e2c":{$:0},"xn--xkc2al3hye2a":{$:0},"xn--mgbc0a9azcg":{$:0},"xn--d1alf":{$:0},"xn--l1acc":{$:0},"xn--mix891f":{$:0},"xn--mix082f":{$:0},"xn--mgbx4cd0ab":{$:0},"xn--mgb9awbf":{$:0},"xn--mgbai9azgqp6j":{$:0},"xn--mgbai9a5eva00b":{$:0},"xn--ygbi2ammx":{$:0},"xn--90a3ac":{$:0,"xn--o1ac":{$:0},"xn--c1avg":{$:0},"xn--90azh":{$:0},"xn--d1at":{$:0},"xn--o1ach":{$:0},"xn--80au":{$:0}},"xn--p1ai":{$:0},"xn--wgbl6a":{$:0},"xn--mgberp4a5d4ar":{$:0},"xn--mgberp4a5d4a87g":{$:0},"xn--mgbqly7c0a67fbc":{$:0},"xn--mgbqly7cvafr":{$:0},"xn--mgbpl2fh":{$:0},"xn--yfro4i67o":{$:0},"xn--clchc0ea0b2g2a9gcd":{$:0},"xn--ogbpf8fl":{$:0},"xn--mgbtf8fl":{$:0},"xn--o3cw4h":{$:0,"xn--12c1fe0br":{$:0},"xn--12co0c3b4eva":{$:0},"xn--h3cuzk1di":{$:0},"xn--o3cyx2a":{$:0},"xn--m3ch0j3a":{$:0},"xn--12cfi8ixb8l":{$:0}},"xn--pgbs0dh":{$:0},"xn--kpry57d":{$:0},"xn--kprw13d":{$:0},"xn--nnx388a":{$:0},"xn--j1amh":{$:0},"xn--mgb2ddes":{$:0},xxx:{$:0},ye:{"*":{$:0}},za:{ac:{$:0},agric:{$:0},alt:{$:0},co:{$:0,blogspot:{$:0}},edu:{$:0},gov:{$:0},grondar:{$:0},law:{$:0},mil:{$:0}
253,net:{$:0},ngo:{$:0},nis:{$:0},nom:{$:0},org:{$:0},school:{$:0},tm:{$:0},web:{$:0}},zm:{$:0,ac:{$:0},biz:{$:0},co:{$:0},com:{$:0},edu:{$:0},gov:{$:0},info:{$:0},mil:{$:0},net:{$:0},org:{$:0},sch:{$:0}},zw:{$:0,ac:{$:0},co:{$:0},gov:{$:0},mil:{$:0},org:{$:0}},aaa:{$:0},aarp:{$:0},abarth:{$:0},abb:{$:0},abbott:{$:0},abbvie:{$:0},abc:{$:0},able:{$:0},abogado:{$:0},abudhabi:{$:0},academy:{$:0},accenture:{$:0},accountant:{$:0},accountants:{$:0},aco:{$:0},active:{$:0},actor:{$:0},adac:{$:0},ads:{$:0},adult:{$:0},aeg:{$:0},aetna:{$:0},afamilycompany:{$:0},afl:{$:0},africa:{$:0},agakhan:{$:0},agency:{$:0},aig:{$:0},aigo:{$:0},airbus:{$:0},airforce:{$:0},airtel:{$:0},akdn:{$:0},alfaromeo:{$:0},alibaba:{$:0},alipay:{$:0},allfinanz:{$:0},allstate:{$:0},ally:{$:0},alsace:{$:0},alstom:{$:0},americanexpress:{$:0},americanfamily:{$:0},amex:{$:0},amfam:{$:0},amica:{$:0},amsterdam:{$:0},analytics:{$:0},android:{$:0},anquan:{$:0},anz:{$:0},aol:{$:0},apartments:{$:0},app:{$:0},apple:{$:0},aquarelle:{$:0},arab:{$:0},aramco:{$:0},archi:{$:0},army:{$:0},art:{$:0},arte:{$:0},asda:{$:0},associates:{$:0},athleta:{$:0},attorney:{$:0},auction:{$:0},audi:{$:0},audible:{$:0},audio:{$:0},auspost:{$:0},author:{$:0},auto:{$:0},autos:{$:0},avianca:{$:0},aws:{$:0},axa:{$:0},azure:{$:0},baby:{$:0},baidu:{$:0},banamex:{$:0},bananarepublic:{$:0},band:{$:0},bank:{$:0},bar:{$:0},barcelona:{$:0},barclaycard:{$:0},barclays:{$:0},barefoot:{$:0},bargains:{$:0},baseball:{$:0},basketball:{$:0},bauhaus:{$:0},bayern:{$:0},bbc:{$:0},bbt:{$:0},bbva:{$:0},bcg:{$:0},bcn:{$:0},beats:{$:0},beauty:{$:0},beer:{$:0},bentley:{$:0},berlin:{$:0},best:{$:0},bestbuy:{$:0},bet:{$:0},bharti:{$:0},bible:{$:0},bid:{$:0},bike:{$:0},bing:{$:0},bingo:{$:0},bio:{$:0},black:{$:0},blackfriday:{$:0},blanco:{$:0},blockbuster:{$:0},blog:{$:0},bloomberg:{$:0},blue:{$:0},bms:{$:0},bmw:{$:0},bnl:{$:0},bnpparibas:{$:0},boats:{$:0},boehringer:{$:0},bofa:{$:0},bom:{$:0},bond:{$:0},boo:{$:0},book:{$:0},booking:{$:0},boots:{$:0},bosch:{$:0},bostik:{$:0},boston:{$:0},bot:{$:0},boutique:{$:0},box:{$:0},bradesco:{$:0},bridgestone:{$:0},broadway:{$:0},broker:{$:0},brother:{$:0},brussels:{$:0},budapest:{$:0},bugatti:{$:0},build:{$:0},builders:{$:0},business:{$:0},buy:{$:0},buzz:{$:0},bzh:{$:0},cab:{$:0},cafe:{$:0},cal:{$:0},call:{$:0},calvinklein:{$:0},cam:{$:0},camera:{$:0},camp:{$:0},cancerresearch:{$:0},canon:{$:0},capetown:{$:0},capital:{$:0},capitalone:{$:0},car:{$:0},caravan:{$:0},cards:{$:0},care:{$:0},career:{$:0},careers:{$:0},cars:{$:0},cartier:{$:0},casa:{$:0},case:{$:0},caseih:{$:0},cash:{$:0},casino:{$:0},catering:{$:0},catholic:{$:0},cba:{$:0},cbn:{$:0},cbre:{$:0},cbs:{$:0},ceb:{$:0},center:{$:0},ceo:{$:0},cern:{$:0},cfa:{$:0},cfd:{$:0},chanel:{$:0},channel:{$:0},chase:{$:0},chat:{$:0},cheap:{$:0},chintai:{$:0},christmas:{$:0},chrome:{$:0},chrysler:{$:0},church:{$:0},cipriani:{$:0},circle:{$:0},cisco:{$:0},citadel:{$:0},citi:{$:0},citic:{$:0},city:{$:0},cityeats:{$:0},claims:{$:0},cleaning:{$:0},click:{$:0},clinic:{$:0},clinique:{$:0},clothing:{$:0},cloud:{$:0,statics:{"*":{$:0}},magentosite:{"*":{$:0}},vapor:{$:0},sensiosite:{"*":{$:0}},trafficplex:{$:0}},club:{$:0,cloudns:{$:0}},clubmed:{$:0},coach:{$:0},codes:{$:0},coffee:{$:0},college:{$:0},cologne:{$:0},comcast:{$:0},commbank:{$:0},community:{$:0},company:{$:0},compare:{$:0},computer:{$:0},comsec:{$:0},condos:{$:0},construction:{$:0},consulting:{$:0},contact:{$:0},contractors:{$:0},cooking:{$:0},cookingchannel:{$:0},cool:{$:0,de:{$:0}},corsica:{$:0},country:{$:0},coupon:{$:0},coupons:{$:0},courses:{$:0},credit:{$:0},creditcard:{$:0},creditunion:{$:0},cricket:{$:0},crown:{$:0},crs:{$:0},cruise:{$:0},cruises:{$:0},csc:{$:0},cuisinella:{$:0},cymru:{$:0},cyou:{$:0},dabur:{$:0},dad:{$:0},dance:{$:0},data:{$:0},date:{$:0},dating:{$:0},datsun:{$:0},day:{$:0},dclk:{$:0},dds:{$:0},deal:{$:0},dealer:{$:0},deals:{$:0},degree:{$:0},delivery:{$:0},dell:{$:0},deloitte:{$:0},delta:{$:0},democrat:{$:0},dental:{$:0},dentist:{$:0},desi:{$:0},design:{$:0},dev:{$:0},dhl:{$:0},diamonds:{$:0},diet:{$:0},digital:{$:0},direct:{$:0},directory:{$:0},discount:{$:0},discover:{$:0},dish:{$:0},diy:{$:0},dnp:{$:0},docs:{$:0},doctor:{$:0},dodge:{$:0},dog:{$:0},doha:{$:0},domains:{$:0},dot:{$:0},download:{$:0},drive:{$:0},dtv:{$:0},dubai:{$:0},duck:{$:0},dunlop:{$:0},duns:{$:0},dupont:{$:0},durban:{$:0},dvag:{$:0},dvr:{$:0},earth:{$:0},eat:{$:0},eco:{$:0},edeka:{$:0},education:{$:0},email:{$:0},emerck:{$:0},energy:{$:0},engineer:{$:0},engineering:{$:0},enterprises:{$:0},epost:{$:0},epson:{$:0},equipment:{$:0},ericsson:{$:0},erni:{$:0},esq:{$:0},estate:{$:0,compute:{"*":{$:0}}},esurance:{$:0},etisalat:{$:0},eurovision:{$:0},eus:{$:0,party:{user:{$:0}}},events:{$:0},everbank:{$:0}
253,exchange:{$:0},expert:{$:0},exposed:{$:0},express:{$:0},extraspace:{$:0},fage:{$:0},fail:{$:0},fairwinds:{$:0},faith:{$:0,ybo:{$:0}},family:{$:0},fan:{$:0},fans:{$:0},farm:{$:0,storj:{$:0}},farmers:{$:0},fashion:{$:0},fast:{$:0},fedex:{$:0},feedback:{$:0},ferrari:{$:0},ferrero:{$:0},fiat:{$:0},fidelity:{$:0},fido:{$:0},film:{$:0},final:{$:0},finance:{$:0},financial:{$:0},fire:{$:0},firestone:{$:0},firmdale:{$:0},fish:{$:0},fishing:{$:0},fit:{$:0,ptplus:{$:0}},fitness:{$:0},flickr:{$:0},flights:{$:0},flir:{$:0},florist:{$:0},flowers:{$:0},fly:{$:0},foo:{$:0},food:{$:0},foodnetwork:{$:0},football:{$:0},ford:{$:0},forex:{$:0},forsale:{$:0},forum:{$:0},foundation:{$:0},fox:{$:0},free:{$:0},fresenius:{$:0},frl:{$:0},frogans:{$:0},frontdoor:{$:0},frontier:{$:0},ftr:{$:0},fujitsu:{$:0},fujixerox:{$:0},fun:{$:0},fund:{$:0},furniture:{$:0},futbol:{$:0},fyi:{$:0},gal:{$:0},gallery:{$:0},gallo:{$:0},gallup:{$:0},game:{$:0},games:{$:0},gap:{$:0},garden:{$:0},gbiz:{$:0},gdn:{$:0},gea:{$:0},gent:{$:0},genting:{$:0},george:{$:0},ggee:{$:0},gift:{$:0},gifts:{$:0},gives:{$:0},giving:{$:0},glade:{$:0},glass:{$:0},gle:{$:0},global:{$:0},globo:{$:0},gmail:{$:0},gmbh:{$:0},gmo:{$:0},gmx:{$:0},godaddy:{$:0},gold:{$:0},goldpoint:{$:0},golf:{$:0},goo:{$:0},goodhands:{$:0},goodyear:{$:0},goog:{$:0,cloud:{$:0}},google:{$:0},gop:{$:0},got:{$:0},grainger:{$:0},graphics:{$:0},gratis:{$:0},green:{$:0},gripe:{$:0},grocery:{$:0},group:{$:0},guardian:{$:0},gucci:{$:0},guge:{$:0},guide:{$:0},guitars:{$:0},guru:{$:0},hair:{$:0},hamburg:{$:0},hangout:{$:0},haus:{$:0},hbo:{$:0},hdfc:{$:0},hdfcbank:{$:0},health:{$:0},healthcare:{$:0},help:{$:0},helsinki:{$:0},here:{$:0},hermes:{$:0},hgtv:{$:0},hiphop:{$:0},hisamitsu:{$:0},hitachi:{$:0},hiv:{$:0},hkt:{$:0},hockey:{$:0},holdings:{$:0},holiday:{$:0},homedepot:{$:0},homegoods:{$:0},homes:{$:0},homesense:{$:0},honda:{$:0},honeywell:{$:0},horse:{$:0},hospital:{$:0},host:{$:0,cloudaccess:{$:0},freesite:{$:0}},hosting:{$:0,opencraft:{$:0}},hot:{$:0},hoteles:{$:0},hotels:{$:0},hotmail:{$:0},house:{$:0},how:{$:0},hsbc:{$:0},hughes:{$:0},hyatt:{$:0},hyundai:{$:0},ibm:{$:0},icbc:{$:0},ice:{$:0},icu:{$:0},ieee:{$:0},ifm:{$:0},ikano:{$:0},imamat:{$:0},imdb:{$:0},immo:{$:0},immobilien:{$:0},industries:{$:0},infiniti:{$:0},ing:{$:0},ink:{$:0},institute:{$:0},insurance:{$:0},insure:{$:0},intel:{$:0},international:{$:0},intuit:{$:0},investments:{$:0},ipiranga:{$:0},irish:{$:0},iselect:{$:0},ismaili:{$:0},ist:{$:0},istanbul:{$:0},itau:{$:0},itv:{$:0},iveco:{$:0},iwc:{$:0},jaguar:{$:0},java:{$:0},jcb:{$:0},jcp:{$:0},jeep:{$:0},jetzt:{$:0},jewelry:{$:0},jio:{$:0},jlc:{$:0},jll:{$:0},jmp:{$:0},jnj:{$:0},joburg:{$:0},jot:{$:0},joy:{$:0},jpmorgan:{$:0},jprs:{$:0},juegos:{$:0},juniper:{$:0},kaufen:{$:0},kddi:{$:0},kerryhotels:{$:0},kerrylogistics:{$:0},kerryproperties:{$:0},kfh:{$:0},kia:{$:0},kim:{$:0},kinder:{$:0},kindle:{$:0},kitchen:{$:0},kiwi:{$:0},koeln:{$:0},komatsu:{$:0},kosher:{$:0},kpmg:{$:0},kpn:{$:0},krd:{$:0,co:{$:0},edu:{$:0}},kred:{$:0},kuokgroup:{$:0},kyoto:{$:0},lacaixa:{$:0},ladbrokes:{$:0},lamborghini:{$:0},lamer:{$:0},lancaster:{$:0},lancia:{$:0},lancome:{$:0},land:{$:0,static:{$:0,dev:{$:0},sites:{$:0}}},landrover:{$:0},lanxess:{$:0},lasalle:{$:0},lat:{$:0},latino:{$:0},latrobe:{$:0},law:{$:0},lawyer:{$:0},lds:{$:0},lease:{$:0},leclerc:{$:0},lefrak:{$:0},legal:{$:0},lego:{$:0},lexus:{$:0},lgbt:{$:0},liaison:{$:0},lidl:{$:0},life:{$:0},lifeinsurance:{$:0},lifestyle:{$:0},lighting:{$:0},like:{$:0},lilly:{$:0},limited:{$:0},limo:{$:0},lincoln:{$:0},linde:{$:0},link:{$:0,cyon:{$:0},mypep:{$:0}},lipsy:{$:0},live:{$:0},living:{$:0},lixil:{$:0},loan:{$:0},loans:{$:0},locker:{$:0},locus:{$:0},loft:{$:0},lol:{$:0},london:{$:0},lotte:{$:0},lotto:{$:0},love:{$:0},lpl:{$:0},lplfinancial:{$:0},ltd:{$:0},ltda:{$:0},lundbeck:{$:0},lupin:{$:0},luxe:{$:0},luxury:{$:0},macys:{$:0},madrid:{$:0},maif:{$:0},maison:{$:0},makeup:{$:0},man:{$:0},management:{$:0,router:{$:0}},mango:{$:0},map:{$:0},market:{$:0},marketing:{$:0},markets:{$:0},marriott:{$:0},marshalls:{$:0},maserati:{$:0},mattel:{$:0},mba:{$:0},mckinsey:{$:0},med:{$:0},media:{$:0},meet:{$:0},melbourne:{$:0},meme:{$:0},memorial:{$:0},men:{$:0},menu:{$:0},meo:{$:0},merckmsd:{$:0},metlife:{$:0},miami:{$:0},microsoft:{$:0},mini:{$:0},mint:{$:0},mit:{$:0},mitsubishi:{$:0},mlb:{$:0},mls:{$:0},mma:{$:0},mobile:{$:0},mobily:{$:0},moda:{$:0},moe:{$:0},moi:{$:0},mom:{$:0},monash:{$:0},money:{$:0},monster:{$:0},mopar:{$:0},mormon:{$:0},mortgage:{$:0},moscow:{$:0},moto:{$:0},motorcycles:{$:0},mov:{$:0},movie:{$:0},movistar:{$:0},msd:{$:0},mtn:{$:0},mtpc:{$:0},mtr:{$:0},mutual:{$:0},nab:{$:0},nadex:{$:0},nagoya:{$:0},nationwide:{$:0},natura:{$:0},navy:{$:0},nba:{$:0},nec:{$:0},netbank:{$:0},netflix:{$:0},network:{$:0,alces:{"*":{$:0}}},neustar:{$:0},new:{$:0},newholland:{$:0},news:{$:0},next:{$:0},nextdirect:{$:0},nexus:{$:0},nfl:{$:0},ngo:{$:0}
253,nhk:{$:0},nico:{$:0},nike:{$:0},nikon:{$:0},ninja:{$:0},nissan:{$:0},nissay:{$:0},nokia:{$:0},northwesternmutual:{$:0},norton:{$:0},now:{$:0},nowruz:{$:0},nowtv:{$:0},nra:{$:0},nrw:{$:0},ntt:{$:0},nyc:{$:0},obi:{$:0},observer:{$:0},off:{$:0},office:{$:0},okinawa:{$:0},olayan:{$:0},olayangroup:{$:0},oldnavy:{$:0},ollo:{$:0},omega:{$:0},one:{$:0,homelink:{$:0}},ong:{$:0},onl:{$:0},online:{$:0,barsy:{$:0}},onyourside:{$:0},ooo:{$:0},open:{$:0},oracle:{$:0},orange:{$:0},organic:{$:0},origins:{$:0},osaka:{$:0},otsuka:{$:0},ott:{$:0},ovh:{$:0,nerdpol:{$:0}},page:{$:0},panasonic:{$:0},panerai:{$:0},paris:{$:0},pars:{$:0},partners:{$:0},parts:{$:0},party:{$:0,ybo:{$:0}},passagens:{$:0},pay:{$:0},pccw:{$:0},pet:{$:0},pfizer:{$:0},pharmacy:{$:0},phd:{$:0},philips:{$:0},phone:{$:0},photo:{$:0},photography:{$:0},photos:{$:0},physio:{$:0},piaget:{$:0},pics:{$:0},pictet:{$:0},pictures:{1337:{$:0},$:0},pid:{$:0},pin:{$:0},ping:{$:0},pink:{$:0},pioneer:{$:0},pizza:{$:0},place:{$:0},play:{$:0},playstation:{$:0},plumbing:{$:0},plus:{$:0},pnc:{$:0},pohl:{$:0},poker:{$:0},politie:{$:0},porn:{$:0},pramerica:{$:0},praxi:{$:0},press:{$:0},prime:{$:0},prod:{$:0},productions:{$:0},prof:{$:0},progressive:{$:0},promo:{$:0},properties:{$:0},property:{$:0},protection:{$:0},pru:{$:0},prudential:{$:0},pub:{$:0},pwc:{$:0},qpon:{$:0},quebec:{$:0},quest:{$:0},qvc:{$:0},racing:{$:0},radio:{$:0},raid:{$:0},read:{$:0},realestate:{$:0},realtor:{$:0},realty:{$:0},recipes:{$:0},red:{$:0},redstone:{$:0},redumbrella:{$:0},rehab:{$:0},reise:{$:0},reisen:{$:0},reit:{$:0},reliance:{$:0},ren:{$:0},rent:{$:0},rentals:{$:0},repair:{$:0},report:{$:0},republican:{$:0},rest:{$:0},restaurant:{$:0},review:{$:0,ybo:{$:0}},reviews:{$:0},rexroth:{$:0},rich:{$:0},richardli:{$:0},ricoh:{$:0},rightathome:{$:0},ril:{$:0},rio:{$:0},rip:{$:0,clan:{$:0}},rmit:{$:0},rocher:{$:0},rocks:{$:0,myddns:{$:0},"lima-city":{$:0},webspace:{$:0}},rodeo:{$:0},rogers:{$:0},room:{$:0},rsvp:{$:0},rugby:{$:0},ruhr:{$:0},run:{$:0},rwe:{$:0},ryukyu:{$:0},saarland:{$:0},safe:{$:0},safety:{$:0},sakura:{$:0},sale:{$:0},salon:{$:0},samsclub:{$:0},samsung:{$:0},sandvik:{$:0},sandvikcoromant:{$:0},sanofi:{$:0},sap:{$:0},sapo:{$:0},sarl:{$:0},sas:{$:0},save:{$:0},saxo:{$:0},sbi:{$:0},sbs:{$:0},sca:{$:0},scb:{$:0},schaeffler:{$:0},schmidt:{$:0},scholarships:{$:0},school:{$:0},schule:{$:0},schwarz:{$:0},science:{$:0,ybo:{$:0}},scjohnson:{$:0},scor:{$:0},scot:{$:0},search:{$:0},seat:{$:0},secure:{$:0},security:{$:0},seek:{$:0},select:{$:0},sener:{$:0},services:{$:0},ses:{$:0},seven:{$:0},sew:{$:0},sex:{$:0},sexy:{$:0},sfr:{$:0},shangrila:{$:0},sharp:{$:0},shaw:{$:0},shell:{$:0},shia:{$:0},shiksha:{$:0},shoes:{$:0},shop:{$:0},shopping:{$:0},shouji:{$:0},show:{$:0},showtime:{$:0},shriram:{$:0},silk:{$:0},sina:{$:0},singles:{$:0},site:{$:0,cyon:{$:0},platformsh:{"*":{$:0}},byen:{$:0}},ski:{$:0},skin:{$:0},sky:{$:0},skype:{$:0},sling:{$:0},smart:{$:0},smile:{$:0},sncf:{$:0},soccer:{$:0},social:{$:0},softbank:{$:0},software:{$:0},sohu:{$:0},solar:{$:0},solutions:{$:0},song:{$:0},sony:{$:0},soy:{$:0},space:{$:0,stackspace:{$:0},uber:{$:0},xs4all:{$:0}},spiegel:{$:0},spot:{$:0},spreadbetting:{$:0},srl:{$:0},srt:{$:0},stada:{$:0},staples:{$:0},star:{$:0},starhub:{$:0},statebank:{$:0},statefarm:{$:0},statoil:{$:0},stc:{$:0},stcgroup:{$:0},stockholm:{$:0},storage:{$:0},store:{$:0},stream:{$:0},studio:{$:0},study:{$:0},style:{$:0},sucks:{$:0},supplies:{$:0},supply:{$:0},support:{$:0,barsy:{$:0}},surf:{$:0},surgery:{$:0},suzuki:{$:0},swatch:{$:0},swiftcover:{$:0},swiss:{$:0},sydney:{$:0},symantec:{$:0},systems:{$:0,knightpoint:{$:0}},tab:{$:0},taipei:{$:0},talk:{$:0},taobao:{$:0},target:{$:0},tatamotors:{$:0},tatar:{$:0},tattoo:{$:0},tax:{$:0},taxi:{$:0},tci:{$:0},tdk:{$:0},team:{$:0},tech:{$:0},technology:{$:0},telecity:{$:0},telefonica:{$:0},temasek:{$:0},tennis:{$:0},teva:{$:0},thd:{$:0},theater:{$:0},theatre:{$:0},tiaa:{$:0},tickets:{$:0},tienda:{$:0},tiffany:{$:0},tips:{$:0},tires:{$:0},tirol:{$:0},tjmaxx:{$:0},tjx:{$:0},tkmaxx:{$:0},tmall:{$:0},today:{$:0},tokyo:{$:0},tools:{$:0},top:{$:0},toray:{$:0},toshiba:{$:0},total:{$:0},tours:{$:0},town:{$:0},toyota:{$:0},toys:{$:0},trade:{$:0,ybo:{$:0}},trading:{$:0},training:{$:0},travelchannel:{$:0},travelers:{$:0},travelersinsurance:{$:0},trust:{$:0},trv:{$:0},tube:{$:0},tui:{$:0},tunes:{$:0},tushu:{$:0},tvs:{$:0},ubank:{$:0},ubs:{$:0},uconnect:{$:0},unicom:{$:0},university:{$:0},uno:{$:0},uol:{$:0}
253,ups:{$:0},vacations:{$:0},vana:{$:0},vanguard:{$:0},vegas:{$:0},ventures:{$:0},verisign:{$:0},versicherung:{$:0},vet:{$:0},viajes:{$:0},video:{$:0},vig:{$:0},viking:{$:0},villas:{$:0},vin:{$:0},vip:{$:0},virgin:{$:0},visa:{$:0},vision:{$:0},vista:{$:0},vistaprint:{$:0},viva:{$:0},vivo:{$:0},vlaanderen:{$:0},vodka:{$:0},volkswagen:{$:0},volvo:{$:0},vote:{$:0},voting:{$:0},voto:{$:0},voyage:{$:0},vuelos:{$:0},wales:{$:0},walmart:{$:0},walter:{$:0},wang:{$:0},wanggou:{$:0},warman:{$:0},watch:{$:0},watches:{$:0},weather:{$:0},weatherchannel:{$:0},webcam:{$:0},weber:{$:0},website:{$:0},wed:{$:0},wedding:{$:0},weibo:{$:0},weir:{$:0},whoswho:{$:0},wien:{$:0},wiki:{$:0},williamhill:{$:0},win:{$:0},windows:{$:0},wine:{$:0},winners:{$:0},wme:{$:0},wolterskluwer:{$:0},woodside:{$:0},work:{$:0},works:{$:0},world:{$:0},wow:{$:0},wtc:{$:0},wtf:{$:0},xbox:{$:0},xerox:{$:0},xfinity:{$:0},xihuan:{$:0},xin:{$:0},"xn--11b4c3d":{$:0},"xn--1ck2e1b":{$:0},"xn--1qqw23a":{$:0},"xn--30rr7y":{$:0},"xn--3bst00m":{$:0},"xn--3ds443g":{$:0},"xn--3oq18vl8pn36a":{$:0},"xn--3pxu8k":{$:0},"xn--42c2d9a":{$:0},"xn--45q11c":{$:0},"xn--4gbrim":{$:0},"xn--55qw42g":{$:0},"xn--55qx5d":{$:0},"xn--5su34j936bgsg":{$:0},"xn--5tzm5g":{$:0},"xn--6frz82g":{$:0},"xn--6qq986b3xl":{$:0},"xn--80adxhks":{$:0},"xn--80aqecdr1a":{$:0},"xn--80asehdb":{$:0},"xn--80aswg":{$:0},"xn--8y0a063a":{$:0},"xn--9dbq2a":{$:0},"xn--9et52u":{$:0},"xn--9krt00a":{$:0},"xn--b4w605ferd":{$:0},"xn--bck1b9a5dre4c":{$:0},"xn--c1avg":{$:0},"xn--c2br7g":{$:0},"xn--cck2b3b":{$:0},"xn--cg4bki":{$:0},"xn--czr694b":{$:0},"xn--czrs0t":{$:0},"xn--czru2d":{$:0},"xn--d1acj3b":{$:0},"xn--eckvdtc9d":{$:0},"xn--efvy88h":{$:0},"xn--estv75g":{$:0},"xn--fct429k":{$:0},"xn--fhbei":{$:0},"xn--fiq228c5hs":{$:0},"xn--fiq64b":{$:0},"xn--fjq720a":{$:0},"xn--flw351e":{$:0},"xn--fzys8d69uvgm":{$:0},"xn--g2xx48c":{$:0},"xn--gckr3f0f":{$:0},"xn--gk3at1e":{$:0},"xn--hxt814e":{$:0},"xn--i1b6b1a6a2e":{$:0},"xn--imr513n":{$:0},"xn--io0a7i":{$:0},"xn--j1aef":{$:0},"xn--jlq61u9w7b":{$:0},"xn--jvr189m":{$:0},"xn--kcrx77d1x4a":{$:0},"xn--kpu716f":{$:0},"xn--kput3i":{$:0},"xn--mgba3a3ejt":{$:0},"xn--mgba7c0bbn0a":{$:0},"xn--mgbaakc7dvf":{$:0},"xn--mgbab2bd":{$:0},"xn--mgbb9fbpob":{$:0},"xn--mgbca7dzdo":{$:0},"xn--mgbi4ecexp":{$:0},"xn--mgbt3dhd":{$:0},"xn--mk1bu44c":{$:0},"xn--mxtq1m":{$:0},"xn--ngbc5azd":{$:0},"xn--ngbe9e0a":{$:0},"xn--ngbrx":{$:0},"xn--nqv7f":{$:0},"xn--nqv7fs00ema":{$:0},"xn--nyqy26a":{$:0},"xn--p1acf":{$:0},"xn--pbt977c":{$:0},"xn--pssy2u":{$:0},"xn--q9jyb4c":{$:0},"xn--qcka1pmc":{$:0},"xn--rhqv96g":{$:0},"xn--rovu88b":{$:0},"xn--ses554g":{$:0},"xn--t60b56a":{$:0},"xn--tckwe":{$:0},"xn--tiq49xqyj":{$:0},"xn--unup4y":{$:0},"xn--vermgensberater-ctb":{$:0},"xn--vermgensberatung-pwb":{$:0},"xn--vhquv":{$:0},"xn--vuq861b":{$:0},"xn--w4r85el8fhu5dnra":{$:0},"xn--w4rs40l":{$:0},"xn--xhq521b":{$:0},"xn--zfr164b":{$:0},xperia:{$:0},xyz:{$:0,blogsite:{$:0},fhapp:{$:0}},yachts:{$:0},yahoo:{$:0},yamaxun:{$:0},yandex:{$:0},yodobashi:{$:0},yoga:{$:0},yokohama:{$:0},you:{$:0},youtube:{$:0},yun:{$:0},zappos:{$:0},zara:{$:0},zero:{$:0},zip:{$:0},zippo:{$:0},zone:{$:0,triton:{"*":{$:0}},lima:{$:0}},zuerich:{$:0}}}},{}]},{},[1])(1)}); 254 255 256 257!function($,options){if(options.debug){console.log('PYS:',options)} 258var uniqueId={};let gtm_variables={};let gtm_datalayername="dynamicVariable";var domain='';if(options.hasOwnProperty("track_cookie_for_subdomains")&&options.track_cookie_for_subdomains){domain=getRootDomain(!0)} 259var pageReferrer='';try{pageReferrer=stripUrlQuery((document.referrer||'').toString())}catch(e){} 260var PYS_SESSION_ENTRY_REFERRER_KEY='pys_session_entry_referrer';function stripUrlQuery(url){if(!url)return'';var clean=String(url);var q=clean.indexOf('?');if(q!==-1)clean=clean.substring(0,q);var h=clean.indexOf('#');if(h!==-1)clean=clean.substring(0,h);return clean} 261var sessionEntryReferrer='';function getOrInitSessionEntryReferrer(consentGranted){var value='';try{if(typeof window.sessionStorage!=='undefined'){value=window.sessionStorage.getItem(PYS_SESSION_ENTRY_REFERRER_KEY)||''}}catch(e){}
262if(!value){var cookieValue=Cookies.get(PYS_SESSION_ENTRY_REFERRER_KEY);if(cookieValue&&cookieValue!=='undefined'){value=cookieValue;try{if(typeof window.sessionStorage!=='undefined'){window.sessionStorage.setItem(PYS_SESSION_ENTRY_REFERRER_KEY,value)}}catch(e){}}} 263if(!value){var raw='';try{raw=stripUrlQuery((document.referrer||'').toString())}catch(e){} 264if(raw){var refHost='';try{refHost=new URL(raw).hostname}catch(e){} 265if(refHost&&refHost!==window.location.hostname){value=raw;try{if(typeof window.sessionStorage!=='undefined'){window.sessionStorage.setItem(PYS_SESSION_ENTRY_REFERRER_KEY,value)}}catch(e){}}}} 266if(value&&consentGranted&&options&&options.cookie&&!options.cookie.disabled_all_cookie){var existingCookie=Cookies.get(PYS_SESSION_ENTRY_REFERRER_KEY);if(!existingCookie||existingCookie==='undefined'){Cookies.set(PYS_SESSION_ENTRY_REFERRER_KEY,value,{path:'/',domain:domain})}} 267sessionEntryReferrer=value;return value} 268getOrInitSessionEntryReferrer(!1);var PYS_EVENT_REFERRER_KEY='pys_event_referrer';function writeEventReferrerCookie(){if(!pageReferrer){return} 269if(!options||!options.cookie||options.cookie.disabled_all_cookie){return} 270try{Cookies.set(PYS_EVENT_REFERRER_KEY,pageReferrer,{path:'/',domain:domain})}catch(e){}} 271function resolveParamValue(param,key=''){if(param===null||param===undefined){return null} 272if(typeof param!=='object'){return param} 273if(Array.isArray(param)){return param.map(item=>resolveParamValue(item,key))} 274const isConfigObject=('value' in param||'selector' in param||'dynamic' in param||'input_type' in param)&&Object.keys(param).every(k=>['value','selector','dynamic','input_type','name'].includes(k));if(isConfigObject){const isStatic=(!param.dynamic||param.dynamic===!1)||(!param.selector||param.selector.trim()==='');if(isStatic){let value=param.value??null;if(param.input_type==="float"||param.input_type==="int"){value=extractNumericValue(value,param.input_type==="int")} 275return value} 276try{const el=document.querySelector(param.selector);if(!el){return null} 277let value=el.value||el.innerText||el.textContent||el.getAttribute("content")||el.getAttribute("data-value")||null;if(param.input_type==="float"||param.input_type==="int"){value=extractNumericValue(value,param.input_type==="int")} 278return value}catch(e){return null}} 279return Object.fromEntries(Object.entries(param).map(([k,v])=>[k,resolveParamValue(v,k)]).filter(([k,v])=>v!==null&&v!==undefined))} 280function extractNumericValue(value,isInt=!1){if(value===null||value===undefined){return null} 281if(isInt){return parseInt(value)} 282return parseFloat(value)} 283var dummyPinterest=function(){return{tag:function(){return"pinterest"},isEnabled:function(){},disable:function(){},loadPixel:function(){},fireEvent:function(name,data){return!1},onAdSenseEvent:function(event){},onClickEvent:function(params){},onWatchVideo:function(params){},onCommentEvent:function(){},onDownloadEvent:function(params){},onFormEvent:function(params){},onWooAddToCartOnButtonEvent:function(product_id){},onWooAddToCartOnSingleEvent:function(product_id,qty,is_variable,is_external,$form){},onWooRemoveFromCartEvent:function(cart_item_hash){},onWooAffiliateEvent:function(product_id){},onWooPayPalEvent:function(event){},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){},onEddRemoveFromCartEvent:function(item){},onPageScroll:function(event){},onTime:function(event){},}}();var dummyBing=function(){return{tag:function(){return"bing"},isEnabled:function(){},disable:function(){},loadPixel:function(){},fireEvent:function(name,data){return!1},onAdSenseEvent:function(){},onClickEvent:function(params){},onWatchVideo:function(params){},onCommentEvent:function(){},onFormEvent:function(params){},onDownloadEvent:function(params){},onWooAddToCartOnButtonEvent:function(product_id){},onWooAddToCartOnSingleEvent:function(product_id,qty,is_variable,is_external,$form){},onWooRemoveFromCartEvent:function(cart_item_hash){},onWooAffiliateEvent:function(product_id){},onWooPayPalEvent:function(){},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){},onEddRemoveFromCartEvent:function(item){},onPageScroll:function(event){},onTime:function(event){},}}();var dummyReddit=function(){return{tag:function(){return"reddit"},isEnabled:function(){},disable:function(){},loadPixel:function(){},fireEvent:function(name,data){return!1},onAdSenseEvent:function(event){},onClickEvent:function(params){},onWatchVideo:function(params){},onCommentEvent:function(event){},onFormEvent:function(params){},onDownloadEvent:function(params){},onWooAddToCartOnButtonEvent:function(product_id){},onWooAddToCartOnSingleEvent:function(product_id,qty,product_type,is_external,$form){},onWooRemoveFromCartEvent:function(cart_item_hash){},onWooAffiliateEvent:function(product_id){},onWooPayPalEvent:function(event){},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){},onEddRemoveFromCartEvent:function(item){},onPageScroll:function(event){},onTime:function(event){},}}();var Utils=function(options){var Pinterest=dummyPinterest;var Bing=dummyBing;var Reddit=dummyReddit;var gtag_loaded=!1;var gtm_loaded=!1;var gtm_consent_state_pushed=!1;let isNewSession=checkSession();var utmTerms=['utm_source','utm_medium','utm_campaign','utm_term','utm_content'];var utmId=['fbadid','gadid','padid','bingid'];let dataLayerName='dataLayerPYS';let GTMdataLayerName='dataLayer';function validateEmail(email){var re=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return re.test(email)} 284function getDomain(url){url=url.replace(/(https?:\/\/)?(www.)?/i,'');if(url.indexOf('/')!==-1){return url.split('/')[0]} 285return url} 286function loadPixels(){Utils.refreshAddonPixels();if(!options.gdpr.all_disabled_by_api){if(!options.gdpr.facebook_disabled_by_api){Facebook.loadPixel()} 287if(!options.gdpr.analytics_disabled_by_api){Analytics.loadPixel()} 288if(!options.gdpr.analytics_disabled_by_api){GTM.loadPixel()} 289if(!options.gdpr.pinterest_disabled_by_api){Pinterest.loadPixel()} 290if(!options.gdpr.bing_disabled_by_api){Bing.loadPixel()} 291if(!options.gdpr.openai_disabled_by_api){OpenAI.loadPixel()} 292if(!options.gdpr.reddit_disabled_by_api){Reddit.loadPixel()}} 293if(options.gdpr.consent_magic_integration_enabled&&typeof CS_Data!=="undefined"){if(typeof CS_Data.cs_google_analytics_consent_mode!=="undefined"&&CS_Data.cs_google_analytics_consent_mode==1){Analytics.loadPixel()}}} 294function checkSession(){if(Cookies.get('pys_start_session')===undefined||Cookies.get('pys_session_limit')===undefined){firstVisit=!0;return!0} 295return!1} 296function getTrafficSource(){try{let referrer=stripUrlQuery(document.referrer.toString()),source;let direct=referrer.length===0;let internal=direct?!1:referrer.indexOf(options.siteUrl)===0;let external=!direct&&!internal;if(external===!1){source='direct'}else{source=referrer} 297if(source!=='direct'){return getDomain(source)}else{return source}}catch(e){console.error(e);return'direct'}} 298function getQueryVars(){try{var result={},tmp=[];window.location.search.substr(1).split("&").forEach(function(item){tmp=item.split('=');if(tmp.length>1){result[tmp[0]]=tmp[1]}});return result}catch(e){console.error(e);return{}}} 299function getLandingPageValue(){let name="pys_landing_page" 300if(options.visit_data_model==="last_visit"){name="last_pys_landing_page"} 301if(Cookies.get(name)&&Cookies.get(name)!=="undefined"){return Cookies.get(name)}else if(options.hasOwnProperty("tracking_analytics")&&options.tracking_analytics.TrafficLanding){return options.tracking_analytics.TrafficLanding}else{return""}} 302function getTrafficSourceValue(){let name="pysTrafficSource" 303if(options.visit_data_model==="last_visit"){name="last_pysTrafficSource"} 304if(Cookies.get(name)&&Cookies.get(name)!=="undefined"){return Cookies.get(name)}else{return""}} 305function getUTMId(useLast=!1){try{let cookiePrefix='pys_' 306let terms=[];if(useLast){cookiePrefix='last_pys_'} 307$.each(utmId,function(index,name){if(Cookies.get(cookiePrefix+name)){terms[name]=Cookies.get(cookiePrefix+name)}else if(options.hasOwnProperty("tracking_analytics")&&options.tracking_analytics.TrafficUtmsId[name]){terms[name]=filterEmails(options.tracking_analytics.TrafficUtmsId[name])}});return terms}catch(e){console.error(e);return[]}} 308function getUTMs(useLast=!1){try{let cookiePrefix='pys_' 309if(useLast){cookiePrefix='last_pys_'} 310let terms=[];$.each(utmTerms,function(index,name){if(Cookies.get(cookiePrefix+name)){let value=Cookie
310s.get(cookiePrefix+name);terms[name]=filterEmails(value)}else if(options.hasOwnProperty("tracking_analytics")&&options.tracking_analytics.TrafficUtms[name]){terms[name]=filterEmails(options.tracking_analytics.TrafficUtms[name])}});return terms}catch(e){console.error(e);return[]}} 311function getDateTime(){var dateTime=new Array();var date=new Date(),days=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],months=['January','February','March','April','May','June','July','August','September','October','November','December'],hours=['00-01','01-02','02-03','03-04','04-05','05-06','06-07','07-08','08-09','09-10','10-11','11-12','12-13','13-14','14-15','15-16','16-17','17-18','18-19','19-20','20-21','21-22','22-23','23-24'];dateTime.push(hours[date.getHours()]);dateTime.push(days[date.getDay()]);dateTime.push(months[date.getMonth()]);return dateTime} 312function filterEmails(value){return validateEmail(value)?undefined:value} 313return{PRODUCT_SIMPLE:0,PRODUCT_VARIABLE:1,PRODUCT_BUNDLE:2,PRODUCT_GROUPED:3,utmTerms:utmTerms,utmId:utmId,fireEventForAllPixel:function(functionName,events){Utils.refreshAddonPixels();if(events.hasOwnProperty(Facebook.tag())) 314Facebook[functionName](events[Facebook.tag()]);if(events.hasOwnProperty(Analytics.tag())) 315Analytics[functionName](events[Analytics.tag()]);if(events.hasOwnProperty(Pinterest.tag())) 316Pinterest[functionName](events[Pinterest.tag()]);if(events.hasOwnProperty(Bing.tag())) 317Bing[functionName](events[Bing.tag()]);if(events.hasOwnProperty(Reddit.tag())) 318Reddit[functionName](events[Reddit.tag()]);if(events.hasOwnProperty(GTM.tag())) 319GTM[functionName](events[GTM.tag()]);},refreshAddonPixels:function(){Pinterest=Utils.setupPinterestObject();Bing=Utils.setupBingObject();Reddit=Utils.setupRedditObject()},csModeEnabled:function(value){return Number(value)===1},setupPinterestObject:function(){Pinterest=window.pys.Pinterest||Pinterest;return Pinterest},setupBingObject:function(){Bing=window.pys.Bing||Bing;return Bing},setupRedditObject:function(){Reddit=window.pys.Reddit||Reddit;return Reddit},copyProperties:function(from,to){for(var key in from){if("function"==typeof from[key]){continue} 320to[key]=from[key]} 321return to},manageCookies:function(){if(typeof options.cookie==='undefined'){return} 322if(options.gdpr.cookiebot_integration_enabled&&typeof Cookiebot!=='undefined'){if(Cookiebot.consented===!1&&!Cookiebot.consent.marketing&&!Cookiebot.consent.statistics){return}} 323let cm_consent_not_expressed=!1;if(options.gdpr.consent_magic_integration_enabled&&window.CS_Data!==undefined&&window.CS_Data.cs_refresh_after_consent==1){if(Cookies.get('cs_viewed_cookie_policy')===undefined){cm_consent_not_expressed=!0}} 324if(!cm_consent_not_expressed&&isNewSession&&!options.cookie.disabled_all_cookie&&!options.cookie.disabled_start_session_cookie){let duration=options.last_visit_duration*60000 325var now=new Date();now.setTime(now.getTime()+duration);Cookies.set('pys_session_limit',!0,{expires:now,path:'/',domain:domain}) 326Cookies.set('pys_start_session',!0,{path:'/',domain:domain})} 327if(options.ajaxForServerEvent&&!Cookies.get('pbid')&&Facebook.isEnabled()){jQuery.ajax({url:options.ajaxUrl,dataType:'json',data:{action:'pys_get_pbid'},success:function(res){if(res.data&&res.data.pbid!=!1&&options.send_external_id){if(!(options.cookie.disabled_all_cookie||options.cookie.externalID_disabled_by_api)){var expires=parseInt(options.external_id_expire||180);Cookies.set('pbid',res.data.pbid,{expires:expires,path:'/',domain:domain})} 328if(options.hasOwnProperty('facebook')){options.facebook.advancedMatching={...options.facebook.advancedMatching,external_id:res.data.pbid}}}}})}else if(Cookies.get('pbid')&&Facebook.isEnabled()){if(Facebook.advancedMatching()&&Facebook.advancedMatching().external_id&&!(options.cookie.disabled_all_cookie||options.cookie.externalID_disabled_by_api)){let expires=parseInt(options.external_id_expire||180);Cookies.set('pbid',Facebook.advancedMatching().external_id,{expires:expires,path:'/',domain:domain})}} 329let expires=parseInt(options.cookie_duration);let queryVars=getQueryVars();let landing=window.location.href.split('?')[0];try{if(Cookies.get('pys_first_visit')===undefined&&(!options.cookie.disabled_all_cookie)){if(!options.cookie.disabled_first_visit_cookie){Cookies.set('pys_first_visit',!0,{expires:expires,path:'/',domain:domain})}else{Cookies.remove('pys_first_visit')} 330if(!options.cookie.disabled_trafficsource_cookie){Cookies.set('pysTrafficSource',getTrafficSource(),{expires:expires,path:'/',domain:domain})}else{Cookies.remove('pysTrafficSource')} 331if(!options.cookie.disabled_landing_page_cookie){Cookies.set('pys_landing_page',landing,{expires:expires,path:'/',domain:domain})}else{Cookies.remove('pys_landing_page')} 332if(!options.cookie.disabled_utmTerms_cookie){$.each(utmTerms,function(index,name){if(queryVars.hasOwnProperty(name)){Cookies.set('pys_'+name,queryVars[name],{expires:expires,path:'/',domain:domain})}else{Cookies.remove('pys_'+name)}})}else{$.each(utmTerms,function(index,name){Cookies.remove('pys_'+name)})} 333if(!options.cookie.disabled_utmId_cookie){$.each(utmId,function(index,name){if(queryVars.hasOwnProperty(name)){Cookies.set('pys_'+name,queryVars[name],{expires:expires,path:'/',domain:domain})}else{Cookies.remove('pys_'+name)}})}else{$.each(utmId,function(index,name){Cookies.remove('pys_'+name)})}} 334if(isNewSession&&(!options.cookie.disabled_all_cookie)){if(!options.cookie.disabled_trafficsource_cookie){Cookies.set('last_pysTrafficSource',getTrafficSource(),{expires:expires,path:'/',domain:domain})}else{Cookies.remove('last_pysTrafficSource')} 335if(!options.cookie.disabled_landing_page_cookie){Cookies.set('last_pys_landing_page',landing,{expires:expires,path:'/',domain:domain})}else{Cookies.remove('last_pys_landing_page')} 336if(!options.cookie.disabled_utmTerms_cookie){$.each(utmTerms,function(index,name){if(queryVars.hasOwnProperty(name)){Cookies.set('last_pys_'+name,queryVars[name],{expires:expires,path:'/',domain:domain})}else{Cookies.remove('last_pys_'+name)}})}else{$.each(utmTerms,function(index,name){Cookies.remove('last_pys_'+name)})} 337if(!options.cookie.disabled_utmId_cookie){$.each(utmId,function(index,name){if(queryVars.hasOwnProperty(name)){Cookies.set('last_pys_'+name,queryVars[name],{expires:expires,path:'/',domain:domain})}else{Cookies.remove('last_pys_'+name)}})}else{$.each(utmId,function(index,name){Cookies.remove('last_pys_'+name)})}} 338if(options.cookie.disabled_start_session_cookie){Cookies.remove('pys_start_session') 339Cookies.remove('pys_session_limit')} 340if(options.cookie.disabled_all_cookie){Cookies.remove('pys_first_visit') 341Cookies.remove('pysTrafficSource') 342Cookies.remove('pys_landing_page') 343Cookies.remove('last_pys_landing_page') 344Cookies.remove('last_pysTrafficSource') 345Cookies.remove('pys_start_session') 346Cookies.remove('pys_session_limit') 347$.each(Utils.utmTerms,function(index,name){Cookies.remove('pys_'+name)});$.each(Utils.utmId,function(index,name){Cookies.remove('pys_'+name)}) 348$.each(Utils.utmTerms,function(index,name){Cookies.remove('last_pys_'+name)});$.each(Utils.utmId,function(index,name){Cookies.remove('last_pys_'+name)})}}catch(e){console.error(e)}},isMetaEnabledCapiPixel:function(pixelId){var pixels=options.facebook&&options.facebook.metaEnabledCapiPixels;return Array.isArray(pixels)&&pixels.indexOf(pixelId)!==-1},generateUniqueId:function(event){if(event.eventID.length==0||(event.type=="static"&&options.ajaxForServerStaticEvent)||(event.type!=="static"&&options.ajaxForServerEvent)){let idKey=event.hasOwnProperty('custom_event_post_id')?event.custom_event_post_id:event.e_id;if(!uniqueId.hasOwnProperty(idKey)){uniqueId[idKey]=pys_generate_token()} 349return uniqueId[idKey]}else if(event.eventID.length!==0){return event.eventID}},flattenObject:function(obj,prefix='',res={}){for(const[key,value]of Object.entries(obj)){const prefixedKey=prefix?(Array.isArray(obj)?`${prefix}[${key}]`:`${prefix}[${key}]`):key;if(value!==null&&typeof value==='object'&&!(value instanceof File)){this.flattenObject(value,prefixedKey,res)}else{res[prefixedKey]=value}} 350return res},sendServerAjaxRequest:function(url,data){if(data.action==='pys_api_event'&&data.pixel==='facebook'&&window.pysFacebookRest){this.sendRestAPIRequest(data,'facebook');return} 351if(data.action==='pys_openai_api_event'&&window.pysOpenAIRest){this.sendRestAPIRequest(data,'openai');return} 352if(options.useSendBeacon&&navigator.sendBeacon){try{const flattenedData=this.flattenObject(data);const formData=new URLSearchParams();
352for(const[key,value]of Object.entries(flattenedData)){if(value!==null&&value!==undefined){formData.append(key,value)}} 353const success=navigator.sendBeacon(url,formData);if(success){return}}catch(e){if(options.debug){console.log('PYS: sendBeacon failed, falling back to jQuery.ajax:',e)}}} 354jQuery.ajax({type:'POST',url:url,data:data,headers:{'Cache-Control':'no-cache'},success:function(){},})},sendRestAPIRequest:function(data,platform){let restApiUrl;switch(platform){case 'facebook':restApiUrl=window.pysFacebookRest?window.pysFacebookRest.restApiUrl:'/wp-json/pys-facebook/v1/event';break;case 'openai':restApiUrl=window.pysOpenAIRest?window.pysOpenAIRest.restApiUrl:'/wp-json/pys-openai/v1/event';break;default:console.error('PYS: Unknown platform for REST API:',platform);this.sendAjaxFallback(data);return} 355const restApiData={event:data.event,event_slug:data.event_slug||'',data:JSON.stringify(data.data||{}),ids:JSON.stringify(data.ids||[]),eventID:data.event_id||data.eventID||'',woo_order:data.woo_order||'0',edd_order:data.edd_order||'0',order_key:data.order_key||''};const forwardedReferrer=data.referrer_url||pageReferrer;if(forwardedReferrer){restApiData.referrer_url=forwardedReferrer} 356restApiData.event_source_url=data.url||window.location.href;if(options.useSendBeacon&&navigator.sendBeacon){try{const formData=new URLSearchParams();for(const[key,value]of Object.entries(restApiData)){formData.append(key,value)} 357if(navigator.sendBeacon(restApiUrl,formData)){return}}catch(e){}} 358if(window.fetch){const headers={'Content-Type':'application/json'};fetch(restApiUrl,{method:'POST',headers:headers,body:JSON.stringify(restApiData)}).then(response=>{if(!response.ok){throw new Error(platform+' REST API request failed: '+response.status)}}).catch(error=>{if(options.debug){console.log('PYS: '+platform+' REST API failed, falling back to AJAX:',error)} 359this.sendAjaxFallback(data)})}else{this.sendAjaxFallback(data)}},sendAjaxFallback:function(data){jQuery.ajax({type:'POST',url:options.ajaxUrl,data:data,headers:{'Cache-Control':'no-cache'},success:function(){},})},clone:function(obj){var copy;if(null==obj||"object"!=typeof obj)return obj;if(obj instanceof Date){copy=new Date();copy.setTime(obj.getTime());return copy} 360if(obj instanceof Array){copy=[];for(var i=0,len=obj.length;i<len;i++){if("function"==typeof obj[i]){continue} 361copy[i]=Utils.clone(obj[i])} 362return copy} 363if(obj instanceof Object){copy={};for(var attr in obj){if(obj.hasOwnProperty(attr)){if("function"==typeof obj[attr]){continue} 364copy[attr]=Utils.clone(obj[attr])}} 365return copy} 366return obj},getTagsAsArray:function(tag){return[].slice.call(document.getElementsByTagName(tag))}
366,getRequestParams:function(){return[]},setupMouseOverClickEvents:function(eventId,triggers){document.addEventListener('mouseover',function(event){var matchedElements=Array.from(document.querySelectorAll(triggers));var clickedElement=event.target;var closestMatch=clickedElement.closest(triggers);if(matchedElements.includes(clickedElement)||closestMatch){if(event.target.classList.contains('pys-mouse-over-'+eventId)){return!0}else{event.target.classList.add('pys-mouse-over-'+eventId)} 367Utils.fireTriggerEvent(eventId)}})},setupCSSClickEvents:function(eventId,triggers){document.addEventListener('click',function(event){let matchedElements=Array.from(document.querySelectorAll(triggers)),clickedElement=event.target,closestMatch=clickedElement.closest(triggers);if(matchedElements.includes(clickedElement)||closestMatch){Utils.fireTriggerEvent(eventId)}},!0)},setupURLClickEvents:function(){if(!options.triggerEventTypes.hasOwnProperty('url_click')){return} 368$('a[data-pys-event-id]').onFirst('click',function(evt){$(this).attr('data-pys-event-id').split(',').forEach(function(eventId){eventId=parseInt(eventId);if(isNaN(eventId)===!1){Utils.fireTriggerEvent(eventId)}})})},setupScrollPosEvents:function(eventId,triggers){var scrollPosThresholds={},docHeight=$(document).height()-$(window).height();$.each(triggers,function(index,scrollPos){scrollPos=docHeight*scrollPos/100;scrollPos=Math.round(scrollPos);scrollPosThresholds[scrollPos]=eventId});$(document).on("scroll",function(){var scrollPos=$(window).scrollTop();$.each(scrollPosThresholds,function(threshold,eventId){if(scrollPos<=threshold){return!0} 369if(eventId===null){return!0}else{scrollPosThresholds[threshold]=null} 370Utils.fireTriggerEvent(eventId)})})},setupCommentEvents:function(eventId,triggers){$('form.comment-form').on("submit",function(){Utils.fireTriggerEvent(eventId)})},fireTriggerEvent:function(eventId){if(!options.triggerEvents.hasOwnProperty(eventId)){return} 371var event={};var events=options.triggerEvents[eventId];if(events.hasOwnProperty('facebook')){event=Utils.getFormFilledData(events.facebook);Facebook.fireEvent(event.name,event)} 372if(events.hasOwnProperty('ga')){event=Utils.getFormFilledData(events.ga);Analytics.fireEvent(event.name,event)} 373if(events.hasOwnProperty('pinterest')){event=Utils.getFormFilledData(events.pinterest);Pinterest.fireEvent(event.name,event)} 374if(events.hasOwnProperty('bing')){event=Utils.getFormFilledData(events.bing);Bing.fireEvent(event.name,event)} 375if(events.hasOwnProperty('reddit')){event=Utils.getFormFilledData(events.reddit);Reddit.fireEvent(event.name,event)} 376if(events.hasOwnProperty('gtm')){event=Utils.getFormFilledData(events.gtm);GTM.fireEvent(event.name,event)}},fireStaticEvents:function(pixel){Utils.refreshAddonPixels();if(options.staticEvents.hasOwnProperty(pixel)){$.each(options.staticEvents[pixel],function(eventName,events){$.each(events,function(index,eventData){eventData.fired=eventData.fired||!1;if(!eventData.fired){eventData=Utils.getFormFilledData(eventData);var fired=!1;if('facebook'===pixel){fired=Facebook.fireEvent(eventData.name,eventData)}else if('ga'===pixel){fired=Analytics.fireEvent(eventData.name,eventData)}else if('pinterest'===pixel){fired=Pinterest.fireEvent(eventData.name,eventData)}else if('bing'===pixel){fired=Bing.fireEvent(eventData.name,eventData)}else if('gtm'===pixel){fired=GTM.fireEvent(eventData.name,eventData)}else if('reddit'===pixel){fired=Reddit.fireEvent(eventData.name,eventData)}else if('openai'===pixel){fired=OpenAI.fireEvent(eventData.name,eventData)} 377eventData.fired=fired}})})}},loadGoogleTag:function(id){if(!gtag_loaded){let dataLayerName=this.resolveGaDataLayerName();this.dataLayerName=dataLayerName;(function(window,document,src){var a=document.createElement('script'),m=document.getElementsByTagName('script')[0];a.async=1;a.src=src;m.parentNode.insertBefore(a,m)})(window,document,'//www.googletagmanager.com/gtag/js?id='+id+'&l='+this.dataLayerName);window[dataLayerName]=window[dataLayerName]||[];window.gtag=window.gtag||function gtag(){window[dataLayerName].push(arguments)};if(options.google_consent_mode){let data=this.resolveConsentValues();this.pushConsent(dataLayerName,this.layerHasConsentDefault(dataLayerName)?'update':'default',data)} 378Utils.gtagPush('js',new Date());gtag_loaded=!0}},resolveGaDataLayerName:function(){if(options.hasOwnProperty('GATags')){switch(options.GATags.ga_datalayer_type){case 'default':return'dataLayerPYS';case 'custom':return options.GATags.ga_datalayer_name;default:return'dataLayer'}} 379return this.dataLayerName||'dataLayer'},resolveGtmDataLayerName:function(){var name=options.hasOwnProperty('gtm')?options.gtm.gtm_dataLayer_name:'';return(typeof name==='string'&&name.length)?name:'dataLayer'},gtagPush:function(){var name=this.dataLayerName||this.resolveGaDataLayerName();window[name]=window[name]||[];window[name].push(arguments)},hasSendToTarget:function(target){if(Array.isArray(target)){return target.length>0} 380return typeof target==='string'&&target!==''},loadDefaultConsent:function(){this.gtagPush.apply(this,arguments)},pushConsent:function(layerName,command,values){if(!layerName){return} 381window[layerName]=window[layerName]||[];(function(){window[layerName].push(arguments)})('consent',command,values)},layerHasConsentDefault:function(layerName){var layer=window[layerName];if(!layer||typeof layer.length!=='number'){return!1} 382for(var i=0;i<layer.length;i++){var item=layer[i];if(item&&item[0]==='consent'&&item[1]==='default'){return!0}} 383return!1},resolveConsentValues:function(){return{'analytics_storage':options.gdpr.analytics_storage.enabled?options.gdpr.analytics_storage.value:'granted','ad_storage':options.gdpr.ad_storage.enabled?options.gdpr.ad_storage.value:'granted','ad_user_data':options.gdpr.ad_user_data.enabled?options.gdpr.ad_user_data.value:'granted','ad_personalization':options.gdpr.ad_personalization.enabled?options.gdpr.ad_personalization.value:'granted',}},loadGTMScript:function(id=''){const domain=(options.gtm.gtm_container_domain??'www.googletagmanager.com').replace(/\/$/,'');const loader=options.gtm.gtm_container_identifier??'gtm';const gtm_auth=options.gtm.gtm_auth??'';const gtm_preview=options.gtm.gtm_preview??'';const datalayer_name=this.resolveGtmDataLayerName();window[datalayer_name]=window[datalayer_name]||[];window.gtag=window.gtag||function gtag(){window[datalayer_name].push(arguments)};this.pushGTMConsentState(datalayer_name);(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});const f=d.getElementsByTagName(s)[0];const j=d.createElement(s);const dl=l!=='dataLayer'?'&l='+l:'';j.async=!0;const isNewFormat=domain.startsWith('http://')||domain.startsWith('https://')||domain.startsWith('/');
383if(!isNewFormat){j.src='https://'+domain+'/'+loader+'.js?id='+i+dl}else{const hasExtension=loader.includes('.');j.src=domain+'/'+loader+(hasExtension?'?':'/?')+'id='+i+dl} 384if(gtm_auth&>m_preview){j.src+='>m_auth='+gtm_auth+'>m_preview='+gtm_preview+'>m_cookies_win=x'} 385f.parentNode.insertBefore(j,f)})(window,document,'script',datalayer_name,id)},loadDefaultGTMConsent:function(){window[this.GTMdataLayerName]=window[this.GTMdataLayerName]||[];window[this.GTMdataLayerName].push(arguments)},pushGTMConsentDefaults:function(datalayer_name){this.pushGTMConsentState(datalayer_name)},pushGTMConsentState:function(datalayer_name){if(!options.google_consent_mode||gtm_consent_state_pushed){return} 386if(options.consent_mode_cmp_active){return} 387gtm_consent_state_pushed=!0;this.GTMdataLayerName=datalayer_name;this.pushConsent(datalayer_name,this.layerHasConsentDefault(datalayer_name)?'update':'default',this.resolveConsentValues())},loadPixels:function(){if(options.gdpr.ajax_enabled&&!options.gdpr.consent_magic_integration_enabled){$.get({url:options.ajaxUrl,dataType:'json',data:{action:'pys_get_gdpr_filters_values'},success:function(res){if(res.success){options.gdpr.all_disabled_by_api=res.data.all_disabled_by_api;options.gdpr.facebook_disabled_by_api=res.data.facebook_disabled_by_api;options.gdpr.analytics_disabled_by_api=res.data.analytics_disabled_by_api;options.gdpr.google_ads_disabled_by_api=res.data.google_ads_disabled_by_api;options.gdpr.pinterest_disabled_by_api=res.data.pinterest_disabled_by_api;options.gdpr.bing_disabled_by_api=res.data.bing_disabled_by_api;options.gdpr.reddit_disabled_by_api=res.data.reddit_disabled_by_api;options.gdpr.openai_disabled_by_api=res.data.openai_disabled_by_api;options.cookie.externalID_disabled_by_api=res.data.externalID_disabled_by_api;options.cookie.disabled_all_cookie=res.data.disabled_all_cookie;options.cookie.disabled_advanced_form_data_cookie=res.data.disabled_advanced_form_data_cookie;options.cookie.disabled_landing_page_cookie=res.data.disabled_landing_page_cookie;options.cookie.disabled_first_visit_cookie=res.data.disabled_first_visit_cookie;options.cookie.disabled_trafficsource_cookie=res.data.disabled_trafficsource_cookie;options.cookie.disabled_utmTerms_cookie=res.data.disabled_utmTerms_cookie;options.cookie.disabled_utmId_cookie=res.data.disabled_utmId_cookie} 388loadPixels()}})}else{loadPixels()}},consentGiven:function(pixel){if(options.gdpr.consent_magic_integration_enabled&&typeof CS_Data!=="undefined"){let test_prefix=CS_Data.test_prefix;if((Utils.csModeEnabled(CS_Data.cs_google_consent_mode_enabled)&&(pixel=='analytics'||pixel=='google_ads'))||(Utils.csModeEnabled(CS_Data.cs_meta_ldu_mode)&&pixel=='facebook')||(Utils.csModeEnabled(CS_Data.cs_reddit_ldu_mode)&&pixel=='reddit')||(Utils.csModeEnabled(CS_Data.cs_bing_consent_mode?.ad_storage?.enabled)&&pixel=='bing')){if(Number(CS_Data.cs_cache_enabled)===0||(Utils.csModeEnabled(CS_Data.cs_cache_enabled)&&window.CS_Cache&&window.CS_Cache.check_status)){return!0}else{return!1}} 389if(pixel=='facebook'&&(CS_Data.cs_script_cat.facebook==0||CS_Data.cs_script_cat.facebook==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='bing'&&(CS_Data.cs_script_cat.bing==0||CS_Data.cs_script_cat.bing==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='analytics'&&(CS_Data.cs_script_cat.analytics==0||CS_Data.cs_script_cat.analytics==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='google_ads'&&(CS_Data.cs_script_cat.gads==0||CS_Data.cs_script_cat.gads==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='pinterest'&&(CS_Data.cs_script_cat.pinterest==0||CS_Data.cs_script_cat.pinterest==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='tiktok'&&(CS_Data.cs_script_cat.tiktok==0||CS_Data.cs_script_cat.tiktok==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='reddit'&&(CS_Data.cs_script_cat?.reddit==0||CS_Data.cs_script_cat?.reddit==CS_Data.cs_necessary_cat_id)){return!0}else if(pixel=='openai'&&(CS_Data.cs_script_cat?.openai==0||CS_Data.cs_script_cat?.openai==CS_Data.cs_necessary_cat_id)){return!0} 390let substring="cs_enabled_cookie_term",theCookies=document.cookie.split(';');for(let i=1;i<=theCookies.length;i++){if(theCookies[i-1].indexOf(substring)!==-1){let categoryCookie=theCookies[i-1].replace('cs_enabled_cookie_term'+test_prefix+'_','');categoryCookie=Number(categoryCookie.replace(/\D+/g,""));let cs_cookie_val=Cookies.get('cs_enabled_cookie_term'+test_prefix+'_'+categoryCookie);if(categoryCookie===CS_Data.cs_script_cat.facebook&&pixel=='facebook'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat.bing&&pixel=='bing'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat.analytics&&pixel=='analytics'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat.gads&&pixel=='google_ads'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat.pinterest&&pixel=='pinterest'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat.tiktok&&pixel=='tiktok'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat?.reddit&&pixel=='reddit'){return cs_cookie_val=='yes'}else if(categoryCookie===CS_Data.cs_script_cat?.openai&&pixel=='openai'){return cs_cookie_val=='yes'}}} 391return!1} 392if(options.gdpr.real_cookie_banner_integration_enabled){var consentApi=window.consentApi;if(consentApi){switch(pixel){case "analytics":return consentApi.consentSync("http","_ga","*").cookieOptIn;case "facebook":return consentApi.consentSync("http","_fbp","*").cookieOptIn;case "pinterest":return consentApi.consentSync("http","_pinterest_sess",".pinterest.com").cookieOptIn;default:return!0}}} 393if(options.gdpr.cookiebot_integration_enabled&&typeof Cookiebot!=='undefined'){var cookiebot_consent_category=options.gdpr['cookiebot_'+pixel+'_consent_category'];
393if(options.gdpr[pixel+'_prior_consent_enabled']){if(Cookiebot.consented===!0||Cookiebot.consent[cookiebot_consent_category]){return!0}}else{if(Cookiebot.consent[cookiebot_consent_category]){return!0}} 394return!1} 395if(options.gdpr.cookie_notice_integration_enabled&&typeof cnArgs!=='undefined'){var cn_cookie=Cookies.get(cnArgs.cookieName);if(options.gdpr[pixel+'_prior_consent_enabled']){if(typeof cn_cookie==='undefined'||cn_cookie==='true'){return!0}}else{if(cn_cookie==='true'){return!0}} 396return!1} 397if(options.gdpr.cookie_law_info_integration_enabled){var cli_cookie=Cookies.get('cookieyes-consent')??Cookies.get('wt_consent')??Cookies.get('viewed_cookie_policy');if(options.gdpr[pixel+'_prior_consent_enabled']){if(typeof cli_cookie==='undefined')return!0;if(cli_cookie&&(cli_cookie===Cookies.get('cookieyes-consent')||cli_cookie===Cookies.get('wt_consent'))){if(getCookieYes('analytics')==='yes'){return!0}}else if(cli_cookie&&cli_cookie===Cookies.get('viewed_cookie_policy')){if(Cookies.get('viewed_cookie_policy')==='yes'){return!0}}}else{if(cli_cookie&&(cli_cookie===Cookies.get('cookieyes-consent')||cli_cookie===Cookies.get('wt_consent'))){if(getCookieYes('analytics')==='yes'){return!0}}else if(cli_cookie&&cli_cookie===Cookies.get('viewed_cookie_policy')){if(Cookies.get('viewed_cookie_policy')==='yes'){return!0}}} 398return!1} 399return!0},setupGdprCallbacks:function(){if(options.gdpr.consent_magic_integration_enabled&&typeof CS_Data!=="undefined"){let test_prefix=CS_Data.test_prefix,cs_refresh_after_consent=!1,substring="cs_enabled_cookie_term";if(CS_Data.cs_refresh_after_consent==1){cs_refresh_after_consent=CS_Data.cs_refresh_after_consent} 400let consent_actions=function(){let theCookies=document.cookie.split(';');let consent={facebook:!0,ga:!0,google_ads:!0,tiktok:!0,bing:!0,pinterest:!0,gtm:!0,reddit:!0,};for(let i=1;i<=theCookies.length;i++){if(theCookies[i-1].indexOf(substring)!==-1){let categoryCookie=theCookies[i-1].replace('cs_enabled_cookie_term'+test_prefix+'_','');categoryCookie=Number(categoryCookie.replace(/\D+/g,""));let cs_cookie_val=Cookies.get('cs_enabled_cookie_term'+test_prefix+'_'+categoryCookie);if(cs_cookie_val=='yes'){if((categoryCookie===CS_Data.cs_script_cat.facebook)||Utils.csModeEnabled(CS_Data.cs_meta_ldu_mode)){Facebook.loadPixel()} 401if(categoryCookie===CS_Data.cs_script_cat.bing||Utils.csModeEnabled(CS_Data.cs_bing_consent_mode?.ad_storage?.enabled)){Bing.loadPixel()} 402if(categoryCookie===CS_Data.cs_script_cat.analytics||(typeof CS_Data.cs_google_analytics_consent_mode!=="undefined"&&CS_Data.cs_google_analytics_consent_mode==1)){Analytics.loadPixel()} 403if(categoryCookie===CS_Data.cs_script_cat.pinterest){Pinterest.loadPixel()} 404if((categoryCookie===CS_Data.cs_script_cat.reddit)||Utils.csModeEnabled(CS_Data.cs_reddit_ldu_mode)){Reddit.loadPixel()}}else{if((categoryCookie===CS_Data.cs_script_cat.facebook)&&!Utils.csModeEnabled(CS_Data.cs_meta_ldu_mode)){Facebook.disable();consent.facebook=!1} 405if(categoryCookie===CS_Data.cs_script_cat.bing&&!Utils.csModeEnabled(CS_Data.cs_bing_consent_mode?.ad_storage?.enabled)){Bing.disable();consent.bing=!1} 406if(categoryCookie===CS_Data.cs_script_cat.analytics&&(typeof CS_Data.cs_google_analytics_consent_mode=="undefined"||CS_Data.cs_google_analytics_consent_mode==0)){Analytics.disable();consent.ga=!1;consent.gtm=!1} 407if(categoryCookie===CS_Data.cs_script_cat.pinterest){Pinterest.disable();consent.pinterest=!1} 408if((categoryCookie===CS_Data.cs_script_cat.reddit)&&!Utils.csModeEnabled(CS_Data.cs_reddit_ldu_mode)){Reddit.disable();consent.reddit=!1} 409if(categoryCookie===CS_Data.cs_script_cat?.openai){OpenAI.disable();consent.openai=!1}} 410if(Cookies.get('cs_enabled_advanced_matching')=='yes'){Facebook.loadPixel()}}} 411Utils.setupGDPRData(consent)} 412if(!cs_refresh_after_consent){consent_actions();$(document).on('click','.cs_action_btn',function(e){e.preventDefault();let consent={facebook:!0,ga:!0,bing:!0,pinterest:!0,gtm:!0,reddit:!0,};let elm=$(this),button_action=elm.attr('data-cs_action');if(button_action==='allow_all'){Facebook.loadPixel();Bing.loadPixel();Analytics.loadPixel();Pinterest.loadPixel();Reddit.loadPixel();consent.facebook=!0;consent.bing=!0;consent.ga=!0;consent.pinterest=!0;consent.reddit=!0;consent.gtm=!0;Utils.setupGDPRData(consent)}else if(button_action==='disable_all'){if(!Utils.csModeEnabled(CS_Data.cs_meta_ldu_mode)){Facebook.disable();consent.facebook=!1} 413if(!Utils.csModeEnabled(CS_Data.cs_bing_consent_mode?.ad_storage?.enabled)){Bing.disable();consent.bing=!1} 414if(CS_Data.cs_google_analytics_consent_mode==0||typeof CS_Data.cs_google_analytics_consent_mode=="undefined"){Analytics.disable();consent.ga=!1;consent.gtm=!1} 415if(!Utils.csModeEnabled(CS_Data.cs_reddit_ldu_mode)){Reddit.disable();consent.reddit=!1} 416Pinterest.disable();consent.pinterest=!1;OpenAI.disable();consent.openai=!1;Utils.setupGDPRData(consent)}else if(button_action==='cs_confirm'){consent_actions()}})}} 417if(options.gdpr.real_cookie_banner_integration_enabled){let consentApi=window.consentApi;if(consentApi){consentApi.consent("http","_ga","*").then(Analytics.loadPixel.bind(Analytics),Analytics.disable.bind(Analytics));consentApi.consent("http","_fbp","*").then(Facebook.loadPixel.bind(Facebook),Facebook.disable.bind(Facebook));consentApi.consent("http","_pinterest_sess",".pinterest.com").then(Pinterest.loadPixel.bind(Pinterest),Pinterest.disable.bind(Pinterest));consentApi.consent("http","_uetsid","*").then(Bing.loadPixel.bind(Bing),Bing.disable.bind(Bing));let consent={facebook:!0,ga:!0,bing:!0,pinterest:!0,gtm:!0,};if(!consentApi.consentSync("http","_ga","*").cookieOptIn){consent.ga=!1;consent.gtm=!1} 418if(!consentApi.consentSync("http","_fbp","*").cookieOptIn){consent.facebook=!1} 419if(!consentApi.consentSync("http","_pinterest_sess",".pinterest.com").cookieOptIn){consent.pinterest=!1} 420if(!consentApi.consentSync("http","_uetsid","*").cookieOptIn){consent.bing=!1} 421Utils.setupGDPRData(consent)}} 422if(options.gdpr.cookiebot_integration_enabled&&typeof Cookiebot!=='undefined'){window.addEventListener("CookiebotOnConsentReady",function(){let consent={facebook:!0,ga:!0,bing:!0,pinterest:!0,gtm:!0,};Utils.manageCookies();if(Cookiebot.consent.marketing){Facebook.loadPixel();Bing.loadPixel();Pinterest.loadPixel();consent.facebook=!0;consent.bing=!0;consent.pinterest=!0} 423if(Cookiebot.consent.statistics){Analytics.loadPixel();consent.ga=!0;consent.gtm=!0} 424if(!Cookiebot.consent.marketing){Facebook.disable();Pinterest.disable();Bing.disable();consent.facebook=!1;consent.bing=!1;consent.pinterest=!1} 425if(!Cookiebot.consent.statistics){Analytics.disable();consent.ga=!1;consent.gtm=!1} 426Utils.setupGDPRData(consent)})} 427if(options.gdpr.cookie_notice_integration_enabled){$(document).onFirst('click','.cn-set-cookie',function(){let consent={};
427if($(this).data('cookie-set')==='accept'){Facebook.loadPixel();Analytics.loadPixel();Pinterest.loadPixel();Bing.loadPixel();consent={facebook:!0,ga:!0,bing:!0,pinterest:!0,gtm:!0,}}else{Facebook.disable();Analytics.disable();Pinterest.disable();Bing.disable();consent={facebook:!1,ga:!1,bing:!1,pinterest:!1,gtm:!1,}} 428Utils.setupGDPRData(consent)});$(document).onFirst('click','.cn-revoke-cookie',function(){Facebook.disable();Analytics.disable();Pinterest.disable();Bing.disable();let consent={facebook:!1,ga:!1,bing:!1,pinterest:!1,gtm:!1,};Utils.setupGDPRData(consent)})} 429if(options.gdpr.cookie_law_info_integration_enabled){$(document).onFirst('click','#wt-cli-accept-all-btn,#cookie_action_close_header, .cky-btn-accept',function(){setTimeout(function(){let cli_cookie=Cookies.get('cookieyes-consent')??Cookies.get('wt_consent')??Cookies.get('viewed_cookie_policy');if(typeof cli_cookie!=='undefined'){if(cli_cookie===Cookies.get('cookieyes-consent')||cli_cookie===Cookies.get('wt_consent')){if(getCookieYes('analytics')==='yes'){Utils.manageCookies()}}else if(cli_cookie===Cookies.get('viewed_cookie_policy')&&cli_cookie=='yes'){Utils.manageCookies()}}},1000) 430Facebook.loadPixel();Analytics.loadPixel();Pinterest.loadPixel();Bing.loadPixel();let consent={facebook:!0,ga:!0,bing:!0,pinterest:!0,gtm:!0,};Utils.setupGDPRData(consent)});$(document).onFirst('click','#cookie_action_close_header_reject, .cky-btn-reject',function(){Facebook.disable();Analytics.disable();Pinterest.disable();Bing.disable();let consent={facebook:!1,ga:!1,bing:!1,pinterest:!1,gtm:!1,};Utils.setupGDPRData(consent)})}},setupGDPRData:function(consent){consent=window.btoa(JSON.stringify(consent));Cookies.set('pys_consent',consent,{expires:365,path:'/',domain:domain})},getLinkExtension:function(link){link=link.substring(0,(link.indexOf("#")===-1)?link.length:link.indexOf("#"));link=link.substring(0,(link.indexOf("?")===-1)?link.length:link.indexOf("?"));link=link.substring(link.lastIndexOf("/")+1,link.length);if(link.length>0&&link.indexOf('.')!==-1){link=link.substring(link.indexOf(".")+1);return link}else{return""}},getLinkFilename:function(link){link=link.substring(0,(link.indexOf("#")===-1)?link.length:link.indexOf("#"));link=link.substring(0,(link.indexOf("?")===-1)?link.length:link.indexOf("?"));link=link.substring(link.lastIndexOf("/")+1,link.length);if(link.length>0&&link.indexOf('.')!==-1){return link}else{return""}},isCheckoutPage:function(){return $('body').hasClass('woocommerce-checkout')||document.querySelector('.woocommerce-checkout')||$('body').hasClass('edd-checkout')},addCheckoutFields:function(){var utm="";var utms=getUTMs() 431$.each(utmTerms,function(index,name){if(index>0){utm+="|"} 432utm+=name+":"+utms[name]});var utmIdList="";var utmsIds=getUTMId() 433$.each(utmId,function(index,name){if(index>0){utmIdList+="|"} 434utmIdList+=name+":"+utmsIds[name]});var utmIdListLast="";var utmsIdsLast=getUTMId(!0) 435$.each(utmId,function(index,name){if(index>0){utmIdListLast+="|"} 436utmIdListLast+=name+":"+utmsIdsLast[name]});var utmLast="";var utmsLast=getUTMs(!0) 437$.each(utmTerms,function(index,name){if(index>0){utmLast+="|"} 438utmLast+=name+":"+utmsLast[name]});var dateTime=getDateTime();var landing=getLandingPageValue();var lastLanding=getLandingPageValue();var trafic=getTrafficSourceValue();var lastTrafic=getTrafficSourceValue();var $form=null;if($('body').hasClass('woocommerce-checkout')){$form=$("form.woocommerce-checkout")}else{$form=$("#edd_purchase_form")} 439var inputs={'pys_utm':utm,'pys_utm_id':utmIdList,'pys_browser_time':dateTime.join("|"),'pys_landing':landing,'pys_source':trafic,'pys_order_type':$(".wcf-optin-form").length>0?"wcf-optin":"normal",'last_pys_landing':lastLanding,'last_pys_source':lastTrafic,'last_pys_utm':utmLast,'last_pys_utm_id':utmIdListLast,} 440Object.keys(inputs).forEach(function(key,index){$form.append("<input type='hidden' name='"+key+"' value='"+inputs[key]+"' /> ")})},getAdvancedFormData:function(){let dataStr=Cookies.get("pys_advanced_form_data");if(dataStr===undefined){return{'first_name':"",'last_name':"",'email':"",'phone':""}}else{return JSON.parse(dataStr)}},getFormFilledData:function(event){if(event.params&&Object.keys(event.params).length>
4400){Object.entries(event.params).forEach(([key,value])=>{const resolvedValue=resolveParamValue(value,key);if(resolvedValue!==null){event.params[key]=resolvedValue}else{delete event.params[key]}})} 441return event}}}(options);var Facebook=function(options){var defaultEventTypes=['PageView','ViewContent','Search','AddToCart','AddToWishlist','InitiateCheckout','AddPaymentInfo','Purchase','Lead','Subscribe','CustomizeProduct','FindLocation','StartTrial','SubmitApplication','Schedule','Contact','Donate'];var initialized=!1;var genereateFbp=function(){return!Cookies.get('_fbp')?'fb.1.'+Date.now()+'.'+Math.floor(1000000000+Math.random()*9000000000):Cookies.get('_fbp')};var genereateFbc=function(){return getUrlParameter('fbclid')?'fb.1.'+Date.now()+'.'+getUrlParameter('fbclid'):''};var isApiDisabled=options.gdpr.all_disabled_by_api||options.gdpr.facebook_disabled_by_api||options.gdpr.cookiebot_integration_enabled||options.gdpr.consent_magic_integration_enabled||options.gdpr.cookie_notice_integration_enabled||options.gdpr.cookie_law_info_integration_enabled;function sendFbServerEvent(allData,name,params){let eventId=null;if(options.facebook.sendEventId){var isAtcFromHook=options.woo&&options.woo.addToCartCatchMethod==="add_cart_hook";if(options.facebook.serverApiEnabled&&allData.e_id==="woo_remove_from_cart"){Facebook.updateEventId(allData.name);allData.eventID=Facebook.getEventId(allData.name)}else if(options.facebook.serverApiEnabled&&allData.e_id==="woo_add_to_cart_on_button_click"&&isAtcFromHook){}else{allData.eventID=Utils.generateUniqueId(allData);if(Cookies.get('_fbp')){params._fbp=Cookies.get('_fbp')} 442if(Cookies.get('_fbc')){params._fbc=Cookies.get('_fbc')} 443if(options.facebook.serverApiEnabled&&(options.ajaxForServerEvent||isApiDisabled)){var json={action:'pys_api_event',pixel:'facebook',event:name,event_slug:allData.e_id,data:params,ids:options.facebook.pixelIds,eventID:allData.eventID,url:window.location.href,ajax_event:options.ajax_event};if(allData.hasOwnProperty('woo_order')){json.woo_order=allData.woo_order} 444if(allData.hasOwnProperty('edd_order')){json.edd_order=allData.edd_order} 445if(allData.hasOwnProperty('order_key')&&allData.order_key){json.order_key=allData.order_key} 446if(pageReferrer){json.referrer_url=pageReferrer} 447if(allData.e_id==="automatic_event_internal_link"||allData.e_id==="automatic_event_outbound_link"){setTimeout(()=>Utils.sendServerAjaxRequest(options.ajaxUrl,json),500)}else if(allData.type!='static'){Utils.sendServerAjaxRequest(options.ajaxUrl,json)} 448if((allData.type=='static'&&options.ajaxForServerStaticEvent)||(allData.hasOwnProperty('ajaxFire')&&allData.ajaxFire)){Utils.sendServerAjaxRequest(options.ajaxUrl,json)}}} 449delete params._fbp;delete params._fbc;eventId=allData.eventID} 450return eventId} 451function fireEvent(name,allData){if(typeof window.pys_event_data_filter==="function"&&window.pys_disable_event_filter(name,'facebook')){return} 452var actionType=defaultEventTypes.includes(name)?'track':'trackCustom';var data=allData.params;var params={};var arg={};Utils.copyProperties(data,params);let eventId=sendFbServerEvent(allData,name,params) 453if("hCR"===name){return} 454if(options.debug){console.log('[Facebook] '+name,params,"eventID",eventId)} 455if(eventId!=null){arg.eventID=eventId} 456fbq(actionType,name,params,arg)} 457return{tag:function(){return"facebook"},isEnabled:function(){return options.hasOwnProperty('facebook')},disable:function(){initialized=!1},advancedMatching:function(){if(options.facebook.advancedMatchingEnabled){let advancedMatchingForm=Utils.getAdvancedFormData();let advancedMatching={};if(Object.keys(options.facebook.advancedMatching).length>0){advancedMatching=options.facebook.advancedMatching} 458if(!advancedMatching.hasOwnProperty("em")&&advancedMatchingForm.hasOwnProperty("email")&&advancedMatchingForm.email.length>0){advancedMatching.em=advancedMatchingForm.email} 459if(!advancedMatching.hasOwnProperty("ph")&&advancedMatchingForm.hasOwnProperty("phone")&&advancedMatchingForm.phone.length>0){advancedMatching.ph=advancedMatchingForm.phone} 460if(!advancedMatching.hasOwnProperty("fn")&&advancedMatchingForm.hasOwnProperty("first_name")&&advancedMatchingForm.first_name.length>0){advancedMatching.fn=advancedMatchingForm.first_name} 461if(!advancedMatching.hasOwnProperty("ln")&&advancedMatchingForm.hasOwnProperty("last_name")&&advancedMatchingForm.last_name.length>0){advancedMatching.ln=advancedMatchingForm.last_name} 462if(!advancedMatching.hasOwnProperty("external_id")){if(Cookies.get('pbid')||(options.hasOwnProperty('pbid')&&options.pbid)){advancedMatching.external_id=Cookies.get('pbid')?Cookies.get('pbid'):options.pbid}}else if(advancedMatching.external_id!=Cookies.get('pbid')){advancedMatching.external_id=Cookies.get('pbid')?Cookies.get('pbid'):advancedMatching.external_id} 463if(Object.keys(advancedMatching).length>0){return advancedMatching}} 464return!1},loadPixel:function(){if(initialized||!this.isEnabled()||!Utils.consentGiven('facebook')){return} 465!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.agent='dvpixelyoursite';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');let expires=parseInt(options.cookie_duration);if(!Cookies.get('_fbp')){Cookies.set('_fbp',genereateFbp(),{expires:expires,path:'/',domain:domain})} 466if(getUrlParameter('fbclid')){Cookies.set('_fbc',genereateFbc(),{expires:expires,path:'/',domain:domain})} 467getOrInitSessionEntryReferrer(!0);writeEventReferrerCookie();
467options.facebook.pixelIds.forEach(function(pixelId){if(options.facebook.removeMetadata){fbq('set','autoConfig',!1,pixelId)} 468let advancedMatching=Facebook.advancedMatching();if(+options.facebook.meta_ldu===1){fbq('dataProcessingOptions',['LDU'],0,0)} 469if(Utils.isMetaEnabledCapiPixel(pixelId)){fbq('optinMetaEnabledCapi',pixelId)} 470if(options.gdpr.consent_magic_integration_enabled&&typeof CS_Data!=="undefined"){if(!advancedMatching){fbq('init',pixelId)}else{var test_prefix=CS_Data.test_prefix;var cs_advanced_matching=Cookies.get('cs_enabled_advanced_matching'+test_prefix);if(jQuery('#cs_enabled_advanced_matching'+test_prefix).length>0){if(cs_advanced_matching=='yes'){fbq('init',pixelId,advancedMatching)}else{fbq('init',pixelId)}}else{fbq('init',pixelId,advancedMatching)}}}else{if(!advancedMatching){fbq('init',pixelId)}else{fbq('init',pixelId,advancedMatching)}}});initialized=!0;Utils.fireStaticEvents('facebook')},fireEvent:function(name,data){if(!initialized||!this.isEnabled()){return!1} 471data.delay=data.delay||0;data.params=data.params||{};if(data.delay===0){fireEvent(name,data)}else{setTimeout(function(name,params){fireEvent(name,params)},data.delay*1000,name,data)} 472return!0},onCommentEvent:function(event){this.fireEvent(event.name,event)},onDownloadEvent:function(event){this.fireEvent(event.name,event)},onFormEvent:function(event){this.fireEvent(event.name,event)},onWooAddToCartOnButtonEvent:function(product_id){if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 473return;var event=options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()];window.pysWooProductData=window.pysWooProductData||[];if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('facebook')){event=Utils.copyProperties(event,{}) 474Utils.copyProperties(window.pysWooProductData[product_id].facebook.params,event.params) 475this.fireEvent(event.name,event)}}},onWooAddToCartOnSingleEvent:function(product_id,qty,product_type,$form){window.pysWooProductData=window.pysWooProductData||[];if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 476return;var event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);if(product_type===Utils.PRODUCT_VARIABLE&&!options.facebook.wooVariableAsSimple){product_id=parseInt($form.find('input[name="variation_id"]').val())} 477if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('facebook')){Utils.copyProperties(window.pysWooProductData[product_id].facebook.params,event.params);var groupValue=0;if(product_type===Utils.PRODUCT_GROUPED){$form.find(".woocommerce-grouped-product-list .qty").each(function(index){var childId=$(this).attr('name').replaceAll("quantity[","").replaceAll("]","");var quantity=parseInt($(this).val());if(isNaN(quantity)){quantity=0} 478var childItem=window.pysWooProductData[product_id].facebook.grouped[childId];if(quantity==0){event.params.content_ids.forEach(function(el,index,array){if(el==childItem.content_id){array.splice(index,1)}})} 479if(event.params.hasOwnProperty('contents')){event.params.contents.forEach(function(el,index,array){if(el.id==childItem.content_id){if(quantity>0){el.quantity=quantity}else{array.splice(index,1)}}})} 480groupValue+=childItem.price*quantity});if(groupValue==0)return} 481if(options.woo.addToCartOnButtonValueEnabled&&options.woo.addToCartOnButtonValueOption!=='global'){if(product_type===Utils.PRODUCT_GROUPED){event.params.value=groupValue}else if(product_type===Utils.PRODUCT_BUNDLE){var data=$(".bundle_form .bundle_data").data("bundle_form_data");var items_sum=getBundlePriceOnSingleProduct(data);event.params.value=(parseInt(data.base_price)+items_sum)*qty}else{event.params.value=event.params.value*qty}} 482if(event.params.hasOwnProperty('contents')&&product_type!==Utils.PRODUCT_GROUPED){event.params.contents[0].quantity=qty} 483this.fireEvent(event.name,event)}}},onWooRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){if(!options.dynamicEvents.edd_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 484return;var event=Utils.clone(options.dynamicEvents.edd_add_to_cart_on_button_click[this.tag()]);if(window.pysEddProductData&&window.pysEddProductData.hasOwnProperty(download_id)){var index;if(price_index){index=download_id+'_'+price_index}else{index=download_id} 485if(window.pysEddProductData[download_id].hasOwnProperty(index)){if(window.pysEddProductData[download_id][index].hasOwnProperty('facebook')){Utils.copyProperties(window.pysEddProductData[download_id][index].facebook.params,event.params) 486if(options.edd.addToCartOnButtonValueEnabled&&options.edd.addToCartOnButtonValueOption!=='global'){event.params.value=event.params.value*qty}
487var contents=event.params.contents;contents[0].quantity=qty;event.params.contents=contents;this.fireEvent(event.name,event)}}}},onEddRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onPageScroll:function(event){this.fireEvent(event.name,event)},onTime:function(event){this.fireEvent(event.name,event)},initEventIdCookies:function(key){var ids={};ids[key]=pys_generate_token(36) 488Cookies.set('pys_fb_event_id',JSON.stringify(ids))},updateEventId:function(key){var cooData=Cookies.get("pys_fb_event_id") 489if(cooData===undefined){this.initEventIdCookies(key)}else{var data=JSON.parse(cooData);data[key]=pys_generate_token(36);Cookies.set('pys_fb_event_id',JSON.stringify(data))}},getEventId:function(key){var data=Cookies.get("pys_fb_event_id");if(data===undefined){this.initEventIdCookies(key);data=Cookies.get("pys_fb_event_id")} 490return JSON.parse(data)[key]},sendFacebookRestAPIRequest:function(allData,name,params){if(typeof window.pysFacebookRest==='undefined'||!window.pysFacebookRest.restApiUrl){return} 491const restApiData={event:name,data:JSON.stringify(params),ids:allData.pixelIds||options.facebook.pixelIds,eventID:allData.eventID,woo_order:allData.woo_order||0,edd_order:allData.edd_order||0,order_key:allData.order_key||''};if(pageReferrer){restApiData.referrer_url=pageReferrer} 492restApiData.event_source_url=window.location.href;if(navigator.sendBeacon){const formData=new FormData();Object.keys(restApiData).forEach(key=>{if(Array.isArray(restApiData[key])){restApiData[key].forEach(value=>{formData.append(key+'[]',value)})}else{formData.append(key,restApiData[key])}});if(navigator.sendBeacon(window.pysFacebookRest.restApiUrl,formData)){return}} 493fetch(window.pysFacebookRest.restApiUrl,{method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded',},body:new URLSearchParams(restApiData)}).catch(()=>{this.sendAjaxFallback(allData,name,params)})},sendAjaxFallback:function(allData,name,params){var json={action:'pys_api_event',pixel:'facebook',event:name,data:params,ids:allData.pixelIds||options.facebook.pixelIds,eventID:allData.eventID,url:window.location.href,ajax_event:options.ajax_event};if(allData.hasOwnProperty('woo_order')){json.woo_order=allData.woo_order} 494if(allData.hasOwnProperty('edd_order')){json.edd_order=allData.edd_order} 495if(allData.hasOwnProperty('order_key')&&allData.order_key){json.order_key=allData.order_key} 496if(pageReferrer){json.referrer_url=pageReferrer} 497Utils.sendServerAjaxRequest(options.ajaxUrl,json)},}}(options);var Analytics=function(options){var initialized=!1;function fireEvent(name,data){if(typeof window.pys_event_data_filter==="function"&&window.pys_disable_event_filter(name,'ga')){return} 498var eventParams=Utils.copyProperties(data,{});var _fireEvent=function(tracking_id,name,params){if(!Utils.hasSendToTarget(tracking_id)){if(options.debug){console.warn('[Google Analytics] '+name+' skipped: empty tracking ID',{trackingIds:options.ga.trackingIds})} 499return} 500params.send_to=tracking_id;if(options.debug){console.log('[Google Analytics #'+tracking_id+'] '+name,params)} 501Utils.gtagPush('event',name,params)};options.ga.trackingIds.forEach(function(tracking_id){var copyParams=Utils.copyProperties(eventParams,{});var params=mapParamsTov4(tracking_id,name,copyParams) 502_fireEvent(tracking_id,name,params)})} 503function mapParamsTov4(tag,name,param){delete param.landing_page;if(isv4(tag)){delete param.traffic_source;delete param.event_category;delete param.event_label;delete param.ecomm_prodid;delete param.ecomm_pagetype;delete param.ecomm_totalvalue;if(name==='search'){param.search=param.search_term;delete param.search_term;delete param.dynx_itemid;delete param.dynx_pagetype;delete param.dynx_totalvalue}} 504return param} 505function isv4(tag){return tag.indexOf('G')===0} 506return{tag:function(){return"ga"},isEnabled:function(){return options.hasOwnProperty('ga')},disable:function(){initialized=!1},loadPixel:function(){if(initialized||!this.isEnabled()||!Utils.consentGiven('analytics')){return} 507Utils.loadGoogleTag(options.ga.trackingIds[0]);var config={};if(options.ga.crossDomainEnabled){config.linker={accept_incoming:options.ga.crossDomainAcceptIncoming,domains:options.ga.crossDomainDomains}} 508var ids=options.ga.trackingIds;ids.forEach(function(trackingId,index){var obj=options.ga.isDebugEnabled;var searchValue="index_"+index;var config_for_tag=Object.assign({},options.config);config_for_tag.debug_mode=!1;config_for_tag.send_page_view=!options.ga.custom_page_view_event;for(var key in obj){if(obj.hasOwnProperty(key)&&obj[key]===searchValue){config_for_tag.debug_mode=!0;break}} 509if(!config_for_tag.debug_mode){delete config_for_tag.debug_mode} 510if(isv4(trackingId)){if(options.ga.disableAdvertisingFeatures){config_for_tag.allow_google_signals=!1} 511if(options.ga.disableAdvertisingPersonalization){config_for_tag.allow_ad_personalization_signals=!1}} 512if(options.ga.hasOwnProperty('additionalConfig')){if(options.ga.additionalConfig.hasOwnProperty(trackingId)&&options.ga.additionalConfig[trackingId]){config_for_tag.first_party_collection=options.ga.additionalConfig[trackingId].first_party_collection}} 513if(options.ga.hasOwnProperty('serverContainerUrls')){if(options.ga.serverContainerUrls.hasOwnProperty(trackingId)&&options.ga.serverContainerUrls[trackingId].enable_server_container!=!1){if(options.ga.serverContainerUrls[trackingId].server_container_url!=''){config_for_tag.server_container_url=options.ga.serverContainerUrls[trackingId].server_container_url} 514if(options.ga.serverContainerUrls[trackingId].transport_url!=''){config_for_tag.transport_url=options.ga.serverContainerUrls[trackingId].transport_url}}} 515if(options.gdpr.cookiebot_integration_enabled&&typeof Cookiebot!=='undefined'){var cookiebot_consent_category=options.gdpr.cookiebot_analytics_consent_category;if(options.gdpr.analytics_prior_consent_enabled){if(Cookiebot.consented===!0&&Cookiebot.consent[cookiebot_consent_category]){Utils.gtagPush('config',trackingId,config_for_tag)}}else{if(Cookiebot.consent[cookiebot_consent_category]){Utils.gtagPush('config',trackingId,config_for_tag)}}}else{Utils.gtagPush('config',trackingId,config_for_tag)}});initialized=!0;Utils.fireStaticEvents('ga')},fireEvent:function(name,data){if(!initialized||!this.isEnabled()){return!1} 516data.delay=data.delay||0;data.params=data.params||{};data.params.eventID=Utils.generateUniqueId(data);if(data.delay===0){fireEvent(name,data.params)}else{setTimeout(function(name,params){fireEvent(name,params)},data.delay*1000,name,data.params)} 517return!0},onCommentEvent:function(event){this.fireEvent(event.name,event)},onDownloadEvent:function(event){this.fireEvent(event.name,event)},onFormEvent:function(event){this.fireEvent(event.name,event)},onWooAddToCartOnButtonEvent:function(product_id){if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 518return;var event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('ga')){Utils.copyProperties(window.pysWooProductData[product_id].ga.params,event.params) 519this.fireEvent(event.name,event)}}},onWooAddToCartOnSingleEvent:function(product_id,qty,product_type,$form){window.pysWooProductData=window.pysWooProductData||[];if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 520return;var event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);if(product_type===Utils.PRODUCT_VARIABLE&&!options.ga.wooVariableAsSimple){product_id=parseInt($form.find('input[name="variation_id"]').val())} 521if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('ga')){Utils.copyProperties(window.pysWooProductData[product_id].ga.params,event.params);if(product_type===Utils.PRODUCT_GROUPED){var groupValue=0;$form.find(".woocommerce-grouped-product-list .qty").each(function(index){var childId=$(this).attr('name').replaceAll("quantity[","").replaceAll("]","");var quantity=parseInt($(this).val());if(isNaN(quantity)){quantity=0} 522var childItem=window.pysWooProductData[product_id].ga.grouped[childId];
522event.params.items.forEach(function(el,index,array){if(el.id==childItem.content_id){if(quantity>0){el.quantity=quantity}else{array.splice(index,1)}}});groupValue+=childItem.price*quantity});if(options.woo.addToCartOnButtonValueEnabled&&options.woo.addToCartOnButtonValueOption!=='global'&&event.params.hasOwnProperty('ecomm_totalvalue')){event.params.ecomm_totalvalue=groupValue} 523if(groupValue==0)return}else{event.params.items[0].quantity=qty} 524if(options.woo.addToCartOnButtonValueEnabled&&options.woo.addToCartOnButtonValueOption!=='global'&&product_type!==Utils.PRODUCT_GROUPED){if(event.params.hasOwnProperty('ecomm_totalvalue')){event.params.ecomm_totalvalue=event.params.items[0].price*qty}} 525this.fireEvent(event.name,event)}}},onWooRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){if(!options.dynamicEvents.edd_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 526return;var event=Utils.clone(options.dynamicEvents.edd_add_to_cart_on_button_click[this.tag()]);if(window.pysEddProductData&&window.pysEddProductData.hasOwnProperty(download_id)){var index;if(price_index){index=download_id+'_'+price_index}else{index=download_id} 527if(window.pysEddProductData[download_id].hasOwnProperty(index)){if(window.pysEddProductData[download_id][index].hasOwnProperty('ga')){Utils.copyProperties(window.pysEddProductData[download_id][index].ga.params,event.params);event.params.items[0].quantity=qty;this.fireEvent(event.name,event)}}}},onEddRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onPageScroll:function(event){this.fireEvent(event.name,event)},onTime:function(event){this.fireEvent(event.name,event)},}}(options);var GTM=function(options){var initialized=!1;var datalayer_name='dataLayer';function fireEvent(name,event){if(typeof window.pys_event_data_filter==="function"&&window.pys_disable_event_filter(name,'gtm')){return} 528var eventParams=event.params;var data=event.params;var valuesArray=Object.values(event.trackingIds);var ids=valuesArray;
528Utils.copyProperties(Utils.getRequestParams(),eventParams);var _fireEvent=function(tracking_id,name,params,event=null){var eventData={};var ContainerCodeHasTag=!options.gtm.gtm_just_data_layer&&tracking_id.length>0;if(ContainerCodeHasTag){params.send_to=tracking_id}else if(!options.gtm.gtm_just_data_layer){return} 529if(params.hasOwnProperty('ecommerce')){eventData.ecommerce=params.ecommerce;delete params.ecommerce} 530var automatedParams={...params};[params.manualName,'manualName','triggerType'].forEach(key=>delete automatedParams[key]);if(event&&(!event.hasOwnProperty('hasAutoParam')||(event.hasOwnProperty('hasAutoParam')&&event.hasAutoParam))){eventData.automatedParameters=automatedParams} 531if(params.hasOwnProperty(params.manualName)){eventData[params.manualName]=params[params.manualName];delete params[params.manualName]}['manualName','triggerType'].forEach(key=>{if(params.hasOwnProperty(key)){eventData[key]=params[key];delete params[key]}});eventData.manualDataLayer=Utils.resolveGtmDataLayerName();eventData.event=name;if(options.debug){if(ContainerCodeHasTag){console.log('[Google GTM #'+tracking_id+'] '+name,eventData)}else{console.log('[Google GTM push to "'+datalayer_name+'"] '+name,eventData)}} 532window[datalayer_name].push(eventData)};var copyParams=Utils.copyProperties(eventParams,{});var params=mapParamsToGTM(ids,name,copyParams) 533params.event_id=Utils.generateUniqueId(event);_fireEvent(ids,name,params,event)} 534function normalizeEventName(eventName){var matches={ViewContent:'view_item',AddToCart:'add_to_cart',AddToWishList:'add_to_wishlist',InitiateCheckout:'begin_checkout',Purchase:'purchase',Lead:'generate_lead',CompleteRegistration:'sign_up',AddPaymentInfo:'set_checkout_option'};return matches.hasOwnProperty(eventName)?matches[eventName]:eventName} 535function mapParamsToGTM(tag,name,param){var hasGTM=!1;if(Array.isArray(tag)){hasGTM=tag.some(function(element){return isGTM(element)})}else if(isGTM(tag)){hasGTM=!0}
535 536if(hasGTM){delete param.event_category;delete param.event_label;delete param.analytics_storage;delete param.ad_storage;delete param.ad_user_data;delete param.ad_personalization;if(name==='search'){param.search=param.search_term;delete param.search_term;delete param.dynx_itemid;delete param.dynx_pagetype;delete param.dynx_totalvalue}} 537return param} 538function isGTM(tag){return tag.indexOf('GTM')===0} 539return{tag:function(){return"gtm"},isEnabled:function(){return options.hasOwnProperty('gtm')},disable:function(){initialized=!1},updateEnhancedConversionData:function(){if(!initialized||!this.isEnabled()){return} 540if(options.hasOwnProperty("tracking_analytics")&&options.tracking_analytics.hasOwnProperty("userDataEnable")&&options.tracking_analytics.userDataEnable){var advanced=Utils.getAdvancedFormData();if(Object.keys(advanced).length>0){window[datalayer_name].push({'user_data':advanced})}}},loadPixel:function(){if(initialized||!this.isEnabled()||!Utils.consentGiven('analytics')){return} 541datalayer_name=Utils.resolveGtmDataLayerName();for(var i=0;i<options.gtm.trackingIds.length;i++){var trackingId=options.gtm.trackingIds[i];if(!options.gtm.gtm_just_data_layer){console.log('[PYS] Google Tag Manager container code loaded');Utils.loadGTMScript(trackingId);break}} 542if(options.gtm.gtm_just_data_layer){console.warn&&console.warn("[PYS] Google Tag Manager container code placement set to OFF !!!");console.warn&&console.warn("[PYS] Data layer codes are active but GTM container must be loaded using custom coding !!!");Utils.pushGTMConsentState(datalayer_name);if(options.gtm.trackingIds.length==0){Utils.loadGTMScript()}} 543if(options.hasOwnProperty("tracking_analytics")&&options.tracking_analytics.hasOwnProperty("userDataEnable")&&options.tracking_analytics.userDataEnable){var advanced=Utils.getAdvancedFormData();if(Object.keys(advanced).length>0){window[datalayer_name].push({'user_data':advanced})}}
544var config={};if(options.user_id&&options.user_id!=0){config.user_id=options.user_id} 545var ids=options.gtm.trackingIds;initialized=!0;Utils.fireStaticEvents('gtm')},fireEvent:function(name,data){if(!initialized||!this.isEnabled()){return!1} 546data.delay=data.delay||0;data.params=data.params||{};if(data.delay===0){fireEvent(name,data)}else{setTimeout(function(name,params){fireEvent(name,params)},data.delay*1000,name,data)} 547return!0},onCommentEvent:function(event){this.fireEvent(event.name,event)},onDownloadEvent:function(event){this.fireEvent(event.name,event)},onFormEvent:function(event){this.fireEvent(event.name,event)},onWooAddToCartOnButtonEvent:function(product_id,prod_info=null){if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 548return;var event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('gtm')){Utils.copyProperties(window.pysWooProductData[product_id].gtm.params,event.params) 549this.fireEvent(event.name,event)}}},onWooAddToCartOnSingleEvent:function(product_id,qty,product_type,$form){window.pysWooProductData=window.pysWooProductData||[];if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 550return;var event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);if(product_type===Utils.PRODUCT_VARIABLE&&!options.gtm.wooVariableAsSimple){product_id=parseInt($form.find('input[name="variation_id"]').val())} 551if(window.pysWooProductData.hasOwnProperty(product_id)){if(window.pysWooProductData[product_id].hasOwnProperty('gtm')){Utils.copyProperties(window.pysWooProductData[product_id].gtm.params,event.params);params=event.params.hasOwnProperty('ecommerce')?event.params.ecommerce:event.params;if(product_type===Utils.PRODUCT_GROUPED){var groupValue=0;$form.find(".woocommerce-grouped-product-list .qty").each(function(index){var childId=$(this).attr('name').replaceAll("quantity[","").replaceAll("]","");var quantity=parseInt($(this).val());if(isNaN(quantity)){quantity=0} 552var childItem=window.pysWooProductData[product_id].gtm.grouped[childId];params.items.forEach(function(el,index,array){if(el.id==childItem.content_id){if(quantity>0){el.quantity=quantity;el.price=childItem.price}else{array.splice(index,1)}}});groupValue+=childItem.price*quantity});if(options.woo.addToCartOnButtonValueEnabled&&options.woo.addToCartOnButtonValueOption!=='global'&¶ms.hasOwnProperty('value')){params.value=groupValue} 553if(groupValue==0)return}else{params.items[0].quantity=qty} 554if(options.woo.addToCartOnButtonValueEnabled&&options.woo.addToCartOnButtonValueOption!=='global'&&product_type!==Utils.PRODUCT_GROUPED){if(params.hasOwnProperty('value')){params.value=params.items[0].price*qty}} 555this.fireEvent(event.name,event)}}},onWooRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){if(!options.dynamicEvents.edd_add_to_cart_on_button_click.hasOwnProperty(this.tag())) 556return;var event=Utils.clone(options.dynamicEvents.edd_add_to_cart_on_button_click[this.tag()]);if(window.pysEddProductData&&window.pysEddProductData.hasOwnProperty(download_id)){var index;if(price_index){index=download_id+'_'+price_index}else{index=download_id} 557if(window.pysEddProductData[download_id].hasOwnProperty(index)){if(window.pysEddProductData[download_id][index].hasOwnProperty('gtm')){Utils.copyProperties(window.pysEddProductData[download_id][index].gtm.params,event.params);item=event.params.hasOwnProperty('ecommerce')?event.params.ecommerce.items[0]:event.params.items[0];item.quantity=qty;this.fireEvent(event.name,event)}}}},onEddRemoveFromCartEvent:function(event){this.fireEvent(event.name,event)},onPageScroll:function(event){this.fireEvent(event.name,event)},onTime:function(event){this.fireEvent(event.name,event)},}}(options);var OpenAI=function(options){let initialized=!1,sentIdentity=null,identityWaitTimer=null,identityWaitExpired=!1;
557function sendOpenAIServerEvent(name,allData,data,eventId){if(!options.hasOwnProperty('openai')||!options.openai.serverApiEnabled){return} 558let isApiDisabled=options.gdpr.all_disabled_by_api||options.gdpr.openai_disabled_by_api||options.gdpr.cookiebot_integration_enabled||options.gdpr.consent_magic_integration_enabled||options.gdpr.cookie_notice_integration_enabled||options.gdpr.cookie_law_info_integration_enabled;if(!(options.ajaxForServerEvent||isApiDisabled)){return} 559let isStatic=allData.type==='static'||allData.type===undefined,delay=allData.delay||0;let phpSkipped=!isStatic||delay>0;if(!phpSkipped&&!options.ajaxForServerStaticEvent&&!(allData.hasOwnProperty('ajaxFire')&&allData.ajaxFire)){return} 560let json={action:'pys_openai_api_event',pixel:'openai',event:name,event_slug:allData.e_id||'',ids:allData.pixelIds||options.openai.pixelIds,data:{data:data},url:window.location.href,eventID:eventId,ajax_event:options.ajax_event};if(allData.hasOwnProperty('woo_order')){json.woo_order=allData.woo_order} 561if(allData.hasOwnProperty('edd_order')){json.edd_order=allData.edd_order} 562if(allData.hasOwnProperty('order_key')&&allData.order_key){json.order_key=allData.order_key} 563let wait=name==='page_viewed'?500:0;setTimeout(function(){Utils.sendServerAjaxRequest(options.ajaxUrl,json)},wait)} 564function fireEvent(name,allData){if(typeof window.pys_event_data_filter==="function"&&window.pys_disable_event_filter(name,'openai')){return} 565if(typeof window.oaiq!=='function'){return} 566let ids=(allData&&allData.pixelIds&&allData.pixelIds.length)?allData.pixelIds:options.openai.pixelIds;if(!ids||ids.length===0){return} 567let data=(allData.params&&allData.params.data)?Utils.clone(allData.params.data):{};let eventOptions={},eventId=Utils.generateUniqueId(allData);if(eventId){eventOptions.event_id=eventId} 568if(options.debug){console.log('[OpenAI] '+name,data,eventOptions,'pixel_ids',ids)} 569sendOpenAIServerEvent(name,allData,data,eventId);ids.forEach(function(pixelId){oaiq('measureSingle',pixelId,name,data,eventOptions)});let customEvent=new CustomEvent('openai_event_sent',{detail:{eventName:name,data:data,options:eventOptions,pixel_ids:ids}});window.dispatchEvent(customEvent)} 570function identityPending(){return!identityWaitExpired&&!options.dynamicDataApplied&&!!options.dynamicDataUrl} 571function buildAdvancedMatchingUser(){let user={};if(options.openai.hasOwnProperty('advanced_matching')){Utils.copyProperties(options.openai.advanced_matching,user)} 572let externalIdAllowed=options.send_external_id&&!(options.gdpr&&options.gdpr.externalID_disabled_by_api)&&!(options.cookie&&(options.cookie.disabled_all_cookie||options.cookie.externalID_disabled_by_api));if(!user.hasOwnProperty('external_id_sha256')&&externalIdAllowed&&typeof sha256==='function'&&Cookies.get('pbid')){user.external_id_sha256=sha256(Cookies.get('pbid'))} 573return user} 574return{tag:function(){return"openai"},isEnabled:function(){return options.hasOwnProperty('openai')},disable:function(){initialized=!1;if(typeof window.oaiq==='function'){oaiq('consent',!1)}},loadPixel:function(){if(initialized||!this.isEnabled()||!Utils.consentGiven('openai')){return} 575let ids=options.openai.pixelIds;if(!ids||ids.length===0){return} 576if(identityPending()){if(identityWaitTimer===null){identityWaitTimer=setTimeout(function(){identityWaitExpired=!0;if(window.pys&&window.pys.OpenAI){window.pys.OpenAI.loadPixel()}},3000)} 577return} 578if(identityWaitTimer!==null){clearTimeout(identityWaitTimer);identityWaitTimer=null} 579!function(w,d,s,u){if(w.oaiq)return;var q=function(){q.q.push(arguments)};q.q=[];w.oaiq=q;var js=d.createElement(s);js.async=!0;js.src=u;var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(js,f)}(window,document,'script','https://bzrcdn.openai.com/sdk/oaiq.min.js');let user=buildAdvancedMatchingUser();if(Object.keys(user).length>0){sentIdentity=JSON.stringify(user)} 580ids.forEach(function(pixelId){let initOptions={pixelId:pixelId};if(options.openai.debug){initOptions.debug=!0} 581if(Object.keys(user).length>0){initOptions.user=user} 582oaiq('init',initOptions)});oaiq('consent',!0);initialized=!0;Utils.fireStaticEvents('openai')},refreshAdvancedMatching:function(){if(!initialized||!this.isEnabled()||typeof window.oaiq!=='function'){return} 583let user=buildAdvancedMatchingUser();if(Object.keys(user).length===0){return} 584let identity=JSON.stringify(user);if(identity===sentIdentity){return} 585sentIdentity=identity;let ids=options.openai.pixelIds||[];ids.forEach(function(pixelId){oaiq('init',{pixelId:pixelId,user:user})})},fireEvent:function(name,data){if(!initialized||!this.isEnabled()){return!1} 586fireEvent(name,data);return!0},onWooAddToCartOnButtonEvent:function(product_id){if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())){return} 587if(!window.pysWooProductData||!window.pysWooProductData.hasOwnProperty(product_id)){return} 588if(!window.pysWooProductData[product_id].hasOwnProperty(this.tag())){return} 589let productData=window.pysWooProductData[product_id][this.tag()];let event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);Utils.copyProperties(productData.params,event.params);if(productData.hasOwnProperty('pixelIds')){event.pixelIds=productData.pixelIds} 590this.fireEvent(event.name,event)},onWooAddToCartOnSingleEvent:function(product_id,qty,product_type,is_external,$form){if(!options.dynamicEvents.woo_add_to_cart_on_button_click.hasOwnProperty(this.tag())){return} 591if(!window.pysWooProductData||!window.pysWooProductData.hasOwnProperty(product_id)){return} 592if(!window.pysWooProductData[product_id].hasOwnProperty(this.tag())){return} 593let event=Utils.clone(options.dynamicEvents.woo_add_to_cart_on_button_click[this.tag()]);Utils.copyProperties(window.pysWooProductData[product_id][this.tag()].params,event.params);if(qty&&event.params&&event.params.data&&Array.isArray(event.params.data.contents)){event.params.data.contents.forEac
593h(function(item){item.quantity=qty})} 594this.fireEvent(event.name,event)},onEddAddToCartOnButtonEvent:function(download_id,price_index,qty){if(!options.dynamicEvents.edd_add_to_cart_on_button_click.hasOwnProperty(this.tag())){return} 595if(!window.pysEddProductData||!window.pysEddProductData.hasOwnProperty(download_id)){return} 596let index=price_index?download_id+'_'+price_index:download_id;if(!window.pysEddProductData[download_id].hasOwnProperty(index)){return} 597if(!window.pysEddProductData[download_id][index].hasOwnProperty(this.tag())){return} 598let event=Utils.clone(options.dynamicEvents.edd_add_to_cart_on_button_click[this.tag()]);Utils.copyProperties(window.pysEddProductData[download_id][index][this.tag()].params,event.params);if(qty&&event.params&&event.params.data&&Array.isArray(event.params.data.contents)){event.params.data.contents.forEach(function(item){item.quantity=qty})} 599this.fireEvent(event.name,event)},}}(options);var getPixelBySlag=function getPixelBySlag(slug){switch(slug){case "facebook":return window.pys.Facebook;case "ga":return window.pys.Analytics;case "gtm":return window.pys.GTM;case "bing":return window.pys.Bing;case "pinterest":return window.pys.Pinterest;case "reddit":return window.pys.Reddit;case "openai":return window.pys.OpenAI}} 600window.pys=window.pys||{};window.pys.Facebook=Facebook;window.pys.Analytics=Analytics;window.pys.GTM=GTM;window.pys.OpenAI=OpenAI;window.pys.Utils=Utils;window.pys.getPixelBySlag=getPixelBySlag;window.pys.setEventUniqueId=function(idKey,newId){uniqueId[idKey]=newId};window.getPixelBySlag=getPixelBySlag;function pysNormalInit(){if($("#pys_late_event").length>0){var dirAttr=$("#pys_late_event").attr("dir");if(dirAttr){try{var events=JSON.parse(dirAttr)}catch(e){console.warn("Invalid JSON in pys_late_event dir attribute:",e)}}else{console.warn("pys_late_event dir attribute is undefined or empty")} 601if(events){for(var key in events){var event={};event[events[key].e_id]=[events[key]];if(options.staticEvents.hasOwnProperty(key)){Object.assign(options.staticEvents[key],event)}else{options.staticEvents[key]=event}}}} 602var Pinterest=Utils.setupPinterestObject();var Bing=Utils.setupBingObject();var Reddit=Utils.setupRedditObject();if(options.hasOwnProperty('cookie')){if(options.cookie.externalID_disabled_by_api||options.cookie.disabled_all_cookie){Cookies.remove('pbid')} 603if(options.cookie.disabled_advanced_form_data_cookie||options.cookie.disabled_all_cookie){Cookies.remove('pys_advanced_form_data')} 604if(options.cookie.disabled_landing_page_cookie||options.cookie.disabled_all_cookie){Cookies.remove('pys_landing_page') 605Cookies.remove('last_pys_landing_page')} 606if(options.cookie.disabled_trafficsource_cookie||options.cookie.disabled_all_cookie){Cookies.remove('pysTrafficSource') 607Cookies.remove('last_pysTrafficSource')} 608if(options.cookie.disabled_first_visit_cookie||options.cookie.disabled_all_cookie){Cookies.remove('pys_first_visit')} 609if(options.cookie.disabled_utmTerms_cookie||options.cookie.disabled_all_cookie){$.each(Utils.utmTerms,function(index,name){Cookies.remove('pys_'+name)});$.each(Utils.utmTerms,function(index,name){Cookies.remove('last_pys_'+name)})} 610if(options.cookie.disabled_utmId_cookie||options.cookie.disabled_all_cookie){$.each(Utils.utmId,function(index,name){Cookies.remove('pys_'+name)}) 611$.each(Utils.utmId,function(index,name){Cookies.remove('last_pys_'+name)})}} 612if(options.gdpr.cookie_law_info_integration_enabled){var cli_cookie=Cookies.get('cookieyes-consent')??Cookies.get('viewed_cookie_policy');if(typeof cli_cookie!=='undefined'){if(cli_cookie===Cookies.get('cookieyes-consent')&&getCookieYes('analytics')=='yes'){Utils.manageCookies()}else if(cli_cookie===Cookies.get('viewed_cookie_policy')&&cli_cookie=='yes'){Utils.manageCookies()}}} 613if(options.gdpr.consent_magic_integration_enabled&&typeof CS_Data!=="undefined"){if(CS_Data.cs_script_cat.pys==CS_Data.cs_necessary_cat_id||CS_Data.cs_script_cat.pys==0){Utils.manageCookies()}else if(Cookies.get('cs_enabled_cookie_term'+CS_Data.test_prefix+'_'+CS_Data.cs_script_cat.pys)=='yes'){Utils.manageCookies()}}else{Utils.manageCookies()} 614Utils.setupGdprCallbacks();if(options.dynamicEvents.hasOwnProperty("automatic_event_scroll")){var singlePageScroll=function(){var docHeight=$(document).height()-$(window).height();var isFired=!1;if(options.dynamicEvents.hasOwnProperty("automatic_event_scroll")){var pixels=Object.keys(options.dynamicEvents.automatic_event_scroll);for(var i=0;i<pixels.length;i++){var event=Utils.clone(options.dynamicEvents.automatic_event_scroll[pixels[i]]);var scroll=Math.round(docHeight*event.scroll_percent/100) 615if(scroll<$(window).scrollTop()){if(pixels[i]!=='reddit'){Utils.copyProperties(Utils.getRequestParam
615s(),event.params)} 616getPixelBySlag(pixels[i]).onPageScroll(event);isFired=!0}}} 617if(isFired){$(document).off("scroll",singlePageScroll)}} 618$(document).on("scroll",singlePageScroll)} 619if(options.dynamicEvents.hasOwnProperty("automatic_event_time_on_page")){var pixels=Object.keys(options.dynamicEvents.automatic_event_time_on_page);var time=options.dynamicEvents.automatic_event_time_on_page[pixels[0]].time_on_page;setTimeout(function(){for(var i=0;i<pixels.length;i++){var event=Utils.clone(options.dynamicEvents.automatic_event_time_on_page[pixels[i]]);if(pixels[i]!=='reddit'){Utils.copyProperties(Utils.getRequestParams(),event.params)} 620getPixelBySlag(pixels[i]).onTime(event)}},time*1000)} 621if(options.dynamicEvents.hasOwnProperty("automatic_event_download")){$(document).onFirst('click','a, button, input[type="button"], input[type="submit"]',function(e){var $elem=$(this);if(options.dynamicEvents.hasOwnProperty("automatic_event_download")){var isFired=!1;if($elem.is('a')){var href=$elem.attr('href');if(typeof href!=="string"){return} 622href=href.trim();var extension=Utils.getLinkExtension(href);var track_download=!1;if(extension.length>0){if(options.dynamicEvents.hasOwnProperty("automatic_event_download")){var pixels=Object.keys(options.dynamicEvents.automatic_event_download);for(var i=0;i<pixels.length;i++){var event=Utils.clone(options.dynamicEvents.automatic_event_download[pixels[i]]);var extensions=event.extensions;if(extensions.includes(extension)){if(pixels[i]=="tiktok"||pixels[i]=="reddit"){getPixelBySlag(pixels[i]).fireEvent(tikEvent.name,event)}else{if(options.enable_remove_download_url_param){href=stripUrlQuery(href)} 623event.params.download_url=href;event.params.download_type=extension;event.params.download_name=Utils.getLinkFilename(href);getPixelBySlag(pixels[i]).onDownloadEvent(event)} 624isFired=!0}}}}} 625if(isFired){return}}})} 626$.each(options.triggerEventTypes,function(triggerType,events){$.each(events,function(eventId,triggers){switch(triggerType){case 'url_click':break;case 'css_click':Utils.setupCSSClickEvents(eventId,triggers);break;case 'css_mouseover':Utils.setupMouseOverClickEvents(eventId,triggers);break;case 'scroll_pos':Utils.setupScrollPosEvents(eventId,triggers);break;case 'comment':Utils.setupCommentEvents(eventId,triggers);break}})});if(options.woo.enabled){if(options.dynamicEvents.hasOwnProperty("woo_add_to_cart_on_button_click")&&options.woo.hasOwnProperty("addToCartCatchMethod")&&options.woo.addToCartCatchMethod==="add_cart_js"){$('.add_to_cart_button:not(.product_type_variable,.product_type_bundle,.single_add_to_cart_button)').on("click",function(e){var product_id=$(this).data('product_id');if(typeof product_id!=='undefined'){if(options.dynamicEvents.hasOwnProperty("woo_add_to_cart_on_button_click")){var tmpEventID=pys_generate_token();$.each(options.dynamicEvents.woo_add_to_cart_on_button_click,function(i,tag){tag.eventID=tmpEventID;var idKey=tag.hasOwnProperty('custom_event_post_id')?tag.custom_event_post_id:tag.e_id;uniqueId[idKey]=tmpEventID})} 627if(typeof product_id!=='undefined'){Facebook.onWooAddToCartOnButtonEvent(product_id);Analytics.onWooAddToCartOnButtonEvent(product_id);GTM.onWooAddToCartOnButtonEvent(product_id);Pinterest.onWooAddToCartOnButtonEvent(product_id);Bing.onWooAddToCartOnButtonEvent(product_id);Reddit.onWooAddToCartOnButtonEvent(product_id);OpenAI.onWooAddToCartOnButtonEvent(product_id)}}});$('body').onFirst('click','button.single_add_to_cart_button,.single_add_to_cart_button',function(e){var $button=$(this);if($button.hasClass('disabled')){return} 628var $form=$button.closest('form');var product_type=Utils.PRODUCT_SIMPLE;if($form.length===0){return}else if($form.hasClass('variations_form')){product_type=Utils.PRODUCT_VARIABLE}else if($form.hasClass('bundle_form')){product_type=Utils.PRODUCT_BUNDLE}else if($form.hasClass('grouped_form')){product_type=Utils.PRODUCT_GROUPED} 629var product_id;var qty;if(product_type===Utils.PRODUCT_GROUPED){qty=1;product_id=parseInt($form.find('*[name="add-to-cart"]').val())}else if(product_type===Utils.PRODUCT_VARIABLE){product_id=parseInt($form.find('*[name="add-to-cart"]').val());var qtyTag=$form.find('input[name="quantity"]');if(qtyTag.length<=0){qtyTag=$form.find('select[name="quantity"]')} 630qty=parseInt(qtyTag.val())}else{product_id=parseInt($form.find('*[name="add-to-cart"]').val());var qtyTag=$form.find('input[name="quantity"]');if(qtyTag.length<=0){qtyTag=$form.find('select[name="quantity"]')} 631qty=parseInt(qtyTag.val())} 632if(options.dynamicEvents.hasOwnProperty("woo_add_to_cart_on_button_click")){var tmpEventID=pys_generate_token();$.each(options.dynamicEvents.woo_add_to_cart_on_button_click,function(i,tag){tag.eventID=tmpEventID;var idKey=tag.hasOwnProperty('custom_event_post_id')?tag.custom_event_post_id:tag.e_id;uniqueId[idKey]=tmpEventID})} 633Facebook.onWooAddToCartOnSingleEvent(product_id,qty,product_type,$form);Analytics.onWooAddToCartOnSingleEvent(product_id,qty,product_type,$form);GTM.onWooAddToCartOnSingleEvent(product_id,qty,product_type,$form);Pinterest.onWooAddToCartOnSingleEvent(product_id,qty,product_type,!1,$form);Bing.onWooAddToCartOnSingleEvent(product_id,qty,product_type,!1,$form);Reddit.onWooAddToCartOnSingleEvent(product_id,qty,product_type,!1,$form);OpenAI.onWooAddToCartOnSingleEvent(product_id,qty,product_type,!1,$form)})} 634if(options.dynamicEvents.hasOwnProperty("woo_remove_from_cart")){$('body').on('click',options.woo.removeFromCartSelector,function(e){var $a=$(e.currentTarget),href=$a.attr('href');var regex=new RegExp("[\\?&]remove_item=([^&#]*)"),results=regex.exec(href);if(results!==null){var item_hash=results[1];if(options.dynamicEvents.woo_remove_from_cart.hasOwnProperty(item_hash)){var events=options.dynamicEvents.woo_remove_from_cart[item_hash];Utils.fireEventForAllPixel("onWooRemoveFromCartEvent",events)}}})}} 635if(options.edd.enabled){if(options.dynamicEvents.hasOwnProperty("edd_add_to_cart_on_button_click")){$('form.edd_download_purchase_form .edd-add-to-cart').on("click",function(e){var $button=$(this);var $form=$button.closest('form');var variable_price=$button.data('variablePrice');var price_mode=$button.data('priceMode');var ids=[];var quantities=[];var qty;var id;if(variable_price==='yes'&&price_mode==='multi'){id=$form.find('input[name="download_id"]').val();$.each($form.find('input[name="edd_options[price_id][]"]:checked'),function(i,el){ids.push(id+'_'+$(el).val())});$.each(ids,function(i,variant_id){var variant_index=variant_id.split('_',2);qty=$form.find('input[name="edd_download_quantity_'+variant_index[1]+'"]').val();if(typeof qty!=='undefined'){quantities.push(qty)}else{quantities.push(1)}})}else if(variable_price==='yes'&&price_mode==='single'){id=$form.find('input[name="download_id"]').val();ids.push(id+'_'+$form.find('input[name="edd_options[price_id][]"]:checked').val());qty=$form.find('input[name="edd_download_quantity"]').val();if(typeof qty!=='undefined'){quantities.push(qty)}else{quantities.push(1)}}else{ids.push($button.data('downloadId'));qty=$form.find('input[name="edd_download_quantity"]').val();if(typeof qty!=='undefined'){quantities.push(qty)}else{quantities.push(1)}} 636$.each(ids,function(i,download_id){var q=parseInt(quantities[i]);var variant_index=download_id.toString().split('_',2);var price_index;if(variant_index.length===2){download_id=variant_index[0];price_index=variant_index[1]} 637Facebook.onEddAddToCartOnButtonEvent(download_id,price_index,q);Analytics.onEddAddToCartOnButtonEvent(download_id,price_index,q);GTM.onEddAddToCartOnButtonEvent(download_id,price_index,q);Pinterest.onEddAddToCartOnButtonEvent(download_id,price_index,q);Bing.onEddAddToCartOnButtonEvent(download_id,price_index,q);Reddit.onEddAddToCartOnButtonEvent(download_id,price_index,q);OpenAI.onEddAddToCartOnButtonEvent(download_id,price_index,q)})})} 638if(options.dynamicEvents.hasOwnProperty("edd_remove_from_cart")){$('form#edd_checkout_cart_form .edd_cart_remove_item_btn').on("click",function(e){var href=$(this).attr('href');if(href){var key=href.substring(href.indexOf('=')+1).charAt(0);if(options.dynamicEvents.edd_remove_from_cart.hasOwnProperty(key)){var events=options.dynamicEvents.edd_remove_from_cart[key];Utils.fireEventForAllPixel("onEddRemoveFromCartEvent",events)}}})}}
639if(options.dynamicEvents.hasOwnProperty("automatic_event_comment")){$('form.comment-form').on("submit",function(){if(options.dynamicEvents.hasOwnProperty("automatic_event_comment")){var pixels=Object.keys(options.dynamicEvents.automatic_event_comment);for(var i=0;i<pixels.length;i++){var event=Utils.clone(options.dynamicEvents.automatic_event_comment[pixels[i]]);if(pixels[i]!=='reddit'){Utils.copyProperties(Utils.getRequestParams(),event.params)} 640getPixelBySlag(pixels[i]).onCommentEvent(event)}}})} 641if(options.dynamicEvents.hasOwnProperty("automatic_event_form")){$(document).onFirst('submit','form',function(e){var $form=$(this);const formClass=$form.attr('class')||'';const formRole=($form.attr('role')||'').toLowerCase();const formId=$form.attr('id');if($form.hasClass('comment-form')||$form.hasClass('search-form')||$form.hasClass('woocommerce-ordering')||formClass.toLowerCase().includes('search')||formClass.toLowerCase().includes('add-to-cart')||formRole==='search'||formId==='adminbarsearch'){return} 642if($form.hasClass('woocommerce-product-search')||$form.hasClass('cart')||$form.hasClass('woocommerce-cart-form')||$form.hasClass('woocommerce-shipping-calculator')||$form.hasClass('checkout')||$form.hasClass('checkout_coupon')){return} 643if($form.hasClass('edd_form')||$form.hasClass('edd_download_purchase_form')){return} 644if($form.hasClass('wpcf7-form')){return} 645if($form.hasClass('forminator-custom-form')||$form.hasClass('forminator_ajax')){return} 646if($form.hasClass('wpforms-form')||$form.hasClass('wpforms-ajax-form')){return} 647if($form.parent().hasClass('nf-form-layout')){return} 648if($form.hasClass('frm-fluent-form')){return} 649if(!options.enable_success_send_form){var params={form_id:$form.attr('id'),form_class:$form.attr('class'),text:$form.find('[type="submit"]').is('input')?$form.find('[type="submit"]').val():$form.find('[type="submit"]').text()};if(options.dynamicEvents.hasOwnProperty("automatic_event_form")){var pixels=Object.keys(options.dynamicEvents.automatic_event_form);for(var i=0;i<pixels.length;i++){var event=Utils.clone(options.dynamicEvents.automatic_event_form[pixels[i]]);if(pixels[i]==="tiktok"||pixels[i]==="reddit"){getPixelBySlag(pixels[i]).fireEvent(event.name,event)}else{Utils.copyProperties(params,event.params,)
650Utils.copyProperties(Utils.getRequestParams(),event.params);getPixelBySlag(pixels[i]).onFormEvent(event)}}}}});document.addEventListener('wpcf7mailsent',function(event){var form_id=event.detail.contactFormId;sendFormAction($(event.target),form_id)},!1);$(document).on('forminator:form:submit:success',function(event){var form_id=$(event.target).find('input[name="form_id"]').val();sendFormAction($(event.target),form_id)});$('form.wpforms-form').on('wpformsAjaxSubmitSuccess',(event)=>{var form_id=$(event.target).attr('data-formid');sendFormAction($(event.target),form_id)}) 651$(document).on('frmFormComplete',function(event,form,response){const form_id=$(form).find('input[name="form_id"]').val();sendFormAction($(event.target),form_id)});$(document).onFirst('nfFormSubmitResponse',function(event,data){const form_id=data.response.data.form_id;sendFormAction($(event.target),form_id)});var fluentForms=$('form.frm-fluent-form');fluentForms.each(function(){var $form=$(this);$form.on('fluentform_submission_success',function(event){var $formItem=$(this);var form_id=$formItem.attr('data-form_id');sendFormAction($(event.target),form_id)})})} 652Utils.loadPixels();if(Utils.isCheckoutPage()){Utils.addCheckoutFields()}} 653$(document).ready(function(){if(options.dynamicDataUrl){fetch(options.dynamicDataUrl,{method:'GET',credentials:'same-origin',cache:'no-store',headers:{'Accept':'application/json'}}).then(function(r){return r.ok?r.json():Promise.reject(r.status)}).then(function(dynamic){options.ajax_event=dynamic.ajax_event;options.cache_bypass=dynamic.cache_bypass;options.tracking_analytics=dynamic.tracking_analytics;if(dynamic.gdpr_dynamic&&options.gdpr){Object.assign(options.gdpr,dynamic.gdpr_dynamic);if(dynamic.gdpr_dynamic.analytics_storage_value!==null) 654options.gdpr.analytics_storage.value=dynamic.gdpr_dynamic.analytics_storage_value;if(dynamic.gdpr_dynamic.ad_storage_value!==null) 655options.gdpr.ad_storage.value=dynamic.gdpr_dynamic.ad_storage_value;if(dynamic.gdpr_dynamic.ad_user_data_value!==null) 656options.gdpr.ad_user_data.value=dynamic.gdpr_dynamic.ad_user_data_value;if(dynamic.gdpr_dynamic.ad_personalization_value!==null) 657options.gdpr.ad_personalization.value=dynamic.gdpr_dynamic.ad_personalization_value} 658options.cookie=dynamic.cookie;if(dynamic.pixels){for(var slug in dynamic.pixels){if(!dynamic.pixels.hasOwnProperty(slug)||!options[slug])continue;for(var key in dynamic.pixels[slug]){if(!dynamic.pixels[slug].hasOwnProperty(key))continue;var inline=options[slug][key];if(!inline||Object.keys(inline).length===0){options[slug][key]=dynamic.pixels[slug][key]}}}} 659options.dynamicDataApplied=!0;if(window.pys&&window.pys.OpenAI&&typeof window.pys.OpenAI.refreshAdvancedMatching==='function'){window.pys.OpenAI.refreshAdvancedMatching()} 660pysNormalInit()}).catch(function(err){if(options.debug)console.warn('[PYS] dynamic-options fetch failed:',err);options.dynamicDataApplied=!0;pysNormalInit()})}else{pysNormalInit()}});var sendFormAction=function(form_target,formId){var params={form_id:formId,text:form_target.find('[type="submit"]').is('input')?form_target.find('[type="submit"]').val():form_target.find('.forminator-button-submit').text()!=''?form_target.find('.forminator-button-submit').text():form_target.find('[type="submit"]').text()};if(options.dynamicEvents.hasOwnProperty("automatic_event_form")){var pixels=Object.keys(options.dynamicEvents.automatic_event_form);for(var i=0;i<pixels.length;i++){var event=options.dynamicEvents.automatic_event_form[pixels[i]];if(pixels[i]==="tiktok"||pixels[i]==="reddit"){getPixelBySlag(pixels[i]).fireEvent(event.name,event)}else{Utils.copyProperties(params,event.params)
661Utils.copyProperties(Utils.getRequestParams(),event.params);getPixelBySlag(pixels[i]).onFormEvent(event)}}}}}(jQuery,pysOptions);function pys_generate_token(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16))} 662function getBundlePriceOnSingleProduct(data){var items_sum=0;jQuery(".bundle_form .bundled_product").each(function(index){var id=jQuery(this).find(".cart").data("bundled_item_id");var item_price=data.prices[id];var item_quantity=jQuery(this).find(".bundled_qty").val();if(!jQuery(this).hasClass("bundled_item_optional")||jQuery(this).find(".bundled_product_optional_checkbox input").prop('checked')){items_sum+=item_price*item_quantity}});return items_sum} 663function getUrlParameter(sParam){var sPageURL=window.location.search.substring(1),sURLVariables=sPageURL.split('&'),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split('=');if(sParameterName[0]===sParam){return sParameterName[1]===undefined?!0:decodeURIComponent(sParameterName[1])}} 664return!1};function getCookieYes(key){const cookiesObj=document.cookie.split(";").reduce((ac,cv)=>{const[k,v]=cv.split("=");if(k&&v)ac[k.trim()]=v;return ac},{});const consentCookie=cookiesObj["cookieyes-consent"]||cookiesObj.wt_consent;if(!consentCookie)return undefined;const{[key]:value}=consentCookie.split(",").reduce((obj,pair)=>{const[k,v]=pair.split(":");if(k&&v)obj[k]=v;return obj},{});return value} 665function getRootDomain(useSubdomain=!1){const hostname=window.location.hostname;if(typeof tldjs==="undefined"){console.warn("tldjs is not defined");return hostname} 666const rootDomain=tldjs.getDomain(hostname);return rootDomain?(useSubdomain?'.'+rootDomain:rootDomain):hostname}; 667 668 669 670window.WpStatisticsUserTracker||(window.WpStatisticsUserTracker={lastUrl:window.location.href,originalPushState:history.pushState,originalReplaceState:history.replaceState,isDndActive:parseInt(navigator.msDoNotTrack||window.doNotTrack||navigator.doNotTrack,10),hasTrackerInitializedOnce:!1,hasUrlChangeTrackerInitialized:!1,hitRequestSuccessful:!0,init:function(){this.hasTrackerInitializedOnce||(this.hasTrackerInitializedOnce=!0,WP_Statistics_Tracker_Object.option.isPreview)||(void 0===WP_Statistics_Tracker_Object?console.error("WP Statistics: Variable WP_Statistics_Tracker_Object not found. Ensure /wp-content/plugins/wp-statistics/assets/js/tracker.js is either excluded from cache settings or not dequeued by any plugin. Clear your cache if necessary."):this.checkHitRequestConditions(),this.trackUrlChange())},base64Encode:function(t){t=(new TextEncoder).encode(t);return btoa(String.fromCharCode.apply(null,t))},getPathAndQueryString:function(){var t=window.location.pathname,e=window.location.search;return this.base64Encode(t+e)},getReferred:function(){return this.base64Encode(document.referrer)},checkHitRequestConditions:function(){!WP_Statistics_Tracker_Object.option.dntEnabled||1!==this.isDndActive?this.sendHitRequest():console.log("WP Statistics: Do Not Track (DNT) is enabled. Hit request not sent.")},sendHitRequest:async function(){try{var t=this.getRequestUrl(),i=new URLSearchParams({...WP_Statistics_Tracker_Object.hitParams,referred:this.getReferred(),page_uri:this.getPathAndQueryString()}).toString();let e=new XMLHttpRequest;e.open("POST",t,!0),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.send(i),e.onreadystatechange=function(){var t;4===e.readyState&&(200===e.status?(t=JSON.parse(e.responseText),this.hitRequestSuccessful=!1!==t.status):(this.hitRequestSuccessful=!1,console.warn("WP Statistics: Hit request failed with status "+e.status)))}.bind(this)}catch(t){this.hitRequestSuccessful=!1,console.error("WP Statistics: Error sending hit request:",t)}},getRequestUrl:function(){let t=WP_Statistics_Tracker_Object.requestUrl+"/";return WP_Statistics_Tracker_Object.option.bypassAdBlockers?t=WP_Statistics_Tracker_Object.ajaxUrl:t+=WP_Statistics_Tracker_Object.hitParams.endpoint,t},updateTrackerObject:function(s){function r(){var t=document.getElementById("wp-statistics-tracker-js-extra");if(t)try{var e,i=t.innerHTML.match(/var\s+WP_Statistics_Tracker_Object\s*=\s*(\{[\s\S]*?\});/);i&&i[1]&&(e=JSON.parse(i[1]),!WP_Statistics_Tracker_Object.hitParams||JSON.stringify(WP_Statistics_Tracker_Object.hitParams)!==JSON.stringify(e.hitParams))?(WP_Statistics_Tracker_Object=e,!a&&s&&(a=!0,s())):++n<20?setTimeout(r,100):!a&&s&&(a=!0,s())}catch(t){console.error("WP Statistics: Error parsing WP_Statistics_Tracker_Object",t),!a&&s&&(a=!0,s())}else++n<20?setTimeout(r,100):!a&&s&&(a=!0,s())}let a=!1,n=0;setTimeout(r,50)},trackUrlChange:function(){if(!this.hasUrlChangeTrackerInitialized){this.hasUrlChangeTrackerInitialized=!0;let t=this;window.removeEventListener("popstate",t.handleUrlChange),history.pushState=function(){t.originalPushState.apply(history,arguments),t.handleUrlChange()},history.replaceState=function(){t.originalReplaceState.apply(history,arguments),t.handleUrlChange()},window.addEventListener("popstate",function(){t.handleUrlChange()})}},handleUrlChange:function(){let t=this;window.location.href!==this.lastUrl&&(this.lastUrl=window.location.href,this.updateTrackerObject(function(){t.checkHitRequestConditions()}))}});window.WpStatisticsEventTracker||(window.WpStatisticsEventTracker={hasEventsInitializedOnce:!1,downloadTracker:!1,linkTracker:!1,init:async function(){this.hasEventsInitializedOnce||WP_Statistics_Tracker_Object.isLegacyEventLoaded||(this.hasEventsInitializedOnce=!0,"undefined"!=typeof WP_Statistics_DataPlus_Event_Object&&(this.downloadTracker=WP_Statistics_DataPlus_Event_Object.options.downloadTracker,this.linkTracker=WP_Statistics_DataPlus_Event_Object.options.linkTracker,this.downloadTracker||this.linkTracker)&&this.captureEvent(),window.wp_statistics_event=this.handleCustomEvent.bind(this),"undefined"!=typeof WP_Statistics_Marketing_Event_Object&&this.captureCustomClickEvents())},handleCustomEvent:function(t,e={}){var n=WP_Statistics_Tracker_Object.customEventAjaxUrl,t=(e.timestamp=Date.now(),e.resource_id||(e.resource_id=WP_Statistics_Tracker_Object.hitParams.source_id),{event_name:t,event_data:JSON.stringify(e)});this.sendEventData(t,n)},captureCustomClickEvents:function(){WP_Statistics_Marketing_Event_Object.events.clicks.forEach(e
670=>{!e.selector||null!=e.scope&&e.scope!=WP_Statistics_Tracker_Object.hitParams.source_id||document.querySelectorAll(""+e.selector).forEach(t=>{t.addEventListener("click",t=>{t={text:t.target.textContent,id:t.currentTarget.id,class:t.currentTarget.className,target:t.currentTarget.href};this.handleCustomEvent(e.name,t)})})})},captureEvent:function(){document.querySelectorAll("a").forEach(t=>{t.addEventListener("click",async t=>this.handleEvent(t)),t.addEventListener("mouseup",async t=>this.handleEvent(t))})},handleEvent:async function(t){var e;"mouseup"==t.type&&1!=t.button||(t=this.prepareEventData(t))&&(e=WP_Statistics_DataPlus_Event_Object.eventAjaxUrl,await this.sendEventData(t,e))},prepareEventData:function(t){let e={en:t.type,et:Date.now(),eid:t.currentTarget.id,ec:t.currentTarget.className,ev:"",mb:t.button,fn:"",fx:"",m:"",tu:"",pid:""};return"A"===t.currentTarget.tagName&&(e=this.extractLinkData(t,e)),"undefined"!=typeof WP_Statistics_Tracker_Object&&(e.pid=WP_Statistics_Tracker_Object.hitParams.source_id),e},extractLinkData(t,e){var n=t.target.textContent,a=t.currentTarget.href,i=WP_Statistics_DataPlus_Event_Object.fileExtensions,i=new RegExp("\\.("+i.join("|")+")$","i"),n=(n&&(e.ev=n),a&&(e.tu=a),t.currentTarget.classList.contains("woocommerce-MyAccount-downloads-file")||a.includes("download_file="));if(e.wcdl=n,(i.test(a)||n)&&(t=new URL(a).pathname,e.df=n?a.substring(a.lastIndexOf("download_file=")+14).split("&").shift():"",e.dk=n?a.substring(a.lastIndexOf("key=")+4).split("&").shift():"",e.en="file_download",e.fn=n?e.df:t.substring(t.lastIndexOf("/")+1).split(".").shift(),e.fx=n?e.df:t.split(".").pop()),"click"===e.en){if(!this.linkTracker)return!1;try{if(new URL(a).host===window.location.host)return!1}catch(t){}}return!("file_download"===e.en&&!this.downloadTracker)&&e},sendEventData:async function(t,e){var n,a=new URLSearchParams;for(n in t)a.append(n,t[n]);if(!e)throw new Error("AJAX URL is not defined.");try{(await fetch(e,{method:"POST",keepalive:!0,body:a})).ok}catch(t){console.error("Error:",t)}}});function handleWpConsentApiIntegration(){(wp_has_consent("statistics")||wp_has_consent("statistics-anonymous"))&&(WpStatisticsUserTracker.init(),WpStatisticsEventTracker.init()),document.addEventListener("wp_listen_for_consent_change",function(t){var n,i=t.detail;for(n in i)!i.hasOwnProperty(n)||"statistics"!==n&&"statistics-anonymous"!==n||"allow"!==i[n]||(WpStatisticsUserTracker.init(),WpStatisticsEventTracker.init())})}function handleRealCookieBannerIntegration(){(window.consentApi?.consent("wp-statistics")||Promise.resolve()).then(()=>{WpStatisticsUserTracker.init(),WpStatisticsEventTracker.init()}).catch(()=>{var t=window.consentApi?.consentSync("wp-statistics-with-data-processing");null!=t.cookie&&t.cookieOptIn?(WpStatisticsUserTracker.init(),WpStatisticsEventTracker.init()):console.log("WP Statistics: Real Cookie Banner consent is not given to track visitor information.")})}document.addEventListener("DOMContentLoaded",function t(){var n;document.prerendering?document.addEventListener("prerenderingchange",t,{once:!0}):((n=WP_Statistics_Tracker_Object.option.consentIntegration.name)&&"borlabs_cookie"!==n||(WpStatisticsUserTracker.init(),WpStatisticsEventTracker.init()),"wp_consent_api"===n&&handleWpConsentApiIntegration(),"real_cookie_banner"===n&&handleRealCookieBannerIntegration())}); 671 672 673 674/*! jQuery UI - v1.14.1 - 2024-10-30 675* https://jqueryui.com 676* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js 677* Copyright OpenJS Foundation and other contributors; Licensed MIT */ 678(function(factory){"use strict";if(typeof define==="function"&&define.amd){define(["jquery"],factory)}else{factory(jQuery)}})(function($){"use strict";$.ui=$.ui||{};var version=$.ui.version="1.14.1"; 679/*! 680 * jQuery UI Widget 1.14.1 681 * https://jqueryui.com 682 * 683 * Copyright OpenJS Foundation and other contributors 684 * Released under the MIT license. 685 * https://jquery.org/license 686 */ 687var widgetUuid=0;var widgetHasOwnProperty=Array.prototype.hasOwnProperty;var widgetSlice=Array.prototype.slice;$.cleanData=(function(orig){return function(elems){var events,elem,i;for(i=0;(elem=elems[i])!=null;i++){events=$._data(elem,"events");if(events&&events.remove){$(elem).triggerHandler("remove")}} 688orig(elems)}})($.cleanData);$.widget=function(name,base,prototype){var existingConstructor,constructor,basePrototype;var proxiedPrototype={};var namespace=name.split(".")[0];name=name.split(".")[1];if(name==="__proto__"||name==="constructor"){return $.error("Invalid widget name: "+name)} 689var fullName=namespace+"-"+name;if(!prototype){prototype=base;base=$.Widget} 690if(Array.isArray(prototype)){prototype=$.extend.apply(null,[{}].concat(prototype))} 691$.expr.pseudos[fullName.toLowerCase()]=function(elem){return!!$.data(elem,fullName)};$[namespace]=$[namespace]||{};existingConstructor=$[namespace][name];constructor=$[namespace][name]=function(options,element){if(!this||!this._createWidget){return new constructor(options,element)} 692if(arguments.length){this._createWidget(options,element)}};$.extend(constructor,existingConstructor,{version:prototype.version,_proto:$.extend({},prototype),_childConstructors:[]});basePrototype=new base();basePrototype.options=$.widget.extend({},basePrototype.options);$.each(prototype,function(prop,value){if(typeof value!=="function"){proxiedPrototype[prop]=value;return} 693proxiedPrototype[prop]=(function(){function _super(){return base.prototype[prop].apply(this,arguments)} 694function _superApply(args){return base.prototype[prop].apply(this,args)} 695return function(){var __super=this._super;var __superApply=this._superApply;var returnValue;this._super=_super;this._superApply=_superApply;returnValue=value.apply(this,arguments);this._super=__super;this._superApply=__superApply;return returnValue}})()});constructor.prototype=$.widget.extend(basePrototype,{widgetEventPrefix:existingConstructor?(basePrototype.widgetEventPrefix||name):name},proxiedPrototype,{constructor:constructor,namespace:namespace,widgetName:name,widgetFullName:fullName});if(existingConstructor){$.each(existingConstructor._childConstructors,function(i,child){var childPrototype=child.prototype;$.widget(childPrototype.namespace+"."+childPrototype.widgetName,constructor,child._proto)});delete existingConstructor._childConstructors}else{base._childConstructors.push(constructor)} 696$.widget.bridge(name,constructor);return constructor};$.widget.extend=function(target){var input=widgetSlice.call(arguments,1
696);var inputIndex=0;var inputLength=input.length;var key;var value;for(;inputIndex<inputLength;inputIndex++){for(key in input[inputIndex]){value=input[inputIndex][key];if(widgetHasOwnProperty.call(input[inputIndex],key)&&value!==undefined){if($.isPlainObject(value)){target[key]=$.isPlainObject(target[key])?$.widget.extend({},target[key],value):$.widget.extend({},value)}else{target[key]=value}}}} 697return target};$.widget.bridge=function(name,object){var fullName=object.prototype.widgetFullName||name;$.fn[name]=function(options){var isMethodCall=typeof options==="string";var args=widgetSlice.call(arguments,1);var returnValue=this;if(isMethodCall){if(!this.length&&options==="instance"){returnValue=undefined}else{this.each(function(){var methodValue;var instance=$.data(this,fullName);if(options==="instance"){returnValue=instance;return!1} 698if(!instance){return $.error("cannot call methods on "+name+" prior to initialization; "+"attempted to call method '"+options+"'")} 699if(typeof instance[options]!=="function"||options.charAt(0)==="_"){return $.error("no such method '"+options+"' for "+name+" widget instance")} 700methodValue=instance[options].apply(instance,args);if(methodValue!==instance&&methodValue!==undefined){returnValue=methodValue&&methodValue.jquery?returnValue.pushStack(methodValue.get()):methodValue;return!1}})}}else{if(args.length){options=$.widget.extend.apply(null,[options].concat(args))} 701this.each(function(){var instance=$.data(this,fullName);if(instance){instance.option(options||{});if(instance._init){instance._init()}}else{$.data(this,fullName,new object(options,this))}})} 702return returnValue}};$.Widget=function(){};$.Widget._childConstructors=[];$.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(options,element){element=$(element||this.defaultElement||this)[0];this.element=$(element);this.uuid=widgetUuid++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=$();this.hoverable=$();this.focusable=$();this.classesElementLookup={};if(element!==this){$.data(element,this.widgetFullName,this);this._on(!0,this.element,{remove:function(event){if(event.target===element){this.destroy()}}});this.document=$(element.style?element.ownerDocument:element.document||element);this.window=$(this.document[0].defaultView||this.document[0].parentWindow)} 703this.options=$.widget.extend({},this.options,this._getCreateOptions(),options);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)} 704this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:$.noop,_create:$.noop,_init:$.noop,destroy:function(){var that=this;this._destroy();$.each(this.classesElementLookup,function(key,value){that._removeClass(value,key)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:$.noop,widget:function(){return this.element},option:function(key,value){var options=key;var parts;var curOption;var i;if(arguments.length===0){return $.widget.extend({},this.options)} 705if(typeof key==="string"){options={};parts=key.split(".");key=parts.shift();if(parts.length){curOption=options[key]=$.widget.extend({},this.options[key]);for(i=0;i<parts.length-1;i++){curOption[parts[i]]=curOption[parts[i]]||{};curOption=curOption[parts[i]]} 706key=parts.pop();if(arguments.length===1){return curOption[key]===undefined?null:curOption[key]} 707curOption[key]=value}else{if(arguments.length===1){return this.options[key]===undefined?null:this.options[key]} 708options[key]=value}} 709this._setOptions(options);return this},_setOptions:function(options){var key;for(key in options){this._setOption(key,options[key])} 710return this},_setOption:function(key,value){if(key==="classes"){this._setOptionClasses(value)} 711this.options[key]=value;if(key==="disabled"){this._setOptionDisabled(value)} 712return this},_setOptionClasses:function(value){var classKey,elements,currentElements;for(classKey in value){currentElements=this.classesElementLookup[classKey];if(value[classKey]===this.options.classes[classKey]||!currentElements||!currentElements.length){continue} 713elements=$(currentElements.get());this._removeClass(currentElements,classKey);elements.addClass(this._classes({element:elements,keys:classKey,classes:value,add:!0}))}},_setOptionDisabled:function(value){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!value);if(value){this._removeClass(this.hoverable,null,"ui-state-hover");this._removeClass(this.focusable,null,"ui-state-focus")}},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(options){var full=[];var that=this;options=$.extend({element:this.element,classes:this.options.classes||{}},options);function bindRemoveEvent(){var nodesToBind=[];options.element.each(function(_,element){var isTracked=$.map(that.classesElementLookup,function(elements){return elements}).some(function(elements){return elements.is(element)});if(!isTracked){nodesToBind.push(element)}});that._on($(nodesToBind),{remove:"_untrackClassesElement"})} 714function processClassString(classes,checkOption){var current,i;for(i=0;i<classes.length;i++){current=that.classesElementLookup[classes[i]]||$();if(options.add){bindRemoveEvent();current=$($.uniqueSort(current.get().concat(options.element.get())))}else{current=$(current.not(options.element).get())} 715that.classesElementLookup[classes[i]]=current;full.push(classes[i]);if(checkOption&&options.classes[classes[i]]){full.push(options.classes[classes[i]])}}}
716if(options.keys){processClassString(options.keys.match(/\S+/g)||[],!0)} 717if(options.extra){processClassString(options.extra.match(/\S+/g)||[])} 718return full.join(" ")},_untrackClassesElement:function(event){var that=this;$.each(that.classesElementLookup,function(key,value){if($.inArray(event.target,value)!==-1){that.classesElementLookup[key]=$(value.not(event.target).get())}});this._off($(event.target))},_removeClass:function(element,keys,extra){return this._toggleClass(element,keys,extra,!1)},_addClass:function(element,keys,extra){return this._toggleClass(element,keys,extra,!0)},_toggleClass:function(element,keys,extra,add){add=(typeof add==="boolean")?add:extra;var shift=(typeof element==="string"||element===null),options={extra:shift?keys:extra,keys:shift?element:keys,element:shift?this.element:element,add:add};options.element.toggleClass(this._classes(options),add);return this},_on:function(suppressDisabledCheck,element,handlers){var delegateElement;var instance=this;if(typeof suppressDisabledCheck!=="boolean"){handlers=element;element=suppressDisabledCheck;suppressDisabledCheck=!1} 719if(!handlers){handlers=element;element=this.element;delegateElement=this.widget()}else{element=delegateElement=$(element);this.bindings=this.bindings.add(element)} 720$.each(handlers,function(event,handler){function handlerProxy(){if(!suppressDisabledCheck&&(instance.options.disabled===!0||$(this).hasClass("ui-state-disabled"))){return} 721return(typeof handler==="string"?instance[handler]:handler).apply(instance,arguments)} 722if(typeof handler!=="string"){handlerProxy.guid=handler.guid=handler.guid||handlerProxy.guid||$.guid++} 723var match=event.match(/^([\w:-]*)\s*(.*)$/);var eventName=match[1]+instance.eventNamespace;var selector=match[2];if(selector){delegateElement.on(eventName,selector,handlerProxy)}else{element.on(eventName,handlerProxy)}})},_off:function(element,eventName){eventName=(eventName||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;element.off(eventName);this.bindings=$(this.bindings.not(element).get());this.focusable=$(this.focusable.not(element).get());this.hoverable=$(this.hoverable.not(element).get())},_delay:function(handler,delay){function handlerProxy(){return(typeof handler==="string"?instance[handler]:handler).apply(instance,arguments)} 724var instance=this;return setTimeout(handlerProxy,delay||0)},_hoverable:function(element){this.hoverable=this.hoverable.add(element);this._on(element,{mouseenter:function(event){this._addClass($(event.currentTarget),null,"ui-state-hover")},mouseleave:function(event){this._removeClass($(event.currentTarget),null,"ui-state-hover")}})},_focusable:function(element){this.focusable=this.focusable.add(element);this._on(element,{focusin:function(event){this._addClass($(event.currentTarget),null,"ui-state-focus")},focusout:function(event){this._removeClass($(event.currentTarget),null,"ui-state-focus")}})},_trigger:function(type,event,data){var prop,orig;var callback=this.options[type];data=data||{};event=$.Event(event);event.type=(type===this.widgetEventPrefix?type:this.widgetEventPrefix+type).toLowerCase();event.target=this.element[0];orig=event.originalEvent;if(orig){for(prop in orig){if(!(prop in event)){event[prop]=orig[prop]}}} 725this.element.trigger(event,data);return!(typeof callback==="function"&&callback.apply(this.element[0],[event].concat(data))===!1||event.isDefaultPrevented())}};$.each({show:"fadeIn",hide:"fadeOut"},function(method,defaultEffect){$.Widget.prototype["_"+method]=function(element,options,callback){if(typeof options==="string"){options={effect:options}} 726var hasOptions;var effectName=!options?method:options===!0||typeof options==="number"?defaultEffect:options.effect||defaultEffect;options=options||{};if(typeof options==="number"){options={duration:options}}else if(options===!0){options={}} 727hasOptions=!$.isEmptyObject(options);options.complete=callback;if(options.delay){element.delay(options.delay)} 728if(hasOptions&&$.effects&&$.effects.effect[effectName]){element[method](options)}else if(effectName!==method&&element[effectName]){element[effectName](options.duration,options.easing,callback)}else{element.queue(function(next){$(this)[method]();if(callback){callback.call(element[0])} 729next()})}}});var widget=$.widget;
730/*! 731 * jQuery UI Position 1.14.1 732 * https://jqueryui.com 733 * 734 * Copyright OpenJS Foundation and other contributors 735 * Released under the MIT license. 736 * https://jquery.org/license 737 * 738 * https://api.jqueryui.com/position/ 739 */ 740(function(){var cachedScrollbarWidth,max=Math.max,abs=Math.abs,rhorizontal=/left|center|right/,rvertical=/top|center|bottom/,roffset=/[\+\-]\d+(\.[\d]+)?%?/,rposition=/^\w+/,rpercent=/%$/,_position=$.fn.position;function getOffsets(offsets,width,height){return[parseFloat(offsets[0])*(rpercent.test(offsets[0])?width/100:1),parseFloat(offsets[1])*(rpercent.test(offsets[1])?height/100:1)]} 741function parseCss(element,property){return parseInt($.css(element,property),10)||0} 742function isWindow(obj){return obj!=null&&obj===obj.window} 743function getDimensions(elem){var raw=elem[0];if(raw.nodeType===9){return{width:elem.width(),height:elem.height(),offset:{top:0,left:0}}} 744if(isWindow(raw)){return{width:elem.width(),height:elem.height(),offset:{top:elem.scrollTop(),left:elem.scrollLeft()}}} 745if(raw.preventDefault){return{width:0,height:0,offset:{top:raw.pageY,left:raw.pageX}}} 746return{width:elem.outerWidth(),height:elem.outerHeight(),offset:elem.offset()}} 747$.position={scrollbarWidth:function(){if(cachedScrollbarWidth!==undefined){return cachedScrollbarWidth} 748var w1,w2,div=$("<div style="+"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>"+"<div style='height:300px;width:auto;'></div></div>"),innerDiv=div.children()[0];$("body").append(div);w1=innerDiv.offsetWidth;div.css("overflow","scroll");w2=innerDiv.offsetWidth;if(w1===w2){w2=div[0].clientWidth} 749div.remove();return(cachedScrollbarWidth=w1-w2)},getScrollInfo:function(within){var overflowX=within.isWindow||within.isDocument?"":within.element.css("overflow-x"),overflowY=within.isWindow||within.isDocument?"":within.element.css("overflow-y"),hasOverflowX=overflowX==="scroll"||(overflowX==="auto"&&within.width<within.element[0].scrollWidth),hasOverflowY=overflowY==="scroll"||(overflowY==="auto"&&within.height<within.element[0].scrollHeight);return{width:hasOverflowY?$.position.scrollbarWidth():0,height:hasOverflowX?$.position.scrollbarWidth():0}},getWithinInfo:function(element){var withinElement=$(element||window),isElemWindow=isWindow(withinElement[0]),isDocument=!!withinElement[0]&&withinElement[0].nodeType===9,hasOffset=!isElemWindow&&!isDocument;return{element:withinElement,isWindow:isElemWindow,isDocument:isDocument,offset:hasOffset?$(element).offset():{left:0,top:0},scrollLeft:withinElement.scrollLeft(),scrollTop:withinElement.scrollTop(),width:withinElement.outerWidth(),height:withinElement.outerHeight()}}};$.fn.position=function(options){if(!options||!options.of){return _position.apply(this,arguments)} 750options=$.extend({},options);var atOffset,targetWidth,targetHeight,targetOffset,basePosition,dimensions,target=typeof options.of==="string"?$(document).find(options.of):$(options.of),within=$.position.getWithinInfo(options.within),scrollInfo=$.position.getScrollInfo(within),collision=(options.collision||"flip").split(" "),offsets={};dimensions=getDimensions(target);if(target[0].preventDefault){options.at="left top"} 751targetWidth=dimensions.width;targetHeight=dimensions.height;targetOffset=dimensions.offset;basePosition=$.extend({},targetOffset);$.each(["my","at"],function(){var pos=(options[this]||"").split(" "),horizontalOffset,verticalOffset;if(pos.length===1){pos=rhorizontal.test(pos[0])?pos.concat(["center"]):rvertical.test(pos[0])?["center"].concat(pos):["center","center"]} 752pos[0]=rhorizontal.test(pos[0])?pos[0]:"center";pos[1]=rvertical.test(pos[1])?pos[1]:"center";horizontalOffset=roffset.exec(pos[0]);verticalOffset=roffset.exec(pos[1]);offsets[this]=[horizontalOffset?horizontalOffset[0]:0,verticalOffset?verticalOffset[0]:0];options[this]=[rposition.exec(pos[0])[0],rposition.exec(pos[1])[0]]});if(collision.length===1){collision[1]=collision[0]} 753if(options.at[0]==="right"){basePosition.left+=targetWidth}else if(options.at[0]==="center"){basePosition.left+=targetWidth/2} 754if(options.at[1]==="bottom"){basePosition.top+=targetHeight}else if(options.at[1]==="center"){basePosition.top+=targetHeight/2} 755atOffset=getOffsets(offsets.at,targetWidth,targetHeight);basePosition.left+=atOffset[0];basePosition.top+=atOffset[1];return this.each(function(){var collisionPosition,using,elem=$(this),elemWidth=elem.outerWidth(),elemHeight=elem.outerHeight(),marginLeft=parseCss(this,"marginLeft"),marginTop=parseCss(this,"marginTop"),collisionWidth=elemWidth+marginLeft+parseCss(this,"marginRight")+scrollInfo.width,collisionHeight=elemHeight+marginTop+parseCss(this,"marginBottom")+scrollInfo.height,position=$.extend({},basePosition),myOffset=getOffsets(offsets.my,elem.outerWidth(),elem.outerHeight());if(options.my[0]==="right"){position.left-=elemWidth}else if(options.my[0]==="center"){position.left-=elemWidth/2} 756if(options.my[1]==="bottom"){position.top-=elemHeight}else if(options.my[1]==="center"){position.top-=elemHeight/2} 757position.left+=myOffset[0];position.top+=myOffset[1];collisionPosition={marginLeft:marginLeft,marginTop:marginTop};$.each(["left","top"],function(i,dir){if($.ui.position[collision[i]]){$.ui.position[collision[i]][dir](position,{targetWidth:targetWidth,targetHeight:targetHeight,elemWidth:elemWidth,elemHeight:elemHeight,collisionPosition:collisionPosition,collisionWidth:collisionWidth,collisionHeight:collisionHeight,offset:[atOffset[0]+myOffset[0],atOffset[1]+myOffset[1]],my:options.my,at:options.at,within:within,elem:elem})}});if(options.using){using=function(props){var left=targetOffset.left-position.left,right=left+targetWidth-elemWidth,top=targetOffset.top-position.top,bottom=top+targetHeight-elemHeight,feedback={target:{element:target,left:targetOffset.left,top:targetOffset.top,width:targetWidth,height:targetHeight},element:{element:elem,left:position.left,top:position.top,width:elemWidth,height:elemHeight},horizontal:right<0?"left":left>0?"right":"center",vertical:bottom<0?"top":top>0?"bottom":"middle"};if(targetWidth<elemWidth&&abs(left+right)<targetWidth){feedback.horizontal="center"} 758if(targetHeight<elemHeight&&abs(top+bottom)<targetHeight){feedback.vertical="middle"} 759if(max(abs(left),abs(right))>max(abs(top),abs(bottom))){feedback.important="horizontal"}else{feedback.important="vertical"} 760options.using.call(this,props,feedback)}} 761elem.offset($.extend(position,{using:using}))})};$.ui.position={fit:{left:function(position,data){var within=data.within,withinOffset=within.isWindow?within.scrollLeft:within.offset.left,outerWidth=within.width,collisionPosLeft=position.left-data.collisionPosition.marginLeft,overLeft=withinOffset-collisionPosLeft,overRight=collisionPosLeft+data.collisionWidth-outerWidth-withinOffset,newOverRight;if(data.collisionWidth>outerWidth){if(overLeft>0&&overRight<=0){newOverRight=position.left+overLeft+data.collisionWidth-outerWidth-withinOffset;position.left+=overLeft-newOverRight}else if(overRight>
7610&&overLeft<=0){position.left=withinOffset}else{if(overLeft>overRight){position.left=withinOffset+outerWidth-data.collisionWidth}else{position.left=withinOffset}}}else if(overLeft>0){position.left+=overLeft}else if(overRight>0){position.left-=overRight}else{position.left=max(position.left-collisionPosLeft,position.left)}},top:function(position,data){var within=data.within,withinOffset=within.isWindow?within.scrollTop:within.offset.top,outerHeight=data.within.height,collisionPosTop=position.top-data.collisionPosition.marginTop,overTop=withinOffset-collisionPosTop,overBottom=collisionPosTop+data.collisionHeight-outerHeight-withinOffset,newOverBottom;if(data.collisionHeight>outerHeight){if(overTop>0&&overBottom<=0){newOverBottom=position.top+overTop+data.collisionHeight-outerHeight-withinOffset;position.top+=overTop-newOverBottom}else if(overBottom>0&&overTop<=0){position.top=withinOffset}else{if(overTop>overBottom){position.top=withinOffset+outerHeight-data.collisionHeight}else{position.top=withinOffset}}}else if(overTop>0){position.top+=overTop}else if(overBottom>0){position.top-=overBottom}else{position.top=max(position.top-collisionPosTop,position.top)}}},flip:{left:function(position,data){var within=data.within,withinOffset=within.offset.left+within.scrollLeft,outerWidth=within.width,offsetLeft=within.isWindow?within.scrollLeft:within.offset.left,collisionPosLeft=position.left-data.collisionPosition.marginLeft,overLeft=collisionPosLeft-offsetLeft,overRight=collisionPosLeft+data.collisionWidth-outerWidth-offsetLeft,myOffset=data.my[0]==="left"?-data.elemWidth:data.my[0]==="right"?data.elemWidth:0,atOffset=data.at[0]==="left"?data.targetWidth:data.at[0]==="right"?-data.targetWidth:0,offset=-2*data.offset[0],newOverRight,newOverLeft;if(overLeft<0){newOverRight=position.left+myOffset+atOffset+offset+data.collisionWidth-outerWidth-withinOffset;if(newOverRight<0||newOverRight<abs(overLeft)){position.left+=myOffset+atOffset+offset}}else if(overRight>0){newOverLeft=position.left-data.collisionPosition.marginLeft+myOffset+atOffset+offset-offsetLeft;if(newOverLeft>0||abs(newOverLeft)<overRight){position.left+=myOffset+atOffset+offset}}},top:function(position,data){var within=data.within,withinOffset=within.offset.top+within.scrollTop,outerHeight=within.height,offsetTop=within.isWindow?within.scrollTop:within.offset.top,collisionPosTop=position.top-data.collisionPosition.marginTop,overTop=collisionPosTop-offsetTop,overBottom=collisionPosTop+data.collisionHeight-outerHeight-offsetTop,top=data.my[1]==="top",myOffset=top?-data.elemHeight:data.my[1]==="bottom"?data.elemHeight:0,atOffset=data.at[1]==="top"?data.targetHeight:data.at[1]==="bottom"?-data.targetHeight:0,offset=-2*data.offset[1],newOverTop,newOverBottom;if(overTop<0){newOverBottom=position.top+myOffset+atOffset+offset+data.collisionHeight-outerHeight-withinOffset;if(newOverBottom<0||newOverBottom<abs(overTop)){position.top+=myOffset+atOffset+offset}}else if(overBottom>0){newOverTop=position.top-data.collisionPosition.marginTop+myOffset+atOffset+offset-offsetTop;if(newOverTop>0||abs(newOverTop)<overBottom){position.top+=myOffset+atOffset+offset}}}},flipfit:{left:function(){$.ui.position.flip.left.apply(this,arguments);$.ui.position.fit.left.apply(this,arguments)},top:function(){$.ui.position.flip.top.apply(this,arguments);$.ui.position.fit.top.apply(this,arguments)}}}})();var position=$.ui.position; 762/*! 763 * jQuery UI :data 1.14.1 764 * https://jqueryui.com 765 * 766 * Copyright OpenJS Foundation and other contributors 767 * Released under the MIT license. 768 * https://jquery.org/license 769 */ 770var data=$.extend($.expr.pseudos,{data:$.expr.createPseudo(function(dataName){return function(elem){return!!$.data(elem,dataName)}})}); 771/*! 772 * jQuery UI Disable Selection 1.14.1 773 * https://jqueryui.com 774 * 775 * Copyright OpenJS Foundation and other contributors 776 * Released under the MIT license. 777 * https://jquery.org/license 778 */ 779var disableSelection=$.fn.extend({disableSelection:(function(){var eventType="onselectstart" in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(eventType+".ui-disableSelection",function(event){event.preventDefault()})}})(),enableSelection:function(){return this.off(".ui-disableSelection")}});var jQuery=$; 780/*! 781 * jQuery Color Animations v3.0.0 782 * https://github.com/jquery/jquery-color 783 * 784 * Copyright OpenJS Foundation and other contributors 785 * Released under the MIT license. 786 * https://jquery.org/license 787 * 788 * Date: Wed May 15 16:49:44 2024 +0200 789 */ 790var stepHooks="backgroundColor borderBottomColor borderLeftColor borderRightColor "+"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",class2type={},toString=class2type.toString,rplusequals=/^([\-+])=\s*(\d+\.?\d*)/,stringParsers=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return[execResult[1],execResult[2],execResult[3],execResult[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return[execResult[1]*2.55,execResult[2]*2.55,execResult[3]*2.55,execResult[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(execResult){return[parseInt(execResult[1],16),parseInt(execResult[2],16),parseInt(execResult[3],16),execResult[4]?(parseInt(execResult[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(execResult){return[parseInt(execResult[1]+execResult[1],16),parseInt(execResult[2]+execResult[2],16),parseInt(execResult[3]+execResult[3],16),execResult[4]?(parseInt(execResult[4]+execResult[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(execResult){return[execResult[1],execResult[2]/100,execResult[3]/100,execResult[4]]}}],color=jQuery.Color=function(color,green,blue,alpha){return new jQuery.Color.fn.parse(color,green,blue,alpha)}
790,spaces={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},propTypes={"byte":{floor:!0,max:255},"percent":{max:1},"degrees":{mod:360,floor:!0}},colors,each=jQuery.each;each(spaces,function(spaceName,space){space.cache="_"+spaceName;space.props.alpha={idx:3,type:"percent",def:1}});jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(_i,name){class2type["[object "+name+"]"]=name.toLowerCase()});function getType(obj){if(obj==null){return obj+""} 791return typeof obj==="object"?class2type[toString.call(obj)]||"object":typeof obj} 792function clamp(value,prop,allowEmpty){var type=propTypes[prop.type]||{};if(value==null){return(allowEmpty||!prop.def)?null:prop.def} 793value=type.floor?~~value:parseFloat(value);if(type.mod){return(value+type.mod)%type.mod} 794return Math.min(type.max,Math.max(0,value))} 795function stringParse(string){var inst=color(),rgba=inst._rgba=[];string=string.toLowerCase();each(stringParsers,function(_i,parser){var parsed,match=parser.re.exec(string),values=match&&parser.parse(match),spaceName=parser.space||"rgba";if(values){parsed=inst[spaceName](values);inst[spaces[spaceName].cache]=parsed[spaces[spaceName].cache];rgba=inst._rgba=parsed._rgba;return!1}});if(rgba.length){if(rgba.join()==="0,0,0,0"){jQuery.extend(rgba,colors.transparent)} 796return inst} 797return colors[string]} 798color.fn=jQuery.extend(color.prototype,{parse:function(red,green,blue,alpha){if(red===undefined){this._rgba=[null,null,null,null];return this} 799if(red.jquery||red.nodeType){red=jQuery(red).css(green);green=undefined} 800var inst=this,type=getType(red),rgba=this._rgba=[];if(green!==undefined){red=[red,green,blue,alpha];type="array"} 801if(type==="string"){return this.parse(stringParse(red)||colors._default)} 802if(type==="array"){each(spaces.rgba.props,function(_key,prop){rgba[prop.idx]=clamp(red[prop.idx],prop)});return this} 803if(type==="object"){if(red instanceof color){each(spaces,function(_spaceName,space){if(red[space.cache]){inst[space.cache]=red[space.cache].slice()}})}else{each(spaces,function(_spaceName,space){var cache=space.cache;each(space.props,function(key,prop){if(!inst[cache]&&space.to){if(key==="alpha"||red[key]==null){return} 804inst[cache]=space.to(inst._rgba)} 805inst[cache][prop.idx]=clamp(red[key],prop,!0)});if(inst[cache]&&jQuery.inArray(null,inst[cache].slice(0,3))<0){if(inst[cache][3]==null){inst[cache][3]=1}
806if(space.from){inst._rgba=space.from(inst[cache])}}})} 807return this}},is:function(compare){var is=color(compare),same=!0,inst=this;each(spaces,function(_,space){var localCache,isCache=is[space.cache];if(isCache){localCache=inst[space.cache]||space.to&&space.to(inst._rgba)||[];each(space.props,function(_,prop){if(isCache[prop.idx]!=null){same=(isCache[prop.idx]===localCache[prop.idx]);return same}})} 808return same});return same},_space:function(){var used=[],inst=this;each(spaces,function(spaceName,space){if(inst[space.cache]){used.push(spaceName)}});return used.pop()},transition:function(other,distance){var end=color(other),spaceName=end._space(),space=spaces[spaceName],startColor=this.alpha()===0?color("transparent"):this,start=startColor[space.cache]||space.to(startColor._rgba),result=start.slice();end=end[space.cache];each(space.props,function(_key,prop){var index=prop.idx,startValue=start[index],endValue=end[index],type=propTypes[prop.type]||{};if(endValue===null){return} 809if(startValue===null){result[index]=endValue}else{if(type.mod){if(endValue-startValue>type.mod/2){startValue+=type.mod}else if(startValue-endValue>type.mod/2){startValue-=type.mod}} 810result[index]=clamp((endValue-startValue)*distance+startValue,prop)}});return this[spaceName](result)},blend:function(opaque){if(this._rgba[3]===1){return this} 811var rgb=this._rgba.slice(),a=rgb.pop(),blend=color(opaque)._rgba;return color(jQuery.map(rgb,function(v,i){return(1-a)*blend[i]+a*v}))},toRgbaString:function(){var prefix="rgba(",rgba=jQuery.map(this._rgba,function(v,i){if(v!=null){return v} 812return i>2?1:0});if(rgba[3]===1){rgba.pop();prefix="rgb("} 813return prefix+rgba.join(", ")+")"},toHslaString:function(){var prefix="hsla(",hsla=jQuery.map(this.hsla(),function(v,i){if(v==null){v=i>2?1:0} 814if(i&&i<3){v=Math.round(v*100)+"%"} 815return v});if(hsla[3]===1){hsla.pop();prefix="hsl("} 816return prefix+hsla.join(", ")+")"},toHexString:function(includeAlpha){var rgba=this._rgba.slice(),alpha=rgba.pop();if(includeAlpha){rgba.push(~~(alpha*255))} 817return"#"+jQuery.map(rgba,function(v){return("0"+(v||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}});color.fn.parse.prototype=color.fn;function hue2rgb(p,q,h){h=(h+1)%1;if(h*6<1){return p+(q-p)*h*6} 818if(h*2<1){return q} 819if(h*3<2){return p+(q-p)*((2/3)-h)*6} 820return p} 821spaces.hsla.to=function(rgba){if(rgba[0]==null||rgba[1]==null||rgba[2]==null){return[null,null,null,rgba[3]]} 822var r=rgba[0]/255,g=rgba[1]/255,b=rgba[2]/255,a=rgba[3],max=Math.max(r,g,b),min=Math.min(r,g,b),diff=max-min,add=max+min,l=add*0.5,h,s;if(min===max){h=0}else if(r===max){h=(60*(g-b)/diff)+360}else if(g===max){h=(60*(b-r)/diff)+120}else{h=(60*(r-g)/diff)+240} 823if(diff===0){s=0}else if(l<=0.5){s=diff/add}else{s=diff/(2-add)} 824return[Math.round(h)%360,s,l,a==null?1:a]};spaces.hsla.from=function(hsla){if(hsla[0]==null||hsla[1]==null||hsla[2]==null){return[null,null,null,hsla[3]]} 825var h=hsla[0]/360,s=hsla[1],l=hsla[2],a=hsla[3],q=l<=0.5?l*(1+s):l+s-l*s,p=2*l-q;return[Math.round(hue2rgb(p,q,h+(1/3))*255),Math.round(hue2rgb(p,q,h)*255),Math.round(hue2rgb(p,q,h-(1/3))*255),a]};each(spaces,function(spaceName,space){var props=space.props,cache=space.cache,to=space.to,from=space.from;color.fn[spaceName]=function(value){if(to&&!this[cache]){this[cache]=to(this._rgba)} 826if(value===undefined){return this[cache].slice()} 827var ret,type=getType(value),arr=(type==="array"||type==="object")?value:arguments,local=this[cache].slice();each(props,function(key,prop){var val=arr[type==="object"?key:prop.idx];if(val==null){val=local[prop.idx]} 828local[prop.idx]=clamp(val,prop)});if(from){ret=color(from(local));ret[cache]=local;return ret}else{return color(local)}};each(props,function(key,prop){if(color.fn[key]){return} 829color.fn[key]=function(value){var local,cur,match,fn,vtype=getType(value);if(key==="alpha"){fn=this._hsla?"hsla":"rgba"}else{fn=spaceName} 830local=this[fn]();cur=local[prop.idx];if(vtype==="undefined"){return cur} 831if(vtype==="function"){value=value.call(this,cur);vtype=getType(value)} 832if(value==null&&prop.empty){return this} 833if(vtype==="string"){match=rplusequals.exec(value);if(match){value=cur+parseFloat(match[2])*(match[1]==="+"?1:-1)}} 834local[prop.idx]=value;return this[fn](local)}})});color.hook=function(hook){var hooks=hook.split(" ");each(hooks,function(_i,hook){jQuery.cssHooks[hook]={set:function(elem,value){var parsed;
834if(value!=="transparent"&&(getType(value)!=="string"||(parsed=stringParse(value)))){value=color(parsed||value);value=value.toRgbaString()} 835elem.style[hook]=value}};jQuery.fx.step[hook]=function(fx){if(!fx.colorInit){fx.start=color(fx.elem,hook);fx.end=color(fx.end);fx.colorInit=!0} 836jQuery.cssHooks[hook].set(fx.elem,fx.start.transition(fx.end,fx.pos))}})};color.hook(stepHooks);jQuery.cssHooks.borderColor={expand:function(value){var expanded={};each(["Top","Right","Bottom","Left"],function(_i,part){expanded["border"+part+"Color"]=value});return expanded}};colors=jQuery.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}; 837/*! 838 * jQuery UI Effects 1.14.1 839 * https://jqueryui.com 840 * 841 * Copyright OpenJS Foundation and other contributors 842 * Released under the MIT license. 843 * https://jquery.org/license 844 */ 845var dataSpace="ui-effects-",dataSpaceStyle="ui-effects-style",dataSpaceAnimated="ui-effects-animated";$.effects={effect:{}};(function(){var classAnimationActions=["add","remove","toggle"],shorthandStyles={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};$.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(_,prop){$.fx.step[prop]=function(fx){if(fx.end!=="none"&&!fx.setAttr||fx.pos===1&&!fx.setAttr){jQuery.style(fx.elem,prop,fx.end);fx.setAttr=!0}}});function camelCase(string){return string.replace(/-([\da-z])/gi,function(all,letter){return letter.toUpperCase()})} 846function getElementStyles(elem){var key,len,style=elem.ownerDocument.defaultView.getComputedStyle(elem),styles={};len=style.length;while(len--){key=style[len];if(typeof style[key]==="string"){styles[camelCase(key)]=style[key]}} 847return styles} 848function styleDifference(oldStyle,newStyle){var diff={},name,value;for(name in newStyle){value=newStyle[name];if(oldStyle[name]!==value){if(!shorthandStyles[name]){if($.fx.step[name]||!isNaN(parseFloat(value))){diff[name]=value}}}} 849return diff} 850$.effects.animateClass=function(value,duration,easing,callback){var o=$.speed(duration,easing,callback);return this.queue(function(){var animated=$(this),baseClass=animated.attr("class")||"",applyClassChange,allAnimations=o.children?animated.find("*").addBack():animated;allAnimations=allAnimations.map(function(){var el=$(this);return{el:el,start:getElementStyles(this)}});applyClassChange=function(){$.each(classAnimationActions,function(i,action){if(value[action]){animated[action+"Class"](value[action])}})};applyClassChange();allAnimations=allAnimations.map(function(){this.end=getElementStyles(this.el[0]);this.diff=styleDifference(this.start,this.end);return this});animated.attr("class",baseClass);allAnimations=allAnimations.map(function(){var styleInfo=this,dfd=$.Deferred(),opts=$.extend({},o,{queue:!1,complete:function(){dfd.resolve(styleInfo)}});this.el.animate(this.diff,opts);return dfd.promise()});$.when.apply($,allAnimations.get()).done(function(){applyClassChange();$.each(arguments,function(){var el=this.el;$.each(this.diff,function(key){el.css(key,"")})});o.complete.call(animated[0])})})};$.fn.extend({addClass:(function(orig){return function(classNames,speed,easing,callback){return speed?$.effects.animateClass.call(this,{add:classNames},speed,easing,callback):orig.apply(this,arguments)}})($.fn.addClass),removeClass:(function(orig){return function(classNames,speed,easing,callback){return arguments.length>1?$.effects.animateClass.call(this,{remove:classNames},speed,easing,callback):orig.apply(this,arguments)}})($.fn.removeClass),toggleClass:(function(orig){return function(classNames,force,speed,easing,callback){if(typeof force==="boolean"||force===undefined){if(!speed){return orig.apply(this,arguments)}else{return $.effects.animateClass.call(this,(force?{add:classNames}:{remove:classNames}),speed,easing,callback)}}else{return $.effects.animateClass.call(this,{toggle:classNames},force,speed,easing)}}})($.fn.toggleClass),switchClass:function(remove,add,speed,easing,callback){return $.effects.animateClass.call(this,{add:add,remove:remove},speed,easing,callback)}})})();(function(){if($.expr&&$.expr.pseudos&&$.expr.pseudos.animated){$.expr.pseudos.animated=(function(orig){return function(elem){return!!$(elem).data(dataSpaceAnimated)||orig(elem)}})($.expr.pseudos.animated)} 851if($.uiBackCompat===!0){$.extend($.effects,{save:function(element,set){var i=0,length=set.length;for(;i<length;i++){if(set[i]!==null){element.data(dataSpace+set[i],element[0].style[set[i]])}}},restore:function(element,set){var val,i=0,length=set.length;for(;i<length;i++){if(set[i]!==null){val=element.data(dataSpace+set[i]);element.css(set[i],val)}}},setMode:function(el,mode){if(mode==="toggle"){mode=el.is(":hidden")?"show":"hide"} 852return mode},createWrapper:function(element){if(element.parent().is(".ui-effects-wrapper")){return element.parent()} 853var props={width:element.outerWidth(!0),height:element.outerHeight(!0),"float":element.css("float")},wrapper=$("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),size={width:element.width(),height:element.height()},active=document.activeElement;try{active.id}catch(e){active=document.body} 854element.wrap(wrapper);if(element[0]===active||$.contains(element[0],active)){$(active).trigger("focus")} 855wrapper=element.parent();if(element.css("position")==="static"){wrapper.css({position:"relative"});element.css({position:"relative"})}else{$.extend(props,{position:element.css("position"),zIndex:element.css("z-index")});$.each(["top","left","bottom","right"],function(i,pos){props[pos]=element.css(pos);if(isNaN(parseInt(props[pos],10))){props[pos]="auto"}});element.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})} 856element.css(size);return wrapper.css(props).show()},removeWrapper:function(element){var active=document.activeElement;if(element.parent().is(".ui-effects-wrapper")){element.parent().replaceWith(element);if(element[0]===active||$.contains(element[0],active)){$(active).trigger("focus")}} 857return element}})} 858$.extend($.effects,{version:"1.14.1",define:function(name,mode,effect){if(!effect){effect=mode;mode="effect"} 859$.effects.effect[name]=effect;$.effects.effect[name].mode=mode;return effect},scaledDimensions:function(element,percent,direction){if(percent===0){return{height:0,width:0,outerHeight:0,outerWidth:0}} 860var x=direction!=="horizontal"?((percent||100)/100):1,y=direction!=="vertical"?((percent||100)/100):1;return{height:element.height()*y,width:element.width()*x,outerHeight:element.outerHeight()*y,outerWidth:element.outerWidth()*x}},clipToBox:function(animation){return{width:animation.clip.right-animation.clip.left,height:animation.clip.bottom-animation.clip.top,left
860:animation.clip.left,top:animation.clip.top}},unshift:function(element,queueLength,count){var queue=element.queue();if(queueLength>1){queue.splice.apply(queue,[1,0].concat(queue.splice(queueLength,count)))} 861element.dequeue()},saveStyle:function(element){element.data(dataSpaceStyle,element[0].style.cssText)},restoreStyle:function(element){element[0].style.cssText=element.data(dataSpaceStyle)||"";element.removeData(dataSpaceStyle)},mode:function(element,mode){var hidden=element.is(":hidden");if(mode==="toggle"){mode=hidden?"show":"hide"} 862if(hidden?mode==="hide":mode==="show"){mode="none"} 863return mode},getBaseline:function(origin,original){var y,x;switch(origin[0]){case "top":y=0;break;case "middle":y=0.5;break;case "bottom":y=1;break;default:y=origin[0]/original.height} 864switch(origin[1]){case "left":x=0;break;case "center":x=0.5;break;case "right":x=1;break;default:x=origin[1]/original.width} 865return{x:x,y:y}},createPlaceholder:function(element){var placeholder,cssPosition=element.css("position"),position=element.position();element.css({marginTop:element.css("marginTop"),marginBottom:element.css("marginBottom"),marginLeft:element.css("marginLeft"),marginRight:element.css("marginRight")}).outerWidth(element.outerWidth()).outerHeight(element.outerHeight());if(/^(static|relative)/.test(cssPosition)){cssPosition="absolute";placeholder=$("<"+element[0].nodeName+">").insertAfter(element).css({display:/^(inline|ruby)/.test(element.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:element.css("marginTop"),marginBottom:element.css("marginBottom"),marginLeft:element.css("marginLeft"),marginRight:element.css("marginRight"),"float":element.css("float")}).outerWidth(element.outerWidth()).outerHeight(element.outerHeight()).addClass("ui-effects-placeholder");element.data(dataSpace+"placeholder",placeholder)} 866element.css({position:cssPosition,left:position.left,top:position.top});return placeholder},removePlaceholder:function(element){var dataKey=dataSpace+"placeholder",placeholder=element.data(dataKey);if(placeholder){placeholder.remove();element.removeData(dataKey)}},cleanUp:function(element){$.effects.restoreStyle(element);$.effects.removePlaceholder(element)},setTransition:function(element,list,factor,value){value=value||{};$.each(list,function(i,x){var unit=element.cssUnit(x);if(unit[0]>0){value[x]=unit[0]*factor+unit[1]}});return value}});function _normalizeArguments(effect,options,speed,callback){if($.isPlainObject(effect)){options=effect;effect=effect.effect} 867effect={effect:effect};if(options==null){options={}} 868if(typeof options==="function"){callback=options;speed=null;options={}} 869if(typeof options==="number"||$.fx.speeds[options]){callback=speed;speed=options;options={}} 870if(typeof speed==="function"){callback=speed;speed=null} 871if(options){$.extend(effect,options)} 872speed=speed||options.duration;effect.duration=$.fx.off?0:typeof speed==="number"?speed:speed in $.fx.speeds?$.fx.speeds[speed]:$.fx.speeds._default;effect.complete=callback||options.complete;return effect} 873function standardAnimationOption(option){if(!option||typeof option==="number"||$.fx.speeds[option]){return!0} 874if(typeof option==="string"&&!$.effects.effect[option]){return!0} 875if(typeof option==="function"){return!0} 876if(typeof option==="object"&&!option.effect){return!0} 877return!1} 878$.fn.extend({effect:function(){var args=_normalizeArguments.apply(this,arguments),effectMethod=$.effects.effect[args.effect],defaultMode=effectMethod.mode,queue=args.queue,queueName=queue||"fx",complete=args.complete,mode=args.mode,modes=[],prefilter=function(next){var el=$(this),normalizedMode=$.effects.mode(el,mode)||defaultMode;el.data(dataSpaceAnimated,!0);modes.push(normalizedMode);if(defaultMode&&(normalizedMode==="show"||(normalizedMode===defaultMode&&normalizedMode==="hide"))){el.show()} 879if(!defaultMode||normalizedMode!=="none"){$.effects.saveStyle(el)} 880if(typeof next==="function"){next()}};if($.fx.off||!effectMethod){if(mode){return this[mode](args.duration,complete)}else{return this.each(function(){if(complete){complete.call(this)}})}} 881function run(next){var elem=$(this);function cleanup(){elem.removeData(dataSpaceAnimated);$.effects.cleanUp(elem);if(args.mode==="hide"){elem.hide()} 882done()} 883function done(){if(typeof complete==="function"){complete.call(elem[0])} 884if(typeof next==="function"){next()}} 885args.mode=modes.shift();if($.uiBackCompat===!0&&!defaultMode){if(elem.is(":hidden")?mode==="hide":mode==="show"){elem[mode]();done()}else{effectMethod.call(elem[0],args,done)}}else{if(args.mode==="none"){elem[mode]();done()}else{effectMethod.call(elem[0],args,cleanup)}}} 886return queue===!1?this.each(prefilter).each(run):this.queue(queueName,prefilter).queue(queueName,run)},show:(function(orig){return function(option){if(standardAnimationOption(option)){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="show";return this.effect.call(this,args)}}})($.fn.show),hide:(function(orig){return function(option){if(standardAnimationOption(option)){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="hide";return this.effect.call(this,args)}}})($.fn.hide),toggle:(function(orig){return function(option){if(standardAnimationOption(option)||typeof option==="boolean"){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="toggle";return this.effect.call(this,args)}}}
886)($.fn.toggle),cssUnit:function(key){var style=this.css(key),val=[];$.each(["em","px","%","pt"],function(i,unit){if(style.indexOf(unit)>0){val=[parseFloat(style),unit]}});return val},cssClip:function(clipObj){if(clipObj){return this.css("clip","rect("+clipObj.top+"px "+clipObj.right+"px "+clipObj.bottom+"px "+clipObj.left+"px)")} 887return parseClip(this.css("clip"),this)},transfer:function(options,done){var element=$(this),target=$(options.to),targetFixed=target.css("position")==="fixed",body=$("body"),fixTop=targetFixed?body.scrollTop():0,fixLeft=targetFixed?body.scrollLeft():0,endPosition=target.offset(),animation={top:endPosition.top-fixTop,left:endPosition.left-fixLeft,height:target.innerHeight(),width:target.innerWidth()},startPosition=element.offset(),transfer=$("<div class='ui-effects-transfer'></div>");transfer.appendTo("body").addClass(options.className).css({top:startPosition.top-fixTop,left:startPosition.left-fixLeft,height:element.innerHeight(),width:element.innerWidth(),position:targetFixed?"fixed":"absolute"}).animate(animation,options.duration,options.easing,function(){transfer.remove();if(typeof done==="function"){done()}})}});function parseClip(str,element){var outerWidth=element.outerWidth(),outerHeight=element.outerHeight(),clipRegex=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,values=clipRegex.exec(str)||["",0,outerWidth,outerHeight,0];return{top:parseFloat(values[1])||0,right:values[2]==="auto"?outerWidth:parseFloat(values[2]),bottom:values[3]==="auto"?outerHeight:parseFloat(values[3]),left:parseFloat(values[4])||0}} 888$.fx.step.clip=function(fx){if(!fx.clipInit){fx.start=$(fx.elem).cssClip();if(typeof fx.end==="string"){fx.end=parseClip(fx.end,fx.elem)} 889fx.clipInit=!0} 890$(fx.elem).cssClip({top:fx.pos*(fx.end.top-fx.start.top)+fx.start.top,right:fx.pos*(fx.end.right-fx.start.right)+fx.start.right,bottom:fx.pos*(fx.end.bottom-fx.start.bottom)+fx.start.bottom,left:fx.pos*(fx.end.left-fx.start.left)+fx.start.left})}})();(function(){var baseEasings={};$.each(["Quad","Cubic","Quart","Quint","Expo"],function(i,name){baseEasings[name]=function(p){return Math.pow(p,i+2)}});$.extend(baseEasings,{Sine:function(p){return 1-Math.cos(p*Math.PI/2)},Circ:function(p){return 1-Math.sqrt(1-p*p)},Elastic:function(p){return p===0||p===1?p:-Math.pow(2,8*(p-1))*Math.sin(((p-1)*80-7.5)*Math.PI/15)},Back:function(p){return p*p*(3*p-2)},Bounce:function(p){var pow2,bounce=4;while(p<((pow2=Math.pow(2,--bounce))-1)/11){} 891return 1/Math.pow(4,3-bounce)-7.5625*Math.pow((pow2*3-2)/22-p,2)}});$.each(baseEasings,function(name,easeIn){$.easing["easeIn"+name]=easeIn;$.easing["easeOut"+name]=function(p){return 1-easeIn(1-p)};$.easing["easeInOut"+name]=function(p){return p<0.5?easeIn(p*2)/2:1-easeIn(p*-2+2)/2}})})();var effect=$.effects; 892/*! 893 * jQuery UI Effects Blind 1.14.1 894 * https://jqueryui.com 895 * 896 * Copyright OpenJS Foundation and other contributors 897 * Released under the MIT license. 898 * https://jquery.org/license 899 */ 900var effectsEffectBlind=$.effects.define("blind","hide",function(options,done){var map={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},element=$(this),direction=options.direction||"up",start=element.cssClip(),animate={clip:$.extend({},start)},placeholder=$.effects.createPlaceholder(element);animate.clip[map[direction][0]]=animate.clip[map[direction][1]];if(options.mode==="show"){element.cssClip(animate.clip);if(placeholder){placeholder.css($.effects.clipToBox(animate))} 901animate.clip=start} 902if(placeholder){placeholder.animate($.effects.clipToBox(animate),options.duration,options.easing)} 903element.animate(animate,{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 904/*! 905 * jQuery UI Effects Bounce 1.14.1 906 * https://jqueryui.com 907 * 908 * Copyright OpenJS Foundation and other contributors 909 * Released under the MIT license. 910 * https://jquery.org/license 911 */ 912var effectsEffectBounce=$.effects.define("bounce",function(options,done){var upAnim,downAnim,refValue,element=$(this),mode=options.mode,hide=mode==="hide",show=mode==="show",direction=options.direction||"up",distance=options.distance,times=options.times||5,anims=times*2+(show||hide?1:0),speed=options.duration/anims,easing=options.easing,ref=(direction==="up"||direction==="down")?"top":"left",motion=(direction==="up"||direction==="left"),i=0,queuelen=element.queue().length;$.effects.createPlaceholder(element);refValue=element.css(ref);if(!distance){distance=element[ref==="top"?"outerHeight":"outerWidth"]()/3} 913if(show){downAnim={opacity:1};downAnim[ref]=refValue;element.css("opacity",0).css(ref,motion?-distance*2:distance*2).animate(downAnim,speed,easing)} 914if(hide){distance=distance/Math.pow(2,times-1)} 915downAnim={};downAnim[ref]=refValue;for(;i<times;i++){upAnim={};upAnim[ref]=(motion?"-=":"+=")+distance;element.animate(upAnim,speed,easing).animate(downAnim,speed,easing);distance=hide?distance*2:distance/2} 916if(hide){upAnim={opacity:0}
916;upAnim[ref]=(motion?"-=":"+=")+distance;element.animate(upAnim,speed,easing)} 917element.queue(done);$.effects.unshift(element,queuelen,anims+1)}); 918/*! 919 * jQuery UI Effects Clip 1.14.1 920 * https://jqueryui.com 921 * 922 * Copyright OpenJS Foundation and other contributors 923 * Released under the MIT license. 924 * https://jquery.org/license 925 */ 926var effectsEffectClip=$.effects.define("clip","hide",function(options,done){var start,animate={},element=$(this),direction=options.direction||"vertical",both=direction==="both",horizontal=both||direction==="horizontal",vertical=both||direction==="vertical";start=element.cssClip();animate.clip={top:vertical?(start.bottom-start.top)/2:start.top,right:horizontal?(start.right-start.left)/2:start.right,bottom:vertical?(start.bottom-start.top)/2:start.bottom,left:horizontal?(start.right-start.left)/2:start.left};$.effects.createPlaceholder(element);if(options.mode==="show"){element.cssClip(animate.clip);animate.clip=start} 927element.animate(animate,{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 928/*! 929 * jQuery UI Effects Drop 1.14.1 930 * https://jqueryui.com 931 * 932 * Copyright OpenJS Foundation and other contributors 933 * Released under the MIT license. 934 * https://jquery.org/license 935 */ 936var effectsEffectDrop=$.effects.define("drop","hide",function(options,done){var distance,element=$(this),mode=options.mode,show=mode==="show",direction=options.direction||"left",ref=(direction==="up"||direction==="down")?"top":"left",motion=(direction==="up"||direction==="left")?"-=":"+=",oppositeMotion=(motion==="+=")?"-=":"+=",animation={opacity:0};$.effects.createPlaceholder(element);distance=options.distance||element[ref==="top"?"outerHeight":"outerWidth"](!0)/2;animation[ref]=motion+distance;if(show){element.css(animation);animation[ref]=oppositeMotion+distance;animation.opacity=1} 937element.animate(animation,{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 938/*! 939 * jQuery UI Effects Explode 1.14.1 940 * https://jqueryui.com 941 * 942 * Copyright OpenJS Foundation and other contributors 943 * Released under the MIT license. 944 * https://jquery.org/license 945 */ 946var effectsEffectExplode=$.effects.define("explode","hide",function(options,done){var i,j,left,top,mx,my,rows=options.pieces?Math.round(Math.sqrt(options.pieces)):3,cells=rows,element=$(this),mode=options.mode,show=mode==="show",offset=element.show().css("visibility","hidden").offset(),width=Math.ceil(element.outerWidth()/cells),height=Math.ceil(element.outerHeight()/rows),pieces=[];function childComplete(){pieces.push(this);if(pieces.length===rows*cells){animComplete()}} 947for(i=0;i<rows;i++){top=offset.top+i*height;my=i-(rows-1)/2;for(j=0;j<cells;j++){left=offset.left+j*width;mx=j-(cells-1)/2;element.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*width,top:-i*height}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:width,height:height,left:left+(show?mx*width:0),top:top+(show?my*height:0),opacity:show?0:1}).animate({left:left+(show?0:mx*width),top:top+(show?0:my*height),opacity:show?1:0},options.duration||500,options.easing,childComplete)}} 948function animComplete(){element.css({visibility:"visible"});$(pieces).remove();done()}}); 949/*! 950 * jQuery UI Effects Fade 1.14.1 951 * https://jqueryui.com 952 * 953 * Copyright OpenJS Foundation and other contributors 954 * Released under the MIT license. 955 * https://jquery.org/license 956 */ 957var effectsEffectFade=$.effects.define("fade","toggle",function(options,done){var show=options.mode==="show";$(this).css("opacity",show?0:1).animate({opacity:show?1:0},{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 958/*! 959 * jQuery UI Effects Fold 1.14.1 960 * https://jqueryui.com 961 * 962 * Copyright OpenJS Foundation and other contributors 963 * Released under the MIT license. 964 * https://jquery.org/license 965 */ 966var effectsEffectFold=$.effects.define("fold","hide",function(options,done){var element=$(this),mode=options.mode,show=mode==="show",hide=mode==="hide",size=options.size||15,percent=/([0-9]+)%/.exec(size),horizFirst=!!options.horizFirst,ref=horizFirst?["right","bottom"]:["bottom","right"],duration=options.duration/2,placeholder=$.effects.createPlaceholder(element),start=element.cssClip(),animation1={clip:$.extend({},start)},animation2={clip:$.extend({},start)},distance=[start[ref[0]],start[ref[1]]],queuelen=element.queue().length;if(percent){size=parseInt(percent[1],10)/100*distance[hide?0:1]} 967animation1.clip[ref[0]]=size;animation2.clip[ref[0]]=size;animation2.clip[ref[1]]=0;if(show){element.cssClip(animation2.clip);if(placeholder){placeholder.css($.effects.clipToBox(animation2))} 968animation2.clip=start} 969element.queue(function(next){if(placeholder){placeholder.animate($.effects.clipToBox(animation1),duration,options.easing).animate($.effects.clipToBox(animation2),duration,options.easing)} 970next()}).animate(animation1,duration,options.easing).animate(animation2,duration,options.easing).queue(done);$.effects.unshift(element,queuelen,4)}); 971/*! 972 * jQuery UI Effects Highlight 1.14.1 973 * https://jqueryui.com 974 * 975 * Copyright OpenJS Foundation and other contributors 976 * Released under the MIT license. 977 * https://jquery.org/license 978 */ 979var effectsEffectHighlight=$.effects.define("highlight","show",function(options,done){var element=$(this),animation={backgroundColor:element.css("backgroundColor")};if(options.mode==="hide"){animation.opacity=0} 980$.effects.saveStyle(element);element.css({backgroundImage:"none",backgroundColor:options.color||"#ffff99"}).animate(animation,{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 981/*! 982 * jQuery UI Effects Size 1.14.1 983 * https://jqueryui.com 984 * 985 * Copyright OpenJS Foundation and other contributors 986 * Released under the MIT license. 987 * https://jquery.org/license 988 */ 989var effectsEffectSize=$.effects.define("size",function(options,done){var baseline,factor,temp,element=$(this),cProps=["fontSize"],vProps=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],hProps=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],mode=options.mode,restore=mode!=="effect",scale=options.scale||"both",origin=options.origin||["middle","center"],position=element.css("position"),pos=element.position(),original=$.effects.scaledDimensions(element),from=options.from||original,to=options.to||$.effects.scaledDimensions(element,0);$.effects.createPlaceholder(element);if(mode==="show"){temp=from;from=to;to=temp} 990factor={from:{y:from.height/original.height,x:from.width/original.width}
990,to:{y:to.height/original.height,x:to.width/original.width}};if(scale==="box"||scale==="both"){if(factor.from.y!==factor.to.y){from=$.effects.setTransition(element,vProps,factor.from.y,from);to=$.effects.setTransition(element,vProps,factor.to.y,to)} 991if(factor.from.x!==factor.to.x){from=$.effects.setTransition(element,hProps,factor.from.x,from);to=$.effects.setTransition(element,hProps,factor.to.x,to)}} 992if(scale==="content"||scale==="both"){if(factor.from.y!==factor.to.y){from=$.effects.setTransition(element,cProps,factor.from.y,from);to=$.effects.setTransition(element,cProps,factor.to.y,to)}} 993if(origin){baseline=$.effects.getBaseline(origin,original);from.top=(original.outerHeight-from.outerHeight)*baseline.y+pos.top;from.left=(original.outerWidth-from.outerWidth)*baseline.x+pos.left;to.top=(original.outerHeight-to.outerHeight)*baseline.y+pos.top;to.left=(original.outerWidth-to.outerWidth)*baseline.x+pos.left} 994delete from.outerHeight;delete from.outerWidth;element.css(from);if(scale==="content"||scale==="both"){vProps=vProps.concat(["marginTop","marginBottom"]).concat(cProps);hProps=hProps.concat(["marginLeft","marginRight"]);element.find("*[width]").each(function(){var child=$(this),childOriginal=$.effects.scaledDimensions(child),childFrom={height:childOriginal.height*factor.from.y,width:childOriginal.width*factor.from.x,outerHeight:childOriginal.outerHeight*factor.from.y,outerWidth:childOriginal.outerWidth*factor.from.x},childTo={height:childOriginal.height*factor.to.y,width:childOriginal.width*factor.to.x,outerHeight:childOriginal.height*factor.to.y,outerWidth:childOriginal.width*factor.to.x};if(factor.from.y!==factor.to.y){childFrom=$.effects.setTransition(child,vProps,factor.from.y,childFrom);childTo=$.effects.setTransition(child,vProps,factor.to.y,childTo)} 995if(factor.from.x!==factor.to.x){childFrom=$.effects.setTransition(child,hProps,factor.from.x,childFrom);childTo=$.effects.setTransition(child,hProps,factor.to.x,childTo)} 996if(restore){$.effects.saveStyle(child)} 997child.css(childFrom);child.animate(childTo,options.duration,options.easing,function(){if(restore){$.effects.restoreStyle(child)}})})} 998element.animate(to,{queue:!1,duration:options.duration,easing:options.easing,complete:function(){var offset=element.offset();if(to.opacity===0){element.css("opacity",from.opacity)} 999if(!restore){element.css("position",position==="static"?"relative":position).offset(offset);$.effects.saveStyle(element)} 1000done()}})}); 1001/*! 1002 * jQuery UI Effects Scale 1.14.1 1003 * https://jqueryui.com 1004 * 1005 * Copyright OpenJS Foundation and other contributors 1006 * Released under the MIT license. 1007 * https://jquery.org/license 1008 */ 1009var effectsEffectScale=$.effects.define("scale",function(options,done){var el=$(this),mode=options.mode,percent=parseInt(options.percent,10)||(parseInt(options.percent,10)===0?0:(mode!=="effect"?0:100)),newOptions=$.extend(!0,{from:$.effects.scaledDimensions(el),to:$.effects.scaledDimensions(el,percent,options.direction||"both"),origin:options.origin||["middle","center"]},options);if(options.fade){newOptions.from.opacity=1;newOptions.to.opacity=0} 1010$.effects.effect.size.call(this,newOptions,done)}); 1011/*! 1012 * jQuery UI Effects Puff 1.14.1 1013 * https://jqueryui.com 1014 * 1015 * Copyright OpenJS Foundation and other contributors 1016 * Released under the MIT license. 1017 * https://jquery.org/license 1018 */ 1019var effectsEffectPuff=$.effects.define("puff","hide",function(options,done){var newOptions=$.extend(!0,{},options,{fade:!0,percent:parseInt(options.percent,10)||150});$.effects.effect.scale.call(this,newOptions,done)}); 1020/*! 1021 * jQuery UI Effects Pulsate 1.14.1 1022 * https://jqueryui.com 1023 * 1024 * Copyright OpenJS Foundation and other contributors 1025 * Released under the MIT license. 1026 * https://jquery.org/license 1027 */ 1028var effectsEffectPulsate=$.effects.define("pulsate","show",function(options,done){var element=$(this),mode=options.mode,show=mode==="show",hide=mode==="hide",showhide=show||hide,anims=((options.times||5)*2)+(showhide?1:0),duration=options.duration/anims,animateTo=0,i=1,queuelen=element.queue().length;if(show||!element.is(":visible")){element.css("opacity",0).show();animateTo=1} 1029for(;i<anims;i++){element.animate({opacity:animateTo},duration,options.easing);animateTo=1-animateTo} 1030element.animate({opacity:animateTo},duration,options.easing);element.queue(done);$.effects.unshift(element,queuelen,anims+1)}); 1031/*! 1032 * jQuery UI Effects Shake 1.14.1 1033 * https://jqueryui.com 1034 * 1035 * Copyright OpenJS Foundation and other contributors 1036 * Released under the MIT license. 1037 * https://jquery.org/license 1038 */ 1039var effectsEffectShake=$.effects.define("shake",function(options,done){var i=1,element=$(this),direction=options.direction||"left",distance=options.distance||20,times=options.times||3,anims=times*2+1,speed=Math.round(options.duration/anims),ref=(direction==="up"||direction==="down")?"top":"left",positiveMotion=(direction==="up"||direction==="left"),animation={},animation1={},animation2={},queuelen=element.queue().length;$.effects.createPlaceholder(element);animation[ref]=(positiveMotion?"-=":"+=")+distance;animation1[ref]=(positiveMotion?"+=":"-=")+distance*2;animation2[ref]=(positiveMotion?"-=":"+=")+distance*2;element.animate(animation,speed,options.easing);for(;i<times;i++){element.animate(animation1,speed,options.easing).animate(animation2,speed,options.easing)} 1040element.animate(animation1,speed,options.easing).animate(animation,speed/2,options.easing).queue(done);$.effects.unshift(element,queuelen,anims+1)}); 1041/*! 1042 * jQuery UI Effects Slide 1.14.1 1043 * https://jqueryui.com 1044 * 1045 * Copyright OpenJS Foundation and other contributors 1046 * Released under the MIT license. 1047 * https://jquery.org/license 1048 */ 1049var effectsEffectSlide=$.effects.define("slide","show",function(options,done){var startClip,startRef,element=$(this),map={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},mode=options.mode,direction=options.direction||"left",ref=(direction==="up"||direction==="down")?"top":"left",positiveMotion=(direction==="up"||direction==="left"),distance=options.distance||element[ref==="top"?"outerHeight":"outerWidth"](!0),animation={};$.effects.createPlaceholder(element);startClip=element.cssClip();startRef=element.position()[ref];animation[ref]=(positiveMotion?-1:1)*distance+startRef;animation.clip=element.cssClip();animation.clip[map[direction][1]]=animation.clip[map[direction][0]];if(mode==="show"){element.cssClip(animation.clip);element.css(ref,animation[ref]);animation.clip=startClip;animation[ref]=startRef} 1050element.animate(animation,{queue:!1,duration:options.duration,easing:options.easing,complete:done})}); 1051/*! 1052 * jQuery UI Effects Transfer 1.14.1 1053 * https://jqueryui.com 1054 * 1055 * Copyright OpenJS Foundation and other contributors 1056 * Released under the MIT license. 1057 * https://jquery.org/license 1058 */ 1059var effect;if($.uiBackCompat===!0){effect=$.effects.define("transfer",function(options,done){$(this).transfer(options,done)})} 1060var effectsEffectTransfer=effect; 1061/*! 1062 * jQuery UI Focusable 1.14.1 1063 * https://jqueryui.com 1064 * 1065 * Copyright OpenJS Foundation and other contributors 1066 * Released under the MIT license. 1067 * https://jquery.org/license 1068 */ 1069$.ui.focusable=function(element,hasTabindex){var map,mapName,img,focusableIfVisible,fieldset,nodeName=element.nodeName.toLowerCase();if("area"===nodeName){map=element.parentNode;mapName=map.name;if(!element.href||!mapName||map.nodeName.toLowerCase()!=="map"){return!1} 1070img=$("img[usemap='#"+mapName+"']");return img.length>0&&img.is(":visible")} 1071if(/^(input|select|textarea|button|object)$/.test(nodeName)){focusableIfVisible=!element.disabled;if(focusableIfVisible){fieldset=$(element).closest("fieldset")[0];if(fieldset){focusableIfVisible=!fieldset.disabled}}}else if("a"===nodeName){focusableIfVisible=element.href||hasTabindex}else{focusableIfVisible=hasTabindex} 1072return focusableIfVisible&&$(element).is(":visible")&&$(element).css("visibility")==="visible"};$.extend($.expr.pseudos,{focusable:function(element){return $.ui.focusable(element,$.attr(element,"tabindex")!=null)}});var focusable=$.ui.focusable; 1073/*! 1074 * jQuery UI Form Reset Mixin 1.14.1 1075 * https://jqueryui.com 1076 * 1077 * Copyright OpenJS Foundation and other contributors 1078 * Released under the MIT license. 1079 * https://jquery.org/license 1080 */ 1081var formResetMixin=$.ui.formResetMixin={_formResetHandler:function(){var form=$(this);setTimeout(function(){var instances=form.data("ui-form-reset-instances");$.each(instances,function(){this.refresh()})})},_bindFormResetHandler:function(){this.form=$(this.element.prop("form"));if(!this.form.length){return} 1082var instances=this.form.data("ui-form-reset-instances")||[];if(!instances.length){this.form.on("reset.ui-form-reset",this._formResetHandler)} 1083instances.push(this);this.form.data("ui-form-reset-instances",instances)},_unbindFormResetHandler:function(){if(!this.form.length){return} 1084var instances=this.form.data("ui-form-reset-instances");instances.splice($.inArray(this,instances),1);if(instances.length){this.form.data("ui-form-reset-instances",instances)}else{this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}; 1085/*! 1086 * jQuery UI Legacy jQuery Core patches 1.14.1 1087 * https://jqueryui.com 1088 * 1089 * Copyright OpenJS Foundation and other contributors 1090 * Released under the MIT license. 1091 * https://jquery.org/license 1092 * 1093 */ 1094if(!$.escapeSelector){$.escapeSelector=function(id){return CSS.escape(id+"")}} 1095if(!$.fn.even||!$.fn.odd){$.fn.extend({even:function(){return this.filter(function(i){return i%2===0})},odd:function(){return this.filter(function(i){return i%2===1})}})}; 1096/*!
1097 * jQuery UI Keycode 1.14.1 1098 * https://jqueryui.com 1099 * 1100 * Copyright OpenJS Foundation and other contributors 1101 * Released under the MIT license. 1102 * https://jquery.org/license 1103 */ 1104var keycode=$.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}; 1105/*! 1106 * jQuery UI Labels 1.14.1 1107 * https://jqueryui.com 1108 * 1109 * Copyright OpenJS Foundation and other contributors 1110 * Released under the MIT license. 1111 * https://jquery.org/license 1112 */ 1113var labels=$.fn.labels=function(){var ancestor,selector,id,labels,ancestors;if(!this.length){return this.pushStack([])} 1114if(this[0].labels&&this[0].labels.length){return this.pushStack(this[0].labels)} 1115labels=this.eq(0).parents("label");id=this.attr("id");if(id){ancestor=this.eq(0).parents().last();ancestors=ancestor.add(ancestor.length?ancestor.siblings():this.siblings());selector="label[for='"+CSS.escape(id)+"']";labels=labels.add(ancestors.find(selector).addBack(selector))} 1116return this.pushStack(labels)}; 1117/*! 1118 * jQuery UI Scroll Parent 1.14.1 1119 * https://jqueryui.com 1120 * 1121 * Copyright OpenJS Foundation and other contributors 1122 * Released under the MIT license. 1123 * https://jquery.org/license 1124 */ 1125var scrollParent=$.fn.scrollParent=function(includeHidden){var position=this.css("position"),excludeStaticParent=position==="absolute",overflowRegex=includeHidden?/(auto|scroll|hidden)/:/(auto|scroll)/,scrollParent=this.parents().filter(function(){var parent=$(this);if(excludeStaticParent&&parent.css("position")==="static"){return!1} 1126return overflowRegex.test(parent.css("overflow")+parent.css("overflow-y")+parent.css("overflow-x"))}).eq(0);return position==="fixed"||!scrollParent.length?$(this[0].ownerDocument||document):scrollParent}; 1127/*! 1128 * jQuery UI Tabbable 1.14.1 1129 * https://jqueryui.com 1130 * 1131 * Copyright OpenJS Foundation and other contributors 1132 * Released under the MIT license. 1133 * https://jquery.org/license 1134 */ 1135var tabbable=$.extend($.expr.pseudos,{tabbable:function(element){var tabIndex=$.attr(element,"tabindex"),hasTabindex=tabIndex!=null;return(!hasTabindex||tabIndex>=0)&&$.ui.focusable(element,hasTabindex)}}); 1136/*! 1137 * jQuery UI Unique ID 1.14.1 1138 * https://jqueryui.com 1139 * 1140 * Copyright OpenJS Foundation and other contributors 1141 * Released under the MIT license. 1142 * https://jquery.org/license 1143 */ 1144var uniqueId=$.fn.extend({uniqueId:(function(){var uuid=0;return function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++uuid)}})}})(),removeUniqueId:function(){return this.each(function(){if(/^ui-id-\d+$/.test(this.id)){$(this).removeAttr("id")}})}}); 1145/*! 1146 * jQuery UI Accordion 1.14.1 1147 * https://jqueryui.com 1148 * 1149 * Copyright OpenJS Foundation and other contributors 1150 * Released under the MIT license. 1151 * https://jquery.org/license 1152 */ 1153var widgetsAccordion=$.widget("ui.accordion",{version:"1.14.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(elem){return elem.find("> li > :first-child").add(elem.find("> :not(li)").filter(function(i){return i%2===0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var options=this.options;this.prevShow=this.prevHide=$();this._addClass("ui-accordion","ui-widget ui-helper-reset");this.element.attr("role","tablist");if(!options.collapsible&&(options.active===!1||options.active==null)){options.active=0} 1154this._processPanels();if(options.active<0){options.active+=this.headers.length} 1155this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:!this.active.length?$():this.active.next()}},_createIcons:function(){var icon,children,icons=this.options.icons;if(icons){icon=$("<span>");this._addClass(icon,"ui-accordion-header-icon","ui-icon "+icons.header);icon.prependTo(this.headers);children=this.active.children(".ui-accordion-header-icon");this._removeClass(children,icons.header)._addClass(children,null,icons.activeHeader)._addClass(this.headers,"ui-accordion-icons")}},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons");this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var contents;this.element.removeAttr("role");this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId();this._destroyIcons();contents=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId();if(this.options.heightStyle!=="content"){contents.css("height","")}},_setOption:function(key,value){if(key==="active"){this._activate(value);return} 1156if(key==="event"){if(this.options.event){this._off(this.headers,this.options.event)} 1157this._setupEvents(value)} 1158this._super(key,value);if(key==="collapsible"&&!value&&this.options.active===!1){this._activate(0)} 1159if(key==="icons"){this._destroyIcons();if(value){this._createIcons()}}},_setOptionDisabled:function(value){this._super(value);this.element.attr("aria-disabled",value);this._toggleClass(null,"ui-state-disabled",!!value)},_keydown:function(event){if(event.altKey||event.ctrlKey){return} 1160var keyCode=$.ui.keyCode,length=this.headers.length,currentIndex=this.headers.index(event.target),toFocus=!1;switch(event.keyCode){case keyCode.RIGHT:case keyCode.DOWN:toFocus=this.headers[(currentIndex+1)%length];break;case keyCode.LEFT:case keyCode.UP:toFocus=this.headers[(currentIndex-1+length)%length];break;case keyCode.SPACE:case keyCode.ENTER:this._eventHandler(event);break;case keyCode.HOME:toFocus=this.headers[0];break;case keyCode.END:toFocus=this.headers[length-1];break} 1161if(toFocus){$(event.target).attr("tabIndex",-1);$(toFocus).attr("tabIndex",0);$(toFocus).trigger("focus");event.preventDefault()}},_panelKeyDown:function(event){if(event.keyCode===$.ui.keyCode.UP&&event.ctrlKey){$(event.currentTarget).prev().trigger("focus")}},refresh:function(){var options=this.options;this._processPanels();if((options.active===!1&&options.collapsible===!0)||!this.headers.length){options.active=!1;this.active=$()}else if(options.active===!1){this._activate(0)}else if(this.active.length&&!$.contains(this.element[0],this.active[0])
1161){if(this.headers.length===this.headers.find(".ui-state-disabled").length){options.active=!1;this.active=$()}else{this._activate(Math.max(0,options.active-1))}}else{options.active=this.headers.index(this.active)} 1162this._destroyIcons();this._refresh()},_processPanels:function(){var prevHeaders=this.headers,prevPanels=this.panels;if(typeof this.options.header==="function"){this.headers=this.options.header(this.element)}else{this.headers=this.element.find(this.options.header)} 1163this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default");this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide();this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content");if(prevPanels){this._off(prevHeaders.not(this.headers));this._off(prevPanels.not(this.panels))}},_refresh:function(){var maxHeight,options=this.options,heightStyle=options.heightStyle,parent=this.element.parent();this.active=this._findActive(options.active);this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed");this._addClass(this.active.next(),"ui-accordion-content-active");this.active.next().show();this.headers.attr("role","tab").each(function(){var header=$(this),headerId=header.uniqueId().attr("id"),panel=header.next(),panelId=panel.uniqueId().attr("id");header.attr("aria-controls",panelId);panel.attr("aria-labelledby",headerId)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"})} 1164this._createIcons();this._setupEvents(options.event);if(heightStyle==="fill"){maxHeight=parent.height();this.element.siblings(":visible").each(function(){var elem=$(this),position=elem.css("position");if(position==="absolute"||position==="fixed"){return} 1165maxHeight-=elem.outerHeight(!0)});this.headers.each(function(){maxHeight-=$(this).outerHeight(!0)});this.headers.next().each(function(){$(this).height(Math.max(0,maxHeight-$(this).innerHeight()+$(this).height()))}).css("overflow","auto")}else if(heightStyle==="auto"){maxHeight=0;this.headers.next().each(function(){var isVisible=$(this).is(":visible");if(!isVisible){$(this).show()} 1166maxHeight=Math.max(maxHeight,$(this).css("height","").height());if(!isVisible){$(this).hide()}}).height(maxHeight)}},_activate:function(index){var active=this._findActive(index)[0];if(active===this.active[0]){return} 1167active=active||this.active[0];this._eventHandler({target:active,currentTarget:active,preventDefault:$.noop})},_findActive:function(selector){return typeof selector==="number"?this.headers.eq(selector):$()},_setupEvents:function(event){var events={keydown:"_keydown"};if(event){$.each(event.split(" "),function(index,eventName){events[eventName]="_eventHandler"})} 1168this._off(this.headers.add(this.headers.next()));this._on(this.headers,events);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(event){var activeChildren,clickedChildren,options=this.options,active=this.active,clicked=$(event.currentTarget),clickedIsActive=clicked[0]===active[0],collapsing=clickedIsActive&&options.collapsible,toShow=collapsing?$():clicked.next(),toHide=active.next(),eventData={oldHeader:active,oldPanel:toHide,newHeader:collapsing?$():clicked,newPanel:toShow};event.preventDefault();if((clickedIsActive&&!options.collapsible)||(this._trigger("beforeActivate",event,eventData)===!1)){return} 1169options.active=collapsing?!1:this.headers.index(clicked);this.active=clickedIsActive?$():clicked;this._toggle(eventData);this._removeClass(active,"ui-accordion-header-active","ui-state-active");if(options.icons){activeChildren=active.children(".ui-accordion-header-icon");this._removeClass(activeChildren,null,options.icons.activeHeader)._addClass(activeChildren,null,options.icons.header)} 1170if(!clickedIsActive){this._removeClass(clicked,"ui-accordion-header-collapsed")._addClass(clicked,"ui-accordion-header-active","ui-state-active");if(options.icons){clickedChildren=clicked.children(".ui-accordion-header-icon");this._removeClass(clickedChildren,null,options.icons.header)._addClass(clickedChildren,null,options.icons.activeHeader)} 1171this._addClass(clicked.next(),"ui-accordion-content-active")}},_toggle:function(data){var toShow=data.newPanel,toHide=this.prevShow.length?this.prevShow:data.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0);this.prevShow=toShow;this.prevHide=toHide;if(this.options.animate){this._animate(toShow,toHide,data)}else{toHide.hide();toShow.show();this._toggleComplete(data)} 1172toHide.attr({"aria-hidden":"true"});toHide.prev().attr({"aria-selected":"false","aria-expanded":"false"});if(toShow.length&&toHide.length){toHide.prev().attr({"tabIndex":-1,"aria-expanded":"false"})}else if(toShow.length){this.headers.filter(function(){return parseInt($(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1)} 1173toShow.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(toShow,toHide,data){var total,easing,duration,that=this,adjust=0,boxSizing=toShow.css("box-sizing"),down=toShow.length&&(!toHide.length||(toShow.index()<toHide.index())),animate=this.options.animate||{},options=down&&animate.down||animate,complete=function(){that._toggleComplete(data)};if(typeof options==="number"){duration=options} 1174if(typeof options==="string"){easing=options} 1175easing=easing||options.easing||animate.easing;duration=duration||options.duration||animate.duration;if(!toHide.length){return toShow.animate(this.showProps,duration,easing,complete)} 1176if(!toShow.length){return toHide.animate(this.hideProps,duration,easing,complete)} 1177total=toShow.show().outerHeight();toHide.animate(this.hideProps,{duration:duration,easing:easing,step:function(now,fx){fx.now=Math.round(now)}});toShow.hide().animate(this.showProps,{duration:duration,easing:easing,complete:complete,step:function(now,fx){fx.now=Math.round(now);if(fx.prop!=="height"){if(boxSizing==="content-box"){adjust+=fx.now}}else if(that.options.heightStyle!=="content"){fx.now=Math.round(total-toHide.outerHeight()-adjust);adjust=0}}})},_toggleComplete:function(data){var toHide=data.oldPanel,prev=toHide.prev();this._removeClass(toHide,"ui-accordion-content-active");this._removeClass(prev,"ui-accordion-header-active")._addClass(prev,"ui-accordion-header-collapsed");this._trigger("activate",null,data)}}); 1178/*! 1179 * jQuery UI Menu 1.14.1 1180 * https://jqueryui.com 1181 * 1182 * Copyright OpenJS Foundation and other contributors 1183 * Released under the MIT license. 1184 * https://jquery.org/license 1185 */ 1186var widgetsMenu=$.widget("ui.menu",{version:"1.14.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"}
1186,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=!1;this.lastMousePosition={x:null,y:null};this.element.uniqueId().attr({role:this.options.role,tabIndex:0});this._addClass("ui-menu","ui-widget ui-widget-content");this._on({"mousedown .ui-menu-item":function(event){event.preventDefault();this._activateItem(event)},"click .ui-menu-item":function(event){var target=$(event.target);var active=$(this.document[0].activeElement);if(!this.mouseHandled&&target.not(".ui-state-disabled").length){this.select(event);if(!event.isPropagationStopped()){this.mouseHandled=!0} 1187if(target.has(".ui-menu").length){this.expand(event)}else if(!this.element.is(":focus")&&active.closest(".ui-menu").length){this.element.trigger("focus",[!0]);if(this.active&&this.active.parents(".ui-menu").length===1){clearTimeout(this.timer)}}}},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(event,keepActiveItem){var item=this.active||this._menuItems().first();if(!keepActiveItem){this.focus(event,item)}},blur:function(event){this._delay(function(){var notContained=!$.contains(this.element[0],this.document[0].activeElement);if(notContained){this.collapseAll(event)}})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(event){if(this._closeOnDocumentClick(event)){this.collapseAll(event,!0)} 1188this.mouseHandled=!1}})},_activateItem:function(event){if(this.previousFilter){return} 1189if(event.clientX===this.lastMousePosition.x&&event.clientY===this.lastMousePosition.y){return} 1190this.lastMousePosition={x:event.clientX,y:event.clientY};var actualTarget=$(event.target).closest(".ui-menu-item"),target=$(event.currentTarget);if(actualTarget[0]!==target[0]){return} 1191if(target.is(".ui-state-active")){return} 1192this._removeClass(target.siblings().children(".ui-state-active"),null,"ui-state-active");this.focus(event,target)},_destroy:function(){var items=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),submenus=items.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled "+"tabIndex").removeUniqueId().show();submenus.children().each(function(){var elem=$(this);if(elem.data("ui-menu-submenu-caret")){elem.remove()}})},_keydown:function(event){var match,prev,character,skip,preventDefault=!0;switch(event.keyCode){case $.ui.keyCode.PAGE_UP:this.previousPage(event);break;case $.ui.keyCode.PAGE_DOWN:this.nextPage(event);break;case $.ui.keyCode.HOME:this._move("first","first",event);break;case $.ui.keyCode.END:this._move("last","last",event);break;case $.ui.keyCode.UP:this.previous(event);break;case $.ui.keyCode.DOWN:this.next(event);break;case $.ui.keyCode.LEFT:this.collapse(event);break;case $.ui.keyCode.RIGHT:if(this.active&&!this.active.is(".ui-state-disabled")){this.expand(event)} 1193break;case $.ui.keyCode.ENTER:case $.ui.keyCode.SPACE:this._activate(event);break;case $.ui.keyCode.ESCAPE:this.collapse(event);break;default:preventDefault=!1;prev=this.previousFilter||"";skip=!1;character=event.keyCode>=96&&event.keyCode<=105?(event.keyCode-96).toString():String.fromCharCode(event.keyCode);clearTimeout(this.filterTimer);if(character===prev){skip=!0}else{character=prev+character} 1194match=this._filterMenuItems(character);match=skip&&match.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):match;if(!match.length){character=String.fromCharCode(event.keyCode);match=this._filterMenuItems(character)} 1195if(match.length){this.focus(event,match);this.previousFilter=character;this.filterTimer=this._delay(function(){delete this.previousFilter},1000)}else{delete this.previousFilter}} 1196if(preventDefault){event.preventDefault()}},_activate:function(event){if(this.active&&!this.active.is(".ui-state-disabled")){if(this.active.children("[aria-haspopup='true']").length){this.expand(event)}else{this.select(event)}}},refresh:function(){var menus,items,newSubmenus,newItems,newWrappers,that=this,icon=this.options.icons.submenu,submenus=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length);newSubmenus=submenus.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var menu=$(this),item=menu.prev(),submenuCaret=$("<span>").data("ui-menu-submenu-caret",!0);that._addClass(submenuCaret,"ui-menu-icon","ui-icon "+icon);item.attr("aria-haspopup","true").prepend(submenuCaret);menu.attr("aria-labelledby",item.attr("id"))});this._addClass(newSubmenus,"ui-menu","ui-widget ui-widget-content ui-front");menus=submenus.add(this.element);items=menus.find(this.options.items);items.not(".ui-menu-item").each(function(){var item=$(this);if(that._isDivider(item)){that._addClass(item,"ui-menu-divider","ui-widget-content")}});newItems=items.not(".ui-menu-item, .ui-menu-divider");newWrappers=newItems.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()});this._addClass(newItems,"ui-menu-item")._addClass(newWrappers,"ui-menu-item-wrapper");items.filter(".ui-state-disabled").attr("aria-disabled","true");
1196if(this.active&&!$.contains(this.element[0],this.active[0])){this.blur()}},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(key,value){if(key==="icons"){var icons=this.element.find(".ui-menu-icon");this._removeClass(icons,null,this.options.icons.submenu)._addClass(icons,null,value.submenu)} 1197this._super(key,value)},_setOptionDisabled:function(value){this._super(value);this.element.attr("aria-disabled",String(value));this._toggleClass(null,"ui-state-disabled",!!value)},focus:function(event,item){var nested,focused,activeParent;this.blur(event,event&&event.type==="focus");this._scrollIntoView(item);this.active=item.first();focused=this.active.children(".ui-menu-item-wrapper");this._addClass(focused,null,"ui-state-active");if(this.options.role){this.element.attr("aria-activedescendant",focused.attr("id"))} 1198activeParent=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper");this._addClass(activeParent,null,"ui-state-active");if(event&&event.type==="keydown"){this._close()}else{this.timer=this._delay(function(){this._close()},this.delay)} 1199nested=item.children(".ui-menu");if(nested.length&&event&&(/^mouse/.test(event.type))){this._startOpening(nested)} 1200this.activeMenu=item.parent();this._trigger("focus",event,{item:item})},_scrollIntoView:function(item){var borderTop,paddingTop,offset,scroll,elementHeight,itemHeight;
1200if(this._hasScroll()){borderTop=parseFloat($.css(this.activeMenu[0],"borderTopWidth"))||0;paddingTop=parseFloat($.css(this.activeMenu[0],"paddingTop"))||0;offset=item.offset().top-this.activeMenu.offset().top-borderTop-paddingTop;scroll=this.activeMenu.scrollTop();elementHeight=this.activeMenu.height();itemHeight=item.outerHeight();if(offset<0){this.activeMenu.scrollTop(scroll+offset)}else if(offset+itemHeight>elementHeight){this.activeMenu.scrollTop(scroll+offset-elementHeight+itemHeight)}}},blur:function(event,fromFocus){if(!fromFocus){clearTimeout(this.timer)} 1201if(!this.active){return} 1202this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active");this._trigger("blur",event,{item:this.active});this.active=null},_startOpening:function(submenu){clearTimeout(this.timer);if(submenu.attr("aria-hidden")!=="true"){return} 1203this.timer=this._delay(function(){this._close();this._open(submenu)},this.delay)},_open:function(submenu){var position=$.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(submenu.parents(".ui-menu")).hide().attr("aria-hidden","true");submenu.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(position)},collapseAll:function(event,all){clearTimeout(this.timer);this.timer=this._delay(function(){var currentMenu=all?this.element:$(event&&event.target).closest(this.element.find(".ui-menu"));if(!currentMenu.length){currentMenu=this.element} 1204this._close(currentMenu);this.blur(event);this._removeClass(currentMenu.find(".ui-state-active"),null,"ui-state-active");this.activeMenu=currentMenu},all?0:this.delay)},_close:function(startMenu){if(!startMenu){startMenu=this.active?this.active.parent():this.element} 1205startMenu.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(event){return!$(event.target).closest(".ui-menu").length},_isDivider:function(item){return!/[^\-\u2014\u2013\s]/.test(item.text())},collapse:function(event){var newItem=this.active&&this.active.parent().closest(".ui-menu-item",this.element);if(newItem&&newItem.length){this._close();this.focus(event,newItem)}},expand:function(event){var newItem=this.active&&this._menuItems(this.active.children(".ui-menu")).first();if(newItem&&newItem.length){this._open(newItem.parent());this._delay(function(){this.focus(event,newItem)})}},next:function(event){this._move("next","first",event)},previous:function(event){this._move("prev","last",event)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(menu){return(menu||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(direction,filter,event){var next;if(this.active){if(direction==="first"||direction==="last"){next=this.active[direction==="first"?"prevAll":"nextAll"](".ui-menu-item").last()}else{next=this.active[direction+"All"](".ui-menu-item").first()}} 1206if(!next||!next.length||!this.active){next=this._menuItems(this.activeMenu)[filter]()} 1207this.focus(event,next)},nextPage:function(event){var item,base,height;if(!this.active){this.next(event);return} 1208if(this.isLastItem()){return} 1209if(this._hasScroll()){base=this.active.offset().top;height=this.element.innerHeight();if($.fn.jquery.indexOf("3.2.")===0){height+=this.element[0].offsetHeight-this.element.outerHeight()} 1210this.active.nextAll(".ui-menu-item").each(function(){item=$(this);return item.offset().top-base-height<0});this.focus(event,item)}else{this.focus(event,this._menuItems(this.activeMenu)[!this.active?"first":"last"]())}},previousPage:function(event){var item,base,height;if(!this.active){this.next(event);return} 1211if(this.isFirstItem()){return} 1212if(this._hasScroll()){base=this.active.offset().top;height=this.element.innerHeight();if($.fn.jquery.indexOf("3.2.")===0){height+=this.element[0].offsetHeight-this.element.outerHeight()} 1213this.active.prevAll(".ui-menu-item").each(function(){item=$(this);return item.offset().top-base+height>0});this.focus(event,item)}else{this.focus(event,this._menuItems(this.activeMenu).first())}},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(event){this.active=this.active||$(event.target).closest(".ui-menu-item");var ui={item:this.active};if(!this.active.has(".ui-menu").length){this.collapseAll(event,!0)} 1214this._trigger("select",event,ui)}
1214,_filterMenuItems:function(character){var escapedCharacter=character.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),regex=new RegExp("^"+escapedCharacter,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return regex.test(String.prototype.trim.call($(this).children(".ui-menu-item-wrapper").text()))})}}); 1215/*! 1216 * jQuery UI Autocomplete 1.14.1 1217 * https://jqueryui.com 1218 * 1219 * Copyright OpenJS Foundation and other contributors 1220 * Released under the MIT license. 1221 * https://jquery.org/license 1222 */ 1223$.widget("ui.autocomplete",{version:"1.14.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var suppressKeyPress,suppressKeyPressRepeat,suppressInput,nodeName=this.element[0].nodeName.toLowerCase(),isTextarea=nodeName==="textarea",isInput=nodeName==="input";this.isMultiLine=isTextarea||!isInput&&this.element.prop("contentEditable")==="true";this.valueMethod=this.element[isTextarea||isInput?"val":"text"];this.isNewMenu=!0;this._addClass("ui-autocomplete-input");this.element.attr("autocomplete","off");this._on(this.element,{keydown:function(event){if(this.element.prop("readOnly")){suppressKeyPress=!0;suppressInput=!0;suppressKeyPressRepeat=!0;return} 1224suppressKeyPress=!1;suppressInput=!1;suppressKeyPressRepeat=!1;var keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.PAGE_UP:suppressKeyPress=!0;this._move("previousPage",event);break;case keyCode.PAGE_DOWN:suppressKeyPress=!0;this._move("nextPage",event);break;case keyCode.UP:suppressKeyPress=!0;this._keyEvent("previous",event);break;case keyCode.DOWN:suppressKeyPress=!0;this._keyEvent("next",event);break;case keyCode.ENTER:if(this.menu.active){suppressKeyPress=!0;event.preventDefault();this.menu.select(event)} 1225break;case keyCode.TAB:if(this.menu.active){this.menu.select(event)} 1226break;case keyCode.ESCAPE:if(this.menu.element.is(":visible")){if(!this.isMultiLine){this._value(this.term)} 1227this.close(event);event.preventDefault()} 1228break;default:suppressKeyPressRepeat=!0;this._searchTimeout(event);break}},keypress:function(event){if(suppressKeyPress){suppressKeyPress=!1;if(!this.isMultiLine||this.menu.element.is(":visible")){event.preventDefault()} 1229return} 1230if(suppressKeyPressRepeat){return} 1231var keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.PAGE_UP:this._move("previousPage",event);break;case keyCode.PAGE_DOWN:this._move("nextPage",event);break;case keyCode.UP:this._keyEvent("previous",event);break;case keyCode.DOWN:this._keyEvent("next",event);break}},input:function(event){if(suppressInput){suppressInput=!1;event.preventDefault();return} 1232this._searchTimeout(event)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(event){clearTimeout(this.searching);this.close(event);this._change(event)}});this._initSource();this.menu=$("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance");this._addClass(this.menu.element,"ui-autocomplete","ui-front");this._on(this.menu.element,{mousedown:function(event){event.preventDefault()},menufocus:function(event,ui){var label,item;if(this.isNewMenu){this.isNewMenu=!1;if(event.originalEvent&&/^mouse/.test(event.originalEvent.type)){this.menu.blur();this.document.one("mousemove",function(){$(event.target).trigger(event.originalEvent)});return}} 1233item=ui.item.data("ui-autocomplete-item");if(!1!==this._trigger("focus",event,{item:item})){if(event.originalEvent&&/^key/.test(event.originalEvent.type)){this._value(item.value)}} 1234label=ui.item.attr("aria-label")||item.value;if(label&&String.prototype.trim.call(label).length){clearTimeout(this.liveRegionTimer);this.liveRegionTimer=this._delay(function(){this.liveRegion.html($("<div>").text(label))},100)}},menuselect:function(event,ui){var item=ui.item.data("ui-autocomplete-item"),previous=this.previous;if(this.element[0]!==this.document[0].activeElement){this.element.trigger("focus");this.previous=previous} 1235if(!1!==this._trigger("select",event,{item:item})){this._value(item.value)}
1236this.term=this._value();this.close(event);this.selectedItem=item}});this.liveRegion=$("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(key,value){this._super(key,value);if(key==="source"){this._initSource()} 1237if(key==="appendTo"){this.menu.element.appendTo(this._appendTo())} 1238if(key==="disabled"&&value&&this.xhr){this.xhr.abort()}},_isEventTargetInWidget:function(event){var menuElement=this.menu.element[0];return event.target===this.element[0]||event.target===menuElement||$.contains(menuElement,event.target)},_closeOnClickOutside:function(event){if(!this._isEventTargetInWidget(event)){this.close()}},_appendTo:function(){var element=this.options.appendTo;if(element){element=element.jquery||element.nodeType?$(element):this.document.find(element).eq(0)} 1239if(!element||!element[0]){element=this.element.closest(".ui-front, dialog")} 1240if(!element.length){element=this.document[0].body} 1241return element},_initSource:function(){var array,url,that=this;if(Array.isArray(this.options.source)){array=this.options.source;this.source=function(request,response){response($.ui.autocomplete.filter(array,request.term))}}else if(typeof this.options.source==="string"){url=this.options.source;this.source=function(request,response){if(that.xhr){that.xhr.abort()} 1242that.xhr=$.ajax({url:url,data:request,dataType:"json",success:function(data){response(data)},error:function(){response([])}})}}else{this.source=this.options.source}},_searchTimeout:function(event){clearTimeout(this.searching);this.searching=this._delay(function(){var equalValues=this.term===this._value(),menuVisible=this.menu.element.is(":visible"),modifierKey=event.altKey||event.ctrlKey||event.metaKey||event.shiftKey;if(!equalValues||(equalValues&&!menuVisible&&!modifierKey)){this.selectedItem=null;this.search(null,event)}},this.options.delay)},search:function(value,event){value=value!=null?value:this._value();this.term=this._value();if(value.length<this.options.minLength){return this.close(event)} 1243if(this._trigger("search",event)===!1){return} 1244return this._search(value)},_search:function(value){this.pending++;this._addClass("ui-autocomplete-loading");this.cancelSearch=!1;this.source({term:value},this._response())},_response:function(){var index=++this.requestIndex;return function(content){if(index===this.requestIndex){this.__response(content)} 1245this.pending--;if(!this.pending){this._removeClass("ui-autocomplete-loading")}}.bind(this)},__response:function(content){if(content){content=this._normalize(content)} 1246this._trigger("response",null,{content:content});if(!this.options.disabled&&content&&content.length&&!this.cancelSearch){this._suggest(content);this._trigger("open")}else{this._close()}},close:function(event){this.cancelSearch=!0;this._close(event)},_close:function(event){this._off(this.document,"mousedown");if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=!0;this._trigger("close",event)}},_change:function(event){if(this.previous!==this._value()){this._trigger("change",event,{item:this.selectedItem})}},_normalize:function(items){if(items.length&&items[0].label&&items[0].value){return items} 1247return $.map(items,function(item){if(typeof item==="string"){return{label:item,value:item}} 1248return $.extend({},item,{label:item.label||item.value,value:item.value||item.label})})},_suggest:function(items){var ul=this.menu.element.empty();this._renderMenu(ul,items);this.isNewMenu=!0;this.menu.refresh();ul.show();this._resizeMenu();ul.position($.extend({of:this.element},this.options.position));if(this.options.autoFocus){this.menu.next()} 1249this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var ul=this.menu.element;ul.outerWidth(Math.max(ul.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(ul,items){var that=this;$.each(items,function(index,item){that._renderItemData(ul,item)})},_renderItemData:function(ul,item){return this._renderItem(ul,item).data("ui-autocomplete-item",item)},_renderItem:function(ul,item){return $("<li>").append($("<div>").text(item.label)).appendTo(ul)},_move:function(direction,event){if(!this.menu.element.is(":visible")){this.search(null,event);return} 1250if(this.menu.isFirstItem()&&/^previous/.test(direction)||this.menu.isLastItem()&&/^next/.test(direction)){if
1250(!this.isMultiLine){this._value(this.term)} 1251this.menu.blur();return} 1252this.menu[direction](event)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(keyEvent,event){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(keyEvent,event);event.preventDefault()}}});$.extend($.ui.autocomplete,{escapeRegex:function(value){return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(array,term){var matcher=new RegExp($.ui.autocomplete.escapeRegex(term),"i");return $.grep(array,function(value){return matcher.test(value.label||value.value||value)})}});$.widget("ui.autocomplete",$.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(amount){return amount+(amount>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(content){var message;this._superApply(arguments);if(this.options.disabled||this.cancelSearch){return} 1253if(content&&content.length){message=this.options.messages.results(content.length)}else{message=this.options.messages.noResults} 1254clearTimeout(this.liveRegionTimer);this.liveRegionTimer=this._delay(function(){this.liveRegion.html($("<div>").text(message))},100)}});var widgetsAutocomplete=$.ui.autocomplete; 1255/*! 1256 * jQuery UI Controlgroup 1.14.1 1257 * https://jqueryui.com 1258 * 1259 * Copyright OpenJS Foundation and other contributors 1260 * Released under the MIT license. 1261 * https://jquery.org/license 1262 */ 1263var controlgroupCornerRegex=/ui-corner-([a-z]){2,6}/g;var widgetsControlgroup=$.widget("ui.controlgroup",{version:"1.14.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{"button":"input[type=button], input[type=submit], input[type=reset], button, a","controlgroupLabel":".ui-controlgroup-label","checkboxradio":"input[type='checkbox'], input[type='radio']","selectmenu":"select","spinner":".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");if(this.options.items.controlgroupLabel){this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()}},_initWidgets:function(){var that=this,childWidgets=[];$.each(this.options.items,function(widget,selector){var labels;var options={};if(!selector){return} 1264if(widget==="controlgroupLabel"){labels=that.element.find(selector);labels.each(function(){var element=$(this);if(element.children(".ui-controlgroup-label-contents").length){return} 1265element.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")});that._addClass(labels,null,"ui-widget ui-widget-content ui-state-default");childWidgets=childWidgets.concat(labels.get());return} 1266if(!$.fn[widget]){return} 1267if(that["_"+widget+"Options"]){options=that["_"+widget+"Options"]("middle")}else{options={classes:{}}} 1268that.element.find(selector).each(function(){var element=$(this);var instance=element[widget]("instance");var instanceOptions=$.widget.extend({},options);if(widget==="button"&&element.parent(".ui-spinner").length){return} 1269if(!instance){instance=element[widget]()[widget]("instance")} 1270if(instance){instanceOptions.classes=that._resolveClassesValues(instanceOptions.classes,instance)} 1271element[widget](instanceOptions);var widgetElement=element[widget]("widget");$.data(widgetElement[0],"ui-controlgroup-data",instance?instance:element[widget]("instance"));childWidgets.push(widgetElement[0])})});this.childWidgets=$($.uniqueSort(childWidgets));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(method){this.childWidgets.each(function(){var element=$(this),data=element.data("ui-controlgroup-data");if(data&&data[method]){data[method]()}})},_updateCornerClass:function(element,position){var remove="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all";var add=this._buildSimpleOptions(position,"label").classes.label;this._removeClass(element,null,remove);this._addClass(element,null,add)},_buildSimpleOptions:function(position,key){var direction=this.options.direction==="vertical";var result={classes:{}};result.classes[key]={"middle":"","first":"ui-corner-"+(direction?"top":"left"),"last":"ui-corner-"+(direction?"bottom":"right"),"only":"ui-corner-all"}[position];return result},_spinnerOptions:function(position){var options=this._buildSimpleOptions(position,"ui-spinner");options.classes["ui-spinner-up"]="";options.classes["ui-spinner-down"]="";return options},_buttonOptions:function(position){return this._buildSimpleOptions(position,"ui-button")},_checkboxradioOptions:function(position){return this._buildSimpleOptions(position,"ui-checkboxradio-label")},_selectmenuOptions:function(position){var direction=this.options.direction==="vertical";
1271return{width:direction?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(direction?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(direction?"top":"left")},last:{"ui-selectmenu-button-open":direction?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(direction?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[position]}},_resolveClassesValues:function(classes,instance){var result={};$.each(classes,function(key){var current=instance.options.classes[key]||"";current=String.prototype.trim.call(current.replace(controlgroupCornerRegex,""));result[key]=(current+" "+classes[key]).replace(/\s+/g," ")});return result},_setOption:function(key,value){if(key==="direction"){this._removeClass("ui-controlgroup-"+this.options.direction)} 1272this._super(key,value);if(key==="disabled"){this._callChildMethod(value?"disable":"enable");return} 1273this.refresh()},refresh:function(){var children,that=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);if(this.options.direction==="horizontal"){this._addClass(null,"ui-helper-clearfix")} 1274this._initWidgets();children=this.childWidgets;if(this.options.onlyVisible){children=children.filter(":visible")} 1275if(children.length){$.each(["first","last"],function(index,value){var instance=children[value]().data("ui-controlgroup-data");if(instance&&that["_"+instance.widgetName+"Options"]){var options=that["_"+instance.widgetName+"Options"](children.length===1?"only":value);options.classes=that._resolveClassesValues(options.classes,instance);instance.element[instance.widgetName](options)}else{that._updateCornerClass(children[value](),value)}});this._callChildMethod("refresh")}}}); 1276/*! 1277 * jQuery UI Checkboxradio 1.14.1 1278 * https://jqueryui.com 1279 * 1280 * Copyright OpenJS Foundation and other contributors 1281 * Released under the MIT license. 1282 * https://jquery.org/license 1283 */ 1284$.widget("ui.checkboxradio",[$.ui.formResetMixin,{version:"1.14.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var disabled,labels,labelContents;var options=this._super()||{};this._readType();labels=this.element.labels();this.label=$(labels[labels.length-1]);if(!this.label.length){$.error("No label found for checkboxradio widget")} 1285this.originalLabel="";labelContents=this.label.contents().not(this.element[0]);if(labelContents.length){this.originalLabel+=labelContents.clone().wrapAll("<div></div>").parent().html()} 1286if(this.originalLabel){options.label=this.originalLabel} 1287disabled=this.element[0].disabled;if(disabled!=null){options.disabled=disabled} 1288return options},_create:function(){var checked=this.element[0].checked;this._bindFormResetHandler();if(this.options.disabled==null){this.options.disabled=this.element[0].disabled} 1289this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");if(this.type==="radio"){this._addClass(this.label,"ui-checkboxradio-radio-label")} 1290if(this.options.label&&this.options.label!==this.originalLabel){this._updateLabel()}else if(this.originalLabel){this.options.label=this.originalLabel} 1291this._enhance();if(checked){this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active")} 1292this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var nodeName=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;if(nodeName!=="input"||!/radio|checkbox/.test(this.type)){$.error("Can't create checkboxradio on element.nodeName="+nodeName+" and element.type="+this.type)}},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var group;var name=this.element[0].name;var nameSelector="input[name='"+CSS.escape(name)+"']";if(!name){return $([])} 1293if(this.form.length){group=$(this.form[0].elements).filter(nameSelector)}else{group=$(nameSelector).filter(function(){return $($(this).prop("form")).length===0})} 1294return group.not(this.element)},_toggleClasses:function(){var checked=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",checked);if(this.options.icon&&this.type==="checkbox"){this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",checked)._toggleClass(this.icon,null,"ui-icon-blank",!checked)}
1295if(this.type==="radio"){this._getRadioGroup().each(function(){var instance=$(this).checkboxradio("instance");if(instance){instance._removeClass(instance.label,"ui-checkboxradio-checked","ui-state-active")}})}},_destroy:function(){this._unbindFormResetHandler();if(this.icon){this.icon.remove();this.iconSpace.remove()}},_setOption:function(key,value){if(key==="label"&&!value){return} 1296this._super(key,value);if(key==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",value);this.element[0].disabled=value;return} 1297this.refresh()},_updateIcon:function(checked){var toAdd="ui-icon ui-icon-background ";if(this.options.icon){if(!this.icon){this.icon=$("<span>");this.iconSpace=$("<span> </span>");this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")} 1298if(this.type==="checkbox"){toAdd+=checked?"ui-icon-check ui-state-checked":"ui-icon-blank";this._removeClass(this.icon,null,checked?"ui-icon-blank":"ui-icon-check")}else{toAdd+="ui-icon-blank"} 1299this._addClass(this.icon,"ui-checkboxradio-icon",toAdd);if(!checked){this._removeClass(this.icon,null,"ui-icon-check ui-state-checked")} 1300this.icon.prependTo(this.label).after(this.iconSpace)}else if(this.icon!==undefined){this.icon.remove();this.iconSpace.remove();delete this.icon}},_updateLabel:function(){var contents=this.label.contents().not(this.element[0]);if(this.icon){contents=contents.not(this.icon[0])} 1301if(this.iconSpace){contents=contents.not(this.iconSpace[0])} 1302contents.remove();this.label.append(this.options.label)},refresh:function(){var checked=this.element[0].checked,isDisabled=this.element[0].disabled;this._updateIcon(checked);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",checked);if(this.options.label!==null){this._updateLabel()} 1303if(isDisabled!==this.options.disabled){this._setOptions({"disabled":isDisabled})}}}]);var widgetsCheckboxradio=$.ui.checkboxradio; 1304/*! 1305 * jQuery UI Button 1.14.1 1306 * https://jqueryui.com 1307 * 1308 * Copyright OpenJS Foundation and other contributors 1309 * Released under the MIT license. 1310 * https://jquery.org/license 1311 */ 1312$.widget("ui.button",{version:"1.14.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var disabled,options=this._super()||{};this.isInput=this.element.is("input");disabled=this.element[0].disabled;if(disabled!=null){options.disabled=disabled} 1313this.originalLabel=this.isInput?this.element.val():this.element.html();if(this.originalLabel){options.label=this.originalLabel} 1314return options},_create:function(){if(!this.option.showLabel&!this.options.icon){this.options.showLabel=!0} 1315if(this.options.disabled==null){this.options.disabled=this.element[0].disabled||!1} 1316this.hasTitle=!!this.element.attr("title");if(this.options.label&&this.options.label!==this.originalLabel){if(this.isInput){this.element.val(this.options.label)}else{this.element.html(this.options.label)}} 1317this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);this._enhance();if(this.element.is("a")){this._on({"keyup":function(event){if(event.keyCode===$.ui.keyCode.SPACE){event.preventDefault();if(this.element[0].click){this.element[0].click()}else{this.element.trigger("click")}}}})}},_enhance:function(){if(!this.element.is("button")){this.element.attr("role","button")} 1318if(this.options.icon){this._updateIcon("icon",this.options.icon);this._updateTooltip()}},_updateTooltip:function(){this.title=this.element.attr("title");if(!this.options.showLabel&&!this.title){this.element.attr("title",this.options.label)}},_updateIcon:function(option,value){var icon=option!=="iconPosition",position=icon?this.options.iconPosition:value,displayBlock=position==="top"||position==="bottom";if(!this.icon){this.icon=$("<span>");this._addClass(this.icon,"ui-button-icon","ui-icon");if(!this.options.showLabel){this._addClass("ui-button-icon-only")}}else if(icon){this._removeClass(this.icon,null,this.options.icon)} 1319if(icon){this._addClass(this.icon,null,value)} 1320this._attachIcon(position);if(displayBlock){this._addClass(this.icon,null,"ui-widget-icon-block");
1320if(this.iconSpace){this.iconSpace.remove()}}else{if(!this.iconSpace){this.iconSpace=$("<span> </span>");this._addClass(this.iconSpace,"ui-button-icon-space")} 1321this._removeClass(this.icon,null,"ui-wiget-icon-block");this._attachIconSpace(position)}},_destroy:function(){this.element.removeAttr("role");if(this.icon){this.icon.remove()} 1322if(this.iconSpace){this.iconSpace.remove()} 1323if(!this.hasTitle){this.element.removeAttr("title")}},_attachIconSpace:function(iconPosition){this.icon[/^(?:end|bottom)/.test(iconPosition)?"before":"after"](this.iconSpace)},_attachIcon:function(iconPosition){this.element[/^(?:end|bottom)/.test(iconPosition)?"append":"prepend"](this.icon)},_setOptions:function(options){var newShowLabel=options.showLabel===undefined?this.options.showLabel:options.showLabel,newIcon=options.icon===undefined?this.options.icon:options.icon;if(!newShowLabel&&!newIcon){options.showLabel=!0} 1324this._super(options)},_setOption:function(key,value){if(key==="icon"){if(value){this._updateIcon(key,value)}else if(this.icon){this.icon.remove();if(this.iconSpace){this.iconSpace.remove()}}} 1325if(key==="iconPosition"){this._updateIcon(key,value)} 1326if(key==="showLabel"){this._toggleClass("ui-button-icon-only",null,!value);this._updateTooltip()} 1327if(key==="label"){if(this.isInput){this.element.val(value)}else{this.element.html(value);if(this.icon){this._attachIcon(this.options.iconPosition);this._attachIconSpace(this.options.iconPosition)}}} 1328this._super(key,value);if(key==="disabled"){this._toggleClass(null,"ui-state-disabled",value);this.element[0].disabled=value;if(value){this.element.trigger("blur")}}},refresh:function(){var isDisabled=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");if(isDisabled!==this.options.disabled){this._setOptions({disabled:isDisabled})} 1329this._updateTooltip()}});if($.uiBackCompat===!0){$.widget("ui.button",$.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){if(this.options.showLabel&&!this.options.text){this.options.showLabel=this.options.text} 1330if(!this.options.showLabel&&this.options.text){this.options.text=this.options.showLabel} 1331if(!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)){if(this.options.icons.primary){this.options.icon=this.options.icons.primary}else{this.options.icon=this.options.icons.secondary;this.options.iconPosition="end"}}else if(this.options.icon){this.options.icons.primary=this.options.icon} 1332this._super()},_setOption:function(key,value){if(key==="text"){this._super("showLabel",value);return} 1333if(key==="showLabel"){this.options.text=value} 1334if(key==="icon"){this.options.icons.primary=value} 1335if(key==="icons"){if(value.primary){this._super("icon",value.primary);this._super("iconPosition","beginning")}else if(value.secondary){this._super("icon",value.secondary);this._super("iconPosition","end")}} 1336this._superApply(arguments)}});$.fn.button=(function(orig){return function(options){var isMethodCall=typeof options==="string";var args=Array.prototype.slice.call(arguments,1);var returnValue=this;if(isMethodCall){if(!this.length&&options==="instance"){returnValue=undefined}else{this.each(function(){var methodValue;var type=$(this).attr("type");var name=type!=="checkbox"&&type!=="radio"?"button":"checkboxradio";var instance=$.data(this,"ui-"+name);if(options==="instance"){returnValue=instance;return!1} 1337if(!instance){return $.error("cannot call methods on button"+" prior to initialization; "+"attempted to call method '"+options+"'")} 1338if(typeof instance[options]!=="function"||options.charAt(0)==="_"){return $.error("no such method '"+options+"' for button"+" widget instance")} 1339methodValue=instance[options].apply(instance,args);if(methodValue!==instance&&methodValue!==undefined){returnValue=methodValue&&methodValue.jquery?returnValue.pushStack(methodValue.get()):methodValue;return!1}})}}else{if(args.length){options=$.widget.extend.apply(null,[options].concat(args))} 1340this.each(function(){var type=$(this).attr("type");var name=type!=="checkbox"&&type!=="radio"?"button":"checkboxradio";var instance=$.data(this,"ui-"+name);if(instance){instance.option(options||{});if(instance._init){instance._init()}}else{if(name==="button"){orig.call($(this),options);return} 1341$(this).checkboxradio($.extend({icon:!1},options))}})} 1342return returnValue}})($.fn.button);$.fn.buttonset=function(){if(!$.ui.controlgroup){$.error("Controlgroup widget missing")} 1343if(arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]){return this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]])} 1344if(arguments[0]==="option"&&arguments[1]==="items"){return this.controlgroup.apply(this,[arguments[0],"items.button"])} 1345if(typeof arguments[0]==="object"&&arguments[0].items){arguments[0].items={button:arguments[0].items}} 1346return this.controlgroup.apply(this,arguments)}} 1347var widgetsButton=$.ui.button;/*! 1348 * jQuery UI Datepicker 1.14.1 1349 * https://jqueryui.com 1350 * 1351 * Copyright OpenJS Foundation and other contributors 1352 * Released under the MIT license. 1353 * https://jquery.org/license 1354 */ 1355$.extend($.ui,{datepicker:{version:"1.14.1"}});var datepicker_instActive;function datepicker_getZindex(elem){var position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}} 1356elem=elem.parent()} 1357return 0} 1358function Datepicker(){this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._datepickerShowing=!1;this._inDialog=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1358ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};$.extend(this._defaults,this.regional[""]);this.regional.en=$.extend(!0,{},this.regional[""]);this.regional["en-US"]=$.extend(!0,{},this.regional.en);this.dpDiv=datepicker_bindHover($("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))} 1359$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(settings){datepicker_extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var nodeName,inline,inst;nodeName=target.nodeName.toLowerCase();inline=(nodeName==="div"||nodeName==="span");if(!target.id){this.uuid+=1;target.id="dp"+this.uuid} 1360inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{});if(nodeName==="input"){this._connectDatepicker(target,inst)}else if(inline){this._inlineDatepicker(target,inst)}},_newInst:function(target,inline){var id=target[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:datepicker_bindHover($("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName)){return} 1361this._attachments(input,inst);input.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp);this._autoSize(inst);$.data(target,"datepicker",inst);if(inst.settings.disabled){this._disableDatepicker(target)}},_attachments:function(input,inst){var showOn,buttonText,buttonImage,appendText=this._get(inst,"appendText"),isRTL=this._get(inst,"isRTL");if(inst.append){inst.append.remove()} 1362if(appendText){inst.append=$("<span>").addClass(this._appendClass).text(appendText);input[isRTL?"before":"after"](inst.append)} 1363input.off("focus",this._showDatepicker);if(inst.trigger){inst.trigger.remove()} 1364showOn=this._get(inst,"showOn");if(showOn==="focus"||showOn==="both"){input.on("focus",this._showDatepicker)} 1365if(showOn==="button"||showOn==="both"){buttonText=this._get(inst,"buttonText");buttonImage=this._get(inst,"buttonImage");if(this._get(inst,"buttonImageOnly")){inst.trigger=$("<img>").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText})}else{inst.trigger=$("<button type='button'>").addClass(this._triggerClass);if(buttonImage){inst.trigger.html($("<img>").attr({src:buttonImage,alt:buttonText,title:buttonText}))}else{inst.trigger.text(buttonText)}} 1366input[isRTL?"before":"after"](inst.trigger);inst.trigger.on("click",function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput===input[0]){$.datepicker._hideDatepicker()}else if($.datepicker._datepickerShowing&&$.datepicker._lastInput!==input[0]){$.datepicker._hideDatepicker();$.datepicker._showDatepicker(input[0])}else{$.datepicker._showDatepicker(input[0])} 1367return!1})}},_autoSize:function(inst){if(this._get(inst,"autoSize")&&!inst.inline){var findMax,max,maxI,i,date=new Date(2009,12-1,20),dateFormat=this._get(inst,"dateFormat");if(dateFormat.match(/[DM]/)){findMax=function(names){max=0;maxI=0;for(i=0;i<names.length;i++){if(names[i].length>max){max=names[i].length;maxI=i}}
1368return maxI};date.setMonth(findMax(this._get(inst,(dateFormat.match(/MM/)?"monthNames":"monthNamesShort"))));date.setDate(findMax(this._get(inst,(dateFormat.match(/DD/)?"dayNames":"dayNamesShort")))+20-date.getDay())} 1369inst.input.attr("size",this._formatDate(inst,date).length)}},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName)){return} 1370divSpan.addClass(this.markerClassName).append(inst.dpDiv);$.data(target,"datepicker",inst);this._setDate(inst,this._getDefaultDate(inst),!0);this._updateDatepicker(inst);this._updateAlternate(inst);if(inst.settings.disabled){this._disableDatepicker(target)} 1371inst.dpDiv.css("display","block")},_dialogDatepicker:function(input,date,onSelect,settings,pos){var id,browserWidth,browserHeight,scrollX,scrollY,inst=this._dialogInst;if(!inst){this.uuid+=1;id="dp"+this.uuid;this._dialogInput=$("<input type='text' id='"+id+"' style='position: absolute; top: -100px; width: 0px;'/>");this._dialogInput.on("keydown",this._doKeyDown);$("body").append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,!1);inst.settings={};$.data(this._dialogInput[0],"datepicker",inst)} 1372datepicker_extendRemove(inst.settings,settings||{});date=(date&&date.constructor===Date?this._formatDate(inst,date):date);this._dialogInput.val(date);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){browserWidth=document.documentElement.clientWidth;browserHeight=document.documentElement.clientHeight;scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]} 1373this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");inst.settings.onSelect=onSelect;this._inDialog=!0;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI){$.blockUI(this.dpDiv)} 1374$.data(this._dialogInput[0],"datepicker",inst);return this},_destroyDatepicker:function(target){var nodeName,$target=$(target),inst=$.data(target,"datepicker");if(!$target.hasClass(this.markerClassName)){return} 1375nodeName=target.nodeName.toLowerCase();$.removeData(target,"datepicker");if(nodeName==="input"){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)}else if(nodeName==="div"||nodeName==="span"){$target.removeClass(this.markerClassName).empty()} 1376$.datepicker._hideDatepicker();if(datepicker_instActive===inst){datepicker_instActive=null;this._curInst=null}},_enableDatepicker:function(target){var nodeName,inline,$target=$(target),inst=$.data(target,"datepicker");if(!$target.hasClass(this.markerClassName)){return} 1377nodeName=target.nodeName.toLowerCase();if(nodeName==="input"){target.disabled=!1;inst.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(nodeName==="div"||nodeName==="span"){inline=$target.children("."+this._inlineClass);inline.children().removeClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)} 1378this._disabledInputs=$.map(this._disabledInputs,function(value){return(value===target?null:value)})},_disableDatepicker:function(target){var nodeName,inline,$target=$(target),inst=$.data(target,"datepicker");if(!$target.hasClass(this.markerClassName)){return} 1379nodeName=target.nodeName.toLowerCase();if(nodeName==="input"){target.disabled=!0;inst.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(nodeName==="div"||nodeName==="span"){inline=$target.children("."+this._inlineClass);inline.children().addClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)} 1380this._disabledInputs=$.map(this._disabledInputs,function(value){return(value===target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return!1} 1381for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]===target){return!0}} 1382return!1},_getInst:function(target){try{return $.data(target,"datepicker")}catch(err){throw "Missing instance data for this datepicker"}},_optionDatepicker:function(target,name,value){var settings,date,minDate,maxDate,inst=this._getInst(target);if(arguments.length===2&&typeof name==="string"){return(name==="defaults"?$.extend({},$.datepicker._defaults):(inst?(name==="all"?$.extend({},inst.settings):this._get(inst,name)):null))} 1383settings=name||{};if(typeof name==="string"){settings={};settings[name]=value} 1384if(inst){if(this._curInst===inst){this._hideDatepicker()} 1385date=this._getDateDatepicker(target,!0);minDate=this._getMinMaxDate(inst,"min");maxDate=this._getMinMaxDate(inst,"max");datepicker_extendRemove(inst.settings,settings);if(minDate!==null&&settings.dateFormat!==undefined&&settings.minDate===undefined){inst.settings.minDate=this._formatDate(inst,minDate)} 1386if(maxDate!==null&&settings.dateFormat!==undefined&&settings.maxDate===undefined){inst.settings.maxDate=this._formatDate(inst,maxDate)} 1387if("disabled" in settings){if(settings.disabled){this._disableDatepicker(target)}else{this._enableDatepicker(target)}} 1388this._attachments($(target),inst);this._autoSize(inst);this._setDate(inst,date);this._updateAlternate(inst);this._updateDatepicker(inst)}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst)}},_setDateDatepicker:function(target,date){var inst=this._getInst(target);if(inst){this._setDate(inst,date);this._updateDatepicker(inst);this._updateAlternate(inst)}},_getDateDatepicker:function(target,noDefault){var inst=this._getInst(target);if(inst&&!inst.inline){this._setDateFromField(inst,noDefault)} 1389return(inst?this._getDate(inst):null)},_doKeyDown:function(event){var onSelect,dateStr,sel,inst=$.datepicker._getInst(event.target),handled=!0,isRTL=inst.dpDiv.is(".ui-datepicker-rtl");inst._keyEvent=!0;if($.datepicker._datepickerShowing){switch(event.keyCode){case 9:$.datepicker._hideDatepicker();handled=!1;break;case 13:sel=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",inst.dpDiv);if(sel[0]){$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0])} 1390onSelect=$.datepicker._get(inst,"onSelect");if(onSelect){dateStr=$.datepicker._formatDate(inst);onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else{$.datepicker._hideDatepicker()} 1391return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M");break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M");break;case 35:if(event.ctrlKey||event.metaKey){$.datepicker._clearDate(event.target)} 1392handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey){$.datepicker._gotoToday(event.target)} 1393handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?+1:-1),"D")} 1394handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M")} 1395break;case 38:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,-7,"D")} 1396handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?-1:+1),"D")} 1397handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M")} 1398break;case 40:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,+7,"D")} 1399handled=event.ctrlKey||event.metaKey;break;default:handled=!1}}else if(event.keyCode===36&&event.ctrlKey){$.datepicker._showDatepicker(this)}else{handled=!1} 1400if(handled){event.preventDefault();event.stopPropagation()}},_doKeyPress:function(event){var chars,chr,inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,"constrainInput")){chars=$.datepicker._possibleChars($.datepicker._get(inst,"dateFormat"));chr=String.fromCharCode(event.charCode==null?event.keyCode:event.charCode);return event.ctrlKey||event.metaKey||(chr<" "||!chars||chars.indexOf(chr)>-1)}},_doKeyUp:function(event){var date,inst=$.datepicker._getInst(event.target);if(inst.input.val()!==inst.lastVal){try{date=$.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),(inst.input?inst.input.val():null),$.datepicker._getFormatConfig(inst));if(date){$.datepicker._setDateFromField(inst);$.datepicker._updateAlternate(inst);$.datepicker._updateDatepicker(inst)}}catch(err){}} 1401return!0}
1401,_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!=="input"){input=$("input",input.parentNode)[0]} 1402if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput===input){return} 1403var inst,beforeShow,beforeShowSettings,isFixed,offset,showAnim,duration;inst=$.datepicker._getInst(input);if($.datepicker._curInst&&$.datepicker._curInst!==inst){$.datepicker._curInst.dpDiv.stop(!0,!0);if(inst&&$.datepicker._datepickerShowing){$.datepicker._hideDatepicker($.datepicker._curInst.input[0])}} 1404beforeShow=$.datepicker._get(inst,"beforeShow");beforeShowSettings=beforeShow?beforeShow.apply(input,[input,inst]):{};if(beforeShowSettings===!1){return} 1405datepicker_extendRemove(inst.settings,beforeShowSettings);inst.lastVal=null;$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog){input.value=""} 1406if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight} 1407isFixed=!1;$(input).parents().each(function(){isFixed|=$(this).css("position")==="fixed";return!isFixed});offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.dpDiv.empty();inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});if(!inst.inline){showAnim=$.datepicker._get(inst,"showAnim");duration=$.datepicker._get(inst,"duration");inst.dpDiv.css("z-index",datepicker_getZindex($(input))+1);$.datepicker._datepickerShowing=!0;if($.effects&&$.effects.effect[showAnim]){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration)}else{inst.dpDiv[showAnim||"show"](showAnim?duration:null)} 1408if($.datepicker._shouldFocusInput(inst)){inst.input.trigger("focus")} 1409$.datepicker._curInst=inst}},_updateDatepicker:function(inst){this.maxRows=4;datepicker_instActive=inst;inst.dpDiv.empty().append(this._generateHTML(inst));this._attachHandlers(inst);var origyearshtml,numMonths=this._getNumberOfMonths(inst),cols=numMonths[1],width=17,activeCell=inst.dpDiv.find("."+this._dayOverClass+" a"),onUpdateDatepicker=$.datepicker._get(inst,"onUpdateDatepicker");if(activeCell.length>0){datepicker_handleMouseover.apply(activeCell.get(0))} 1410inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");if(cols>1){inst.dpDiv.addClass("ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")} 1411inst.dpDiv[(numMonths[0]!==1||numMonths[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi");inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(inst===$.datepicker._curInst&&$.datepicker._datepickerShowing&&$.datepicker._shouldFocusInput(inst)){inst.input.trigger("focus")} 1412if(inst.yearshtml){origyearshtml=inst.yearshtml;setTimeout(function(){if(origyearshtml===inst.yearshtml&&inst.yearshtml){inst.dpDiv.find("select.ui-datepicker-year").first().replaceWith(inst.yearshtml)} 1413origyearshtml=inst.yearshtml=null},0)} 1414if(onUpdateDatepicker){onUpdateDatepicker.apply((inst.input?inst.input[0]:null),[inst])}},_shouldFocusInput:function(inst){return inst.input&&inst.input.is(":visible")&&!inst.input.is(":disabled")},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth(),dpHeight=inst.dpDiv.outerHeight(),inputWidth=inst.input?inst.input.outerWidth():0,inputHeight=inst.input?inst.input.outerHeight():0,viewWidth=document.documentElement.clientWidth+(isFixed?0:$(document).scrollLeft()),viewHeight=document.documentElement.clientHeight+(isFixed?0:$(document).scrollTop());offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left===inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top===(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=Math.min(offset.left,(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0);offset.top-=Math.min(offset.top,(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(dpHeight+inputHeight):0);return offset},_findPos:function(obj){var position,inst=this._getInst(obj),isRTL=this._get(inst,"isRTL");while(obj&&(obj.type==="hidden"||obj.nodeType!==1||$.expr.pseudos.hidden(obj))){obj=obj[isRTL?"previousSibling":"nextSibling"]} 1415position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input){var showAnim,duration,postProcess,onClose,inst=this._curInst;if(!inst||(input&&inst!==$.data(input,"datepicker"))){return} 1416if(this._datepickerShowing){showAnim=this._get(inst,"showAnim");duration=this._get(inst,"duration");postProcess=function(){$.datepicker._tidyDialog(inst)};if($.effects&&($.effects.effect[showAnim])){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[(showAnim==="slideDown"?"slideUp":(showAnim==="fadeIn"?"fadeOut":"hide"))]((showAnim?duration:null),postProcess)} 1417if(!showAnim){postProcess()} 1418this._datepickerShowing=!1;onClose=this._get(inst,"onClose");if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])} 1419this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if($.blockUI){$.unblockUI();$("body").append(this.dpDiv)}} 1420this._inDialog=!1}},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(event){if(!$.datepicker._curInst){return} 1421var $target=$(event.target),inst=$.datepicker._getInst($target[0]);if((($target[0].id!==$.datepicker._mainDivId&&$target.parents("#"+$.datepicker._mainDivId).length===0&&!$target.hasClass($.datepicker.markerClassName)&&!$target.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)))||($target.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!==inst)){$.datepicker._hideDatepicker()}},_adjustDate:function(id,offset,period){var target=$(id),inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return} 1422this._adjustInstDate(inst,offset,period);this._updateDatepicker(inst)},_gotoToday:function(id){var date,target=$(id),inst=this._getInst(target[0]);if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()} 1423this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id),inst=this._getInst(target[0]);inst["selected"+(period==="M"?"Month":"Year")]=inst["draw"+(period==="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_selectDay:function(id,month,year,td){var inst,target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return} 1424inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=parseInt($("a",td).attr("data-date"));inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))},_clearDate:function(id){var target=$(id);this._selectDate(target,"")},_selectDate:function(id,dateStr){var onSelect,target=$(id),inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input){inst.input.val(dateStr)} 1425this._updateAlternate(inst);onSelect=this._get(inst,"onSelect");if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else if(inst.input){inst.input.trigger("change")} 1426if(inst.inline){this._updateDatepicker(inst)}else{this._hideDatepicker();this._lastInput=inst.input[0];if(typeof(inst.input[0])!=="object"){inst.input.trigger("focus")} 1427this._lastInput=null}},_updateAlternate:function(inst){var altFormat,date,dateStr,altField=this._get(inst,"altField");if(altField){altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");date=this._getDate(inst);dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(document).find(altField).val(dateStr)}}
1427,noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),""]},iso8601Week:function(date){var time,checkDate=new Date(date.getTime());checkDate.setDate(checkDate.getDate()+4-(checkDate.getDay()||7));time=checkDate.getTime();checkDate.setMonth(0);checkDate.setDate(1);return Math.floor(Math.round((time-checkDate)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null){throw "Invalid arguments"} 1428value=(typeof value==="object"?value.toString():value+"");if(value===""){return null} 1429var iFormat,dim,extra,iValue=0,shortYearCutoffTemp=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff,shortYearCutoff=(typeof shortYearCutoffTemp!=="string"?shortYearCutoffTemp:new Date().getFullYear()%100+parseInt(shortYearCutoffTemp,10)),dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort,dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames,monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort,monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames,year=-1,month=-1,day=-1,doy=-1,literal=!1,date,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++} 1430return matches},getNumber=function(match){var isDoubled=lookAhead(match),size=(match==="@"?14:(match==="!"?20:(match==="y"&&isDoubled?4:(match==="o"?3:2)))),minSize=(match==="y"?size:1),digits=new RegExp("^\\d{"+minSize+","+size+"}"),num=value.substring(iValue).match(digits);if(!num){throw "Missing number at position "+iValue} 1431iValue+=num[0].length;return parseInt(num[0],10)},getName=function(match,shortNames,longNames){var index=-1,names=$.map(lookAhead(match)?longNames:shortNames,function(v,k){return[[k,v]]}).sort(function(a,b){return-(a[1].length-b[1].length)});$.each(names,function(i,pair){var name=pair[1];if(value.substr(iValue,name.length).toLowerCase()===name.toLowerCase()){index=pair[0];iValue+=name.length;return!1}});if(index!==-1){return index+1}else{throw "Unknown name at position "+iValue}},checkLiteral=function(){if(value.charAt(iValue)!==format.charAt(iFormat)){throw "Unexpected literal at position "+iValue} 1432iValue++};for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=!1}else{checkLiteral()}}else{switch(format.charAt(iFormat)){case "d":day=getNumber("d");break;case "D":getName("D",dayNamesShort,dayNames);break;case "o":doy=getNumber("o");break;case "m":month=getNumber("m");break;case "M":month=getName("M",monthNamesShort,monthNames);break;case "y":year=getNumber("y");break;case "@":date=new Date(getNumber("@"));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case "!":date=new Date((getNumber("!")-this._ticksTo1970)/10000);year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;
1432case "'":if(lookAhead("'")){checkLiteral()}else{literal=!0} 1433break;default:checkLiteral()}}} 1434if(iValue<value.length){extra=value.substr(iValue);if(!/^\s+/.test(extra)){throw "Extra/unparsed characters found in date: "+extra}} 1435if(year===-1){year=new Date().getFullYear()}else if(year<100){year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100)} 1436if(doy>-1){month=1;day=doy;do{dim=this._getDaysInMonth(year,month-1);if(day<=dim){break} 1437month++;day-=dim}while(!0);} 1438date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!==year||date.getMonth()+1!==month||date.getDate()!==day){throw "Invalid date"} 1439return date},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(format,date,settings){if(!date){return""} 1440var iFormat,dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort,dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames,monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort,monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++} 1441return matches},formatNumber=function(match,value,len){var num=""+value;if(lookAhead(match)){while(num.length<len){num="0"+num}} 1442return num},formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])},output="",literal=!1;if(date){for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=!1}else{output+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case "d":output+=formatNumber("d",date.getDate(),2);break;case "D":output+=formatName("D",date.getDay(),dayNamesShort,dayNames);break;case "o":output+=formatNumber("o",Math.round((new Date(date.getFullYear(),date.getMonth(),date.getDate()).getTime()-new Date(date.getFullYear(),0,0).getTime())/86400000),3);break;case "m":output+=formatNumber("m",date.getMonth()+1,2);break;case "M":output+=formatName("M",date.getMonth(),monthNamesShort,monthNames);break;case "y":output+=(lookAhead("y")?date.getFullYear():(date.getFullYear()%100<10?"0":"")+date.getFullYear()%100);break;case "@":output+=date.getTime();break;case "!":output+=date.getTime()*10000+this._ticksTo1970;break;
1442case "'":if(lookAhead("'")){output+="'"}else{literal=!0} 1443break;default:output+=format.charAt(iFormat)}}}} 1444return output},_possibleChars:function(format){var iFormat,chars="",literal=!1,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++} 1445return matches};for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=!1}else{chars+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case "d":case "m":case "y":case "@":chars+="0123456789";break;case "D":case "M":return null;case "'":if(lookAhead("'")){chars+="'"}else{literal=!0} 1446break;default:chars+=format.charAt(iFormat)}}} 1447return chars},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]},_setDateFromField:function(inst,noDefault){if(inst.input.val()===inst.lastVal){return} 1448var dateFormat=this._get(inst,"dateFormat"),dates=inst.lastVal=inst.input?inst.input.val():null,defaultDate=this._getDefaultDate(inst),date=defaultDate,settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate}catch(event){dates=(noDefault?"":dates)} 1449inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst)},_getDefaultDate:function(inst){return this._restrictMinMax(inst,this._determineDate(inst,this._get(inst,"defaultDate"),new Date()))},_determineDate:function(inst,date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date},offsetString=function(offset){try{return $.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),offset,$.datepicker._getFormatConfig(inst))}catch(e){} 1450var date=(offset.toLowerCase().match(/^c/)?$.datepicker._getDate(inst):null)||new Date(),year=date.getFullYear(),month=date.getMonth(),day=date.getDate(),pattern=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,matches=pattern.exec(offset);while(matches){switch(matches[2]||"d"){case "d":case "D":day+=parseInt(matches[1],10);break;case "w":case "W":day+=parseInt(matches[1],10)*7;break;case "m":case "M":month+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break;case "y":case "Y":year+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break} 1451matches=pattern.exec(offset)} 1452return new Date(year,month,day)},newDate=(date==null||date===""?defaultDate:(typeof date==="string"?offsetString(date):(typeof date==="number"?(isNaN(date)?defaultDate:offsetNumeric(date)):new Date(date.getTime()))));newDate=(newDate&&newDate.toString()==="Invalid Date"?defaultDate:newDate);if(newDate){newDate.setHours(0);newDate.setMinutes(0);newDate.setSeconds(0);newDate.setMilliseconds(0)} 1453return this._daylightSavingAdjust(newDate)},_daylightSavingAdjust:function(date){if(!date){return null} 1454date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,noChange){var clear=!date,origMonth=inst.selectedMonth,origYear=inst.selectedYear,newDate=this._restrictMinMax(inst,this._determineDate(inst,date,new Date()));inst.selectedDay=inst.currentDay=newDate.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=newDate.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=newDate.getFullYear();if((origMonth!==inst.selectedMonth||origYear!==inst.selectedYear)&&!noChange){this._notifyChange(inst)} 1455this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?"":this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()==="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_attachHandlers:function(inst){var stepMonths=this._get(inst,"stepMonths"),id="#"+inst.id.replace(/\\\\/g,"\\");inst.dpDiv.find("[data-handler]").map(function(){var handler={prev:function(){$.datepicker._adjustDate(id,-stepMonths,"M")},next:function(){$.datepicker._adjustDate(id,+stepMonths,"M")},hide:function(){$.datepicker._hideDatepicker()},today:function(){$.datepicker._gotoToday(id)},selectDay:function(){$.datepicker._selectDay(id,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return!1},selectMonth:function(){$.datepicker._selectMonthYear(id,this,"M");return!1},selectYear:function(){$.datepicker._selectMonthYear(id,this,"Y");return!1}};$(this).on(this.getAttribute("data-event"),handler[this.getAttribute("data-handler")])})},_generateHTML:function(inst){var maxDraw,prevText,prev,nextText,next,currentText,gotoDate,controls,buttonPanel,firstDay,showWeek,dayNames,dayNamesMin,monthNames,monthNamesShort,beforeShowDay,showOtherMonths,selectOtherMonths,defaultDate,html,dow,row,group,col,selectedDate,cornerClass,calender,thead,day,daysInMonth,leadDays,curRows,numRows,printDate,dRow,tbody,daySettings,otherMonth,unselectable,tempDate=new Date(),today=this._daylightSavingAdjust(new Date(tempDate.getFullYear(),tempDate.getMonth(),tempDate.getDate())),isRTL=this._get(inst,"isRTL"),showButtonPanel=this._get(inst,"showButtonPanel"),hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext"),navigationAsDateFormat=this._get(inst,"navigationAsDateFormat"),numMonths=this._getNumberOfMonths(inst),showCurrentAtPos=this._get(inst,"showCurrentAtPos"),stepMonths=this._get(inst,"stepMonths"),isMultiMonth=(numMonths[0]!==1||numMonths[1]!==1),currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay))),minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),drawMonth=inst.drawMonth-showCurrentAtPos,drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--} 1456if(maxDate){maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-(numMonths[0]*numMonths[1])+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}} 1457inst.drawMonth=drawMonth;inst.drawYear=drawYear;prevText=this._get(inst,"prevText");prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));if(this._canAdjustMonth(inst,-1,drawYear,drawMonth)){prev=$("<a>").attr({"class":"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:prevText}).append($("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(isRTL?"e":"w")).text(prevText))[0].outerHTML}else if(hideIfNoPrevNext){prev=""}else{prev=$("<a>").attr({"class":"ui-datepicker-prev ui-corner-all ui-state-disabled",title:prevText}).append($("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(isRTL?"e":"w")).text(prevText))[0].outerHTML} 1458nextText=this._get(inst,"nextText");nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));if(this._canAdjustMonth(inst,+1,drawYear,drawMonth)){next=$("<a>").attr({"class":"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:nextText}).append($("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(isRTL?"w":"e")).text(nextText))[0].outerHTML}else if(hideIfNoPrevNext){next=""}else{next=$("<a>").attr({"class":"ui-datepicker-next ui-corner-all ui-state-disabled",title:nextText}).append($("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(isRTL?"w":"e")).text(nextText))[0].outerHTML} 1459currentText=this._get(inst,"currentText");gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));controls="";if(!inst.inline){controls=$("<button>").attr({type:"button","class":"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(inst,"closeText"))[0].outerHTML} 1460buttonPanel="";if(showButtonPanel){buttonPanel=$("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(isRTL?controls:"").append(this._isInRange(inst,gotoDate)?$("<button>").attr({type:"button","class":"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}
vendor: 4,283 bytes, lines 1460-1467
1460).text(currentText):"").append(isRTL?"":controls)[0].outerHTML} 1461firstDay=parseInt(this._get(inst,"firstDay"),10);firstDay=(isNaN(firstDay)?0:firstDay);showWeek=this._get(inst,"showWeek");dayNames=this._get(inst,"dayNames");dayNamesMin=this._get(inst,"dayNamesMin");monthNames=this._get(inst,"monthNames");monthNamesShort=this._get(inst,"monthNamesShort");beforeShowDay=this._get(inst,"beforeShowDay");showOtherMonths=this._get(inst,"showOtherMonths");selectOtherMonths=this._get(inst,"selectOtherMonths");defaultDate=this._getDefaultDate(inst);html="";for(row=0;row<numMonths[0];row++){group="";this.maxRows=4;for(col=0;col<numMonths[1];col++){selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));cornerClass=" ui-corner-all";calender="";if(isMultiMonth){calender+="<div class='ui-datepicker-group";if(numMonths[1]>1){switch(col){case 0:calender+=" ui-datepicker-group-first";cornerClass=" ui-corner-"+(isRTL?"right":"left");break;case numMonths[1]-1:calender+=" ui-datepicker-group-last";cornerClass=" ui-corner-"+(isRTL?"left":"right");break;default:calender+=" ui-datepicker-group-middle";cornerClass="";break}} 1462calender+="'>"} 1463calender+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+cornerClass+"'>"+(/all|left/.test(cornerClass)&&row===0?(isRTL?next:prev):"")+(/all|right/.test(cornerClass)&&row===0?(isRTL?prev:next):"")+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,row>0||col>0,monthNames,monthNamesShort)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>";thead=(showWeek?"<th class='ui-datepicker-week-col'>"+this._get(inst,"weekHeader")+"</th>":"");for(dow=0;dow<7;dow++){day=(dow+firstDay)%7;thead+="<th scope='col'"+((dow+firstDay+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+dayNames[day]+"'>"+dayNamesMin[day]+"</span></th>"} 1464calender+=thead+"</tr></thead><tbody>";daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear===inst.selectedYear&&drawMonth===inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)} 1465leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;curRows=Math.ceil((leadDays+daysInMonth)/7);numRows=(isMultiMonth?this.maxRows>curRows?this.maxRows:curRows:curRows);this.maxRows=numRows;printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(dRow=0;dRow<numRows;dRow++){calender+="<tr>";tbody=(!showWeek?"":"<td class='ui-datepicker-week-col'>"+this._get(inst,"calculateWeek")(printDate)+"</td>");for(dow=0;dow<7;dow++){daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[!0,""]);otherMonth=(printDate.getMonth()!==drawMonth);unselectable=(otherMonth&&!selectOtherMonths)||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+="<td class='"+((dow+firstDay+6)%7>=5?" ui-datepicker-week-end":"")+(otherMonth?" ui-datepicker-other-month":"")+((printDate.getTime()===selectedDate.getTime()&&drawMonth===inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()===printDate.getTime()&&defaultDate.getTime()===selectedDate.getTime())?" "+this._dayOverClass:"")+(unselectable?" "+this._unselectableClass+" ui-state-disabled":"")+(otherMonth&&!showOtherMonths?"":" "+daySettings[1]+(printDate.getTime()===currentDate.getTime()?" "+this._currentClass:"")+(printDate.getTime()===today.getTime()?" ui-datepicker-today":""))+"'"+((!otherMonth||showOtherMonths)&&daySettings[2]?" title='"+daySettings[2].replace(/'/g,"'")+"'":"")+(unselectable?"":" data-handler='selectDay' data-event='click' data-month='"+printDate.getMonth()+"' data-year='"+printDate.getFullYear()+"'")+">"+(otherMonth&&!showOtherMonths?" ":(unselectable?"<span class='ui-state-default'>"+printDate.getDate()+"</span>":"<a class='ui-state-default"+(printDate.getTime()===today.getTime()?" ui-state-highlight":"")+(printDate.getTime()===currentDate.getTime()?" ui-state-active":"")+(otherMonth?" ui-priority-secondary":"")+"' href='#' aria-current='"+(printDate.getTime()===currentDate.getTime()?"true":"false")+"' data-date='"+printDate.getDate()+"'>"+printDate.getDate()+"</a>"))+"</td>";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)} 1466calender+=tbody+"</tr>"} 1467drawMonth++;if(drawMonth>
146711){drawMonth=0;drawYear++} 1468calender+="</tbody></table>"+(isMultiMonth?"</div>"+((numMonths[0]>0&&col===numMonths[1]-1)?"<div class='ui-datepicker-row-break'></div>":""):"");group+=calender} 1469html+=group} 1470html+=buttonPanel;inst._keyEvent=!1;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,secondary,monthNames,monthNamesShort){var inMinYear,inMaxYear,month,years,thisYear,determineYear,year,endYear,changeMonth=this._get(inst,"changeMonth"),changeYear=this._get(inst,"changeYear"),showMonthAfterYear=this._get(inst,"showMonthAfterYear"),selectMonthLabel=this._get(inst,"selectMonthLabel"),selectYearLabel=this._get(inst,"selectYearLabel"),html="<div class='ui-datepicker-title'>",monthHtml="";if(secondary||!changeMonth){monthHtml+="<span class='ui-datepicker-month'>"+monthNames[drawMonth]+"</span>"}else{inMinYear=(minDate&&minDate.getFullYear()===drawYear);inMaxYear=(maxDate&&maxDate.getFullYear()===drawYear);monthHtml+="<select class='ui-datepicker-month' aria-label='"+selectMonthLabel+"' data-handler='selectMonth' data-event='change'>";for(month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth())){monthHtml+="<option value='"+month+"'"+(month===drawMonth?" selected='selected'":"")+">"+monthNamesShort[month]+"</option>"}} 1471monthHtml+="</select>"} 1472if(!showMonthAfterYear){html+=monthHtml+(secondary||!(changeMonth&&changeYear)?" ":"")} 1473if(!inst.yearshtml){inst.yearshtml="";if(secondary||!changeYear){html+="<span class='ui-datepicker-year'>"+drawYear+"</span>"}else{years=this._get(inst,"yearRange").split(":");thisYear=new Date().getFullYear();determineYear=function(value){var year=(value.match(/c[+\-].*/)?drawYear+parseInt(value.substring(1),10):(value.match(/[+\-].*/)?thisYear+parseInt(value,10):parseInt(value,10)));return(isNaN(year)?thisYear:year)};year=determineYear(years[0]);endYear=Math.max(year,determineYear(years[1]||""));year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);inst.yearshtml+="<select class='ui-datepicker-year' aria-label='"+selectYearLabel+"' data-handler='selectYear' data-event='change'>";for(;year<=endYear;year++){inst.yearshtml+="<option value='"+year+"'"+(year===drawYear?" selected='selected'":"")+">"+year+"</option>"} 1474inst.yearshtml+="</select>";html+=inst.yearshtml;inst.yearshtml=null}} 1475html+=this._get(inst,"yearSuffix");if(showMonthAfterYear){html+=(secondary||!(changeMonth&&changeYear)?" ":"")+monthHtml} 1476html+="</div>";return html}
1476,_adjustInstDate:function(inst,offset,period){var year=inst.selectedYear+(period==="Y"?offset:0),month=inst.selectedMonth+(period==="M"?offset:0),day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period==="D"?offset:0),date=this._restrictMinMax(inst,this._daylightSavingAdjust(new Date(year,month,day)));inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period==="M"||period==="Y"){this._notifyChange(inst)}},_restrictMinMax:function(inst,date){var minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),newDate=(minDate&&date<minDate?minDate:date);return(maxDate&&newDate>maxDate?maxDate:newDate)},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths==="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax){return this._determineDate(inst,this._get(inst,minMax+"Date"),null)},_getDaysInMonth:function(year,month){return 32-this._daylightSavingAdjust(new Date(year,month,32)).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst),date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[0]*numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))} 1477return this._isInRange(inst,date)},_isInRange:function(inst,date){var yearSplit,currentYear,minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),minYear=null,maxYear=null,years=this._get(inst,"yearRange");if(years){yearSplit=years.split(":");currentYear=new Date().getFullYear();minYear=parseInt(yearSplit[0],10);maxYear=parseInt(yearSplit[1],10);if(yearSplit[0].match(/[+\-].*/)){minYear+=currentYear} 1478if(yearSplit[1].match(/[+\-].*/)){maxYear+=currentYear}} 1479return((!minDate||date.getTime()>=minDate.getTime())&&(!maxDate||date.getTime()<=maxDate.getTime())&&(!minYear||date.getFullYear()>=minYear)&&(!maxYear||date.getFullYear()<=maxYear))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!=="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear} 1480var date=(day?(typeof day==="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function datepicker_bindHover(dpDiv){var selector="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return dpDiv.on("mouseout",selector,function(){$(this).removeClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){$(this).removeClass("ui-datepicker-prev-hover")} 1481if(this.className.indexOf("ui-datepicker-next")!==-1){$(this).removeClass("ui-datepicker-next-hover")}}).on("mouseover",selector,datepicker_handleMouseover)} 1482function datepicker_handleMouseover(){if(!$.datepicker._isDisabledDatepicker(datepicker_instActive.inline?datepicker_instActive.dpDiv.parent()[0]:datepicker_instActive.input[0])){$(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");$(this).addClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){$(this).addClass("ui-datepicker-prev-hover")} 1483if(this.className.indexOf("ui-datepicker-next")!==-1){$(this).addClass("ui-datepicker-next-hover")}}} 1484function datepicker_extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null){target[name]=props[name]}} 1485return target} 1486$.fn.datepicker=function(options){if(!this.length){return this} 1487if(!$.datepicker.initialized){$(document).on("mousedown",$.datepicker._checkExternalClick);$.datepicker.initialized=!0} 1488if($("#"+$.datepicker._mainDivId).length===0){$("body").append($.datepicker.dpDiv)}
1489var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options==="string"&&(options==="isDisabled"||options==="getDate"||options==="widget")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))} 1490if(options==="option"&&arguments.length===2&&typeof arguments[1]==="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))} 1491return this.each(function(){if(typeof options==="string"){$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs))}else{$.datepicker._attachDatepicker(this,options)}})};$.datepicker=new Datepicker();$.datepicker.initialized=!1;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.14.1";var widgetsDatepicker=$.datepicker; 1492/*! 1493 * jQuery UI Mouse 1.14.1 1494 * https://jqueryui.com 1495 * 1496 * Copyright OpenJS Foundation and other contributors 1497 * Released under the MIT license. 1498 * https://jquery.org/license 1499 */ 1500var mouseHandled=!1;$(document).on("mouseup",function(){mouseHandled=!1});var widgetsMouse=$.widget("ui.mouse",{version:"1.14.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var that=this;this.element.on("mousedown."+this.widgetName,function(event){return that._mouseDown(event)}).on("click."+this.widgetName,function(event){if(!0===$.data(event.target,that.widgetName+".preventClickEvent")){$.removeData(event.target,that.widgetName+".preventClickEvent");event.stopImmediatePropagation();return!1}});this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName);if(this._mouseMoveDelegate){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(event){if(mouseHandled){return} 1501this._mouseMoved=!1;if(this._mouseStarted){this._mouseUp(event)} 1502this._mouseDownEvent=event;var that=this,btnIsLeft=event.which===1,elIsCancel=typeof this.options.cancel==="string"?$(event.target).closest(this.options.cancel).length:!1;if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return!0} 1503this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){that.mouseDelayMet=!0},this.options.delay)} 1504if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==!1);if(!this._mouseStarted){event.preventDefault();return!0}} 1505if(!0===$.data(event.target,this.widgetName+".preventClickEvent")){$.removeData(event.target,this.widgetName+".preventClickEvent")} 1506this._mouseMoveDelegate=function(event){return that._mouseMove(event)};this._mouseUpDelegate=function(event){return that._mouseUp(event)};this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate);event.preventDefault();mouseHandled=!0;return!0},_mouseMove:function(event){if(this._mouseMoved&&!event.which){if(event.originalEvent.altKey||event.originalEvent.ctrlKey||event.originalEvent.metaKey||event.originalEvent.shiftKey){this.ignoreMissingWhich=!0}else if(!this.ignoreMissingWhich){return this._mouseUp(event)}} 1507if(event.which||event.button){this._mouseMoved=!0} 1508if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault()} 1509if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==!1);if(this._mouseStarted){this._mouseDrag(event)}else{this._mouseUp(event)}} 1510return!this._mouseStarted},_mouseUp:function(event){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=!1;if(event.target===this._mouseDownEvent.target){$.data(event.target,this.widgetName+".preventClickEvent",!0)} 1511this._mouseStop(event)} 1512if(this._mouseDelayTimer){clearTimeout(this._mouseDelayTimer);delete this._mouseDelayTimer} 1513this.ignoreMissingWhich=!1;mouseHandled=!1;event.preventDefault()},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});var plugin=$.ui.plugin={add:function(module,option,set){var i,proto=$.ui[module].prototype;for(i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args,allowDisconnected){var i,set=instance.plugins[name];if(!set){return} 1514if(!allowDisconnected&&(!instance.element[0].parentNode||instance.element[0].parentNode.nodeType===11)){return} 1515for(i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}}; 1516/*! 1517 * jQuery UI Draggable 1.14.1 1518 * https://jqueryui.com 1519 * 1520 * Copyright OpenJS Foundation and other contributors 1521 * Released under the MIT license. 1522 * https://jquery.org/license 1523 */ 1524$.widget("ui.draggable",$.ui.mouse,{version:"1.14.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,
1524containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){if(this.options.helper==="original"){this._setPositionRelative()} 1525if(this.options.addClasses){this._addClass("ui-draggable")} 1526this._setHandleClassName();this._mouseInit()},_setOption:function(key,value){this._super(key,value);if(key==="handle"){this._removeHandleClassName();this._setHandleClassName()}},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return} 1527this._removeHandleClassName();this._mouseDestroy()},_mouseCapture:function(event){var o=this.options;if(this.helper||o.disabled||$(event.target).closest(".ui-resizable-handle").length>0){return!1} 1528this.handle=this._getHandle(event);if(!this.handle){return!1} 1529this._blurActiveElement(event);this._blockFrames(o.iframeFix===!0?"iframe":o.iframeFix);return!0},_blockFrames:function(selector){this.iframeBlocks=this.document.find(selector).map(function(){var iframe=$(this);return $("<div>").css("position","absolute").appendTo(iframe.parent()).outerWidth(iframe.outerWidth()).outerHeight(iframe.outerHeight()).offset(iframe.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_blurActiveElement:function(event){var activeElement=this.document[0].activeElement,target=$(event.target);if(target.closest(activeElement).length){return} 1530$(activeElement).trigger("blur")},_mouseStart:function(event){var o=this.options;this.helper=this._createHelper(event);this._addClass(this.helper,"ui-draggable-dragging");this._cacheHelperProportions();if($.ui.ddmanager){$.ui.ddmanager.current=this} 1531this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent(!0);this.offsetParent=this.helper.offsetParent();this.hasFixedAncestor=this.helper.parents().filter(function(){return $(this).css("position")==="fixed"}).length>0;this.positionAbs=this.element.offset();this._refreshOffsets(event);this.originalPosition=this.position=this._generatePosition(event,!1);this.originalPageX=event.pageX;this.originalPageY=event.pageY;if(o.cursorAt){this._adjustOffsetFromHelper(o.cursorAt)} 1532this._setContainment();if(this._trigger("start",event)===!1){this._clear();return!1} 1533this._cacheHelperProportions();if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)} 1534this._mouseDrag(event,!0);if($.ui.ddmanager){$.ui.ddmanager.dragStart(this,event)} 1535return!0},_refreshOffsets:function(event){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()};this.offset.click={left:event.pageX-this.offset.left,top:event.pageY-this.offset.top}},_mouseDrag:function(event,noPropagation){if(this.hasFixedAncestor){this.offset.parent=this._getParentOffset()} 1536this.position=this._generatePosition(event,!0);this.positionAbs=this._convertPositionTo("absolute");if(!noPropagation){var ui=this._uiHash();if(this._trigger("drag",event,ui)===!1){this._mouseUp(new $.Event("mouseup",event));return!1} 1537this.position=ui.position} 1538this.helper[0].style.left=this.position.left+"px";this.helper[0].style.top=this.position.top+"px";if($.ui.ddmanager){$.ui.ddmanager.drag(this,event)} 1539return!1},_mouseStop:function(event){var that=this,dropped=!1;if($.ui.ddmanager&&!this.options.dropBehaviour){dropped=$.ui.ddmanager.drop(this,event)} 1540if(this.dropped){dropped=this.dropped;this.dropped=!1} 1541if((this.options.revert==="invalid"&&!dropped)||(this.options.revert==="valid"&&dropped)||this.options.revert===!0||(typeof this.options.revert==="function"&&this.options.revert.call(this.element,dropped))){$(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(that._trigger("stop",event)!==!1){that._clear()}})}else{if(this._trigger("stop",event)!==!1){this._clear()}} 1542return!1},_mouseUp:function(event){this._unblockFrames();if($.ui.ddmanager){$.ui.ddmanager.dragStop(this,event)} 1543if(this.handleElement.is(event.target)){this.element.trigger("focus")} 1544return $.ui.mouse.prototype._mouseUp.call(this,event)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp(new $.Event("mouseup",{target:this.element[0]}))}else{this._clear()} 1545return this},_getHandle:function(event){return this.options.handle?!!$(event.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element;this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(event){var o=this.options,helperIsFunction=typeof o.helper==="function",helper=helperIsFunction?$(o.helper.apply(this.element[0],[event])):(o.helper==="clone"?this.element.clone().removeAttr("id"):this.element);if(!helper.parents("body").length){helper.appendTo((o.appendTo==="parent"?this.element[0].parentNode:o.appendTo))} 1546if(helperIsFunction&&helper[0]===this.element[0]){this._setPositionRelative()} 1547if(helper[0]!==this.element[0]&&!(/(fixed|absolute)/).test(helper.css("position"))){helper.css("position","absolute")} 1548return helper},_setPositionRelative:function(){if(!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}}
1548,_adjustOffsetFromHelper:function(obj){if(typeof obj==="string"){obj=obj.split(" ")} 1549if(Array.isArray(obj)){obj={left:+obj[0],top:+obj[1]||0}} 1550if("left" in obj){this.offset.click.left=obj.left+this.margins.left} 1551if("right" in obj){this.offset.click.left=this.helperProportions.width-obj.right+this.margins.left} 1552if("top" in obj){this.offset.click.top=obj.top+this.margins.top} 1553if("bottom" in obj){this.offset.click.top=this.helperProportions.height-obj.bottom+this.margins.top}},_isRootNode:function(element){return(/(html|body)/i).test(element.tagName)||element===this.document[0]},_getParentOffset:function(){var po=this.offsetParent.offset(),document=this.document[0];if(this.cssPosition==="absolute"&&this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0])){po.left+=this.scrollParent.scrollLeft();po.top+=this.scrollParent.scrollTop()} 1554if(this._isRootNode(this.offsetParent[0])){po={top:0,left:0}} 1555return{top:po.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:po.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative"){return{top:0,left:0}} 1556var p=this.element.position(),scrollIsRootNode=this._isRootNode(this.scrollParent[0]);return{top:p.top-(parseInt(this.helper.css("top"),10)||0)+(!scrollIsRootNode?this.scrollParent.scrollTop():0),left:p.left-(parseInt(this.helper.css("left"),10)||0)+(!scrollIsRootNode?this.scrollParent.scrollLeft():0)}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var isUserScrollable,c,ce,o=this.options,document=this.document[0];this.relativeContainer=null;if(!o.containment){this.containment=null;return} 1557if(o.containment==="window"){this.containment=[$(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,$(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,$(window).scrollLeft()+$(window).width()-this.helperProportions.width-this.margins.left,$(window).scrollTop()+($(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return} 1558if(o.containment==="document"){this.containment=[0,0,$(document).width()-this.helperProportions.width-this.margins.left,($(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return} 1559if(o.containment.constructor===Array){this.containment=o.containment;return} 1560if(o.containment==="parent"){o.containment=this.helper[0].parentNode} 1561c=$(o.containment);ce=c[0];if(!ce){return} 1562isUserScrollable=/(scroll|auto)/.test(c.css("overflow"));this.containment=[(parseInt(c.css("borderLeftWidth"),10)||0)+(parseInt(c.css("paddingLeft"),10)||0),(parseInt(c.css("borderTopWidth"),10)||0)+(parseInt(c.css("paddingTop"),10)||0),(isUserScrollable?Math.max(ce.scrollWidth,ce.offsetWidth):ce.offsetWidth)-(parseInt(c.css("borderRightWidth"),10)||0)-(parseInt(c.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(isUserScrollable?Math.max(ce.scrollHeight,ce.offsetHeight):ce.offsetHeight)-(parseInt(c.css("borderBottomWidth"),10)||0)-(parseInt(c.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relativeContainer=c},_convertPositionTo:function(d,pos){if(!pos){pos=this.position} 1563var mod=d==="absolute"?1:-1,scrollIsRootNode=this._isRootNode(this.scrollParent[0]);return{top:(pos.top+this.offset.relative.top*mod+this.offset.parent.top*mod-((this.cssPosition==="fixed"?-this.offset.scroll.top:(scrollIsRootNode?0:this.offset.scroll.top))*mod)),left:(pos.left+this.offset.relative.left*mod+this.offset.parent.left*mod-((this.cssPosition==="fixed"?-this.offset.scroll.left:(scrollIsRootNode?0:this.offset.scroll.left))*mod))}},_generatePosition:function(event,constrainPosition){var containment,co,top,left,o=this.options,scrollIsRootNode=this._isRo
1563otNode(this.scrollParent[0]),pageX=event.pageX,pageY=event.pageY;if(!scrollIsRootNode||!this.offset.scroll){this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}} 1564if(constrainPosition){if(this.containment){if(this.relativeContainer){co=this.relativeContainer.offset();containment=[this.containment[0]+co.left,this.containment[1]+co.top,this.containment[2]+co.left,this.containment[3]+co.top]}else{containment=this.containment} 1565if(event.pageX-this.offset.click.left<containment[0]){pageX=containment[0]+this.offset.click.left} 1566if(event.pageY-this.offset.click.top<containment[1]){pageY=containment[1]+this.offset.click.top} 1567if(event.pageX-this.offset.click.left>containment[2]){pageX=containment[2]+this.offset.click.left} 1568if(event.pageY-this.offset.click.top>containment[3]){pageY=containment[3]+this.offset.click.top}} 1569if(o.grid){top=o.grid[1]?this.originalPageY+Math.round((pageY-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY;pageY=containment?((top-this.offset.click.top>=containment[1]||top-this.offset.click.top>containment[3])?top:((top-this.offset.click.top>=containment[1])?top-o.grid[1]:top+o.grid[1])):top;left=o.grid[0]?this.originalPageX+Math.round((pageX-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX;pageX=containment?((left-this.offset.click.left>=containment[0]||left-this.offset.click.left>containment[2])?left:((left-this.offset.click.left>=containment[0])?left-o.grid[0]:left+o.grid[0])):left} 1570if(o.axis==="y"){pageX=this.originalPageX} 1571if(o.axis==="x"){pageY=this.originalPageY}} 1572return{top:(pageY-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:(scrollIsRootNode?0:this.offset.scroll.top))),left:(pageX-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:(scrollIsRootNode?0:this.offset.scroll.left)))}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging");if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()} 1573this.helper=null;this.cancelHelperRemoval=!1;if(this.destroyOnClear){this.destroy()}},_trigger:function(type,event,ui){ui=ui||this._uiHash();$.ui.plugin.call(this,type,[event,ui,this],!0);
1573if(/^(drag|start|stop)/.test(type)){this.positionAbs=this._convertPositionTo("absolute");ui.offset=this.positionAbs} 1574return $.Widget.prototype._trigger.call(this,type,event,ui)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});$.ui.plugin.add("draggable","connectToSortable",{start:function(event,ui,draggable){var uiSortable=$.extend({},ui,{item:draggable.element});draggable.sortables=[];$(draggable.options.connectToSortable).each(function(){var sortable=$(this).sortable("instance");if(sortable&&!sortable.options.disabled){draggable.sortables.push(sortable);sortable.refreshPositions();sortable._trigger("activate",event,uiSortable)}})},stop:function(event,ui,draggable){var uiSortable=$.extend({},ui,{item:draggable.element});draggable.cancelHelperRemoval=!1;$.each(draggable.sortables,function(){var sortable=this;if(sortable.isOver){sortable.isOver=0;draggable.cancelHelperRemoval=!0;sortable.cancelHelperRemoval=!1;sortable._storedCSS={position:sortable.placeholder.css("position"),top:sortable.placeholder.css("top"),left:sortable.placeholder.css("left")};sortable._mouseStop(event);sortable.options.helper=sortable.options._helper}else{sortable.cancelHelperRemoval=!0;sortable._trigger("deactivate",event,uiSortable)}})},drag:function(event,ui,draggable){$.each(draggable.sortables,function(){var innermostIntersecting=!1,sortable=this;sortable.positionAbs=draggable.positionAbs;sortable.helperProportions=draggable.helperProportions;sortable.offset.click=draggable.offset.click;if(sortable._intersectsWith(sortable.containerCache)){innermostIntersecting=!0;$.each(draggable.sortables,function(){this.positionAbs=draggable.positionAbs;this.helperProportions=draggable.helperProportions;this.offset.click=draggable.offset.click;if(this!==sortable&&this._intersectsWith(this.containerCache)&&$.contains(sortable.element[0],this.element[0])){innermostIntersecting=!1} 1575return innermostIntersecting})} 1576if(innermostIntersecting){if(!sortable.isOver){sortable.isOver=1;draggable._parent=ui.helper.parent();sortable.currentItem=ui.helper.appendTo(sortable.element).data("ui-sortable-item",!0);sortable.options._helper=sortable.options.helper;sortable.options.helper=function(){return ui.helper[0]};event.target=sortable.currentItem[0];sortable._mouseCapture(event,!0);sortable._mouseStart(event,!0,!0);sortable.offset.click.top=draggable.offset.click.top;sortable.offset.click.left=draggable.offset.click.left;sortable.offset.parent.left-=draggable.offset.parent.left-sortable.offset.parent.left;sortable.offset.parent.top-=draggable.offset.parent.top-sortable.offset.parent.top;draggable._trigger("toSortable",event);draggable.dropped=sortable.element;$.each(draggable.sortables,function(){this.refreshPositions()});draggable.currentItem=draggable.element;sortable.fromOutside=draggable} 1577if(sortable.currentItem){sortable._mouseDrag(event);ui.position=sortable.position}}else{if(sortable.isOver){sortable.isOver=0;sortable.cancelHelperRemoval=!0;sortable.options._revert=sortable.options.revert;sortable.options.revert=!1;sortable._trigger("out",event,sortable._uiHash(sortable));sortable._mouseStop(event,!0);sortable.options.revert=sortable.options._revert;sortable.options.helper=sortable.options._helper;if(sortable.placeholder){sortable.placeholder.remove()} 1578ui.helper.appendTo(draggable._parent);draggable._refreshOffsets(event);ui.position=draggable._generatePosition(event,!0);draggable._trigger("fromSortable",event);draggable.dropped=!1;$.each(draggable.sortables,function(){this.refreshPositions()})}}})}});$.ui.plugin.add("draggable","cursor",{start:function(event,ui,instance){var t=$("body"),o=instance.options;if(t.css("cursor")){o._cursor=t.css("cursor")} 1579t.css("cursor",o.cursor)},stop:function(event,ui,instance){var o=instance.options;if(o._cursor){$("body").css("cursor",o._cursor)}}});$.ui.plugin.add("draggable","opacity",{start:function(event,ui,instance){var t=$(ui.helper),o=instance.options;if(t.css("opacity")){o._opacity=t.css("opacity")} 1580t.css("opacity",o.opacity)},stop:function(event,ui,instance){var o=instance.options;if(o._opacity){$(ui.helper).css("opacity",o._opacity)}}});$.ui.plugin.add("draggable","scroll",{start:function(event,ui,i){if(!i.scrollParentNotHidden){i.scrollParentNotHidden=i.helper.scrollParent(!1)} 1581if(i.scrollParentNotHidden[0]!==i.document[0]&&i.scrollParentNotHidden[0].tagName!=="HTML"){i.overflowOffset=i.scrollParentNotHidden.offset()}},drag:function(event,ui,i){var o=i.options,scrolled=!1,scrollParent=i.scrollParentNotHidden[0],document=i.document[0];if(scrollParent!==document&&scrollParent.tagName!=="HTML"){if(!o.axis||o.axis!=="x"){if((i.overflowOffset.top+scrollParent.offsetHeight)-event.pageY<o.scrollSensitivity){scrollParent.scrollTop=scrolled=scrollParent.scrollTop+o.scrollSpeed}else if(event.pageY-i.overflowOffset.top<o.scrollSensitivity){scrollParent.scrollTop=scrolled=scrollParent.scrollTop-o.scrollSpeed}} 1582if(!o.axis||o.axis!=="y"){if((i.overflowOffset.left+scrollParent.offsetWidth)-event.pageX<o.scrollSensitivity){scrollParent.scrollLeft=scrolled=scrollParent.scrollLeft+o.scrollSpeed}else if(event.pageX-i.overflowOffset.left<o.scrollSensitivity){scrollParent.scrollLeft=scrolled=scrollParent.scrollLeft-o.scrollSpeed}}}else{if(!o.axis||o.axis!=="x"){if(event.pageY-$(document).scrollTop()<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()-o.scrollSpeed)}else if($(window).height()-(event.pageY-$(document).scrollTop())<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()+o.scrollSpeed)}} 1583if(!o.axis||o.axis!=="y"){if(event.pageX-$(document).scrollLeft()<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()-o.scrollSpeed)}else if($(window).width()-(event.pageX-$(document).scrollLeft())<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()+o.scrollSpeed)}}} 1584if(scrolled!==!1&&$.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(i,event)}}});$.ui.plugin.add("draggable","snap",{start:function(event,ui,i){var o=i.options;i.snapElements=[];$(o.snap.constructor!==String?(o.snap.items||":data(ui-draggable)"):o.snap).each(function(){var $t=$(this),$o=$t.offset();if(this!==i.element[0]){i.snapElements.push({item:this,width:$t.outerWidth(),height:$t.outerHeight(),top:$o.top,left
1584:$o.left})}})},drag:function(event,ui,inst){var ts,bs,ls,rs,l,r,t,b,i,first,o=inst.options,d=o.snapTolerance,x1=ui.offset.left,x2=x1+inst.helperProportions.width,y1=ui.offset.top,y2=y1+inst.helperProportions.height;for(i=inst.snapElements.length-1;i>=0;i--){l=inst.snapElements[i].left-inst.margins.left;r=l+inst.snapElements[i].width;t=inst.snapElements[i].top-inst.margins.top;b=t+inst.snapElements[i].height;if(x2<l-d||x1>r+d||y2<t-d||y1>b+d||!$.contains(inst.snapElements[i].item.ownerDocument,inst.snapElements[i].item)){if(inst.snapElements[i].snapping){if(inst.options.snap.release){inst.options.snap.release.call(inst.element,event,$.extend(inst._uiHash(),{snapItem:inst.snapElements[i].item}))}} 1585inst.snapElements[i].snapping=!1;continue} 1586if(o.snapMode!=="inner"){ts=Math.abs(t-y2)<=d;bs=Math.abs(b-y1)<=d;ls=Math.abs(l-x2)<=d;rs=Math.abs(r-x1)<=d;if(ts){ui.position.top=inst._convertPositionTo("relative",{top:t-inst.helperProportions.height,left:0}).top} 1587if(bs){ui.position.top=inst._convertPositionTo("relative",{top:b,left:0}).top} 1588if(ls){ui.position.left=inst._convertPositionTo("relative",{top:0,left:l-inst.helperProportions.width}).left} 1589if(rs){ui.position.left=inst._convertPositionTo("relative",{top:0,left:r}).left}} 1590first=(ts||bs||ls||rs);if(o.snapMode!=="outer"){ts=Math.abs(t-y1)<=d;bs=Math.abs(b-y2)<=d;ls=Math.abs(l-x1)<=d;rs=Math.abs(r-x2)<=d;if(ts){ui.position.top=inst._convertPositionTo("relative",{top:t,left:0}).top} 1591if(bs){ui.position.top=inst._convertPositionTo("relative",{top:b-inst.helperProportions.height,left:0}).top} 1592if(ls){ui.position.left=inst._convertPositionTo("relative",{top:0,left:l}).left} 1593if(rs){ui.position.left=inst._convertPositionTo("relative",{top:0,left:r-inst.helperProportions.width}).left}} 1594if(!inst.snapElements[i].snapping&&(ts||bs||ls||rs||first)){if(inst.options.snap.snap){inst.options.snap.snap.call(inst.element,event,$.extend(inst._uiHash(),{snapItem:inst.snapElements[i].item}))}} 1595inst.snapElements[i].snapping=(ts||bs||ls||rs||first)}}});$.ui.plugin.add("draggable","stack",{start:function(event,ui,instance){var min,o=instance.options,group=$.makeArray($(o.stack)).sort(function(a,b){return(parseInt($(a).css("zIndex"),10)||0)-(parseInt($(b).css("zIndex"),10)||0)});if(!group.length){return} 1596min=parseInt($(group[0]).css("zIndex"),10)||0;$(group).each(function(i){$(this).css("zIndex",min+i)});this.css("zIndex",(min+group.length))}});$.ui.plugin.add("draggable","zIndex",{start:function(event,ui,instance){var t=$(ui.helper),o=instance.options;if(t.css("zIndex")){o._zIndex=t.css("zIndex")} 1597t.css("zIndex",o.zIndex)},stop:function(event,ui,instance){var o=instance.options;if(o._zIndex){$(ui.helper).css("zIndex",o._zIndex)}}});var widgetsDraggable=$.ui.draggable; 1598/*! 1599 * jQuery UI Resizable 1.14.1 1600 * https://jqueryui.com 1601 * 1602 * Copyright OpenJS Foundation and other contributors 1603 * Released under the MIT license. 1604 * https://jquery.org/license 1605 */ 1606$.widget("ui.resizable",$.ui.mouse,{version:"1.14.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(value){return parseFloat(value)||0},_isNumber:function(value){return!isNaN(parseFloat(value))},_hasScroll:function(el,a){var scroll,has=!1,overflow=$(el).css("overflow");if(overflow==="hidden"){return!1} 1607if(overflow==="scroll"){return!0} 1608scroll=(a&&a==="left")?"scrollLeft":"scrollTop";if(el[scroll]>0){return!0} 1609try{el[scroll]=1;has=(el[scroll]>0);el[scroll]=0}catch(e){} 1610return has},_create:function(){var margins,o=this.options,that=this;this._addClass("ui-resizable");$.extend(this,{_aspectRatio:!!(o.aspectRatio),aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)){this.element.wrap($("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance"));this.elementIsWrapper=!0;margins={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")};this.element.css(margins);this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this._proportionallyResize()} 1611this._setupHandles();if(o.autoHide){$(this.element).on("mouseenter",function(){if(o.disabled){return} 1612that._removeClass("ui-resizable-autohide");that._handles.show()}).on("mouseleave",function(){if(o.disabled){return} 1613if(!that.resizing){that._addClass("ui-resizable-autohide");that._handles.hide()}})} 1614this._mouseInit()},_destroy:function(){this._mouseDestroy();this._addedHandles.remove();var wrapper,_destroy=function(exp){$(exp).removeData("resizable").removeData("ui-resizable").off(".resizable")};if(this.elementIsWrapper){_destroy(this.element);wrapper=this.element;this.originalElement.css({position:wrapper.css("position"),width:wrapper.outerWidth(),height:wrapper.outerHeight(),top:wrapper.css("top"),left:wrapper.css("left")}).insertAfter(wrapper);wrapper.remove()} 1615this.originalElement.css("resize",this.originalResizeStyle);_destroy(this.originalElement);return this},_setOption:function(key,value){this._super(key,value);switch(key){case "handles":this._removeHandles();this._setupHandles();break;case "aspectRatio":this._aspectRatio=!!value;break;default:break}},_setupHandles:function(){var o=this.options,handle,i,n,hname,axis,that=this;this.handles=o.handles||(!$(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});this._handles=$();this._addedHandles=$();if(this.handles.constructor===String){if(this.handles==="all"){this.handles="n,e,s,w,se,sw,ne,nw"} 1616n=this.handles.split(",");this.handles={};for(i=0;i<n.length;i++){handle=String.prototype.trim.call(n[i]);hname="ui-resizable-"+handle;axis=$("<div>");this._addClass(axis,"ui-resizable-handle "+hname);axis.css({zIndex:o.zIndex});this.handles[handle]=".ui-resizable-"+handle;if(!this.element.children(this.handles[handle]).length){this.element.append(axis);this._addedHandles=this._addedHandles.add(axis)}}} 1617this._renderAxis=function(target){var i,axis,padPos,padWrapper;target=target||this.element;
1617for(i in this.handles){if(this.handles[i].constructor===String){this.handles[i]=this.element.children(this.handles[i]).first().show()}else if(this.handles[i].jquery||this.handles[i].nodeType){this.handles[i]=$(this.handles[i]);this._on(this.handles[i],{"mousedown":that._mouseDown})} 1618if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)){axis=$(this.handles[i],this.element);padWrapper=/sw|ne|nw|se|n|s/.test(i)?axis.outerHeight():axis.outerWidth();padPos=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");target.css(padPos,padWrapper);this._proportionallyResize()} 1619this._handles=this._handles.add(this.handles[i])}};this._renderAxis(this.element);this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));this._handles.disableSelection();this._handles.on("mouseover",function(){if(!that.resizing){if(this.className){axis=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)} 1620that.axis=axis&&axis[1]?axis[1]:"se"}});if(o.autoHide){this._handles.hide();this._addClass("ui-resizable-autohide")}},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(event){var i,handle,capture=!1;for(i in this.handles){handle=$(this.handles[i])[0];if(handle===event.target||$.contains(handle,event.target)){capture=!0}} 1621return!this.options.disabled&&capture},_mouseStart:function(event){var curleft,curtop,cursor,calculatedSize,o=this.options,el=this.element;this.resizing=!0;this._renderProxy();curleft=this._num(this.helper.css("left"));curtop=this._num(this.helper.css("top"));if(o.containment){curleft+=$(o.containment).scrollLeft()||0;curtop+=$(o.containment).scrollTop()||0} 1622this.offset=this.helper.offset();this.position={left:curleft,top:curtop};if(!this._helper){calculatedSize=this._calculateAdjustedElementDimensions(el)} 1623this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:calculatedSize.width,height:calculatedSize.height};this.originalSize=this._helper?{width:el.outerWidth(),height:el.outerHeight()}:{width:calculatedSize.width,height:calculatedSize.height};this.sizeDiff={width:el.outerWidth()-el.width(),height:el.outerHeight()-el.height()};this.originalPosition={left:curleft,top:curtop};this.originalMousePosition={left:event.pageX,top:event.pageY};this.aspectRatio=(typeof o.aspectRatio==="number")?o.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);cursor=$(".ui-resizable-"+this.axis).css("cursor");$("body").css("cursor",cursor==="auto"?this.axis+"-resize":cursor);this._addClass("ui-resizable-resizing");this._propagate("start",event);return!0},_mouseDrag:function(event){var data,props,smp=this.originalMousePosition,a=this.axis,dx=(event.pageX-smp.left)||0,dy=(event.pageY-smp.top)||0,trigger=this._change[a];this._updatePrevProperties();if(!trigger){return!1} 1624data=trigger.apply(this,[event,dx,dy]);this._updateVirtualBoundaries(event.shiftKey);if(this._aspectRatio||event.shiftKey){data=this._updateRatio(data,event)} 1625data=this._respectSize(data,event);this._updateCache(data);this._propagate("resize",event);props=this._applyChanges();if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()} 1626if(!$.isEmptyObject(props)){this._updatePrevProperties();this._trigger("resize",event,this.ui());this._applyChanges()} 1627return!1},_mouseStop:function(event){this.resizing=!1;var pr,ista,soffseth,soffsetw,s,left,top,o=this.options,that=this;if(this._helper){pr=this._proportionallyResizeElements;ista=pr.length&&(/textarea/i).test(pr[0].nodeName);soffseth=ista&&this._hasScroll(pr[0],"left")?0:that.sizeDiff.height;soffsetw=ista?0:that.sizeDiff.width;s={width:(that.helper.width()-soffsetw),height:(that.helper.height()-soffseth)};left=(parseFloat(that.element.css("left"))+(that.position.left-that.originalPosition.left))||null;top=(parseFloat(that.element.css("top"))+(that.position.top-that.originalPosition.top))||null;if(!o.animate){this.element.css($.extend(s,{top:top,left:left}))} 1628that.helper.height(that.size.height);that.helper.width(that.size.width);if(this._helper&&!o.animate){this._proportionallyResize()}} 1629$("body").css("cursor","auto");this._removeClass("ui-resizable-resizing");this._propagate("stop",event);if(this._helper){this.helper.remove()} 1630return!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left
1630:this.position.left};this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var props={};if(this.position.top!==this.prevPosition.top){props.top=this.position.top+"px"} 1631if(this.position.left!==this.prevPosition.left){props.left=this.position.left+"px"} 1632this.helper.css(props);if(this.size.width!==this.prevSize.width){props.width=this.size.width+"px";this.helper.width(props.width)} 1633if(this.size.height!==this.prevSize.height){props.height=this.size.height+"px";this.helper.height(props.height)} 1634return props},_updateVirtualBoundaries:function(forceAspectRatio){var pMinWidth,pMaxWidth,pMinHeight,pMaxHeight,b,o=this.options;b={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:Infinity,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:Infinity};if(this._aspectRatio||forceAspectRatio){pMinWidth=b.minHeight*this.aspectRatio;pMinHeight=b.minWidth/this.aspectRatio;pMaxWidth=b.maxHeight*this.aspectRatio;pMaxHeight=b.maxWidth/this.aspectRatio;if(pMinWidth>b.minWidth){b.minWidth=pMinWidth} 1635if(pMinHeight>b.minHeight){b.minHeight=pMinHeight} 1636if(pMaxWidth<b.maxWidth){b.maxWidth=pMaxWidth} 1637if(pMaxHeight<b.maxHeight){b.maxHeight=pMaxHeight}} 1638this._vBoundaries=b},_updateCache:function(data){this.offset=this.helper.offset();if(this._isNumber(data.left)){this.position.left=data.left} 1639if(this._isNumber(data.top)){this.position.top=data.top} 1640if(this._isNumber(data.height)){this.size.height=data.height} 1641if(this._isNumber(data.width)){this.size.width=data.width}},_updateRatio:function(data){var cpos=this.position,csize=this.size,a=this.axis;if(this._isNumber(data.height)){data.width=(data.height*this.aspectRatio)}else if(this._isNumber(data.width)){data.height=(data.width/this.aspectRatio)} 1642if(a==="sw"){data.left=cpos.left+(csize.width-data.width);data.top=null} 1643if(a==="nw"){data.top=cpos.top+(csize.height-data.height);data.left=cpos.left+(csize.width-data.width)} 1644return data},_respectSize:function(data){var o=this._vBoundaries,a=this.axis,ismaxw=this._isNumber(data.width)&&o.maxWidth&&(o.maxWidth<data.width),ismaxh=this._isNumber(data.height)&&o.maxHeight&&(o.maxHeight<data.height),isminw=this._isNumber(data.width)&&o.minWidth&&(o.minWidth>data.width),isminh=this._isNumber(data.height)&&o.minHeight&&(o.minHeight>data.height),dw=this.originalPosition.left+this.originalSize.width,dh=this.originalPosition.top+this.originalSize.height,cw=/sw|nw|w/.test(a),ch=/nw|ne|n/.test(a);if(isminw){data.width=o.minWidth} 1645if(isminh){data.height=o.minHeight} 1646if(ismaxw){data.width=o.maxWidth} 1647if(ismaxh){data.height=o.maxHeight} 1648if(isminw&&cw){data.left=dw-o.minWidth} 1649if(ismaxw&&cw){data.left=dw-o.maxWidth} 1650if(isminh&&ch){data.top=dh-o.minHeight} 1651if(ismaxh&&ch){data.top=dh-o.maxHeight} 1652if(!data.width&&!data.height&&!data.left&&data.top){data.top=null}else if(!data.width&&!data.height&&!data.top&&data.left){data.left=null} 1653return data},_getPaddingPlusBorderDimensions:function(element){var i=0,widths=[],borders=[element.css("borderTopWidth"),element.css("borderRightWidth"),element.css("borderBottomWidth"),element.css("borderLeftWidth")],paddings=[element.css("paddingTop"),element.css("paddingRight"),element.css("paddingBottom"),element.css("paddingLeft")];for(;i<4;i++){widths[i]=(parseFloat(borders[i])||0);widths[i]+=(parseFloat(paddings[i])||0)} 1654return{height:widths[0]+widths[2],width:widths[1]+widths[3]}},_calculateAdjustedElementDimensions:function(element){var elWidth,elHeight,paddingBorder,ce=element.get(0);if(element.css("box-sizing")!=="content-box"||(!this._hasScroll(ce)&&!this._hasScroll(ce,"left"))){return{height:parseFloat(element.css("height")),width:parseFloat(element.css("width"))}} 1655elWidth=parseFloat(ce.style.width);elHeight=parseFloat(ce.style.height);paddingBorder=this._getPaddingPlusBorderDimensions(element);elWidth=isNaN(elWidth)?this._getElementTheoreticalSize(element,paddingBorder,"width"):elWidth;elHeight=isNaN(elHeight)?this._getElementTheoreticalSize(element,paddingBorder,"height"):elHeight;return{height:elHeight,width:elWidth}},_getElementTheoreticalSize:function(element,extraSize,dimension){var size=Math.max(0,Math.ceil(element.get(0)["offset"+dimension[0].toUpperCase()+dimension.slice(1)]-extraSize[dimension]-0.5))||0;return size},_proportionallyResize:function(){if(!this._proportionallyResizeElements.length){return} 1656var prel,i=0,element=this.helper||this.element;for(;i<this._proportionallyResizeElements.length;i++){prel=this._proportionallyResizeElements[i];if(!this.outerDimensions){this.outerDimensions=this._getPaddingPlusBorderDimensions(prel)} 1657prel.css({height:(element.height()-this.outerDimensions.height)||0,width:(element.width()-this.outerDimensions.width)||0})}},_renderProxy:function(){var el=this.element,o=this.options;this.elementOffset=el.offset();if(this._helper){this.helper=this.helper||$("<div></div>").css({overflow:"hidden"});this._addClass(this.helper,this._helper);this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",to
1657p:this.elementOffset.top+"px",zIndex:++o.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(event,dx){return{width:this.originalSize.width+dx}},w:function(event,dx){var cs=this.originalSize,sp=this.originalPosition;return{left:sp.left+dx,width:cs.width-dx}},n:function(event,dx,dy){var cs=this.originalSize,sp=this.originalPosition;return{top:sp.top+dy,height:cs.height-dy}},s:function(event,dx,dy){return{height:this.originalSize.height+dy}},se:function(event,dx,dy){return $.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[event,dx,dy]))},sw:function(event,dx,dy){return $.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[event,dx,dy]))},ne:function(event,dx,dy){return $.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[event,dx,dy]))},nw:function(event,dx,dy){return $.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[event,dx,dy]))}},_propagate:function(n,event){$.ui.plugin.call(this,n,[event,this.ui()]);if(n!=="resize"){this._trigger(n,event,this.ui())}},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});$.ui.plugin.add("resizable","animate",{stop:function(event){var that=$(this).resizable("instance"),o=that.options,pr=that._proportionallyResizeElements,ista=pr.length&&(/textarea/i).test(pr[0].nodeName),soffseth=ista&&that._hasScroll(pr[0],"left")?0:that.sizeDiff.height,soffsetw=ista?0:that.sizeDiff.width,style={width:(that.size.width-soffsetw),height:(that.size.height-soffseth)},left=(parseFloat(that.element.css("left"))+(that.position.left-that.originalPosition.left))||null,top=(parseFloat(that.element.css("top"))+(that.position.top-that.originalPosition.top))||null;that.element.animate($.extend(style,top&&left?{top:top,left:left}:{}),{duration:o.animateDuration,easing:o.animateEasing,step:function(){var data={width:parseFloat(that.element.css("width")),height:parseFloat(that.element.css("height")),top:parseFloat(that.element.css("top")),left:parseFloat(that.element.css("left"))};if(pr&&pr.length){$(pr[0]).css({width:data.width,height:data.height})} 1658that._updateCache(data);that._propagate("resize",event)}})}});$.ui.plugin.add("resizable","containment",{start:function(){var element,p,co,ch,cw,width,height,that=$(this).resizable("instance"),o=that.options,el=that.element,oc=o.containment,ce=(oc instanceof $)?oc.get(0):(/parent/.test(oc))?el.parent().get(0):oc;
1658if(!ce){return} 1659that.containerElement=$(ce);if(/document/.test(oc)||oc===document){that.containerOffset={left:0,top:0};that.containerPosition={left:0,top:0};that.parentData={element:$(document),left:0,top:0,width:$(document).width(),height:$(document).height()||document.body.parentNode.scrollHeight}}else{element=$(ce);p=[];$(["Top","Right","Left","Bottom"]).each(function(i,name){p[i]=that._num(element.css("padding"+name))});that.containerOffset=element.offset();that.containerPosition=element.position();that.containerSize={height:(element.innerHeight()-p[3]),width:(element.innerWidth()-p[1])};co=that.containerOffset;ch=that.containerSize.height;cw=that.containerSize.width;width=(that._hasScroll(ce,"left")?ce.scrollWidth:cw);height=(that._hasScroll(ce)?ce.scrollHeight:ch);that.parentData={element:ce,left:co.left,top:co.top,width:width,height:height}}},resize:function(event){var woset,hoset,isParent,isOffsetRelative,that=$(this).resizable("instance"),o=that.options,co=that.containerOffset,cp=that.position,pRatio=that._aspectRatio||event.shiftKey,cop={top:0,left:0},ce=that.containerElement,continueResize=!0;if(ce[0]!==document&&(/static/).test(ce.css("position"))){cop=co} 1660if(cp.left<(that._helper?co.left:0)){that.size.width=that.size.width+(that._helper?(that.position.left-co.left):(that.position.left-cop.left));if(pRatio){that.size.height=that.size.width/that.aspectRatio;continueResize=!1} 1661that.position.left=o.helper?co.left:0} 1662if(cp.top<(that._helper?co.top:0)){that.size.height=that.size.height+(that._helper?(that.position.top-co.top):that.position.top);if(pRatio){that.size.width=that.size.height*that.aspectRatio;continueResize=!1} 1663that.position.top=that._helper?co.top:0} 1664isParent=that.containerElement.get(0)===that.element.parent().get(0);isOffsetRelative=/relative|absolute/.test(that.containerElement.css("position"));if(isParent&&isOffsetRelative){that.offset.left=that.parentData.left+that.position.left;that.offset.top=that.parentData.top+that.position.top}else{that.offset.left=that.element.offset().left;that.offset.top=that.element.offset().top} 1665woset=Math.abs(that.sizeDiff.width+(that._helper?that.offset.left-cop.left:(that.offset.left-co.left)));hoset=Math.abs(that.sizeDiff.height+(that._helper?that.offset.top-cop.top:(that.offset.top-co.top)));if(woset+that.size.width>=that.parentData.width){that.size.width=that.parentData.width-woset;if(pRatio){that.size.height=that.size.width/that.aspectRatio;continueResize=!1}} 1666if(hoset+that.size.height>=that.parentData.height){that.size.height=that.parentData.height-hoset;if(pRatio){that.size.width=that.size.height*that.aspectRatio;continueResize=!1}} 1667if(!continueResize){that.position.left=that.prevPosition.left;that.position.top=that.prevPosition.top;that.size.width=that.prevSize.width;that.size.height=that.prevSize.height}},stop:function(){var that=$(this).resizable("instance"),o=that.options,co=that.containerOffset,cop=that.containerPosition,ce=that.containerElement,helper=$(that.helper),ho=helper.offset(),w=helper.outerWidth()-that.sizeDiff.width,h=helper.outerHeight()-that.sizeDiff.height;if(that._helper&&!o.animate&&(/relative/).test(ce.css("position"))){$(this).css({left:ho.left-cop.left-co.left,width:w,height:h})} 1668if(that._helper&&!o.animate&&(/static/).test(ce.css("position"))){$(this).css({left:ho.left-cop.left-co.left,width:w,height:h})}}});$.ui.plugin.add("resizable","alsoResize",{start:function(){var that=$(this).resizable("instance"),o=that.options;$(o.alsoResize).each(function(){var el=$(this),elSize=that._calculateAdjustedElementDimensions(el);el.data("ui-resizable-alsoresize",{width:elSize.width,height:elSize.height,left:parseFloat(el.css("left")),top:parseFloat(el.css("top"))})})},resize:function(event,ui){var that=$(this).resizable("instance"),o=that.options,os=that.originalSize,op=that.originalPosition,delta={height:(that.size.height-os.height)||0,width:(that.size.width-os.width)||0,top:(that.position.top-op.top)||0,left
1668:(that.position.left-op.left)||0};$(o.alsoResize).each(function(){var el=$(this),start=$(this).data("ui-resizable-alsoresize"),style={},css=el.parents(ui.originalElement[0]).length?["width","height"]:["width","height","top","left"];$.each(css,function(i,prop){var sum=(start[prop]||0)+(delta[prop]||0);if(sum&&sum>=0){style[prop]=sum||null}});el.css(style)})},stop:function(){$(this).removeData("ui-resizable-alsoresize")}});$.ui.plugin.add("resizable","ghost",{start:function(){var that=$(this).resizable("instance"),cs=that.size;that.ghost=that.originalElement.clone();that.ghost.css({opacity:0.25,display:"block",position:"relative",height:cs.height,width:cs.width,margin:0,left:0,top:0});that._addClass(that.ghost,"ui-resizable-ghost");if($.uiBackCompat===!0&&typeof that.options.ghost==="string"){that.ghost.addClass(this.options.ghost)} 1669that.ghost.appendTo(that.helper)},resize:function(){var that=$(this).resizable("instance");if(that.ghost){that.ghost.css({position:"relative",height:that.size.height,width:that.size.width})}},stop:function(){var that=$(this).resizable("instance");if(that.ghost&&that.helper){that.helper.get(0).removeChild(that.ghost.get(0))}}});$.ui.plugin.add("resizable","grid",{resize:function(){var outerDimensions,that=$(this).resizable("instance"),o=that.options,cs=that.size,os=that.originalSize,op=that.originalPosition,a=that.axis,grid=typeof o.grid==="number"?[o.grid,o.grid]:o.grid,gridX=(grid[0]||1),gridY=(grid[1]||1),ox=Math.round((cs.width-os.width)/gridX)*gridX,oy=Math.round((cs.height-os.height)/gridY)*gridY,newWidth=os.width+ox,newHeight=os.height+oy,isMaxWidth=o.maxWidth&&(o.maxWidth<newWidth),isMaxHeight=o.maxHeight&&(o.maxHeight<newHeight),isMinWidth=o.minWidth&&(o.minWidth>newWidth),isMinHeight=o.minHeight&&(o.minHeight>newHeight);o.grid=grid;if(isMinWidth){newWidth+=gridX} 1670if(isMinHeight){newHeight+=gridY} 1671if(isMaxWidth){newWidth-=gridX} 1672if(isMaxHeight){newHeight-=gridY} 1673if(/^(se|s|e)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight}else if(/^(ne)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight;that.position.top=op.top-oy}else if(/^(sw)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight;that.position.left=op.left-ox}else{if(newHeight-gridY<=0||newWidth-gridX<=0){outerDimensions=that._getPaddingPlusBorderDimensions(this)} 1674if(newHeight-gridY>0){that.size.height=newHeight;that.position.top=op.top-oy}else{newHeight=gridY-outerDimensions.height;that.size.height=newHeight;that.position.top=op.top+os.height-newHeight} 1675if(newWidth-gridX>0){that.size.width=newWidth;that.position.left=op.left-ox}else{newWidth=gridX-outerDimensions.width;that.size.width=newWidth;that.position.left=op.left+os.width-newWidth}}}});var widgetsResizable=$.ui.resizable; 1676/*! 1677 * jQuery UI Dialog 1.14.1 1678 * https://jqueryui.com 1679 * 1680 * Copyright OpenJS Foundation and other contributors 1681 * Released under the MIT license. 1682 * https://jquery.org/license 1683 */ 1684$.widget("ui.dialog",{version:"1.14.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(pos){var topOffset=$(this).css(pos).offset().top;if(topOffset<0){$(this).css("top",pos.top-topOffset)}}},resizable:!0,show:null,title:null,uiDialogTitleHeadingLevel:0,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");if(this.options.title==null&&this.originalTitle!=null){this.options.title=this.originalTitle} 1685if(this.options.disabled){this.options.disabled=!1} 1686this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog);this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();if(this.options.draggable&&$.fn.draggable){this._makeDraggable()} 1687if(this.options.resizable&&$.fn.resizable){this._makeResizable()} 1688this._isOpen=!1;this._trackFocus()},_init:function(){if(this.options.autoOpen){this.open()}},_appendTo:function(){var element=this.options.appendTo;if(element&&(element.jquery||element.nodeType)){return $(element)} 1689return this.document.find(element||"body").eq(0)},_destroy:function(){var next,originalPosition=this.originalPosition;this._untrackInstance();this._destroyOverlay();this.element.removeUniqueId().css(this.originalCss).detach();this.uiDialog.remove();if(this.originalTitle){this.element.attr("title",this.originalTitle)} 1690next=originalPosition.parent.children().eq(originalPosition.index);if(next.length&&next[0]!==this.element[0]){next.before(this.element)}else{originalPosition.parent.append(this.element)}},widget:function(){return this.uiDialog},disable:$.noop,enable:$.noop,close:function(event){var that=this;if(!this._isOpen||this._trigger("beforeClose",event)===!1){return} 1691this._isOpen=!1;this._focusedElement=null;this._destroyOverlay();this._untrackInstance();if(!this.opener.filter(":focusable").trigger("focus").length){$(this.document[0].activeElement).trigger("blur")} 1692this._hide(this.uiDialog,this.options.hide,function(){that._trigger("close",event)})},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(event,silent){var moved=!1,zIndices=this.uiDialog.siblings(".ui-front:visible").map(function(){return+$(this).css("z-index")}).get(),zIndexMax=Math.max.apply(null,zIndices);if(zIndexMax>=+this.uiDialog.css("z-index")){this.uiDialog.css("z-index",zIndexMax+1);moved=!0} 1693if(moved&&!silent){this._trigger("focus",event)} 1694return moved},open:function(){var that=this;if(this._isOpen){if(this._moveToTop()){this._focusTabbable()} 1695return} 1696this._isOpen=!0;this.opener=$(this.document[0].activeElement);this._size();this._position();this._createOverlay();this._moveToTop(null,!0);if(this.overlay){this.overlay.css("z-index",this.uiDialog.css("z-index")-1)} 1697this._show(this.uiDialog,this.options.show,function(){that._focusTabbable();that._trigger("focus")});this._makeFocusTarget();this._trigger("open")},_focusTabbable:function(){var hasFocus=this._focusedElement;if(!hasFocus){hasFocus=this.element.find("[autofocus]")} 1698if(!hasFocus.length){hasFocus=this.element.find(":tabbable")} 1699if(!hasFocus.length){hasFocus=this.uiDialogButtonPane.find(":tabbable")} 1700if(!hasFocus.length){hasFocus=this.uiDialogTitlebarClose.filter(":tabbable")} 1701if(!hasFocus.length){hasFocus=this.uiDialog} 1702hasFocus.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var activeElement=this.document[0].activeElement,isActive=this.uiDialog[0]===activeElement||$.contains(this.uiDialog[0],activeElement);if(!isActive){this._focusTabbable()}},_keepFocus:function(event){event.preventDefault();this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=$("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo());this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front");this._on(this.uiDialog,{keydown:function(event){if(this.options.closeOnEscape&&!event.isDefaultPrevented()&&event.keyCode&&event.keyCode===$.ui.keyCode.ESCAPE){event.preventDefault();this.close(event);return} 1703if(event.keyCode!==$.ui.keyCode.TAB||event.isDefaultPrevented()){return} 1704var tabbables=this.uiDialog.find(":tabbable"),first=tabbables.first(),last=tabbables.last(
1704);if((event.target===last[0]||event.target===this.uiDialog[0])&&!event.shiftKey){this._delay(function(){first.trigger("focus")});event.preventDefault()}else if((event.target===first[0]||event.target===this.uiDialog[0])&&event.shiftKey){this._delay(function(){last.trigger("focus")});event.preventDefault()}},mousedown:function(event){if(this._moveToTop(event)){this._focusTabbable()}}});if(!this.element.find("[aria-describedby]").length){this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})}},_createTitlebar:function(){var uiDialogTitle;this.uiDialogTitlebar=$("<div>");this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix");this._on(this.uiDialogTitlebar,{mousedown:function(event){if(!$(event.target).closest(".ui-dialog-titlebar-close")){this.uiDialog.trigger("focus")}}});this.uiDialogTitlebarClose=$("<button type='button'></button>").button({label:$("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar);this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close");this._on(this.uiDialogTitlebarClose,{click:function(event){event.preventDefault();this.close(event)}});var uiDialogHeadingLevel=Number.isInteger(this.options.uiDialogTitleHeadingLevel)&&this.options.uiDialogTitleHeadingLevel>0&&this.options.uiDialogTitleHeadingLevel<=6?"h"+this.options.uiDialogTitleHeadingLevel:"span";uiDialogTitle=$("<"+uiDialogHeadingLevel+">").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(uiDialogTitle,"ui-dialog-title");this._title(uiDialogTitle);this.uiDialogTitlebar.prependTo(this.uiDialog);this.uiDialog.attr({"aria-labelledby":uiDialogTitle.attr("id")})},_title:function(title){if(this.options.title){title.text(this.options.title)}else{title.html(" ")}},_createButtonPane:function(){this.uiDialogButtonPane=$("<div>");this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix");this.uiButtonSet=$("<div>").appendTo(this.uiDialogButtonPane);this._addClass(this.uiButtonSet,"ui-dialog-buttonset");this._createButtons()},_createButtons:function(){var that=this,buttons=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();if($.isEmptyObject(buttons)||(Array.isArray(buttons)&&!buttons.length)){this._removeClass(this.uiDialog,"ui-dialog-buttons");return} 1705$.each(buttons,function(name,props){var click,buttonOptions;props=typeof props==="function"?{click:props,text:name}:props;props=$.extend({type:"button"},props);click=props.click;buttonOptions={icon:props.icon,iconPosition:props.iconPosition,showLabel:props.showLabel,icons:props.icons,text:props.text};delete props.click;delete props.icon;delete props.iconPosition;delete props.showLabel;delete props.icons;if(typeof props.text==="boolean"){delete props.text} 1706$("<button></button>",props).button(buttonOptions).appendTo(that.uiButtonSet).on("click",function(){click.apply(that.element[0],arguments)})});this._addClass(this.uiDialog,"ui-dialog-buttons");this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var that=this,options=this.options;function filteredUi(ui){return{position:ui.position,offset:ui.offset}} 1707this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(event,ui){that._addClass($(this),"ui-dialog-dragging");that._blockFrames();that._trigger("dragStart",event,filteredUi(ui))},drag:function(event,ui){that._trigger("drag",event,filteredUi(ui))},stop:function(event,ui){var left=ui.offset.left-that.document.scrollLeft(),top=ui.offset.top-that.document.scrollTop();options.position={my:"left top",at:"left"+(left>=0?"+":"")+left+" "+"top"+(top>=0?"+":"")+top,of:that.window};that._removeClass($(this),"ui-dialog-dragging");that._unblockFrames();that._trigger("dragStop",event,filteredUi(ui))}})},_makeResizable:function(){var that=this,options=this.options,handles=options.resizable,position=this.uiDialog.css("position"),resizeHandles=typeof handles==="string"?handles:"n,e,s,w,se,sw,ne,nw";function filteredUi(ui){return{originalPosition:ui.originalPosition,originalSize:ui.originalSize,position:ui.position,size:ui.size}} 1708this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:options.maxWidth,maxHeight:options.maxHeight,minWidth:options.minWidth,minHeight:this._minHeight(),handles:resizeHandles,start:function(event,ui){that._addClass($(this),"ui-dialog-resizing");that._blockFrames();that._trigger("resizeStart",event,filteredUi(ui))},resize:function(event,ui){that._trigger("resize",event,filteredUi(ui))},stop:function(event,ui){var offset=that.uiDialog.offset(),left=offset.left-that.document.scrollLeft(),top=offset.top-that.document.scrollTop();options.height=that.uiDialog.height();options.width=that.uiDialog.width();options.position={my:"left top",at:"left"+(left>=0?"+":"")+left+" "+"top"+(top>=0?"+":"")+top,of:that.window};that._removeClass($(this),"ui-dialog-resizing");that._unblockFrames();that._trigger("resizeStop",event,filteredUi(ui))}}).css("position",position)},_trackFocus:function(){this._on(this.widget(),{focusin:function(event){this._makeFocusTarget();this._focusedElement=$(event.target)}})},_makeFocusTarget:function(){this._untrackInstance();this._trackingInstances().unshift(this)},_untrackInstance:function(){var instances=this._trackingInstances(),exists=$.inArray(this,instances);if(exists!==-1){instances.splice(exists,1)}},_trackingInstances:function(){var instances=this.document.data("ui-dialog-instances");if(!instances){instances=[];this.document.data("ui-dialog-instances",instances)} 1709return instances},_minHeight:function(){var options=this.options;return options.height==="auto"?options.minHeight:Math.min(options.minHeight,options.height)},_position:function(){var isVisible=this.uiDialog.is(":visible");if(!isVisible){this.uiDialog.show()} 1710this.uiDialog.position(this.options.position);if(!isVisible){this.uiDialog.hide()}},_setOptions:function(options){var that=this,resize=!1,resizableOptions={};$.each(options,function(key,value){that._setOption(key,value);if(key in that.sizeRelatedOptions){resize=!0} 1711if(key in that.resizableRelatedOptions){resizableOptions[key]=value}});if(resize){this._size();this._position()} 1712if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option",resizableOptions)}},_setOption:function(key,value){var isDraggable,isResizable,uiDialog=this.uiDialog;if(key==="disabled"){return} 1713this._super(key,value);if(key==="appendTo"){this.uiDialog.appendTo(this._appendTo())} 1714if(key==="buttons"){this._createButtons()} 1715if(key==="closeText"){this.uiDialogTitlebarClose.button({label:$("<a>").text(""+this.options.closeText).html()})} 1716if(key==="draggable"){isDraggable=uiDialog.is(":data(ui-draggable)");if(isDraggable&&!value){uiDialog.draggable("destroy")} 1717if(!isDraggable&&value){this._makeDraggable()}} 1718if(key==="position"){this._position()} 1719if(key==="resizable"){isResizable=uiDialog.is(":data(ui-resizable)");if(isResizable&&!value){uiDialog.resizable("destroy")} 1720if(isResizable&&typeof value==="string"){uiDialog.resizable("option","handles",value)} 1721if(!isResizable&&value!==!1){this._makeResizable()}} 1722if(key==="title"){this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))} 1723if(key==="modal"){uiDialog.attr("aria-modal",value?"true":null)}},_size:function(){var nonContentHeight,minContentHeight,maxContentHeight,options=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});if(options.minWidth>options.width){options.width=options.minWidth} 1724nonContentHeight=this.uiDialog.css({height:"auto",width:options.width}).outerHeight();minContentHeight=Math.max(0,options.minHeight-nonContentHeight);maxContentHeight=typeof options.maxHeight==="number"?Math.max(0,options.maxHeight-nonContentHeight):"none";if(options.height==="auto"){this.element.css({minHeight:minContentHeight,maxHeight:maxContentHeight,height:"auto"})}else{this.element.height(Math.max(0,options.height-nonContentHeight))} 1725if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var iframe=$(this);return $("<div>").css({position:"absolute",width:iframe.outerWidth(),height:iframe.outerHeight()}).appendTo(iframe.parent()).offset(iframe.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_allowInteraction:function(event){if($(event.target).closest(".ui-dialog").length){return!0} 1726return!!$(event.target).closest(".ui-datepicker").length},_createOverlay:function(){if(!this.options.modal){return} 1727var isOpening=!0;this._delay(function(){isOpening=!1});if(!this.document.data("ui-dialog-overlays")){this.document.on("focusin.ui-dialog",function(event){if(isOpening){return} 1728var instance=this._trackingInstances()[0];if(!instance._allowInteraction(event)){event.preventDefault();instance._focusTabbable()}}.bind(this))} 1729this.overlay=$("<div>").appendTo(this._appendTo());this._addClass(this.overlay,null,"ui-widget-overlay ui-front");this._on(this.overlay,{mousedown:"_keepFocus"});this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)},_destroyOverlay:function(){if(!this.options.modal){return} 1730if(this.overlay){var overlays=this.document.data("ui-dialog-overlays")-1;if(!overlays){this.document.off("focusin.ui-dialog");this.document.removeData("ui-dialog-overlays")}else{this.document.data("ui-dialog-overlays",overlays)} 1731this.overlay.remove();this.overlay=null}}});if($.uiBackCompat===!0){$.widget("ui.dialog",$.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super();this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(key,value){if(key==="dialogClass"){this.uiDialog.removeClass(this.options.dialogClass).addClass(value)} 1732this._superApply(arguments)}})} 1733var widgetsDialog=$.ui.dialog; 1734/*! 1735 * jQuery UI Droppable 1.14.1 1736 * https://jqueryui.com 1737 * 1738 * Copyright OpenJS Foundation and other contributors 1739 * Released under the MIT license. 1740 * https://jquery.org/license 1741 */ 1742$.widget("ui.droppable",{version:"1.14.1",widgetEventPrefix:"drop",o
1742ptions:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var proportions,o=this.options,accept=o.accept;this.isover=!1;this.isout=!0;this.accept=typeof accept==="function"?accept:function(d){return d.is(accept)};this.proportions=function(){if(arguments.length){proportions=arguments[0]}else{return proportions?proportions:proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}}};this._addToManager(o.scope);if(o.addClasses){this._addClass("ui-droppable")}},_addToManager:function(scope){$.ui.ddmanager.droppables[scope]=$.ui.ddmanager.droppables[scope]||[];$.ui.ddmanager.droppables[scope].push(this)},_splice:function(drop){var i=0;for(;i<drop.length;i++){if(drop[i]===this){drop.splice(i,1)}}},_destroy:function(){var drop=$.ui.ddmanager.droppables[this.options.scope];this._splice(drop)},_setOption:function(key,value){if(key==="accept"){this.accept=typeof value==="function"?value:function(d){return d.is(value)}}else if(key==="scope"){var drop=$.ui.ddmanager.droppables[this.options.scope];this._splice(drop);this._addToManager(value)} 1743this._super(key,value)},_activate:function(event){var draggable=$.ui.ddmanager.current;this._addActiveClass();if(draggable){this._trigger("activate",event,this.ui(draggable))}},_deactivate:function(event){var draggable=$.ui.ddmanager.current;this._removeActiveClass();if(draggable){this._trigger("deactivate",event,this.ui(draggable))}},_over:function(event){var draggable=$.ui.ddmanager.current;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return} 1744if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){this._addHoverClass();this._trigger("over",event,this.ui(draggable))}},_out:function(event){var draggable=$.ui.ddmanager.current;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return} 1745if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){this._removeHoverClass();this._trigger("out",event,this.ui(draggable))}},_drop:function(event,custom){var draggable=custom||$.ui.ddmanager.current,childrenIntersection=!1;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return!1} 1746this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var inst=$(this).droppable("instance");if(inst.options.greedy&&!inst.options.disabled&&inst.options.scope===draggable.options.scope&&inst.accept.call(inst.element[0],(draggable.currentItem||draggable.element))&&$.ui.intersect(draggable,$.extend(inst,{offset:inst.element.offset()}),inst.options.tolerance,event)){childrenIntersection=!0;return!1}});if(childrenIntersection){return!1} 1747if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){this._removeActiveClass();this._removeHoverClass();this._trigger("drop",event,this.ui(draggable));return this.element} 1748return!1},ui:function(c){return{draggable:(c.currentItem||c.element),helper:c.helper,position:c.position,offset:c.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});$.ui.intersect=(function(){function isOverAxis(x,reference,size){return(x>=reference)&&(x<(reference+size))} 1749return function(draggable,droppable,toleranceMode,event){if(!droppable.offset){return!1} 1750var x1=(draggable.positionAbs||draggable.position.absolute).left+draggable.margins.left,y1=(draggable.positionAbs||draggable.position.absolute).top+draggable.margins.top,x2=x1+draggable.helperProportions.width,y2=y1+draggable.helperProportions.height,l=droppable.offset.left,t=droppable.offset.top,r=l+droppable.proportions().width,b=t+droppable.proportions().height;switch(toleranceMode){case "fit":return(l<=x1&&x2<=r&&t<=y1&&y2<=b);case "intersect":return(l<x1+(draggable.helperProportions.width/2)&&x2-(draggable.helperProportions.width/2)<r&&t<y1+(draggable.helperProportions.height/2)&&y2-(draggable.helperProportions.height/2)<b);case "pointer":return isOverAxis(event.pageY,t,droppable.proportions().height)&&isOverAxis(event.pageX,l,droppable.proportions().width);case "touch":return((y1>=t&&y1<=b)||(y2>=t&&y2<=b)||(y1<t&&y2>b))&&((x1>=l&&x1<=r)||(x2>=l&&x2<=r)||(x1<l&&x2>r));default:return!1}}})();$.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,event){var i,j,m=$.ui.ddmanager.droppables[t.options.scope]||[],type=event?event.type:null,list=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();droppablesLoop:for(i=0;i<m.length;i++){if(m[i].options.disabled||(t&&!m[i].accept.call(m[i].element[0],(t.currentItem||t.element)))){continue} 1751for(j=0;j<list.length;j++){if(list[j]===m[i].element[0]){m[i].proportions().height=0;continue droppablesLoop}} 1752m[i].visible=m[i].element.css("display")!=="none";if(!m[i].visible){continue} 1753if(type==="mousedown"){m[i]._activate.call(m[i],event)} 1754m[i].offset=m[i].element.offset();m[i].proportions({width:m[i].element[0].offsetWidth,height:m[i].element[0].offsetHeight})}},drop:function(draggable,event){var dropped=!1;
1754$.each(($.ui.ddmanager.droppables[draggable.options.scope]||[]).slice(),function(){if(!this.options){return} 1755if(!this.options.disabled&&this.visible&&$.ui.intersect(draggable,this,this.options.tolerance,event)){dropped=this._drop.call(this,event)||dropped} 1756if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){this.isout=!0;this.isover=!1;this._deactivate.call(this,event)}});return dropped},dragStart:function(draggable,event){draggable.element.parentsUntil("body").on("scroll.droppable",function(){if(!draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)}})},drag:function(draggable,event){if(draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)} 1757$.each($.ui.ddmanager.droppables[draggable.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible){return} 1758var parentInstance,scope,parent,intersects=$.ui.intersect(draggable,this,this.options.tolerance,event),c=!intersects&&this.isover?"isout":(intersects&&!this.isover?"isover":null);if(!c){return} 1759if(this.options.greedy){scope=this.options.scope;parent=this.element.parents(":data(ui-droppable)").filter(function(){return $(this).droppable("instance").options.scope===scope});if(parent.length){parentInstance=$(parent[0]).droppable("instance");parentInstance.greedyChild=(c==="isover")}} 1760if(parentInstance&&c==="isover"){parentInstance.isover=!1;parentInstance.isout=!0;parentInstance._out.call(parentInstance,event)} 1761this[c]=!0;this[c==="isout"?"isover":"isout"]=!1;this[c==="isover"?"_over":"_out"].call(this,event);if(parentInstance&&c==="isout"){parentInstance.isout=!1;parentInstance.isover=!0;parentInstance._over.call(parentInstance,event)}})},dragStop:function(draggable,event){draggable.element.parentsUntil("body").off("scroll.droppable");if(!draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)}}};if($.uiBackCompat===!0){$.widget("ui.droppable",$.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super();if(this.options.activeClass){this.element.addClass(this.options.activeClass)}},_removeActiveClass:function(){this._super();if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}},_addHoverClass:function(){this._super();if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}},_removeHoverClass:function(){this._super();if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}}})} 1762var widgetsDroppable=$.ui.droppable; 1763/*! 1764 * jQuery UI Progressbar 1.14.1 1765 * https://jqueryui.com 1766 * 1767 * Copyright OpenJS Foundation and other contributors 1768 * Released under the MIT license. 1769 * https://jquery.org/license 1770 */ 1771var widgetsProgressbar=$.widget("ui.progressbar",{version:"1.14.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.attr({role:"progressbar","aria-valuemin":this.min});this._addClass("ui-progressbar","ui-widget ui-widget-content");this.valueDiv=$("<div>").appendTo(this.element);this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header");this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow");this.valueDiv.remove()},value:function(newValue){if(newValue===undefined){return this.options.value} 1772this.options.value=this._constrainedValue(newValue);this._refreshValue()},_constrainedValue:function(newValue){if(newValue===undefined){newValue=this.options.value} 1773this.indeterminate=newValue===!1;if(typeof newValue!=="number"){newValue=0} 1774return this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,newValue))},_setOptions:function(options){var value=options.value;delete options.value;this._super(options);this.options.value=this._constrainedValue(value);this._refreshValue()},_setOption:function(key,value){if(key==="max"){value=Math.max(this.min,value)} 1775this._super(key,value)},_setOptionDisabled:function(value){this._super(value);this.element.attr("aria-disabled",value);this._toggleClass(null,"ui-state-disabled",!!value)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var value=this.options.value,percentage=this._percentage();this.valueDiv.toggle(this.indeterminate||value>this.min).width(percentage.toFixed(0)+"%");this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,value===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate);if(this.indeterminate){this.element.removeAttr("aria-valuenow");if(!this.overlayDiv){this.overlayDiv=$("<div>").appendTo(this.valueDiv);this._addClass(this.overlayDiv,"ui-progressbar-overlay")}}else{this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":value});if(this.overlayDiv){this.overlayDiv.remove();this.overlayDiv=null}} 1776if(this.oldValue!==value){this.oldValue=value;this._trigger("change")} 1777if(value===this.options.max){this._trigger("complete")}}}); 1778/*! 1779 * jQuery UI Selectable 1.14.1 1780 * https://jqueryui.com 1781 * 1782 * Copyright OpenJS Foundation and other contributors 1783 * Released under the MIT license. 1784 * https://jquery.org/license 1785 */ 1786var widgetsSelectable=$.widget("ui.selectable",$.ui.mouse,{version:"1.14.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var that=this;this._addClass("ui-selectable");this.dragged=!1;this.refresh=function(){that.elementPos=$(that.element[0]).offset();that.selectees=$(that.options.filter,that.element[0]);that._addClass(that.selectees,"ui-selectee");
1786that.selectees.each(function(){var $this=$(this),selecteeOffset=$this.offset(),pos={left:selecteeOffset.left-that.elementPos.left,top:selecteeOffset.top-that.elementPos.top};$.data(this,"selectable-item",{element:this,$element:$this,left:pos.left,top:pos.top,right:pos.left+$this.outerWidth(),bottom:pos.top+$this.outerHeight(),startselected:!1,selected:$this.hasClass("ui-selected"),selecting:$this.hasClass("ui-selecting"),unselecting:$this.hasClass("ui-unselecting")})})};this.refresh();this._mouseInit();this.helper=$("<div>");this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item");this._mouseDestroy()},_mouseStart:function(event){var that=this,options=this.options;this.opos=[event.pageX,event.pageY];this.elementPos=$(this.element[0]).offset();if(this.options.disabled){return} 1787this.selectees=$(options.filter,this.element[0]);this._trigger("start",event);$(options.appendTo).append(this.helper);this.helper.css({"left":event.pageX,"top":event.pageY,"width":0,"height":0});if(options.autoRefresh){this.refresh()} 1788this.selectees.filter(".ui-selected").each(function(){var selectee=$.data(this,"selectable-item");selectee.startselected=!0;if(!event.metaKey&&!event.ctrlKey){that._removeClass(selectee.$element,"ui-selected");selectee.selected=!1;that._addClass(selectee.$element,"ui-unselecting");selectee.unselecting=!0;that._trigger("unselecting",event,{unselecting:selectee.element})}});$(event.target).parents().addBack().each(function(){var doSelect,selectee=$.data(this,"selectable-item");if(selectee){doSelect=(!event.metaKey&&!event.ctrlKey)||!selectee.$element.hasClass("ui-selected");that._removeClass(selectee.$element,doSelect?"ui-unselecting":"ui-selected")._addClass(selectee.$element,doSelect?"ui-selecting":"ui-unselecting");selectee.unselecting=!doSelect;selectee.selecting=doSelect;selectee.selected=doSelect;if(doSelect){that._trigger("selecting",event,{selecting:selectee.element})}else{that._trigger("unselecting",event,{unselecting:selectee.element})} 1789return!1}})},_mouseDrag:function(event){this.dragged=!0;if(this.options.disabled){return} 1790var tmp,that=this,options=this.options,x1=this.opos[0],y1=this.opos[1],x2=event.pageX,y2=event.pageY;if(x1>x2){tmp=x2;x2=x1;x1=tmp} 1791if(y1>y2){tmp=y2;y2=y1;y1=tmp} 1792this.helper.css({left:x1,top:y1,width:x2-x1,height:y2-y1});this.selectees.each(function(){var selectee=$.data(this,"selectable-item"),hit=!1,offset={};if(!selectee||selectee.element===that.element[0]){return} 1793offset.left=selectee.left+that.elementPos.left;offset.right=selectee.right+that.elementPos.left;offset.top=selectee.top+that.elementPos.top;offset.bottom=selectee.bottom+that.elementPos.top;if(options.tolerance==="touch"){hit=(!(offset.left>x2||offset.right<x1||offset.top>y2||offset.bottom<y1))}else if(options.tolerance==="fit"){hit=(offset.left>x1&&offset.right<x2&&offset.top>y1&&offset.bottom<y2)} 1794if(hit){if(selectee.selected){that._removeClass(selectee.$element,"ui-selected");selectee.selected=!1} 1795if(selectee.unselecting){that._removeClass(selectee.$element,"ui-unselecting");selectee.unselecting=!1} 1796if(!selectee.selecting){that._addClass(selectee.$element,"ui-selecting");selectee.selecting=!0;that._trigger("selecting",event,{selecting:selectee.element})}}else{if(selectee.selecting){if((event.metaKey||event.ctrlKey)&&selectee.startselected){that._removeClass(selectee.$element,"ui-selecting");selectee.selecting=!1;that._addClass(selectee.$element,"ui-selected");selectee.selected=!0}else{that._removeClass(selectee.$element,"ui-selecting");selectee.selecting=!1;if(selectee.startselected){that._addClass(selectee.$element,"ui-unselecting");selectee.unselecting=!0} 1797that._trigger("unselecting",event,{unselecting:selectee.element})}} 1798if(selectee.selected){if(!event.metaKey&&!event.ctrlKey&&!selectee.startselected){that._removeClass(selectee.$element,"ui-selected");selectee.selected=!1;that._addClass(selectee.$element,"ui-unselecting");selectee.unselecting=!0;that._trigger("unselecting",event,{unselecting:selectee.element})}}}});return!1},_mouseStop:function(event){var that=this;this.dragged=!1;$(".ui-unselecting",this.element[0]).each(function(){var selectee=$.data(this,"selectable-item");that._removeClass(selectee.$element,"ui-unselecting");selectee.unselecting=!1;selectee.startselected=!1;that._trigger("unselected",event,{unselected:selectee.element})});$(".ui-selecting",this.element[0]).each(function(){var selectee=$.data(this,"selectable-item");that._removeClass(selectee.$element,"ui-selecting")._addClass(selectee.$element,"ui-selected");selectee.selecting=!1;selectee.selected=!0;selectee.startselected=!0;that._trigger("selected",event,{selected:selectee.element})});this._trigger("stop",event);this.helper.remove();return!1}}); 1799/*! 1800 * jQuery UI Selectmenu 1.14.1 1801 * https://jqueryui.com 1802 * 1803 * Copyright OpenJS Foundation and other contributors 1804 * Released under the MIT license. 1805 * https://jquery.org/license 1806 */ 1807var widgetsSelectmenu=$.widget("ui.selectmenu",[$.ui.formResetMixin,{version:"1.14.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"}
1807,width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var selectmenuId=this.element.uniqueId().attr("id");this.ids={element:selectmenuId,button:selectmenuId+"-button",menu:selectmenuId+"-menu"};this._drawButton();this._drawMenu();this._bindFormResetHandler();this._rendered=!1;this.menuItems=$()},_drawButton:function(){var icon,that=this,item=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button);this._on(this.labels,{click:function(event){this.button.trigger("focus");event.preventDefault()}});this.element.hide();this.button=$("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element);this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget");icon=$("<span>").appendTo(this.button);this._addClass(icon,"ui-selectmenu-icon","ui-icon "+this.options.icons.button);this.buttonItem=this._renderButtonItem(item).appendTo(this.button);if(this.options.width!==!1){this._resizeButton()} 1808this._on(this.button,this._buttonEvents);this.button.one("focusin",function(){if(!that._rendered){that._refreshMenu()}})},_drawMenu:function(){var that=this;this.menu=$("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu});this.menuWrap=$("<div>").append(this.menu);this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front");this.menuWrap.appendTo(this._appendTo());this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(event,ui){event.preventDefault();that._select(ui.item.data("ui-selectmenu-item"),event)},focus:function(event,ui){var item=ui.item.data("ui-selectmenu-item");if(that.focusIndex!=null&&item.index!==that.focusIndex){that._trigger("focus",event,{item:item});if(!that.isOpen){that._select(item,event)}} 1809that.focusIndex=item.index;that.button.attr("aria-activedescendant",that.menuItems.eq(item.index).attr("id"))}}).menu("instance");this.menuInstance._off(this.menu,"mouseleave");this.menuInstance._closeOnDocumentClick=function(){return!1};this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu();this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{}));if(this.options.width===null){this._resizeButton()}},_refreshMenu:function(){var item,options=this.element.find("option");this.menu.empty();this._parseOptions(options);this._renderMenu(this.menu,this.items);this.menuInstance.refresh();this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper");this._rendered=!0;if(!options.length){return} 1810item=this._getSelectedItem();this.menuInstance.focus(null,item);this._setAria(item.data("ui-selectmenu-item"));this._setOption("disabled",this.element.prop("disabled"))},open:function(event){if(this.options.disabled){return} 1811if(!this._rendered){this._refreshMenu()}else{this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active");this.menuInstance.focus(null,this._getSelectedItem())} 1812if(!this.menuItems.length){return} 1813this.isOpen=!0;this._toggleAttr();this._resizeMenu();this._position();this._on(this.document,this._documentClick);this._trigger("open",event)},_position:function(){this.menuWrap.position($.extend({of:this.button},this.options.position))},close:function(event){if(!this.isOpen){return} 1814this.isOpen=!1;this._toggleAttr();this.range=null;this._off(this.document);this._trigger("close",event)},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(item){var buttonItem=$("<span>");this._setText(buttonItem,item.label);this._addClass(buttonItem,"ui-selectmenu-text");return buttonItem},_renderMenu:function(ul,items){var that=this,currentOptgroup="";$.each(items,function(index,item){var li;if(item.optgroup!==currentOptgroup){li=$("<li>",{text:item.optgroup});that._addClass(li,"ui-selectmenu-optgroup","ui-menu-divider"+(item.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""));li.appendTo(ul);currentOptgroup=item.optgroup} 1815that._renderItemData(ul,item)})},_renderItemData:function(ul,item){return this._renderItem(ul,item).data("ui-selectmenu-item",item)},_renderItem:function(ul,item){var li=$("<li>"),wrapper=$("<div>",{title:item.element.attr("title")});if(item.disabled){this._addClass(li,null,"ui-state-disabled")} 1816if(item.hidden){li.prop("hidden",!0)}else{this._setText(wrapper,item.label)} 1817return li.append(wrapper).appendTo(ul)},_setText:function(element,value){if(value){element.text(value)}else{element.html(" ")}},_move:function(direction,event){var item,next,filter=".ui-menu-item";if(this.isOpen){item=this.menuItems.eq(this.focusIndex).parent("li")}else{item=this.menuItems.eq(this.element[0].selectedIndex).parent("li");filter+=":not(.ui-state-disabled)"} 1818if(direction==="first"||direction==="last"){next=item[direction==="first"?"prevAll":"nextAll"](filter).eq(-1)}else{next=item[direction+"All"](filter).eq(0)} 1819if(next.length){this.menuInstance.focus(event,next)}},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
1819,_toggle:function(event){this[this.isOpen?"close":"open"](event)},_setSelection:function(){var selection;if(!this.range){return} 1820selection=window.getSelection();selection.removeAllRanges();selection.addRange(this.range)},_documentClick:{mousedown:function(event){if(!this.isOpen){return} 1821if(!$(event.target).closest(".ui-selectmenu-menu, #"+CSS.escape(this.ids.button)).length){this.close(event)}}},_buttonEvents:{mousedown:function(){var selection=window.getSelection();if(selection.rangeCount){this.range=selection.getRangeAt(0)}},click:function(event){this._setSelection();this._toggle(event)},keydown:function(event){var preventDefault=!0;switch(event.keyCode){case $.ui.keyCode.TAB:case $.ui.keyCode.ESCAPE:this.close(event);preventDefault=!1;break;case $.ui.keyCode.ENTER:if(this.isOpen){this._selectFocusedItem(event)} 1822break;case $.ui.keyCode.UP:if(event.altKey){this._toggle(event)}else{this._move("prev",event)} 1823break;case $.ui.keyCode.DOWN:if(event.altKey){this._toggle(event)}else{this._move("next",event)} 1824break;case $.ui.keyCode.SPACE:if(this.isOpen){this._selectFocusedItem(event)}else{this._toggle(event)} 1825break;case $.ui.keyCode.LEFT:this._move("prev",event);break;case $.ui.keyCode.RIGHT:this._move("next",event);break;case $.ui.keyCode.HOME:case $.ui.keyCode.PAGE_UP:this._move("first",event);break;case $.ui.keyCode.END:case $.ui.keyCode.PAGE_DOWN:this._move("last",event);break;default:this.menu.trigger(event);preventDefault=!1} 1826if(preventDefault){event.preventDefault()}}},_selectFocusedItem:function(event){var item=this.menuItems.eq(this.focusIndex).parent("li");if(!item.hasClass("ui-state-disabled")){this._select(item.data("ui-selectmenu-item"),event)}},_select:function(item,event){var oldIndex=this.element[0].selectedIndex;this.element[0].selectedIndex=item.index;this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(item));this._setAria(item);this._trigger("select",event,{item:item});if(item.index!==oldIndex){this._trigger("change",event,{item:item})} 1827this.close(event)},_setAria:function(item){var id=this.menuItems.eq(item.index).attr("id");this.button.attr({"aria-labelledby":id,"aria-activedescendant":id});this.menu.attr("aria-activedescendant",id)},_setOption:function(key,value){if(key==="icons"){var icon=this.button.find("span.ui-icon");this._removeClass(icon,null,this.options.icons.button)._addClass(icon,null,value.button)} 1828this._super(key,value);if(key==="appendTo"){this.menuWrap.appendTo(this._appendTo())} 1829if(key==="width"){this._resizeButton()}},_setOptionDisabled:function(value){this._super(value);this.menuInstance.option("disabled",value);this.button.attr("aria-disabled",value);this._toggleClass(this.button,null,"ui-state-disabled",value);this.element.prop("disabled",value);if(value){this.button.attr("tabindex",-1);this.close()}else{this.button.attr("tabindex",0)}},_appendTo:function(){var element=this.options.appendTo;if(element){element=element.jquery||element.nodeType?$(element):this.document.find(element).eq(0)} 1830if(!element||!element[0]){element=this.element.closest(".ui-front, dialog")} 1831if(!element.length){element=this.document[0].body} 1832return element},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen);this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen);this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var width=this.options.width;if(width===!1){this.button.css("width","");return} 1833if(width===null){width=this.element.show().outerWidth();this.element.hide()} 1834this.button.outerWidth(width)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()))},_getCreateOptions:function(){var options=this._super();options.disabled=this.element.prop("disabled");return options},_parseOptions:function(options){var that=this,data=[];options.each(function(index,item){data.push(that._parseOption($(item),index))});this.items=data},_parseOption:function(option,index){var optgroup=option.parent("optgroup");return{element:option,index:index,value:option.val(),label:option.text(),hidden:optgroup.prop("hidden")||option.prop("hidden"),optgroup:optgroup.attr("label")||"",disabled:optgroup.prop("disabled")||option.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler();this.menuWrap.remove();this.button.remove();this.element.show();this.element.removeUniqueId();this.labels.attr("for",this.ids.element)}}]); 1835/*! 1836 * jQuery UI Slider 1.14.1 1837 * https://jqueryui.com 1838 * 1839 * Copyright OpenJS Foundation and other contributors 1840 * Released under the MIT license. 1841 * https://jquery.org/license 1842 */ 1843var widgetsSlider=$.widget("ui.slider",$.ui.mouse,{version:"1.14.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
1843,numPages:5,_create:function(){this._keySliding=!1;this._mouseSliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();this._calculateNewMax();this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content");this._refresh();this._animateOff=!1},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var i,handleCount,options=this.options,existingHandles=this.element.find(".ui-slider-handle"),handle="<span tabindex='0'></span>",handles=[];handleCount=(options.values&&options.values.length)||1;if(existingHandles.length>handleCount){existingHandles.slice(handleCount).remove();existingHandles=existingHandles.slice(0,handleCount)} 1844for(i=existingHandles.length;i<handleCount;i++){handles.push(handle)} 1845this.handles=existingHandles.add($(handles.join("")).appendTo(this.element));this._addClass(this.handles,"ui-slider-handle","ui-state-default");this.handle=this.handles.eq(0);this.handles.each(function(i){$(this).data("ui-slider-handle-index",i).attr("tabIndex",0)})},_createRange:function(){var options=this.options;if(options.range){if(options.range===!0){if(!options.values){options.values=[this._valueMin(),this._valueMin()]}else if(options.values.length&&options.values.length!==2){options.values=[options.values[0],options.values[0]]}else if(Array.isArray(options.values)){options.values=options.values.slice(0)}} 1846if(!this.range||!this.range.length){this.range=$("<div>").appendTo(this.element);this._addClass(this.range,"ui-slider-range")}else{this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max");this.range.css({"left":"","bottom":""})} 1847if(options.range==="min"||options.range==="max"){this._addClass(this.range,"ui-slider-range-"+options.range)}}else{if(this.range){this.range.remove()} 1848this.range=null}},_setupEvents:function(){this._off(this.handles);this._on(this.handles,this._handleEvents);this._hoverable(this.handles);this._focusable(this.handles)},_destroy:function(){this.handles.remove();if(this.range){this.range.remove()} 1849this._mouseDestroy()},_mouseCapture:function(event){var position,normValue,distance,closestHandle,index,allowed,offset,mouseOverHandle,that=this,o=this.options;if(o.disabled){return!1} 1850this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();position={x:event.pageX,y:event.pageY};normValue=this._normValueFromMouse(position);distance=this._valueMax()-this._valueMin()+1;this.handles.each(function(i){var thisDistance=Math.abs(normValue-that.values(i));if((distance>thisDistance)||(distance===thisDistance&&(i===that._lastChangedValue||that.values(i)===o.min))){distance=thisDistance;closestHandle=$(this);index=i}});allowed=this._start(event,index);if(allowed===!1){return!1} 1851this._mouseSliding=!0;this._handleIndex=index;this._addClass(closestHandle,null,"ui-state-active");closestHandle.trigger("focus");offset=closestHandle.offset();mouseOverHandle=!$(event.target).parents().addBack().is(".ui-slider-handle");this._clickOffset=mouseOverHandle?{left:0,top:0}:{left:event.pageX-offset.left-(closestHandle.width()/2),top:event.pageY-offset.top-(closestHandle.height()/2)-(parseInt(closestHandle.css("borderTopWidth"),10)||0)-(parseInt(closestHandle.css("borderBottomWidth"),10)||0)+(parseInt(closestHandle.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(event,index,normValue)} 1852this._animateOff=!0;return!0},_mouseStart:function(){return!0},_mouseDrag:function(event){var position={x:event.pageX,y:event.pageY},normValue=this._normValueFromMouse(position);this._slide(event,this._handleIndex,normValue);return!1},_mouseStop:function(event){this._removeClass(this.handles,null,"ui-state-active");this._mouseSliding=!1;this._stop(event,this._handleIndex);this._change(event,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=!1;return!1},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(position){var pixelTotal,pixelMouse,percentMouse,valueTotal,valueMouse;if(this.orientation==="horizontal"){pixelTotal=this.elementSize.width;pixelMouse=position.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{pixelTotal=this.elementSize.height;pixelMouse=position.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)} 1853percentMouse=(pixelMouse/pixelTotal);if(percentMouse>1){percentMouse=1} 1854if(percentMouse<0){percentMouse=0} 1855if(this.orientation==="vertical"){percentMouse=1-percentMouse} 1856valueTotal=this._valueMax()-this._valueMin();valueMouse=this._valueMin()+percentMouse*valueTotal;return this._trimAlignValue(valueMouse)},_uiHash:function(index,value,values){var uiHash={handle:this.handles[index],handleIndex:index,value:value!==undefined?value:this.value()};if(this._hasMultipleValues()){uiHash.value=value!==undefined?value:this.values(index);uiHash.values=values||this.values()} 1857return uiHash},_hasMultipleValues:function(){return this.options.values&&this.options.values.length}
1857,_start:function(event,index){return this._trigger("start",event,this._uiHash(index))},_slide:function(event,index,newVal){var allowed,otherVal,currentValue=this.value(),newValues=this.values();if(this._hasMultipleValues()){otherVal=this.values(index?0:1);currentValue=this.values(index);if(this.options.values.length===2&&this.options.range===!0){newVal=index===0?Math.min(otherVal,newVal):Math.max(otherVal,newVal)} 1858newValues[index]=newVal} 1859if(newVal===currentValue){return} 1860allowed=this._trigger("slide",event,this._uiHash(index,newVal,newValues));if(allowed===!1){return} 1861if(this._hasMultipleValues()){this.values(index,newVal)}else{this.value(newVal)}},_stop:function(event,index){this._trigger("stop",event,this._uiHash(index))},_change:function(event,index){if(!this._keySliding&&!this._mouseSliding){this._lastChangedValue=index;this._trigger("change",event,this._uiHash(index))}},value:function(newValue){if(arguments.length){this.options.value=this._trimAlignValue(newValue);this._refreshValue();this._change(null,0);return} 1862return this._value()},values:function(index,newValue){var vals,newValues,i;if(arguments.length>1){this.options.values[index]=this._trimAlignValue(newValue);this._refreshValue();this._change(null,index);return} 1863if(arguments.length){if(Array.isArray(arguments[0])){vals=this.options.values;newValues=arguments[0];for(i=0;i<vals.length;i+=1){vals[i]=this._trimAlignValue(newValues[i]);this._change(null,i)} 1864this._refreshValue()}else{if(this._hasMultipleValues()){return this._values(index)}else{return this.value()}}}else{return this._values()}},_setOption:function(key,value){var i,valsLength=0;if(key==="range"&&this.options.range===!0){if(value==="min"){this.options.value=this._values(0);this.options.values=null}else if(value==="max"){this.options.value=this._values(this.options.values.length-1);this.options.values=null}} 1865if(Array.isArray(this.options.values)){valsLength=this.options.values.length} 1866this._super(key,value);switch(key){case "orientation":this._detectOrientation();this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation);this._refreshValue();if(this.options.range){this._refreshRange(value)} 1867this.handles.css(value==="horizontal"?"bottom":"left","");break;case "value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case "values":this._animateOff=!0;this._refreshValue();for(i=valsLength-1;i>=0;i--){this._change(null,i)} 1868this._animateOff=!1;break;case "step":case "min":case "max":this._animateOff=!0;this._calculateNewMax();this._refreshValue();this._animateOff=!1;break;case "range":this._animateOff=!0;this._refresh();this._animateOff=!1;break}},_setOptionDisabled:function(value){this._super(value);this._toggleClass(null,"ui-state-disabled",!!value)},_value:function(){var val=this.options.value;val=this._trimAlignValue(val);return val},_values:function(index){var val,vals,i;if(arguments.length){val=this.options.values[index];val=this._trimAlignValue(val);return val}else if(this._hasMultipleValues()){vals=this.options.values.slice();for(i=0;i<vals.length;i+=1){vals[i]=this._trimAlignValue(vals[i])} 1869return vals}else{return[]}},_trimAlignValue:function(val){if(val<=this._valueMin()){return this._valueMin()} 1870if(val>=this._valueMax()){return this._valueMax()} 1871var step=(this.options.step>0)?this.options.step:1,valModStep=(val-this._valueMin())%step,alignValue=val-valModStep;if(Math.abs(valModStep)*2>=step){alignValue+=(valModStep>0)?step:(-step)} 1872return parseFloat(alignValue.toFixed(5))},_calculateNewMax:function(){var max=this.options.max,min=this._valueMin(),step=this.options.step,aboveMin=Math.round((max-min)/step)*step;max=aboveMin+min;if(max>this.options.max){max-=step} 1873this.max=parseFloat(max.toFixed(this._precision()))},_precision:function(){var precision=this._precisionOf(this.options.step);if(this.options.min!==null){precision=Math.max(precision,this._precisionOf(this.options.min))} 1874return precision},_precisionOf:function(num){var str=num.toString(),decimal=str.indexOf(".");return decimal===-1?0:str.length-decimal-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(orientation){if(orientation==="vertical"){this.range.css({"width":"","left":""})}
1875if(orientation==="horizontal"){this.range.css({"height":"","bottom":""})}},_refreshValue:function(){var lastValPercent,valPercent,value,valueMin,valueMax,oRange=this.options.range,o=this.options,that=this,animate=(!this._animateOff)?o.animate:!1,_set={};if(this._hasMultipleValues()){this.handles.each(function(i){valPercent=(that.values(i)-that._valueMin())/(that._valueMax()-that._valueMin())*100;_set[that.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";$(this).stop(1,1)[animate?"animate":"css"](_set,o.animate);if(that.options.range===!0){if(that.orientation==="horizontal"){if(i===0){that.range.stop(1,1)[animate?"animate":"css"]({left:valPercent+"%"},o.animate)} 1876if(i===1){that.range[animate?"animate":"css"]({width:(valPercent-lastValPercent)+"%"},{queue:!1,duration:o.animate})}}else{if(i===0){that.range.stop(1,1)[animate?"animate":"css"]({bottom:(valPercent)+"%"},o.animate)} 1877if(i===1){that.range[animate?"animate":"css"]({height:(valPercent-lastValPercent)+"%"},{queue:!1,duration:o.animate})}}} 1878lastValPercent=valPercent})}else{value=this.value();valueMin=this._valueMin();valueMax=this._valueMax();valPercent=(valueMax!==valueMin)?(value-valueMin)/(valueMax-valueMin)*100:0;_set[this.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";this.handle.stop(1,1)[animate?"animate":"css"](_set,o.animate);if(oRange==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[animate?"animate":"css"]({width:valPercent+"%"},o.animate)} 1879if(oRange==="max"&&this.orientation==="horizontal"){this.range.stop(1,1)[animate?"animate":"css"]({width:(100-valPercent)+"%"},o.animate)} 1880if(oRange==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[animate?"animate":"css"]({height:valPercent+"%"},o.animate)} 1881if(oRange==="max"&&this.orientation==="vertical"){this.range.stop(1,1)[animate?"animate":"css"]({height:(100-valPercent)+"%"},o.animate)}}},_handleEvents:{keydown:function(event){var allowed,curVal,newVal,step,index=$(event.target).data("ui-slider-handle-index");switch(event.keyCode){case $.ui.keyCode.HOME:case $.ui.keyCode.END:case $.ui.keyCode.PAGE_UP:case $.ui.keyCode.PAGE_DOWN:case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:event.preventDefault();if(!this._keySliding){this._keySliding=!0;this._addClass($(event.target),null,"ui-state-active");allowed=this._start(event,index);if(allowed===!1){return}} 1882break} 1883step=this.options.step;if(this._hasMultipleValues()){curVal=newVal=this.values(index)}else{curVal=newVal=this.value()} 1884switch(event.keyCode){case $.ui.keyCode.HOME:newVal=this._valueMin();break;case $.ui.keyCode.END:newVal=this._valueMax();break;case $.ui.keyCode.PAGE_UP:newVal=this._trimAlignValue(curVal+((this._valueMax()-this._valueMin())/this.numPages));break;case $.ui.keyCode.PAGE_DOWN:newVal=this._trimAlignValue(curVal-((this._valueMax()-this._valueMin())/this.numPages));break;case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:if(curVal===this._valueMax()){return} 1885newVal=this._trimAlignValue(curVal+step);break;case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:if(curVal===this._valueMin()){return} 1886newVal=this._trimAlignValue(curVal-step);break} 1887this._slide(event,index,newVal)},keyup:function(event){var index=$(event.target).data("ui-slider-handle-index");if(this._keySliding){this._keySliding=!1;this._stop(event,index);this._change(event,index);this._removeClass($(event.target),null,"ui-state-active")}}}}); 1888/*! 1889 * jQuery UI Sortable 1.14.1 1890 * https://jqueryui.com 1891 * 1892 * Copyright OpenJS Foundation and other contributors 1893 * Released under the MIT license. 1894 * https://jquery.org/license 1895 */ 1896var widgetsSortable=$.widget("ui.sortable",$.ui.mouse,{version:"1.14.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(x,reference,size){return(x>=reference)&&(x<(reference+size))},_isFloating:function(item){return(/left|right/).test(item.css("float"))||(/inline|table-cell/).test(item.css("display"))},_create:function(){this.containerCache={};this._addClass("ui-sortable");this.refresh();this.offset=this.element.offset();this._mouseInit();this._setHandleClassName();this.ready=!0},_setOption:function(key,value){this._super(key,value);if(key==="handle"){this._setHandleClassName()}},_setHandleClassName:function(){var that=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle");$.each(this.items,function(){that._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}
1896)},_destroy:function(){this._mouseDestroy();for(var i=this.items.length-1;i>=0;i--){this.items[i].item.removeData(this.widgetName+"-item")} 1897return this},_mouseCapture:function(event,overrideHandle){var currentItem=null,validHandle=!1,that=this;if(this.reverting){return!1} 1898if(this.options.disabled||this.options.type==="static"){return!1} 1899this._refreshItems(event);$(event.target).parents().each(function(){if($.data(this,that.widgetName+"-item")===that){currentItem=$(this);return!1}});if($.data(event.target,that.widgetName+"-item")===that){currentItem=$(event.target)} 1900if(!currentItem){return!1} 1901if(this.options.handle&&!overrideHandle){$(this.options.handle,currentItem).find("*").addBack().each(function(){if(this===event.target){validHandle=!0}});if(!validHandle){return!1}} 1902this.currentItem=currentItem;this._removeCurrentsFromItems();return!0},_mouseStart:function(event,overrideHandle,noActivation){var i,body,o=this.options;this.currentContainer=this;this.refreshPositions();this.appendTo=$(o.appendTo!=="parent"?o.appendTo:this.currentItem.parent());this.helper=this._createHelper(event);this._cacheHelperProportions();this._cacheMargins();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};$.extend(this.offset,{click:{left:event.pageX-this.offset.left,top:event.pageY-this.offset.top},relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");if(o.cursorAt){this._adjustOffsetFromHelper(o.cursorAt)} 1903this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.currentItem.hide()} 1904this._createPlaceholder();this.scrollParent=this.placeholder.scrollParent();$.extend(this.offset,{parent:this._getParentOffset()});if(o.containment){this._setContainment()} 1905if(o.cursor&&o.cursor!=="auto"){body=this.document.find("body");this._storedStylesheet=$("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(body)}
1906if(o.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")} 1907this.helper.css("zIndex",o.zIndex)} 1908if(o.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")} 1909this.helper.css("opacity",o.opacity)} 1910if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()} 1911this._trigger("start",event,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()} 1912if(!noActivation){for(i=this.containers.length-1;i>=0;i--){this.containers[i]._trigger("activate",event,this._uiHash(this))}} 1913if($.ui.ddmanager){$.ui.ddmanager.current=this} 1914if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)} 1915this.dragging=!0;this._addClass(this.helper,"ui-sortable-helper");if(!this.helper.parent().is(this.appendTo)){this.helper.detach().appendTo(this.appendTo);this.offset.parent=this._getParentOffset()} 1916this.position=this.originalPosition=this._generatePosition(event);this.originalPageX=event.pageX;this.originalPageY=event.pageY;this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute");this._mouseDrag(event);return!0},_scroll:function(event){var o=this.options,scrolled=!1;if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-event.pageY<o.scrollSensitivity){this.scrollParent[0].scrollTop=scrolled=this.scrollParent[0].scrollTop+o.scrollSpeed}else if(event.pageY-this.overflowOffset.top<o.scrollSensitivity){this.scrollParent[0].scrollTop=scrolled=this.scrollParent[0].scrollTop-o.scrollSpeed} 1917if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-event.pageX<o.scrollSensitivity){this.scrollParent[0].scrollLeft=scrolled=this.scrollParent[0].scrollLeft+o.scrollSpeed}else if(event.pageX-this.overflowOffset.left<o.scrollSensitivity){this.scrollParent[0].scrollLeft=scrolled=this.scrollParent[0].scrollLeft-o.scrollSpeed}}else{if(event.pageY-this.document.scrollTop()<o.scrollSensitivity){scrolled=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed)}else if(this.window.height()-(event.pageY-this.document.scrollTop())<o.scrollSensitivity){scrolled=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)} 1918if(event.pageX-this.document.scrollLeft()<o.scrollSensitivity){scrolled=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed)}else if(this.window.width()-(event.pageX-this.document.scrollLeft())<o.scrollSensitivity){scrolled=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed)}} 1919return scrolled},_mouseDrag:function(event){var i,item,itemElement,intersection,o=this.options;this.position=this._generatePosition(event);this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"} 1920if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"} 1921if(o.scroll){if(this._scroll(event)!==!1){this._refreshItemPositions(!0);if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)}}} 1922this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()};for(i=this.items.length-1;i>=0;i--){item=this.items[i];itemElement=item.item[0];intersection=this._intersectsWithPointer(item);if(!intersection){continue} 1923if(item.instance!==this.currentContainer){continue} 1924if(itemElement!==this.currentItem[0]&&this.placeholder[intersection===1?"next":"prev"]()[0]!==itemElement&&!$.contains(this.placeholder[0],itemElement)&&(this.options.type==="semi-dynamic"?!$.contains(this.element[0],itemElement):!0)){this.direction=intersection===1?"down":"up";if(this.options.tolerance==="pointer"||this._intersectsWithSides(item)){this._rearrange(event,item)}else{break} 1925this._trigger("change",event,this._uiHash());break}} 1926this._contactContainers(event);if($.ui.ddmanager){$.ui.ddmanager.drag(this,event)} 1927this._trigger("sort",event,this._uiHash());this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(event,noPropagation){if(!event){return} 1928if($.ui.ddmanager&&!this.options.dropBehaviour){$.ui.ddmanager.drop(this,event)} 1929if(this.options.revert){var that=this,cur=this.placeholder.offset(),axis=this.options.axis,animation={};
1929if(!axis||axis==="x"){animation.left=cur.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)} 1930if(!axis||axis==="y"){animation.top=cur.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)} 1931this.reverting=!0;$(this.helper).animate(animation,parseInt(this.options.revert,10)||500,function(){that._clear(event)})}else{this._clear(event,noPropagation)} 1932return!1},cancel:function(){if(this.dragging){this._mouseUp(new $.Event("mouseup",{target:null}));if(this.options.helper==="original"){this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()} 1933for(var i=this.containers.length-1;i>=0;i--){this.containers[i]._trigger("deactivate",null,this._uiHash(this));if(this.containers[i].containerCache.over){this.containers[i]._trigger("out",null,this._uiHash(this));this.containers[i].containerCache.over=0}}} 1934if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])} 1935if(this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()} 1936$.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null});if(this.domPosition.prev){$(this.domPosition.prev).after(this.currentItem)}else{$(this.domPosition.parent).prepend(this.currentItem)}} 1937return this},serialize:function(o){var items=this._getItemsAsjQuery(o&&o.connected),str=[];o=o||{};$(items).each(function(){var res=($(o.item||this).attr(o.attribute||"id")||"").match(o.expression||(/(.+)[\-=_](.+)/));if(res){str.push((o.key||res[1]+"[]")+"="+(o.key&&o.expression?res[1]:res[2]))}});if(!str.length&&o.key){str.push(o.key+"=")} 1938return str.join("&")},toArray:function(o){var items=this._getItemsAsjQuery(o&&o.connected),ret=[];o=o||{};items.each(function(){ret.push($(o.item||this).attr(o.attribute||"id")||"")});return ret},_intersectsWith:function(item){var x1=this.positionAbs.left,x2=x1+this.helperProportions.width,y1=this.positionAbs.top,y2=y1+this.helperProportions.height,l=item.left,r=l+item.width,t=item.top,b=t+item.height,dyClick=this.offset.click.top,dxClick=this.offset.click.left,isOverElementHeight=(this.options.axis==="x")||((y1+dyClick)>t&&(y1+dyClick)<b),isOverElementWidth=(this.options.axis==="y")||((x1+dxClick)>l&&(x1+dxClick)<r),isOverElement=isOverElementHeight&&isOverElementWidth;if(this.options.tolerance==="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>item[this.floating?"width":"height"])){return isOverElement}else{return(l<x1+(this.helperProportions.width/2)&&x2-(this.helperProportions.width/2)<r&&t<y1+(this.helperProportions.height/2)&&y2-(this.helperProportions.height/2)<b)}},_intersectsWithPointer:function(item){var verticalDirection,horizontalDirection,isOverElementHeight=(this.options.axis==="x")||this._isOverAxis(this.positionAbs.top+this.offset.click.top,item.top,item.height),isOverElementWidth=(this.options.axis==="y")||this._isOverAxis(this.positionAbs.left+this.offset.click.left,item.left,item.width),isOverElement=isOverElementHeight&&isOverElementWidth;if(!isOverElement){return!1} 1939verticalDirection=this.dragDirection.vertical;horizontalDirection=this.dragDirection.horizontal;return this.floating?((horizontalDirection==="right"||verticalDirection==="down")?2:1):(verticalDirection&&(verticalDirection==="down"?2:1))},_intersectsWithSides:function(item){var isOverBottomHalf=this._isOverAxis(this.positionAbs.top+this.offset.click.top,item.top+(item.height/2),item.height),isOverRightHalf=this._isOverAxis(this.positionAbs.left+this.offset.click.left,item.left+(item.width/2),item.width),verticalDirection=this.dragDirection.vertical,horizontalDirection=this.dragDirection.horizontal;if(this.floating&&horizontalDirection){return((horizontalDirection==="right"&&isOverRightHalf)||(horizontalDirection==="left"&&!isOverRightHalf))}else{return verticalDirection&&((verticalDirection==="down"&&isOverBottomHalf)||(verticalDirection==="up"&&!isOverBottomHalf))}},_getDragVerticalDirection:function(){var delta=this.positionAbs.top-this.lastPositionAbs.top;return delta!==0&&(delta>0?"down":"up")},_getDragHorizontalDirection:function(){var delta=this.positionAbs.left-this.lastPositionAbs.left;return delta!==0&&(delta>0?"right":"left")},refresh:function(event){this._refreshItems(event);this._setHandleClassName();this.refreshPositions();return this},_connectWith:function(){var options=this.options;return options.connectWith.constructor===String?[options.connectWith
1939]:options.connectWith},_getItemsAsjQuery:function(connected){var i,j,cur,inst,items=[],queries=[],connectWith=this._connectWith();if(connectWith&&connected){for(i=connectWith.length-1;i>=0;i--){cur=$(connectWith[i],this.document[0]);for(j=cur.length-1;j>=0;j--){inst=$.data(cur[j],this.widgetFullName);if(inst&&inst!==this&&!inst.options.disabled){queries.push([typeof inst.options.items==="function"?inst.options.items.call(inst.element):$(inst.options.items,inst.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),inst])}}}} 1940queries.push([typeof this.options.items==="function"?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):$(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function addItems(){items.push(this)} 1941for(i=queries.length-1;i>=0;i--){queries[i][0].each(addItems)} 1942return $(items)},_removeCurrentsFromItems:function(){var list=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=$.grep(this.items,function(item){for(var j=0;j<list.length;j++){if(list[j]===item.item[0]){return!1}} 1943return!0})},_refreshItems:function(event){this.items=[];this.containers=[this];var i,j,cur,inst,targetData,_queries,item,queriesLength,items=this.items,queries=[[typeof this.options.items==="function"?this.options.items.call(this.element[0],event,{item:this.currentItem}):$(this.options.items,this.element),this]],connectWith=this._connectWith();if(connectWith&&this.ready){for(i=connectWith.length-1;i>=0;i--){cur=$(connectWith[i],this.document[0]);for(j=cur.length-1;j>=0;j--){inst=$.data(cur[j],this.widgetFullName);if(inst&&inst!==this&&!inst.options.disabled){queries.push([typeof inst.options.items==="function"?inst.options.items.call(inst.element[0],event,{item:this.currentItem}):$(inst.options.items,inst.element),inst]);this.containers.push(inst)}}}} 1944for(i=queries.length-1;i>=0;i--){targetData=queries[i][1];_queries=queries[i][0];for(j=0,queriesLength=_queries.length;j<queriesLength;j++){item=$(_queries[j]);item.data(this.widgetName+"-item",targetData);items.push({item:item,instance:targetData,width:0,height:0,left:0,top:0})}}},_refreshItemPositions:function(fast){var i,item,t,p;for(i=this.items.length-1;i>=0;i--){item=this.items[i];if(this.currentContainer&&item.instance!==this.currentContainer&&item.item[0]!==this.currentItem[0]){continue} 1945t=this.options.toleranceElement?$(this.options.toleranceElement,item.item):item.item;if(!fast){item.width=t.outerWidth();item.height=t.outerHeight()} 1946p=t.offset();item.left=p.left;item.top=p.top}},refreshPositions:function(fast){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):!1;if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()} 1947this._refreshItemPositions(fast);var i,p;
1947if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(i=this.containers.length-1;i>=0;i--){p=this.containers[i].element.offset();this.containers[i].containerCache.left=p.left;this.containers[i].containerCache.top=p.top;this.containers[i].containerCache.width=this.containers[i].element.outerWidth();this.containers[i].containerCache.height=this.containers[i].element.outerHeight()}} 1948return this},_createPlaceholder:function(that){that=that||this;var className,nodeName,o=that.options;if(!o.placeholder||o.placeholder.constructor===String){className=o.placeholder;nodeName=that.currentItem[0].nodeName.toLowerCase();o.placeholder={element:function(){var element=$("<"+nodeName+">",that.document[0]);that._addClass(element,"ui-sortable-placeholder",className||that.currentItem[0].className)._removeClass(element,"ui-sortable-helper");if(nodeName==="tbody"){that._createTrPlaceholder(that.currentItem.find("tr").eq(0),$("<tr>",that.document[0]).appendTo(element))}else if(nodeName==="tr"){that._createTrPlaceholder(that.currentItem,element)}else if(nodeName==="img"){element.attr("src",that.currentItem.attr("src"))} 1949if(!className){element.css("visibility","hidden")} 1950return element},update:function(container,p){if(className&&!o.forcePlaceholderSize){return} 1951if(!p.height()||(o.forcePlaceholderSize&&(nodeName==="tbody"||nodeName==="tr"))){p.height(that.currentItem.innerHe
1951ight()-parseInt(that.currentItem.css("paddingTop")||0,10)-parseInt(that.currentItem.css("paddingBottom")||0,10))} 1952if(!p.width()){p.width(that.currentItem.innerWidth()-parseInt(that.currentItem.css("paddingLeft")||0,10)-parseInt(that.currentItem.css("paddingRight")||0,10))}}}} 1953that.placeholder=$(o.placeholder.element.call(that.element,that.currentItem));that.currentItem.after(that.placeholder);o.placeholder.update(that,that.placeholder)},_createTrPlaceholder:function(sourceTr,targetTr){var that=this;sourceTr.children().each(function(){$("<td> </td>",that.document[0]).attr("colspan",$(this).attr("colspan")||1).appendTo(targetTr)})},_contactContainers:function(event){var i,j,dist,itemWithLeastDistance,posProperty,sizeProperty,cur,nearBottom,floating,axis,innermostContainer=null,innermostIndex=null;for(i=this.containers.length-1;i>=0;i--){if($.contains(this.currentItem[0],this.containers[i].element[0])){continue} 1954if(this._intersectsWith(this.containers[i].containerCache)){if(innermostContainer&&$.contains(this.containers[i].element[0],innermostContainer.element[0])){continue} 1955innermostContainer=this.containers[i];innermostIndex=i}else{if(this.containers[i].containerCache.over){this.containers[i]._trigger("out",event,this._uiHash(this));this.containers[i].containerCache.over=0}}} 1956if(!innermostContainer){return} 1957if(this.containers.length===1){if(!this.containers[innermostIndex].containerCache.over){this.containers[innermostIndex]._trigger("over",event,this._uiHash(this));this.containers[innermostIndex].containerCache.over=1}}else{dist=10000;itemWithLeastDistance=null;floating=innermostContainer.floating||this._isFloating(this.currentItem);posProperty=floating?"left":"top";sizeProperty=floating?"width":"height";axis=floating?"pageX":"pageY";for(j=this.items.length-1;j>=0;j--){if(!$.contains(this.containers[innermostIndex].element[0],this.items[j].item[0])){continue} 1958if(this.items[j].item[0]===this.currentItem[0]){continue} 1959cur=this.items[j].item.offset()[posProperty];nearBottom=!1;if(event[axis]-cur>this.items[j][sizeProperty]/2){nearBottom=!0} 1960if(Math.abs(event[axis]-cur)<dist){dist=Math.abs(event[axis]-cur);itemWithLeastDistance=this.items[j];this.direction=nearBottom?"up":"down"}} 1961if(!itemWithLeastDistance&&!this.options.dropOnEmpty){return} 1962if(this.currentContainer===this.containers[innermostIndex]){if(!this.currentContainer.containerCache.over){this.containers[innermostIndex]._trigger("over",event,this._uiHash());this.currentContainer.containerCache.over=1} 1963return} 1964if(itemWithLeastDistance){this._rearrange(event,itemWithLeastDistance,null,!0)}else{this._rearrange(event,null,this.containers[innermostIndex].element,!0)} 1965this._trigger("change",event,this._uiHash());this.containers[innermostIndex]._trigger("change",event,this._uiHash(this));this.currentContainer=this.containers[innermostIndex];this.options.placeholder.update(this.currentContainer,this.placeholder);this.scrollParent=this.placeholder.scrollParent();if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()} 1966this.containers[innermostIndex]._trigger("over",event,this._uiHash(this));this.containers[innermostIndex].containerCache.over=1}},_createHelper:function(event){var o=this.options,helper=typeof o.helper==="function"?$(o.helper.apply(this.element[0],[event,this.currentItem])):(o.helper==="clone"?this.currentItem.clone():this.currentItem);if(!helper.parents("body").length){this.appendTo[0].appendChild(helper[0])} 1967if(helper[0]===this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}} 1968if(!helper[0].style.width||o.forceHelperSize){helper.width(this.currentItem.width())} 1969if(!helper[0].style.height||o.forceHelperSize){helper.height(this.currentItem.height())} 1970return helper},_adjustOffsetFromHelper:function(obj){if(typeof obj==="string"){obj=obj.split(" ")} 1971if(Array.isArray(obj)){obj={left:+obj[0],top:+obj[1]||0}}
vendor: 4,862 bytes, lines 1972-1985
1972if("left" in obj){this.offset.click.left=obj.left+this.margins.left} 1973if("right" in obj){this.offset.click.left=this.helperProportions.width-obj.right+this.margins.left} 1974if("top" in obj){this.offset.click.top=obj.top+this.margins.top} 1975if("bottom" in obj){this.offset.click.top=this.helperProportions.height-obj.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var po=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&$.contains(this.scrollParent[0],this.offsetParent[0])){po.left+=this.scrollParent.scrollLeft();po.top+=this.scrollParent.scrollTop()} 1976if(this.offsetParent[0]===this.document[0].body){po={top:0,left:0}} 1977return{top:po.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:po.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var p=this.currentItem.position();return{top:p.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:p.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var ce,co,over,o=this.options;if(o.containment==="parent"){o.containment=this.helper[0].parentNode} 1978if(o.containment==="document"||o.containment==="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,o.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(o.containment==="document"?(this.document.height()||document.body.parentNode.scrollHeight):this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]} 1979if(!(/^(document|window|parent)$/).test(o.containment)){ce=$(o.containment)[0];co=$(o.containment).offset();over=($(ce).css("overflow")!=="hidden");this.containment=[co.left+(parseInt($(ce).css("borderLeftWidth"),10)||0)+(parseInt($(ce).css("paddingLeft"),10)||0)-this.margins.left,co.top+(parseInt($(ce).css("borderTopWidth"),10)||0)+(parseInt($(ce).css("paddingTop"),10)||0)-this.margins.top,co.left+(over?Math.max(ce.scrollWidth,ce.offsetWidth):ce.offsetWidth)-(parseInt($(ce).css("borderLeftWidth"),10)||0)-(parseInt($(ce).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,co.top+(over?Math.max(ce.scrollHeight,ce.offsetHeight):ce.offsetHeight)-(parseInt($(ce).css("borderTopWidth"),10)||0)-(parseInt($(ce).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(d,pos){if(!pos){pos=this.position} 1980var mod=d==="absolute"?1:-1,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);return{top:(pos.top+this.offset.relative.top*mod+this.offset.parent.top*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(scrollIsRootNode?0:scroll.scrollTop()))*mod)),left:(pos.left+this.offset.relative.left*mod+this.offset.parent.left*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():scrollIsRootNode?0:scroll.scrollLeft())*mod))}},_generatePosition:function(event){var top,left,o=this.options,pageX=event.pageX,pageY=event.pageY,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);if(this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()} 1981if(this.originalPosition){if(this.containment){if(event.pageX-this.offset.click.left<this.containment[0]){pageX=this.containment[0]+this.offset.click.left} 1982if(event.pageY-this.offset.click.top<this.containment[1]){pageY=this.containment[1]+this.offset.click.top} 1983if(event.pageX-this.offset.click.left>this.containment[2]){pageX=this.containment[2]+this.offset.click.left} 1984if(event.pageY-this.offset.click.top>this.containment[3]){pageY=this.containment[3]+this.offset.click.top}} 1985if(o.grid){top=this.originalPageY+Math.round((pageY-this.originalPageY)/o.grid[1])*o.grid[1];pageY=this.containment?((top-this.offset.click.top>=this.containment[1]&&top-this.offset.click.top<=this.containment[3])?top:((top-this.offset.click.top>=this.containment[1])?top-o.grid[1]:top+o.grid[1])):top;
1985left=this.originalPageX+Math.round((pageX-this.originalPageX)/o.grid[0])*o.grid[0];pageX=this.containment?((left-this.offset.click.left>=this.containment[0]&&left-this.offset.click.left<=this.containment[2])?left:((left-this.offset.click.left>=this.containment[0])?left-o.grid[0]:left+o.grid[0])):left}} 1986return{top:(pageY-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(scrollIsRootNode?0:scroll.scrollTop())))),left:(pageX-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():scrollIsRootNode?0:scroll.scrollLeft())))}},_rearrange:function(event,i,a,hardRefresh){if(a){a[0].appendChild(this.placeholder[0])}else{i.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction==="down"?i.item[0]:i.item[0].nextSibling))} 1987this.counter=this.counter?++this.counter:1;var counter=this.counter;this._delay(function(){if(counter===this.counter){this.refreshPositions(!hardRefresh)}})},_clear:function(event,noPropagation){this.reverting=!1;var i,delayedTriggers=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)} 1988this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(i in this._storedCSS){if(this._storedCSS[i]==="auto"||this._storedCSS[i]==="static"){this._storedCSS[i]=""}} 1989this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()} 1990if(this.fromOutside&&!noPropagation){delayedTriggers.push(function(event){this._trigger("receive",event,this._uiHash(this.fromOutside))})} 1991if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!noPropagation){delayedTriggers.push(function(event){this._trigger("update",event,this._uiHash())})} 1992if(this!==this.currentContainer){if(!noPropagation){delayedTriggers.push(function(event){this._trigger("remove",event,this._uiHash())});delayedTriggers.push((function(c){return function(event){c._trigger("receive",event,this._uiHash(this))}}).call(this,this.currentContainer));delayedTriggers.push((function(c){return function(event){c._trigger("update",event,this._uiHash(this))}}).call(this,this.currentContainer))}} 1993function delayEvent(type,instance,container){return function(event){container._trigger(type,event,instance._uiHash(instance))}} 1994for(i=this.containers.length-1;i>=0;i--){if(!noPropagation){delayedTriggers.push(delayEvent("deactivate",this,this.containers[i]))} 1995if(this.containers[i].containerCache.over){delayedTriggers.push(delayEvent("out",this,this.containers[i]));this.containers[i].containerCache.over=0}} 1996if(this._storedStylesheet){this._storedStylesheet.remove();this._storedStylesheet=null} 1997if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)} 1998if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)} 1999this.dragging=!1;if(!noPropagation){this._trigger("beforeStop",event,this._uiHash())} 2000this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(!this.cancelHelperRemoval){if(this.helper[0]!==this.currentItem[0]){this.helper.remove()} 2001this.helper=null} 2002if(!noPropagation){for(i=0;i<delayedTriggers.length;i++){delayedTriggers[i].call(this,event)} 2003this._trigger("stop",event,this._uiHash())} 2004this.fromOutside=!1;return!this.cancelHelperRemoval},_trigger:function(){if($.Widget.prototype._trigger.apply(this,arguments)===!1){this.cancel()}},_uiHash:function(_inst){var inst=_inst||this;return{helper:inst.helper,placeholder:inst.placeholder||$([]),position:inst.position,originalPosition:inst.originalPosition,offset:inst.positionAbs,item:inst.currentItem,sender:_inst?_inst.element:null}}}); 2005/*! 2006 * jQuery UI Spinner 1.14.1 2007 * https://jqueryui.com 2008 * 2009 * Copyright OpenJS Foundation and other contributors 2010 * Released under the MIT license. 2011 * https://jquery.org/license 2012 */ 2013function spinnerModifier(fn){return function(){var previous=this.element.val();fn.apply(this,arguments);this._refresh();if(previous!==this.element.val()){this._trigger("change")}}} 2014$.widget("ui.spinner",{version:"1.14.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);if(this.value()!==""){this._value(this.element.val(),!0)} 2015this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var options=this._super();var element=this.element;$.each(["min","max","step"],function(i,option){var value=element.attr(option);if(value!=null&&value.length){options[option]=value}});return options},_events:{keydown:function(event){if(this._start(event)&&this._key
2015down(event)){event.preventDefault()}},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(event){this._stop();this._refresh();if(this.previous!==this.element.val()){this._trigger("change",event)}},mousewheel:function(event,delta){var activeElement=this.document[0].activeElement;var isActive=this.element[0]===activeElement;if(!isActive||!delta){return} 2016if(!this.spinning&&!this._start(event)){return!1} 2017this._spin((delta>0?1:-1)*this.options.step,event);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){if(this.spinning){this._stop(event)}},100);event.preventDefault()},"mousedown .ui-spinner-button":function(event){var previous;previous=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();function checkFocus(){var isActive=this.element[0]===this.document[0].activeElement;if(!isActive){this.element.trigger("focus");this.previous=previous}} 2018event.preventDefault();checkFocus.call(this);if(this._start(event)===!1){return} 2019this._repeat(null,$(event.currentTarget).hasClass("ui-spinner-up")?1:-1,event)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(event){if(!$(event.currentTarget).hasClass("ui-state-active")){return} 2020if(this._start(event)===!1){return!1} 2021this._repeat(null,$(event.currentTarget).hasClass("ui-spinner-up")?1:-1,event)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance();this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content");this._addClass("ui-spinner-input");this.element.attr("role","spinbutton");this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}});this._removeClass(this.buttons,"ui-corner-all");this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up");this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down");this.buttons.first().button({"icon":this.options.icons.up,"showLabel":!1});this.buttons.last().button({"icon":this.options.icons.down,"showLabel":!1});if(this.buttons.height()>Math.ceil(this.uiSpinner.height()*0.5)&&this.uiSpinner.height()>0){this.uiSpinner.height(this.uiSpinner.height())}},_keydown:function(event){var options=this.options,keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.UP:this._repeat(null,1,event);return!0;case keyCode.DOWN:this._repeat(null,-1,event);return!0;case keyCode.PAGE_UP:this._repeat(null,options.page,event);return!0;case keyCode.PAGE_DOWN:this._repeat(null,-options.page,event);return!0} 2022return!1},_start:function(event){if(!this.spinning&&this._trigger("start",event)===!1){return!1} 2023if(!this.counter){this.counter=1} 2024this.spinning=!0;return!0},_repeat:function(i,steps,event){i=i||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,steps,event)},i);this._spin(steps*this.options.step,event)},_spin:function(step,event){var value=this.value()||0;if(!this.counter){this.counter=1} 2025value=this._adjustValue(value+step*this._increment(this.counter));if(!this.spinning||this._trigger("spin",event,{value:value})!==!1){this._value(value);this.counter++}},_increment:function(i){var incremental=this.options.incremental;if(incremental){return typeof incremental==="function"?incremental(i):Math.floor(i*i*i/50000-i*i/500+17*i/200+1)} 2026return 1},_precision:function(){var precision=this._precisionOf(this.options.step);if(this.options.min!==null){precision=Math.max(precision,this._precisionOf(this.options.min))} 2027return precision},_precisionOf:function(num){var str=num.toString(),decimal=str.indexOf(".");return decimal===-1?0:str.length-decimal-1},_adjustValue:function(value){var base,aboveMin,options=this.options;base=options.min!==null?options.min:0;aboveMin=value-base;aboveMin=Math.round(aboveMin/options.step)*options.step;value=base+aboveMin;value=parseFloat(value.toFixed(this._precision()));if(options.max!==null&&value>options.max){return options.max} 2028if(options.min!==null&&value<options.min){return options.min} 2029return value},_stop:function(event){if(!this.spinning){return} 2030clearTimeout(this.timer);clearTimeout(this.mousewheelTimer);this.counter=0;this.spinning=!1;this._trigger("stop",event)},_setOption:function(key,value){var prevValue,first,last;if(key==="culture"||key==="numberFormat"){prevValue=this._parse(this.element.val());this.options[key]=value;this.element.val(this._format(prevValue));return} 2031if(key==="max"||key==="min"||key==="step"){if(typeof value==="string"){value=this._parse(value)}} 2032if(key==="icons"){first=this.buttons.first().find(".ui-icon");this._removeClass(first,null,this.options.icons.up);this._addClass(first,null,value.up);last=this.buttons.last().find(".ui-icon");this._removeClass(last,null,this.options.icons.down);this._addClass(last,null,value.down)} 2033this._super(key,value)},_setOptionDisabled:function(value){this._super(value);this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!value);this.element.prop("disabled",!!value);this.buttons.button(value?"disable":"enable")},_setOptions:spinnerModifier(function(options){this._super(options)}),_parse:function(val){if(typeof val==="string"&&val!==""){val=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(val,10,this.options.culture):+val} 2034return val===""||isNaN(val)?null:val},_format:function(value){if(value===""){return""} 2035return window.Globalize&&this.options.numberFormat?Globalize.format(value,this.options.numberFormat,this.options.culture):value},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var value=this.value();if(value===null){return!1} 2036return value===this._adjustValue(value)},_value:function(value,allowAny){var parsed;if(value!==""){parsed=this._parse(value);if(parsed!==null){if(!allowAny){parsed=this._adjustValue(parsed)} 2037value=this._format(parsed)}} 2038this.element.val(value);this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:spinnerModifier(function(steps){this._stepUp(steps)}),_stepUp:function(steps){if(this._start()){this._spin((steps||1)*this.options.step);this._stop()}},stepDown:spinnerModifier(function(steps){this._stepDown(steps)}),_stepDown:function(steps){if(this._start()){this._spin((steps||1)*-this.options.step);this._stop()}},pageUp:spinnerModifier(function(pages){this._stepUp((pages||1)*this.options.page)}),pageDown:spinnerModifier(function(pages){this._stepDown((pages||1)*this.options.page)}),value:function(newVal){if(!arguments.length){return this._parse(this.element.val())} 2039spinnerModifier(this._value).call(this,newVal)},widget:function(){return this.uiSpinner}}
2039);if($.uiBackCompat===!0){$.widget("ui.spinner",$.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}})} 2040var widgetsSpinner=$.ui.spinner; 2041/*! 2042 * jQuery UI Tabs 1.14.1 2043 * https://jqueryui.com 2044 * 2045 * Copyright OpenJS Foundation and other contributors 2046 * Released under the MIT license. 2047 * https://jquery.org/license 2048 */ 2049$.widget("ui.tabs",{version:"1.14.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(function(){var rhash=/#.*$/;return function(anchor){var anchorUrl,locationUrl;anchorUrl=anchor.href.replace(rhash,"");locationUrl=location.href.replace(rhash,"");try{anchorUrl=decodeURIComponent(anchorUrl)}catch(error){} 2050try{locationUrl=decodeURIComponent(locationUrl)}catch(error){} 2051return anchor.hash.length>1&&anchorUrl===locationUrl}})(),_create:function(){var that=this,options=this.options;this.running=!1;this._addClass("ui-tabs","ui-widget ui-widget-content");this._toggleClass("ui-tabs-collapsible",null,options.collapsible);this._processTabs();options.active=this._initialActive();if(Array.isArray(options.disabled)){options.disabled=$.uniqueSort(options.disabled.concat($.map(this.tabs.filter(".ui-state-disabled"),function(li){return that.tabs.index(li)}))).sort()} 2052if(this.options.active!==!1&&this.anchors.length){this.active=this._findActive(options.active)}else{this.active=$()} 2053this._refresh();if(this.active.length){this.load(options.active)}},_initialActive:function(){var active=this.options.active,collapsible=this.options.collapsible,locationHashDecoded=decodeURIComponent(location.hash.substring(1));if(active===null){if(locationHashDecoded){this.tabs.each(function(i,tab){if($(tab).attr("aria-controls")===locationHashDecoded){active=i;return!1}})} 2054if(active===null){active=this.tabs.index(this.tabs.filter(".ui-tabs-active"))} 2055if(active===null||active===-1){active=this.tabs.length?0:!1}} 2056if(active!==!1){active=this.tabs.index(this.tabs.eq(active));if(active===-1){active=collapsible?!1:0}} 2057if(!collapsible&&active===!1&&this.anchors.length){active=0} 2058return active},_getCreateEventData:function(){return{tab:this.active,panel:!this.active.length?$():this._getPanelForTab(this.active)}},_tabKeydown:function(event){var focusedTab=$(this.document[0].activeElement).closest("li"),selectedIndex=this.tabs.index(focusedTab),goingForward=!0;if(this._handlePageNav(event)){return} 2059switch(event.keyCode){case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:selectedIndex++;break;case $.ui.keyCode.UP:case $.ui.keyCode.LEFT:goingForward=!1;selectedIndex--;break;case $.ui.keyCode.END:selectedIndex=this.anchors.length-1;break;case $.ui.keyCode.HOME:selectedIndex=0;break;case $.ui.keyCode.SPACE:event.preventDefault();clearTimeout(this.activating);this._activate(selectedIndex);return;case $.ui.keyCode.ENTER:event.preventDefault();clearTimeout(this.activating);this._activate(selectedIndex===this.options.active?!1:selectedIndex);return;default:return} 2060event.preventDefault();clearTimeout(this.activating);selectedIndex=this._focusNextTab(selectedIndex,goingForward);if(!event.ctrlKey&&!event.metaKey){focusedTab.attr("aria-selected","false");this.tabs.eq(selectedIndex).attr("aria-selected","true");this.activating=this._delay(function(){this.option("active",selectedIndex)},this.delay)}},_panelKeydown:function(event){if(this._handlePageNav(event)){return} 2061if(event.ctrlKey&&event.keyCode===$.ui.keyCode.UP){event.preventDefault();this.active.trigger("focus")}},_handlePageNav:function(event){if(event.altKey&&event.keyCode===$.ui.keyCode.PAGE_UP){this._activate(this._focusNextTab(this.options.active-1,!1));return!0} 2062if(event.altKey&&event.keyCode===$.ui.keyCode.PAGE_DOWN){this._activate(this._focusNextTab(this.options.active+1,!0));return!0}},_findNextTab:function(index,goingForward){var lastTabIndex=this.tabs.length-1;function constrain(){if(index>lastTabIndex){index=0} 2063if(index<0){index=lastTabIndex} 2064return index} 2065while($.inArray(constrain(),this.options.disabled)!==-1){index=goingForward?index+1:index-1} 2066return index},_focusNextTab:function(index,goingForward){index=this._findNextTab(index,goingForward);this.tabs.eq(index).trigger("focus");return index},_setOption:function(key,value){if(key==="active"){this._activate(value);return} 2067this._super(key,value);if(key==="collapsible"){this._toggleClass("ui-tabs-collapsible",null,value);if(!value&&this.options.active===!1){this._activate(0)}} 2068if(key==="event"){this._setupEvents(value)} 2069if(key==="heightStyle"){this._setupHeightStyle(value)}},refresh:function(){var options=this.options,lis=this.tablist.children(":has(a[href])");options.disabled=$.map(lis.filter(".ui-state-disabled"),function(tab){return lis.index(tab)});this._processTabs();if(options.active===!1||!this.anchors.length){options.active=!1;this.active=$()}else if(this.active.length&&!$.contains(this.tablist[0],this.active[0])
2069){if(this.tabs.length===options.disabled.length){options.active=!1;this.active=$()}else{this._activate(this._findNextTab(Math.max(0,options.active-1),!1))}}else{options.active=this.tabs.index(this.active)} 2070this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"});if(!this.active.length){this.tabs.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0});this._addClass(this.active,"ui-tabs-active","ui-state-active");this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})}},_processTabs:function(){var that=this,prevTabs=this.tabs,prevAnchors=this.anchors,prevPanels=this.panels;this.tablist=this._getList().attr("role","tablist");this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header");this.tablist.on("mousedown"+this.eventNamespace,"> li",function(event){if($(this).is(".ui-state-disabled")){event.preventDefault()}});this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1});this._addClass(this.tabs,"ui-tabs-tab","ui-state-default");this.anchors=this.tabs.map(function(){return $("a",this)[0]}).attr({tabIndex:-1});this._addClass(this.anchors,"ui-tabs-anchor");this.panels=$();this.anchors.each(function(i,anchor){var selector,panel,panelId,anchorId=$(anchor).uniqueId().attr("id"),tab=$(anchor).closest("li"),originalAriaControls=tab.attr("aria-controls");if(that._isLocal(anchor)){selector=decodeURIComponent(anchor.hash);panelId=selector.substring(1);panel=that.element.find("#"+CSS.escape(panelId))}else{panelId=tab.attr("aria-controls")||$({}).uniqueId()[0].id;selector="#"+panelId;panel=that.element.find(selector);if(!panel.length){panel=that._createPanel(panelId);panel.insertAfter(that.panels[i-1]||that.tablist)} 2071panel.attr("aria-live","polite")} 2072if(panel.length){that.panels=that.panels.add(panel)} 2073if(originalAriaControls){tab.data("ui-tabs-aria-controls",originalAriaControls)} 2074tab.attr({"aria-controls":panelId,"aria-labelledby":anchorId});panel.attr("aria-labelledby",anchorId)});this.panels.attr("role","tabpanel");this._addClass(this.panels,"ui-tabs-panel","ui-widget-content");if(prevTabs){this._off(prevTabs.not(this.tabs));this._off(prevAnchors.not(this.anchors));this._off(prevPanels.not(this.panels))}},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(id){return $("<div>").attr("id",id).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(disabled){var currentItem,li,i;if(Array.isArray(disabled)){if(!disabled.length){disabled=!1}else if(disabled.length===this.anchors.length){disabled=!0}} 2075for(i=0;(li=this.tabs[i]);i++){currentItem=$(li);if(disabled===!0||$.inArray(i,disabled)!==-1){currentItem.attr("aria-disabled","true");this._addClass(currentItem,null,"ui-state-disabled")}else{currentItem.removeAttr("aria-disabled");this._removeClass(currentItem,null,"ui-state-disabled")}} 2076this.options.disabled=disabled;this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,disabled===!0)},_setupEvents:function(event){var events={};if(event){$.each(event.split(" "),function(index,eventName){events[eventName]="_eventHandler"})} 2077this._off(this.anchors.add(this.tabs).add(this.panels));this._on(!0,this.anchors,{click:function(event){event.preventDefault()}});this._on(this.anchors,events);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(heightStyle){var maxHeight,parent=this.element.parent();if(heightStyle==="fill"){maxHeight=parent.height();maxHeight-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var elem=$(this),position=elem.css("position");if(position==="absolute"||position==="fixed"){return} 2078maxHeight-=elem.outerHeight(!0)});this.element.children().not(this.panels).each(function(){maxHeight-=$(this).outerHeight(!0)});this.panels.each(function(){$(this).height(Math.max(0,maxHeight-$(this).innerHeight()+$(this).height()))}).css("overflow","auto")}else if(heightStyle==="auto"){maxHeight=0;this.panels.each(function(){maxHeight=Math.max(maxHeight,$(this).height("").height())}).height(maxHeight)}},_eventHandler:function(event){var options=this.options,active=this.active,anchor=$(event.currentTarget),tab=anchor.closest("li"),clickedIsActive=tab[0]===active[0],collapsing=clickedIsActive&&options.collapsible,toShow=collapsing?$():this._getPanelForTab(tab),toHide=!active.length?$():this._getPanelForTab(active),eventData={oldTab:active,oldPanel:toHide,newTab:collapsing?$():tab,newPanel:toShow};event.preventDefault();if(tab.hasClass("ui-state-disabled")||tab.hasClass("ui-tabs-loading")||this.running||(clickedIsActive&&!options.collapsible)||(this._trigger("beforeActivate",event,eventData)===!1)){return} 2079options.active=collapsing?!1:this.tabs.index(tab);this.active=clickedIsActive?$():tab;if(this.xhr){this.xhr.abort()} 2080if(!toHide.length&&!toShow.length){$.error("jQuery UI Tabs: Mismatching fragment identifier.")} 2081if(toShow.length){this.load(this.tabs.index(tab),event)} 2082this._toggle(event,eventData)},_toggle:function(event,eventData){var that=this,toShow=eventData.newPanel,toHide=eventData.oldPanel;this.running=!0;function complete(){that.running=!1;that._trigger("activate",event,eventData)} 2083function show(){that._addClass(eventData.newTab.closest("li"),"ui-tabs-active","ui-state-active");if(toShow.length&&that.options.show){that._show(toShow,that.options.show,complete)}else{toShow.show();complete()}} 2084if(toHide.length&&this.options.hide){this._hide(toHide,this.options.hide,function(){that._removeClass(eventData.oldTab.closest("li"),"ui-tabs-active","ui-state-active");show()})}else{this._removeClass(eventData.oldTab.closest("li"),"ui-tabs-active","ui-state-active");toHide.hide();show()} 2085toHide.attr("aria-hidden","true");eventData.oldTab.attr({"aria-selected":"false","aria-expanded":"false"});if(toShow.length&&toHide.length){eventData.oldTab.attr("tabIndex",-1)}else if(toShow.length){this.tabs.filter(function(){return $(this).attr("tabIndex")===0}).attr("tabIndex",-1)} 2086toShow.attr("aria-hidden","false");eventData.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(index){var anchor,active=this._findActive(index);if(active[0]===this.active[0]){return} 2087if(!active.length){active=this.active} 2088anchor=active.find(".ui-tabs-anchor")[0];this._eventHandler({target:anchor,currentTarget:anchor,preventDefault:$.noop})},_findActive:function(index){return index===!1?$():this.tabs.eq(index)}
2088,_getIndex:function(index){if(typeof index==="string"){index=this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(index)+"']"))} 2089return index},_destroy:function(){if(this.xhr){this.xhr.abort()} 2090this.tablist.removeAttr("role").off(this.eventNamespace);this.anchors.removeAttr("role tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){if($.data(this,"ui-tabs-destroy")){$(this).remove()}else{$(this).removeAttr("role tabIndex "+"aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}});this.tabs.each(function(){var li=$(this),prev=li.data("ui-tabs-aria-controls");if(prev){li.attr("aria-controls",prev).removeData("ui-tabs-aria-controls")}else{li.removeAttr("aria-controls")}});this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(index){var disabled=this.options.disabled;if(disabled===!1){return} 2091if(index===undefined){disabled=!1}else{index=this._getIndex(index);if(Array.isArray(disabled)){disabled=$.map(disabled,function(num){return num!==index?num:null})}else{disabled=$.map(this.tabs,function(li,num){return num!==index?num:null})}} 2092this._setOptionDisabled(disabled)},disable:function(index){var disabled=this.options.disabled;if(disabled===!0){return} 2093if(index===undefined){disabled=!0}else{index=this._getIndex(index);if($.inArray(index,disabled)!==-1){return} 2094if(Array.isArray(disabled)){disabled=$.merge([index],disabled).sort()}else{disabled=[index]}} 2095this._setOptionDisabled(disabled)},load:function(index,event){index=this._getIndex(index);var that=this,tab=this.tabs.eq(index),anchor=tab.find(".ui-tabs-anchor"),panel=this._getPanelForTab(tab),eventData={tab:tab,panel:panel},complete=function(jqXHR,status){if(status==="abort"){that.panels.stop(!1,!0)} 2096that._removeClass(tab,"ui-tabs-loading");panel.removeAttr("aria-busy");if(jqXHR===that.xhr){delete that.xhr}};if(this._isLocal(anchor[0])){return} 2097this.xhr=$.ajax(this._ajaxSettings(anchor,event,eventData));if(this.xhr.statusText!=="canceled"){this._addClass(tab,"ui-tabs-loading");panel.attr("aria-busy","true");this.xhr.done(function(response,status,jqXHR){panel.html(response);that._trigger("load",event,eventData);complete(jqXHR,status)}).fail(function(jqXHR,status){complete(jqXHR,status)})}},_ajaxSettings:function(anchor,event,eventData){var that=this;return{url:anchor.attr("href"),beforeSend:function(jqXHR,settings){return that._trigger("beforeLoad",event,$.extend({jqXHR:jqXHR,ajaxSettings:settings},eventData))}}},_getPanelForTab:function(tab){var id=$(tab).attr("aria-controls");return this.element.find("#"+CSS.escape(id))}});if($.uiBackCompat===!0){$.widget("ui.tabs",$.ui.tabs,{_processTabs:function(){this._superApply(arguments);this._addClass(this.tabs,"ui-tab")}})} 2098var widgetsTabs=$.ui.tabs; 2099/*! 2100 * jQuery UI Tooltip 1.14.1 2101 * https://jqueryui.com 2102 * 2103 * Copyright OpenJS Foundation and other contributors 2104 * Released under the MIT license. 2105 * https://jquery.org/license 2106 */ 2107$.widget("ui.tooltip",{version:"1.14.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var title=$(this).attr("title");return $("<a>").text(title).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(elem,id){var describedby=(elem.attr("aria-describedby")||"").split(/\s+/);describedby.push(id);elem.data("ui-tooltip-id",id).attr("aria-describedby",String.prototype.trim.call(describedby.join(" ")))},_removeDescribedBy:function(elem){var id=elem.data("ui-tooltip-id"),describedby=(elem.attr("aria-describedby")||"").split(/\s+/),index=$.inArray(id,describedby);if(index!==-1){describedby.splice(index,1)} 2108elem.removeData("ui-tooltip-id");describedby=String.prototype.trim.call(describedby.join(" "));if(describedby){elem.attr("aria-describedby",describedby)}else{elem.removeAttr("aria-describedby")}},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=$("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=$([])},_setOption:function(key,value){var that=this;this._super(key,value);if(key==="content"){$.each(this.tooltips,function(id,tooltipData){that._updateContent(tooltipData.element)})}},_setOptionDisabled:function(value){this[value?"_disable":"_enable"]()},_disable:function(){var that=this;$.each(this.tooltips,function(id,tooltipData){var event=$.Event("blur");event.target=event.currentTarget=tooltipData.element[0];that.close(event,!0)});this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var element=$(this);if(element.is("[title]")){return element.data("ui-tooltip-title",element.attr("title")).removeAttr("title")}}))},_enable:function(){this.disabledTitles.each(function(){var element=$(this);if(element.data("ui-tooltip-title")){element.attr("title",element.data("ui-tooltip-title"))}});this.disabledTitles=$([])},open:function(event){var that=this,target=$(event?event.target:this.element).closest(this.options.items);if(!target.length||target.data("ui-tooltip-id")){return} 2109if(target.attr("title")){target.data("ui-tooltip-title",target.attr("title"))} 2110target.data("ui-tooltip-open",!0);if(event&&event.type==="mouseover"){target.parents().each(function(){var parent=$(this),blurEvent;if(parent.data("ui-tooltip-open")){blurEvent=$.Event("blur");blurEvent.target=blurEvent.currentTarget=this;that.close(blurEvent,!0)} 2111if(parent.attr("title")){parent.uniqueId();that.parents[this.id]={element:this,title:parent.attr("title")};parent.attr("title","")}})} 2112this._registerCloseHandlers(event,target);this._updateContent(target,event)},_updateContent:function(target,event){var content,contentOption=this.options.content,that=this,eventType=event?event.type:null;if(typeof contentOption==="string"||contentOption.nodeType||contentOption.jquery){return this._open(event,target,contentOption)} 2113content=contentOption.call(target[0],function(response){if(!target.data("ui-tooltip-open")){return} 2114if(event){event.type=eventType} 2115that._open(event,target,response)});if(content){this._open(event,target,content)}},_open:function(event,target,content){var tooltipData,tooltip,delayedShow,a11yContent,positionOption=$.extend({},this.options.position);if(!content){return} 2116tooltipData=this._find(target);if(tooltipData){tooltipData.tooltip.find(".ui-tooltip-content").html(content);return} 2117if(target.is("[title]")){if(event&&event.type==="mouseover"){target.attr("title","")}else{target.removeAttr("title")}} 2118tooltipData=this._tooltip(target);tooltip=tooltipData.tooltip;this._addDescribedBy(target,tooltip.attr("id"));tooltip.find(".ui-tooltip-content").html(content);this.liveRegion.children().hide();a11yContent=$("<div>").html(tooltip.find(".ui-tooltip-content").html());a11yContent.removeAttr("name").find("[name]").removeAttr("name");a11yContent.removeAttr("id").find("[id]").removeAttr("id");a11yContent.appendTo(this.liveRegion);function position(event){positionOption.of=event;if(tooltip.is(":hidden")){return} 2119tooltip.position(positionOption)} 2120if(this.options.track&&event&&/^mouse/.test(event.type)){this._on(this.document,{mousemove:position});position(event)}else{tooltip.position($.extend({of:target},this.options.position))} 2121tooltip.hide();this._show(tooltip,this.options.show);if(this.options.track&&this.options.show&&this.options.show.delay){delayedShow=this.delayedShow=setInterval(function(){if(tooltip.is(":visible")){position(positionOption.of);clearInterval(delayedShow)}},13)} 2122this._trigger("open",event,{tooltip:tooltip})},_registerCloseHandlers:function(event,target){var events={keyup:function(event){if(event.keyCode===$.ui.keyCode.ESCAPE){var fakeEvent=$.Event(event);fakeEvent.currentTarget=target[0];this.close(fakeEvent,!0)}}};if(target[0]!==this.element[0]){events.remove=function(){var targetElement=this._find(target);if(targetElement){this._removeTooltip(targetElement.tooltip)}}} 2123if(!event||event.type==="mouseover"){events.mouseleave="close"} 2124if(!event||event.type==="focusin"){events.focusout="close"} 2125this._on(!0,target,events)},close:function(event){var tooltip,that=this,target=$(event?event.currentTarget:this.element),tooltipData=this._find(target);if(!tooltipData){target.removeData("ui-tooltip-open");return} 2126tooltip=tooltipData.tooltip;if(tooltipData.closing){return} 2127clearInterval(this.delayedShow);if(target.data("ui-tooltip-title")&&!target.attr("title")){target.attr("title",target.data("ui-tooltip-title"))} 2128this._removeDescribedBy(target);tooltipData.hiding=!0;tooltip.stop(!0);this._hide(tooltip,this.options.hide,function(){that._removeTooltip($(this))});target.removeData("ui-tooltip-open");this._off(target,"mouseleave focusout keyup");if(target[0]!==this.element[0]){this._off(target,"remove")} 2129this._off(this.document,"mousemove");
2129if(event&&event.type==="mouseleave"){$.each(this.parents,function(id,parent){$(parent.element).attr("title",parent.title);delete that.parents[id]})} 2130tooltipData.closing=!0;this._trigger("close",event,{tooltip:tooltip});if(!tooltipData.hiding){tooltipData.closing=!1}},_tooltip:function(element){var tooltip=$("<div>").attr("role","tooltip"),content=$("<div>").appendTo(tooltip),id=tooltip.uniqueId().attr("id");this._addClass(content,"ui-tooltip-content");this._addClass(tooltip,"ui-tooltip","ui-widget ui-widget-content");tooltip.appendTo(this._appendTo(element));return this.tooltips[id]={element:element,tooltip:tooltip}},_find:function(target){var id=target.data("ui-tooltip-id");return id?this.tooltips[id]:null},_removeTooltip:function(tooltip){clearInterval(this.delayedShow);tooltip.remove();delete this.tooltips[tooltip.attr("id")]},_appendTo:function(target){var element=target.closest(".ui-front, dialog");if(!element.length){element=this.document[0].body} 2131return element},_destroy:function(){var that=this;$.each(this.tooltips,function(id,tooltipData){var event=$.Event("blur"),element=tooltipData.element;event.target=event.currentTarget=element[0];that.close(event,!0);$("#"+id).remove();if(element.data("ui-tooltip-title")){if(!element.attr("title")){element.attr("title",element.data("ui-tooltip-title"))} 2132element.removeData("ui-tooltip-title")}});this.liveRegion.remove()}});if($.uiBackCompat===!0){$.widget("ui.tooltip",$.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var tooltipData=this._superApply(arguments);if(this.options.tooltipClass){tooltipData.tooltip.addClass(this.options.tooltipClass)} 2133return tooltipData}})} 2134var widgetsTooltip=$.ui.tooltip}); 2135 2136 2137 2138/*! This file is auto-generated */ 2139(function() { 2140"use strict";var wp;(wp||={}).hooks=(()=>{var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(e,n)=>{for(var s in n)v(e,s,{get:n[s],enumerable:!0})},D=(e,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!I.call(e,t)&&t!==s&&v(e,t,{get:()=>n[t],enumerable:!(r=S(n,t))||r.enumerable});return e};var T=e=>D(v({},"__esModule",{value:!0}),e);var le={};w(le,{actions:()=>ae,addAction:()=>J,addFilter:()=>K,applyFilters:()=>N,applyFiltersAsync:()=>ee,createHooks:()=>F,currentAction:()=>te,currentFilter:()=>re,defaultHooks:()=>b,didAction:()=>ie,didFilter:()=>se,doAction:()=>X,doActionAsync:()=>Y,doingAction:()=>ne,doingFilter:()=>oe,filters:()=>ce,hasAction:()=>P,hasFilter:()=>Q,removeAction:()=>L,removeAllActions:()=>U,removeAllFilters:()=>W,removeFilter:()=>M});function z(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var m=z;function E(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var f=E;function Z(e,n){return function(r,t,a,i=10){let c=e[n];if(!f(r)||!m(t))return;if(typeof a!="function"){console.error("The hook callback must be a function.");return}if(typeof i!="number"){console.error("If specified, the hook priority must be a number.");return}let l={callback:a,priority:i,namespace:t};if(c[r]){let o=c[r].handlers,d;for(d=o.length;d>0&&!(i>=o[d-1].priority);d--);d===o.length?o[d]=l:o.splice(d,0,l),c.__current.forEach(h=>{h.name===r&&h.currentIndex>=d&&h.currentIndex++})}else c[r]={handlers:[l],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,t,a,i)}}var H=Z;function C(e,n,s=!1){return function(t,a){let i=e[n];if(!f(t)||!s&&!m(a))return;if(!i[t])return 0;let c=0;if(s)c=i[t].handlers.length,i[t]={runs:i[t].runs,handlers:[]};else{let l=i[t].handlers;for(let o=l.length-1;o>=0;o--)l[o].namespace===a&&(l.splice(o,1),c++,i.__current.forEach(d=>{d.name===t&&d.currentIndex>=o&&d.currentIndex--}))}return t!=="hookRemoved"&&e.doAction("hookRemoved",t,a),c}}var p=C;function O(e,n){return function(r,t){let a=e[n];return typeof t<"u"?r in a&&a[r].handlers.some(i=>i.namespace===t):r in a}}var _=O;function j(e,n,s,r){return function(a,...i){let c=e[n];c[a]||(c[a]={handlers:[],runs:0}),c[a].runs++;let l=c[a].handlers;if(!l||!l.length)return s?i[0]:void 0;let o={name:a,currentIndex:0};async function d(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;
2140)u=await l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}function h(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}return(r?d:h)()}}var A=j;function $(e,n){return function(){let r=e[n];return Array.from(r.__current).at(-1)?.name??null}}var y=$;function V(e,n){return function(r){let t=e[n];return typeof r>"u"?t.__current.size>0:Array.from(t.__current).some(a=>a.name===r)}}var k=V;function q(e,n){return function(r){let t=e[n];if(f(r))return t[r]&&t[r].runs?t[r].runs:0}}var x=q;var B=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=H(this,"actions"),this.addFilter=H(this,"filters"),this.removeAction=p(this,"actions"),this.removeFilter=p(this,"filters"),this.hasAction=_(this,"actions"),this.hasFilter=_(this,"filters"),this.removeAllActions=p(this,"actions",!0),this.removeAllFilters=p(this,"filters",!0),this.doAction=A(this,"actions",!1,!1),this.doActionAsync=A(this,"actions",!1,!0),this.applyFilters=A(this,"filters",!0,!1),this.applyFiltersAsync=A(this,"filters",!0,!0),this.currentAction=y(this,"actions"),this.currentFilter=y(this,"filters"),this.doingAction=k(this,"actions"),this.doingFilter=k(this,"filters"),this.didAction=x(this,"actions"),this.didFilter=x(this,"filters")}};function G(){return new B}var F=G;var b=F(),{addAction:J,addFilter:K,removeAction:L,removeFilter:M,hasAction:P,hasFilter:Q,removeAllActions:U,removeAllFilters:W,doAction:X,doActionAsync:Y,applyFilters:N,applyFiltersAsync:ee,currentAction:te,currentFilter:re,doingAction:ne,doingFilter:oe,didAction:ie,didFilter:se,actions:ae,filters:ce}=b;return T(le);})(); 2141(window.wp ||= {}).hooks = wp.hooks; 2142})(); 2143 2144 2145 2146/*! This file is auto-generated */ 2147(function() { 2148"use strict";var wp;(wp||={}).i18n=(()=>{var nt=Object.create;var L=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ut=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var ft=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ot=(t,r)=>{for(var e in r)L(t,e,{get:r[e],enumerable:!0})},O=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of it(r))!lt.call(t,u)&&u!==e&&L(t,u,{get:()=>r[u],enumerable:!(n=at(r,u))||n.enumerable});return t};var st=(t,r,e)=>(e=t!=null?nt(ut(t)):{},O(r||!t||!t.__esModule?L(e,"default",{value:t,enumerable:!0}):e,t)),pt=t=>O(L({},"__esModule",{value:!0}),t);var $=ft((It,M)=>{M.exports=window.wp.hooks});var yt={};ot(yt,{__:()=>Z,_n:()=>G,_nx:()=>B,_x:()=>q,createI18n:()=>R,defaultI18n:()=>H,getLocaleData:()=>j,hasTranslation:()=>Q,isRTL:()=>J,resetLocaleData:()=>U,setLocaleData:()=>z,sprintf:()=>P,subscribe:()=>X});var ct=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function T(t,...r){var e=0;return Array.isArray(r[0])&&(r=r[0]),t.replace(ct,function(){var n,u,l,o,f;return n=arguments[3],u=arguments[5],l=arguments[7],o=arguments[9],o==="%"?"%":(l==="*"&&(l=r[e],e++),u===void 0?(n===void 0&&(n=e+1),e++,f=r[n-1]):r[0]&&typeof r[0]=="object"&&r[0].hasOwnProperty(u)&&(f=r[0][u]),o==="f"?f=parseFloat(f)||0:o==="d"&&(f=parseInt(f)||0),l!==void 0&&(o==="f"?f=f.toFixed(l):o==="s"&&(f=f.substr(0,l))),f??"")})}function P(t,...r){return T(t,...r)}var D,I,h,N;D={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};I=["(","?"];h={")":["("],":":["?","?:"]};N=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function b(t){for(var r=[],e=[],n,u,l,o;n=t.match(N);){for(u=n[0],l=t.substr(0,n.index).trim(),l&&r.push(l);o=e.pop();){if(h[u]){if(h[u][0]===o){u=h[u][1]||u;break}}else if(I.indexOf(o)>=0||D[o]<D[u]){e.push(o);break}r.push(o)}h[u]||e.push(u),t=t.substr(n.index+u.length)}return t=t.trim(),t&&r.push(t),r.concat(e.reverse())}var dt={"!":function(t){return!t},"*":function(t,r){return t*r},"/":function(t,r){return t/r},"%":function(t,r){return t%r},"+":function(t,r){return t+r},"-":function(t,r){return t-r},"<":function(t,r){return t<r},"<=":function(t,r){return t<=r},">":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,e){if(t)throw r;return e}};function g(t,r){var e=[],n,u,l,o,f,_;for(n=0;n<t.length;n++){if(f=t[n],o=dt[f],o){for(u=o.length,l=Array(u);u--;)l[u]=e.pop();try{_=o.apply(null,l)}catch(v){return v}}else r.hasOwnProperty(f)?_=r[f]:_=+f;e.push(_)}return e[0]}function A(t){var r=b(t);return function(e){return g(r,e)}}function E(t){var r=A(t);return function(e){return+r({n:e})}}var S={contextDelimiter:"�",onMissingKey:null};function _t(t){var r,e,n;for(r=t.split(";"),e=0;e<r.length;e++)if(n=r[e].trim(),n.indexOf("plural=")===0)return n.substr(7)}function x(t,r){var e;this.data=t,this.pluralForms={},this.options={};for(e in S)this.options[e]=r!==void 0&&e in r?r[e]:S[e]}x.prototype.getPluralForm=function(t,r){var e=this.pluralForms[t],n,u,l;return e||(n=this.data[t][""],l=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,typeof l!="function"&&(u=_t(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),l=E(u)),e=this.pluralForms[t]=l),e(r)};x.prototype.dcnpgettext=function(t,r,e,n,u){var l,o,f;return u===void 0?l=0:l=this.getPluralForm(t,u),o=e,r&&(o=r+this.options.contextDelimiter+e),f=this.data[t][o],f&&f[l]?f[l]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),l===0?e:n)};var K={"":{plural_forms(t){return t===1?0:1}}},vt=/^i18n\.(n?gettext|has_translation)(_|$)/,R=(t,r,e)=>{let n=new x({}),u=new Set,l=()=>{u.forEach(a=>a())},o=a=>(u.add(a),()=>u.delete(a)),f=(a="default")=>n.data[a],_=(a,i="default")=>{n.data[i]={...n.data[i],...a},n.data[i][""]={...K[""],...n.data[i]?.[""]},delete n.pluralForms[i]},v=(a,i)=>{_(a,i),l()},V=(a,i="default")=>{n.data[i]={...n.data[i],...a,"":{...K[""],...n.data[i]?.[""],...a?.[""]}},delete n.pluralForms[i],l()},W=(a,i)=>{n.data={},n.pluralForms={},v(a,i)},m=(a="default",i,s,c,d)=>(n.data[a]||_(void 0,a),n.dcnpgettext(a,i,s,c,d)),y=a=>a||"default",Y=(a,i)=>{let s=m(i,void 0,a);return e?(s=e.applyFilters("i18n.gettext",s,a,i),e.applyFilters("i18n.gettext_"+y(i),s,a,i)):s},w=(a,i,s)=>{let c=m(s,i,a);return e?(c=e.applyFilters("i18n.gettext_with_context",c,a,i,s),e.applyFilters("i18n.gettext_with_context_"+y(s),c,a,i,s)):c},k=(a,i,s,c)=>{let d=m(c,void 0,a,i,s);return e?(d=e.applyFilters("i18n.ngettext",d,a,i,s,c),e.applyFilters("i18n.ngettext_"+y(c),d,a,i,s,c)):d},tt=(a,i,s,c,d)=>{let F=m(d,c,a,i,s);return e?(F=e.applyFilters("i18n.ngettext_with_context",F,a,i,s,c,d),e.applyFilters("i18n.ngettext_with_context_"+y(d),F,a,i,s,c,d)):F},rt=()=>w("ltr","text direction")==="rtl",et=(a,i,s)=>{let c=i?i+"�"+a:a,d=!!n.data?.[s??"default"]?.[c];return e&&(d=e.applyFilters("i18n.has_translation",d,a,i,s),d=e.applyFilters("i18n.has_translation_"+y(s),d,a,i,s)),d};if(t&&v(t,r),e){let a=i=>{vt.test(i)&&l()};e.addAction("hookAdded","core/i18n",a),e.addAction("hookRemoved","core/i18n",a)}return{getLocaleData:f,setLocaleData:v,addLocaleData:V,resetLocaleData:W,subscribe:o,__:Y,_x:w,_n:k,_nx:tt,isRTL:rt,hasTranslation:et}};var C=st($(),1);var p=R(void 0,void 0,C.defaultHooks),H=p,j=p.getLocaleData.bind(p),z=p.setLocaleData.bind(p),U=p.resetLocaleData.bind(p),X=p.subscribe.bind(p),Z=p.__.bind(p),q=p._x.bind(p),G=p._n.bind(p),B=p._nx.bind(p),J=p.isRTL.bind(p),Q=p.hasTranslation.bind(p);return pt(yt);})(); 2149(window.wp ||= {}).i18n = wp.i18n; 2150})(); 2151 2152 2153wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 2154 2155 2156var{__}=function(){} 2157if(typeof wp==="object"&&wp.i18n=="object"){var{__}=wp.i18n} 2158let forms=[];let datas=[];let afincluded=!1;let extraParms=undefined;let execForm=undefined;let terminbuchungslistener=0;let phoneInputElement;function af2_ajax_with_fresh_nonce($,ajaxOptions){return fetch(af2_frontend_ajax.ajax_url+'?action=af2_get_nonce').then((response)=>response.json()).then((json)=>{ajaxOptions.data=ajaxOptions.data||{};ajaxOptions.data._ajax_nonce=json.data.nonce;return $.ajax(ajaxOptions)})} 2159let af2Styles={"af2_answer":[{"attribute":"width","value":"200px","special_class":"desktop"},{"attribute":"width","value":"100%","special_class":"af2_mobile"},{"attribute":"margin","value":"20px","special_class":"desktop"},{"attribute":"margin","value":"7px 15px","special_class":"af2_mobile"},],"af2_form_carousel":[{"attribute":"margin","value":"0 auto 30px auto",}],"af2_desktop_list":[{"attribute":"font-size","value":"70px","special_class":"af2_answer_container .af2_answer.desktop .af2_answer_image_wrapper i",}],"af2_desktop_list2":[{"attribute":"font-size","value":"60px","special_class":"af2_answer_container .af2_answer.desktop .af2_answer_image_wrapper i",}],"af2_mobile_grid":[{"attribute":"font-size","value":"25px","special_class":"af2_answer_container .af2_answer.af2_mobile .af2_answer_image_wrapper.af2_mobile i",}],"af2_answer_card":[{"attribute":"font-size","value":"90px","special_class":"desktop i"},{"attribute":"font-size","value":"25px","special_class":"af2_mobile i"},{"attribute":"height","value":"150px","special_class":"desktop"},{"attribute":"min-height","value":"52px","special_class":"af2_mobile"},{"attribute":"border-radius","value":"15px"},{"attribute":"color","value":""},{"attribute":"background-color","value":"rgba(0, 0, 0, 0)"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1"}],"af2_form_heading_wrapper":[{"attribute":"margin","value":"30px auto 30px auto"},{"attribute":"width","value":"100%"}],"af2_form_heading":[{"attribute":"color","value":""},{"attribute":"font-size","value":"","special_class":"desktop"},{"attribute":"font-size","value":"","special_class":"af2_mobile"},{"attribute":"font-weight","value":""},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"},{"attribute":"margin","value":"0 auto"}],"af2_question_heading_wrapper":[{"attribute":"margin","value":"0 auto 55px auto"}],"af2_content_frage":[{"attribute":"margin","value":"0 auto 0 auto"}],"af2_dateiupload":[{"attribute":"margin","value":"0 auto 0 auto"}],"af2_dateiupload_inner":[{"attribute":"border-radius","value":"10px"}],"af2_ahref":[{"attribute":"color","value":"rgba(157, 65, 221, 1) !important"}],"af2_question_description":[{"attribute":"color","value":""},{"attribute":"font-size","value":"20px","special_class":"desktop"},{"attribute":"font-size","value":"18px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"",},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"},{"attribute":"margin-top","value":"15px !important","special_class":"desktop"},{"attribute":"margin-top","value":"15px !important","special_class":"af2_mobile"}],"af2_question_heading":[{"attribute":"color","value":""},{"attribute":"font-size","value":"32px","special_class":"desktop"},{"attribute":"font-size","value":"24px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"",},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"}],"af2_answer_image_wrapper":[{"attribute":"padding","value":"0 7px"},{"attribute":"width","value":"70px","special_class":"af2_mobile"},{"attribute":"margin-right","value":"10px","special_class":"af2_mobile"}],"af2_answer_text":[{"attribute":"color","value":""},{"attribute":"margin-left","value":"15px","special_class":"af2_mobile"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"line-height","value":"27px","special_class":"desktop"},{"attribute":"line-height","value":"20px","special_class":"af2_mobile"},{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-weight","value":"",}],"af2_form":[{"attribute":"background-color","value":"rgba(255, 255, 255, 1)"},{"attribute":"padding","value":"7px"},{"attribute":"font-family","value":"inherit"},{"attribute":"border-radius","value":"10px"}],"af2_form_button":[{"attribute":"background-color","value":""},{"attribute":"border-radius","value":"7px"},{"attribute":"border","value":"none"},{"attribute":"padding","value":"0 10px"},{"attribute":"min-height","value":"50px","special_class":"desktop"},{"attribute":"color","value":"rgba(255, 255, 255, 1)"},{"attribute":"fill","value":"rgba(255, 255, 255, 1)"},{"attribute":"background-color","value":"#d7d7d7","special_class":"af2_disabled"},{"attribute":"min-height","value":"40px","special_class":"af2_mobile"},{"attribute":"font-size","value":"18px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-family","value":"Montserrat"}],"af2_form_bottombar":[{"attribute":"padding","value":"0 15px"}],"af2_form_wrapper":[{"attribute":"width","value":"100%"},{"attribute":"max-width","value":"1250px"}],"af2_textfeld_frage":[{"attribute":"margin","value":"0 auto 50px auto !important"},{"attribute":"border-radius","value":"7px"},{"attribute":"height","value":"50px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"font-family","value":"inherit",},{"attribute":"font-size","value":"","special_class":"desktop"},{"attribute":"font-size","value":"","special_class":"af2_mobile"},{"attribute":"font-weight","value":""},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"},{"attribute":"border","value":"","special_state":"focus"}],"af2_datum_frage":[{"attribute":"margin","value":"0 auto 20px auto !important"},{"attribute":"border-radius","value":"7px"},{"attribute":"height","value":"50px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"font-family","value":"inherit"},{"attribute":"font-size","value":"","special_class":"desktop"},{"attribute":"font-size","value":"","special_class":"af2_mobile"},{"attribute":"font-weight","value":""},{"attribute":"text-align","value":"center"},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"},{"attribute":"border","value":"","special_state":"focus"}],"af2_slider_frage_wrapper":[],"af2_slider_frage_bullet":[{"attribute":"margin","value":"0 auto 20px auto"},{"attribute":"color","value":"#333"},{"attribute":"font-weight","value":"600"},{"attribute":"font-size","value":"32px","special_class":"desktop"},{"attribute":"font-size","value":"20px","special_class":"af2_mobile"}],"af2_slider_frage":[{"attribute":"margin","value":"0 auto 15px auto !important"},{"attribute":"border-radius","value":"10px"},{"attribute":"height","value":"15px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"background-color","value":"",},{"attribute":"background-color","value":"#333","special_extra":"-webkit-slider-thumb"},{"attribute":"background-color","value":"#333","special_extra":"-moz-range-thumb"}],"af2_slider_frage_val":[{"attribute":"border","value":"","special_state":"focus"},{"attribute":"box-shadow","value":"","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500px"}],"af2_slider_frage_val_after":[{"attribute":"border-radius","value":"10px 0 0 10px"}],"af2_slider_frage_val_before":[{"attribute":"border-radius","value":"0 10px 10px 0"}],"af2_slider_frage_val_after.af2_rtl_layout":[{"attribute":"border-radius","value":"0 10px 10px 0"}],"af2_slider_frage_val_before.
2159af2_rtl_layout":[{"attribute":"border-radius","value":"10px 0 0 10px "}],"select2-search__field":[{"attribute":"border-radius","value":"10px"}],"af2_textbereich_frage":[{"attribute":"margin","value":"0 auto 50px auto !important"},{"attribute":"border-radius","value":"7px"},{"attribute":"height","value":"150px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"font-family","value":"inherit"},{"attribute":"font-size","value":"","special_class":"desktop"},{"attribute":"font-size","value":"","special_class":"af2_mobile"},{"attribute":"font-weight","value":""},{"attribute":"line-height","value":"","special_class":"desktop"},{"attribute":"line-height","value":"","special_class":"af2_mobile"},{"attribute":"border","value":"","special_state":"focus"}],"af2_question_wrapper":[{"attribute":"width","value":"90%"},{"attribute":"margin","value":"0 auto 25px !important"},{"attribute":"color","value":""}],"af2_text_type":[{"attribute":"border-radius","value":"0 7px 7px 0"},{"attribute":"height","value":"47px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"border","value":"1px solid","special_state":"focus"},{"attribute":"font-family","value":"inherit"},{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""},{"attribute":"padding","value":""},{"attribute":"max-width","value":"100%"},{"attribute":"width","value":"100%"},{"attribute":"color","value":""}],"af2_text_type.af2_rtl_layout":[{"attribute":"border-radius","value":"7px 0 0 7px"}],"af2_text_type_":[{"attribute":"border-radius","value":"7px 7px 7px 7px"},{"attribute":"height","value":"47px"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_state":"focus"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1",},{"attribute":"border","value":"1px solid","special_state":"focus"},{"attribute":"font-family","value":"inherit"},{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""},{"attribute":"padding","value":""},{"attribute":"max-width","value":"100%"},{"attribute":"width","value":"100%"},{"attribute":"color","value":""}],"af2_checkbox_type":[{"attribute":"margin-right","value":"15px"}],"af2_answer.selected_item .af2_answer_card":[{"attribute":"border","value":"5px 5px 15px 0 #e1e1e1"}],"af2_form_progress_bar":[{"attribute":"width","value":"100%"},{"attribute":"height","value":"8px"},{"attribute":"border-radius","value":"15px"},{"attribute":"border","value":""},{"attribute":"background-color","value":"white"},{"attribute":"margin","value":"21px"}],"af2_form_progress_bar_wrapper":[{"attribute":"margin","value":"0 15px"},{"attribute":"width","value":"100%"}],"af2_form_progress":[{"attribute":"border-radius","value":"15px"},{"attribute":"background-color","value":""}],"af2_form_percentage":[{"attribute":"width","value":"50px"},{"attribute":"height","value":"25px"},{"attribute":"background-color","value":""},{"attribute":"color","value":"#ffffff"}],"af2_form_percentage_triangle":[{"attribute":"border-color","value":""}],"af2_multiselect_style":[{"attribute":"font-size","value":"24px","special_class":"desktop"},{"attribute":"font-size","value":"20px","special_class":"af2_mobile"}],"af2_question_label":[{"attribute":"font-size","value":"17","special_class":"desktop"},{"attribute":"font-size","value":"15","special_class":"af2_mobile"},{"attribute":"font-weight","value":""},{"attribute":"margin-bottom","value":"8px !important"}],"af2_question":[{"attribute":"margin","value":"0 auto 0 auto"}],"af2_submit_button":[{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""},{"attribute":"padding","value":""},{"attribute":"padding-left","value":""},{"attribute":"padding-right","value":""},{"attribute":"border-radius","value":""},{"attribute":"background-color","value":""},{"attribute":"outline","value":"none","special_state":"focus"},{"attribute":"border","value":"none"},{"attribute":"transition","value":"all 400ms ease-out"},{"attribute":"color","value":""},{"attribute":"margin","value":"20px auto 0 auto !important"},{"attribute":"white-space","value":'normal'},{"attribute":"width","value":"50%"},{"attribute":"font-family","value":""},{"attribute":"--rgb","value":""},{"attribute":"--rgbcol","value":""},],"af2_question_cb_label":[{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""}],"af2_datepicker_header":[{"attribute":"background-color","value":"","special_class":"af2_datepicker","sub_class":"ui-datepicker-title"},{"attribute":"color","value":"","special_class":"af2_datepicker","sub_class":"ui-datepicker-title"}],"ui-datepicker-title":[{"attribute":"font-family","value":"Montserrat"},],"desktop .ui-datepicker-title":[{"attribute":"font-size","value":"17px"}],"af2_mobile .ui-datepicker-title":[{"attribute":"font-size","value":"15px"}],"af2_datepicker_active":[{"attribute":"background-color","value":"","special_class":"af2_datepicker","sub_class":"ui-datepicker-current-day"},{"attribute":"color","value":"","special_class":"af2_datepicker","sub_class":"ui-state-active"}],"af2_datepicker_buttons":[{"attribute":"background-color","value":"#fff","special_class":"af2_datepicker","sub_class":"ui-datepicker-prev"},{"attribute":"color","value":"#3a3a3a","special_class":"af2_datepicker","sub_class":"ui-datepicker-prev"},{"attribute":"background-color","value":"#fff","special_class":"af2_datepicker","sub_class":"ui-datepicker-next"},{"attribute":"color","value":"#3a3a3a","special_class":"af2_datepicker","sub_class":"ui-datepicker-next"}],"af2_form_html_content":[{"attribute":"font-family","value":"inherit"},{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""}],"af2_radio_label":[{"attribute":"font-size","value":""},{"attribute":"font-weight","value":""},],"af2_question_cf_text_type_icon":[{"attribute":"width","value":"70px"},{"attribute":"height","value":"50px"},{"attribute":"background-color","value":"rgba(157, 65, 221, 1)"},{"attribute":"border-radius","value":"10px 0 0 10px"}],"af2_question_cf_text_type_icon.af2_rtl_layout":[{"attribute":"border-radius","value":"0 10px 10px 0"}],"af2_ad_trans":[{"attribute":"font-family","value":"inherit"},{"attribute":"height","value":"50px"},{"attribute":"border-radius","value":"10px"},{"attribute":"border","value":"","special_state":"focus"},{"attribute":"box-shadow","value":"","special_state":"focus"},{"attribute":"box-shadow","value":""},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1"},{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"15px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500",}],"af2_slider_input_wrap":[{"attribute":"height","value":"50px"},],"af2_address_field_":[{"attribute":"border-radius","value":"10px"}],"af2_form_loader":[{"attribute":"color","value":"rgba(0,0,0,1)"}],"af2_adress_map_input_wrapper":[{"attribute":"border-radius","value":"10px"}],"af2_html_content_summary":[{"attribute":"border-radius","value":"10px"}],"af2_ad_trans_tabel":[{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500",},],"af2_html_content_summary_object_title_":[{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"700",},],"af2_html_content_summary_object_answer_":[{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500",},],"alternate_text_wrap_span":[{"attribute":"background-color","value":"rgba(157, 65, 221, 1)"},{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500"}],"alternate_text_wrap_span_after":[{"attribute":"border-radius","value":"0 10px 10px 0"}],"alternate_text_wrap_span_before":[{"attribute":"border-radius","value":"10px 0 0 10px"}],"alternate_text_wrap_span_after.af2_rtl_layout":[{"attribute":"border-radius","value":"10px 0 0 10px"}],"alternate_text_wrap_span_before.af2_rtl_layout":[{"attribute":"border-radius","value":"0 10px 10px 0"}],"range_text_box_label":[{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"16px","special_class":"af2_mobile"},{"attribute":"font-weight","value":"500"}],"af2_response_error":[{"attribute":"font-size","value":"17px"},{"attribute":"font-weight","value":"500"}],"af2-select2-container input.select2-search__field":[{"attribute":"border","value":"","special_state":"focus","special_class":"form_class"},{"attribute":"border-radius","value":"","special_class":"form_class"},{"attribute":"box-shadow","value":"","special_state":"focus","special_class":"form_class"},{"attribute":"box-shadow","value":"5px 5px 15px 0 #e1e1e1","special_class":"form_class"},{"attribute":"font-weight","value":"500px","special_class":"form_class"},{"attribute":"font-family","value":"Montserrat","special_class":"form_class"}],"af2-select2-container.desktop input.select2-search__field":[{"attribute":"font-size","value":"17px","special_class":"form_class"}],"af2-select2-container.af2_mobile input.select2-search__field":[{"attribute":"font-size","value":"15px","special_class":"form_class"}],"select2-results__option.select2-results__option--selectable":[{"attribute":"font-weight","value":"500px","special_class":"form_class"},{"attribute":"font-family","value":"Montserrat","special_class":"form_class"}],"af2-select2-container.desktop .select2-results__option.select2-results__option--selectable":[{"attribute":"font-size","value":"17px","special_class":"form_class"}],"af2-select2-container.af2_mobile .select2-results__option.select2-results__option--selectable":[{"attribute":"font-size","value":"15px","special_class":"form_class"}],"af2-select2-container.select2-selection.select2-selection--single":[{"attribute":"border","value":"","special_state":"focus","special_class":"form_class"},{"attribute":"font-weight","value":"500px","special_class":"form_class"},{"attribute":"font-family","value":"Montserrat","special_class":"form_class"}],"af2-select2-container.desktop.select2-selection.select2-selection--single":[{"attribute":"font-size","value":"17px","special_class":"form_class"}],"af2-select2-container.af2_mobile.select2-selection.select2-selection--single":[{"attribute":"font-size","value":"15px","special_class":"form_class"}],"af2-select2-container .select2-results__option.select2-results__option--selectable.select2-results__option--highlighted":[{"attribute":"background-color","value":"","special_class":"form_class"}],"af2_terminbuchung_heading":[{"attribute":"font-size","value":"17px","special_class":"desktop"},{"attribute":"font-size","value":"15px","special_class":"af2_mobile"},{"attribute":"font-family","value":"inherit"},{"attribute":"color","value":""}],"af2_terminbuchung_times":[{"attribute":"--rgb","value":""},{"attribute":"--rgbcol","value":""}],"af2_terminbuchung_duration":[{"attribute":"--rgb","value":""},{"attribute":"--rgbcol","value":""}],"af2_notification":[{"attribute":"--rgb","value":""},{"attribute":"--rgbcol","value":""}],"af2_terminbuchungs_wrap #select2-af2_zeitzone-container.select2-selection__rendered":[{"attribute":"--rgb","value":""}],"af2_calender_wait--loading":[{"attribute":"--rgb","value":""}],"af2_slider_image_icon_wrapper":[{"attribute":"color","value":""}]};const af2_init=($)=>{if(af2_frontend_ajax.datas!=null){const errorAnswer=af2_frontend_ajax.datas.error;if(errorAnswer!=null){}else if(af2_frontend_ajax.datas.data!=null){let preloadJson=JSON.parse(af2_frontend_ajax.datas.data);const keys=Object.keys(preloadJson);$.each(keys,(i,el)=>{let newJson=preloadJson[el];if(newJson.type_specifics!=null){const keysofjson=Object.keys(newJson.type_specifics);$.each(keysofjson,(j,ele)=>{if(newJson.type_specifics[ele]=='true')newJson.type_specifics[ele]=!0;if(newJson.type_specifics[ele]=='false')newJson.type_specifics[ele]=!1;if(ele=='center'&&newJson.type_specifics[ele].lat!=null&&newJson.type_specifics[ele].lng!=null){newJson.type_specifics[ele].lat=Number(newJs
2159on.type_specifics[ele].lat);newJson.type_specifics[ele].lng=Number(newJson.type_specifics[ele].lng)}})} 2160datas[el]=preloadJson[el]})}} 2161$('.af2_form_wrapper').each((i,el)=>{const id=$(el).data('did');const num=$(el).data('num');const preload=$(el).data('preload');const size=$(el).data('size');const errormail=$(el).data('errormail');const activateScrollToAnchor=$(el).data('activatescrolltoanchor');const activateScrollToAnchorDesktop=$(el).data('activatescrolltoanchordesktop');const showSuccessScreen=$(el).data('showsuccessscreen');const popup_by_delay=$(el).data('popup_by_delay');const popup_delay=$(el).data('popup_delay');const popup_by_click=$(el).data('popup_by_click');const popup_click_class=$(el).data('popup_click_class');if(popup_by_delay){setTimeout(()=>{af2_create_popup($,num,()=>{forms[num]=new Form($,id,num,preload,size,errormail,activateScrollToAnchor,activateScrollToAnchorDesktop,!0,showSuccessScreen)})},popup_delay)}else if(popup_by_click){const s='.'+popup_click_class;$(document).on('click',s,(ev)=>{$(document).off('click',s);af2_create_popup($,num,()=>{forms[num]=new Form($,id,num,preload,size,errormail,activateScrollToAnchor,activateScrollToAnchorDesktop,!0,showSuccessScreen)});$(document).on('click',s,(ev)=>{$('#afpbg_'+num).addClass('show');$('body').addClass('af2_noscroll');forms[num]=new Form($,id,num,preload,size,errormail,activateScrollToAnchor,activateScrollToAnchorDesktop,!0,showSuccessScreen)})})}else{forms[num]=new Form($,id,num,preload,size,errormail,activateScrollToAnchor,activateScrollToAnchorDesktop,!1,showSuccessScreen)}})};const af2_create_popup=($,num,cb)=>{let mouseEnter=!1;let cont=$($('#afpbg_'+num).parent()).html();$($('#afpbg_'+num).parent()).html("");$('body').append('<div>'+cont+'</div>');$('#afpbg_'+num).addClass('show');$('body').addClass('af2_noscroll');$(document).on('click','#afpbg_'+num+' .af2_close_popup',(ev)=>{const num=$(ev.currentTarget).data('num');$('#afpbg_'+num+' .af2_form_carousel').html('');$('#afpbg_'+num+'.af2_popup_background').removeClass('show');$('body').removeClass('af2_noscroll')});$(document).on('click','#afpbg_'+num,(ev)=>{if(!mouseEnter){const id=$(ev.currentTarget).attr('id');$('#'+id+' .af2_form_carousel').html('');$('#'+id+'.af2_popup_background').removeClass('show');$('body').removeClass('af2_noscroll')}});$(document).on('mouseenter','#afpbg_'+num+' .af2_popup_wrapper',(ev)=>{mouseEnter=!0});$(document).on('mouseleave','#afpbg_'+num+' .af2_popup_wrapper',(ev)=>{mouseEnter=!1});cb()} 2162function Form($,id,num,preload,size,errormail,activateScrollToAnchor,activateScrollToAnchorDesktop,popup,showSuccessScreen){this.errormail=errormail;this.activateScrollToAnchor=activateScrollToAnchor;this.activateScrollToAnchorDesktop=activateScrollToAnchorDesktop;this.$=$;this.id=id;this.num=num;this.preload=preload;this.size=size;this.formSelector='#af2_form_'+this.num;this.actualSection=0;this.actualContent=0;this.neededContent=undefined;this.actualData=undefined;this.actualCarouselItem=0;this.beforeSection=[];this.beforeContent=[];this.needsDraw=!0;this.answers=[];this.answersForCalculations=[];this.set=!1;this.af2_is_send_allowed=!1;this.popup=popup;this.resizeListener_init=!1;this.stor={};this.attachment_ids=[];this.dsgvo=!0;this.dsgvoid=null;this.rtl_layout=$(this.formSelector).data('rtl');this.contactFormAnswers=[];this.showSuccessScreen=showSuccessScreen;this.hasVerification=!1;this.verifictationId=undefined;this.verifictationDataId=undefined;this.resendTimer=undefined;this.resendValue=10;this.answerObject=[];this.firstQuestion=!0;this.lastTerminbuchungsObject={};this.lastTerminbuchungsTimeslotsMonday=[[],[],[]];this.lastTerminbuchungsTimeslotsTuseday=[[],[],[]];this.lastTerminbuchungsTimeslotsWednesday=[[],[],[]];this.lastTerminbuchungsTimeslotsThursday=[[],[],[]];this.lastTerminbuchungsTimeslotsFriday=[[],[],[]];this.lastTerminbuchungsTimeslotsSaturday=[[],[],[]];this.lastTerminbuchungsTimeslotsSunday=[[],[],[]];this.lastTerminbuchungsTimeslotsSpecials=new Map();this.lastTerminbuchungsTimeslotsSpecialsDisabled=new Map();this.lastTerminbuchungsTimeslotsAllEvents=[];this.actualTerminMonth=af2_getTodayStandard().getMonth();this.actualTerminYear=af2_getTodayStandard().getFullYear();this.pufferTime=0;this.vorlaufzeit=0;this.lastAdressObj=undefined;this.mapCount=0;this.increaseMapCount=()=>{this.mapCount++} 2163if(this.preload>this.size-1) 2164this.preload=this.size-1;this.formatAddressString=(addressObject)=>{let streetString=``;
2164if(addressObject.street!=undefined){streetString=`${addressObject.street}`} 2165if(addressObject.street_number!=undefined){streetString=`${streetString} ${addressObject.street_number}`} 2166let zipCityString=``;if(addressObject.zip_code!=undefined){zipCityString=`${addressObject.zip_code}`} 2167if(addressObject.city!=undefined){zipCityString=`${zipCityString} ${addressObject.city}`} 2168streetString=streetString.trim();zipCityString=zipCityString.trim();const addressArray=[] 2169if(streetString!=""){addressArray.push(streetString)} 2170if(zipCityString!=""){addressArray.push(zipCityString)} 2171if(addressObject.country!=undefined&&addressObject.country.trim()!=""){addressArray.push(addressObject.country)} 2172return addressArray.join(", ")} 2173this.setLastAddrObject=(value)=>{this.lastAdressObj=value} 2174this.$(this.formSelector).on('af2_loaded_font',(ev)=>{this.setHeight()});this.$(this.formSelector).on('loadedData',(ev)=>{af2CompareAttributeInArray(this.$,this.id,ev.dataids).done(()=>{af2LoadStyling(this.$,this.id,this.formSelector,this.setHeight);this.loadContent()})});this.$(this.formSelector+' .af2_form_carousel').on('loadedData',(ev)=>{if(this.neededContent!==undefined){af2CompareAttributeInArray(this.$,this.neededContent,ev.dataids).done(()=>{this.initDraw()})}});this.loadContent=(goBefore)=>{const prom=$.Deferred();if(datas[this.id].sections==undefined){prom.resolve()}else{const redirectHelper=datas[this.id].sections[this.actualSection].contents[this.actualContent];this.neededContent=datas[this.id].sections[this.actualSection].contents[this.actualContent].data;if(this.neededContent.includes('redirect')){if(typeof af2_doOwnExternalRedirectFunction==='function'){af2_doOwnExternalRedirectFunction(this.$,this.answerObject).done((newval)=>{if(newval){this.af2GoNext(param).done((cont)=>{this.beforeSection.push(cont[0]);this.beforeContent.push(cont[1]);if(this.beforeSection.length>0){$(this.formSelector+' .af2_form_back_button').removeClass('af2_disabled')}else{$(this.formSelector+' .af2_form_back_button').addClass('af2_disabled')}})}else{}})}else{if(redirectHelper.newtab=='true'||redirectHelper.newtab==!0){$(this.formSelector+' .af2_form .af2_form_heading_wrapper').remove();$(this.formSelector+' .af2_form .af2_form_carousel').remove();$(this.formSelector+' .af2_form .af2_form_bottombar').remove();let link=this.neededContent.substr(9);try{let objs=window.btoa(JSON.stringify(this.answerObject));link=link.replace(af2_frontend_ajax.strings.antworten_tag,objs)}catch(e){} 2175window.open(link,'_blank')}else if(redirectHelper.newtab=='false'||redirectHelper.newtab==!1){let link=this.neededContent.substr(9);try{let objs=window.btoa(JSON.stringify(this.answerObject)) 2176link=link.replace(af2_frontend_ajax.strings.antworten_tag,objs)}catch(e){} 2177window.location.href=link}else if(redirectHelper.newtab==null||redirectHelper.newtab==''){let link=this.neededContent.substr(9);try{let objs=window.btoa(JSON.stringify(this.answerObject));link=link.replace(af2_frontend_ajax.strings.antworten_tag,objs)}catch(e){} 2178window.location.href=link}} 2179prom.reject()}else{if(datas[this.neededContent]!==undefined&&datas[this.neededContent]!==!0){this.initDraw(goBefore)} 2180this.iteratePreloads().done((dataids)=>{if(dataids.length>0){af2HandleRequest($,this.formSelector,'.af2_form_carousel',dataids,this)}});if(datas[this.neededContent]!==undefined&&datas[this.neededContent]!==!0){this.initDraw(goBefore)} 2181prom.resolve()}} 2182return prom.promise()};this.resizeListener=()=>{if(!this.resizeListener_init){this.$(window).resize(()=>{const width=this.$(this.formSelector+' .af2_form_heading.desktop').css('display')=='none'?this.$(this.formSelector+' .af2_form_heading.af2_mobile').width():this.$(this.formSelector+' .af2_form_heading.desktop').width();this.$(this.formSelector+' .af2_form_carousel').css('max-width','unset');this.$(this.formSelector+' .af2_form_carousel').css('min-width','unset');this.setHeight()});this.resizeListener_init=!0}} 2183this.initDraw=(goBefore)=>{if(this.needsDraw===!0) 2184af2DrawCarouselContent(this.$,this,this.neededContent,this.formSelector,this.actualCarouselItem,this.resizeListener);this.actualData=this.neededContent;this.neededContent=undefined;this.setHeight();this.setTriggers();if(datas[this.actualData].typ!==undefined&&(datas[this.actualData].typ==='af2_slider'||datas[this.actualData].typ==='af2_content'||datas[this.actualData].typ==='af2_dropdown')){if(goBefore!=!0)$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');}else if(datas[this.actualData].typ==='af2_textfeld'||datas[this.actualData].typ==='af2_textbereich_frage'){if(datas[this.actualData].type_specifics.mandatory==!0){if(goBefore!=!0)$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');}else{if(goBefore!=!0)$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');}}else if(datas[this.actualData].typ==='af2_dateiupload'){}else if(datas[this.actualData].typ==='af2_multiselect'){if(datas[this.actualData].type_specifics.mandatory==!0){if(goBefore!=!0)$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');}else{if(goBefore!=!0)$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');}}else{$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')} 2185if(goBefore===!0){if(datas[this.actualData].af2_type=='frage'){if(datas[this.actualData].typ==='af2_select')$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');
2185if(datas[this.actualData].typ==='af2_multiselect')$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');if(datas[this.actualData].typ==='af2_textfeld')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_textbereich')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_content')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_datum')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_dateiupload')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_dropdown')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_slider')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');if(datas[this.actualData].typ==='af2_adressfeld')$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');}} 2186$(this.formSelector+' .af2_form_bottombar').css('opacity',1);if(datas[this.actualData].typ==='af2_content'){if(datas[this.actualData].type_specifics.content_button==!0){$(this.formSelector+' .af2_form_bottombar').css('opacity',0);getAllImagesDonePromise($,this.formSelector).done(()=>{this.setHeight()})} 2187if(datas[this.actualData].type_specifics.content_wait_time!==undefined&&$.isNumeric(datas[this.actualData].type_specifics.content_wait_time)){if(datas[this.actualData].type_specifics.content_button==!0){$(this.formSelector+' .af2_submit_wrapper input.af2_submit_button.no_send').css('opacity',0)}else{$(this.formSelector+' .af2_form_bottombar').css('opacity',0)} 2188setTimeout(()=>{if(datas[this.actualData].type_specifics.content_button==!0){$(this.formSelector+' .af2_submit_wrapper input.af2_submit_button.no_send').css('opacity',1)}else{$(this.formSelector+' .af2_form_bottombar').css('opacity',1)} 2189this.af2Move("",'next')},datas[this.actualData].type_specifics.content_wait_time)}} 2190if(datas[this.actualData].show_bottombar!==undefined&&(datas[this.actualData].show_bottombar=='false'||datas[this.actualData].show_bottombar==!1)){$(this.formSelector+' .af2_form_bottombar').css('opacity',0)} 2191if(datas[this.actualData].af2_type=='kontaktformular'){setTimeout(this.setkontaktformularHeight,500)} 2192var that=this;setTimeout(function(){$(that.formSelector+' #'+(that.actualCarouselItem)).css('transform');direction='-';if(that.rtl_layout==!0){direction=''} 2193let offset='translateX('+direction+''+((that.actualCarouselItem)*100)+'%)';$(that.formSelector+' .af2_carousel_item').css('transform',offset);that.setHeight()},300)};this.setkontaktformularHeight=()=>{const height=$(this.formSelector+' .af2_form_carousel #'+this.actualCarouselItem+' .af2_carousel_content').height();$(this.formSelector+' .af2_form_carousel').css('height',height)} 2194this.iteratePreloads=()=>{const prom=this.$.Deferred();let dataIds=[];if(this.neededContent!=undefined&&datas[this.neededContent]===undefined){dataIds.push(this.neededContent);datas[this.neededContent]=!0} 2195if(datas[this.id].sections[this.actualSection].contents[this.actualContent].connections!==undefined){$(datas[this.id].sections[this.actualSection].contents[this.actualContent].connections).each((i,el)=>{const toSection=el.to_section;const toContent=el.to_content;if(datas[el.to_dataid]===undefined&&!el.to_dataid.includes('redirect')){dataIds.push(el.to_dataid);datas[el.to_dataid]=!0;if(datas[this.id].sections[toSection].contents[toContent].connections!==undefined){$.each(datas[this.id].sections[toSection].contents[toContent].connections,(j,e)=>{if(datas[e.to_dataid]===undefined&&!e.to_dataid.includes('redirect')){dataIds.push(e.to_dataid);datas[e.to_dataid]=!0}})}} 2196if(i===datas[this.id].sections[this.actualSection].contents[this.actualContent].connections.length-1){prom.resolve(dataIds)}});if(datas[this.id].sections[this.actualSection].contents[this.actualContent].connections.length==0){prom.resolve(dataIds)}} 2197return prom.promise()};this.setTriggers=()=>{$(document).on('keypress',(ev)=>{const keycode=(ev.keyCode?ev.keyCode:ev.which);if(keycode=='13'){if(!$(this.formSelector+' .af2_form_foward_button').hasClass('af2_disabled')){if(datas[this.actualData].typ==='af2_multiselect'){let arr=[];$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer.selected_item').each((i,el)=>{arr.push($(el).attr('id'))}).promise().done(()=>{this.af2Move(arr,'next')})}else if(datas[this.actualData].typ==='af2_textfeld'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_datum'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_dateiupload'){let fileupload_class='.af2_dateiupload';if(af2_isMobileView($,this.formSelector)){fileupload_class='.af2_dateiupload.af2_mobile'}else{fileupload_class='.af2_dateiupload.desktop'} 2198let arr=[];if($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').length>0){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').each((i,el)=>{arr.push($(el).data('attachment_id'))}).promise().done(()=>{this.attachment_ids=this.attachment_ids.concat(arr);this.af2Move(arr,'next')})}else{this.af2Move(0,'next')}}else if(datas[this.actualData].typ==='af2_adressfeld'){this.af2Move(this.lastAdressObj,'next')}}else if(!$(this.formSelector+' .af2_form_foward_button.desktop').hasClass('af2_disabled')){if(datas[this.actualData].typ==='af2_adressfeld'){this.af2Move(this.lastAdressObj,'next')}}}});this.$(document).on('mouseenter',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer',(ev)=>{$(ev.currentTarget).addClass('hover')});this.$(document).on('mouseleave',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer',(ev)=>{$(ev.currentTarget).removeClass('hover')});this.$(document).on('click',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer',(ev)=>{if(datas[this.actualData].typ==='af2_multiselect'){$(ev.currentTarget).toggleClass('selected_item');$(ev.currentTarget).removeClass('hover');const len=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer.selected_item').length;const isMultiselectMandatory=datas[this.actualData].type_specifics.mandatory===!0;if(len>0){$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');const cond=datas[this.actualData].type_specifics.condition;if(cond!==undefined&&cond!==''&&$.isNumeric(cond)&&cond>1){if(len>=cond){let arr=[];$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer.selected_item').each((i,el)=>{arr.push($(el).attr('id'))}).promise().done(()=>{this.af2Move(arr,'next')})}}}else{if(isMultiselectMandatory){$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')}else{$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}}}else{const id=parseInt($(ev.currentTarget).attr('id'));this.af2Move(id,'next')}});this.$(document).on('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage',(ev)=>{const text=$(ev.currentTarget).val();let text_only_text=$(ev.currentTarget).data("text_only_text");let text_only_numbers=$(ev.currentTarget).data("text_only_numbers");let text_birthday=$(ev.currentTarget).data("text_birthday");let last_input_length=$(ev.currentTarget).data("lastInputLength")!=undefined?$(ev.currentTarget).data("lastInputLength"):0;let actual_input_length=text.length;if(text_only_text){const newText=text.replace(/[0-9]/g,'');$(ev.currentTarget).val(newText)} 2199if(text_only_numbers&&!text_only_text){const newText=text.replace(/[^0-9]/g,'');$(ev.currentTarget).val(newText)} 2200if(text_birthday&&!text_only_text&&!text_only_numbers){const lastLetter=text.substr(text.length-1,1);let key=ev.which||ev.keyCode||ev.charCode;if(actual_input_length>last_input_length){if(isNaN(lastLetter)){$(ev.currentTarget).val(text.substr(0,text.length-1))}else{if(text.length==2)$(ev.currentTarget).val(text+'.');
2200if(text.length==5)$(ev.currentTarget).val(text+'.');}}else{if(text.length==2)$(ev.currentTarget).val(text.substr(0,text.length-1));if(text.length==5)$(ev.currentTarget).val(text.substr(0,text.length-1));}} 2201let minlength=$(ev.currentTarget).data("minlength");let maxlength=$(ev.currentTarget).data("maxlength");if(minlength==null||minlength==undefined)minlength=0;if(maxlength==null||maxlength==undefined)maxlength=999999;if(text.length<minlength||text.length>maxlength){if(text.length>maxlength){const lastLetter=text.substr(text.length-1,1);$(ev.currentTarget).val(text.substr(0,text.length-1))}else $(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')} 2202if(text.length>=minlength&&text.length<=maxlength){$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')} 2203if($(ev.currentTarget).val().trim()==''){if($(ev.currentTarget).data("mandatory")===!0){$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')}else{$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}} 2204if(text_birthday&&!text_only_text&&!text_only_numbers){if(text.length==10){let dateText='';dateTextSplit=text.split('.');const year=dateTextSplit[2];const month=dateTextSplit[1];const day=dateTextSplit[0];if(!(new Date(year,month,day)!=="Invalid Date"&&!isNaN(new Date(year,month,day))))$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');}} 2205$(ev.currentTarget).data("lastInputLength",$(ev.currentTarget).val().length)});this.$(document).on('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage',(ev)=>{const text=$(ev.currentTarget).val();let text_only_text=$(ev.currentTarget).data("text_only_text");let text_only_numbers=$(ev.currentTarget).data("text_only_numbers");let text_birthday=$(ev.currentTarget).data("text_birthday");let last_input_length=$(ev.currentTarget).data("lastInputLength")!=undefined?$(ev.currentTarget).data("lastInputLength"):0;let actual_input_length=text.length;if(text_only_text){const lastLetter=text.substr(text.length-1,1);if(!isNaN(lastLetter)){$(ev.currentTarget).val(text.substr(0,text.length-1))}} 2206if(text_only_numbers&&!text_only_text){const lastLetter=text.substr(text.length-1,1);if(isNaN(lastLetter)){$(ev.currentTarget).val(text.substr(0,text.length-1))}} 2207if(text_birthday&&!text_only_text&&!text_only_numbers){const lastLetter=text.substr(text.length-1,1);let key=ev.which||ev.keyCode||ev.charCode;if(actual_input_length>last_input_length){if(isNaN(lastLetter)){$(ev.currentTarget).val(text.substr(0,text.length-1))}else{if(text.length==2)$(ev.currentTarget).val(text+'.');
2207if(text.length==5)$(ev.currentTarget).val(text+'.');}}else{if(text.length==2)$(ev.currentTarget).val(text.substr(0,text.length-1));if(text.length==5)$(ev.currentTarget).val(text.substr(0,text.length-1));}} 2208let minlength=$(ev.currentTarget).data("minlength");let maxlength=$(ev.currentTarget).data("maxlength");if(minlength==null||minlength==undefined)minlength=0;if(maxlength==null||maxlength==undefined)maxlength=999999;if(text.length<minlength||text.length>maxlength){if(text.length>maxlength){const lastLetter=text.substr(text.length-1,1);$(ev.currentTarget).val(text.substr(0,text.length-1))}else $(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')} 2209if(text.length>=minlength&&text.length<=maxlength){$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')} 2210if($(ev.currentTarget).val().trim()==''){if($(ev.currentTarget).data("mandatory")===!0){$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')}else{$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}} 2211if(text_birthday&&!text_only_text&&!text_only_numbers){if(text.length==10){let dateText='';dateTextSplit=text.split('.');const year=dateTextSplit[2];const month=dateTextSplit[1];const day=dateTextSplit[0];if(!(new Date(year,month,day)!=="Invalid Date"&&!isNaN(new Date(year,month,day))))$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled');}} 2212$(ev.currentTarget).data("lastInputLength",$(ev.currentTarget).val().length)});this.$(document).on('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage',(ev)=>{if($(ev.currentTarget).val().trim()!==''){$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}else{$(this.formSelector+' .af2_form_foward_button').addClass('af2_disabled')}});this.$(document).on('click',this.formSelector+' .af2_form_back_button',(ev)=>{if(!$(ev.currentTarget).hasClass('af2_disabled')){this.set=!1;const bSection=this.beforeSection[this.beforeSection.length-1];const bContent=this.beforeContent[this.beforeContent.length-1];const bId=datas[this.id].sections[bSection].contents[bContent].data;$(this.formSelector+' .af2_form_button').each((i,el)=>{$(el).addClass('af2_disabled')});let removeNoHtml=!0;if(datas[bId].af2_type=='frage'){if(datas[bId].typ==='af2_adressfeld'){this.setLastAddrObject(this.answers[this.answers.length-1])} 2213if(datas[bId].typ==='af2_content'){removeNoHtml=!1}} 2214this.af2Move(-1,'before',removeNoHtml)}});this.$(document).on('click',this.formSelector+' .af2_form_foward_button',(ev)=>{if(!$(ev.currentTarget).hasClass('af2_disabled')){if(datas[this.actualData].typ==='af2_multiselect'){console.log('actual data',datas[this.actualData]);let arr=[];$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer.selected_item').each((i,el)=>{arr.push($(el).attr('id'))}).promise().done(()=>{this.af2Move(arr,'next')})}else if(datas[this.actualData].typ==='af2_textfeld'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_textbereich'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_datum'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_slider'){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage').val(),'next')}else if(datas[this.actualData].typ==='af2_content'){this.af2Move("",'next')}else if(datas[this.actualData].typ==='af2_dateiupload'){let fileupload_class='.af2_dateiupload';if(af2_isMobileView($,this.formSelector)){fileupload_class='.af2_dateiupload.af2_mobile'}else{fileupload_class='.af2_dateiupload.desktop'} 2215let arr=[];if($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').length>0){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').each((i,el)=>{arr.push($(el).data('attachment_id'))}).promise().done(()=>{this.attachment_ids=this.attachment_ids.concat(arr);this.af2Move(arr,'next')})}else{this.af2Move(0,'next')}}else if(datas[this.actualData].typ==='af2_dropdown'){const label=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dropdown_fragen').next().find('.select2-selection__rendered').html();const value=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dropdown_fragen').val() 2216this.af2Move(value,'next',label)}else if(datas[this.actualData].typ==='af2_adressfeld'){this.af2Move(this.lastAdressObj,'next')}else if(datas[this.actualData].typ==='af2_terminbuchung'){this.af2Move(this.lastTerminbuchungsObject,'next')}}});this.$(document).on('click',this.formSelector+' .af2_submit_button.no_send',(ev)=>{if(!$(ev.currentTarget).hasClass('af2_disabled')){if(datas[this.actualData].typ==='af2_multiselect'){let arr=[];$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer.selected_item').each((i,el)=>{arr.push($(el).attr('id'))}).promise().done(()=>{this.af2Move(arr,'next')})}else if(datas[this.actualData].typ==='af2_textfeld'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_textbereich'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_datum'){if(af2_isMobileView($,this.formSelector)){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage.af2_mobile').val(),'next')}else{this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage').val(),'next')}}else if(datas[this.actualData].typ==='af2_slider'){this.af2Move($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage').val(),'next')}else if(datas[this.actualData].typ==='af2_content'){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item video').each((i,el)=>{$(el).stop()});this.af2Move("",'next')}else if(datas[this.actualData].typ==='af2_dateiupload'){let fileupload_class='.af2_dateiupload';if(af2_isMobileView($,this.formSelector)){fileupload_class='.af2_dateiupload.af2_mobile'}else{fileupload_class='.af2_dateiupload.desktop'} 2217let arr=[];if($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').length>0){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item '+fileupload_class+' div[data-attachment_id]').each((i,el)=>{arr.push($(el).data('attachment_id'))}).promise().done(()=>{this.attachment_ids=this.attachment_ids.concat(arr);this.af2Move(arr,'next')})}else{this.af2Move(0,'next')}}else if(datas[this.actualData].typ==='af2_dropdown'){const label=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dropdown_fragen').next().find('.select2-selection__rendered').html();const value=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dropdown_fragen').val();this.af2Move(value,'next',label)}}});this.$(document).on('click',this.formSelector+' .af2_submit_button',(ev)=>{if(this.af2_is_send_allowed){if($(ev.currentTarget).hasClass('no_send')){}else if($(ev.currentTarget).hasClass('newVerification')){if(!$(ev.currentTarget).hasClass('waiting')){this.af2_is_send_allowed=!1;$(this.formSelector+' .af2_response_success').each((i,el)=>{$(el).remove()});$(this.formSelector+' .af2_response_error').each((i,el)=>{$(el).remove()});$(this.formSelector+' .af2_loading_error').each((i,el)=>{$(el).remove()});this.sendNewVerification()}}else{this.af2_is_send_allowed=!1;$(this.formSelector+' .af2_response_success').each((i,el)=>{$(el).remove()});$(this.formSelector+' .af2_response_error').each((i,el)=>{$(el).remove()});$(this.formSelector+' .af2_loading_error').each((i,el)=>{$(el).remove()});let arr=[];let arr2=[];let doneRadios={};if($(ev.currentTarget).hasClass('real_send')){this.send_mail($(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_text_type_validate').val(),$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_text_type_validate').data('number'))}else{$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question input, '+this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question textarea').each((i,el)=>{if($(el).hasClass('filter_country'))return;if($(el).attr('type')==='checkbox'){arr.push($(el).prop('checked'));arr2.push({value:$(el).prop('checked'),id:$(el).attr('data-uid')})}else if($(el).attr('type')==='radio'){const val=$("input[name="+$(el).attr('name')+"]:checked").val();const name=$(el).attr('name');let value=val===undefined?'keine Angabe':val;if(doneRadios[name]===undefined){doneRadios[name]=!0;arr.push(value);arr2.push({value:value,id:$(el).attr('data-uid')})}}else{arr.push($(el).val());arr2.push({value:$(el).val(),id:$(el).attr('id')})}}).promise().done(()=>{if(this.set===!0){this.answers.pop()} 2218this.answers.push(arr);this.answersForCalculations.push(arr);this.contactFormAnswers=arr2;this.set=!0;if(this.hasVerification){$(document).on('click','.af2_change_verify_number',(ev)=>{$(document).off('click','.af2_change_verify_number');this.actualCarouselItem--;$(document).on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item',()=>{$(document).off('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item');$(this.formSelector+' #'+(this.actualCarouselItem+1)+'.af2_carousel_item').remove()});$(this.formSelector+' #'+(this.actualCarouselItem)).css('transform');direction='-';if(this.rtl_layout==!0){direction=''} 2219let offset='translateX('+direction+''+((this.actualCarouselItem)*100)+'%)';$(this.formSelector+' .af2_carousel_item').css('transform',offset);this.setHeight()});this.sendVerification()}else{this.send_mail()}})}}}});this.sendNewVerification=()=>{let af2_queryString=window.location.search.substr(1);let af2_url=window.location.href;af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,type:"POST",data:{action:'af2_test_verification',sec:this.actualSection,cont:this.actualContent,dataid:this.id,answers:this.answers,attachment_ids:this.attachment_ids,af2_queryString:af2_queryString,af2_url:af2_url,af2_post_title:af2_frontend_ajax.analytics_data?.post_title??'No Title',verifictationDataId:this.verifictationDataId},success:(answer)=>{if(answer==='ERROR'||answer===undefined){this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.str
2219ings.erroroccured);this.setHeight()}else{if(answer!='empty'){if(answer.substr(0,1)==='{'){let serverAnswer=JSON.parse(answer);if(serverAnswer.err!==undefined){this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured+' :'+serverAnswer.err);this.setHeight()}else{this.af2_is_send_allowed=!0;this.resendValue=60;$(this.formSelector+' #af_verif').html(this.resendValue);$(this.formSelector+' #af_verif').addClass('waiting');this.resendTimer=setInterval(()=>{this.resendValue--;$(this.formSelector+' #af_verif').html(this.resendValue);if(this.resendValue==0){this.resendValue=!1;$(this.formSelector+' #af_verif').removeClass('waiting');$(this.formSelector+' #af_verif').html(af2_frontend_ajax.strings.resend);clearInterval(this.resendTimer)}},1000)}}else{const code=$($.parseHTML(answer));let error=code.filter('.af2_response_error')[0];if(error!==undefined){this.af2_is_send_allowed=!0;error=$(error);const sel=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question .af2_question_wrapper')[error.data('id')];af2ThrowLoadingError(this.$,sel,error[0]);this.setHeight()}}}else{this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight()}}},error:()=>{this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight()}})} 2220this.sendVerification=()=>{let af2_queryString=window.location.search.substr(1);let af2_url=window.location.href;let submits=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button');$(submits).each((i,el)=>{if($(el).hasClass('newVerification')){}else $(el).addClass('af2_submit_button--loading')});af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,type:"POST",data:{action:'af2_test_verification',sec:this.actualSection,cont:this.actualContent,dataid:this.id,answers:this.answers,attachment_ids:this.attachment_ids,af2_queryString:af2_queryString,af2_url:af2_url,af2_post_title:af2_frontend_ajax.analytics_data?.post_title??'No Title',verifictationDataId:this.verifictationDataId},success:(answer)=>{if(answer==='ERROR'||answer===undefined){this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight()}else{if(answer!='empty'){if(answer.substr(0,1)==='{'){let serverAnswer=JSON.parse(answer);if(serverAnswer.err!==undefined){this.send_mail(serverAnswer.code,serverAnswer.number)}else{$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading');let number=serverAnswer.number;this.af2_is_send_allowed=!0;this.actualCarouselItem++;let newCont=this.af2_drawValidation(number);$(document).on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem-1)+'.af2_carousel_item',()=>{$(document).off('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem-1)+'.af2_carousel_item');$(this.formSelector+' #'+(this.actualCarouselItem+1)+'.af2_carousel_item').remove()});$(this.formSelector+' .af2_form_carousel').append(newCont);if(this.resendValue!=!1){$(this.formSelector+' #af_verif').html(this.resendValue);$(this.formSelector+' #af_verif').addClass('waiting');this.resendTimer=setInterval(()=>{this.resendValue--;$(this.formSelector+' #af_verif').html(this.resendValue);if(this.resendValue==0){this.resendValue=!1;$(this.formSelector+' #af_verif').removeClass('waiting');$(this.formSelector+' #af_verif').html(af2_frontend_ajax.strings.resend);clearInterval(this.resendTimer)}},1000)} 2221$(this.formSelector+' #'+(this.actualCarouselItem-1)).css('transform');direction='-';if(this.rtl_layout==!0){direction=''} 2222let offset='translateX('+direction+''+((this.actualCarouselItem)*100)+'%)';$(this.formSelector+' .af2_carousel_item').css('transition','all 0.5s ease-out 0s');$(this.formSelector+' .af2_carousel_item').css('transform',offset);$(this.formSelector+' .af2_form_bottombar').remove();this.setHeight()}}else{const code=$($.parseHTML(answer));let error=code.filter('.af2_response_error')[0];if(error!==undefined){this.af2_is_send_allowed=!0;error=$(error);const sel=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question .af2_question_wrapper')[error.data('id')];af2ThrowLoadingError(this.$,sel,error[0]);this.setHeight()}}}else{this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.str
2222ings.erroroccured);this.setHeight()}} 2223$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')},error:()=>{this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight();$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')}})} 2224this.af2_drawValidation=(number)=>{let af2_val_heading=af2_frontend_ajax.strings.sms;let af2_val_description=af2_frontend_ajax.strings.sms_sent+' '+number+'.';af2_val_description+='<br><span class="af2_change_verify_number af2_ahref">'+af2_frontend_ajax.strings.sms_change+'</span>' 2225let cont='';cont+='<div id="'+(this.actualCarouselItem)+'" class="af2_carousel_item">';cont+='<div class="af2_carousel_content">';cont+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+af2_val_heading+'</div><div class="af2_question_description desktop">'+af2_val_description+'</div></div>';cont+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+af2_val_heading+'</div><div class="af2_question_description af2_mobile">'+af2_val_description+'</div></div>';cont+='<div class="af2_question af2_verify">';cont+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_verification">';cont+='<div class="af2_question_cf_text_type_wrapper af2_verification" style="">';cont+='<div class="af2_question_cf_text_type_icon">';cont+='<i class="fas fa-mobile-alt"></i>';cont+='</div>';cont+='<input maxlength="6" type="tel" value="" data-number="'+number+'" name="validate" id="validate" autocomplete="one-time-code" class="af2_text_type af2_text_type_validate" placeholder="123456">';cont+='</div>';cont+='<button id="af_verif" class="af2_submit_button newVerification af_marg">'+af2_frontend_ajax.strings.sms_repeat+'</button>' 2226cont+='</div>';cont+='</div>';cont+='<div class="af2_question_wrapper">';cont+='<div class="af2_submit_wrapper">';cont+='<button type="button" class="af2_submit_button real_send">';cont+='<span class="af2_submit_button__text">'+af2_frontend_ajax.strings.sms_verify+'</span>';cont+='</button>' 2227cont+='</div>';cont+='</div>';cont+='</div>';cont+='</div>';return cont} 2228this.send_mail=(value,number)=>{let af2_queryString=window.location.search.substr(1);let af2_url=window.location.href;let verVal='';let verNum='';if(value)verVal=value;if(number)verNum=number;let submits=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button');$(submits).each((i,el)=>{if($(el).hasClass('newVerification')){}else $(el).addClass('af2_submit_button--loading')});af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,type:"POST",data:{action:'af2_send_mail',sec:this.actualSection,cont:this.actualContent,dataid:this.id,answers:this.answers,answersForCalculations:this.answersForCalculations,attachment_ids:this.attachment_ids,af2_queryString:af2_queryString,af2_url:af2_url,af2_post_title:af2_frontend_ajax.analytics_data?.post_title??'No Title',verificationSMS:[verVal,verNum],terminbuchungsobjekt:this.lastTerminbuchungsObject,contactFormAnswers:this.contactFormAnswers,dsgvoid:this.dsgvoid,},success:(answer)=>{if(answer==='ERROR'||answer===undefined){this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight();$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')}else if(answer==='NOT VALIDATED'){this.af2_is_send_allowed=!0;const sel=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question .af2_question_wrapper')[0];$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_verify').append('<div style="text-align: center;" class="af2_response_error">Der Code ist entweder falsch, oder abgelaufen.</div>');this.setHeight();$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')}else{const code=$($.parseHTML(answer));let error=code.filter('.af2_response_error')[0];if(error!==undefined){this.af2_is_send_allowed=!0;error=$(error);const sel=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_question .af2_question_wrapper')[error.data('id')];af2ThrowLoadingError(this.$,sel,error[0]);this.setHeight();this.scroll_to_anchor(this.formSelector,$);$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')}else{const success=$(code.filter('.af2_response_success')[0]);if(this.showSuccessScreen!=!1&&this.showSuccessScreen!=null&&this.showSuccessScreen!=undefined){$(this.formSelector+' .af2_form .af2_form_heading_wrapper').remove();$(this.formSelector+' .af2_form .af2_form_carousel').remove();$(this.formSelector+' .af2_form .af2_form_bottombar').remove();$(this.formSelector+' .af2_form .af2_success_message_screen').addClass('show');this.scroll_to_anchor(this.formSelector,$,!0)} 2229try{const tracking_after=atob(success.data('tracking-after')).replaceAll('<script>','').replaceAll('</script>');eval(tracking_after)}catch(e){console.log('eval error: '+e)} 2230const theFormElement=this;setTimeout(function(){$(theFormElement.formSelector+' #'+theFormElement.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading');$(theFormElement.formSelector+' #'+theFormElement.actualCarouselItem+'.af2_carousel_item .af2_submit_button span').html(af2_frontend_ajax.str
2230ings.form_sent);if(success.data('redirect')!==""&&success.data('redirect')!==!1){if(typeof af2_doOwnExternalRedirectFunction==='function'){af2_doOwnExternalRedirectFunction(theFormElement.answerObject,success.data('bl'))}else{let blank=success.data('bl');if(blank==!0) 2231window.open(success.data('redirect').substr(9),'_blank');else window.location.href=success.data('redirect').substr(9)}}},2000)}}},error:()=>{this.af2_is_send_allowed=!0;af2ThrowError(this.$,$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button'),af2_frontend_ajax.strings.erroroccured);this.setHeight();$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_submit_button.af2_submit_button--loading').removeClass('af2_submit_button--loading')}})} 2232this.$(document).on('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage',(ev)=>{const sliderSelector=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage');const sliderBulletSelector=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage_bullet');af2AdjustSliderBullet(sliderSelector,sliderBulletSelector,datas[this.actualData],this.$);if(datas[this.actualData].type_specifics.manual==!0){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage_val').val(sliderSelector.val());$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}});this.$(document).on('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage_val',(ev)=>{const sliderSelector=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage');const sliderBulletSelector=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage_bullet');const sliderMin=parseInt(datas[this.actualData].type_specifics.min);const sliderMax=parseInt(datas[this.actualData].type_specifics.max);const sliderVal=parseInt($(ev.currentTarget).val());if(sliderVal>=sliderMin&&sliderVal<=sliderMax){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled");sliderSelector.val(sliderVal);af2AdjustSliderBullet(sliderSelector,sliderBulletSelector,datas[this.actualData],this.$)}else{if(!isNaN(sliderVal)){$(this.formSelector+' .af2_form_foward_button').addClass("af2_disabled")}}})};this.removeTriggers=()=>{$(document).off('keypress');this.$(document).off('mouseenter',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer');this.$(document).off('mouseleave',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer');this.$(document).off('click',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer');this.$(document).off('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage');this.$(document).off('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage');this.$(document).off('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_datum_frage');this.$(document).off('input',this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_slider_frage');this.$(document).off('click',this.formSelector+' .af2_form_back_button');this.$(document).off('click',this.formSelector+' .af2_form_foward_button');this.$(document).off('click',this.formSelector+' .af2_submit_button.no_send');this.$(document).off('click',this.formSelector+' .af2_submit_button')};this.af2_addAhrefs=()=>{this.$(this.formSelector+' a').each((i,el)=>{if($(el).hasClass('af2_ahref')){}else if($(el).hasClass('ui-state-default')){}else $(el).addClass('af2_ahref')})};this.af2Move=(connectionFrom,type,dropdownInput)=>{this.removeTriggers();this.scroll_to_anchor(this.formSelector,this.$);if(type==='next'){$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_answer').each((i,el)=>{$(el).removeClass('selected_item');$(el).removeClass('hover')});if(datas[this.actualData].typ=="af2_multiselect"&&Array.isArray(connectionFrom)&&!connectionFrom.length){connectionFrom=""} 2233this.answers.push(connectionFrom);this.answersForCalculations.push({question:$('#'+this.actualCarouselItem+'.af2_carousel_item').data('qid'),index:connectionFrom});let answerObjectAnswer=connectionFrom;let doAnswerObject=!0;switch(datas[this.actualData].typ){case 'af2_select':{answerObjectAnswer=datas[this.actualData].type_specifics.answers[connectionFrom].text;break} 2234case 'af2_multiselect':{answerObjectAnswer='';if(Array.isArray(connectionFrom)){connectionFrom.forEach((el,i)=>{answerObjectAnswer+=datas[this.actualData].type_specifics.answers[el].text;if(i<connectionFrom.length-1)answerObjectAnswer+=', '})} 2235break} 2236case 'af2_textfeld':{break} 2237case 'af2_textbereich':{break} 2238case 'af2_datum':{break} 2239case 'af2_dropdown':{answerObjectAnswer=dropdownInput;break} 2240case 'af2_slider':{break} 2241case 'af2_adressfeld':{break} 2242case 'af2_content':{const question=$('#'+this.actualCarouselItem+'.af2_carousel_item').find(".af2_content_frage.desktop").text();answerObjectAnswer=question;break} 2243case 'af2_dateiupload':{answerObjectAnswer='';let dateienNamen='Dateien';let wurdenNamen='wurden';let fromlength=connectionFrom.length;if(connectionFrom.length==1)dateienNamen='Datei';if(connectionFrom.length==1)wurdenNamen='wurde';if(connectionFrom.length==undefined)fromlength=connectionFrom 2244answerObjectAnswer='Es '+wurdenNamen+' '+fromlength+' '+dateienNamen+' hochgeladen.';break}} 2245if(doAnswerObject) 2246this.answerObject.push({id:this.actualData,title:datas[this.actualData].frontend_n
2246ame,answer:answerObjectAnswer});window.dataLayer=window.dataLayer||[];window.dataLayer.push({'event':'af2NextSlide','id':this.actualData,'title':datas[this.actualData].frontend_name,'answer':answerObjectAnswer});this.needsDraw=!0;let param=connectionFrom;if(datas[this.actualData].typ==='af2_dropdown'){let options=datas[this.actualData].type_specifics.dropdown_options;$.each(options,function(i,t){if(t.label==dropdownInput){param=i}});console.log("NEXT dropdownInput ",dropdownInput);this.answers.pop();this.answersForCalculations.pop();this.answers.push(param);this.answersForCalculations.push({question:$('#'+this.actualCarouselItem+'.af2_carousel_item').data('qid'),index:param})} 2247if(datas[this.actualData].typ==='af2_content'){this.answers.pop();this.answersForCalculations.pop();const question=$('#'+this.actualCarouselItem+'.af2_carousel_item').find(".af2_content_frage.desktop").text();this.answers.push(question);this.answersForCalculations.push({index:question,question:$('#'+this.actualCarouselItem+'.af2_carousel_item').data('qid')})} 2248if(typeof af2_doOwnExternalRedirectFunctionBetween==='function'){af2_doOwnExternalRedirectFunctionBetween().done((newval)=>{if(newval){this.af2GoNext(param).done((cont)=>{this.beforeSection.push(cont[0]);this.beforeContent.push(cont[1]);if(this.beforeSection.length>0){$(this.formSelector+' .af2_form_back_button').removeClass('af2_disabled')}else{$(this.formSelector+' .af2_form_back_button').addClass('af2_disabled')}})}else{}})}else{this.af2GoNext(param).done((cont)=>{this.beforeSection.push(cont[0]);this.beforeContent.push(cont[1]);if(this.beforeSection.length>0){$(this.formSelector+' .af2_form_back_button').removeClass('af2_disabled')}else{$(this.formSelector+' .af2_form_back_button').addClass('af2_disabled')}})}}else if(type==='before'){window.dataLayer=window.dataLayer||[];window.dataLayer.push({'event':'af2PrevSlide',});if(dropdownInput==!0){this.answers.pop();this.answerObject.pop()} 2249this.needsDraw=!1;this.af2GoBefore().done(()=>{this.beforeSection.pop();this.beforeContent.pop();if(this.beforeSection.length>0){$(this.formSelector+' .af2_form_back_button').removeClass('af2_disabled')}else{$(this.formSelector+' .af2_form_back_button').addClass('af2_disabled')}})}};this.scroll_to_anchor=(anchor_id,$,success=!1)=>{if(this.activateScrollToAnchor){if(af2_isMobile()){var tag=$(anchor_id+" .af2_form_heading.af2_mobile");if(success)tag=$(anchor_id+" .af2_success_message_screen.af2_mobile");$('html,body').animate({scrollTop:tag.offset().top-100})}} 2250if(this.activateScrollToAnchorDesktop){if(!af2_isMobile()){var tag=$(anchor_id+" .af2_form_heading.desktop");if(success)tag=$(anchor_id+" .af2_success_message_screen.desktop");$('html,body').animate({scrollTop:tag.offset().top-100})}}} 2251this.af2GoBefore=()=>{if(datas[this.actualData].af2_type=='kontaktformular'){var data=[];$(".af2_carousel_item#"+this.actualCarouselItem+" .af2_question").each(function(i,t){if($(t).find("input[type='text']").length>0){var id=$(t).attr("id");data[id]=$(t).find("input[type='text']").val()}}) 2252this.stor.af2_form_values=JSON.stringify(data)} 2253const prom=this.$.Deferred();this.actualSection=this.beforeSection[this.beforeSection.length-1];this.actualContent=this.beforeContent[this.beforeContent.length-1];this.actualCarouselItem--;this.answersForCalculations.pop();this.loadContent(!0).done(()=>{$(document).on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item',()=>{$(document).off('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item');$(this.formSelector+' #'+(this.actualCarouselItem+1)+'.af2_carousel_item').remove();if(datas[this.actualData].typ==='af2_textfeld'||datas[this.actualData].typ==='af2_textbereich'){if(datas[this.actualData].type_specifics.mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}}else if(datas[this.actualData].typ==='af2_multiselect'){if(datas[this.actualData].type_specifics.mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}}else if(datas[this.actualData].typ==='af2_dateiupload'){if(datas[this.actualData].type_specifics.mandatory===!0){let uploaded_files=0;if(af2_isMobileView($,this.formSelector)){uploaded_files=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dateiupload.af2_mobile div[data-attachment_id]').length}else{uploaded_files=$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_dateiupload.desktop div[data-attachment_id]').length} 2254if(uploaded_files>0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}}else{$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}} 2255prom.resolve()});$(this.formSelector+' #'+(this.actualCarouselItem)).css('transform');direction='-';if(this.rtl_layout==!0){direction=''} 2256let offset='translateX('+direction+''+((this.actualCarouselItem)*100)+'%)';$(this.formSelector+' .af2_carousel_item').css('transform',offset);const newPercent=(this.actualSection/(this.size-1))*100;$(this.formSelector+' .af2_form_progress').css('width');$(this.formSelector+' .af2_form_progress').css('width',newPercent+'%')});return prom.promise()};this.af2GoNext=(connectionFrom)=>{const prom=this.$.Deferred();const buffer=af2FindNew(this.$,datas[this.id].sections[this.actualSection].contents[this.actualContent].connections,connectionFrom);const sec=this.actualSection;const cont=this.actualContent;this.actualSection=buffer[0];this.actualContent=buffer[1];this.actualCarouselItem++;this.loadContent().done(()=>{$(document).on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem-1)+'.af2_carousel_item',(ev)=>{if($(ev.target).hasClass('af2_carousel_item')){$(document).off('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',this.formSelector+' #'+(this.actualCarouselItem-1)+'.af2_carousel_item');
2256if(datas[this.actualData].typ==='af2_textfeld'){let is_mandatory=datas[this.actualData].type_specifics.mandatory;let min_length=datas[this.actualData].type_specifics.min_length;if(is_mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")} 2257$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textfeld_frage').each((i,el)=>{if($(el).css('display')==='none'){}else{$(el).focus()}})} 2258if(datas[this.actualData].typ==='af2_multiselect'){let is_mandatory=datas[this.actualData].type_specifics.mandatory;if(is_mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}} 2259if(datas[this.actualData].typ==='af2_textbereich'){let is_mandatory=datas[this.actualData].type_specifics.mandatory;if(is_mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")} 2260$(this.formSelector+' #'+this.actualCarouselItem+'.af2_carousel_item .af2_textbereich_frage').each((i,el)=>{if($(el).css('display')==='none'){}else{$(el).focus()}})} 2261if(datas[this.actualData].typ==='af2_dateiupload'){let is_mandatory=datas[this.actualData].type_specifics.mandatory;if(is_mandatory!==!0){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}} 2262if(datas[this.actualData].typ==='af2_adressfeld'){let is_mandatory=datas[this.actualData].type_specifics.mapmandatory;if(is_mandatory!=undefined&&is_mandatory==!1){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}else{$(this.formSelector+' .af2_form_foward_button').addClass("af2_disabled")}} 2263if(datas[this.actualData].typ==='af2_datum'){let is_mandatory=datas[this.actualData].type_specifics.datemandatory;if(is_mandatory!=undefined&&is_mandatory==!1){$(this.formSelector+' .af2_form_foward_button').removeClass("af2_disabled")}else{$(this.formSelector+' .af2_form_foward_button').addClass("af2_disabled")}} 2264if(datas[this.actualData].typ==='af2_terminbuchung'){$(this.formSelector+' .af2_form_foward_button').addClass("af2_disabled")}}});prom.resolve([sec,cont]);direction='-';if(this.rtl_layout==!0){direction=''} 2265let offset='translateX('+direction+''+((this.actualCarouselItem)*100)+'%)';let offset2='translateX('+direction+''+((this.actualCarouselItem-1)*100)+'%)';let saveTrans=$(this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item').css('transition');$(this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item').css('transition','');$(this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item').css('transform',offset2);setTimeout(()=>{$(this.formSelector+' .af2_carousel_item').css('transform',offset)},300);$(this.formSelector+' #'+(this.actualCarouselItem)+'.af2_carousel_item').css('transition',saveTrans);const newPercent=(this.actualSection/(this.size-1))*100;$(this.formSelector+' .af2_form_progress').css('width');$(this.formSelector+' .af2_form_progress').css('width',newPercent+'%');if(datas[this.actualData].af2_type=='kontaktformular'){if(this.stor.af2_form_values!==null&&this.stor.af2_form_values!==undefined){let optionValues=JSON.parse(this.stor.af2_form_values);$(".af2_carousel_item#"+this.actualCarouselItem+" .af2_question").each(function(i,t){var id=$(t).attr("id");if(typeof optionValues[id]!==undefined){$(t).find("input[type='text']").val(optionValues[i])}})}}});if(this.dsgvo==!0){af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,method:"POST",data:{action:'af2_send_actual_post',id:this.id,c
2265ontent:this.answers,dsgvoid:this.dsgvoid,},success:(response)=>{if(response.trim()=='-1')this.dsgvo=!1;else this.dsgvoid=response},error:function(){}})} 2266return prom.promise()};this.af2SetPercentage=(oldPercentage,newPercentage,interv,way)=>{let difference=newPercentage-oldPercentage;let actPercentage=oldPercentage+1;if(way==='down'){difference=oldPercentage-newPercentage;actPercentage=oldPercentage-1} 2267if(difference===0){return null} 2268let interval=interv/difference;setTimeout(()=>{$(this.formSelector+' .af2_form_percentage').html(actPercentage+'%');this.af2SetPercentage(actPercentage,newPercentage,interv-interval,way)},interval)};this.af2_initAdress=()=>{let map=GMap($,this.neededContent,this.actualData,this.formSelector,this.setHeight,this)};this.setHeight=()=>{const height=$(this.formSelector+' .af2_form_carousel #'+this.actualCarouselItem+' .af2_carousel_content').height();$(this.formSelector+' .af2_form_carousel').css('height',height);const width=$(this.formSelector).width();if(width>780){$(this.formSelector).removeClass('af2_nm_mobile_view');$(this.formSelector).removeClass('af2_nm_ipad_view');$(this.formSelector).addClass('af2_nm_desktop_view')}else if(width<=480){$(this.formSelector).addClass('af2_nm_mobile_view');$(this.formSelector).removeClass('af2_nm_ipad_view');$(this.formSelector).removeClass('af2_nm_desktop_view')}else{$(this.formSelector).removeClass('af2_nm_mobile_view');$(this.formSelector).addClass('af2_nm_ipad_view');$(this.formSelector).removeClass('af2_nm_desktop_view')}} 2269if(datas[id]===undefined){datas[id]=!0;af2HandleRequest($,this.formSelector,'.af2_form_wrapper',[this.id],this)}else if(this.popup){af2LoadStyling(this.$,this.id,this.formSelector,this.setHeight);this.loadContent()}else{af2LoadStyling(this.$,this.id,this.formSelector,this.setHeight);this.loadContent()}} 2270const getAllImagesDonePromise=($,formSelector)=>{var d=$.Deferred();var imgs=$(formSelector+" img");imgs.one("load.allimages error.allimages",function(){imgs=imgs.not(this);if(imgs.length==0){d.resolve()}});var complete=imgs.filter(function(){return this.complete});complete.off(".allimages");imgs=imgs.not(complete);complete=undefined;if(imgs.length==0){d.resolve()} 2271return d.promise()} 2272const af2AdjustSliderBullet=(sliderSelector,sliderBulletSelector,json,$)=>{let val=sliderSelector.val();const min=sliderSelector.attr('min');const max=sliderSelector.attr('max');const width=sliderSelector.width();const thumbWidth=25;const offset=19;let cont=val;let bulletPercentage=((val-min)/(max-min));let bulletPosition=bulletPercentage*(width-thumbWidth)-offset;
2272putInThousands(json,cont,$).done((ret)=>{cont=ret;let labelBefore=json.type_specifics.labelBefore;const label=json.type_specifics.label;if(label!==undefined&&label!==null&&label.trim()!==''){if(labelBefore==!1||labelBefore===undefined){cont+=' '+label}else if(labelBefore==!0){cont=label+' '+cont}} 2273sliderBulletSelector.each((i,el)=>{$(el).html(cont)})})};const af2FindNew=($,iterator,from)=>{let newSection=undefined;let newContent=undefined;let found=!1;$.each(iterator,(i,el)=>{if(el.operator==null||el.operator==''){if(newSection!=null||found===!1){if(el.from===-1){if(found===!1){newSection=el.to_section;newContent=el.to_content}}else if(el.from===from){newSection=el.to_section;newContent=el.to_content;found=!0}else if(el.from.toString()===from.toString()){newSection=el.to_section;newContent=el.to_content;found=!0}}}else{switch(el.operator){case '<':{if(parseInt(from)<parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2274break} 2275case '<=':{if(parseInt(from)<=parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2276break} 2277case '>':{if(parseInt(from)>parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2278break} 2279case '>=':{if(parseInt(from)>=parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2280break} 2281case '=':{if(parseInt(from)==parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2282break} 2283case '!=':{if(parseInt(from)!=parseInt(el.number)){newSection=el.to_section;newContent=el.to_content} 2284break}}}});return[newSection,newContent]};const af2DrawCarouselContent=($,form,dataid,formSelector,carouselNum,resize_listener_add)=>{form.needsDraw=!1;console.log("af2DrawCarouselContent");if($(formSelector+' .af2_form_carousel').width()!==0){$(formSelector+' .af2_form_carousel').css('max-width',$(formSelector+' .af2_form_carousel').width());$(formSelector+' .af2_form_carousel').css('min-width',$(formSelector+' .af2_form_carousel').width())} 2285const type=datas[dataid].af2_type;let content='';content+='<div id="'+carouselNum+'" data-qid="'+dataid+'" data-qtype="'+type+'" class="af2_carousel_item">';let json=undefined;let inp='';if(type==='frage'){inp=af2DrawFrage($,datas[dataid],formSelector,form);json=datas[dataid]}else if(type==='kontaktformular'){inp=af2DrawKontaktformular($,datas[dataid],form);form.af2_is_send_allowed=!0;setTimeout(function(){initiateIntlTelInput($,form.rtl_layout)},200)} 2286let c='af2_carousel_content';if(json!==undefined&&json.typ==='af2_adressfeld'){c+=' af2_address'} 2287content+='<div class="'+c+'">';content+=inp;content+='</div>';content+='</div>';$(formSelector+' .af2_loading_overlay').css('opacity',0);$(formSelector+' .af2_loading_overlay').css('width','0px');$(formSelector+' .af2_loading_overlay').css('height','0px');$(formSelector+' .af2_form').css('display','block');$(document).on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',formSelector+' .af2_loading_overlay',()=>{$(document).off('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd',formSelector+' .af2_loading_overlay');$(formSelector+' .af2_loading_overlay').remove();form.setHeight()});$(formSelector+' .af2_form_carousel').append(content);$(formSelector+' .af2_form_carousel').trigger('af2_drawed_content');form.af2_addAhrefs();resize_listener_add();adjustTargetBlanks($,formSelector);if(json!==undefined&&json.typ==='af2_slider'){const af2SliderFrageSelector=$(formSelector+' #'+carouselNum+'.af2_carousel_item .af2_slider_frage');const af2SliderFrageBulletSelector=$(formSelector+' #'+carouselNum+'.af2_carousel_item .af2_slider_frage_bullet');af2AdjustSliderBullet(af2SliderFrageSelector,af2SliderFrageBulletSelector,json,$)} 2288if(json!==undefined&&json.typ==='af2_datum'){let ele=$(formSelector+' #'+carouselNum+' div[data-fragen="date"]');let date_input=$(formSelector+' #'+carouselNum+' input.af2_datum_frage');let format=(ele.data("format")!='undefined'&&typeof ele.data("format")!='undefined')?ele.data("format"):'dd.mm.yy';let datemandatory=!0;if(json.type_specifics.datemandatory!=undefined&&json.type_specifics.datemandatory==!1)datemandatory=!1;if(datemandatory==!1)$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled');ele.datepicker({dateFormat:format,onSelect:(date)=>{$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled');date_input.val(date)}
2288,firstDay:1,dayNames:[af2_frontend_ajax.strings.date.sonntag,af2_frontend_ajax.strings.date.montag,af2_frontend_ajax.strings.date.dienstag,af2_frontend_ajax.strings.date.mittwoch,af2_frontend_ajax.strings.date.donnerstag,af2_frontend_ajax.strings.date.freitag,af2_frontend_ajax.strings.date.samstag,],dayNamesShort:[af2_frontend_ajax.strings.date.so,af2_frontend_ajax.strings.date.mo,af2_frontend_ajax.strings.date.di,af2_frontend_ajax.strings.date.mi,af2_frontend_ajax.strings.date.do,af2_frontend_ajax.strings.date.fr,af2_frontend_ajax.strings.date.sa,],dayNamesMin:[af2_frontend_ajax.strings.date.so,af2_frontend_ajax.strings.date.mo,af2_frontend_ajax.strings.date.di,af2_frontend_ajax.strings.date.mi,af2_frontend_ajax.strings.date.do,af2_frontend_ajax.strings.date.fr,af2_frontend_ajax.strings.date.sa,],monthNames:[af2_frontend_ajax.strings.date.januar,af2_frontend_ajax.strings.date.februar,af2_frontend_ajax.strings.date.marz,af2_frontend_ajax.strings.date.april,af2_frontend_ajax.strings.date.mai,af2_frontend_ajax.strings.date.juni,af2_frontend_ajax.strings.date.juli,af2_frontend_ajax.strings.date.august,af2_frontend_ajax.strings.date.september,af2_frontend_ajax.strings.date.oktober,af2_frontend_ajax.strings.date.november,af2_frontend_ajax.strings.date.dezember,],monthNamesShort:[af2_frontend_ajax.strings.date.jan,af2_frontend_ajax.strings.date.feb,af2_frontend_ajax.strings.date.mar,af2_frontend_ajax.strings.date.apr,af2_frontend_ajax.strings.date.mai,af2_frontend_ajax.strings.date.jun,af2_frontend_ajax.strings.date.jul,af2_frontend_ajax.strings.date.aug,af2_frontend_ajax.strings.date.sep,af2_frontend_ajax.strings.date.okt,af2_frontend_ajax.strings.date.nov,af2_frontend_ajax.strings.date.dez,]})} 2289if(json!==undefined&&json.typ==='af2_terminbuchung'){$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled');form.lastTerminbuchungsObject.id=dataid;$(formSelector+' .af2_terminbuchung_times').append('<div class="af2_loader"></div>');af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,method:"GET",data:{action:'af2_get_terminbuchungs_data',id:dataid},success:function(response){if(response==null){return};$(formSelector+' .af2_terminbuchung_times').find('.af2_loader').remove();const masterObj=JSON.parse(response);form.lastTerminbuchungsTimeslotsAllEvents=masterObj.lastTerminbuchungsTimeslotsAllEvents;form.lastTerminbuchungsTimeslotsAllEvents.forEach((el,i)=>{if(el.start.dateTime!=null&&el.start.date==null){let normedStart=af2_convertTZ(new Date(el.start.dateTime),'Europe/Amsterdam');let normedEnd=af2_convertTZ(new Date(el.end.dateTime),'Europe/Amsterdam');let convertedStart=af2_convertTZ(normedStart,form.lastTerminbuchungsObject.chosenTimeZone);let convertedEnd=af2_convertTZ(normedEnd,form.lastTerminbuchungsObject.chosenTimeZone)}});const dateobj=getTerminbuchungsDatepickerStuff(json,form);let jsDatePicker=$(formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').datepicker(dateobj).val();let lowestDayTd=$(formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker tr td:not(".ui-datepicker-unselectable")');let lowestDayString=(lowestDayTd.data('month')+1)+"/"+lowestDayTd.find("a").data('date')+"/"+lowestDayTd.data('year');$(formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').datepicker().datepicker("setDate",lowestDayString);form.setHeight();form.lastTerminbuchungsObject.date=lowestDayString;form.lastTerminbuchungsObject.time=undefined;$(formSelector+' .af2_calender_wait--loading').removeClass('af2_calender_wait--loading');$(formSelector+' .af2_terminbuchung_times').css('max-height','0px');const wishHeight=$(formSelector+' .af2_datewrapper.af2_terminbuchungs_wrap').height();const sub1=$(formSelector+' .af2_terminbuchung_dur_wrap').height();const sub2=$(formSelector+' .af2_terminbuchung_dur_wrap').css('margin-bottom').replace('px','');const sub3=$(formSelector+' .af2_terminbuchung_heading').height();const sub4=$(formSelector+' .af2_terminbuchung_heading').css('margin-bottom').replace('px','');const newHeight=wishHeight-sub1-sub2-sub3-sub4;$(formSelector+' .af2_terminbuchung_times').css('max-height',newHeight+'px');$(formSelector+' .af2_terminbuchung_times').css('min-height',newHeight+'px');form.$(form.formSelector+' .af2_form_foward_button').addClass('af2_disabled');af2_drawTerminbuchungTimes(json,form)},error:function(){}});$(document).on('click',formSelector+' .af2_terminbuchung_time',(ev)=>{$(form.formSelector+' .af2_form_carousel #'+form.actualCarouselItem+' .af2_carousel_content .af2_terminbuchung_time').each((i,el)=>{$(el).removeClass('af2_time_selected')});$(ev.currentTarget).addClass('af2_time_selected');form.lastTerminbuchungsObject.time=$(ev.currentTarget).data('originalvalue');
2289if(form.lastTerminbuchungsObject.time!=undefined&&form.lastTerminbuchungsObject.date!=undefined&&form.lastTerminbuchungsObject.duration!=undefined){$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled')} 2290const durations=$(form.formSelector+' .af2_terminbuchung_duration');if(durations.length==1){$(form.formSelector+' .af2_form_foward_button').first().trigger("click")}});$(document).on('click','.af2_terminbuchung_duration',(ev)=>{$(form.formSelector+' .af2_form_carousel #'+form.actualCarouselItem+' .af2_carousel_content .af2_terminbuchung_duration').each((i,el)=>{$(el).removeClass('af2_duration_selected')});$(ev.currentTarget).addClass('af2_duration_selected');form.lastTerminbuchungsObject.duration=$(ev.currentTarget).html();form.lastTerminbuchungsObject.duration_std=$(ev.currentTarget).data('std');form.lastTerminbuchungsObject.duration_min=$(ev.currentTarget).data('min');form.lastTerminbuchungsObject.duration_itemc=$(ev.currentTarget).data('itemc');form.lastTerminbuchungsObject.time=undefined;af2_drawTerminbuchungTimes(json,form);$(formSelector+' .af2_form_foward_button').addClass('af2_disabled')})};if(json!==undefined&&json.typ==='af2_dateiupload'){let ele=$(formSelector+' #'+carouselNum+' div[data-fragen="fileupload"]');let main_color='';$.each(af2Styles.af2_form_progress,function(i,t){if(t.attribute=='background-color'){main_color=t.value}});let size_limit=json.type_specifics.max_size;if(parseInt(json.type_specifics.max_size)>parseInt(af2_frontend_ajax.server_max_size)){size_limit=af2_frontend_ajax.server_max_size} 2291let supportedFileTypes=af2_frontend_ajax.supported_file_types.split(',');supportedFileTypes=supportedFileTypes.filter(function(el){return!json.type_specifics.restricted_types.includes(el)});supportedFileTypes=supportedFileTypes.toString();ele.dropzone({paramName:'af2_file',url:af2_frontend_ajax.ajax_url,addRemoveLinks:!0,dictCancelUpload:af2_frontend_ajax.strings.dropzone.remove,dictRemoveFile:af2_frontend_ajax.strings.dropzone.remove,maxFiles:json.type_specifics.max_count,maxFilesize:size_limit,timeout:180000,acceptedFiles:supportedFileTypes,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span style="background:'+main_color+'" class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Check</title>\n <g stroke="none" stroke-width="1" fill="'+main_color+'" fill-rule="evenodd">\n <path style="fill:'+main_color+'" d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Error</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g stroke="#747474" stroke-opacity="0.198794158" fill="#ff694c" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>
2291',dictMaxFilesExceeded:af2_frontend_ajax.strings.dropzone.max_uploads,dictFileTooBig:af2_frontend_ajax.strings.dropzone.max_uploads_size,dictInvalidFileType:af2_frontend_ajax.strings.dropzone.wrong_filetype,accept:function(file,done){fetch(af2_frontend_ajax.ajax_url+'?action=af2_get_nonce').then((response)=>response.json()).then((json)=>{file.af2_nonce=json.data.nonce;done()}).catch(()=>done())},init:function(){if(json.type_specifics.mandatory===!0){$(formSelector+' .af2_form_foward_button').addClass('af2_disabled')}else{$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled')} 2292this.on("sending",function(file,xhr,formData){formData.append("action","af2_handel_file_upload");formData.append("_ajax_nonce",file.af2_nonce)});this.on("addedfile",function(file){$(formSelector+' .af2_form_foward_button').addClass('af2_disabled');const height=$(formSelector+' .af2_form_carousel #'+carouselNum+' .af2_carousel_content').height();$(".af2_form_carousel").css("height",height)})},thumbnail:function(){const height=$(formSelector+' .af2_form_carousel #'+carouselNum+' .af2_carousel_content').height();$(".af2_form_carousel").css("height",height)},success:function(file,resp){resp=JSON.parse(resp);if(resp.success){file.attachment_id=resp.media_id;$(file.previewElement).attr("data-attachment_id",resp.media_id);$(file.previewElement).data("data-attachment_id",resp.media_id)} 2293return file.previewElement.classList.add("dz-success")},error:function(file,errorMessage){$(file.previewElement).find(".dz-error-message span").html(errorMessage);return file.previewElement.classList.add("dz-error")},removedfile:function(file){af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,method:"POST",data:{action:'af2_handel_file_remove',attachment_id:file.attachment_id},success:function(){file.previewElement.remove();const height=$(formSelector+' .af2_form_carousel #'+carouselNum+' .af2_carousel_content').height();$(".af2_form_carousel").css("height",height);if(json.type_specifics.mandatory===!0){let uploaded_files=$(formSelector+' #'+carouselNum+'.af2_carousel_item .af2_dateiupload div[data-attachment_id]').length;if(uploaded_files>0){$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}else{$(formSelector+' .af2_form_foward_button').addClass('af2_disabled')}}else{$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled')}}})},complete:function(file){return file.previewElement.classList.add("dz-complete")},queuecomplete:function(){let succ=!0;this.files.forEach(el=>{if(el.status!='success')succ=!1});if(succ===!0){$(formSelector+' .af2_form_foward_button').removeClass('af2_disabled')} 2294const height=$(formSelector+' .af2_form_carousel #'+carouselNum+' .af2_carousel_content').height();$(".af2_form_carousel").css("height",height)}})} 2295if(json!==undefined&&json.typ==='af2_dropdown'){let ele=$(formSelector+' #'+carouselNum+' select.af2_dropdown_fragen');let width='84%';let special=formSelector.replace('#','')+' af2-select2-container desktop';if(af2_isMobileView($,this.formSelector)){width='84%';special=formSelector.replace('#','')+' af2-select2-container af2_mobile'} 2296ele.select2({selectionCssClass:special,width:width});let font_family=$(formSelector+' .af2_form').css('font-family');$('.af2-select2-container').css('font-family',font_family);ele.on("select2:open",function(){let font_family=$(formSelector+' .af2_form').css('font-family');$('.af2-select2-container').css('font-family',font_family);$('.select2-results__options').css('font-family',font_family);if($('.select2-results .af2_loaded_style_font').length<=0) 2297$('.select2-results').prepend('<div class="af2_loaded_style_font"><style>.select2-results__option.select2-results__option--selectable {font-family: '+font_family+'}</style></div>');})} 2298if(json!==undefined&&json.typ==='af2_adressfeld'){if(!afincluded&&json.type_specifics.enable_google){afincluded=!0;let script=document.createElement('script');script.src='https://maps.googleapis.com/maps/api/js?key='+af2_frontend_ajax.supported_server_size+'&callback=af2_initAdresss&libraries=places';script.async=!0;execForm=form;document.head.appendChild(script)}else{form.af2_initAdress()}} 2299af2_replaceCalculationPlaceholder($,dataid,form)};const af2_replaceCalculationPlaceholder=($,dataid,form)=>{console.log("af2_replaceCalculationPlaceholder",form);const sel='div[data-qid="'+dataid+'"]';let question_answer=$(sel);if(question_answer.length){question_answer_desktop=question_answer.find(".af2_content_frage.desktop");if(question_answer_desktop.length){let text=question_answer_desktop[0].innerHTML;const pattern1=new RegExp(/\[\d+\]/ig);const pattern2=new RegExp(/\[CALCULATION-\d+\]/ig);let placeholders=text.match(pattern1);let placeholders2=text.match(pattern2);if(placeholders2!=null){for(let element of placeholders2){if(placeholders==null)placeholders=[];placeholders.push(element)}} 2300if(placeholders==null)return;for(let element of placeholders){const fullString=element;const number=element.replace("[","").replace("]","").replace(new RegExp(/CALCULATION-/gi),"");af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,type:"POST",dataType:"json",data:{action:'af2_calculate_formula_live',formulaId:number,answers:form.answersForCalculations},success:(result)=>{text=question_answer.find(".af2_content_frage.desktop").html();let replacee=fullString;text=text.replace(replacee,result.message);question_answer.find(".af2_content_frage.desktop").html(text);question_answer.find(".af2_content_frage.af2_mobile").html(text)},error:(jqXHR,error,errorThrown)=>{console.log(error)}})}}}} 2301window.af2_initAdresss=function(){extraParms=google;execForm.af2_initAdress()} 2302const af2_drawTerminbuchungTimes=(json,form)=>{if(form.lastTerminbuchungsObject.date==undefined){form.$(form.formSelector+' .af2_terminbuchung_times').html('');return} 2303let date=new Date(form.lastTerminbuchungsObject.date);let day=date.getDay();let varToUse=null;let durationToUse=form.lastTerminbuchungsObject.duration_itemc;let val=date.getDate()+'-'+date.getMonth()+'-'+date.getFullYear();if(form.lastTerminbuchungsTimeslotsSpecials.get(val)!=undefined)varToUse=form.lastTerminbuchungsTimeslotsSpecials.get(val);else if(day==1)varToUse=form.lastTerminbuchungsTimeslotsMonday;else if(day==2)varToUse=form.lastTerminbuchungsTimeslotsTuseday;else if(day==3)varToUse=form.lastTerminbuchungsTimeslotsWednesday;else if(day==4)varToUse=form.lastTerminbuchungsTimeslotsThursday;else if(day==5)varToUse=form.lastTerminbuchungsTimeslotsFriday;else if(day==6)varToUse=form.lastTerminbuchungsTimeslotsSaturday;else if(day==0)varToUse=form.lastTerminbuchungsTimeslotsSunday;let c='';let arr=varToUse[durationToUse].filter(dur=>dur.allowed==!0);arr.forEach((el,i)=>{const originaltime=el.time;let drawingTime=el.time;c+='<div class="af2_terminbuchung_time" data-originalvalue="'+originaltime+'">'+drawingTime+'</div>'});if(arr.length<1){c+='<div class="af2_notification">
2303'+af2_frontend_ajax.strings.noappointments+'</div>'} 2304form.$(form.formSelector+' .af2_terminbuchung_times').html(c)} 2305const getTerminbuchungsDatepickerStuff=(json,form)=>{let today=af2_getTodayStandard();const dd=String(today.getDate());const mm=String(today.getMonth()+1);const yyyy=today.getFullYear();today=mm+'/'+dd+'/'+yyyy;const json_tcont=json.type_specifics.termineventcontent;const puffer=json_tcont.puffer;form.pufferTime=0;form.vorlaufzeit=parseInt(json_tcont.vorlaufzeit);switch(puffer){case 'pufer_0':{form.pufferTime=0;break} 2306case 'puffer_5':{form.pufferTime=5;break} 2307case 'puffer_10':{form.pufferTime=10;break} 2308case 'puffer_15':{form.pufferTime=15;break} 2309case 'puffer_30':{form.pufferTime=30;break} 2310case 'puffer_60':{form.pufferTime=60;break}} 2311let dateobj={firstDay:1,dateFormat:'mm/dd/yy',dayNames:[af2_frontend_ajax.strings.date.sonntag,af2_frontend_ajax.strings.date.montag,af2_frontend_ajax.strings.date.dienstag,af2_frontend_ajax.strings.date.mittwoch,af2_frontend_ajax.strings.date.donnerstag,af2_frontend_ajax.strings.date.freitag,af2_frontend_ajax.strings.date.samstag,],dayNamesShort:[af2_frontend_ajax.strings.date.so,af2_frontend_ajax.strings.date.mo,af2_frontend_ajax.strings.date.di,af2_frontend_ajax.strings.date.mi,af2_frontend_ajax.strings.date.do,af2_frontend_ajax.strings.date.fr,af2_frontend_ajax.strings.date.sa,],dayNamesMin:[af2_frontend_ajax.strings.date.so,af2_frontend_ajax.strings.date.mo,af2_frontend_ajax.strings.date.di,af2_frontend_ajax.strings.date.mi,af2_frontend_ajax.strings.date.do,af2_frontend_ajax.strings.date.fr,af2_frontend_ajax.strings.date.sa,],monthNames:[af2_frontend_ajax.strings.date.januar,af2_frontend_ajax.strings.date.februar,af2_frontend_ajax.strings.date.marz,af2_frontend_ajax.strings.date.april,af2_frontend_ajax.strings.date.mai,af2_frontend_ajax.strings.date.juni,af2_frontend_ajax.strings.date.juli,af2_frontend_ajax.strings.date.august,af2_frontend_ajax.strings.date.september,af2_frontend_ajax.strings.date.oktober,af2_frontend_ajax.strings.date.november,af2_frontend_ajax.strings.date.dezember,],monthNamesShort:[af2_frontend_ajax.strings.date.jan,af2_frontend_ajax.strings.date.feb,af2_frontend_ajax.strings.date.mar,af2_frontend_ajax.strings.date.apr,af2_frontend_ajax.strings.date.mai,af2_frontend_ajax.strings.date.jun,af2_frontend_ajax.strings.date.jul,af2_frontend_ajax.strings.date.aug,af2_frontend_ajax.strings.date.sep,af2_frontend_ajax.strings.date.okt,af2_frontend_ajax.strings.date.nov,af2_frontend_ajax.strings.date.dez,],onSelect:(date)=>{form.lastTerminbuchungsObject.date=date;form.lastTerminbuchungsObject.time=undefined;form.$(form.formSelector+' .af2_form_foward_button').addClass('af2_disabled');if(af2_isMobileView(form.$,this.formSelector)){let times=document.querySelector(".af2_terminbuchung_durations");times.scrollIntoView()} 2312af2_drawTerminbuchungTimes(json,form)},onChangeMonthYear:(year,month,inst)=>{form.actualTerminMonth=month-1;form.actualTerminYear=year;form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-datepicker-current-day").removeClass("ui-datepicker-current-day");form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-state-active").removeClass("ui-state-active");form.lastTerminbuchungsObject.time=undefined;form.$(form.formSelector+' .af2_form_foward_button').addClass('af2_disabled');form.lastTerminbuchungsObject.date=undefined;setTimeout(()=>{form.setHeight()},500);setTimeout(()=>{form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-datepicker-current-day").removeClass("ui-datepicker-current-day");form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-state-active").removeClass("ui-state-active")},100);setTimeout(()=>{form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-datepicker-current-day").removeClass("ui-datepicker-current-day");form.$(form.formSelector+' .af2_terminbuchung_datewrapper.af2_datepicker').find(".ui-state-active").removeClass("ui-state-active");form.setHeight();form.$(form.formSelector+' .af2_terminbuchung_times').css('max-height','0px');const wishHeight=form.$(form.formSelector+' .af2_datewrapper.af2_terminbuchungs_wrap').height();const sub1=form.$(form.formSelector+' .af2_terminbuchung_dur_wrap').height();const sub2=form.$(form.formSelector+' .af2_terminbuchung_dur_wrap').css('margin-bottom').replace('px','');const sub3=form.$(form.formSelector+' .af2_terminbuchung_heading').height();const sub4=form.$(form.formSelector+' .af2_terminbuchung_heading').css('margin-bottom').replace('px','');const newHeight=wishHeight-sub1-sub2-sub3-sub4;form.$(form.formSelector+' .af2_terminbuchung_times').css('max-height',newHeight+'px');form.$(form.formSelector+' .af2_terminbuchung_times').css('min-height',newHeight+'px')},500);af2_drawTerminbuchungTimes(json,form);adjustTheNewTerminbuchungDates(json_tcont,form)}} 2313if(json_tcont.datumsbereich=='daterange_unlimited'){let date=new Date(today);if(form.vorlaufzeit<10){date.setHours(date.getHours()+(form.vorlaufzeit*24))} 2314dateobj.minDate=date;date=new Date(today);dateobj.maxDate=`+6m`} 2315if(json_tcont.datumsbereich=='daterange_future'){let shortenerMaxDate='w';let shortenerMaxDateNumber=json_tcont.daterange_future_number.toString();if(json_tcont.daterange_future_unit=='day')shortenerMaxDate='d';if(json_tcont.daterange_future_unit=='week')shortenerMaxDate='w';if(json_tcont.daterange_future_unit=='month')shortenerMaxDate='m';if(json_tcont.daterange_future_unit=='year')shortenerMaxDate='y';let date=new Date(today);if(form.vorlaufzeit<10){date.setHours(date.getHours()+(form.vorlaufzeit*24))} 2316dateobj.minDate=date;dateobj.maxDate=`+${shortenerMaxDateNumber}${shortenerMaxDate}`} 2317if(json_tcont.datumsbereich=='daterange_daterange'){const daterangeToday=new Date(today);const daterangeStart=new Date(json_tcont.daterange_daterange_start);const daterangeEnd=new Date(json_tcont.daterange_daterange_end);let v1=parseInt(daterangeToday.getFullYear+''+daterangeToday.getMonth+''+daterangeToday.getDate());let v2=parseInt(daterangeStart.getFullYear+''+daterangeStart.getMonth+''+daterangeStart.getDate());if(v1>=v2){let date=daterangeToday;if(form.vorlaufzeit<10){date.setHours(date.getHours()+(form.vorlaufzeit*24))} 2318dateobj.minDate=date}else{let date=daterangeStart;if(form.vorlaufzeit<10){if(v2-v1<=form.vorlaufzeit){date=daterangeToday;date.setHours(date.getHours()+(form.vorlaufzeit*24))}} 2319dateobj.minDate=date} 2320dateobj.maxDate=daterangeEnd} 2321let period=json_tcont.anfangszeit;
2321let verf=json_tcont.verfuegbarkeit;let dateObject=af2_getTodayStandard();dateObject.setMinutes(0);dateObject.setHours(0);form.lastTerminbuchungsTimeslotsMonday=[[],[],[]];form.lastTerminbuchungsTimeslotsTuseday=[[],[],[]];form.lastTerminbuchungsTimeslotsWednesday=[[],[],[]];form.lastTerminbuchungsTimeslotsThursday=[[],[],[]];form.lastTerminbuchungsTimeslotsFriday=[[],[],[]];form.lastTerminbuchungsTimeslotsSaturday=[[],[],[]];form.lastTerminbuchungsTimeslotsSunday=[[],[],[]];form.lastTerminbuchungsTimeslotsMonday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsMonday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsMonday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsThursday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsThursday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsThursday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsFriday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsFriday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsFriday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[2].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSunday[0].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSunday[1].push({time:'00:00',allowed:!1});form.lastTerminbuchungsTimeslotsSunday[2].push({time:'00:00',allowed:!1});dateObject.setMinutes(0+period);let utcdate=null;if(period!='meeting_duration'){period=parseInt(period);while(utcdate==dateObject.getDate()||utcdate==null){let minutes=(dateObject.getMinutes()<10?'0':'')+dateObject.getMinutes();let hours=(dateObject.getHours()<10?'0':'')+dateObject.getHours();form.lastTerminbuchungsTimeslotsMonday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsMonday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsMonday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsTuseday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsWednesday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsThursday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsThursday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsThursday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsFriday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsFriday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsFriday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSaturday[2].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSunday[0].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSunday[1].push({time:hours+':'+minutes,allowed:!1});form.lastTerminbuchungsTimeslotsSunday[2].push({time:hours+':'+minutes,allowed:!1});if(utcdate==null)utcdate=dateObject.getDate();dateObject.setMinutes(parseInt(minutes)+period)} 2322json_tcont.dauer.forEach((a,y)=>{verf.forEach(el=>{if(el.days=='daily'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsMonday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsTuseday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsWednesday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsThursday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsFriday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSaturday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSunday',y,json_tcont.dauer,time1,time2)} 2323if(el.days=='workday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsMonday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsTuseday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsWednesday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsThursday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsFriday',y,json_tcont.dauer,time1,time2)} 2324if(el.days=='weekend'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSaturday',y,json_tcont.dauer,time1,time2);doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSunday',y,json_tcont.dauer,time1,time2)} 2325if(el.days=='monday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsMonday',y,json_tcont.dauer,time1,time2)} 2326if(el.days=='tuseday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsTuseday',y,json_tcont.dauer,time1,time2)} 2327if(el.days=='wednesday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsWednesday',y,json_tcont.dauer,time1,time2)} 2328if(el.days=='thursday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsThursday',y,json_tcont.dauer,time1,time2)} 2329if(el.days=='friday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsFriday',y,json_tcont.dauer,time1,time2)} 2330if(el.days=='saturday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSaturday',y,json_tcont.dauer,time1,time2)} 2331if(el.days=='sunday'){const time1=el.from.split('-')[0]+''+el.from.split('-')[1];const time2=el.to.split('-')[0]+''+el.to.split('-')[1];doBasicTimeSlotsAf2(form,'lastTerminbuchungsTimeslotsSunday',y,json_tcont.dauer,time1,time2)}})})}else{} 2332form.lastTerminbuchungsTimeslotsSpecials=new Map();form.lastTerminbuchungsTimeslotsSpecialsDisabled=new Map();const actualMonth=form.actualTerminMonth;const actualYear=form.actualTerminYear;let allFullDays=form.lastTerminbuchungsTimeslotsAllEvents.filter(ev=>{return ev.start.date!=null&&ev.end.date!=null&&new Date(ev.start.date).getMonth()==actualMonth&&new Date(ev.start.date).getFullYear()==actualYear});allFullDays.forEach((el,i)=>{let dates=af2getDatesInBetween(new Date(el.start.date),new Date(el.end.date));
2332dates.forEach((x,y)=>{const date=new Date(x);const val=date.getDate()+'-'+date.getMonth()+'-'+date.getFullYear();form.lastTerminbuchungsTimeslotsSpecialsDisabled.set(val,!0)})});let allNotfullDays=form.lastTerminbuchungsTimeslotsAllEvents.filter(ev=>{return ev.start.date==null&&ev.end.date==null&&new Date(ev.start.dateTime).getMonth()==actualMonth&&new Date(ev.start.dateTime).getFullYear()==actualYear});allNotfullDays.forEach((el,i)=>{const dayNum=new Date(el.start.dateTime).getDay();const startDay=new Date(el.start.dateTime).getDate();const startMonth=new Date(el.start.dateTime).getMonth();const startYear=new Date(el.start.dateTime).getFullYear();const endDay=new Date(el.end.dateTime).getDate();const endMonth=new Date(el.end.dateTime).getMonth();const endYear=new Date(el.end.dateTime).getFullYear();const pufferObject=getStartEndTimesWithPuffer(el.start.dateTime,el.end.dateTime,form);const startHours=pufferObject[0];const startMinutes=pufferObject[1];const endHours=pufferObject[2];const endMinutes=pufferObject[3];const startTime=startHours+''+startMinutes;const endTime=endHours+''+endMinutes;if(startDay==endDay&&startMonth==endMonth&&startYear==endYear){let x=undefined;if(dayNum==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNum==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNum==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNum==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNum==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNum==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNum==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2333if(form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear)==undefined){form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,x)} 2334let editArray=form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear);json_tcont.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.start.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if((t2>startTime||startDay!=newDateOb.getDate())&&t1<endTime){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,editArray)}else{let dates=af2getDatesInBetween(new Date(el.start.date),new Date(el.end.date));dates.forEach((x,y)=>{if(i>0){const date=new Date(x);const val=date.getDate()+'-'+date.getMonth()+'-'+date.getFullYear();form.lastTerminbuchungsTimeslotsSpecialsDisabled.set(val,!0)}});const pufferObject=getStartEndTimesWithPuffer(el.start.dateTime,el.end.dateTime,form);const dayNumStart=new Date(el.start.dateTime).getDay();const dayNumEnd=new Date(el.end.dateTime).getDay();const startDay=new Date(el.start.dateTime).getDate();const startMonth=new Date(el.start.dateTime).getMonth();const startYear=new Date(el.start.dateTime).getFullYear();const endDay=new Date(el.end.dateTime).getDate();const endMonth=new Date(el.end.dateTime).getMonth();const endYear=new Date(el.end.dateTime).getFullYear();const startHours=pufferObject[0];const startMinutes=pufferObject[1];const endHours=pufferObject[2];const endMinutes=pufferObject[3];const startTime=startHours+''+startMinutes;const endTime=endHours+''+endMinutes;let x=undefined;if(dayNumStart==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNumStart==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNumStart==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNumStart==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNumStart==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNumStart==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNumStart==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2335if(form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear)==un
2335defined){form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,x)} 2336let editArray=form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear);json_tcont.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.start.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if(t2>startTime||startDay!=newDateOb.getDate()){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,editArray);x=undefined;if(dayNumEnd==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNumEnd==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNumEnd==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNumEnd==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNumEnd==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNumEnd==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNumEnd==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2337if(form.lastTerminbuchungsTimeslotsSpecials.get(endDay+'-'+endMonth+'-'+endYear)==undefined){form.lastTerminbuchungsTimeslotsSpecials.set(endDay+'-'+endMonth+'-'+endYear,x)} 2338editArray=form.lastTerminbuchungsTimeslotsSpecials.get(endDay+'-'+endMonth+'-'+endYear);json_tcont.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.end.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if(t1<endTime){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(endDay+'-'+endMonth+'-'+endYear,editArray)}});let todayy=af2_getTodayStandard();const dayNumStart=todayy.getDay();const todayDay=todayy.getDate();const todayMonth=todayy.getMonth();const todayYear=todayy.getFullYear();const todayHours=todayy.getHours();const todayMinutes=todayy.getMinutes();let x=undefined;if(dayNumStart==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNumStart==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNumStart==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNumStart==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNumStart==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNumStart==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNumStart==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2339if(form.lastTerminbuchungsTimeslotsSpecials.get(todayDay+'-'+todayMonth+'-'+todayYear)==undefined){form.lastTerminbuchungsTimeslotsSpecials.set(todayDay+'-'+todayMonth+'-'+todayYear,x)} 2340let editArray=form.lastTerminbuchungsTimeslotsSpecials.get(todayDay+'-'+todayMonth+'-'+todayYear);json_tcont.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=af2_getTodayStandard();newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);let minutes=newDateOb.getMinutes();let hours=newDateOb.getHours();if(hours>todayHours||(hours==todayHours&&minutes>todayMinutes)){newDateOb.setMinutes(minutes-form.vorlaufzeit);minutes=newDateOb.getMinutes();hours=newDateOb.getHours();if(hours>
2340todayHours||(hours==todayHours&&minutes>todayMinutes)){}else{editArray[abi][aby].allowed=!1}}else{editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(todayDay+'-'+todayMonth+'-'+todayYear,editArray);dateobj.beforeShowDay=function(dayy){const pos=form.lastTerminbuchungsObject.duration_itemc;var day=dayy.getDay();const dayNum=dayy.getDate();const month=dayy.getMonth();const year=dayy.getFullYear();const name=dayNum+'-'+month+'-'+year;if(1==2){}else if(day==1){if(form.lastTerminbuchungsTimeslotsMonday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==2){if(form.lastTerminbuchungsTimeslotsTuseday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==3){if(form.lastTerminbuchungsTimeslotsWednesday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==4){if(form.lastTerminbuchungsTimeslotsThursday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==5){if(form.lastTerminbuchungsTimeslotsFriday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==6){if(form.lastTerminbuchungsTimeslotsSaturday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']}else if(day==0){if(form.lastTerminbuchungsTimeslotsSunday[pos].filter(slot=>slot.allowed==!0).length<=0)return[!1,'']} 2341if(form.lastTerminbuchungsTimeslotsSpecialsDisabled.get(name)==!0)return[!1,''];return[!0,'']};return dateobj};const getStartEndTimesWithPuffer=(startDateTime,endDateTime,form)=>{const startTime=af2_convertTZ(new Date(startDateTime),'Europe/Amsterdam');const endTime=af2_convertTZ(new Date(endDateTime),'Europe/Amsterdam');let startHours=startTime.getHours();let startMinutes=startTime.getMinutes();let endHours=endTime.getHours();let endMinutes=endTime.getMinutes();let startWithPuffer=af2_convertTZ(new Date(startDateTime),'Europe/Amsterdam');let endWithPuffer=af2_convertTZ(new Date(endDateTime),'Europe/Amsterdam');startWithPuffer.setMinutes(startMinutes-(2*form.pufferTime));endWithPuffer.setMinutes(endMinutes+(2*form.pufferTime));startHours=startWithPuffer.getHours();startMinutes=startWithPuffer.getMinutes();endHours=endWithPuffer.getHours();endMinutes=endWithPuffer.getMinutes();const rStartHours=(startHours<10?'0':'')+startHours;const rStartMinutes=(startMinutes<10?'0':'')+startMinutes;const rEndHours=(endHours<10?'0':'')+endHours;const rEndMinutes=(endMinutes<10?'0':'')+endMinutes;return[rStartHours,rStartMinutes,rEndHours,rEndMinutes]} 2342const adjustTheNewTerminbuchungDates=(json,form)=>{const actualMonth=form.actualTerminMonth;const actualYear=form.actualTerminYear;let allFullDays=form.lastTerminbuchungsTimeslotsAllEvents.filter(ev=>{return ev.start.date!=null&&ev.end.date!=null&&new Date(ev.start.date).getMonth()==actualMonth&&new Date(ev.start.date).getFullYear()==actualYear});allFullDays.forEach((el,i)=>{let dates=af2getDatesInBetween(new Date(el.start.date),new Date(el.end.date));dates.forEach((x,y)=>{const date=new Date(x);const val=date.getDate()+'-'+date.getMonth()+'-'+date.getFullYear();form.lastTerminbuchungsTimeslotsSpecialsDisabled.set(val,!0)})});let allNotfullDays=form.lastTerminbuchungsTimeslotsAllEvents.filter(ev=>{return ev.start.date==null&&ev.end.date==null&&new Date(ev.start.dateTime).getMonth()==actualMonth&&new Date(ev.start.dateTime).getFullYear()==actualYear});allNotfullDays.forEach((el,i)=>{const dayNum=new Date(el.start.dateTime).getDay();const startDay=new Date(el.start.dateTime).getDate();const startMonth=new Date(el.start.dateTime).getMonth();const startYear=new Date(el.start.dateTime).getFullYear();const endDay=new Date(el.end.dateTime).getDate();const endMonth=new Date(el.end.dateTime).getMonth();const endYear=new Date(el.end.dateTime).getFullYear();const pufferObject=getStartEndTimesWithPuffer(el.start.dateTime,el.end.dateTime,form);const startHours=pufferObject[0];const startMinutes=pufferObject[1];const endHours=pufferObject[2];const endMinutes=pufferObject[3];const startTime=startHours+''+startMinutes;const endTime=endHours+''+endMinutes;if(startDay==endDay&&startMonth==endMonth&&startYear==endYear){let x=undefined;if(dayNum==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNum==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNum==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNum==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNum==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNum==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNum==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2343if(form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear)==un
2343defined){form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,x)} 2344let editArray=form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear);json.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.start.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if((t2>startTime||startDay!=newDateOb.getDate())&&t1<endTime){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,editArray)}else{let dates=af2getDatesInBetween(new Date(el.start.date),new Date(el.end.date));dates.forEach((x,y)=>{if(i>0){const date=new Date(x);const val=date.getDate()+'-'+date.getMonth()+'-'+date.getFullYear();form.lastTerminbuchungsTimeslotsSpecialsDisabled.set(val,!0)}});const dayNumStart=new Date(el.start.dateTime).getDay();const dayNumEnd=new Date(el.end.dateTime).getDay();const startDay=new Date(el.start.dateTime).getDate();const startMonth=new Date(el.start.dateTime).getMonth();const startYear=new Date(el.start.dateTime).getFullYear();const endDay=new Date(el.end.dateTime).getDate();const endMonth=new Date(el.end.dateTime).getMonth();const endYear=new Date(el.end.dateTime).getFullYear();const pufferObject=getStartEndTimesWithPuffer(el.start.dateTime,el.end.dateTime,form);const startHours=pufferObject[0];const startMinutes=pufferObject[1];const endHours=pufferObject[2];const endMinutes=pufferObject[3];const startTime=startHours+''+startMinutes;const endTime=endHours+''+endMinutes;let x=undefined;if(dayNumStart==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNumStart==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNumStart==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNumStart==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNumStart==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNumStart==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNumStart==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2345if(form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear)==undefined){form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,x)} 2346let editArray=form.lastTerminbuchungsTimeslotsSpecials.get(startDay+'-'+startMonth+'-'+startYear);json.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.start.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if(t2>startTime||startDay!=newDateOb.getDate()){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(startDay+'-'+startMonth+'-'+startYear,editArray);x=undefined;if(dayNumEnd==1){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsMonday)}else if(dayNumEnd==2){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsTuseday)}else if(dayNumEnd==3){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsWednesday)}else if(dayNumEnd==4){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsThursday)}else if(dayNumEnd==5){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsFriday)}else if(dayNumEnd==6){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSaturday)}else if(dayNumEnd==0){x=af2_deepCopyArray(form.lastTerminbuchungsTimeslotsSunday)} 2347if(form.lastTerminbuchungsTimeslotsSpecials.get(endDay+'-'+endMonth+'-'+endYear)==un
2347defined){form.lastTerminbuchungsTimeslotsSpecials.set(endDay+'-'+endMonth+'-'+endYear,x)} 2348editArray=form.lastTerminbuchungsTimeslotsSpecials.get(endDay+'-'+endMonth+'-'+endYear);json.dauer.forEach((elem,abi)=>{editArray[abi].forEach((eleme,aby)=>{const t1=eleme.time.split(':')[0]+''+eleme.time.split(':')[1];let newDateOb=new Date(el.end.dateTime);newDateOb.setHours(eleme.time.split(':')[0]);newDateOb.setMinutes(eleme.time.split(':')[1]);newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(elem.min));newDateOb.setHours(newDateOb.getHours()+parseInt(elem.std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes();let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if(t1<endTime){editArray[abi][aby].allowed=!1}})});form.lastTerminbuchungsTimeslotsSpecials.set(endDay+'-'+endMonth+'-'+endYear,editArray)}})} 2349function af2addDays(datex,days){var date=new Date(datex.valueOf());date.setDate(date.getDate()+days);return date} 2350function af2getDatesInBetween(startDate,stopDate){var dateArray=new Array();var currentDate=startDate;while(currentDate<stopDate){dateArray.push(new Date(currentDate));currentDate=af2addDays(currentDate,1)} 2351return dateArray} 2352const doBasicTimeSlotsAf2=(form,val,duration,dauer,time1,time2)=>{form[val][duration].forEach((ele,i)=>{const t1=ele.time.split(':')[0]+''+ele.time.split(':')[1];let newDateOb=af2_getTodayStandard();newDateOb.setHours(ele.time.split(':')[0]);newDateOb.setMinutes(ele.time.split(':')[1]);let day=newDateOb.getDay();newDateOb.setMinutes(newDateOb.getMinutes()+parseInt(dauer[duration].min));newDateOb.setHours(newDateOb.getHours()+parseInt(dauer[duration].std));let minutes=(newDateOb.getMinutes()<10?'0':'')+newDateOb.getMinutes() 2353let hours=(newDateOb.getHours()<10?'0':'')+newDateOb.getHours();const t2=hours+''+minutes;if(t1>=time1&&t1<time2&&t2>time1&&t2<=time2&&day==newDateOb.getDay())form[val][duration][i].allowed=!0})} 2354const adjustTargetBlanks=($,formSelector)=>{$(formSelector+' .af2_question a').each((i,el)=>{$(el).attr('target','_blank')})};const af2DrawFrage=($,json,formSelector,form)=>{console.log("af2DrawFrage",json);let content='';let bonusClass='';if(form.firstQuestion===!0)bonusClass='af2_start';let tracking=json.tracking;if(tracking!=undefined&&tracking!='') 2355content+='<div style="display: none;">'+tracking+'</div>';if(json.typ==='af2_select'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<div class="af2_answer_container af2_mobile_'+json.type_specifics.mobile_layout+' af2_desktop_'+json.type_specifics.desktop_layout+'">';content+=af2ProcessAnswersWithHide($,bonusClass,json.type_specifics.answers,json.type_specifics.desktop_layout,json.type_specifics.mobile_layout,json.type_specifics.hide_icons);content+='<div>'}else if(json.typ==='af2_multiselect'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<div class="af2_answer_container af2_mobile_'+json.type_specifics.mobile_layout+' af2_desktop_'+json.type_specifics.desktop_layout+'">';content+=af2ProcessAnswersWithHide($,bonusClass,json.type_specifics.answers,json.type_specifics.desktop_layout,json.type_specifics.mobile_layout,json.type_specifics.hide_icons);content+='<div>'}else if(json.typ==='af2_textfeld'){let minlength=json.type_specifics.min_length!=null?'data-minlength="'+json.type_specifics.min_length+'"':'';let maxlength=json.type_specifics.max_length!=null?'data-maxlength="'+json.type_specifics.max_length+'"':'';let text_only_text=json.type_specifics.text_only_text!=null?'data-text_only_text="'+json.type_specifics.text_only_text+'"':'';let text_only_numbers=json.type_specifics.text_only_numbers!=null?'data-text_only_numbers="'+json.type_specifics.text_only_numbers+'"':'';let text_birthday=json.type_specifics.text_birthday!=null?'data-text_birthday="'+json.type_specifics.text_birthday+'"':'';content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">
2355'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<input type="text" '+minlength+' '+maxlength+' '+text_only_text+' '+text_only_numbers+' '+text_birthday+' class="af2_textfeld_frage '+bonusClass+' desktop" data-mandatory="'+json.type_specifics.mandatory+'" placeholder="'+json.type_specifics.placeholder+'">';content+='<input type="text" '+minlength+' '+maxlength+' '+text_only_text+' '+text_only_numbers+' '+text_birthday+' class="af2_textfeld_frage '+bonusClass+' af2_mobile" data-mandatory="'+json.type_specifics.mandatory+'" placeholder="'+json.type_specifics.placeholder+'">'}else if(json.typ==='af2_textbereich'){let minlength=json.type_specifics.min_length!=null?'data-minlength="'+json.type_specifics.min_length+'"':'';let maxlength=json.type_specifics.max_length!=null?'data-maxlength="'+json.type_specifics.max_length+'"':'';let text_only_text=json.type_specifics.text_only_text!=null?'data-text_only_text="'+json.type_specifics.text_only_text+'"':'';let text_only_numbers=json.type_specifics.text_only_numbers!=null?'data-text_only_numbers="'+json.type_specifics.text_only_numbers+'"':'';let text_birthday=json.type_specifics.text_birthday!=null?'data-text_birthday="'+json.type_specifics.text_birthday+'"':'';content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<textarea '+minlength+' '+maxlength+' '+text_only_text+' '+text_only_numbers+' '+text_birthday+' class="af2_textbereich_frage '+bonusClass+' desktop" data-mandatory="'+json.type_specifics.mandatory+'" placeholder="'+json.type_specifics.placeholder+'"></textarea>';content+='<textarea '+minlength+' '+maxlength+' '+text_only_text+' '+text_only_numbers+' '+text_birthday+' class="af2_textbereich_frage '+bonusClass+' af2_mobile" data-mandatory="'+json.type_specifics.mandatory+'" placeholder="'+json.type_specifics.placeholder+'"></textarea>'}else if(json.typ==='af2_datum'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<input type="text" class="af2_datum_frage desktop" placeholder="'+json.type_specifics.placeholder+'">';content+='<input type="text" class="af2_datum_frage af2_mobile" placeholder="'+json.type_specifics.placeholder+'">';content+='<div class="af2-datepicker af2_datepicker desktop" data-fragen="date" data-format="'+json.type_specifics.format+'"></div>';content+='<div class="af2-datepicker af2_datepicker af2_mobile" data-fragen="date" data-format="'+json.type_specifics.format+'"></div>'}else if(json.typ==='af2_content'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';let new_html_content=json.type_specifics.content;if(new_html_content.includes(af2_frontend_ajax.strings.antworten_tag)){let antwortenContentDesktop='';let antwortenContentMobile='';antwortenContentDesktop+='<div class="af2_html_content_summary desktop">';antwortenContentMobile+='<div class="af2_html_content_summary af2_mobile">';form.answerObject.forEach((el,i)=>{antwortenContentDesktop+='<div class="af2_html_content_summary_object desktop">';let bottomborderclass='af2_bottom_border';if(i>=form.answerObject.length-1)bottomborderclass='';antwortenContentMobile+='<div class="af2_html_content_summary_object af2_mobile '+bottomborderclass+'">';antwortenContentDesktop+='<div class="af2_html_content_summary_object_title desktop">';antwortenContentMobile+='<div class="af2_html_content_summary_object_title af2_mobile">';antwortenContentDesktop+='<p class="af2_html_content_summary_object_title_ desktop">'+el.title+'</p>';antwortenContentMobile+='<p class="af2_html_content_summary_object_title_ af2_mobile">'+el.title+'</p>';antwortenContentDesktop+='</div>';antwortenContentMobile+='</div>';antwortenContentDesktop+='<div class="af2_html_content_summary_object_answer desktop">';antwortenContentMobile+='<div class="af2_html_content_summary_object_answer af2_mobile">';antwortenContentDesktop+='<p class="af2_html_content_summary_object_answer_ desktop">'+el.answer+'</p>';antwortenContentMobile+='<p class="af2_html_content_summary_object_answer_ af2_mobile">'+el.answer+'</p>';antwortenContentDesktop+='</div>';antwortenContentMobile+='</div>';antwortenContentDesktop+='</div>';antwortenContentMobile+='</div>'});antwortenContentDesktop+='</div>';antwortenContentMobile+='</div>';
2355new_html_content=new_html_content.replace(af2_frontend_ajax.strings.antworten_tag,antwortenContentDesktop+antwortenContentMobile)} 2356content+='<div class="af2_content_frage desktop">'+new_html_content+'</div>';content+='<div class="af2_content_frage af2_mobile">'+new_html_content+'</div>';if(json.type_specifics.content_button==!0){content+='<div class="af2_submit_wrapper"><input class="af2_submit_button no_send" value="'+json.type_specifics.content_button_text+'" type="submit"></div>'}}else if(json.typ==='af2_slider'){$(formSelector+' .af2_form_bottombar').css('opacity',1);let min=json.type_specifics.min;let max=json.type_specifics.max;let label=json.type_specifics.label;let labelBefore=json.type_specifics.labelBefore;putInThousands(json,min,$).done((ret)=>{min=ret;putInThousands(json,max,$).done((ret)=>{max=ret;if(label!==undefined&&label!==null&&label.trim()!==''){if(labelBefore==!1||labelBefore===undefined){min+=' '+label;max+=' '+label}else if(labelBefore==!0){min=label+' '+min;max=label+' '+max}} 2357let val='';if(json.type_specifics.start!==undefined){val='value="'+parseInt(json.type_specifics.start)+'"'} 2358let slider_frage_val_class='af2_slider_frage_val';let alternate_text_wrap_span_class='alternate_text_wrap_span';let rtl_type_class=form.rtl_layout==!0?'af2_rtl_layout':'';if(labelBefore==!1||labelBefore===undefined){slider_frage_val_class+=' af2_slider_frage_val_after '+rtl_type_class;alternate_text_wrap_span_class+=' alternate_text_wrap_span_after '+rtl_type_class}else if(labelBefore==!0){slider_frage_val_class+=' af2_slider_frage_val_before '+rtl_type_class;alternate_text_wrap_span_class+=' alternate_text_wrap_span_before '+rtl_type_class} 2359let slider_input_wrap_i='<input type="number" class="'+slider_frage_val_class+' desktop" min="'+json.type_specifics.min+'" max="'+json.type_specifics.max+'">';slider_input_wrap_i+='<input type="number" class="'+slider_frage_val_class+' af2_mobile" min="'+json.type_specifics.min+'" max="'+json.type_specifics.max+'">';let slider_input_wrap_text_span='<span class="'+alternate_text_wrap_span_class+' desktop">'+json.type_specifics.label+'</span>';slider_input_wrap_text_span+='<span class="'+alternate_text_wrap_span_class+' af2_mobile">'+json.type_specifics.label+'</span>';if(labelBefore==!1||labelBefore===undefined){slider_input_wrap_i+=slider_input_wrap_text_span}else if(labelBefore==!0){slider_input_wrap_i=slider_input_wrap_text_span+slider_input_wrap_i} 2360let drawImage=json.type_specifics.image;let drawwidth='15%';if(json.type_specifics.image==""||json.type_specifics.image==undefined){drawImage='none';drawwidth='0%'} 2361content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<div class="af2_slider_frage_wrapper">';if(json.type_specifics.image!=""&&json.type_specifics.image!=undefined)content+='<div class="af2_slider_image_icon_wrapper af2_mobile" style="margin: 0 auto; width: 90px; height: 90px;"><img style="max-width: 100%; max-height: 100%;" src="'+drawImage+'"></div>';if(json.type_specifics.icon!=""&&json.type_specifics.icon!=undefined)content+='<div class="af2_slider_image_icon_wrapper af2_mobile" style="margin-bottom:20px;"><i style="font-size: 80px" class="'+json.type_specifics.icon+'"></i></div>';content+='<div style="width: 100%;">';content+='<div class="af2_slider_frage_bullet desktop"></div>';content+='<div class="af2_slider_frage_bullet af2_mobile"></div>';content+='<input class="af2_slider_frage" '+val+' type="range" min="'+json.type_specifics.min+'" max="'+json.type_specifics.max+'" step="'+json.type_specifics.step+'">';content+='<div class="af2_slider_frage_minmax"><p>'+min+'</p><p>'+max+'</p></div>';if(json.type_specifics.manual==!0){content+='<div class="af2_slider_alternate_text_wrap">';content+='<label class="range_text_box_label af2_mobile">'+json.type_specifics.text_manual+'</label>';content+='<label class="range_text_box_label desktop">'+json.type_specifics.text_manual+'</label>';content+='<div class="af2_slider_input_wrap '+rtl_type_class+'">';content+=slider_input_wrap_i;
2361content+='</div>';content+='</div>'} 2362content+='</div>';if(json.type_specifics.image!=""&&json.type_specifics.image!=undefined)content+='<div class="af2_slider_image_icon_wrapper desktop" style="margin: 0 auto 15px 30px; width: 120px; height: 120px; position: relative; padding: 15px;"><img style="max-width: 100%; max-height: 100%; min-width: 120px; width: 120px; min-height: 120px; height: 120px; object-fit: contain;" src="'+drawImage+'">';if(json.type_specifics.icon!=""&&json.type_specifics.icon!=undefined)content+='<div style="width: 15%; margin-left: 30px; padding: 15px;"class="af2_slider_image_icon_wrapper desktop"><i style="font-size: 90px" class="'+json.type_specifics.icon+'"></i>';content+='</div>';content+='</div>';content+='</div>'})})}else if(json.typ==='af2_dateiupload'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<div class="af2_dateiupload desktop"><div class="af2_dateiupload_inner" data-fragen="fileupload" data-mandatory="'+json.type_specifics.mandatory+'" data-max_count="'+json.type_specifics.max_count+'" data-max_size="'+json.type_specifics.max_size+'"><i class="fa fa-cloud-upload-alt"></i><div class="af2_dateiupload_desc">'+json.type_specifics.description+'</div></div></div>';content+='<div class="af2_dateiupload af2_mobile"><div class="af2_dateiupload_inner" data-fragen="fileupload" data-mandatory="'+json.type_specifics.mandatory+'" data-max_count="'+json.type_specifics.max_count+'" data-max_size="'+json.type_specifics.max_size+'"><i class="fa fa-cloud-upload-alt"></i><div class="af2_dateiupload_desc">'+json.type_specifics.description+'</div></div></div>'}else if(json.typ==='af2_dropdown'){content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<select class="af2_dropdown_fragen custom-select custom-select-sm">';$.each(json.type_specifics.dropdown_options,function(i,t){if($.trim(t.value)==''){content+='<option value="'+t.label+'">'+t.label+'</option>'}else{content+='<option value="'+t.value+'">'+t.label+'</option>'}}) 2363content+='</select>'}else if(json.typ==='af2_adressfeld'){let mandatory=!0;if(json.type_specifics.mapmandatory!=undefined&&json.type_specifics.mapmandatory==!1)mandatory=!1;content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';content+='<div class="af2_adress_mapp_wrapper af2_mw_'+form.mapCount+'" data-mandatory="'+mandatory+'">';content+='<div class="af2_adress_map_input_wrapper">';content+='<div class="af2_adress_map_input_wrapper_wrap bl">';if(json.type_specifics.combined_adress){content+='<div class="af2_adress_input_wrap size10 desktop"><label class="af2_ad_trans_tabel desktop">'+af2_frontend_ajax.strings.address+'</label><input class="af2_ad_trans desktop combined_adress" style="width: 100%;" placeholder="" id="af2_adress_street" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size10 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile">'+af2_frontend_ajax.strings.address+'</label><input class="af2_ad_trans af2_mobile combined_adress" style="width: 100%;" placeholder="" id="af2_adress_street_" type="text" autocomplete="off"/></div>'}else{content+='<div class="af2_adress_input_wrap size8 desktop"><label class="af2_ad_trans_tabel desktop">
2363'+af2_frontend_ajax.strings.street+'</label><input class="af2_ad_trans desktop" style="width: 100%;" placeholder="" id="af2_adress_street" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size8 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile">'+af2_frontend_ajax.strings.street+'</label><input class="af2_ad_trans af2_mobile" style="width: 100%;" placeholder="" id="af2_adress_street_" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size2 desktop"><label class="af2_ad_trans_tabel desktop">'+af2_frontend_ajax.strings.no+'</label><input class="af2_ad_trans desktop" style="width: 100%;" id="af2_adress_streetnum" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size2 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile"">'+af2_frontend_ajax.strings.no+'</label><input class="af2_ad_trans af2_mobile" style="width: 100%;" id="af2_adress_streetnum_" type="text" autocomplete="off"/></div>'} 2364content+='</div>' 2365if(!json.type_specifics.combined_adress){content+='<div class="af2_adress_map_input_wrapper_wrap">';content+='<div class="af2_adress_input_wrap size4 desktop"><label class="af2_ad_trans_tabel desktop">'+af2_frontend_ajax.strings.postcode+'</label><input class="af2_ad_trans desktop" style="width: 100%;" id="af2_adress_plz" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size4 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile">'+af2_frontend_ajax.strings.postcode+'</label><input class="af2_ad_trans af2_mobile" style="width: 100%;" id="af2_adress_plz_" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size6 desktop"><label class="af2_ad_trans_tabel desktop">'+af2_frontend_ajax.strings.city+'</label><input class="af2_ad_trans desktop" style="width: 100%;" id="af2_adress_city" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size6 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile"">'+af2_frontend_ajax.strings.city+'</label><input class="af2_ad_trans af2_mobile" style="width: 100%;" id="af2_adress_city_" type="text" autocomplete="off"/></div>';content+='</div>' 2366if(json.type_specifics.show_country_field){content+='<div class="af2_adress_map_input_wrapper_wrap">';content+='<div class="af2_adress_input_wrap size10 desktop"><label class="af2_ad_trans_tabel desktop">'+af2_frontend_ajax.strings.country+'</label><input class="af2_ad_trans desktop" style="width: 100%;" id="af2_adress_country" type="text" autocomplete="off"/></div>';content+='<div class="af2_adress_input_wrap size10 af2_mobile"><label class="af2_ad_trans_tabel af2_mobile">'+af2_frontend_ajax.strings.country+'</label><input class="af2_ad_trans af2_mobile" style="width: 100%;" id="af2_adress_country_" type="text" autocomplete="off"/></div>';content+='</div>'}} 2367content+='</div>';if(json.type_specifics.enable_google){content+='<div id="af2_adress_field" class="af2_address_field_"></div>'} 2368content+='</div>';form.increaseMapCount()}else if(json.typ==='af2_terminbuchung'){if(json.type_specifics.termineventcontent==null);content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';let c='';c+='<div class="af2_terminbuchungs_wrapper">';c+='<div class="af2_datewrapper af2_terminbuchungs_wrap">';c+='<div class="af2_terminbuchung_datewrapper af2_datepicker af2_calender_wait--loading"></div>';c+='</div>';c+='<div class="af2_terminbuchungs_wrap">';c+='<div class="af2_terminbuchung_dur_wrap">';c+='<h4 class="af2_terminbuchung_heading desktop">'+af2_frontend_ajax.strings.choosedurdot+'</h4>';c+='<h4 class="af2_terminbuchung_heading af2_mobile">'+af2_frontend_ajax.strings.choosedurdot+'</h4>';c+='<div class="af2_terminbuchung_durations">';c+=getTerminbuchungDurations($,json.type_specifics.termineventcontent,form);c+='</div>';c+='</div>';c+='<div class="af2_terminbuchungs_ti_wrap">';c+='<h4 class="af2_terminbuchung_heading desktop">
2368'+af2_frontend_ajax.strings.choosetimedot+'</h4>';c+='<h4 class="af2_terminbuchung_heading af2_mobile">'+af2_frontend_ajax.strings.choosetimedot+'</h4>';c+='<div class="af2_terminbuchung_times">';c+='</div>';c+='</div>';c+='</div>';c+='</div>';content+=c} 2369form.firstQuestion=!1;return content};const getTerminbuchungDurations=($,json,form)=>{let cont='';let size=json.dauer.length;let one=!1;json.dauer.forEach((el,i)=>{let hourString='Std.';let hourValue='';let hourGap=' ';let minuteString='Min.';let minuteValue='';let minuteGap=' ';const std=parseInt(el.std);const min=parseInt(el.min);if(std==0){hourValue='';hourString='';hourGap=''}else hourValue=std.toString();if(min==0){minuteValue='';minuteString='';minuteGap=''}else minuteValue=min.toString();const durationStr=`${hourValue}${hourGap}${hourString}${hourGap}${minuteValue}${minuteGap}${minuteString}`;const selectedClass=i==0?'af2_duration_selected':'';cont+='<div id="terminbuchung_duration_'+terminbuchungslistener+'" data-itemc="'+i+'" data-min="'+min+'" data-std="'+std+'" class="af2_terminbuchung_duration '+selectedClass+'">'+durationStr+'</div>';if(i==0){form.lastTerminbuchungsObject.duration=durationStr;form.lastTerminbuchungsObject.duration_std=std;form.lastTerminbuchungsObject.duration_min=min;form.lastTerminbuchungsObject.duration_itemc=i} 2370terminbuchungslistener++});return cont};const putInThousands=(json,cont,$)=>{let len=cont.length;let prom=$.Deferred();let ret='';let times=parseInt(len/3);let thousands=json.type_specifics.thousand;if(thousands==!0){if(len>3){let mod=len%3;if(len%3===0){times--} 2371if(mod===0){mod=3} 2372let schritt=0;for(schritt=1;schritt<=times;
2372schritt++){ret=af2_frontend_ajax.strings.dot+cont.substr(cont.length-schritt*3,3)+ret;if(schritt===times){ret=cont.substr(0,mod)+ret 2373return prom.resolve(ret)}}}else{return prom.resolve(cont)}}else{return prom.resolve(cont)} 2374return prom.promise()};const af2DrawKontaktformular=($,json,form)=>{const queryStr=window.location.search.substr(1);const queryArr=queryStr.split('&');let content='';let tracking=json.tracking_code;if(tracking!=undefined&&tracking!='') 2375content+='<div style="display: none;">'+tracking+'</div>';content+='<div class="af2_question_heading_wrapper desktop"><div class="af2_question_heading desktop">'+json.frontend_name+'</div><div class="af2_question_description desktop">'+json.frontend_description+'</div></div>';content+='<div class="af2_question_heading_wrapper af2_mobile"><div class="af2_question_heading af2_mobile">'+json.frontend_name+'</div><div class="af2_question_description af2_mobile">'+json.frontend_description+'</div></div>';$.each(json.questions,(i,el)=>{let required='';let label=el.label;let placeholder=el.placeholder;let el_id=el.id;let iconval=el.icon;let rtl_type_class=form.rtl_layout==!0?'af2_rtl_layout':'';let icon=iconval!=null&&iconval.trim()!=''?'<div class="af2_question_cf_text_type_icon '+rtl_type_class+'"><i class="'+iconval+'"></i></div>':'';let text_type_class=icon==''?'af2_text_type_':'af2_text_type '+rtl_type_class;if(el.required=='true'||el.required==!0){required=' *'} 2376if(label==undefined||label=='undefined'||label==null)label='';if(label==undefined||label.trim()=='')placeholder+=required;else label+=required;content+='<div id="'+i+'" class="af2_question">';let el_value='';queryArr.forEach(el=>{const queArr=el.split('=');if(queArr[0]==el_id){el_value=decodeURIComponent(queArr[1])}});try{el_value=el_value.replaceAll('+',' ')}catch(e){} 2377if(el.typ.includes('text_type_')){if(el.typ.includes('_name')){content+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_question_wrapper_'+i+'">';if(label.trim()!='') 2378content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';content+='<div class="af2_question_cf_text_type_wrapper">';content+=icon;content+='<input type="text" name="'+el_id+'" id="'+el.id+'" class="'+text_type_class+' " placeholder="'+placeholder+'" autofill="name" value="'+el_value+'">';content+='</div>';content+='</div>'}else if(el.typ.includes('_mail')){content+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_question_wrapper_'+i+'">';if(label.trim()!='') 2379content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';content+='<div class="af2_question_cf_text_type_wrapper">';content+=icon;content+='<input type="text" name="'+el_id+'" id="'+el.id+'" autofill="email" class="'+text_type_class+'" placeholder="'+placeholder+'" value="'+el_value+'">';content+='</div>';content+='</div>'}else if(el.typ.includes('_phone')){if(el.typ.includes('_verification')){required=' *';if(label==undefined||label=='undefined'||label==null)label='';if(label==undefined||label.trim()=='')placeholder+=required;else label+=required;if(placeholder=='undefined'){placeholder=""} 2380content+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_question_wrapper_'+i+'">';if(label.trim()!='') 2381content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';content+='<div class="af2_question_cf_text_type_wrapper">';content+=icon;content+='<input type="tel" name="'+el_id+'" id="'+el.id+'" autofill="tel" class="'+text_type_class+' phone_type" placeholder="'+placeholder+'" value="'+el_value+'">';content+='</div>';content+='</div>';form.hasVerification=!0;form.verifictationId=el_id;form.verifictationDataId=form.neededContent}else{if(placeholder=='undefined'){placeholder=""} 2382content+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_question_wrapper_'+i+'">';if(label.trim()!='') 2383content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';content+='<div class="af2_question_cf_text_type_wrapper">';content+=icon;content+='<input type="tel" name="'+el_id+'" id="'+el.id+'" autofill="tel" class="'+text_type_class+' phone_type" placeholder="'+placeholder+'" value="'+el_value+'">';
2383content+='</div>';content+='</div>'}}else{content+='<div class="af2_question_text_type_wrapper af2_question_wrapper af2_question_wrapper_'+i+'">';if(label.trim()!='') 2384content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';content+='<div class="af2_question_cf_text_type_wrapper">';content+=icon;content+='<input type="text" name="'+el_id+'" id="'+el.id+'" class="'+text_type_class+'" placeholder="'+placeholder+'" value="'+el_value+'">';content+='</div>';content+='</div>'}}else if(el.typ.includes('checkbox')){content+='<div class="af2_question_wrapper">';content+='<div class="af2_question_checkbox_type_wrapper">';content+='<input type="checkbox" data-uid="'+el_id+'" id="af2_checkbox_'+i+'" class="af2_checkbox_type"><div class="af2_question_text"><label for="af2_checkbox_'+i+'" class="af2_question_cb_label">'+el.text+required+'</label></div>';content+='</div>';content+='</div>'}else if(el.typ.includes('salutation')){content+='<div class="af2_question_text_type_wrapper af2_question_wrapper">';if(label.trim()!='') 2385content+='<div class="af2_question_text '+rtl_type_class+'"><p class="af2_question_label desktop">'+label+'</p><p class="af2_question_label af2_mobile">'+label+'</p></div>';if(form.rtl_layout==!0)content+='<div style="display: flex; align-items: center;">';else content+='<div style="display: flex; justify-content: left; align-items: center;">';let allowSalutationCompany=!0;let allowSalutationMale=!0;let allowSalutationFemale=!0;let allowSalutationDivers=!0;if(el.allowSalutationCompany=='true')el.allowSalutationCompany=!0;else if(el.allowSalutationCompany=='false')el.allowSalutationCompany=!1;if(el.allowSalutationMale=='true')el.allowSalutationMale=!0;else if(el.allowSalutationMale=='false')el.allowSalutationMale=!1;if(el.allowSalutationFemale=='true')el.allowSalutationFemale=!0;else if(el.allowSalutationFemale=='false')el.allowSalutationFemale=!1;if(el.allowSalutationDivers=='true')el.allowSalutationDivers=!0;else if(el.allowSalutationDivers=='false')el.allowSalutationDivers=!1;if(el.allowSalutationCompany!=undefined&&el.allowSalutationCompany!=null&&el.allowSalutationCompany==!1)allowSalutationCompany=!1;if(el.allowSalutationMale!=undefined&&el.allowSalutationMale!=null&&el.allowSalutationMale==!1)allowSalutationMale=!1;if(el.allowSalutationFemale!=undefined&&el.allowSalutationFemale!=null&&el.allowSalutationFemale==!1)allowSalutationFemale=!1;if(el.allowSalutationDivers!=undefined&&el.allowSalutationDivers!=null&&el.allowSalutationDivers==!1)allowSalutationDivers=!1;maleChecked=el_value.toLocaleLowerCase()=='herr'?'checked':'';femaleChecked=el_value.toLocaleLowerCase()=='frau'?'checked':'';diversChecked=el_value.toLocaleLowerCase()=='divers'?'checked':'';companyChecked=el_value.toLocaleLowerCase()=='firma'?'checked':'';if(form.rtl_layout==!0){if(allowSalutationMale)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="male_'+i+'" value="Herr" '+maleChecked+'/><label for="male_'+i+'" class="af2_radio_label" style="margin-left: 25px;">'+af2_frontend_ajax.strings.mr+'</label>';if(allowSalutationFemale)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="female_'+i+'" value="Frau" '+femaleChecked+'/><label for="female_'+i+'" class="af2_radio_label" style="margin-left: 25px;">'+af2_frontend_ajax.strings.mrs+'</label>';if(allowSalutationDivers)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="divers_'+i+'" value="Divers" '+diversChecked+'/><label for="divers_'+i+'" class="af2_radio_label" style="margin-left: 25px;">'+af2_frontend_ajax.strings.diverse+'</label>';if(allowSalutationCompany)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="company_'+i+'" value="Firma" '+companyChecked+'/><label class="af2_radio_label" for="company_'+i+'">'+af2_frontend_ajax.strings.company+'</label>'}else{if(allowSalutationMale)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="male_'+i+'" value="Herr" '+maleChecked+'/><label for="male_'+i+'" class="af2_radio_label" style="margin-right: 25px;">
2385'+af2_frontend_ajax.strings.mr+'</label>';if(allowSalutationFemale)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="female_'+i+'" value="Frau" '+femaleChecked+'/><label for="female_'+i+'" class="af2_radio_label" style="margin-right: 25px;">'+af2_frontend_ajax.strings.mrs+'</label>';if(allowSalutationDivers)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="divers_'+i+'" value="Divers" '+diversChecked+'/><label for="divers_'+i+'" class="af2_radio_label" style="margin-right: 25px;">'+af2_frontend_ajax.strings.diverse+'</label>';if(allowSalutationCompany)content+='<input style="margin-right: 5px;" type="radio" name="af_salutation_'+i+'" data-uid="'+el_id+'" id="company_'+i+'" value="Firma" '+companyChecked+'/><label class="af2_radio_label" for="company_'+i+'">'+af2_frontend_ajax.strings.company+'</label>'} 2386content+='</div>';content+='</div>'}else if(el.typ.includes('google_recaptcha')){if(el.site_key.length>0&&el.site_key!=''){content+='
vendor: 113 bytes, line 2386
2386<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
2386';content+='<div class="af2_question_wrapper">';if(af2_isMobileView($,this.formSelector)){content+='<div id="'+el.id+'" style="transform:scale(0.75);-webkit-transform:scale(0.785);transform-origin:0 0;-webkit-transform-origin:0 0;" class="g-recaptcha"></div>'}else{content+='<div id="'+el.id+'"></div>'} 2387content+='<script type="text/javascript">var onloadCallback=function() {let _e = document.querySelector(".af2_form_carousel").style.height;const _h = parseInt(_e) + 80; document.querySelector(".af2_form_carousel").style.height= _h + "px"; grecaptcha.render("'+el.id+'",{"sitekey" : "'+el.site_key+'","callback":callback});document.querySelector(".af2_submit_button").setAttribute("disabled", true);};var callback=function() {document.querySelector(".af2_submit_button").removeAttribute("disabled");}</script>';content+='</div>';setTimeout(()=>{if(af2_isMobileView($,this.formSelector)){var width=$('.g-recaptcha').parent().width();if(width<302){var scale=width/302;$('.g-recaptcha').css('transform','scale('+scale+')');$('.g-recaptcha').css('-webkit-transform','scale('+scale+')');$('.g-recaptcha').css('transform-origin','0 0');$('.g-recaptcha').css('-webkit-transform-origin','0 0')}}})}}else if(el.typ.includes('html_content')){content+='<div class="af2_form_html_content">'+el.html_content+'</div>'} 2388content+='</div>'});content+='<div class="af2_question_wrapper">';content+='<div class="af2_submit_wrapper">';content+='<button type="button" class="af2_submit_button">';if(form.rtl_layout==!0){content+='<span class="af2_submit_button__text">'+json.sendButtonLabel+'<i class="fa fa-paper-plane" style="margin-right: 10px;"></i></span>'}else{content+='<span class="af2_submit_button__text"><i class="fa fa-paper-plane" style="margin-right: 10px;"></i>'+json.sendButtonLabel+'</span>'} 2389content+='</button>' 2390content+='</div>';content+='</div>';return content};const af2_isMobile=()=>{const winWidth=jQuery(window).width();if(winWidth<700){return!0}else{return!1}} 2391const af2_isMobileView=($,formSelector)=>{if(!$(formSelector).hasClass('af2_form-type-2')){const winWidth=jQuery(window).width();if(winWidth<700){return!0}else{return!1}} 2392if($(formSelector).hasClass('af2_nm_mobile_view')){return!0} 2393if($(formSelector).hasClass('af2_nm_ipad_view')){return!1} 2394if($(formSelector).hasClass('af2_nm_desktop_view')){return!1}} 2395const af2ProcessAnswers=($,bonusClass,answers,desktop_layout,mobile_layout)=>{af2ProcessAnswersWithHide($,bonusClass,answers,desktop_layout,mobile_layout,!1)} 2396const af2ProcessAnswersWithHide=($,bonusClass,answers,desktop_layout,mobile_layout,hide)=>{let content='';$.each(answers,(i,el)=>{let answer_img='';let answer_mob_img='';if(el.icon_type==='url'){if(hide){if(desktop_layout=='list'||desktop_layout=='list2'){answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_text desktop text-center">'+el.text+'</div></div>'}else{answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_text desktop text-center">'+el.text+'</div></div>'} 2397if(mobile_layout=='grid'){answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_text af2_mobile text-center">'+el.text+'</div></div>'}else{answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_text af2_mobile text-center">'+el.text+'</div></div>'}}else{if(desktop_layout=='list'||desktop_layout=='list2'){answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_image_wrapper"><img class="af2_answer_image pic" src="'+el.icon+'" alt="answer_image"></div><div class="af2_answer_text desktop">'+el.text+'</div></div>'}else{answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_image_wrapper"><img class="af2_answer_image pic" src="'+el.icon+'" alt="answer_image"></div></div><div class="af2_answer_text desktop">'+el.text+'</div>'} 2398if(mobile_layout=='grid'){answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_image_wrapper af2_mobile"><img class="af2_answer_image pic" src="'+el.icon+'" alt="answer_image"></div></div><div class="af2_answer_text af2_mobile">'+el.text+'</div>'}else{answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_image_wrapper af2_mobile"><img class="af2_answer_image pic" src="'+el.icon+'" alt="answer_image"></div><div class="af2_answer_text af2_mobile">'+el.text+'</div></div>'}}}else if(el.icon_type==='font-awesome'){if(hide){if(desktop_layout=='list'||desktop_layout=='list2'){answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_text desktop text-center">
2398'+el.text+'</div></div>'}else{answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_text desktop text-center">'+el.text+'</div></div>'} 2399if(mobile_layout=='grid'){answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_text af2_mobile text-center">'+el.text+'</div></div>'}else{answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_text af2_mobile text-center">'+el.text+'</div></div>'}}else{if(desktop_layout=='list'||desktop_layout=='list2'){answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_image_wrapper"><i class="'+el.icon+' fa-3x"></i></div><div class="af2_answer_text desktop">'+el.text+'</div></div>'}else{answer_img='<div class="af2_answer_card desktop"><div class="af2_answer_image_wrapper"><i class="'+el.icon+' fa-5x"></i></div></div><div class="af2_answer_text desktop">'+el.text+'</div>'} 2400if(mobile_layout=='grid'){answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_image_wrapper af2_mobile"><i class="'+el.icon+' fa-4x"></i></div></div><div class="af2_answer_text af2_mobile">'+el.text+'</div>'}else{answer_mob_img='<div class="af2_answer_card af2_mobile"><div class="af2_answer_image_wrapper af2_mobile"><i class="'+el.icon+' fa-2x"></i></div><div class="af2_answer_text af2_mobile">'+el.text+'</div></div>'}}} 2401content+='<div id="'+i+'" class="af2_answer '+bonusClass+' desktop">';content+=answer_img;content+='</div>';content+='<div id="'+i+'" class="af2_answer '+bonusClass+' af2_mobile">';content+=answer_mob_img;content+='</div>'});return content};const af2HandleRequest=($,formSelector,selector,dataids,form)=>{const result=requestData($,dataids,form);result.done((json)=>{const keys=Object.keys(json);$.each(keys,(i,el)=>{let newJson=json[el];if(newJson.type_specifics!=null){const keysofjson=Object.keys(newJson.type_specifics);$.each(keysofjson,(j,ele)=>{if(newJson.type_specifics[ele]=='true')newJson.type_specifics[ele]=!0;if(newJson.type_specifics[ele]=='false')newJson.type_specifics[ele]=!1;if(ele=='center'&&newJson.type_specifics[ele].lat!=null&&newJson.type_specifics[ele].lng!=null){newJson.type_specifics[ele].lat=Number(newJson.type_specifics[ele].lat);newJson.type_specifics[ele].lng=Number(newJson.type_specifics[ele].lng)}})} 2402datas[el]=json[el]});let finishedEvent=jQuery.Event('loadedData');finishedEvent.dataids=dataids;$(selector).trigger(finishedEvent)});result.fail((error)=>{af2ThrowError($,$(formSelector),error)})};const requestData=($,dataids,form)=>{const prom=$.Deferred();af2_ajax_with_fresh_nonce($,{url:af2_frontend_ajax.ajax_url,type:"GET",data:{action:'af2_request_data',ids:dataids},success:(answer)=>{if(answer.indexOf('ERROR')!=-1){if(answer!='ERRORX'){if(answer==af2_frontend_ajax.strings.error_01){prom.reject(af2_frontend_ajax.strings.fehler_admin+'<a href="'+af2_frontend_ajax.strings.help_url+'" target="_blank">'+af2_frontend_ajax.strings.help+'</a>')}else prom.reject(af2_frontend_ajax.strings.fehler_find)}else prom.reject(af2_frontend_ajax.strings.fehler_find)}else{let answerJson=JSON.parse(answer);prom.resolve(answerJson)}},error:(xhr,status,error)=>{if(form.errormail==!0){} 2403prom.reject(af2_frontend_ajax.strings.fehler_admin+'<a href="'+af2_frontend_ajax.strings.help_url+'" target="_blank">'+af2_frontend_ajax.strings.help+'</a>')}});return prom.promise()};const send_errormail=($,errorcode)=>{};const af2CompareAttributeInArray=($,attribute,arr)=>{const prom=$.Deferred();$(arr).each((i,el)=>{if(el===attribute){prom.resolve()}});return prom.promise()};const af2LoadStyling=($,id,formSelector,cb)=>{af2OverwriteStylings($,datas[id].styling).done((styling)=>{if(styling==null){cb();return}else{af2GenerateStylingContent($,formSelector,styling).done((style)=>{$('head').append(style);cb()})}})};const af2OverwriteStylings=($,styling)=>{const prom=$.Deferred();let newStyling=af2Styles;if(styling==null||styling==undefined)prom.resolve(null);
2403else{const keys=Object.keys(styling);$(keys).each((i,e)=>{$.each(styling[e],(j,el)=>{$.each(newStyling[e],(k,ele)=>{if(ele.attribute===el.attribute){if(ele.special_class===el.special_class&&ele.special_state===el.special_state&&ele.special_extra===el.special_extra){newStyling[e][k].value=styling[e][j].value}}})});if(i===keys.length-1){prom.resolve(newStyling)}})} 2404return prom.promise()};const af2GenerateStylingContent=($,formSelector,styling)=>{const prom=$.Deferred();let content='';content+='<style>';const keys=Object.keys(styling);$(keys).each((i)=>{let desktopList=[];let mobileList=[];let othersList=[];let dateList=[];let af2DisabledList=[];let focusList=[];let wtList=[];let mtList=[];let formClassList=[];content+=formSelector+' .'+keys[i]+'{';$.each(styling[keys[i]],(j,e)=>{if(e.special_class!==undefined){if(e.special_class==="desktop") 2405desktopList.push(e);else if(e.special_class==="af2_mobile") 2406mobileList.push(e);else if(e.special_class==="af2_disabled") 2407af2DisabledList.push(e);else if(e.special_class==="af2_datepicker") 2408dateList.push(e);else if(e.special_class==="form_class") 2409formClassList.push(e);else othersList.push(e)}else if(e.special_state!==undefined){if(e.special_state==="focus") 2410focusList.push(e);}else if(e.special_extra!==undefined){if(e.special_extra==="-webkit-slider-thumb") 2411wtList.push(e);else if(e.special_extra==="-moz-range-thumb") 2412mtList.push(e);}else{content+=e.attribute+':'+e.value+';'}});content+='}';if(desktopList.length>0){content+=formSelector+' .'+keys[i]+'.desktop {'} 2413$.each(desktopList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(desktopList.length>0){content+='}'} 2414$.each(othersList,(j,e)=>{content+=formSelector+' .'+keys[i]+'.'+e.special_class+' {';content+=e.attribute+':'+e.value+';';content+='}'});formClassFocusList=[];if(formClassList.length>0){content+=formSelector.replace('#','.')+'.'+keys[i]+' {'} 2415$.each(formClassList,(j,e)=>{if(e.special_state!==undefined) 2416formClassFocusList.push(e);else content+=e.attribute+':'+e.value+';'});if(formClassList.length>0){content+='}'} 2417if(formClassFocusList.length>0){content+=formSelector.replace('#','.')+'.'+keys[i]+':focus {'} 2418$.each(formClassFocusList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(formClassFocusList.length>0){content+='}'} 2419if(mobileList.length>0){content+=formSelector+' .'+keys[i]+'.af2_mobile {'} 2420$.each(mobileList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(mobileList.length>0){content+='}'} 2421if(af2DisabledList.length>0){content+=formSelector+' .'+keys[i]+'.af2_disabled {'} 2422$.each(af2DisabledList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(af2DisabledList.length>0){content+='}'} 2423if(dateList.length>0){$.each(dateList,(j,e)=>{content+=formSelector+' .af2-datepicker .'+e.sub_class+' {';content+=e.attribute+':'+e.value+';';content+='}';content+=formSelector+' .af2_terminbuchung_datewrapper .'+e.sub_class+' {';content+=e.attribute+':'+e.value+';';content+='}'})} 2424if(focusList.length>0){content+=formSelector+' .'+keys[i]+':focus {'} 2425$.each(focusList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(focusList.length>0){content+='}'} 2426if(mtList.length>0){content+=formSelector+' .'+keys[i]+'::-moz-range-thumb {'} 2427$.each(mtList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(mtList.length>0){content+='}'} 2428if(wtList.length>0){content+=formSelector+' .'+keys[i]+'::-webkit-slider-thumb {'} 2429$.each(wtList,(j,e)=>{content+=e.attribute+':'+e.value+';'});if(wtList.length>0){content+='}'} 2430if(i===keys.length-1){prom.resolve(content)}});content+='</style>';return prom.promise()};const af2ThrowError=($,selector,errortext)=>{selector.after('<p class="af2_loading_error">'+errortext+'</p>')};const af2ThrowLoadingSuccess=($,selector,html)=>{selector.append(html)};const af2ThrowLoadingError=($,selector,html)=>{selector.append(html)};function GMap($,neededContent,actualData,formSelector,setHeight,form){this.$=$;this.formSelector=formSelector;this.mapCount=form.mapCount;this.markers=[];this.form=form;this.selector=this.formSelector+' .af2_adress_mapp_wrapper.af2_mw_'+(this.mapCount-1);this.selectorMap=this.$(this.selector+' #af2_adress_field')[0];this.mandatory=$(this.selector).data('mandatory');const fact=neededContent==undefined?actualData:neededContent;const zoomlevel=datas[fact].type_specifics.zoomlevel==undefined?8:parseInt(datas[fact].type_specifics.zoomlevel);const center=datas[fact].type_specifics.center==undefined?{lat:-34.397,lng:150.644}:datas[fact].type_specifics.center;if(extraParms){this.map=new extraParms.maps.Map(this.selectorMap,{center:center,zoom:zoomlevel,mapT
2430ypeId:"roadmap",mapTypeControlOptions:{mapTypeIds:[]},disableDefaultUI:!0,});this.autocomplete=new extraParms.maps.places.Autocomplete($(selector+' input#af2_adress_street')[0],{types:["geocode"]});this.autocomplete2=new extraParms.maps.places.Autocomplete($(selector+' input#af2_adress_street_')[0],{types:["geocode"]})} 2431this.form.setLastAddrObject("");if(this.mandatory==!1){this.$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled')} 2432if(!extraParms){setTimeout(()=>{if(this.mandatory==!1){this.$(this.formSelector+' .af2_form_foward_button').removeClass('af2_disabled');this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled')}},100)} 2433this.fillInAdress=()=>{const place=this.autocomplete.getPlace();let street_number='';let route='';let postal_code='';let locality='';let country='';const combinedAddress=$(this.selector+' #af2_adress_street').hasClass('combined_adress');if(combinedAddress){$(this.selector+' #af2_adress_street').val('');place.address_components.forEach((el)=>{const adressType=el.types[0];const val=el.long_name;switch(adressType){case 'street_number':{street_number=val;break} 2434case 'route':{route=val;break} 2435case 'postal_code':{postal_code=val;break} 2436case 'locality':{locality=val;break} 2437case 'country':{country=val;break} 2438default:break}});$(this.selector+' #af2_adress_street').val(route+' '+street_number+', '+postal_code+' '+locality)}else{$(this.selector+' #af2_adress_streetnum').val('');$(this.selector+' #af2_adress_street').val('');$(this.selector+' #af2_adress_plz').val('');$(this.selector+' #af2_adress_city').val('');$(this.selector+' #af2_adress_country').val('');place.address_components.forEach((el)=>{const adressType=el.types[0];const val=el.long_name;switch(adressType){case 'street_number':{$(this.selector+' #af2_adress_streetnum').val(val);street_number=val;break} 2439case 'route':{$(this.selector+' #af2_adress_street').val(val);route=val;break} 2440case 'postal_code':{$(this.selector+' #af2_adress_plz').val(val);postal_code=val;break} 2441case 'locality':{$(this.selector+' #af2_adress_city').val(val);locality=val;break} 2442case 'country':{$(this.selector+' #af2_adress_country').val(val);country=val;break} 2443default:break}});let clean=!0;if(street_number==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(route==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(postal_code==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(locality==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');} 2444this.markers.forEach((marker)=>{marker.setMap(null)});this.markers=[];const icon={url:place.icon,size:new extraParms.maps.Size(71,71),origin:new extraParms.maps.Point(0,0),anchor:new extraParms.maps.Point(17,34),scaledSize:new extraParms.maps.Size(25,25),};let mark=new extraParms.maps.Marker({title:place.name,position:place.geometry.location,});mark.setMap(this.map);this.markers.push(mark);this.map.setCenter(place.geometry.location);this.map.setZoom(16);const addressString=this.form.formatAddressString({street:route,street_number:street_number,zip_code:postal_code,city:locality,country:country});this.form.setLastAddrObject(addressString)} 2445this.fillInAdress2=()=>{const place=this.autocomplete2.getPlace();let street_number='';let route='';let postal_code='';let locality='';let country='';const combinedAddress=$(this.selector+' #af2_adress_street_').hasClass('combined_adress');
2445if(combinedAddress){$(this.selector+' #af2_adress_street_').val('');place.address_components.forEach((el)=>{const adressType=el.types[0];const val=el.long_name;switch(adressType){case 'street_number':{street_number=val;break} 2446case 'route':{route=val;break} 2447case 'postal_code':{postal_code=val;break} 2448case 'locality':{locality=val;break} 2449case 'country':{country=val;break} 2450default:break}});$(this.selector+' #af2_adress_street_').val(route+' '+street_number+', '+postal_code+' '+locality)}else{$(this.selector+' #af2_adress_streetnum_').val('');$(this.selector+' #af2_adress_street_').val('');$(this.selector+' #af2_adress_plz_').val('');$(this.selector+' #af2_adress_city_').val('');$(this.selector+' #af2_adress_country_').val('');place.address_components.forEach((el)=>{const adressType=el.types[0];const val=el.long_name;switch(adressType){case 'street_number':{$(this.selector+' #af2_adress_streetnum_').val(val);street_number=val;break} 2451case 'route':{$(this.selector+' #af2_adress_street_').val(val);route=val;break} 2452case 'postal_code':{$(this.selector+' #af2_adress_plz_').val(val);postal_code=val;break} 2453case 'locality':{$(this.selector+' #af2_adress_city_').val(val);locality=val;break} 2454case 'country':{$(this.selector+' #af2_adress_country_').val(val);country=val;break} 2455default:break}});let clean=!0;if(street_number==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(route==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(postal_code==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(locality==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');} 2456this.markers.forEach((marker)=>{marker.setMap(null)});this.markers=[];const icon={url:place.icon,size:new extraParms.maps.Size(71,71),origin:new extraParms.maps.Point(0,0),anchor:new extraParms.maps.Point(17,34),scaledSize:new extraParms.maps.Size(25,25),};let mark=new extraParms.maps.Marker({title:place.name,position:place.geometry.location,});mark.setMap(this.map);this.markers.push(mark);this.map.setCenter(place.geometry.location);this.map.setZoom(16);const addressString=this.form.formatAddressString({street:route,street_number:street_number,zip_code:postal_code,city:locality,country:country});this.form.setLastAddrObject(addressString)} 2457this.triggersDesktop=()=>{$(this.selector+' #af2_adress_streetnum').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum').val();const street=$(this.selector+' #af2_adress_street').val();const plz=$(this.selector+' #af2_adress_plz').val();const city=$(this.selector+' #af2_adress_city').val();const country=$(this.selector+' #af2_adress_country').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_street').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum').val();const street=$(this.selector+' #af2_adress_street').val();const plz=$(this.selector+' #af2_adress_plz').val();const city=$(this.selector+' #af2_adress_city').val();const country=$(this.selector+' #af2_adress_country').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_plz').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum').val();const street=$(this.selector+' #af2_adress_street').val();const plz=$(this.selector+' #af2_adress_plz').val();const city=$(this.selector+' #af2_adress_city').val();const country=$(this.selector+' #af2_adress_country').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_city').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum').val();const street=$(this.selector+' #af2_adress_street').val();const plz=$(this.selector+' #af2_adress_plz').val();const city=$(this.selector+' #af2_adress_city').val();const country=$(this.selector+' #af2_adress_country').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_country').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum').val();const street=$(this.selector+' #af2_adress_street').val();const plz=$(this.selector+' #af2_adress_plz').val();const city=$(this.selector+' #af2_adress_city').val();const country=$(this.selector+' #af2_adress_country').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.desktop').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.desktop').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)})} 2458this.triggersMobile=()=>{$(this.selector+' #af2_adress_streetnum_').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum_').val();const street=$(this.selector+' #af2_adress_street_').val();const plz=$(this.selector+' #af2_adress_plz_').val();const city=$(this.selector+' #af2_adress_city_').val();const country=$(this.selector+' #af2_adress_country_').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_street_').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum_').val();const street=$(thi
2458s.selector+' #af2_adress_street_').val();const plz=$(this.selector+' #af2_adress_plz_').val();const city=$(this.selector+' #af2_adress_city_').val();const country=$(this.selector+' #af2_adress_country_').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_plz_').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum_').val();const street=$(this.selector+' #af2_adress_street_').val();const plz=$(this.selector+' #af2_adress_plz_').val();const city=$(this.selector+' #af2_adress_city_').val();const country=$(this.selector+' #af2_adress_country_').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(country==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_city_').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum_').val();const street=$(this.selector+' #af2_adress_street_').val();const plz=$(this.selector+' #af2_adress_plz_').val();const city=$(this.selector+' #af2_adress_city_').val();const country=$(this.selector+' #af2_adress_country_').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)});$(this.selector+' #af2_adress_country_').on('input',(ev)=>{const streetnum=$(this.selector+' #af2_adress_streetnum_').val();const street=$(this.selector+' #af2_adress_street_').val();const plz=$(this.selector+' #af2_adress_plz_').val();const city=$(this.selector+' #af2_adress_city_').val();const country=$(this.selector+' #af2_adress_country_').val();let clean=!0;if(streetnum==''){clean=!1;this.$(this.selector+' #af2_adress_streetnum_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_streetnum_').css('border-color','rgba(51,51,51,0.12)');if(street==''){clean=!1;this.$(this.selector+' #af2_adress_street_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_street_').css('border-color','rgba(51,51,51,0.12)');if(plz==''){clean=!1;this.$(this.selector+' #af2_adress_plz_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_plz_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_city_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_city_').css('border-color','rgba(51,51,51,0.12)');if(city==''){clean=!1;this.$(this.selector+' #af2_adress_country_').css('border-color','red');if(this.mandatory==!0)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').addClass('af2_disabled');}else this.$(this.selector+' #af2_adress_country_').css('border-color','rgba(51,51,51,0.12)');if(clean)this.$(this.formSelector+' .af2_form_foward_button.af2_mobile').removeClass('af2_disabled');const addressString=this.form.formatAddressString({street:street,street_number:streetnum,zip_code:plz,city:city,country:country});this.form.setLastAddrObject(addressString)})} 2459setTimeout(()=>{if(this.autocomplete||this.autocomplete2){autocomplete.setFields(["address_component","geometry"]);autocomplete.addListener("place_changed",this.fillInAdress);autocomplete2.setFields(["address_component","geometry"]);autocomplete2.addListener("place_changed",this.fillInAdress2)}},1000);setHeight();this.triggersDesktop();this.triggersMobile()} 2460jQuery(document).ready(($)=>{if(af2_frontend_ajax.external_embed==null){if($('.af2_form_wrapper').length>0){af2_init($)} 2461jQuery(document).on('elementor/popup/show',(event,id,instance)=>{let modal=document.querySelector(`#elementor-popup-modal-${id}`);if($(modal).find('.af2_form_wrapper').length>0){af2_init($)}})}else{if($('.af2_all_forms_loaded').length>0)af2_init($);else{$('body').on('af2_all_forms_loaded',function(){$('body').off('af2_all_forms_loaded');af2_init($)})}} 2462document.fonts.onloadingdone=(fontFaceSetEvent)=>{$('.af2_form_wrapper').trigger('af2_loaded_font',[])};$(document).on('click','.iti__flag-container',function(){var countryCode=$('.iti__selected-flag').attr('title');countryCode=countryCode.replace(/[^0-9]/g,'') 2463$('#telefon').val("");$('#telefon').val("+"+countryCode+" "+$('#telefon').val())});$(document).on("input",'.iti--allow-dropdown #telefon',function(e){let value=e.currentTarget.value;
2463let countryCode=$('.iti__selected-flag').attr('title');countryCode=countryCode.replace(/[^0-9]/g,'');if(value=='+'+countryCode)return!1;if(value.indexOf('+'+countryCode)==-1){if('+'+countryCode.slice(0,countryCode.length-1)==value){e.currentTarget.value="+"+countryCode+" "}else{e.currentTarget.value="+"+countryCode+" "+value}}})});const af2_deepCopyArray=(arr)=>{let newArr=[];arr.forEach((el,i)=>{if(Array.isArray(el))newArr.push(af2_deepCopyArray(el));else if(typeof el==='object')newArr.push(af2_deepCopyObject(el));else newArr.push(el)});return newArr} 2464const af2_deepCopyObject=(obj)=>{let newObj={};for(let[key,val]of Object.entries(obj)){if(Array.isArray(val))newObj[key]=af2_deepCopyArray(val);else if(typeof val==='object')newObj[key]=af2_deepCopyObject(val);else newObj[key]=val} 2465return newObj} 2466function af2_convertTZ(date,tzString){return new Date((typeof date==="string"?new Date(date):date).toLocaleString("en-US",{timeZone:tzString}))} 2467function af2_returnTimeZoneName(){return Intl.DateTimeFormat().resolvedOptions().timeZone} 2468function af2_getTimeZoneNameRegion(){let str=Intl.DateTimeFormat().resolvedOptions().timeZone;return str.split('/')[0]} 2469function af2_getTodayStandard(){return af2_convertTZ(new Date(),'Europe/Amsterdam')} 2470function af2_convertMinutesToHoursAndMinutes(num){let number=Math.abs(num);let hours=number/60;let rHours=Math.floor(hours);let minutes=(hours-rHours)*60;let rMinutes=Math.round(minutes);rHours=(rHours<10?'0':'')+rHours;rMinutes=(rMinutes<10?'0':'')+rMinutes;let vorzeichen=Math.sign(num);if(vorzeichen==0)vorzeichen='+';if(vorzeichen==1)vorzeichen='-';if(vorzeichen==-1)vorzeichen='+';return vorzeichen+rHours+':'+rMinutes} 2471function af2_create_timezone_dropdown(form){let cont='';let timezone=af2_returnTimeZoneName();let dateForOffset=new Date();let timeZoneOffset=dateForOffset.getTimezoneOffset();let timeZoneOffsetString=af2_convertMinutesToHoursAndMinutes(timeZoneOffset);let timeZoneRegion=af2_getTimeZoneNameRegion();let allTimeZones=af2_getTimeZoneJson();let filteredTimeZones=allTimeZones.allTimeZones.filter(el=>{return el.region==timeZoneRegion&&el.offset==timeZoneOffsetString});timezone='Europe/Amsterdam';if(filteredTimeZones.length<1)form.lastTerminbuchungsObject.chosenTimeZone='Europe/Amsterdam';else{form.lastTerminbuchungsObject.chosenTimeZone=filteredTimeZones[0].value;timezone=filteredTimeZones[0].value} 2472cont+='<select class="af2_terminbuchungs_select af2_tb_select_timezone" name="af2_zeitzone" id="af2_zeitzone">';cont+='<optgroup label="Afrika">';cont+='<option value="Africa/Abidjan"';if(timezone=='Africa/Abidjan')cont+=' selected';cont+='>+00:00 Mittlere Greenwich-Zeit</option>';cont+='<option value="Africa/Algiers"';if(timezone=='Africa/Algiers')cont+=' selected';cont+='>+01:00 (Afrika) Mitteleuropäische Zeit</option>';cont+='<option value="Africa/Casablanca"';if(timezone=='Africa/Casablanca')cont+=' selected';cont+='>+01:00 Casablanca, El Aaiun</option>';cont+='<option value="Africa/Blantyre"';if(timezone=='Africa/Blantyre')cont+=' selected';cont+='>+02:00 South Africa Time</option>';cont+='<option value="Africa/Ceuta"';if(timezone=='Africa/Ceuta')cont+=' selected';cont+='>+02:00 Ceuta</option>';cont+='<option value="Africa/Addis_Ababa"';if(timezone=='Africa/Addis_Ababa')cont+=' selected';cont+='>+03:00 East Africa Time</option>';cont+='</optgroup>';cont+='<optgroup label="Amerika">';cont+='<option value="America/Adak"';if(timezone=='America/Adak')cont+=' selected';cont+='>-09:00 Adak, Atka</option>';cont+='<option value="America/Anchorage"';if(timezone=='America/Anchorage')cont+=' selected';cont+='>-08:00 Anchorage, Juneau, Metlakatla, Nome</option>';cont+='<option value="America/Creston"';if(timezone=='America/Creston')cont+=' selected';cont+='>-07:00 Arizona & Yukon Time</option>';cont+='<option value="America/Ensenada"';if(timezone=='America/Ensenada')cont+=' selected';cont+='>-07:00 Pacific Time</option>';cont+='<option value="America/Belize"';if(timezone=='America/Belize')cont+=' selected';cont+='>-06:00 Central Standard Time</option>';cont+='<option value="America/Boise"';if(timezone=='America/Boise')cont+=' selected';cont+='>
2472-06:00 Mountain Time</option>';cont+='<option value="America/Chihuahua"';if(timezone=='America/Chihuahua')cont+=' selected';cont+='>-06:00 Chihuahua, Mazatlan</option>';cont+='<option value="America/Atikokan"';if(timezone=='America/Atikokan')cont+=' selected';cont+='>-05:00 Jamaika, Panama, Kolumbien</option>';cont+='<option value="America/Bahia_Banderas"';if(timezone=='America/Bahia_Banderas')cont+=' selected';cont+='>-05:00 Bahia Banderas, Merida, Mexiko-Stadt, Monterrey</option>';cont+='<option value="America/Chicago"';if(timezone=='America/Chicago')cont+=' selected';cont+='>-05:00 Central Time</option>';cont+='<option value="America/Anguilla"';if(timezone=='America/Anguilla')cont+=' selected';cont+='>-04:00 Eastern Caribbean Time</option>';cont+='<option value="America/Asuncion"';if(timezone=='America/Asuncion')cont+=' selected';cont+='>-04:00 Asunción</option>';cont+='<option value="America/Detroit"';if(timezone=='America/Detroit')cont+=' selected';cont+='>-04:00 Eastern Time</option>';cont+='<option value="America/Havana"';if(timezone=='America/Havana')cont+=' selected';cont+='>-04:00 Havanna</option>';cont+='<option value="America/Santiago"';if(timezone=='America/Santiago')cont+=' selected';cont+='>-04:00 Santiago</option>';cont+='<option value="America/Araguaina"';if(timezone=='America/Araguaina')cont+=' selected';cont+='>-03:00 Argentinien, Brasilien</option>';cont+='<option value="America/Glace_Bay"';if(timezone=='America/Glace_Bay')cont+=' selected';cont+='>-03:00 Glace Bay, Goose Bay, Halifax, Moncton</option>';cont+='<option value="America/Godthab"';if(timezone=='America/Godthab')cont+=' selected';cont+='>-02:00 Godthab, Nuuk</option>';cont+='<option value="America/Miquelon"';if(timezone=='America/Miquelon')cont+=' selected';cont+='>-02:00 Miquelon</option>';cont+='<option value="America/Noronha"';if(timezone=='America/Noronha')cont+=' selected';cont+='>-02:00 Noronha</option>';cont+='<option value="America/St_Johns"';if(timezone=='America/St_Johns')cont+=' selected';cont+='>-02:30 St Johns</option>';cont+='<option value="America/Danmarkshavn"';if(timezone=='America/Danmarkshavn')cont+=' selected';cont+='>+00:00 Danmarkshavn</option>';cont+='<option value="America/Scoresbysund"';if(timezone=='America/Scoresbysund')cont+=' selected';cont+='>+00:00 Scoresbysund</option>';cont+='</optgroup>';cont+='<optgroup label="Antarktik">';cont+='<option value="Antarctica/Palmer"';if(timezone=='Antarctica/Palmer')cont+=' selected';cont+='>-03:00 Palmer, Rothera</option>';cont+='<option value="Antarctica/Troll"';if(timezone=='Antarctica/Troll')cont+=' selected';cont+='>+02:00 Troll</option>';cont+='<option value="Antarctica/Syowa"';if(timezone=='Antarctica/Syowa')cont+=' selected';cont+='>+03:00 Syowa</option>';cont+='<option value="Antarctica/Mawson"';if(timezone=='Antarctica/Mawson')cont+=' selected';cont+='>+05:00 Mawson</option>';cont+='<option value="Antarctica/Vostok"';if(timezone=='Antarctica/Vostok')cont+=' selected';cont+='>+06:00 Vostok</option>';cont+='<option value="Antarctica/Davis"';if(timezone=='Antarctica/Davis')cont+=' selected';cont+='>+07:00 Davis</option>';cont+='<option value="Antarctica/DumontDUrville"';if(timezone=='Antarctica/DumontDUrville')cont+=' selected';cont+=">+10:00 Dumont-d'Urville</option>";cont+='<option value="Antarctica/Macquarie"';if(timezone=='Antarctica/Macquarie')cont+=' selected';cont+='>+10:00 Macquarie</option>';cont+='<option value="Antarctica/Casey"';if(timezone=='Antarctica/Casey')cont+=' selected';cont+='>+11:00 Casey</option>';cont+='<option value="Antarctica/McMurdo"';if(timezone=='Antarctica/McMurdo')cont+=' selected';cont+='>+12:00 McMurdo, Südpol</option>';cont+='</optgroup>';cont+='<optgroup label="Arktis">';cont+='<option value="Arctic/Longyearbyen"';if(timezone=='Arctic/Longyearbyen')cont+=' selected';cont+='>+02:00 Longyearbyen</option>';cont+='</optgroup>';cont+='<optgroup label="Asien">';cont+='<option value="Asia/Aden"';if(timezone=='Asia/Aden')cont+=' selected';cont+='>+03:00 Bagdad, Bahrain, Istanbul, Katar</option>';cont+='<option value="Asia/Amman"';
2472if(timezone=='Asia/Amman')cont+=' selected';cont+='>+03:00 Amman</option>';cont+='<option value="Asia/Beirut"';if(timezone=='Asia/Beirut')cont+=' selected';cont+='>+03:00 Beirut</option>';cont+='<option value="Asia/Damascus"';if(timezone=='Asia/Damascus')cont+=' selected';cont+='>+03:00 Damaskus</option>';cont+='<option value="Asia/Famagusta"';if(timezone=='Asia/Famagusta')cont+=' selected';cont+='>+03:00 Famagusta, Nikosia</option>';cont+='<option value="Asia/Gaza"';if(timezone=='Asia/Gaza')cont+=' selected';cont+='>+03:00 Gaza, Hebron</option>';cont+='<option value="Asia/Jerusalem"';if(timezone=='Asia/Jerusalem')cont+=' selected';cont+='>+03:00 Jerusalem, Tel Aviv</option>';cont+='<option value="Asia/Baku"';if(timezone=='Asia/Baku')cont+=' selected';cont+='>+04:00 Baku, Dubai, Muscat, Tiflis</option>';cont+='<option value="Asia/Kabul"';if(timezone=='Asia/Kabul')cont+=' selected';cont+='>+04:30 Kabul</option>';cont+='<option value="Asia/Tehran"';if(timezone=='Asia/Tehran')cont+=' selected';cont+='>+04:30 Teheran</option>';cont+='<option value="Asia/Aqtau"';if(timezone=='Asia/Aqtau')cont+=' selected';cont+='>+05:00 Aqtau, Aqtobe, Ashgabat, Ashkhabad</option>';cont+='<option value="Asia/Calcutta"';if(timezone=='Asia/Calcutta')cont+=' selected';cont+='>+05:30 Neu-Delhi, Mumbai, Kalkutta</option>';cont+='<option value="Asia/Kathmandu"';if(timezone=='Asia/Kathmandu')cont+=' selected';cont+='>+05:45 Kathmandu, Kathmandu</option>';cont+='<option value="Asia/Almaty"';if(timezone=='Asia/Almaty')cont+=' selected';cont+='>+06:00 Almaty, Bishkek, Dhaka, Dhaka</option>';cont+='<option value="Asia/Rangoon"';if(timezone=='Asia/Rangoon')cont+=' selected';cont+='>+06:30 Rangoon, Yangon</option>';cont+='<option value="Asia/Bangkok"';if(timezone=='Asia/Bangkok')cont+=' selected';cont+='>+07:00 Indochina Time</option>';cont+='<option value="Asia/Brunei"';if(timezone=='Asia/Brunei')cont+=' selected';cont+='>+08:00 China, Hongkong, Singapur</option>';cont+='<option value="Asia/Chita"';if(timezone=='Asia/Chita')cont+=' selected';cont+='>+09:00 Seoul, Tokio</option>';cont+='<option value="Asia/Ust-Nera"';if(timezone=='Asia/Ust-Nera')cont+=' selected';cont+='>+10:00 Ust-Nera, Wladiwostok</option>';cont+='<option value="Asia/Magadan"';if(timezone=='Asia/Magadan')cont+=' selected';cont+='>+11:00 Magadan, Sakhalin, Srednekolymsk</option>';cont+='<option value="Asia/Anadyr"';if(timezone=='Asia/Anadyr')cont+=' selected';cont+='>+12:00 Anadyr, Kamtschatka</option>';cont+='</optgroup>';cont+='<optgroup label="Atlantik">';cont+='<option value="Atlantic/Bermuda"';if(timezone=='Atlantic/Bermuda')cont+=' selected';cont+='>-03:00 Bermuda</option>';cont+='<option value="Atlantic/Stanley"';if(timezone=='Atlantic/Stanley')cont+=' selected';cont+='>-03:00 Stanley</option>';cont+='<option value="Atlantic/South_Georgia"';if(timezone=='Atlantic/South_Georgia')cont+=' selected';cont+='>-02:00 Südgeorgien</option>';cont+='<option value="Atlantic/Cape_Verde"';if(timezone=='Atlantic/Cape_Verde')cont+=' selected';cont+='>-01:00 Kap Verde</option>';cont+='<option value="Atlantic/Azores"';if(timezone=='Atlantic/Azores')cont+=' selected';cont+='>+00:00 Azoren</option>';cont+='<option value="Atlantic/Reykjavik"';if(timezone=='Atlantic/Reykjavik')cont+=' selected';cont+='>+00:00 Reykjavik, St Helena</option>';cont+='<option value="Atlantic/Canary"';if(timezone=='Atlantic/Canary')cont+=' selected';cont+='>+01:00 Kanaren, Färöer, Färöer, Madeira</option>';cont+='<option value="Atlantic/Jan_Mayen"';if(timezone=='Atlantic/Jan_Mayen')cont+=' selected';cont+='>+02:00 Jan Mayen</option>';cont+='</optgroup>';cont+='<optgroup label="Australien">';cont+='<option value="Australia/Eucla"';if(timezone=='Australia/Eucla')cont+=' selected';cont+='>+08:45 Eucla</option>';cont+='<option value="Australia/Perth"';if(timezone=='Australia/Perth')cont+=' selected';cont+='>+08:00 Perth, Westen</option>';cont+='<option value="Australia/Adelaide"';if(timezone=='Australia/Adelaide')cont+=' selected';cont+='>+09:30 Adelaide, Broken Hill, Süden, Yancowinna</option>';cont+='<option value="Australia/Darwin"';
2472if(timezone=='Australia/Darwin')cont+=' selected';cont+='>+09:30 Darwin, Norden</option>';cont+='<option value="Australia/ACT"';if(timezone=='Australia/ACT')cont+=' selected';cont+='>+10:00 Australian Eastern Time</option>';cont+='<option value="Australia/Brisbane"';if(timezone=='Australia/Brisbane')cont+=' selected';cont+='>+10:00 Brisbane, Lindeman, Queensland</option>';cont+='<option value="Australia/LHI"';if(timezone=='Australia/LHI')cont+=' selected';cont+='>+10:30 LHI, Lord Howe</option>';cont+='</optgroup>';cont+='<optgroup label="Brasilien">';cont+='<option value="Brazil/Acre"';if(timezone=='Brazil/Acre')cont+=' selected';cont+='>-05:00 Acre</option>';cont+='<option value="Brazil/West"';if(timezone=='Brazil/West')cont+=' selected';cont+='>-04:00 Westen</option>';cont+='<option value="Brazil/East"';if(timezone=='Brazil/East')cont+=' selected';cont+='>-03:00 Osten</option>';cont+='<option value="Brazil/DeNoronha"';if(timezone=='Brazil/DeNoronha')cont+=' selected';cont+='>-02:00 De Noronha</option>';cont+='</optgroup>';cont+='<optgroup label="Kanada">';cont+='<option value="Canada/Pacific"';if(timezone=='Canada/Pacific')cont+=' selected';cont+='>-07:00 Pazifik</option>';cont+='<option value="Canada/Yukon"';if(timezone=='Canada/Yukon')cont+=' selected';cont+='>-07:00 Yukon</option>';cont+='<option value="Canada/Mountain"';if(timezone=='Canada/Mountain')cont+=' selected';cont+='>-06:00 Mountain</option>';cont+='<option value="Canada/Saskatchewan"';if(timezone=='Canada/Saskatchewan')cont+=' selected';cont+='>-06:00 Saskatchewan</option>';cont+='<option value="Canada/Central"';if(timezone=='Canada/Central')cont+=' selected';cont+='>-05:00 Central</option>';cont+='<option value="Canada/Eastern"';if(timezone=='Canada/Eastern')cont+=' selected';cont+='>-04:00 Eastern</option>';cont+='<option value="Canada/Atlantic"';if(timezone=='Canada/Atlantic')cont+=' selected';cont+='>-03:00 Atlantic Time</option>';cont+='<option value="Canada/Newfoundland"';if(timezone=='Canada/Newfoundland')cont+=' selected';cont+='>-02:30 Neufundland</option>';cont+='</optgroup>';cont+='<optgroup label="Chile">';cont+='<option value="Chile/EasterIsland"';if(timezone=='Chile/EasterIsland')cont+=' selected';cont+='>-06:00 Osterinsel</option>';cont+='<option value="Chile/Continental"';if(timezone=='Chile/Continental')cont+=' selected';cont+='>-04:00 Continental</option>';cont+='</optgroup>';cont+='<optgroup label="Europa">';cont+='<option value="Europe/Belfast"';if(timezone=='Europe/Belfast')cont+=' selected';cont+='>+01:00 Dublin, London, Lissabon</option>';cont+='<option value="Europe/Amsterdam"';if(timezone=='Europe/Amsterdam')cont+=' selected';cont+='>+02:00 (Europa) Mitteleuropäische Zeit</option>';cont+='<option value="Europe/Kaliningrad"';if(timezone=='Europe/Kaliningrad')cont+=' selected';cont+='>+02:00 Kaliningrad</option>';cont+='<option value="Europe/Athens"';if(timezone=='Europe/Athens')cont+=' selected';cont+='>+03:00 Osteuropäische Zeit</option>';cont+='<option value="Europe/Chisinau"';if(timezone=='Europe/Chisinau')cont+=' selected';cont+='>+03:00 Chisinau, Tiraspol</option>';cont+='<option value="Europe/Istanbul"';if(timezone=='Europe/Istanbul')cont+=' selected';cont+='>+03:00 Istanbul, Kirov, Minsk, Moskau</option>';cont+='<option value="Europe/Astrakhan"';if(timezone=='Europe/Astrakhan')cont+=' selected';cont+='>+04:00 Astrachan, Samara, Saratov, Uljanowsk</option>';cont+='</optgroup>';cont+='<optgroup label="Indisch">';cont+='<option value="Indian/Antananarivo"';if(timezone=='Indian/Antananarivo')cont+=' selected';cont+='>+03:00 Antananarivo, Comoro, Mayotte</option>';cont+='<option value="Indian/Mahe"';if(timezone=='Indian/Mahe')cont+=' selected';cont+='>+04:00 Mahe, Mauritius, Reunion</option>';cont+='<option value="Indian/Kerguelen"';if(timezone=='Indian/Kerguelen')cont+=' selected';cont+='>+05:00 Kerguelen, Malediven</option>';cont+='<option value="Indian/Chagos"';if(timezone=='Indian/Chagos')cont+=' selected';cont+='>+06:00 Chagos</option>';cont+='<option value="Indian/Cocos"';if(timezone=='Indian/Cocos')cont+=' selected';cont+='>+06:30 Cocos</option>';cont+='<option value="Indian/Christmas"';
2472if(timezone=='Indian/Christmas')cont+=' selected';cont+='>+07:00 Christmas</option>';cont+='</optgroup>';cont+='<optgroup label="Mexiko">';cont+='<option value="Mexico/BajaNorte"';if(timezone=='Mexico/BajaNorte')cont+=' selected';cont+='>-07:00 Baja Norte</option>';cont+='<option value="Mexico/BajaSur"';if(timezone=='Mexico/BajaSur')cont+=' selected';cont+='>-06:00 Baja Sur</option>';cont+='<option value="Mexico/General"';if(timezone=='Mexico/General')cont+=' selected';cont+='>-05:00 General</option>';cont+='</optgroup>';cont+='<optgroup label="Pazifik">';cont+='<option value="Pacific/Midway"';if(timezone=='Pacific/Midway')cont+=' selected';cont+='>-11:00 Midway, Niue, Pago Pago, Samoa</option>';cont+='<option value="Pacific/Honolulu"';if(timezone=='Pacific/Honolulu')cont+=' selected';cont+='>-10:00 Honolulu, Johnston, Rarotonga, Tahiti</option>';cont+='<option value="Pacific/Gambier"';if(timezone=='Pacific/Gambier')cont+=' selected';cont+='>-09:00 Gambier</option>';cont+='<option value="Pacific/Marquesas"';if(timezone=='Pacific/Marquesas')cont+=' selected';cont+='>-09:30 Marquesas</option>';cont+='<option value="Pacific/Pitcairn"';if(timezone=='Pacific/Pitcairn')cont+=' selected';cont+='>-08:00 Pitcairn</option>';cont+='<option value="Pacific/Easter"';if(timezone=='Pacific/Easter')cont+=' selected';cont+='>-06:00 Easter</option>';cont+='<option value="Pacific/Galapagos"';if(timezone=='Pacific/Galapagos')cont+=' selected';cont+='>-06:00 Galapagos</option>';cont+='<option value="Pacific/Palau"';if(timezone=='Pacific/Palau')cont+=' selected';cont+='>+09:00 Palau</option>';cont+='<option value="Pacific/Chuuk"';if(timezone=='Pacific/Chuuk')cont+=' selected';cont+='>+10:00 Chuuk, Guam, Port Moresby, Saipan</option>';cont+='<option value="Pacific/Bougainville"';if(timezone=='Pacific/Bougainville')cont+=' selected';cont+='>+11:00 Bougainville, Efate, Guadalcanal, Kosrae</option>';cont+='<option value="Pacific/Norfolk"';if(timezone=='Pacific/Norfolk')cont+=' selected';cont+='>+11:00 Norfolk</option>';cont+='<option value="Pacific/Auckland"';if(timezone=='Pacific/Auckland')cont+=' selected';cont+='>+12:00 Auckland</option>';cont+='<option value="Pacific/Chatham"';if(timezone=='Pacific/Chatham')cont+=' selected';cont+='>+12:45 Chatham</option>';cont+='<option value="Pacific/Fiji"';if(timezone=='Pacific/Fiji')cont+=' selected';cont+='>+12:00 Fidschi</option>';cont+='<option value="Pacific/Funafuti"';if(timezone=='Pacific/Funafuti')cont+=' selected';cont+='>+12:00 Funafuti, Kwajalein, Majuro, Nauru</option>';cont+='<option value="Pacific/Apia"';if(timezone=='Pacific/Apia')cont+=' selected';cont+='>+13:00 Apia</option>';cont+='<option value="Pacific/Enderbury"';if(timezone=='Pacific/Enderbury')cont+=' selected';cont+='>+13:00 Enderbury, Fakaofo, Tongatapu</option>';cont+='<option value="Pacific/Kiritimati"';if(timezone=='Pacific/Kiritimati')cont+=' selected';cont+='>+14:00 Kiritimati</option>';cont+='</optgroup>';cont+='<optgroup label="USA">';cont+='<option value="US/Pacific"';if(timezone=='US/Pacific')cont+=' selected';cont+='>-07:00 Pacific Time</option>';cont+='<option value="US/Mountain"';if(timezone=='US/Mountain')cont+=' selected';cont+='>-06:00 Mountain Time</option>';cont+='<option value="US/Central"';if(timezone=='US/Central')cont+=' selected';cont+='>-05:00 Central Time</option>';cont+='<option value="US/East-Indiana"';if(timezone=='US/East-Indiana')cont+=' selected';cont+='>-04:00 Eastern Time</option>';cont+='</optgroup>';cont+='<optgroup label="Etc">';cont+='<option value="Etc/GMT"';if(timezone=='Etc/GMT')cont+=' selected';cont+='>Etc/GMT</option>';cont+='<option value="Etc/GMT+1"';if(timezone=='Etc/GMT+1')cont+=' selected';cont+='>Etc/GMT+1</option>';cont+='<option value="Etc/GMT+2"';if(timezone=='Etc/GMT+2')cont+=' selected';cont+='>Etc/GMT+2</option>';cont+='<option value="Etc/GMT+3"';if(timezone=='Etc/GMT+3')cont+=' selected';cont+='>Etc/GMT+3</option>';cont+='<option value="Etc/GMT+4"';if(timezone=='Etc/GMT+4')cont+=' selected';cont+='>Etc/GMT+4</option>';cont+='<option value="Etc/GMT+5"';if(timezone=='Etc/GMT+5')cont+=' selected';cont+='>Etc/GMT+5</option>';cont+='<option value="Etc/GMT+6"';
2472if(timezone=='Etc/GMT+6')cont+=' selected';cont+='>Etc/GMT+6</option>';cont+='<option value="Etc/GMT+7"';if(timezone=='Etc/GMT+7')cont+=' selected';cont+='>Etc/GMT+7</option>';cont+='<option value="Etc/GMT+8"';if(timezone=='Etc/GMT+8')cont+=' selected';cont+='>Etc/GMT+8</option>';cont+='<option value="Etc/GMT+9"';if(timezone=='Etc/GMT+9')cont+=' selected';cont+='>Etc/GMT+9</option>';cont+='<option value="Etc/GMT+10"';if(timezone=='Etc/GMT+10')cont+=' selected';cont+='>Etc/GMT+10</option>';cont+='<option value="Etc/GMT+11"';if(timezone=='Etc/GMT+11')cont+=' selected';cont+='>Etc/GMT+11</option>';cont+='<option value="Etc/GMT+12"';if(timezone=='Etc/GMT+12')cont+=' selected';cont+='>Etc/GMT+12</option>';cont+='<option value="Etc/GMT-1"';if(timezone=='Etc/GMT-1')cont+=' selected';cont+='>Etc/GMT-1</option>';cont+='<option value="Etc/GMT-2"';if(timezone=='Etc/GMT-2')cont+=' selected';cont+='>Etc/GMT-2</option>';cont+='<option value="Etc/GMT-3"';if(timezone=='Etc/GMT-3')cont+=' selected';cont+='>Etc/GMT-3</option>';cont+='<option value="Etc/GMT-4"';if(timezone=='Etc/GMT-4')cont+=' selected';cont+='>Etc/GMT-4</option>';cont+='<option value="Etc/GMT-5"';if(timezone=='Etc/GMT-5')cont+=' selected';cont+='>Etc/GMT-5</option>';cont+='<option value="Etc/GMT-6"';if(timezone=='Etc/GMT-6')cont+=' selected';cont+='>Etc/GMT-6</option>';cont+='<option value="Etc/GMT-7"';if(timezone=='Etc/GMT-7')cont+=' selected';cont+='>Etc/GMT-7</option>';cont+='<option value="Etc/GMT-8"';if(timezone=='Etc/GMT-8')cont+=' selected';cont+='>Etc/GMT-8</option>';cont+='<option value="Etc/GMT-9"';if(timezone=='Etc/GMT-9')cont+=' selected';cont+='>Etc/GMT-9</option>';cont+='<option value="Etc/GMT-10"';if(timezone=='Etc/GMT-10')cont+=' selected';cont+='>Etc/GMT-10</option>';cont+='<option value="Etc/GMT-11"';if(timezone=='Etc/GMT-11')cont+=' selected';cont+='>Etc/GMT-11</option>';cont+='<option value="Etc/GMT-12"';if(timezone=='Etc/GMT-12')cont+=' selected';cont+='>Etc/GMT-12</option>';cont+='<option value="Etc/GMT-13"';if(timezone=='Etc/GMT-13')cont+=' selected';cont+='>Etc/GMT-13</option>';cont+='<option value="Etc/GMT-14"';if(timezone=='Etc/GMT-14')cont+=' selected';cont+='>Etc/GMT-14</option>';cont+='<option value="Etc/UTC"';if(timezone=='Etc/UTC')cont+=' selected';cont+='>Etc/UTC</option>';cont+='</optgroup>';cont+='</select>';return cont} 2473function af2_adjustTerminbuchungsTimesByTimezone($,form){} 2474function af2_getTimeZoneJson(){return{"allTimeZones":[{"value":"Africa/Abidjan","name":"UTC +00:00 Mittlere Greenwich-Zeit","region":"Africa","offset":"+00:00"},{"value":"Africa/Algiers","name":"UTC +01:00 (Afrika) Mitteleuropäische Zeit","region":"Africa","offset":"+01:00"},{"value":"Africa/Casablanca","name":"UTC +01:00 Casablanca, El Aaiun","region":"Africa","offset":"+01:00"},{"value":"Africa/Blantyre","name":"UTC +02:00 South Africa Time","region":"Africa","offset":"+02:00"},{"value":"Africa/Ceuta","name":"UTC +02:00 Ceuta","region":"Africa","offset":"+02:00"},{"value":"Africa/Addis_Ababa","name":"UTC +03:00 East Africa Time","region":"Africa","offset":"+03:00"},{"value":"America/Adak","name":"UTC -09:00 Adak, Atka","region":"America","offset":"-09:00"},{"value":"America/Anchorage","name":"UTC -08:00 Anchorage, Juneau, Metlakatla, Nome","region":"America","offset":"-08:00"},{"value":"America/Creston","name":"UTC -07:00 Arizona & Yukon Time","region":"America","offset":"-07:00"},{"value":"America/Ensenada","name":"UTC -07:00 Pacific Time","region":"America","offset":"-07:00"},{"value":"America/Belize","name":"UTC -06:00 Central Standard Time","region":"America","offset":"-06:00"},{"value":"America/Boise","name":"UTC -06:00 Mountain Time","region":"America","offset":"-06:00"},{"value":"America/Chihuahua","name":"UTC -06:00 Chihuahua, Mazatlan","region":"America","offset":"-06:00"},{"value":"America/Atikokan","name":"UTC -05:00 Jamaika, Panama, Kolumbien","region":"America","offset":"-05:00"},{"value":"America/Bahia_Banderas","name":"UTC -05:00 Bahia Banderas, Merida, Mexiko-Stadt, Monterrey","region":"America","offset":"-05:00"},{"value":"America/Chicago","name":"UTC -05:00 Central Time","regi
2474on":"America","offset":"-05:00"},{"value":"America/Anguilla","name":"UTC -04:00 Eastern Caribbean Time","region":"America","offset":"-04:00"},{"value":"America/Asuncion","name":"UTC -04:00 Asunción","region":"America","offset":"-04:00"},{"value":"America/Detroit","name":"UTC -04:00 Eastern Time","region":"America","offset":"-04:00"},{"value":"America/Havana","name":"UTC -04:00 Havanna","region":"America","offset":"-04:00"},{"value":"America/Santiago","name":"UTC -04:00 Santiago","region":"America","offset":"-04:00"},{"value":"America/Araguaina","name":"UTC -03:00 Argentinien, Brasilien","region":"America","offset":"-03:00"},{"value":"America/Glace_Bay","name":"UTC -03:00 Glace Bay, Goose Bay, Halifax, Moncton","region":"America","offset":"-03:00"},{"value":"America/Godthab","name":"UTC -02:00 Godthab, Nuuk","region":"America","offset":"-02:00"},{"value":"America/Miquelon","name":"UTC -02:00 Miquelon","region":"America","offset":"-02:00"},{"value":"America/Noronha","name":"UTC -02:00 Noronha","region":"America","offset":"-02:00"},{"value":"America/St_Johns","name":"UTC -02:30 St Johns","region":"America","offset":"-02:30"},{"value":"America/Danmarkshavn","name":"UTC +00:00 Danmarkshavn","region":"America","offset":"+00:00"},{"value":"America/Scoresbysund","name":"UTC +00:00 Scoresbysund","region":"America","offset":"+00:00"},{"value":"Antarctica/Palmer","name":"UTC -03:00 Palmer, Rothera","region":"Antarctica","offset":"-03:00"},{"value":"Antarctica/Troll","name":"UTC +02:00 Troll","region":"Antarctica","offset":"+02:00"},{"value":"Antarctica/Syowa","name":"UTC +03:00 Syowa","region":"Antarctica","offset":"+03:00"},{"value":"Antarctica/Mawson","name":"UTC +05:00 Mawson","region":"Antarctica","offset":"+05:00"},{"value":"Antarctica/Vostok","name":"UTC +06:00 Vostok","region":"Antarctica","offset":"+06:00"},{"value":"Antarctica/Davis","name":"UTC +07:00 Davis","region":"Antarctica","offset":"+07:00"},{"value":"Antarctica/DumontDUrville","name":"UTC +10:00 Dumont-d'Urville","region":"Antarctica","offset":"+10:00"},{"value":"Antarctica/Macquarie","name":"UTC +10:00 Macquarie","region":"Antarctica","offset":"+10:00"},{"value":"Antarctica/Casey","name":"UTC +11:00 Casey","region":"Antarctica","offset":"+11:00"},{"value":"Antarctica/McMurdo","name":"UTC +12:00 McMurdo, Südpol","region":"Antarctica","offset":"+12:00"},{"value":"Arctic/Longyearbyen","name":"UTC +02:00 Longyearbyen","region":"Arctic","offset":"+02:00"},{"value":"Asia/Aden","name":"UTC +03:00 Bagdad, Bahrain, Istanbul, Katar","region":"Asia","offset":"+03:00"},{"value":"Asia/Amman","name":"UTC +03:00 Amman","region":"Asia","offset":"+03:00"},{"value":"Asia/Beirut","name":"UTC +03:00 Beirut","region":"Asia","offset":"+03:00"},{"value":"Asia/Damascus","name":"UTC +03:00 Damaskus","region":"Asia","offset":"+03:00"},{"value":"Asia/Famagusta","name":"UTC +03:00 Famagusta, Nikosia","region":"Asia","offset":"+03:00"},{"value":"Asia/Gaza","name":"UTC +03:00 Gaza, Hebron","region":"Asia","offset":"+03:00"},{"value":"Asia/Jerusalem","name":"UTC +03:00 Jerusalem, Tel Aviv","region":"Asia","offset":"+03:00"},{"value":"Asia/Baku","name":"UTC +04:00 Baku, Dubai, Muscat, Tiflis","region":"Asia","offset":"+04:00"},{"value":"Asia/Kabul","name":"UTC +04:30 Kabul","region":"Asia","offset":"+04:30"},{"value":"Asia/Tehran","name":"UTC +04:30 Teheran","region":"Asia","offset":"+04:30"},{"value":"Asia/Aqtau","name":"UTC +05:00 Aqtau, Aqtobe, Ashgabat, Ashkhabad","region":"Asia","offset":"+05:00"},{"value":"Asia/Calcutta","name":"UTC +05:30 Neu-Delhi, Mumbai, Kalkutta","region":"Asia","offset":"+05:30"},{"value":"Asia/Kathmandu","name":"UTC +05:45 Kathmandu, Kathmandu","region":"Asia","offset":"+05:45"},{"value":"Asia/Almaty","name":"UTC +06:00 Almaty, Bishkek, Dhaka, Dhaka","region":"Asia","offset":"+06:00"},{"value":"Asia/Rangoon","name":"UTC +06:30 Rangoon, Yangon","region":"Asia","offset":"+06:30"},{"value":"Asia/Bangkok","name":"UTC +07:00 Indochina Time","region":"Asia","offset":"+07:00"},{"value":"Asia/Brunei","name":"UTC +08:00 China, Hongkong, Singapur","region":"Asia","offset":"+08:00"},{"value":"Asia/Chita","name":"UTC +09:00 Seoul, Tokio","region":"Asia","offset":"+09:00"},{"value":"Asia/Ust-Nera","name":"UTC +10:00 Ust-Nera, Wladiwostok","region":"Asia","offset":"+10:00"},{"value":"Asia/Magadan","name":"UTC +11:00 Magadan, Sakhalin, Srednekolymsk","region":"Asia","offset":"+11:00"},{"value":"Asia/Anadyr","name":"UTC +12:00 Anadyr, Kamtschatka","region":"Asia","offset":"+12:00"},{"value":"Atlantic/Bermuda","name":"UTC -03:00 Bermuda","region":"Atlantic","offset":"-03:00"},{"value":"Atlantic/Stanley","name":"UTC -03:00 Stanley","region":"Atlantic","offset":"-03:00"},{"value":"Atlantic/South_Georgia","name":"UTC -02:00 Südgeorgien","region":"Atlantic","offset":"-02:00"},{"value":"Atlantic/Cape_Verde","name":"UTC -01:00 Kap Verde","region":"Atlantic","offset":"-01:00"},{"value":"Atlantic/Azores","name":"UTC +00:00 Azoren","region":"Atlantic","offset":"+00:00"},{"value":"Atlantic/Reykjavik","name":"UTC +00:00 Reykjavik, St Helena","region":"Atlantic","offset":"+00:00"},{"value":"Atlantic/Canary","name":"UTC +01:00 Kanaren, Färöer, Färöer, Madeira","region":"Atlantic","offset":"+01:00"},{"value":"Atlantic/Jan_Mayen","name":"UTC +02:00 Jan Mayen","region":"Atlantic","offset":"+02:00"},{"value":"Australia/Eucla","name":"UTC +08:45 Eucla","region":"Australia","offset":"+08:45"},{"value":"Australia/Perth","name":"UTC +08:00 Perth, Westen","region":"Australia","offset":"+08:00"},{"value":"Australia/Adelaide","name":"UTC +09:30 Adelaide, Broken Hill, Süden, Yancowinna","region":"Australia","offset":"+09:30"},{"value":"Australia/Darwin","name":"UTC +09:30 Darwin, Norden","region":"Australia","offset":"+09:30"},{"value":"Australia/ACT","name":"UTC +10:00 Australian Eastern Time","regi
2474on":"Australia","offset":"+10:00"},{"value":"Australia/Brisbane","name":"UTC +10:00 Brisbane, Lindeman, Queensland","region":"Australia","offset":"+10:00"},{"value":"Australia/LHI","name":"UTC +10:30 LHI, Lord Howe","region":"Australia","offset":"+10:30"},{"value":"Brazil/Acre","name":"UTC -05:00 Acre","region":"Brazil","offset":"-05:00"},{"value":"Brazil/West","name":"UTC -04:00 Westen","region":"Brazil","offset":"-04:00"},{"value":"Brazil/East","name":"UTC -03:00 Osten","region":"Brazil","offset":"-03:00"},{"value":"Brazil/DeNoronha","name":"UTC -02:00 De Noronha","region":"Brazil","offset":"-02:00"},{"value":"Canada/Pacific","name":"UTC -07:00 Pazifik","region":"Canada","offset":"-07:00"},{"value":"Canada/Yukon","name":"UTC -07:00 Yukon","region":"Canada","offset":"-07:00"},{"value":"Canada/Mountain","name":"UTC -06:00 Mountain","region":"Canada","offset":"-06:00"},{"value":"Canada/Saskatchewan","name":"UTC -06:00 Saskatchewan","region":"Canada","offset":"-06:00"},{"value":"Canada/Central","name":"UTC -05:00 Central","region":"Canada","offset":"-05:00"},{"value":"Canada/Eastern","name":"UTC -04:00 Eastern","region":"Canada","offset":"-04:00"},{"value":"Canada/Atlantic","name":"UTC -03:00 Atlantic Time","region":"Canada","offset":"-03:00"},{"value":"Canada/Newfoundland","name":"UTC -02:30 Neufundland","region":"Canada","offset":"-02:30"},{"value":"Chile/EasterIsland","name":"UTC -06:00 Osterinsel","region":"Chile","offset":"-06:00"},{"value":"Chile/Continental","name":"UTC -04:00 Continental","region":"Chile","offset":"-04:00"},{"value":"Europe/Belfast","name":"UTC +01:00 Dublin, London, Lissabon","region":"Europe","offset":"+01:00"},{"value":"Europe/Amsterdam","name":"UTC +02:00 (Europa) Mitteleuropäische Zeit","region":"Europe","offset":"+02:00"},{"value":"Europe/Kaliningrad","name":"UTC +02:00 Kaliningrad","region":"Europe","offset":"+02:00"},{"value":"Europe/Athens","name":"UTC +03:00 Osteuropäische Zeit","region":"Europe","offset":"+03:00"},{"value":"Europe/Chisinau","name":"UTC +03:00 Chisinau, Tiraspol","region":"Europe","offset":"+03:00"},{"value":"Europe/Istanbul","name":"UTC +03:00 Istanbul, Kirov, Minsk, Moskau","region":"Europe","offset":"+03:00"},{"value":"Europe/Astrakhan","name":"UTC +04:00 Astrachan, Samara, Saratov, Uljanowsk","region":"Europe","offset":"+04:00"},{"value":"Indian/Antananarivo","name":"UTC +03:00 Antananarivo, Comoro, Mayotte","region":"Indian","offset":"+03:00"},{"value":"Indian/Mahe","name":"UTC +04:00 Mahe, Mauritius, Reunion","region":"Indian","offset":"+04:00"},{"value":"Indian/Kerguelen","name":"UTC +05:00 Kerguelen, Malediven","region":"Indian","offset":"+05:00"},{"value":"Indian/Chagos","name":"UTC +06:00 Chagos","region":"Indian","offset":"+06:00"},{"value":"Indian/Cocos","name":"UTC +06:30 Cocos","region":"Indian","offset":"+06:30"},{"value":"Indian/Christmas","name":"UTC +07:00 Christmas","region":"Indian","offset":"+07:00"},{"value":"Mexico/BajaNorte","name":"UTC -07:00 Baja Norte","region":"Mexico","offset":"-07:00"},{"value":"Mexico/BajaSur","name":"UTC -06:00 Baja Sur","region":"Mexico","offset":"-06:00"},{"value":"Mexico/General","name":"UTC -05:00 General","region":"Mexico","offset":"-05:00"},{"value":"Pacific/Midway","name":"UTC -11:00 Midway, Niue, Pago Pago, Samoa","region":"Pacific","offset":"-11:00"},{"value":"Pacific/Honolulu","name":"UTC -10:00 Honolulu, Johnston, Rarotonga, Tahiti","region":"Pacific","offset":"-10:00"},{"value":"Pacific/Gambier","name":"UTC -09:00 Gambier","region":"Pacific","offset":"-09:00"},{"value":"Pacific/Marquesas","name":"UTC -09:30 Marquesas","region":"Pacific","offset":"-09:30"},{"value":"Pacific/Pitcairn","name":"UTC -08:00 Pitcairn","region":"Pacific","offset":"-08:00"},{"value":"Pacific/Easter","name":"UTC -06:00 Easter","region":"Pacific","offset":"-06:00"},{"value":"Pacific/Galapagos","name":"UTC -06:00 Galapagos","region":"Pacific","offset":"-06:00"},{"value":"Pacific/Palau","name":"UTC +09:00 Palau","region":"Pacific","offset":"+09:00"},{"value":"Pacific/Chuuk","name":"UTC +10:00 Chuuk, Guam, Port Moresby, Saipan","region":"Pacific","offset":"+10:00"},{"value":"Pacific/Bougainville","name":"UTC +11:00 Bougainville, Efate, Guadalcanal, Kosrae","region":"Pacific","offset":"+11:00"},{"value":"Pacific/Norfolk","name":"UTC +11:00 Norfolk","region":"Pacific","offset":"+11:00"},{"value":"Pacific/Auckland","name":"UTC +12:00 Auckland","region":"Pacific","offset":"+12:00"},{"value":"Pacific/Chatham","name":"UTC +12:45 Chatham","region":"Pacific","offset":"+12:45"}
2474,{"value":"Pacific/Fiji","name":"UTC +12:00 Fidschi","region":"Pacific","offset":"+12:00"},{"value":"Pacific/Funafuti","name":"UTC +12:00 Funafuti, Kwajalein, Majuro, Nauru","region":"Pacific","offset":"+12:00"},{"value":"Pacific/Apia","name":"UTC +13:00 Apia","region":"Pacific","offset":"+13:00"},{"value":"Pacific/Enderbury","name":"UTC +13:00 Enderbury, Fakaofo, Tongatapu","region":"Pacific","offset":"+13:00"},{"value":"Pacific/Kiritimati","name":"UTC +14:00 Kiritimati","region":"Pacific","offset":"+14:00"},{"value":"US/Pacific","name":"UTC -07:00 Pacific Time","region":"US","offset":"-07:00"},{"value":"US/Mountain","name":"UTC -06:00 Mountain Time","region":"US","offset":"-06:00"},{"value":"US/Central","name":"UTC -05:00 Central Time","region":"US","offset":"-05:00"},{"value":"US/East-Indiana","name":"UTC -04:00 Eastern Time","region":"US","offset":"-04:00"},{"value":"Etc/GMT","name":"Etc/GMT","offset":"+00:00"},{"value":"Etc/GMT+1","name":"Etc/GMT+1","offset":"+01:00"},{"value":"Etc/GMT+2","name":"Etc/GMT+2","offset":"+02:00"},{"value":"Etc/GMT+3","name":"Etc/GMT+3","offset":"+03:00"},{"value":"Etc/GMT+4","name":"Etc/GMT+4","offset":"+04:00"},{"value":"Etc/GMT+5","name":"Etc/GMT+5","offset":"+05:00"},{"value":"Etc/GMT+6","name":"Etc/GMT+6","offset":"+06:00"},{"value":"Etc/GMT+7","name":"Etc/GMT+7","offset":"+07:00"},{"value":"Etc/GMT+8","name":"Etc/GMT+8","offset":"+08:00"},{"value":"Etc/GMT+9","name":"Etc/GMT+9","offset":"+09:00"},{"value":"Etc/GMT+10","name":"Etc/GMT+10","offset":"+10:00"},{"value":"Etc/GMT+11","name":"Etc/GMT+11","offset":"+11:00"},{"value":"Etc/GMT+12","name":"Etc/GMT+12","offset":"+12:00"},{"value":"Etc/GMT-1","name":"Etc/GMT-1","offset":"-01:00"},{"value":"Etc/GMT-2","name":"Etc/GMT-2","offset":"-02:00"},{"value":"Etc/GMT-3","name":"Etc/GMT-3","offset":"-03:00"},{"value":"Etc/GMT-4","name":"Etc/GMT-4","offset":"-04:00"},{"value":"Etc/GMT-5","name":"Etc/GMT-5","offset":"-05:00"},{"value":"Etc/GMT-6","name":"Etc/GMT-6","offset":"-06:00"},{"value":"Etc/GMT-7","name":"Etc/GMT-7","offset":"-07:00"},{"value":"Etc/GMT-8","name":"Etc/GMT-8","offset":"-08:00"},{"value":"Etc/GMT-9","name":"Etc/GMT-9","offset":"-09:00"},{"value":"Etc/GMT-10","name":"Etc/GMT-10","offset":"-10:00"},{"value":"Etc/GMT-11","name":"Etc/GMT-11","offset":"-11:00"},{"value":"Etc/GMT-12","name":"Etc/GMT-12","offset":"-12:00"},{"value":"Etc/GMT-13","name":"Etc/GMT-13","offset":"-13:00"},{"value":"Etc/GMT-14","name":"Etc/GMT-14","offset":"-14:00"},{"value":"Etc/UTC","name":"Etc/UTC","offset":"+00:00"}]}} 2475const af2_parseTZToFloat=(timeZoneOffsetString_)=>{} 2476const af2_parseFloatToTZ=(float)=>{} 2477const initiateIntlTelInput=($,rtl_layout)=>{if($('.phone_type').length){$('.phone_type').each(function(){if($(this).attr('af2-initiated')=='true')return;$(this).attr('af2-initiated','true');$(this).intlTelInputSelect2({preferredCountries:[],geoIpLookup:!0},rtl_layout)})}}; 2478 2479 2480wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 2481 2482"use strict";function _typeof(e){return(_typeof="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})(e)}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(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)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}var Emitter=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};var t=this._callbacks[e];if(t){for(var n=arguments.length,i=new Array(1<n?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=!0,a=!1,l=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){s.value.apply(this,i)}}catch(e){a=!0,l=e}finally{try{o||null==u.return||u.return()}finally{if(a)throw l}}}return this}},{key:"off",value:function(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var i=0;i<n.length;i++){if(n[i]===t){n.splice(i,1);break}}return this}}]),e}(),Dropzone=function(){function C(e,t){var n,i,r;if(_classCallCheck(this,C),(n=_possibleConstructorReturn(this,_getPrototypeOf(C).call(this))).element=e,n.version=C.version,n.defaultOptions.previewTemplate=n.defaultOptions.previewTemplate.replace(/\n*/g,""),n.clickableElements=[],n.listeners=[],n.files=[],"string"==typeof n.element&&(n.element=document.querySelector(n.element)),!n.element||null==n.element.nodeType)throw new Error("Invalid dropzone element.");if(n.element.dropzone)throw new Error("Dropzone already attached.");C.instances.push(_assertThisInitialized(n)),n.element.dropzone=_assertThisInitialized(n);var o=null!=(r=C.optionsForElement(n.element))?r:{};if(n.options=C.extend({},n.defaultOptions,o,null!=t?t:{}),n.options.forceFallback||!C.isBrowserSupported())return _possibleConstructorReturn(n,n.options.fallback.call(_assertThisInitialized(n)));if(null==n.options.url&&(n.options.url=n.element.getAttribute("action")),!n.options.url)throw new Error("No URL provided.");if(n.options.acceptedFiles&&n.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");
vendor: 8,611 bytes, line 2482
2482if(n.options.uploadMultiple&&n.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return n.options.acceptedMimeTypes&&(n.options.acceptedFiles=n.options.acceptedMimeTypes,delete n.options.acceptedMimeTypes),null!=n.options.renameFilename&&(n.options.renameFile=function(e){return n.options.renameFilename.call(_assertThisInitialized(n),e.name,e)}),n.options.method=n.options.method.toUpperCase(),(i=n.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),!1!==n.options.previewsContainer&&(n.options.previewsContainer?n.previewsContainer=C.getElement(n.options.previewsContainer,"previewsContainer"):n.previewsContainer=n.element),n.options.clickable&&(!0===n.options.clickable?n.clickableElements=[n.element]:n.clickableElements=C.getElements(n.options.clickable,"clickable")),n.init(),n}return _inherits(C,Emitter),_createClass(C,null,[{key:"initClass",value:function(){this.prototype.Emitter=Emitter,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t=!0,n=!1,i=void 0;try{for(var r,o=this.element.getElementsByTagName("div")[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;if(/(^| )dz-message($| )/.test(a.className)){(e=a).className="dz-message";break}}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}e||(e=C.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var l=e.getElementsByTagName("span")[0];return l&&(null!=l.textContent?l.textContent=this.options.dictFallbackMessage:null!=l.innerText&&(l.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,n,i){var r={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},o=e.width/e.height;null==t&&null==n?(t=r.srcWidth,n=r.srcHeight):null==t?t=n*o:null==n&&(n=t/o);var a=(t=Math.min(t,r.srcWidth))/(n=Math.min(n,r.srcHeight));if(r.srcWidth>t||r.srcHeight>n)if("crop"===i)a<o?(r.srcHeight=e.height,r.srcWidth=r.srcHeight*a):(r.srcWidth=e.width,r.srcHeight=r.srcWidth/a);else{if("contain"!==i)throw new Error("Unknown resizeMethod '".concat(i,"'"));a<o?n=t/o:t=n*o}return r.srcX=(e.width-r.srcWidth)/2,r.srcY=(e.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=n,r},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Check</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Error</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:function(){},dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:function(){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var n=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=C.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var e=!0,i=!1,r=void 0;try{for(var o,a=t.previewElement.querySelectorAll("[data-dz-name]")[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var l=o.value;l.textContent=t.name}}catch(e){i=!0,r=e}finally{try{e||null==a.return||a.return()}finally{if(i)throw r}}
2482var s=!0,u=!1,c=void 0;try{for(var d,p=t.previewElement.querySelectorAll("[data-dz-size]")[Symbol.iterator]();!(s=(d=p.next()).done);s=!0)(l=d.value).innerHTML=this.filesize(t.size)}catch(e){u=!0,c=e}finally{try{s||null==p.return||p.return()}finally{if(u)throw c}}this.options.addRemoveLinks&&(t._removeLink=C.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var h=function(e){return e.preventDefault(),e.stopPropagation(),t.status===C.UPLOADING?C.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(t)}):n.options.dictRemoveFileConfirmation?C.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(t)}):n.removeFile(t)},f=!0,v=!1,m=void 0;try{for(var y,g=t.previewElement.querySelectorAll("[data-dz-remove]")[Symbol.iterator]();!(f=(y=g.next()).done);f=!0){y.value.addEventListener("click",h)}}catch(e){v=!0,m=e}finally{try{f||null==g.return||g.return()}finally{if(v)throw m}}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n=!0,i=!1,r=void 0;try{for(var o,a=e.previewElement.querySelectorAll("[data-dz-thumbnail]")[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;l.alt=e.name,l.src=t}}catch(e){i=!0,r=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw r}}return setTimeout(function(){return e.previewElement.classList.add("dz-image-preview")},1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error);var n=!0,i=!1,r=void 0;try{for(var o,a=e.previewElement.querySelectorAll("[data-dz-errormessage]")[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){o.value.textContent=t}}catch(e){i=!0,r=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw r}}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t){if(e.previewElement){var n=!0,i=!1,r=void 0;try{for(var o,a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]")[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;"PROGRESS"===l.nodeName?l.value=t:l.style.width="".concat(t,"%")}}catch(e){i=!0,r=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw r}}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,o=n;r<o.length;r++){var a=o[r];for(var l in a){var s=a[l];e[l]=s}}return e}}]),_createClass(C,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(e){return e.accepted}).map(function(e){return e})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(e){return!e.accepted}).map(function(e){return e})}},{key:"getFilesWithStatus",value:function(t){return this.files.filter(function(e){return e.status===t}).map(function(e){return e})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(C.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(C.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(C.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(e){return e.status===C.UPLOADING||e.status===C.QUEUED}).map(function(e){return e})}},{key:"init",value:function(){var s=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(C.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){!function l(){return s.hiddenFileInput&&s.hiddenFileInput.parentNode.removeChild(s.hiddenFileInput),s.hiddenFileInput=document.createElement("input"),s.hiddenFileInput.setAttribute("type","file"),(null===s.options.maxFiles||1<s.options.maxFiles)&&s.hiddenFileInput.setAttribute("multiple","multiple"),s.hiddenFileInput.className="dz-hidden-input",null!==s.options.acceptedFiles&&s.hiddenFileInput.setAttribute("accept",s.options.acceptedFiles),null!==s.options.capture&&s.hiddenFileInput.setAttribute("capture",s.options.capture),s.hiddenFileInput.style.visibility="hidden",s.hiddenFileInput.style.position="absolute",s.hiddenFileInput.style.top="0",s.hiddenFileInput.style.left="0",s.hiddenFileInput.style.height="0",s.hiddenFileInput.style.width="0",C.getElement(s.options.hiddenInputContainer,"hiddenInputContainer").appendChild(s.hiddenFileInput),s.hiddenFileInput.addEventListener("change",function(){var e=s.hiddenFileInput.files;if(e.length){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;s.addFile(a)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}return s.emit("addedfiles",e),l()})}()}this.URL=null!==window.URL?window.URL:window.webkitURL;var e=!0,t=!1,n=void 0;try{for(var i,r=this.events[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var o=i.value;this.on(o,this.options[o])}}catch(e){t=!0,n=e}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}this.on("uploadprogress",function(){return s.updateTotalUploadProgress()}),this.on("removedfile",function(){return s.updateTotalUploadProgress()}),this.on("canceled",function(e){return s.emit("complete",e)}),this.on("complete",function(e){if(0===s.getAddedFiles().length&&0===s.getUploadingFiles().length&&0===s.getQueuedFiles().length)return setTimeout(function(){return s.emit("queuecomplete")},0)});function a(e){var t;return(t=e).dataTransfer.types&&t.dataTransfer.types.some(function(e){return"Files"==e})&&(e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1)}return this.listeners=[{element:this.element,events:{dragstart:function(e){return s.emit("dragstart",e)},dragenter:function(e){return a(e),s.emit("dragenter",e)},dragover:function(e){var t;try{t=e.dataTransfer.effectAllowed}catch(e){}return e.dataTransfer.dropEffect="move"===t||"linkMove"===t?"move":"copy",a(e),s.emit("dragover",e)},dragleave:function(e){return s.emit("dragleave",e)},drop:function(e){return a(e),s.drop(e)},dragend:function(e){return s.emit("dragend",e)}}}
2482],this.clickableElements.forEach(function(t){return s.listeners.push({element:t,events:{click:function(e){return t===s.element&&e.target!==s.element&&!C.elementInside(e.target,s.element.querySelector(".dz-message"))||s.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),null!=this.hiddenFileInput&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,C.instances.splice(C.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e,t=0,n=0;if(this.getActiveFiles().length){var i=!0,r=!1,o=void 0;try{for(var a,l=this.getActiveFiles()[Symbol.iterator]();!(i=(a=l.next()).done);i=!0){var s=a.value;t+=s.upload.bytesSent,n+=s.upload.total}}catch(e){r=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(r)throw o}}e=100*t/n}else e=100;return this.emit("totaluploadprogress",e,n,t)}},{key:"_getParamName",value:function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}},{key:"_renameFile",value:function(e){return"function"!=typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e,t;if(e=this.getExistingFallback())return e;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>".concat(this.options.dictFallbackText,"</p>")),n+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var i=C.createElement(n);return"FORM"!==this.element.tagName?(t=C.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(i):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:i}},{key:"getExistingFallback",value:function(){for(var e=function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;if(/(^| )fallback($| )/.test(a.className))return a}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}},t=0,n=["div","form"];t<n.length;t++){var i,r=n[t];if(i=e(this.element.getElementsByTagName(r)))return i}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(i){return function(){var e=[];for(var t in i.events){var n=i.events[t];e.push(i.element.addEventListener(t,n,!1))}return e}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(i){return function(){var e=[];for(var t in i.events){var n=i.events[t];e.push(i.element.removeEventListener(t,n,!1))}return e}()})}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(e){return t.cancelUpload(e)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,n="b";if(0<e){for(var i=["tb","gb","mb","kb","b"],r=0;r<i.length;r++){var o=i[r];if(Math.pow(this.options.filesizeBase,4-r)/10<=e){t=e/Math.pow(this.options.filesizeBase,4-r),n=o;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],n=0;n<e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(t.length){var i=e.dataTransfer.items;i&&i.length&&null!=i[0].webkitGetAsEntry?this._addFilesFromItems(i):this.handleFiles(t)}
2482this.emit("addedfiles",t)}}},{key:"paste",value:function(e){if(null!=__guard__(null!=e?e.clipboardData:void 0,function(e){return e.items})){this.emit("paste",e);var t=e.clipboardData.items;return t.length?this._addFilesFromItems(t):void 0}}},{key:"handleFiles",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;this.addFile(a)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}},{key:"_addFilesFromItems",value:function(s){var u=this;return function(){var e=[],t=!0,n=!1,i=void 0;try{for(var r,o=s[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a,l=r.value;null!=l.webkitGetAsEntry&&(a=l.webkitGetAsEntry())?a.isFile?e.push(u.addFile(l.getAsFile())):a.isDirectory?e.push(u._addFilesFromDirectory(a,a.name)):e.push(void 0):null!=l.getAsFile&&(null==l.kind||"file"===l.kind)?e.push(u.addFile(l.getAsFile())):e.push(void 0)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return e}()}},{key:"_addFilesFromDirectory",value:function(e,s){function t(t){return __guardMethod__(console,"log",function(e){return e.log(t)})}var u=this,n=e.createReader();return function l(){return n.readEntries(function(e){if(0<e.length){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;a.isFile?a.file(function(e){if(!u.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath="".concat(s,"/").concat(e.name),u.addFile(e)}):a.isDirectory&&u._addFilesFromDirectory(a,"".concat(s,"/").concat(a.name))}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}l()}return null},t)}()}},{key:"accept",value:function(e,t){this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):C.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var n=this;t.upload={uuid:C.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=C.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){e?(t.accepted=!1,n._errorProcessing([t],e)):(t.accepted=!0,n.options.autoQueue&&n.enqueueFile(t)),n._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;this.enqueueFile(a)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==C.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=C.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return t.processQueue()},0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(){return t._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var n=this._thumbnailQueue.shift();return this.createThumbnail(n,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(e){return t.emit("thumbnail",n,e),t._processingThumbnail=!1,t._processThumbnailQueue()})}}},{key:"removeFile",value:function(e){if(e.status===C.UPLOADING&&this.cancelUpload(e),this.files=without(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t=!0,n=!1,i=void 0;try{for(var r,o=this.files.slice()[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;a.status===C.UPLOADING&&!e||this.removeFile(a)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return null}},{key:"resizeImage",value:function(r,e,t,n,o){var a=this;return this.createThumbnail(r,e,t,n,!0,function(e,t){if(null==t)return o(r);var n=a.options.resizeMimeType;null==n&&(n=r.type);var i=t.toDataURL(n,a.options.resizeQuality);return"image/jpeg"!==n&&"image/jpg"!==n||(i=ExifRestore.restore(r.dataURL,i)),o(C.dataURItoBlob(i))})}},{key:"createThumbnail",value:function(e,t,n,i,r,o){var a=this,l=new FileReader;l.onload=function(){e.dataURL=l.result,"image/svg+xml"!==e.type?a.createThumbnailFromUrl(e,t,n,i,r,o):null!=o&&o(l.result)}
2482,l.readAsDataURL(e)}},{key:"displayExistingFile",value:function(t,e,n,i,r){var o=this,a=!(4<arguments.length&&void 0!==r)||r;if(this.emit("addedfile",t),this.emit("complete",t),a){t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.resizeMethod,this.options.fixOrientation,function(e){o.emit("thumbnail",t,e),n&&n()},i)}else this.emit("thumbnail",t,e),n&&n()}},{key:"createThumbnailFromUrl",value:function(o,a,l,s,t,u,e){var c=this,d=document.createElement("img");return e&&(d.crossOrigin=e),d.onload=function(){var e=function(e){return e(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&t&&(e=function(e){return EXIF.getData(d,function(){return e(EXIF.getTag(this,"Orientation"))})}),e(function(e){o.width=d.width,o.height=d.height;var t=c.options.resize.call(c,o,a,l,s),n=document.createElement("canvas"),i=n.getContext("2d");switch(n.width=t.trgWidth,n.height=t.trgHeight,4<e&&(n.width=t.trgHeight,n.height=t.trgWidth),e){case 2:i.translate(n.width,0),i.scale(-1,1);break;case 3:i.translate(n.width,n.height),i.rotate(Math.PI);break;case 4:i.translate(0,n.height),i.scale(1,-1);break;case 5:i.rotate(.5*Math.PI),i.scale(1,-1);break;case 6:i.rotate(.5*Math.PI),i.translate(0,-n.width);break;case 7:i.rotate(.5*Math.PI),i.translate(n.height,-n.width),i.scale(-1,1);break;case 8:i.rotate(-.5*Math.PI),i.translate(-n.height,0)}drawImageIOSFix(i,d,null!=t.srcX?t.srcX:0,null!=t.srcY?t.srcY:0,t.srcWidth,t.srcHeight,null!=t.trgX?t.trgX:0,null!=t.trgY?t.trgY:0,t.trgWidth,t.trgHeight);var r=n.toDataURL("image/png");if(null!=u)return u(r,n)})},null!=u&&(d.onerror=u),d.src=o.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,n=t;if(!(e<=t)){var i=this.getQueuedFiles();if(0<i.length){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,e-t));for(;n<e;){if(!i.length)return;this.processFile(i.shift()),n++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t=!0,n=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;a.processing=!0,a.status=C.UPLOADING,this.emit("processing",a)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter(function(e){return e.xhr===t}).map(function(e){return e})}},{key:"cancelUpload",value:function(e){if(e.status===C.UPLOADING){var t=this._getFilesWithXhr(e.xhr),n=!0,i=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){o.value.status=C.CANCELED}}catch(e){i=!0,r=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw r}}void 0!==e.xhr&&e.xhr.abort();var l=!0,s=!1,u=void 0;try{for(var c,d=t[Symbol.iterator]();!(l=(c=d.next()).done);l=!0){var p=c.value;this.emit("canceled",p)}}catch(e){s=!0,u=e}finally{try{l||null==d.return||d.return()}finally{if(s)throw u}}this.options.uploadMultiple&&this.emit("canceledmultiple",t)}else e.status!==C.ADDED&&e.status!==C.QUEUED||(e.status=C.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"!=typeof e)return e;for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e.apply(this,n)}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(s){var u=this;this._transformFiles(s,function(e){if(u.options.chunking){var t=e[0];s[0].upload.chunked=u.options.chunking&&(u.options.forceChunking||t.size>u.options.chunkSize),s[0].upload.totalChunkCount=Math.ceil(t.size/u.options.chunkSize)}if(s[0].upload.chunked){var r=s[0],o=e[0];r.upload.chunks=[];var i=function(){for(var e=0;void 0!==r.upload.chunks[e];)e++;if(!(e>=r.upload.totalChunkCount)){0;var t=e*u.options.chunkSize,n=Math.min(t+u.options.chunkSize,r.size),i={name:u._getParamName(0),data:o.webkitSlice?o.webkitSlice(t,n):o.slice(t,n),filename:r.upload.filename,chunkIndex:e};r.upload.chunks[e]={file:r,index:e,dataBlock:i,status:C.UPLOADING,progress:0,retries:0},u._uploadData(s,[i])}};if(r.upload.finishedChunkUpload=function(e){var t=!0;e.status=C.SUCCESS,e.dataBlock=null,e.xhr=null;for(var n=0;n<r.upload.totalChunkCount;n++){if(void 0===r.upload.chunks[n])return i();r.upload.chunks[n].status!==C.SUCCESS&&(t=!1)}t&&u.options.chunksUploaded(r,function(){u._finished(s,"",null)})},u.options.parallelChunkUploads)for(var n=0;n<r.upload.totalChunkCount;n++)i();else i()}else{for(var a=[],l=0;l<s.length;l++)a[l]={name:u._getParamName(l),data:e[l],filename:s[l].upload.filename};u._uploadData(s,a)}})}},{key:"_getChunk",value:function(e,t){for(var n=0;n<e.upload.totalChunkCount;n++)if(void 0!==e.upload.chunks[n]&&e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){var n=this,i=new XMLHttpRequest,r=!0,o=!1,a=void 0;try{for(var l,s=t[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){l.value.xhr=i}}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var u=this.resolveOption(this.options.method,t),c=this.resolveOption(this.options.url,t);i.open(u,c,!0),i.timeout=this.resolveOption(this.options.timeout,t),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){n._finishedUploading(t,i,e)},i.ontimeout=function(){n._handleUploadError(t,i,"Request timedout after ".concat(n.options.timeout," seconds"))},i.onerror=function(){n._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return n._updateFilesUploadProgress(t,i,e)};var d={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var p in this.options.headers&&C.extend(d,this.options.headers),d){var h=d[p];h&&i.setRequestHeader(p,h)}var f=new FormData;if(this.options.params){var v=this.options.params;for(var m in"function"==typeof v&&(v=v.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),v){var y=v[m];f.append(m,y)}}var g=!0,b=!1,k=void 0;try{for(var w,F=t[Symbol.iterator]();!(g=(w=F.next()).done);g=!0){var z=w.value;
2482this.emit("sending",z,i,f)}}catch(e){b=!0,k=e}finally{try{g||null==F.return||F.return()}finally{if(b)throw k}}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,f),this._addFormElementData(f);for(var x=0;x<e.length;x++){var E=e[x];f.append(E.name,E.data,E.filename)}this.submitRequest(i,f,t)}},{key:"_transformFiles",value:function(n,i){for(var e=this,r=[],o=0,t=function(t){e.options.transformFile.call(e,n[t],function(e){r[t]=e,++o===n.length&&i(r)})},a=0;a<n.length;a++)t(a)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t=!0,n=!1,i=void 0;try{for(var r,o=this.element.querySelectorAll("input, textarea, select, button")[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value,l=a.getAttribute("name"),s=a.getAttribute("type");if(s=s&&s.toLowerCase(),null!=l)if("SELECT"===a.tagName&&a.hasAttribute("multiple")){var u=!0,c=!1,d=void 0;try{for(var p,h=a.options[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var f=p.value;f.selected&&e.append(l,f.value)}}catch(e){c=!0,d=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw d}}}else(!s||"checkbox"!==s&&"radio"!==s||a.checked)&&e.append(l,a.value)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}}},{key:"_updateFilesUploadProgress",value:function(e,t,n){var i;if(void 0!==n){if(i=100*n.loaded/n.total,e[0].upload.chunked){var r=e[0],o=this._getChunk(r,t);o.progress=i,o.total=n.total,o.bytesSent=n.loaded;r.upload.progress=0,r.upload.total=0;for(var a=r.upload.bytesSent=0;a<r.upload.totalChunkCount;a++)void 0!==r.upload.chunks[a]&&void 0!==r.upload.chunks[a].progress&&(r.upload.progress+=r.upload.chunks[a].progress,r.upload.total+=r.upload.chunks[a].total,r.upload.bytesSent+=r.upload.chunks[a].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount}else{var l=!0,s=!1,u=void 0;try{for(var c,d=e[Symbol.iterator]();!(l=(c=d.next()).done);l=!0){var p=c.value;p.upload.progress=i,p.upload.total=n.total,p.upload.bytesSent=n.loaded}}catch(e){s=!0,u=e}finally{try{l||null==d.return||d.return()}finally{if(s)throw u}}}var h=!0,f=!1,v=void 0;try{for(var m,y=e[Symbol.iterator]();!(h=(m=y.next()).done);h=!0){var g=m.value;
2482this.emit("uploadprogress",g,g.upload.progress,g.upload.bytesSent)}}catch(e){f=!0,v=e}finally{try{h||null==y.return||y.return()}finally{if(f)throw v}}}else{var b=!0,k=!0,w=!(i=100),F=void 0;try{for(var z,x=e[Symbol.iterator]();!(k=(z=x.next()).done);k=!0){var E=z.value;100===E.upload.progress&&E.upload.bytesSent===E.upload.total||(b=!1),E.upload.progress=i,E.upload.bytesSent=E.upload.total}}catch(e){w=!0,F=e}finally{try{k||null==x.return||x.return()}finally{if(w)throw F}}if(b)return;var C=!0,_=!1,S=void 0;try{for(var D,T=e[Symbol.iterator]();!(C=(D=T.next()).done);C=!0){var L=D.value;this.emit("uploadprogress",L,i,L.upload.bytesSent)}}catch(e){_=!0,S=e}finally{try{C||null==T.return||T.return()}finally{if(_)throw S}}}}},{key:"_finishedUploading",value:function(e,t,n){var i;if(e[0].status!==C.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(i=t.responseText,t.getResponseHeader("content-type")&&~t.getResponseHeader("content-type").indexOf("application/json")))try{i=JSON.parse(i)}catch(e){n=e,i="Invalid JSON response from server."}this._updateFilesUploadProgress(e),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t)):this._finished(e,i,n):this._handleUploadError(e,t,i)}}},{key:"_handleUploadError",value:function(e,t,n){if(e[0].status!==C.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var i=this._getChunk(e[0],t);if(i.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[i.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(e,n||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}},{key:"submitRequest",value:function(e,t){e.send(t)}},{key:"_finished",value:function(e,t,n){var i=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(i=(a=l.next()).done);i=!0){var s=a.value;s.status=C.SUCCESS,this.emit("success",s,t,n),this.emit("complete",s)}}catch(e){r=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(r)throw o}}
vendor: 2,858 bytes, line 2482
2482if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,n){var i=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(i=(a=l.next()).done);i=!0){var s=a.value;s.status=C.ERROR,this.emit("error",s,t,n),this.emit("complete",s)}}catch(e){r=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(r)throw o}}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}}]),C}();Dropzone.initClass(),Dropzone.version="5.7.0",Dropzone.options={},Dropzone.optionsForElement=function(e){return e.getAttribute("id")?Dropzone.options[camelize(e.getAttribute("id"))]:void 0},Dropzone.instances=[],Dropzone.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},Dropzone.autoDiscover=!0,Dropzone.discover=function(){var s;if(document.querySelectorAll)s=document.querySelectorAll(".dropzone");else{s=[];var e=function(l){return function(){var e=[],t=!0,n=!1,i=void 0;try{for(var r,o=l[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;/(^| )dropzone($| )/.test(a.className)?e.push(s.push(a)):e.push(void 0)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return e}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){var e=[],t=!0,n=!1,i=void 0;try{for(var r,o=s[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;!1!==Dropzone.optionsForElement(a)?e.push(new Dropzone(a)):e.push(void 0)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return e}()},Dropzone.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],Dropzone.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){var t=!0,n=!1,i=void 0;try{for(var r,o=Dropzone.blacklistedBrowsers[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){r.value.test(navigator.userAgent)&&(e=!1)}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}else e=!1;else e=!1;return e},Dropzone.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";
2482")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i),o=0,a=t.length,l=0<=a;l?o<=a:a<=o;l?o++:o--)r[o]=t.charCodeAt(o);return new Blob([i],{type:n})};var without=function(e,t){return e.filter(function(e){return e!==t}).map(function(e){return e})},camelize=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})};Dropzone.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},Dropzone.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},Dropzone.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector or a plain HTML element."));return n},Dropzone.getElements=function(e,t){var n,i;if(e instanceof Array){i=[];try{var r=!0,o=!1,a=void 0;try{for(var l,s=e[Symbol.iterator]();!(r=(l=s.next()).done);r=!0)n=l.value,i.push(this.getElement(n,t))}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}}catch(e){i=null}}else if("string"==typeof e){var u=!0,c=!(i=[]),d=void 0;try{for(var p,h=document.querySelectorAll(e)[Symbol.iterator]();!(u=(p=h.next()).done);u=!0)n=p.value,i.push(n)}catch(e){c=!0,d=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw d}}}else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return i},Dropzone.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},Dropzone.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var n=e.type,i=n.replace(/\/.*$/,""),r=!0,o=!1,a=void 0;try{for(var l,s=t[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){var u=l.value;if("."===(u=u.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(u.toLowerCase(),e.name.length-u.length))return!0}else if(/\/\*$/.test(u)){if(i===u.replace(/\/.*$/,""))return!0}else if(n===u)return!0}}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new Dropzone(this,e)})}),"undefined"!=typeof module&&null!==module?module.exports=Dropzone:window.Dropzone=Dropzone,Dropzone.ADDED="added",Dropzone.QUEUED="queued",Dropzone.ACCEPTED=Dropzone.QUEUED,Dropzone.UPLOADING="uploading",Dropzone.PROCESSING=Dropzone.UPLOADING,Dropzone.CANCELED="canceled",Dropzone.ERROR="error",Dropzone.SUCCESS="success";var detectVerticalSquash=function(e){e.naturalWidth;var t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;var i=n.getContext("2d");i.drawImage(e,0,0);for(var r=i.getImageData(1,0,1,t).data,o=0,a=t,l=t;o<l;){0===r[4*(l-1)+3]?a=l:o=l,l=a+o>>1}var s=l/t;return 0==s?1:s},drawImageIOSFix=function(e,t,n,i,r,o,a,l,s,u){var c=detectVerticalSquash(t);return e.drawImage(t,n,i,r,o,a,l,s,u/c)},ExifRestore=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t="",n=void 0,i=void 0,r="",o=void 0,a=void 0,l=void 0,s="",u=0;o=(n=e[u++])>>2,a=(3&n)<<4|(i=e[u++])>>4,l=(15&i)<<2|(r=e[u++])>>6,s=63&r,isNaN(i)?l=s=64:isNaN(r)&&(s=64),t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(l)+this.KEY_STR.charAt(s),n=i=r="",o=a=l=s="",u<e.length;);return t}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;var n=this.decode64(e.replace("data:image/jpeg;base64,","")),i=this.slice2Segments(n),r=this.exifManipulation(t,i);return"data:image/jpeg;base64,".concat(this.encode64(r))}},{key:"exifManipulation",value:function(e,t){var n=this.getExifArray(t),i=this.insertExif(e,n);return new Uint8Array(i)}},{key:"getExifArray",value:function(e){for(var t=void 0,n=0;n<e.length;){if(255===(t=e[n])[0]&225===t[1])return t;n++}return[]}},{key:"insertExif",value:function(e,t){var n=e.replace("data:image/jpeg;base64,",""),i=this.decode64(n),r=i.indexOf(255,3),o=i.slice(0,r),a=i.slice(r),l=o;return l=(l=l.concat(t)).concat(a)}},{key:"slice2Segments",value:function(e){for(var t=0,n=[];;){if(255===e[t]&218===e[t+1])break;if(255===e[t]&216===e[t+1])t+=2;else{var i=t+(256*e[t+2]+e[t+3])+2,r=e.slice(t,i);n.push(r),t=i}if(t>e.length)break}return n}},{key:"decode64",value:function(e){var t=void 0,n=void 0,i="",r=void 0,o=void 0,a="",l=0,s=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");t=this.KEY_STR.indexOf(e.charAt(l++))<<2|(r=this.KEY_STR.indexOf(e.charAt(l++)))>>4,n=(15&r)<<4|(o=this.KEY_STR.indexOf(e.charAt(l++)))>>2,i=(3&o)<<6|(a=this.KEY_STR.indexOf(e.charAt(l++))),s.push(t),64!==o&&s.push(n),64!==a&&s.push(i),t=n=i="",r=o=a="",l<e.length;);return s}}]),e}();ExifRestore.initClass();var contentLoaded=function(t,n){function i(e){if("readystatechange"!==e.type||"complete"===o.readyState)return("load"===e.type?t:o)[s](u+e.type,i,!1),!r&&(r=!0)?n.call(t,e.type||e):void 0}
2482var r=!1,e=!0,o=t.document,a=o.documentElement,l=o.addEventListener?"addEventListener":"attachEvent",s=o.addEventListener?"removeEventListener":"detachEvent",u=o.addEventListener?"":"on";if("complete"!==o.readyState){if(o.createEventObject&&a.doScroll){try{e=!t.frameElement}catch(e){}e&&!function t(){try{a.doScroll("left")}catch(e){return void setTimeout(t,50)}return i("poll")}()}return o[l](u+"DOMContentLoaded",i,!1),o[l](u+"readystatechange",i,!1),t[l](u+"load",i,!1)}};function __guard__(e,t){return null!=e?t(e):void 0}function __guardMethod__(e,t,n){return null!=e&&"function"==typeof e[t]?n(e,t):void 0}Dropzone._autoDiscoverFunction=function(){if(Dropzone.autoDiscover)return Dropzone.discover()},contentLoaded(window,Dropzone._autoDiscoverFunction); 2483 2484 2485wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 2486 2487/*! Select2 4.1.0-beta.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2488!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(u){var e=function(){if(u&&u.fn&&u.fn.select2&&u.fn.select2.amd)var e=u.fn.select2.amd;var t,n,i,h,s,o,f,g,m,v,y,_,r,a,b;function w(e,t){return r.call(e,t)}function l(e,t){var n,i,r,s,o,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(o=(e=e.split("/")).length-1,y.nodeIdCompat&&b.test(e[o])&&(e[o]=e[o].replace(b,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),--u;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;--u){if(i=n.slice(0,u).join("/"),h)for(d=h.length;0<d;--d)if(r=(r=f[h.slice(0,d).join("/")])&&r[i]){s=r,a=u;break}if(s)break;!l&&g&&g[i]&&(l=g[i],c=u)}!s&&l&&(s=l,a=c),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function x(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),o.apply(h,e.concat([t,n]))}}function A(t){return function(e){m[t]=e}}function D(e){if(w(v,e)){var t=v[e];delete v[e],_[e]=!0,s.apply(h,t)}if(!w(m,e)&&!w(_,e))throw new Error("No "+e);return m[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?c(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},r=Object.prototype.hasOwnProperty,a=[].slice,b=/\.js$/,f=function(e,t){var n,i,r=c(e),s=r[0],o=t[1];return e=r[1],s&&(n=D(s=l(s,o))),s?e=n&&n.normalize?n.normalize(e,(i=o,function(e){return l(e,i)})):l(e,o):(s=(r=c(e=l(e,o)))[0],e=r[1],s&&(n=D(s))),{f:s?s+"!"+e:e,n:e,pr:s,p:n}},g={require:function(e){return x(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:(t=e,function(){return y&&y.config&&y.config[t]||{}})};var t}},s=function(e,t,n,i){var r,s,o,a,l,c,u,d=[],p=typeof n;if(c=S(i=i||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(s=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===s)d[l]=g.exports(e),u=!0;else if("module"===s)r=d[l]=g.module(e);else if(w(m,s)||w(v,s)||w(_,s))d[l]=D(s);else{if(!a.p)throw new Error(e+" missing "+s);a.p.load(a.n,x(i,!0),A(s),{}),d[l]=m[s]}o=n?n.apply(m[e],d):void 0,e&&(r&&r.exports!==h&&r.exports!==m[e]?m[e]=r.exports:o===h&&u||(m[e]=o))}else e&&(m[e]=n)},t=n=o=function(e,t,n,i,r){if("string"==typeof e)return g[e]?g[e](t):D(f(e,S(t)).f);if(!e.splice){if((y=e).deps&&o(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?s(h,e,t,n):setTimeout(function(){s(h,e,t,n)},4),o},o.config=function(e){return o(e)},t._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),w(m,e)||w(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=u||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(s){var r={};function u(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}r.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r.Decorate=function(i,r){var e=u(r),t=u(i);function s(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}r.displayName=i.displayName,s.prototype=new function(){this.constructor=s};for(var n=0;n<t.length;n++){var o=t[n];s.prototype[o]=i.prototype[o]}function a(e){var t=function(){};e in s.prototype&&(t=s.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];s.prototype[c]=a(c)}return s};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1
vendor: 11,139 bytes, line 2488
2488);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var s=n[r];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),r==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=s(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null!=t||(t=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+r.generateChars(4),e.setAttribute("data-select2-id",t)),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:s(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute("class").trim().split(/\s+/);n=n.filter(function(e){return 0===e.indexOf("select2-")});var i=t.getAttribute("class").trim().split(/\s+/);i=i.filter(function(e){return 0!==e.indexOf("select2-")});var r=n.concat(i);e.setAttribute("class",r.join(" "))},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=e.map(function(e){return e.id.toString()});t.$results.find(".select2-results__option--selectable").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<i.indexOf(n)?(this.classList.add("select2-results__option--selected"),e.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),e.attr("aria-selected","false"))})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.classList.add("select2-results__option"),t.classList.add("select2-results__option--selectable");var n={role:"option"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(n["aria-disabled"]="true",t.classList.remove("select2-results__option--selectable"),t.classList.add("select2-results__option--disabled")),null==e.id&&t.classList.remove("select2-results__option--selectable"),null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,t.classList.remove("select2-results__option--selectable"),t.classList.add("select2-results__option--group")),n){var s=n[r];t.setAttribute(r,s)}if(e.children){var o=h(t),a=document.createElement("strong");a.className="select2-results__group",this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),o.append(a),o.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");e.hasClass("select2-results__option--selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find(".select2-results__option--selectable"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var s=l.$results.offset().top,o=r.offset().top,a=l.$results.scrollTop()+(o-s);0===i?l.$results.scrollTop(0):o-s<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find(".select2-results__option--selectable"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),s=i.offset().top+i.outerHeight(!1),o=l.$results.scrollTop()+s-r;0===n?l.$results.scrollTop(0):r<s&&l.$results.scrollTop(o)}}),t.on("results:focus",function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(e){var t=h(this),n=f.GetData(this,"data");t.hasClass("select2-results__option--selected")?l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{}):l.trigger("select",{originalEvent:e,data:n})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),l.trigger("results:focus",{data:t,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(".select2-results__option--selectable").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),s=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function s(e,t){this.$element=e,this.options=t,s.__super__.constructor.call(this)}return i.Extend(s,i.Observable),s.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},s.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","fal
2488se"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},s.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},s.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},s.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},s.prototype.position=function(e,t){t.find(".selection").append(e)},s.prototype.destroy=function(){this._detachCloseHandler(this.container)},s.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,d){function s(e,t){s.__super__.constructor.apply(this,arguments)}return d.Extend(s,e),s.prototype.render=function(){var e=s.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},s.prototype.bind=function(e,t){var i=this;s.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.isDisabled()){var t=r(this).parent(),n=d.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){i.isDisabled()||e.stopPropagation()})},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},s.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},s.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>')},s.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",i=0;i<e.length;i++){var r=e[i],s=this.selectionContainer(),o=this.display(r,s),a=n+d.generateChars(4)+"-";r.id?a+=r.id:a+=d.generateChars(4),s.find(".select2-selection__choice__display").append(o).attr("id",a);var l=r.title||r.text;l&&s.attr("title",l);var c=this.options.get("translations").get("removeItem"),u=s.find(".select2-selection__choice__remove");u.attr("title",c()),u.attr("aria-label",c()),u.attr("aria-describedby",a),d.StoreData(s[0],"data",r),t.pu
vendor: 10,565 bytes, line 2488
2488sh(s)}this.$selection.find(".select2-selection__rendered").append(t)}},s}),e.define("select2/selection/placeholder",[],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice"),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(s,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(r);else{for(var o=0;o<i.length;o++)if(s={data:i[o]},this.trigger("unselect",s),s.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),this.$selection.find(".select2-selection__clear").remove(),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.$selection.find(".select2-selection__rendered").attr("id"),i=this.options.get("translations").get("removeAllItems"),r=s('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>');r.attr("title",i()),r.attr("aria-label",i()),r.attr("aria-describedby",n),a.StoreData(r[0],"data",t),this.$selection.prepend(r)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,l,c){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<span class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');this.$searchContainer=t,this.$search=t.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete"));var n=e.call(this);return this._transferTabIndex(),n.append(this.$searchContainer),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results",s=t.id+"-container";e.call(this,t,n),i.$search.attr("aria-describedby",s),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.resizeSearch(),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===c.BACKSPACE&&""===i.$search.val()){var t=i.$selection.find(".select2-selection__choice").last();if(0<t.length){var n=l.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,a=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){a?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(a&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=c.SHIFT&&t!=c.CTRL&&t!=c.ALT&&t!=c.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em");this.$search.css("width",e)},e}),e.define("select2/selection/selectionCss",["../utils"],function(i){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("selectionCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),i.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(n),t},e}),e.define("select2/selection/eventRelay",["jquery"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==r.indexOf(e)){t=t||{};var n=o.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==s.indexOf(e)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
2488V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}}),e.define("select2/data/base",["../utils"],function(i){function n(e,t){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,l,c){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return l.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(c(e))}))},n.prototype.select=function(r){var s=this;if(r.selected=!0,null!=r.element&&"option"===r.element.tagName.toLowerCase())return r.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===t.indexOf(i)&&t.push(i)}s.$element.val(t),s.$element.trigger("input").trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(r){var s=this;if(this.$element.prop("multiple")){if(r.selected=!1,null!=r.element&&"option"===r.element.tagName.toLowerCase())return r.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===t.indexOf(i)&&t.push(i)}s.$element.val(t),s.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){l.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],s=this;this.$element.children().each(function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var e=c(this),t=s.item(e),n=s.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){this.$element.append(e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=this._normalizeItem(e);return n.element=t,l.StoreData(t,"data",n),c(t)},n.prototype.item=function(e){var t={};if(null!=(t=l.GetData(e[0],"data")))return t;var n=e[0];if("option"===n.tagName.toLowerCase())t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if("optgroup"===n.tagName.toLowerCase()){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],s=0;s<i.length;s++){var o=c(i[s]),a=this.item(o);r.push(a)}t.children=r}return(t=this._normalizeItem(t)).element=e[0],l.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=c.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),c.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,t,f){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(f(this)).id}).get(),r=[];function s(e){return function(){return f(this).val()==e.id}}for(var o=0;o<e.length;o++){var a=this._normalizeItem(e[o]);if(0<=i.indexOf(a.id)){var l=n.filter(s(a)),c=this.item(l),u=f.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);p.append(h)}r.push(p)}}return r},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,s){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return s.extend({},e,{q:e.term})},transport:function(e,t,n){var i=s.ajax(e);return i.then(t),i.fail(n),i}};return s.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){var r=this;null!=this._request&&(s.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=s.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&Array.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var s=n.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,t,n),Array.isArray(i))for(var o=0;o<i.length;
vendor: 9,145 bytes, line 2488
2488o++){var a=i[o],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var i=t.results,r=0;r<i.length;r++){var s=i[r],o=null!=s.children&&!e({results:s.children},!0);if((s.text||"").toUpperCase()===(c.term||"").toUpperCase()||o)return!n&&(t.data=i,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(i,a)}t.results=i,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){if(null==t.term)return null;var n=t.term.trim();return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var r=this;t.term=t.term||"";var i=this.tokenizer(t,this.options,function(e){var t,n=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){return d(this).val()===n.id}).length){var i=r.option(n);i.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([i])}t=n,r.trigger("select",{data:t})});i.term!==t.term&&(this.$search.length&&(this.$search.val(i.term),this.$search.trigger("focus")),t.term=i.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],s=t.term,o=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};o<s.length;){var l=s[o];if(-1!==r.indexOf(l)){var c=s.substr(0,o),u=a(d.extend({},t,{term:c}));null!=u?(i(u),s=s.substr(o+1)||"",o=0):o++}else o++}return{term:s}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery"],function(s){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=s('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),t.prepend(n),t},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){s(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer[0].classList.remove("select2-search--hide"):i.$searchContainer[0].classList.add("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.
2488select2."+t.id,r="resize.select2."+t.id,s="orientationchange.select2."+t.id,o=this.$container.parents().filter(a.hasScroll);o.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),o.on(i,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(i+" "+r+" "+s,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var o=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<r.top-o,u=l>r.bottom+o,d={left:r.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(i="below"),u||!c||t?!c&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=s.top-h.top-o),null!=i&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+i),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+i)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=s.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/dropdown/dropdownCss",["../utils"],function(i){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),i.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(n),t},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"Keine Ergebnisse"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"}}}),e.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./i18n/en"],function(l,s,o,a,c,u,d,p,h,f,g,t,m,v,y,_,b,$,w,x,A,D,S,E,O,C,L,T,q,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=l.extend(!0,{},this.defaults,e)).dataAdapter&&(null!=e.ajax?e.dataAdapter=y:null!=e.data?e.dataAdapter=v:e.dataAdapter=m,0<e.minimumInputLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,$)),0<e.maximumInputLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,w)),0<e.maximumSelectionLength&&(e.dataAdapter=f.Decorate(e.dataAdapter,x)),e.tags&&(e.dataAdapter=f.Decorate(e.dataAdapter,_)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=f.Decorate(e.dataAdapter,b))),null==e.resultsAdapter&&(e.resultsAdapter=s,null!=e.ajax&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,E)),null!=e.placeholder&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,S)),e.selectOnClose&&(e.resultsAdapter=f.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=A;else{var t=f.Decorate(A,D);e.dropdownAdapter=t}0!==e.minimumResultsForSearch&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,C)),e.closeOnSelect&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,T)),null!=e.dropdownCssClass&&(e.dropdownAdapter=f.Decorate(e.dropdownAdapter,q)),e.dropdownAdapter=f.Decorate(e.dropdownAdapter,O)}null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=a:e.selectionAdapter=o,null!=e.placeholder&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,c)),e.allowClear&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,u)),e.multiple&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,d)),null!=e.selectionCssClass&&(e.selectionAdapter=f.Decorate(e.selectionAdapter,p)),e.selectionAdapter=f.Decorate(e.selectionAdapter,h)),e.language=this._resolveLanguage(e.language),e.language.push("en");for(var n=[],i=0;i<e.language.length;i++){var r=e.language[i];-1===n.indexOf(r)&&n.push(r)}return e.language=n,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u
vendor: 14,225 bytes, lines 2488-2493
24880000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:f.escapeMarkup,language:{},matcher:function e(t,n){if(null==t.term||""===t.term.trim())return n;if(n.children&&0<n.children.length){for(var i=l.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==e(t,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:e(t,i)}var s=a(n.text).toUpperCase(),o=a(t.term).toUpperCase();return-1<s.indexOf(o)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),s=t.closest("[lang]").prop("lang"),o=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(s));return e.language=o,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(l.isEmptyObject(e))return[];if(l.isPlainObject(e))return[e];var t;t=Array.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},n.prototype._processTranslations=function(e,t){for(var n=new g,i=0;i<e.length;i++){var r=new g,s=e[i];if("string"==typeof s)try{r=g.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s,r=g.loadPath(s)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else r=l.isPlainObject(s)?new g(s):s;n.extend(r)}return n},n.prototype.set=function(e,t){var n={};n[l.camelCase(e)]=t;var i=f._convertData(n);l.extend(!0,this.defaults,i)},new n}),e.define("select2/options",["jquery","./defaults","./utils"],function(d,n,p){function e(e,t){this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=n.applyFromElement(this.options,t)),this.options=n.apply(this.options)}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.autocomplete&&e.prop("autocomplete")&&(this.options.autocomplete=e.prop("autocomplete")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var s=e[0].attributes[r].name,o="data-";if(s.substr(0,o.length)==o){var a=s.substring(o.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,i)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<t.indexOf(u)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,c,u,i){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var s=this.options.get("selectionAdapter");this.selection=new s(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var o=this.options.get("dropdownAdapter");this.dropdown=new o(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e[0].classList.add("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var s=e.attr("style");if("string"!=typeof s)return null;for(var o=s.split(";"),a=0,l=o.length;a<l;a+=1){var c=o[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(e){t._syncA(),t._syncS(e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===i.indexOf(e)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container[0].classList.add("select2-container--open")}),this.on("close",function(){n.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){n.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){n.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){n.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(e),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&0<e.addedNodes.length)for(var n=0;n<e.addedNodes.length;n++){if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&0<e.removedNodes.length)return!0;if(Array.isArray(e))return e.some(function(e){return t._isChangeMutation(e)})}return!1},d.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current(function(e){n.trigger("selection:update",{data:e})})},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},d.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},d.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map(function(e){return e.toString()})),this.$element.val(t).trigger("input").trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("jquery-mousewheel",["jquery"],function(e){return e}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,s,t,o){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new s(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<a.indexOf(t)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),s}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return u.fn.select2.amd=e,t}); 2489 2490 2491wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 2492 2493(function(window,document,$,undefined){var allDialCodes=[];var dialCodeMaxLen=0;var geoCountry='us';var allCountries=[["Afghanistan (â«Ø§ÙØºØ§ÙØ³ØªØ§Ùâ¬â)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (â«Ø§Ùجزائرâ¬â)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (ÕÕ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austr
2493ia (Ãsterreich)","at","43"],["Azerbaijan (AzÉrbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (â«Ø§ÙØ¨ØØ±ÙÙâ¬â)","bh","973"],["Bangladesh (বাà¦à¦²à¦¾à¦¦à§à¦¶)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (ÐелаÑÑÑÑ)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འà½à¾²à½´à½)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (ÐоÑна и ХеÑÑеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (ÐÑлгаÑиÑ)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (ááááá»áá¶)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (ä¸å½)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (â«Ø¬Ø²Ø± اÙÙÙ
رâ¬â)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte dâIvoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (ÎÏÏÏοÏ)","cy","357"],["Czech Republic (Äeská republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (â«Ù
صرâ¬â)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (á¡áá¥áá ááááá)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Îλλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (馿¸¯)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ãsland)","is","354"],["India (à¤à¤¾à¤°à¤¤)","in","91"],["Indonesia","id","62"],["Iran (â«Ø§ÛراÙâ¬â)","ir","98"],["Iraq (â«Ø§ÙعراÙâ¬â)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (â«×שר××â¬â)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (æ¥æ¬)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (â«Ø§ÙأردÙâ¬â)","jo","962"],["Kazakhstan (ÐазаÑ
ÑÑан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (â«Ø§ÙÙÙÙØªâ¬â)","kw","965"],["Kyrgyzstan (ÐÑÑгÑзÑÑан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (â«ÙØ¨ÙØ§Ùâ¬â)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (â«ÙÙØ¨Ùاâ¬â)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (æ¾³é)","mo","853"],["Macedonia (FYROM) (ÐакедониÑа)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (â«Ù
ÙØ±ÙتاÙÙØ§â¬â)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Ðонгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (â«Ø§ÙÙ
غربâ¬â)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (áá¼ááºáá¬)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नà¥à¤ªà¤¾à¤²)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (ì¡°ì 민주주ì ì¸ë¯¼ ê³µíêµ)","kp","850"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (â«Ø¹ÙÙ
اÙâ¬â)","om","968"],["Pakistan (â«Ù¾Ø§Ú©Ø³ØªØ§Ùâ¬â)","pk","92"],["Palau","pw","680"],["Palestine (â«ÙÙØ³Ø·ÙÙâ¬â)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (â«Ùطرâ¬â)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (РоÑÑиÑ)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and PrÃncipe (São Tomé e PrÃncipe)","st","239"],["Saudi Arabia (â«Ø§ÙÙ
Ù
ÙÙØ© Ø§ÙØ¹Ø±Ø¨ÙØ© Ø§ÙØ³Ø¹ÙØ¯ÙØ©â¬â)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (СÑбиÑа)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["S
2493omalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (ëí민êµ)","kr","82"],["South Sudan (â«Ø¬ÙÙØ¨ Ø§ÙØ³ÙداÙâ¬â)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (à·à·âර෠ලà¶à¶à·à·)","lk","94"],["Sudan (â«Ø§ÙØ³ÙØ¯Ø§Ùâ¬â)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (â«Ø³ÙØ±ÙØ§â¬â)","sy","963"],["Taiwan (å°ç£)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (à¹à¸à¸¢)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (â«ØªÙÙØ³â¬â)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (УкÑаÑна)","ua","380"],["United Arab Emirates (â«Ø§Ùإ٠ارات Ø§ÙØ¹Ø±Ø¨ÙØ© اÙÙ ØªØØ¯Ø©â¬â)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (OÊ»zbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Viá»t Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (â«Ø§ÙØµØØ±Ø§Ø¡ Ø§ÙØºØ±Ø¨ÙØ©â¬â)","eh","212",1,["5288","5289"]],["Yemen (â«Ø§ÙÙÙ Ùâ¬â)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["à land Islands","ax","358",1,["18"]]];for(var i=0;i<allCountries.length;i++){var c=allCountries[i];allCountries[i]={text:c[0],id:c[1],dialCode:c[2],priority:c[3]||0,areaCodes:c[4]||null};allDialCodes.push(c[2]);if(dialCodeMaxLen<c[2].length){dialCodeMaxLen=c[2].length}} 2494"use strict";const getDialcode=(number)=>{var dialCode='';if(number.charAt(0)==="+"){var numericChars="";for(var i=0;i<number.length;i++){var c=number.charAt(i);if(!isNaN(parseInt(c,10))){numericChars+=c;if(allDialCodes.includes(numericChars)){dialCode=numericChars;break} 2495if(numericChars.length===dialCodeMaxLen){break}}}} 2496return dialCode} 2497function updateInputValue(code,element){let currentValue=$(element).val();if(!currentValue){} 2498if(currentValue.charAt(0)!=="+"){$(element).val("+"+code+" "+$(element).val())}else{}};const countrySelector={init(el,location,rtl_layout){this.temp_id=temp_id;this.wrapper=null;this.thisElement=$(el)[0];this.geoCountryCode=location;this.setCountry=!0;this.createWrapper(this.thisElement);this.test(this.temp_id);temp_id+=1;if(rtl_layout==!0)$(el).css('padding-right','52px');else $(el).css('padding-left','52px')},preset(){var mainElement=this.thisElement;var mainWrapper=this.wrapper;if($(mainWrapper).find('.iti__selected-flag .iti__flag').hasClass('iti__us')){mainElement.value='+1 '+mainElement.value;return}else{let clist=$(mainWrapper).find('.iti__selected-flag .iti__flag')[0].className.split(/\s+/);if(clist.length>1){let countryCode=clist.filter((cc)=>{return cc!=='iti__flag'});let existingIso=countryCode[0].replace(/iti__/,'');let country=allCountries.filter((v)=>{return v.id==existingIso});mainElement.value='+'+country[0].dialCode+' '+mainElement.value;return}} 2499let value=mainElement.value;
2499let code=getDialcode(value.replace(/\s/g,''),!1);let len=code.length+1;let s=`(.{${len}})(.*)$`;let placeRegex=new RegExp(s,'g');mainElement.value=mainElement.value.replace(/[^\dA-Z\+]/g,'').replace(placeRegex,'$1 $2').trim();if(value==''){setCountry=!0} 2500let country=allCountries.filter((v)=>{return v.dialCode==code});if(code&&country[0]){if(setCountry){$(mainWrapper).find('.iti__selected-flag .iti__flag').removeClass().addClass('iti__flag iti__'+country[0].id);code=code.replace(/[^0-9]/g,'');let currentValue=$(mainElement).val();if(currentValue.charAt(0)!=="+"){$(mainElement).val("+"+code+" "+$(mainElement).val())} 2501$(mainWrapper).find(".wdt_intl_dropdown").addClass('iti__hide');setCountry=!1}}},createWrapper(element){let wrapper=document.createElement('div');wrapper.className='iti iti--allow-dropdown';wrapper.id='iti_element_id_'+this.temp_id;element.parentNode.insertBefore(wrapper,element);element.dataset.itl_id=this.temp_id;this.createFlagWrapper(wrapper,element);this.addFlagElements(wrapper);this.wrapper=wrapper},createFlagWrapper(wrapper,element){let selectWrapper=document.createElement('div');selectWrapper.className='iti__flag-container';selectWrapper.innerHTML='<div class="iti__selected-flag"><div class="iti__flag iti__'+this.geoCountryCode+'"></div><div class="iti__arrow iti__arrow--down"></div></div><div class="wdt_intl_dropdown iti__hide"><ul class="iti__country-list" name="country"><li class="iti__country iti__standard filter_input_box"><span><input name="filter_country" class="filter_country" autocomplete="off" placeholder="'+af2_frontend_ajax.strings.country_search_placeholder+'"></span></li></ul></div>';$(wrapper).prepend(selectWrapper)},addFlagElements(wrapper){allCountries.map((el)=>{let li=document.createElement('li');li.classList='iti__country iti__standard';li.dataset.country_code=el.id;li.dataset.dial_code=el.dialCode;li.dataset.countryname=el.text;li.innerHTML='<div class="iti__flag-box"><div class="iti__flag iti__'+el.id+'"></div></div>';li.innerHTML+='<span class="iti__country-name">'+el.text+'</span>';li.innerHTML+='<span class="iti__dial-code">+'+el.dialCode+'</span>';$(wrapper).find('.iti__country-list').append($(li))})},setCountryCode(a,b,type){$(this.wrapper).find('.iti__selected-flag .iti__flag').removeClass().addClass('iti__flag iti__'+a);b=b.replace(/[^0-9]/g,'');if(type=='click'){} 2502$(this.wrapper).find(".wdt_intl_dropdown").addClass('iti__hide')},test(){var mainElement=this.thisElement;var mainWrapper=this.wrapper;var main_id=this.temp_id;var setCountryCode=this.setCountryCode;var setCountry=this.setCountry;$(this.wrapper).on('click','.iti__selected-flag',function(e){$(document).find(mainWrapper).find('.wdt_intl_dropdown').toggleClass('iti__hide');if($(mainWrapper).find('.wdt_intl_dropdown').hasClass('iti__hide')==!1){$(mainWrapper).find('.wdt_intl_dropdown .filter_country').focus()}});$(document).mouseup(function(e){var container=$(mainWrapper).find(".wdt_intl_dropdown");if(!container.is(e.target)&&container.has(e.target).length===0){container.addClass('iti__hide')}});$(document).on("keydown",function(e){if(e.keyCode===27){$(document).find(mainWrapper).find('.wdt_intl_dropdown').toggleClass('iti__hide')}});$(this.wrapper).on('input','.wdt_intl_dropdown .filter_country',function(e){var value=this.value;var lists=$(mainWrapper).find('.iti__country-list');lists.each(function(i,e){var li=$(e).find('li:not(.filter_input_box)');li.each(function(i,el){let a=$(el).attr('data-countryname');let b=$(el).attr('data-dial_code');if((a.toUpperCase().indexOf(value.toUpperCase())>-1)||(b.toUpperCase().indexOf(value.toUpperCase())>-1)){$(el).removeClass('iti__hide')}else{$(el).addClass('iti__hide')}})})});$(this.wrapper).on('click','.iti__country-list li.iti__country:not(.filter_input_box)',function(e){let a=$(e.currentTarget).attr('data-country_code');let b=$(e.currentTarget).attr('data-dial_code');$(mainWrapper).find('.iti__selected-flag .iti__flag').removeClass().addClass('iti__flag iti__'+a);b=b.replace(/[^0-9]/g,'');let currentValue=$(mainElement).val();if(!currentValue){}
2503if(currentValue.charAt(0)!=="+"){$(mainElement).val("+"+b+" "+$(mainElement).val())}else{$(mainElement).val("+"+b+" ")} 2504$(mainWrapper).find(".wdt_intl_dropdown").addClass('iti__hide');$(mainElement).focus()});$(mainElement).on('input',function(e){if(mainElement!==e.target)return;if($(this).val()!==''&&$(this).val().charAt(0)!=='+'){if($(mainWrapper).find('.iti__selected-flag .iti__flag').hasClass('iti__us')){e.target.value='+1 '+e.target.value;return}else{let clist=$(mainWrapper).find('.iti__selected-flag .iti__flag')[0].className.split(/\s+/);if(clist.length>1){let countryCode=clist.filter((cc)=>{return cc!=='iti__flag'});let existingIso=countryCode[0].replace(/iti__/,'');let country=allCountries.filter((v)=>{return v.id==existingIso});e.target.value='+'+country[0].dialCode+' '+e.target.value;return}}} 2505let value=e.target.value;let code=getDialcode(value.replace(/\s/g,''),!1);let len=code.length+1;let s=`(.{${len}})(.*)$`;let placeRegex=new RegExp(s,'g');e.target.value=e.target.value.replace(/[^\dA-Z\+]/g,'').replace(placeRegex,'$1 $2').trim();if(value==''){setCountry=!0} 2506let country=allCountries.filter((v)=>{return v.dialCode==code});if(code&&country[0]){if(setCountry){$(mainWrapper).find('.iti__selected-flag .iti__flag').removeClass().addClass('iti__flag iti__'+country[0].id);code=code.replace(/[^0-9]/g,'');let currentValue=$(mainElement).val();if(!currentValue){} 2507if(currentValue.charAt(0)!=="+"){$(mainElement).val("+"+code+" "+$(mainElement).val())}else{} 2508$(mainWrapper).find(".wdt_intl_dropdown").addClass('iti__hide');setCountry=!1}}})}};var temp_id=0;$.fn.intlTelInputSelect2=function(options,rtl_layout){var selectorElement=this;if(options.geoIpLookup==!0){let country=$.ajax({url:'https://ipinfo.io',dataType:"jsonp",async:!1,success:function(resp){let countryCode=(resp&&resp.country)?resp.country:"us";geoCountry=countryCode.toLowerCase();countrySelector.init(selectorElement,geoCountry,rtl_layout);countrySelector.preset()}})}else{countrySelector.init(selectorElement,'us',rtl_layout)}}}(window,document,jQuery)); 2509 2510 2511wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.