PageSourceSearch

https://capsule.umk.edu.my/portal-x/assets/plugins/global/plugins.bundle.min.js

js umk.edu.my collected 2026-10-01 11:37:33 UTC 2,485,123 bytes, 1 lines download raw bytes

1!function(i){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=i,r.c=n,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}({
1"../demo5/src/js/vendors/plugins/bootstrap-datepicker.init.js":function(e,t,i){"use strict";$.fn.datepicker.defaults.zIndexOffset=10},
1"../demo5/src/js/vendors/plugins/bootstrap-markdown.init.js":function(e,t,i){"use strict";$.fn.markdown.defaults.iconlibrary="fa",$.fn.markdown.defaults.buttons[0][0].data[2].icon.fa="fa fa-heading",$.fn.markdown.defaults.buttons[0][1].data[1].icon.fa="fa fa-image",$.fn.markdown.defaults.buttons[0][2].data[1].icon.fa="fa fa-list-ol"},
1"../demo5/src/js/vendors/plugins/bootstrap-notify.init.js":function(e,t){$.notifyDefaults({template:'<div data-notify="container" class="alert alert-{0}" role="alert"><button type="button" aria-hidden="true" class="close" data-notify="dismiss"></button><span data-notify="icon"></span><span data-notify="title">{1}</span><span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-animated bg-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div>'})},
1"../demo5/src/js/vendors/plugins/bootstrap-switch.init.js":function(e,t){},
1"../demo5/src/js/vendors/plugins/bootstrap-timepicker.init.js":function(e,t,i){"use strict";$.fn.timepicker.defaults=$.extend(!0,{},$.fn.timepicker.defaults,{icons:{up:"ki ki-arrow-up",down:"ki ki-arrow-down"}})},
1"../demo5/src/js/vendors/plugins/dropzone.init.js":function(e,t){Dropzone.autoDiscover=!1},
1"../demo5/src/js/vendors/plugins/sweetalert2.init.js":function(e,t,i){"use strict";swal.mixin({width:400,heightAuto:!1,padding:"2.5rem",buttonsStyling:!1,confirmButtonClass:"btn btn-success",confirmButtonColor:null,cancelButtonClass:"btn btn-secondary",cancelButtonColor:null})},
1"../demo5/src/js/vendors/plugins/tempusdominus-bootstrap-4.init.js":function(e,t){$.fn.datetimepicker.Constructor.Default=$.extend({},$.fn.datetimepicker.Constructor.Default,{icons:{time:"ki ki-clock",date:"ki ki-calendar",up:"ki ki-arrow-up",down:"ki ki-arrow-down",previous:"ki ki-arrow-back",next:"ki ki-arrow-next",today:"ki ki-calendar-today",clear:"ki ki-close",close:"ki ki-close"}})},
1"../demo5/src/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.min.js":function(e,t){!function(o){"use strict";function a(e,t){this.init("multiselectsplitter",e,t)}a.DEFAULTS={selectSize:null,maxSelectSize:null,clearOnFirstChange:!1,onlySameGroup:!1,groupCounter:!1,maximumSelected:null,afterInitialize:null,maximumAlert:function(e){alert("Only "+e+" values can be selected")},createFirstSelect:function(e,t){return"<option>"+e+"</option>"},createSecondSelect:function(e,t){return"<option>"+e+"</option>"},template:'<div class="row" data-multiselectsplitter-wrapper-selector><div class="col-xs-6 col-sm-6"><select class="form-control" data-multiselectsplitter-firstselect-selector></select></div> \x3c!-- Add the extra clearfix for only the required viewport --\x3e<div class="col-xs-6 col-sm-6"><select class="form-control" data-multiselectsplitter-secondselect-selector></select></div></div>'},a.prototype.init=function(e,t,i){var n=this,r=(n.type=e,n.last$ElementSelected=[],n.initialized=!1,n.$element=o(t),n.$element.hide(),n.options=o.extend({},a.DEFAULTS,i),n.$element.after(n.options.template),n.$wrapper=n.$element.next("div[data-multiselectsplitter-wrapper-selector]"),n.$firstSelect=o("select[data-multiselectsplitter-firstselect-selector]",n.$wrapper),n.$secondSelect=o("select[data-multiselectsplitter-secondselect-selector]",n.$wrapper),0),s=0;0!=n.$element.find("optgroup").length&&(n.$element.find("optgroup").each(function(){var e=o(this).attr("label"),t=o(n.options.createFirstSelect(e,n.$element)),e=(t.val(e),t.attr("data-current-label",t.text()),n.$firstSelect.append(t),o(this).find("option").length);s<e&&(s=e),r++}),e=Math.max(r,s),e=Math.min(e,10),n.options.selectSize?e=n.options.selectSize:n.options.maxSelectSize&&(e=Math.min(e,n.options.maxSelectSize)),n.$firstSelect.attr("size",e),n.$secondSelect.attr("size",e),n.$element.attr("multiple")&&n.$secondSelect.attr("multiple","multiple"),n.$element.is(":disabled")&&n.disable(),n.$firstSelect.on("change",o.proxy(n.updateParentCategory,n)),n.$secondSelect.on("click change",o.proxy(n.updateChildCategory,n)),n.update=function(){var e;n.$element.find("option").length<1||(e=((e=n.$element.find("option:selected:first")).length?e:n.$element.find("option:first")).parent().attr("label"),n.$firstSelect.find('option[value="'+e+'"]').prop("selected",!0),n.$firstSelect.trigger("change"))},n.update(),n.initialized=!0,n.options.afterInitialize&&n.options.afterInitialize(n.$firstSelect,n.$secondSelect))},a.prototype.disable=function(){this.$secondSelect.prop("disabled",!0),this.$firstSelect.prop("disabled",!0)},a.prototype.enable=function(){this.$secondSelect.prop("disabled",!1),this.$firstSelect.prop("disabled",!1)},a.prototype.createSecondSelect=function(){var s=this;s.$secondSelect.empty(),o.each(s.$element.find('optgroup[label="'+s.$firstSelect.val()+'"] option'),function(e,t){var i=o(this).val(),n=o(this).text(),r=o(s.options.createSecondSelect(n,s.$firstSelect));r.val(i),o.each(s.$element.find("option:selected"),function(e,t){o(t).val()==i&&r.prop("selected",!0)}),s.$secondSelect.append(r)})},a.prototype.updateParentCategory=function(){var e=this;e.last$ElementSelected=e.$element.find("option:selected"),e.options.clearOnFirstChange&&e.initialized&&e.$element.find("option:selected").prop("selected",!1),e.createSecondSelect(),e.checkSelected(),e.updateCounter()},a.prototype.updateCounter=function(){var r=this;r.$element.attr("multiple")&&r.options.groupCounter&&o.each(r.$firstSelect.find("option"),function(e,t){var i=o(t).val(),n=o(t).data("currentLabel"),i=r.$element.find('optgroup[label="'+i+'"] option:selected').length;0<i&&(n+=" ("+i+")"),o(t).html(n)})},a.prototype.checkSelected=function(){var e,i,t=this;t.$element.attr("multiple")&&t.options.maximumSelected&&(i=0,(i="function"==typeof t.options.maximumSelected?t.options.maximumSelected(t.$firstSelect,t.$secondSelect):t.options.maximumSelected)<1||t.$element.find("option:selected").length>i&&(t.$firstSelect.find("option:selected").prop("selected",!1),t.$secondSelect.find("option:selected").prop("selected",!1),t.initialized?(t.$element.find("option:selected").prop("selected",!1),t.last$ElementSelected.prop("selected",!0)):o.each(t.$element.find("option:selected"),function(e,t){i-1<e&&o(t).prop("selected",!1)}),e=t.last$ElementSelected.first().parent().attr("label"),t.$firstSelect.find('option[value="'+e+'"]').prop("selected",!0),t.createSecondSelect(),t.options.maximumAlert(i)))},a.prototype.basicUpdateChildCategory=function(e,t){var i=this,n=(i.last$ElementSelected=i.$element.find("option:selected"),i.$secondSelect.val()),r=(o.isArray(n)||(n=[n]),i.$firstSelect.val()),s=!1;i.$element.attr("multiple")?i.options.onlySameGroup?o.each(i.$element.find("option:selected"),function(e,t){if(o(t).parent().attr("label")!=r)return!(s=!0)}):t||(s=!0):s=!0,s?i.$element.find("option:selected").prop("selected",!1):o.each(i.$element.find("option:selected"),function(e,t){r==o(t).parent().attr("label")&&-1==o.inArray(o(t).val(),n)&&o(t).prop("selected",!1)}),o.each(n,function(e,t){i.$element.find('option[value="'+t+'"]').prop("selected",!0)}),i.checkSelected(),i.updateCounter(),i.$element.trigger("change")},a.prototype.updateChildCategory=function(e){"change"==e.type?this.timeOut=setTimeout(o.proxy(function(){this.basicUpdateChildCategory(e,e.ctrlKey)},this),10):"click"==e.type&&(clearTimeout(this.timeOut),this.basicUpdateChildCategory(e,e.ctrlKey))},a.prototype.destroy=function(){this.$wrapper.remove(),this.$element.removeData(this.type),this.$element.show()},o.fn.multiselectsplitter=function(i){return this.each(function(){var e=o(this),t=e.data("multiselectsplitter");!t&&"destroy"==i||(t||e.data("multiselectsplitter",t=new a(this,"object"==typeof i&&i)),"string"==typeof i&&t[i]())})},o.fn.multiselectsplitter.Constructor=a,o.fn.multiselectsplitter.VERSION="1.0.1"}(jQuery)},
1"../demo5/src/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.min.js":function(e,t){!function(c){"use strict";c.sessionTimeout=function(e){function t(){clearTimeout(i),(o.countdownMessage||o.countdownBar)&&r("session",!0),"function"==typeof o.onStart&&o.onStart(o),o.keepAlive&&!l&&(c.ajax({type:o.ajaxType,url:o.keepAliveUrl,data:o.ajaxData}),l=!0,setTimeout(function(){l=!1},o.keepAliveInterval)),i=setTimeout(function(){"function"!=typeof o.onWarn?c("#session-timeout-dialog").modal("show"):o.onWarn(o),clearTimeout(i),c("#session-timeout-dialog").hasClass("in")||!o.countdownMessage&&!o.countdownBar||r("dialog",!0),i=setTimeout(function(){"function"!=typeof o.onRedir?window.location=o.redirUrl:o.onRedir(o)},o.redirAfter-o.warnAfter)},o.warnAfter)}function r(e,t){clearTimeout(a.timer),"dialog"===e&&t?a.timeLeft=Math.floor((o.redirAfter-o.warnAfter)/1e3):"session"===e&&t&&(a.timeLeft=Math.floor(o.redirAfter/1e3)),o.countdownBar&&"dialog"===e?a.percentLeft=Math.floor(a.timeLeft/((o.redirAfter-o.warnAfter)/1e3)*100):o.countdownBar&&"session"===e&&(a.percentLeft=Math.floor(a.timeLeft/(o.redirAfter/1e3)*100));var i,t=c(".countdown-holder"),n=0<=a.timeLeft?a.timeLeft:0;o.countdownSmart?(0<(i=0<(i=Math.floor(n/60))?i+"m":"").length&&(i+=" "),t.text(i+=n%60+"s")):t.text(n+"s"),o.countdownBar&&c(".countdown-bar").css("width",a.percentLeft+"%"),a.timeLeft=a.timeLeft-1,a.timer=setTimeout(function(){r(e)},1e3)}var i,n,s={title:"Your Session is About to Expire!",message:"Your session is about to expire.",logoutButton:"Logout",keepAliveButton:"Stay Connected",keepAliveUrl:"/keep-alive",ajaxType:"POST",ajaxData:"",redirUrl:"/timed-out",logoutUrl:"/log-out",warnAfter:9e5,redirAfter:12e5,keepAliveInterval:5e3,keepAlive:!0,ignoreUserActivity:!1,onStart:!1,onWarn:!1,onRedir:!1,countdownMessage:!1,countdownBar:!1,countdownSmart:!1},o=s,a={};if((o=e?c.extend(s,e):o).warnAfter>=o.redirAfter)return console.error('Bootstrap-session-timeout plugin is miss-configured. Option "redirAfter" must be equal or greater than "warnAfter".'),!1;"function"!=typeof o.onWarn&&(s=o.countdownMessage?"<p>"+o.countdownMessage.replace(/{timer}/g,'<span class="countdown-holder"></span>')+"</p>":"",e=o.countdownBar?'<div class="progress">                   <div class="progress-bar progress-bar-striped countdown-bar active" role="progressbar" style="min-width: 15px; width: 100%;">                     <span class="countdown-holder"></span>                   </div>                 </div>':"",c("body").append('<div class="modal fade" id="session-timeout-dialog">               <div class="modal-dialog">                 <div class="modal-content">                   <div class="modal-header">                     <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>                     <h4 class="modal-title">'+o.title+'</h4>                   </div>                   <div class="modal-body">                     <p>'+o.message+"</p>                     "+s+"                     "+e+'                   </div>                   <div class="modal-footer">                     <button id="session-timeout-dialog-logout" type="button" class="btn btn-default">'+o.logoutButton+'</button>                     <button id="session-timeout-dialog-keepalive" type="button" class="btn btn-primary" data-dismiss="modal">'+o.keepAliveButton+"</button>                   </div>                 </div>               </div>              </div>"),c("#session-timeout-dialog-logout").on("click",function(){window.location=o.logoutUrl}),c("#session-timeout-dialog").on("hide.bs.modal",function(){t()})),o.ignoreUserActivity||(n=[-1,-1],c(document).on("keyup mouseup mousemove touchend touchmove",function(e){if("mousemove"===e.type){if(e.clientX===n[0]&&e.clientY===n[1])return;n[0]=e.clientX,n[1]=e.clientY}t(),0<c("#session-timeout-dialog").length&&c("#session-timeout-dialog").data("bs.modal")&&c("#session-timeout-dialog").data("bs.modal").isShown&&(c("#session-timeout-dialog").modal("hide"),c("body").removeClass("modal-open"),c("div.modal-backdrop").remove())}
1));var l=!1;t()}}(jQuery)},
1"../demo5/src/plugins/formvalidation/dist/amd/algorithms/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/luhn.js"),i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/mod11And10.js"),i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/mod37And36.js"),i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/verhoeff.js")],t=function(e,t,i,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={luhn:i.default,mod11And10:n.default,mod37And36:r.default,verhoeff:s.default}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/algorithms/luhn.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.length,i=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],n=0,r=0;t--;)r+=i[n][parseInt(e.charAt(t),10)],n=1-n;return r%10==0&&0<r}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/algorithms/mod11And10.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.length,i=5,n=0;n<t;n++)i=(2*(i||10)%11+parseInt(e.charAt(n),10))%10;return 1===i}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/algorithms/mod37And36.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var i=e.length,n=(t=void 0===t?"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ":t).length,r=Math.floor(n/2),s=0;s<i;s++)r=(2*(r||n)%(n+1)+t.indexOf(e.charAt(s)))%n;return 1===r}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/algorithms/verhoeff.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],i=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.reverse(),r=0,s=0;s<n.length;s++)r=t[r][i[s%8][n[s]]];return 0===r}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/core/Core.js":function(e,t,i){var l=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var n=Array(e),r=0,t=0;t<i;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,r++)n[r]=s[o];return n},i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/emitter.js"),i("../demo5/src/plugins/formvalidation/dist/amd/core/filter.js"),i("../demo5/src/plugins/formvalidation/dist/amd/filters/getFieldValue.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/index.js")],t=function(e,t,i,n,r,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});a.prototype.on=function(e,t){return this.ee.on(e,t),this},a.prototype.off=function(e,t){return this.ee.off(e,t),this},a.prototype.emit=function(e){for(var t,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(t=this.ee).emit.apply(t,l([e],i)),this},a.prototype.registerPlugin=function(e,t){if(this.plugins[e])throw new Error("The plguin "+e+" is registered");return t.setCore(this),t.install(),this.plugins[e]=t,this},a.prototype.deregisterPlugin=function(e){var t=this.plugins[e];return t&&t.uninstall(),delete this.plugins[e],this},a.prototype.registerValidator=function(e,t){if(this.validators[e])throw new Error("The validator "+e+" is registered");return this.validators[e]=t,this},a.prototype.registerFilter=function(e,t){return this.filter.add(e,t),this},a.prototype.deregisterFilter=function(e,t){return this.filter.remove(e,t),this},a.prototype.executeFilter=function(e,t,i){return this.filter.execute(e,t,i)},a.prototype.addField=function(e,t){t=Object.assign({},{selector:"",validators:{}},t);return this.fields[e]=this.fields[e]?{selector:t.selector||this.fields[e].selector,validators:Object.assign({},this.fields[e].validators,t.validators)}:t,this.elements[e]=this.queryElements(e),this.emit("core.field.added",{elements:this.elements[e],field:e,options:this.fields[e]}),this},a.prototype.removeField=function(e){if(!this.fields[e])throw new Error("The field "+e+" validators are not defined. Please ensure the field is added first");var t=this.elements[e],i=this.fields[e];return delete this.elements[e],delete this.fields[e],this.emit("core.field.removed",{elements:t,field:e,options:i}),this},a.prototype.validate=function(){var t=this;return this.emit("core.form.validating"),this.filter.execute("validate-pre",Promise.resolve(),[]).then(function(){return Promise.all(Object.keys(t.fields).map(function(e){return t.validateField(e)})).then(function(e){switch(!0){case-1!==e.indexOf("Invalid"):return t.emit("core.form.invalid"),Promise.resolve("Invalid");case-1!==e.indexOf("NotValidated"):return t.emit("core.form.notvalidated"),Promise.resolve("NotValidated");default:return t.emit("core.form.valid"),Promise.resolve("Valid")}})})},a.prototype.validateField=function(t){var i=this,e=this.results.get(t);if("Valid"===e||"Invalid"===e)return Promise.resolve(e);this.emit("core.field.validating",t);e=this.elements[t];if(0===e.length)return this.emit("core.field.valid",t),Promise.resolve("Valid");var n=e[0].getAttribute("type");return"radio"===n||"checkbox"===n||1===e.length?this.validateElement(t,e[0]):Promise.all(e.map(function(e){return i.validateElement(t,e)})).then(function(e){switch(!0){case-1!==e.indexOf("Invalid"):return i.emit("core.field.invalid",t),i.results.set(t,"Invalid"),Promise.resolve("Invalid");case-1!==e.indexOf("NotValidated"):return i.emit("core.field.notvalidated",t),i.results.delete(t),Promise.resolve("NotValidated");default:return i.emit("core.field.valid",t),i.results.set(t,"Valid"),Promise.resolve("Valid")}})},a.prototype.validateElement=function(i,n){var r=this,s=(this.results.delete(i),this.elements[i]);if(this.filter.execute("element-ignored",!1,[i,n,s]))return this.emit("core.element.ignored",{element:n,elements:s,field:i}),Promise.resolve("Ignored");var t=this.fields[i].validators,e=(this.emit("core.element.validating",{element:n,elements:s,field:i}),Object.keys(t).map(function(e){return function(){return r.executeValidator(i,n,e,t[e])}}));return this.waterfall(e).then(function(e){var e=-1===e.indexOf("Invalid"),t=(r.emit("core.element.validated",{element:n,elements:s,field:i,valid:e}),n.getAttribute("type"));return"radio"!==t&&"checkbox"!==t&&1!==s.length||r.emit(e?"core.field.valid":"core.field.invalid",i),Promise.resolve(e?"Valid":"Invalid")}).catch(function(e){return r.emit("core.element.notvalidated",{element:n,elements:s,field:i}),Promise.resolve(e)})},a.prototype.executeValidator=function(t,i,n,e){var r=this,s=this.elements[t],o=this.filter.execute("validator-name",n,[n,t]);if(e.message=this.filter.execute("validator-message",e.message,[this.locale,t,o]),!this.validators[o]||!1===e.enabled)return this.emit
1("core.validator.validated",{element:i,elements:s,field:t,result:this.normalizeResult(t,o,{valid:!0}),validator:o}),Promise.resolve("Valid");var a=this.validators[o],o=this.getElementValue(t,i,o);if(!this.filter.execute("field-should-validate",!0,[t,i,o,n]))return this.emit("core.validator.notvalidated",{element:i,elements:s,field:t,validator:n}),Promise.resolve("NotValidated");this.emit("core.validator.validating",{element:i,elements:s,field:t,validator:n});a=a().validate({element:i,elements:s,field:t,l10n:this.localization,options:e,value:o});return"function"==typeof a.then?a.then(function(e){e=r.normalizeResult(t,n,e);return r.emit("core.validator.validated",{element:i,elements:s,field:t,result:e,validator:n}),e.valid?"Valid":"Invalid"}):(e=this.normalizeResult(t,n,a),this.emit("core.validator.validated",{element:i,elements:s,field:t,result:e,validator:n}),Promise.resolve(e.valid?"Valid":"Invalid"))},a.prototype.getElementValue=function(e,t,i){var n=r.default(this.form,e,t,this.elements[e]);return this.filter.execute("field-value",n,[n,e,t,i])},a.prototype.getElements=function(e){return this.elements[e]},a.prototype.getFields=function(){return this.fields},a.prototype.getFormElement=function(){return this.form},a.prototype.getLocale=function(){return this.locale},a.prototype.getPlugin=function(e){return this.plugins[e]},a.prototype.updateFieldStatus=function(t,i,n){var r=this,e=this.elements[t],s=e[0].getAttribute("type");if(("radio"===s||"checkbox"===s?[e[0]]:e).forEach(function(e){return r.updateElementStatus(t,e,i,n)}),!n)switch(i){case"NotValidated":this.emit("core.field.notvalidated",t),this.results.delete(t);break;
1case"Validating":this.emit("core.field.validating",t),this.results.delete(t);break;case"Valid":this.emit("core.field.valid",t),this.results.set(t,"Valid");break;case"Invalid":this.emit("core.field.invalid",t),this.results.set(t,"Invalid")}return this},a.prototype.updateElementStatus=function(t,i,e,n){var r=this,s=this.elements[t],o=this.fields[t].validators,a=n?[n]:Object.keys(o);switch(e){case"NotValidated":a.forEach(function(e){return r.emit("core.validator.notvalidated",{element:i,elements:s,field:t,validator:e})}),this.emit("core.element.notvalidated",{element:i,elements:s,field:t});break;case"Validating":a.forEach(function(e){return r.emit("core.validator.validating",{element:i,elements:s,field:t,validator:e})}),this.emit("core.element.validating",{element:i,elements:s,field:t});break;case"Valid":a.forEach(function(e){return r.emit("core.validator.validated",{element:i,field:t,result:{message:o[e].message,valid:!0},validator:e})}),this.emit("core.element.validated",{element:i,elements:s,field:t,valid:!0});break;case"Invalid":a.forEach(function(e){return r.emit("core.validator.validated",{element:i,field:t,result:{message:o[e].message,valid:!1},validator:e})}),this.emit("core.element.validated",{element:i,elements:s,field:t,valid:!1})}return this},a.prototype.resetForm=function(t){var i=this;return Object.keys(this.fields).forEach(function(e){return i.resetField(e,t)}),this.emit("core.form.reset",{reset:t}),this},a.prototype.resetField=function(e,t){var i,n;return t&&(i=this.elements[e],n=i[0].getAttribute("type"),i.forEach(function(e){"radio"===n||"checkbox"===n?(e.removeAttribute("selected"),e.removeAttribute("checked"),e.checked=!1):(e.setAttribute("value",""),(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&(e.value=""))})),this.updateFieldStatus(e,"NotValidated"),this.emit("core.field.reset",{field:e,reset:t}),this},a.prototype.revalidateField=function(e){return this.updateFieldStatus(e,"NotValidated"),this.validateField(e)},a.prototype.disableValidator=function(e,t){return this.toggleValidator(!1,e,t)},a.prototype.enableValidator=function(e,t){return this.toggleValidator(!0,e,t)},a.prototype.updateValidatorOption=function(e,t,i,n){return this.fields[e]&&this.fields[e].validators&&this.fields[e].validators[t]&&(this.fields[e].validators[t][i]=n),this},a.prototype.destroy=function(){var t=this;return Object.keys(this.plugins).forEach(function(e){return t.plugins[e].uninstall()}),this.ee.clear(),this.filter.clear(),this.results.clear(),this.plugins={},this},a.prototype.setLocale=function(e,t){return this.locale=e,this.localization=t,this},a.prototype.waterfall=function(e){return e.reduce(function(e,i,t,n){return e.then(function(t){return i().then(function(e){return t.push(e),t})})},Promise.resolve([]))},a.prototype.queryElements=function(e){e=this.fields[e].selector?"#"===this.fields[e].selector.charAt(0)?'[id="'+this.fields[e].selector.substring(1)+'"]':this.fields[e].selector:'[name="'+e+'"]';return[].slice.call(this.form.querySelectorAll(e))},a.prototype.normalizeResult=function(e,t,i){var n=this.fields[e].validators[t];return Object.assign({},i,{message:i.message||(n?n.message:"")||(this.localization&&this.localization[t]&&this.localization[t].default?this.localization[t].default:"")||"The field "+e+" is not valid"})},a.prototype.toggleValidator=function(t,i,e){var n=this,r=this.fields[i].validators;return e&&r&&r[e]?this.fields[i].validators[e].enabled=t:e||Object.keys(r).forEach(function(e){return n.fields[i].validators[e].enabled=t}),this.updateFieldStatus(i,"NotValidated",e)};var o=a;function a(e,t){this.elements={},this.ee=i.default(),this.filter=n.default(),this.plugins={},this.results=new Map,this.validators={},this.form=e,this.fields=t}t.Core=o,t.default=function(e,t){var i=Object.assign({},{fields:{},locale:"en_US",plugins:{}},t),n=new o(e,i.fields);return n.setLocale(i.locale,i.localization),Object.keys(i.plugins).forEach(function(e){return n.registerPlugin(e,i.plugins[e])}),Object.keys(s.default).forEach(function(e){return n.registerValidator(e,s.default[e])}
1),Object.keys(i.fields).forEach(function(e){return n.addField(e,i.fields[e])}),n}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js":function(e,t,i){i=function(e,t){"use strict";function i(e){this.opts=e}Object.defineProperty(t,"__esModule",{value:!0}),i.prototype.setCore=function(e){return this.core=e,this},i.prototype.install=function(){},i.prototype.uninstall=function(){},t.default=i}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/core/emitter.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{fns:{},clear:function(){this.fns={}},emit:function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];(this.fns[e]||[]).map(function(e){return e.apply(e,t)})},off:function(e,t){this.fns[e]&&0<=(t=this.fns[e].indexOf(t))&&this.fns[e].splice(t,1)},on:function(e,t){(this.fns[e]=this.fns[e]||[]).push(t)}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/core/filter.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{filters:{},add:function(e,t){(this.filters[e]=this.filters[e]||[]).push(t)},clear:function(){this.filters={}},execute:function(e,t,i){if(!this.filters[e]||!this.filters[e].length)return t;for(var n=t,r=this.filters[e],s=r.length,o=0;o<s;o++)n=r[o].apply(n,i);return n},remove:function(e,t){this.filters[e]&&(this.filters[e]=this.filters[e].filter(function(e){return e!==t}))}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/core/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Core.js"),i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=n.default,t.default=i.default}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/filters/getFieldValue.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i,n){var r=(i.getAttribute("type")||"").toLowerCase();switch(i.tagName.toLowerCase()){case"textarea":return i.value;case"select":var s=i,o=s.selectedIndex;return 0<=o?s.options.item(o).value:"";case"input":return"radio"===r||"checkbox"===r?0===(s=n.filter(function(e){return e.checked}).length)?"":s+"":i.value;default:return""}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/filters/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/filters/getFieldValue.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getFieldValue:i.default}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/index.js"),i("../demo5/src/plugins/formvalidation/dist/amd/core/index.js"),i("../demo5/src/plugins/formvalidation/dist/amd/filters/index.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/index.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/index.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/index.js")],t=function(e,t,i,n,r,s,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.algorithms=i.default,t.formValidation=n.default,t.Plugin=n.Plugin,t.filters=r.default,t.plugins=s.default,t.utils=o.default,t.validators=a.default;t.locales={}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Alias.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.registerFilter("validator-name",this.validatorNameFilter)},r.prototype.uninstall=function(){this.core.deregisterFilter("validator-name",this.validatorNameFilter)},r.prototype.getValidatorName=function(e,t){return this.opts[e]||e};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.opts=e||{},t.validatorNameFilter=t.getValidatorName.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Aria.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.on("core.field.valid",this.fieldValidHandler).on("core.field.invalid",this.fieldInvalidHandler).on("core.element.validated",this.elementValidatedHandler).on("plugins.message.displayed",this.messageDisplayedHandler)},r.prototype.uninstall=function(){this.core.off("core.field.valid",this.fieldValidHandler).off("core.field.invalid",this.fieldInvalidHandler).off("core.element.validated",this.elementValidatedHandler).off("plugins.message.displayed",this.messageDisplayedHandler)},r.prototype.onElementValidated=function(e){e.valid&&(e.element.setAttribute("aria-invalid","false"),e.element.removeAttribute("aria-describedby"))},r.prototype.onFieldValid=function(e){e=this.core.getElements(e);e&&e.forEach(function(e){e.setAttribute("aria-invalid","false"),e.removeAttribute("aria-describedby")})},r.prototype.onFieldInvalid=function(e){e=this.core.getElements(e);e&&e.forEach(function(e){return e.setAttribute("aria-invalid","true")})},r.prototype.onMessageDisplayed=function(e){e.messageElement.setAttribute("role","alert"),e.messageElement.setAttribute("aria-hidden","false");var t=this.core.getElements(e.field),i=t.indexOf(e.element),n="js-fv-"+e.field+"-"+i+"-"+Date.now()+"-message",i=(e.messageElement.setAttribute("id",n),e.element.setAttribute("aria-describedby",n),e.element.getAttribute("type"));"radio"!==i&&"checkbox"!==i||t.forEach(function(e){return e.setAttribute("aria-describedby",n)})};var n,i=r;function r(){var e=n.call(this,{})||this;return e.elementValidatedHandler=e.onElementValidated.bind(e),e.fieldValidHandler=e.onFieldValid.bind(e),e.fieldInvalidHandler=e.onFieldInvalid.bind(e),e.messageDisplayedHandler=e.onMessageDisplayed.bind(e),e}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Bootstrap.js":function(e,t,i){var n,a=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/hasClass.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Framework.js")],t=function(e,t,n,r,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s=i.default,a(o,s),o.prototype.onIconPlaced=function(e){var t=e.element.parentElement,i=(r.default(t,"input-group")&&t.parentElement.insertBefore(e.iconElement,t.nextSibling),e.element.getAttribute("type"));"checkbox"!==i&&"radio"!==i||(i=t.parentElement,r.default(t,"form-check")?(n.default(e.iconElement,{"fv-plugins-icon-check":!0}),t.parentElement.insertBefore(e.iconElement,t.nextSibling)):r.default(t.parentElement,"form-check")&&(n.default(e.iconElement,{"fv-plugins-icon-check":!0}),i.parentElement.insertBefore(e.iconElement,i.nextSibling)))};var s,i=o;function o(e){return s.call(this,Object.assign({},{eleInvalidClass:"is-invalid",eleValidClass:"is-valid",formClass:"fv-plugins-bootstrap",messageClass:"fv-help-block",rowInvalidClass:"has-danger",rowPattern:/^(.*)(col|offset)(-(sm|md|lg|xl))*-[0-9]+(.*)$/,rowSelector:".form-group",rowValidClass:"has-success"},e))||this}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Declarative.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){var t=this,i=(this.parsePlugins(),this.parseOptions());Object.keys(i).forEach(function(e){return t.core.addField(e,i[e])})},r.prototype.parseOptions=function(){var i=this,n=this.opts.prefix,r={},s=this.core.getFields(),e=this.core.getFormElement();return[].slice.call(e.querySelectorAll("[name], ["+n+"field]")).forEach(function(e){var t=i.parseElement(e);i.isEmptyOption(t)||(e=e.getAttribute("name")||e.getAttribute(n+"field"),r[e]=Object.assign({},r[e],t))}),Object.keys(r).forEach(function(t){Object.keys(r[t].validators).forEach(function(e){r[t].validators[e].enabled=r[t].validators[e].enabled||!1,s[t]&&s[t].validators&&s[t].validators[e]&&Object.assign(r[t].validators[e],s[t].validators[e])})}),Object.assign({},s,r)},r.prototype.createPluginInstance=function(e,t){for(var i=e.split("."),n=window||this,r=0,s=i.length;r<s;r++)n=n[i[r]];if("function"!=typeof n)throw new Error("the plugin "+e+" doesn't exist");return new n(t)},r.prototype.parsePlugins=function(){for(var e,r=this,t=this.core.getFormElement(),i=new RegExp("^"+this.opts.pluginPrefix+"([a-z0-9-]+)(___)*([a-z0-9-]+)*$"),n=t.attributes.length,s={},o=0;o<n;o++){var a,l=t.attributes[o].name,c=t.attributes[o].value,l=i.exec(l);l&&4===l.length&&(a=this.toCamelCase(l[1]),s[a]=Object.assign({},l[3]?((e={})[this.toCamelCase(l[3])]=c,e):{enabled:""===c||"true"===c},s[a]))}Object.keys(s).forEach(function(e){var t=s[e],i=t.enabled,n=t.class;i&&n&&(delete t.enabled,delete t.clazz,i=r.createPluginInstance(n,t),r.core.registerPlugin(e,i))})},r.prototype.isEmptyOption=function(e){e=e.validators;return 0===Object.keys(e).length&&e.constructor===Object},r.prototype.parseElement=function(e){for(var t,i=new RegExp("^"+this.opts.prefix+"([a-z0-9-]+)(___)*([a-z0-9-]+)*$"),n=e.attributes.length,r={},s=e.getAttribute("type"),o=0;o<n;o++){var a=e.attributes[o].name,l=e.attributes[o].value;if(this.opts.html5Input)switch(!0){case"minlength"===a:r.stringLength=Object.assign({},{enabled:!0,min:parseInt(l,10)},r.stringLength);break;case"maxlength"===a:r.stringLength=Object.assign({},{enabled:!0,max:parseInt(l,10)},r.stringLength);break;case"pattern"===a:r.regexp=Object.assign({},{enabled:!0,regexp:l},r.regexp);break;case"required"===a:r.notEmpty=Object.assign({},{enabled:!0},r.notEmpty);break;case"type"===a&&"color"===l:r.color=Object.assign({},{enabled:!0,type:"hex"},r.color);break;case"type"===a&&"email"===l:r.emailAddress=Object.assign({},{enabled:!0},r.emailAddress);break;case"type"===a&&"url"===l:r.uri=Object.assign({},{enabled:!0},r.uri);break;case"type"===a&&"range"===l:r.between=Object.assign({},{enabled:!0,max:parseFloat(e.getAttribute("max")),min:parseFloat(e.getAttribute("min"))},r.between);break;case"min"===a&&"date"!==s&&"range"!==s:r.greaterThan=Object.assign({},{enabled:!0,min:parseFloat(l)},r.greaterThan);break;case"max"===a&&"date"!==s&&"range"!==s:r.lessThan=Object.assign({},{enabled:!0,max:parseFloat(l)},r.lessThan)}var c,a=i.exec(a);a&&4===a.length&&(r[c=this.toCamelCase(a[1])]=Object.assign({},a[3]?((t={})[this.toCamelCase(a[3])]=l,t):{enabled:""===l||"true"===l},r[c]))}return{validators:r}},r.prototype.toUpperCase=function(e){return e.charAt(1).toUpperCase()},r.prototype.toCamelCase=function(e){return e.replace(/-./g,this.toUpperCase)};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.opts=Object.assign({},{html5Input:!1,pluginPrefix:"data-fvp-",prefix:"data-fv-"},e),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/DefaultSubmit.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){if(this.core.getFormElement().querySelectorAll('[type="submit"][name="submit"]').length)throw new Error("Do not use `submit` for the name attribute of submit button");this.core.on("core.form.valid",this.onValidHandler)},r.prototype.uninstall=function(){this.core.off("core.form.valid",this.onValidHandler)},r.prototype.onFormValid=function(){var e=this.core.getFormElement();e instanceof HTMLFormElement&&e.submit()};var n,i=r;function r(){var e=n.call(this,{})||this;return e.onValidHandler=e.onFormValid.bind(e),e}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Dependency.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.on("plugins.trigger.executed",this.triggerExecutedHandler)},r.prototype.uninstall=function(){this.core.off("plugins.trigger.executed",this.triggerExecutedHandler)},r.prototype.onTriggerExecuted=function(e){if(this.opts[e.field])for(var t=0,i=this.opts[e.field].split(" ");t<i.length;t++){var n=i[t].trim();this.opts[n]&&this.core.revalidateField(n)}};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.opts=e||{},t.triggerExecutedHandler=t.onTriggerExecuted.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Excluded.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.defaultIgnore=function(e,t,i){var n=!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length),r=t.getAttribute("disabled");return""===r||"disabled"===r||"hidden"===t.getAttribute("type")||!n},r.prototype.install=function(){this.core.registerFilter("element-ignored",this.ignoreValidationFilter)},r.prototype.uninstall=function(){this.core.deregisterFilter("element-ignored",this.ignoreValidationFilter)},r.prototype.ignoreValidation=function(e,t,i){return this.opts.excluded.apply(this,[e,t,i])};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.opts=Object.assign({},{excluded:r.defaultIgnore},e),t.ignoreValidationFilter=t.ignoreValidation.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/FieldStatus.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)},r.prototype.uninstall=function(){this.statuses.clear(),this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)},r.prototype.areFieldsValid=function(){return Array.from(this.statuses.values()).every(function(e){return"Valid"===e||"NotValidated"===e||"Ignored"===e})},r.prototype.getStatuses=function(){return this.statuses},r.prototype.onFieldAdded=function(e){this.statuses.set(e.field,"NotValidated")},r.prototype.onFieldRemoved=function(e){this.statuses.has(e.field)&&this.statuses.delete(e.field),this.opts.onStatusChanged(this.areFieldsValid())},r.prototype.onElementValidating=function(e){this.statuses.set(e.field,"Validating"),this.opts.onStatusChanged(!1)},r.prototype.onElementValidated=function(e){this.statuses.set(e.field,e.valid?"Valid":"Invalid"),e.valid?this.opts.onStatusChanged(this.areFieldsValid()):this.opts.onStatusChanged(!1)},r.prototype.onElementNotValidated=function(e){this.statuses.set(e.field,"NotValidated"),this.opts.onStatusChanged(!1)},r.prototype.onElementIgnored=function(e){this.statuses.set(e.field,"Ignored"),this.opts.onStatusChanged(this.areFieldsValid())};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.statuses=new Map,t.opts=Object.assign({},{onStatusChanged:function(){}},e),t.elementValidatingHandler=t.onElementValidating.bind(t),t.elementValidatedHandler=t.onElementValidated.bind(t),t.elementNotValidatedHandler=t.onElementNotValidated.bind(t),t.elementIgnoredHandler=t.onElementIgnored.bind(t),t.fieldAddedHandler=t.onFieldAdded.bind(t),t.fieldRemovedHandler=t.onFieldRemoved.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Framework.js":function(e,t,i){var n,l=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/closest.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Message.js")],t=function(e,t,i,o,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s=i.default,l(a,s),a.prototype.install=function(){var e,i=this;o.default(this.core.getFormElement(),((e={})[this.opts.formClass]=!0,e["fv-plugins-framework"]=!0,e)),this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("plugins.icon.placed",this.iconPlacedHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler),this.opts.defaultMessageContainer&&this.core.registerPlugin("___frameworkMessage",new r.default({clazz:this.opts.messageClass,container:function(e,t){e="string"==typeof i.opts.rowSelector?i.opts.rowSelector:i.opts.rowSelector(e,t),e=n.default(t,e);return r.default.getClosestContainer(t,e,i.opts.rowPattern)}}))},a.prototype.uninstall=function(){var e;this.results.clear(),this.containers.clear(),o.default(this.core.getFormElement(),((e={})[this.opts.formClass]=!1,e["fv-plugins-framework"]=!1,e)),this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("plugins.icon.placed",this.iconPlacedHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)},a.prototype.onIconPlaced=function(e){},a.prototype.onFieldAdded=function(e){var i=this,t=e.elements;t&&(t.forEach(function(e){var t=i.containers.get(e);t&&(o.default(t,((t={})[i.opts.rowInvalidClass]=!1,t[i.opts.rowValidatingClass]=!1,t[i.opts.rowValidClass]=!1,t["fv-plugins-icon-container"]=!1,t)),i.containers.delete(e))}),this.prepareFieldContainer(e.field,t))},a.prototype.onFieldRemoved=function(e){var t=this;e.elements.forEach(function(e){var e=t.containers.get(e);e&&o.default(e,((e={})[t.opts.rowInvalidClass]=!1,e[t.opts.rowValidatingClass]=!1,e[t.opts.rowValidClass]=!1,e))})},a.prototype.prepareFieldContainer=function(t,e){var i,n=this;e.length&&("radio"===(i=e[0].getAttribute("type"))||"checkbox"===i?this.prepareElementContainer(t,e[0]):e.forEach(function(e){return n.prepareElementContainer(t,e)}))},a.prototype.prepareElementContainer=function(e,t){var i,e="string"==typeof this.opts.rowSelector?this.opts.rowSelector:this.opts.rowSelector(e,t),e=n.default(t,e);e!==t&&(o.default(e,((i={})[this.opts.rowClasses]=!0,i["fv-plugins-icon-container"]=!0,i)),this.containers.set(t,e))},a.prototype.onElementValidating=function(e){var t=e.elements,i=e.element.getAttribute("type"),i="radio"===i||"checkbox"===i?t[0]:e.element,t=this.containers.get(i);t&&o.default(t,((e={})[this.opts.rowInvalidClass]=!1,e[this.opts.rowValidatingClass]=!0,e[this.opts.rowValidClass]=!1,e))},a.prototype.onElementNotValidated=function(e){this.removeClasses(e.element,e.elements)},a.prototype.onElementIgnored=function(e){this.removeClasses(e.element,e.elements)},a.prototype.removeClasses=function(e,t){var i=e.getAttribute("type"),i="radio"===i||"checkbox"===i?t[0]:e,e=(o.default(i,((t={})[this.opts.eleValidClass]=!1,t[this.opts.eleInvalidClass]=!1,t)),this.containers.get(i));e&&o.default(e,((t={})[this.opts.rowInvalidClass]=!1,t[this.opts.rowValidatingClass]=!1,t[this.opts.rowValidClass]=!1,t))},a.prototype.onElementValidated=function(e){var i,n=this,t=e.elements,r=e.element.getAttribute("type"),r="radio"===r||"checkbox"===r?t[0]:e.element,s=(o.default(r,((t={})[this.opts.eleValidClass]=e.valid,t[this.opts.eleInvalidClass]=!e.valid,t)),this.containers.get(r));
1s&&(e.valid?(this.results.delete(r),i=!0,this.containers.forEach(function(e,t){e===s&&!1===n.results.get(t)&&(i=!1)}),i&&o.default(s,((t={})[this.opts.rowInvalidClass]=!1,t[this.opts.rowValidatingClass]=!1,t[this.opts.rowValidClass]=!0,t))):(this.results.set(r,!1),o.default(s,((e={})[this.opts.rowInvalidClass]=!0,e[this.opts.rowValidatingClass]=!1,e[this.opts.rowValidClass]=!1,e))))};var s,i=a;function a(e){var t=s.call(this,e)||this;return t.results=new Map,t.containers=new Map,t.opts=Object.assign({},{defaultMessageContainer:!0,eleInvalidClass:"",eleValidClass:"",rowClasses:"",rowValidatingClass:""},e),t.elementIgnoredHandler=t.onElementIgnored.bind(t),t.elementValidatingHandler=t.onElementValidating.bind(t),t.elementValidatedHandler=t.onElementValidated.bind(t),t.elementNotValidatedHandler=t.onElementNotValidated.bind(t),t.iconPlacedHandler=t.onIconPlaced.bind(t),t.fieldAddedHandler=t.onFieldAdded.bind(t),t.fieldRemovedHandler=t.onFieldRemoved.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Icon.js":function(e,t,i){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js")],t=function(e,t,i,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,o(r,n),r.prototype.install=function(){this.core.on("core.element.validating",this.elementValidatingHandler).on("core.element.validated",this.elementValidatedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler)},r.prototype.uninstall=function(){this.icons.forEach(function(e){return e.parentNode.removeChild(e)}),this.icons.clear(),this.core.off("core.element.validating",this.elementValidatingHandler).off("core.element.validated",this.elementValidatedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler)},r.prototype.onFieldAdded=function(e){var i=this,t=e.elements;t&&(t.forEach(function(e){var t=i.icons.get(e);t&&(t.parentNode.removeChild(t),i.icons.delete(e))}),this.prepareFieldIcon(e.field,t))},r.prototype.prepareFieldIcon=function(t,e){var i,n=this;e.length&&("radio"===(i=e[0].getAttribute("type"))||"checkbox"===i?this.prepareElementIcon(t,e[0]):e.forEach(function(e){return n.prepareElementIcon(t,e)}))},r.prototype.prepareElementIcon=function(e,t){var i=document.createElement("i"),e=(i.setAttribute("data-field",e),t.parentNode.insertBefore(i,t.nextSibling),s.default(i,{"fv-plugins-icon":!0}),{classes:{invalid:this.opts.invalid,valid:this.opts.valid,validating:this.opts.validating},element:t,field:e,iconElement:i});this.core.emit("plugins.icon.placed",e),this.opts.onPlaced(e),this.icons.set(t,i)},r.prototype.onElementValidating=function(e){var t=this.setClasses(e.field,e.element,e.elements,((t={})[this.opts.invalid]=!1,t[this.opts.valid]=!1,t[this.opts.validating]=!0,t)),e={element:e.element,field:e.field,iconElement:t,status:"Validating"};this.core.emit("plugins.icon.set",e),this.opts.onSet(e)},r.prototype.onElementValidated=function(e){var t=this.setClasses(e.field,e.element,e.elements,((t={})[this.opts.invalid]=!e.valid,t[this.opts.valid]=e.valid,t[this.opts.validating]=!1,t)),t={element:e.element,field:e.field,iconElement:t,status:e.valid?"Valid":"Invalid"};this.core.emit("plugins.icon.set",t),this.opts.onSet(t)},r.prototype.onElementNotValidated=function(e){var t=this.setClasses(e.field,e.element,e.elements,((t={})[this.opts.invalid]=!1,t[this.opts.valid]=!1,t[this.opts.validating]=!1,t)),e={element:e.element,field:e.field,iconElement:t,status:"NotValidated"};this.core.emit("plugins.icon.set",e),this.opts.onSet(e)},r.prototype.onElementIgnored=function(e){var t=this.setClasses(e.field,e.element,e.elements,((t={})[this.opts.invalid]=!1,t[this.opts.valid]=!1,t[this.opts.validating]=!1,t)),e={element:e.element,field:e.field,iconElement:t,status:"Ignored"};this.core.emit("plugins.icon.set",e),this.opts.onSet(e)},r.prototype.setClasses=function(e,t,i,n){var r=t.getAttribute("type"),r="radio"===r||"checkbox"===r?i[0]:t;return this.icons.has(r)?(i=this.icons.get(r),s.default(i,n),i):null};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.icons=new Map,t.opts=Object.assign({},{invalid:"fv-plugins-icon--invalid",onPlaced:function(){},onSet:function(){},valid:"fv-plugins-icon--valid",validating:"fv-plugins-icon--validating"},e),t.elementValidatingHandler=t.onElementValidating.bind(t),t.elementValidatedHandler=t.onElementValidated.bind(t),t.elementNotValidatedHandler=t.onElementNotValidated.bind(t),t.elementIgnoredHandler=t.onElementIgnored.bind(t),t.fieldAddedHandler=t.onFieldAdded.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Message.js":function(e,t,i){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js")],t=function(e,t,i,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,o(r,n),r.getClosestContainer=function(e,t,i){for(var n=e;n&&n!==t&&(n=n.parentElement,!i.test(n.className)););return n},r.prototype.install=function(){this.core.getFormElement().appendChild(this.defaultContainer),this.core.on("core.element.ignored",this.elementIgnoredHandler).on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.validator.notvalidated",this.validatorNotValidatedHandler)},r.prototype.uninstall=function(){this.core.getFormElement().removeChild(this.defaultContainer),this.messages.forEach(function(e){return e.parentNode.removeChild(e)}),this.messages.clear(),this.core.off("core.element.ignored",this.elementIgnoredHandler).off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.validator.notvalidated",this.validatorNotValidatedHandler)},r.prototype.onFieldAdded=function(e){var i=this,t=e.elements;t&&(t.forEach(function(e){var t=i.messages.get(e);t&&(t.parentNode.removeChild(t),i.messages.delete(e))}),this.prepareFieldContainer(e.field,t))},r.prototype.onFieldRemoved=function(e){var t,i=this;e.elements.length&&e.field&&("radio"===(t=e.elements[0].getAttribute("type"))||"checkbox"===t?[e.elements[0]]:e.elements).forEach(function(e){var t;i.messages.has(e)&&((t=i.messages.get(e)).parentNode.removeChild(t),i.messages.delete(e))})},r.prototype.prepareFieldContainer=function(t,i){var e,n=this;i.length&&("radio"===(e=i[0].getAttribute("type"))||"checkbox"===e?this.prepareElementContainer(t,i[0],i):i.forEach(function(e){return n.prepareElementContainer(t,e,i)}))},r.prototype.prepareElementContainer=function(e,t,i){n=!0==("string"==typeof this.opts.container)?(n="#"===(n=this.opts.container).charAt(0)?'[id="'+n.substring(1)+'"]':n,this.core.getFormElement().querySelector(n)):this.opts.container(e,t);var n,r=document.createElement("div");n.appendChild(r),s.default(r,{"fv-plugins-message-container":!0}),this.core.emit("plugins.message.placed",{element:t,elements:i,field:e,messageElement:r}),this.messages.set(t,r)},r.prototype.getMessage=function(e){return"string"==typeof e.message?e.message:e.message[this.core.getLocale()]},r.prototype.onValidatorValidated=function(e){var t,i=e.elements,n=e.element.getAttribute("type"),n="radio"===n||"checkbox"===n?i[0]:e.element;this.messages.has(n)&&((n=(i=this.messages.get(n)).querySelector('[data-field="'+e.field+'"][data-validator="'+e.validator+'"]'))||e.result.valid?n&&!e.result.valid?(n.innerHTML=this.getMessage(e.result),this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:n,meta:e.result.meta,validator:e.validator})):n&&e.result.valid&&i.removeChild(n):((n=document.createElement("div")).innerHTML=this.getMessage(e.result),n.setAttribute("data-field",e.field),n.setAttribute("data-validator",e.validator),this.opts.clazz&&s.default(n,((t={})[this.opts.clazz]=!0,t)),i.appendChild(n),this.core.emit("plugins.message.displayed",{element:e.element,field:e.field,message:e.result.message,messageElement:n,meta:e.result.meta,validator:e.validator})))},r.prototype.onValidatorNotValidated=function(e){var t=e.elements,i=e.element.getAttribute("type"),i="radio"===i||"checkbox"===i?t[0]:e.element;this.messages.has(i)&&(i=(t=this.messages.get(i)).querySelector('[data-field="'+e.field+'"][data-validator="'+e.validator+'"]'))&&t.removeChild(i)},r.prototype.onElementIgnored=function(e){var t,i=e.elements,n=e.element.getAttribute("type"),n="radio"===n||"checkbox"===n?i[0]:e.element;this.messages.has(n)&&(t=this.messages.get(n),[].slice.call(t.querySelectorAll('[data-field="'+e.field+'"]')).forEac
1h(function(e){t.removeChild(e)}))};var n,i=r;function r(e){var i=n.call(this,e)||this;return i.messages=new Map,i.defaultContainer=document.createElement("div"),i.opts=Object.assign({},{container:function(e,t){return i.defaultContainer}},e),i.elementIgnoredHandler=i.onElementIgnored.bind(i),i.fieldAddedHandler=i.onFieldAdded.bind(i),i.fieldRemovedHandler=i.onFieldRemoved.bind(i),i.validatorValidatedHandler=i.onValidatorValidated.bind(i),i.validatorNotValidatedHandler=i.onValidatorNotValidated.bind(i),i}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Sequence.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.on("core.validator.validated",this.validatorHandler).on("core.field.added",this.fieldAddedHandler).on("core.element.notvalidated",this.elementNotValidatedHandler).on("core.element.validating",this.elementValidatingHandler).registerFilter("field-should-validate",this.shouldValidateFilter)},r.prototype.uninstall=function(){this.invalidFields.clear(),this.core.off("core.validator.validated",this.validatorHandler).off("core.field.added",this.fieldAddedHandler).off("core.element.notvalidated",this.elementNotValidatedHandler).off("core.element.validating",this.elementValidatingHandler).deregisterFilter("field-should-validate",this.shouldValidateFilter)},r.prototype.shouldValidate=function(e,t,i,n){return!((!0===this.opts.enabled||!0===this.opts.enabled[e])&&this.invalidFields.has(t)&&!!this.invalidFields.get(t).length&&-1===this.invalidFields.get(t).indexOf(n))},r.prototype.onValidatorValidated=function(e){var t=this.invalidFields.has(e.element)?this.invalidFields.get(e.element):[],i=t.indexOf(e.validator);e.result.valid&&0<=i?t.splice(i,1):e.result.valid||-1!==i||t.push(e.validator),this.invalidFields.set(e.element,t)},r.prototype.onFieldAdded=function(e){e.elements&&this.clearInvalidFields(e.elements)},r.prototype.onElementNotValidated=function(e){this.clearInvalidFields(e.elements)},r.prototype.onElementValidating=function(e){this.clearInvalidFields(e.elements)},r.prototype.clearInvalidFields=function(e){var t=this;e.forEach(function(e){return t.invalidFields.delete(e)})};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.invalidFields=new Map,t.opts=Object.assign({},{enabled:!0},e),t.validatorHandler=t.onValidatorValidated.bind(t),t.shouldValidateFilter=t.shouldValidate.bind(t),t.fieldAddedHandler=t.onFieldAdded.bind(t),t.elementNotValidatedHandler=t.onElementNotValidated.bind(t),t.elementValidatingHandler=t.onElementValidating.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/SubmitButton.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){var e,t=this;this.core.getFormElement()instanceof HTMLFormElement&&(e=this.core.getFormElement(),this.selectorButtons=[].slice.call(e.querySelectorAll(this.opts.selector)),this.submitButtons=[].slice.call(e.querySelectorAll('[type="submit"]')),e.setAttribute("novalidate","novalidate"),e.addEventListener("submit",this.submitHandler),this.hiddenClickedEle=document.createElement("input"),this.hiddenClickedEle.setAttribute("type","hidden"),e.appendChild(this.hiddenClickedEle),this.submitButtons.forEach(function(e){e.addEventListener("click",t.buttonClickHandler)}))},r.prototype.uninstall=function(){var t=this,e=this.core.getFormElement();e instanceof HTMLFormElement&&e.removeEventListener("submit",this.submitHandler),this.submitButtons.forEach(function(e){e.removeEventListener("click",t.buttonClickHandler)}),this.hiddenClickedEle.parentElement.removeChild(this.hiddenClickedEle)},r.prototype.handleSubmitEvent=function(e){this.validateForm(e)},r.prototype.handleClickEvent=function(e){var t,i=e.currentTarget;i instanceof HTMLElement&&-1!==this.selectorButtons.indexOf(i)&&(this.opts.aspNetButton&&!0===this.isFormValid||(this.core.getFormElement().removeEventListener("submit",this.submitHandler),this.clickedButton=e.target,i=this.clickedButton.getAttribute("name"),t=this.clickedButton.getAttribute("value"),i&&t&&(this.hiddenClickedEle.setAttribute("name",i),this.hiddenClickedEle.setAttribute("value",t)),this.validateForm(e)))},r.prototype.validateForm=function(e){var t=this;e.preventDefault(),this.core.validate().then(function(e){"Valid"===e&&t.opts.aspNetButton&&!t.isFormValid&&t.clickedButton&&(t.isFormValid=!0,t.clickedButton.removeEventListener("click",t.buttonClickHandler),t.clickedButton.click())})};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.isFormValid=!1,t.opts=Object.assign({},{aspNetButton:!1,selector:'[type="submit"]:not([formnovalidate])'},e),t.submitHandler=t.handleSubmitEvent.bind(t),t.buttonClickHandler=t.handleClickEvent.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Tooltip.js":function(e,t,i){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js")],t=function(e,t,i,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,o(r,n),r.prototype.install=function(){var e;this.tip=document.createElement("div"),s.default(this.tip,((e={"fv-plugins-tooltip":!0})["fv-plugins-tooltip--"+this.opts.placement]=!0,e)),document.body.appendChild(this.tip),this.core.on("plugins.icon.placed",this.iconPlacedHandler).on("core.validator.validated",this.validatorValidatedHandler).on("core.element.validated",this.elementValidatedHandler),"click"===this.opts.trigger&&document.addEventListener("click",this.documentClickHandler)},r.prototype.uninstall=function(){this.messages.clear(),document.body.removeChild(this.tip),this.core.off("plugins.icon.placed",this.iconPlacedHandler).off("core.validator.validated",this.validatorValidatedHandler).off("core.element.validated",this.elementValidatedHandler),"click"===this.opts.trigger&&document.removeEventListener("click",this.documentClickHandler)},r.prototype.onIconPlaced=function(t){var i=this;s.default(t.iconElement,{"fv-plugins-tooltip-icon":!0}),"hover"===this.opts.trigger?(t.iconElement.addEventListener("mouseenter",function(e){return i.show(t.element,e)}),t.iconElement.addEventListener("mouseleave",function(e){return i.hide()})):t.iconElement.addEventListener("click",function(e){return i.show(t.element,e)})},r.prototype.onValidatorValidated=function(e){var t,i;e.result.valid||(i=e.elements,t="radio"===(t=e.element.getAttribute("type"))||"checkbox"===t?i[0]:e.element,i="string"==typeof e.result.message?e.result.message:e.result.message[this.core.getLocale()],this.messages.set(t,i))},r.prototype.onElementValidated=function(e){var t,i;e.valid&&(t=e.elements,i="radio"===(i=e.element.getAttribute("type"))||"checkbox"===i?t[0]:e.element,this.messages.delete(i))},r.prototype.onDocumentClicked=function(e){this.hide()},r.prototype.show=function(e,t){if(t.preventDefault(),t.stopPropagation(),this.messages.has(e)){s.default(this.tip,{"fv-plugins-tooltip--hide":!1}),this.tip.innerHTML='<span class="fv-plugins-tooltip__content">'+this.messages.get(e)+"</span>";var i=t.target.getBoundingClientRect(),n=0,r=0;
1switch(this.opts.placement){case"top":default:n=i.top-i.height,r=i.left+i.width/2-this.tip.clientWidth/2;break;case"top-left":n=i.top-i.height,r=i.left;break;case"top-right":n=i.top-i.height,r=i.left+i.width-this.tip.clientWidth;break;case"bottom":n=i.top+i.height,r=i.left+i.width/2-this.tip.clientWidth/2;break;case"bottom-left":n=i.top+i.height,r=i.left;break;case"bottom-right":n=i.top+i.height,r=i.left+i.width-this.tip.clientWidth;break;case"left":n=i.top+i.height/2-this.tip.clientHeight/2,r=i.left-this.tip.clientWidth;break;case"right":n=i.top+i.height/2-this.tip.clientHeight/2,r=i.left+i.width}e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,t=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.tip.setAttribute("style","top: "+(n+=e)+"px; left: "+(r+=t)+"px")}},r.prototype.hide=function(){s.default(this.tip,{"fv-plugins-tooltip--hide":!0})};var n,i=r;function r(e){var t=n.call(this,e)||this;return t.messages=new Map,t.opts=Object.assign({},{placement:"top",trigger:"click"},e),t.iconPlacedHandler=t.onIconPlaced.bind(t),t.validatorValidatedHandler=t.onValidatorValidated.bind(t),t.elementValidatedHandler=t.onElementValidated.bind(t),t.documentClickHandler=t.onDocumentClicked.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/Trigger.js":function(e,t,i){var n,s=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/core/Plugin.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=i.default,s(r,n),r.prototype.install=function(){this.core.on("core.field.added",this.fieldAddedHandler).on("core.field.removed",this.fieldRemovedHandler)},r.prototype.uninstall=function(){this.handlers.forEach(function(e){return e.element.removeEventListener(e.event,e.handler)}),this.handlers=[],this.timers.forEach(function(e){return window.clearTimeout(e)}),this.timers.clear(),this.core.off("core.field.added",this.fieldAddedHandler).off("core.field.removed",this.fieldRemovedHandler)},r.prototype.prepareHandler=function(r,e){var s=this;e.forEach(function(i){var e=[];switch(!0){case!!s.opts.event&&!1===s.opts.event[r]:e=[];break;case!!s.opts.event&&!!s.opts.event[r]:e=s.opts.event[r].split(" ");break;case"string"==typeof s.opts.event&&s.opts.event!==s.defaultEvent:e=s.opts.event.split(" ");break;default:var t=i.getAttribute("type"),n=i.tagName.toLowerCase(),e=["radio"===t||"checkbox"===t||"file"===t||"select"===n?"change":10<=s.ieVersion&&i.getAttribute("placeholder")?"keyup":s.defaultEvent]}e.forEach(function(e){function t(e){return s.handleEvent(e,r,i)}s.handlers.push({element:i,event:e,field:r,handler:t}),i.addEventListener(e,t)})})},r.prototype.handleEvent=function(t,i,n){var e,r,s,o=this;this.exceedThreshold(i,n)&&this.core.executeFilter("plugins-trigger-should-validate",!0,[i,n])&&(e=function(){return o.core.validateElement(i,n).then(function(e){o.core.emit("plugins.trigger.executed",{element:n,event:t,field:i})})},0===(r=this.opts.delay[i]||this.opts.delay)?e():((s=this.timers.get(n))&&window.clearTimeout(s),this.timers.set(n,window.setTimeout(e,1e3*r))))},r.prototype.onFieldAdded=function(t){this.handlers.filter(function(e){return e.field===t.field}).forEach(function(e){return e.element.removeEventListener(e.event,e.handler)}),this.prepareHandler(t.field,t.elements)},r.prototype.onFieldRemoved=function(t){this.handlers.filter(function(e){return e.field===t.field&&0<=t.elements.indexOf(e.element)}).forEach(function(e){return e.element.removeEventListener(e.event,e.handler)})},r.prototype.exceedThreshold=function(e,t){var i=0!==this.opts.threshold[e]&&0!==this.opts.threshold&&(this.opts.threshold[e]||this.opts.threshold);if(!i)return!0;var n=t.getAttribute("type");return-1!==["button","checkbox","file","hidden","image","radio","reset","submit"].indexOf(n)||this.core.getElementValue(e,t).length>=i};var n,i=r;function r(e){var t=n.call(this,e)||this,i=(t.handlers=[],t.timers=new Map,t.ieVersion=function(){for(var e=3,t=document.createElement("div"),i=t.all||[];t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><br><![endif]--\x3e",i[0];);return 4<e?e:document.documentMode}(),document.createElement("div"));return t.defaultEvent=9!==t.ieVersion&&"oninput"in i?"input":"keyup",t.opts=Object.assign({},{delay:0,event:t.defaultEvent,threshold:0},e),t.fieldAddedHandler=t.onFieldAdded.bind(t),t.fieldRemovedHandler=t.onFieldRemoved.bind(t),t}t.default=i}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/plugins/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Alias.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Aria.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Declarative.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/DefaultSubmit.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Dependency.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Excluded.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/FieldStatus.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Framework.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Icon.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Message.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Sequence.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/SubmitButton.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Tooltip.js"),i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Trigger.js")],t=function(e,t,i,n,r,s,o,a,l,c,u,d,h,f,p,m){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Alias:i.default,Aria:n.default,Declarative:r.default,DefaultSubmit:s.default,Dependency:o.default,Excluded:a.default,FieldStatus:l.default,Framework:c.default,Icon:u.default,Message:d.default,Sequence:h.default,SubmitButton:f.default,Tooltip:p.default,Trigger:m.default}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/call.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("function"==typeof e)return e.apply(this,t);if("string"==typeof e){for(var e=(e="()"===e.substring(e.length-2)?e.substring(0,e.length-2):e).split("."),i=e.pop(),n=window,r=0,s=e;r<s.length;r++)n=n[s[r]];return void 0===n[i]?null:n[i].apply(this,t)}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(i,t){var n=[],r=[];Object.keys(t).forEach(function(e){e&&(t[e]?n:r).push(e)}),r.forEach(function(e){var t;t=i,e.split(" ").forEach(function(e){t.classList?t.classList.remove(e):t.className=t.className.replace(e,"")})}),n.forEach(function(e){var t;t=i,e.split(" ").forEach(function(e){t.classList?t.classList.add(e):(" "+t.className+" ").indexOf(" "+e+" ")&&(t.className+=" "+e)})})}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/closest.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var i,n,r,s=e;s&&(n=t,r=void 0,!((r=(i=s).matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector)?r.call(i,n):0<=[].slice.call(i.parentElement.querySelectorAll(n)).indexOf(i)));)s=s.parentElement;return s}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/fetch.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(c,u){return new Promise(function(t,e){var i,n,r,s,o=Object.assign({},{crossDomain:!1,headers:{},method:"GET",params:{}},u),a=Object.keys(o.params).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(o.params[e])}).join("&"),l=c.indexOf("?"),a="GET"===o.method?c+(l?"?":"&")+a:c;o.crossDomain?(i=document.createElement("script"),n="___fetch"+Date.now()+"___",window[n]=function(e){delete window[n],t(e)},i.src=a+(l?"&":"?")+"callback="+n,i.async=!0,i.addEventListener("load",function(){i.parentNode.removeChild(i)}),i.addEventListener("error",function(){return e}),document.head.appendChild(i)):((r=new XMLHttpRequest).open(o.method,a),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),"POST"===o.method&&r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),Object.keys(o.headers).forEach(function(e){return r.setRequestHeader(e,o.headers[e])}),r.addEventListener("load",function(){t(JSON.parse(this.responseText))}),r.addEventListener("error",function(){return e}),r.send((s=o.params,Object.keys(s).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(s[e])}).join("&"))))})}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/format.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var t=Array.isArray(t)?t:[t],i=e;return t.forEach(function(e){i=i.replace("%s",e)}),i}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/hasClass.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/call.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/classSet.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/closest.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/fetch.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/hasClass.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/isValidDate.js")],t=function(e,t,i,n,r,s,o,a,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={call:i.default,classSet:n.default,closest:r.default,fetch:s.default,format:o.default,hasClass:a.default,isValidDate:l.default}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/utils/isValidDate.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i,n){return!(isNaN(e)||isNaN(t)||isNaN(i))&&(!(e<1e3||9999<e||t<=0||12<t)&&(!(i<=0||[31,e%400==0||e%100!=0&&e%4==0?29:28,31,30,31,30,31,31,30,31,30,31][t-1]<i)&&(!0!==n||(r=(n=new Date).getFullYear(),s=n.getMonth(),n=n.getDate(),e<r||e===r&&t-1<s||e===r&&t-1===s&&i<n))));var r,s}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/between.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js")],t=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function s(e){return parseFloat((""+e).replace(",","."))}return{validate:function(e){var t=e.value;if(""===t)return{valid:!0};var i=Object.assign({},{inclusive:!0,message:""},e.options),n=s(i.min),r=s(i.max);return i.inclusive?{message:o.default(e.l10n?i.message||e.l10n.between.default:i.message,[""+n,""+r]),valid:parseFloat(t)>=n&&parseFloat(t)<=r}:{message:o.default(e.l10n?i.message||e.l10n.between.notInclusive:i.message,[""+n,""+r]),valid:parseFloat(t)>n&&parseFloat(t)<r}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/blank.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){return{valid:!0}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/callback.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/call.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){e=i.default(e.options.callback,[e]);return"boolean"==typeof e?{valid:e}:e}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/choice.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js")],t=function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){var t=("select"===e.element.tagName.toLowerCase()?e.element.querySelectorAll("option:checked"):e.elements.filter(function(e){return e.checked})).length,i=e.options.min?""+e.options.min:"",n=e.options.max?""+e.options.max:"",r=e.l10n?e.options.message||e.l10n.choice.default:e.options.message,t=!(i&&t<parseInt(i,10)||n&&t>parseInt(n,10));switch(!0){case!!i&&!!n:r=s.default(e.l10n?e.l10n.choice.between:e.options.message,[i,n]);break;case!!i:r=s.default(e.l10n?e.l10n.choice.more:e.options.message,i);break;case!!n:r=s.default(e.l10n?e.l10n.choice.less:e.options.message,n)}return{message:r,valid:t}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/creditCard.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/algorithms/luhn.js")],t=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DANKORT:{length:[16],prefix:["5019"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},ELO:{length:[16],prefix:["4011","4312","4389","4514","4573","4576","5041","5066","5067","509","6277","6362","6363","650","6516","6550"]},FORBRUGSFORENINGEN:{length:[16],prefix:["600722"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","5868","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]},VISA_ELECTRON:{length:[16],prefix:["4026","417500","4405","4508","4844","4913","4917"]}};t.CREDIT_CARD_TYPES=a,t.default=function(){return{validate:function(e){if(""===e.value)return{meta:{type:null},valid:!0};if(/[^0-9-\s]+/.test(e.value))return{meta:{type:null},valid:!1};var t=e.value.replace(/\D/g,"");if(!o.default(t))return{meta:{type:null},valid:!1};for(var i=0,n=Object.keys(a);i<n.length;i++){var r,s=n[i];for(r in a[s].prefix)if(e.value.substr(0,a[s].prefix[r].length)===a[s].prefix[r]&&-1!==a[s].length.indexOf(t.length))return{meta:{type:s},valid:!0}}return{meta:{type:null},valid:!1}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/date.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js"),i("../demo5/src/plugins/formvalidation/dist/amd/utils/isValidDate.js")],t=function(e,t,b,_){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function v(e,t,i){var n=t.indexOf("YYYY"),r=t.indexOf("MM"),t=t.indexOf("DD");return-1===n||-1===r||-1===t?null:(e=e.split(" "),(i=e[0].split(i)).length<3?null:(n=new Date(parseInt(i[n],10),parseInt(i[r],10)-1,parseInt(i[t],10)),1<e.length&&(r=e[1].split(":"),n.setHours(0<r.length?parseInt(r[0],10):0),n.setMinutes(1<r.length?parseInt(r[1],10):0),n.setSeconds(2<r.length?parseInt(r[2],10):0)),n))}function y(e,t){var t=t.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss"),i=e.getDate(),n=i<10?"0"+i:i,r=e.getMonth()+1,s=r<10?"0"+r:r,o=(""+e.getFullYear()).substr(2),a=e.getFullYear(),l=e.getHours()%12||12,c=l<10?"0"+l:l,u=e.getHours(),d=u<10?"0"+u:u,h=e.getMinutes(),f=h<10?"0"+h:h,e=e.getSeconds(),p={H:""+u,HH:""+d,M:""+h,MM:""+f,d:""+i,dd:""+n,h:""+l,hh:""+c,m:""+r,mm:""+s,s:""+e,ss:""+(e<10?"0"+e:e),yy:""+o,yyyy:""+a};return t.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,function(e){return p[e]||e.slice(1,e.length-1)})}return{validate:function(e){if(""===e.value)return{meta:{date:null},valid:!0};var t=Object.assign({},{format:e.element&&"date"===e.element.getAttribute("type")?"YYYY-MM-DD":"MM/DD/YYYY",message:""},e.options),i=e.l10n?e.l10n.date.default:t.message,n={message:""+i,meta:{date:null},valid:!1},r=t.format.split(" "),s=1<r.length?r[1]:null,o=2<r.length?r[2]:null,a=e.value.split(" "),l=a[0],c=1<a.length?a[1]:null;if(r.length!==a.length)return n;a=t.separator||(-1!==l.indexOf("/")?"/":-1!==l.indexOf("-")?"-":-1!==l.indexOf(".")?".":"/");if(null===a||-1===l.indexOf(a))return n;l=l.split(a),r=r[0].split(a);if(l.length!==r.length)return n;var u=l[r.indexOf("YYYY")],d=l[r.indexOf("MM")],l=l[r.indexOf("DD")];if(!/^\d+$/.test(u)||!/^\d+$/.test(d)||!/^\d+$/.test(l)||4<u.length||2<d.length||2<l.length)return n;u=parseInt(u,10),d=parseInt(d,10),l=parseInt(l,10);if(!_.default(u,d,l))return n;var h=new Date(u,d-1,l);if(s){u=c.split(":");if(s.split(":").length!==u.length)return n;d=0<u.length?u[0].length<=2&&/^\d+$/.test(u[0])?parseInt(u[0],10):-1:0,l=1<u.length?u[1].length<=2&&/^\d+$/.test(u[1])?parseInt(u[1],10):-1:0,c=2<u.length?u[2].length<=2&&/^\d+$/.test(u[2])?parseInt(u[2],10):-1:0;if(-1===d||-1===l||-1===c)return n;if(c<0||60<c)return n;if(d<0||24<=d||o&&12<d)return n;if(l<0||59<l)return n;h.setHours(d),h.setMinutes(l),h.setSeconds(c)}var s="function"==typeof t.min?t.min():t.min,f=s instanceof Date?s:s?v(s,r,a):h,u="function"==typeof t.max?t.max():t.max,p=u instanceof Date?u:u?v(u,r,a):h,m=s instanceof Date?y(f,t.format):s,g=u instanceof Date?y(p,t.format):u;switch(!0){case!!m&&!g:return{message:b.default(e.l10n?e.l10n.date.min:i,m),meta:{date:h},valid:h.getTime()>=f.getTime()};case!!g&&!m:return{message:b.default(e.l10n?e.l10n.date.max:i,g),meta:{date:h},valid:h.getTime()<=p.getTime()};case!!g&&!!m:return{message:b.default(e.l10n?e.l10n.date.range:i,[m,g]),meta:{date:h},valid:h.getTime()<=p.getTime()&&h.getTime()>=f.getTime()};default:return{message:""+i,meta:{date:h},valid:!0}}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/different.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){var t="function"==typeof e.options.compare?e.options.compare.call(this):e.options.compare;return{valid:""===t||e.value!==t}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/digits.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){return{valid:""===e.value||/^\d+$/.test(e.value)}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/emailAddress.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{multiple:!1,separator:/[,;]/},e.options),i=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;if(!0!==t.multiple&&""+t.multiple!="true")return{valid:i.test(e.value)};for(var t=t.separator||/[,;]/,n=function(e,t){for(var i=e.split(/"/),n=i.length,r=[],s="",o=0;o<n;o++)if(o%2==0){var a=i[o].split(t),l=a.length;if(1===l)s+=a[0];else{r.push(s+a[0]);for(var c=1;c<l-1;c++)r.push(a[c]);s=a[l-1]}}else s+='"'+i[o],o<n-1&&(s+='"');return r.push(s),r}(e.value,t),r=n.length,s=0;s<r;s++)if(!i.test(n[s]))return{valid:!1};return{valid:!0}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/file.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t,i=e.options.extension?e.options.extension.toLowerCase().split(","):null,n=e.options.type?e.options.type.toLowerCase().split(","):null;if(window.File&&window.FileList&&window.FileReader){var r=e.element.files,s=r.length,o=0;if(e.options.maxFiles&&s>parseInt(""+e.options.maxFiles,10))return{meta:{error:"INVALID_MAX_FILES"},valid:!1};if(e.options.minFiles&&s<parseInt(""+e.options.minFiles,10))return{meta:{error:"INVALID_MIN_FILES"},valid:!1};for(var a={},l=0;l<s;l++){if(o+=r[l].size,a={ext:t=r[l].name.substr(r[l].name.lastIndexOf(".")+1),file:r[l],size:r[l].size,type:r[l].type},e.options.minSize&&r[l].size<parseInt(""+e.options.minSize,10))return{meta:Object.assign({},{error:"INVALID_MIN_SIZE"},a),valid:!1};if(e.options.maxSize&&r[l].size>parseInt(""+e.options.maxSize,10))return{meta:Object.assign({},{error:"INVALID_MAX_SIZE"},a),valid:!1};if(i&&-1===i.indexOf(t.toLowerCase()))return{meta:Object.assign({},{error:"INVALID_EXTENSION"},a),valid:!1};if(r[l].type&&n&&-1===n.indexOf(r[l].type.toLowerCase()))return{meta:Object.assign({},{error:"INVALID_TYPE"},a),valid:!1}}if(e.options.maxTotalSize&&o>parseInt(""+e.options.maxTotalSize,10))return{meta:Object.assign({},{error:"INVALID_MAX_TOTAL_SIZE",totalSize:o},a),valid:!1};if(e.options.minTotalSize&&o<parseInt(""+e.options.minTotalSize,10))return{meta:Object.assign({},{error:"INVALID_MIN_TOTAL_SIZE",totalSize:o},a),valid:!1}}else if(t=e.value.substr(e.value.lastIndexOf(".")+1),i&&-1===i.indexOf(t.toLowerCase()))return{meta:{error:"INVALID_EXTENSION",ext:t},valid:!1};return{valid:!0}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/greaterThan.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js")],t=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{inclusive:!0,message:""},e.options),i=parseFloat((""+t.min).replace(",","."));return t.inclusive?{message:n.default(e.l10n?t.message||e.l10n.greaterThan.default:t.message,""+i),valid:parseFloat(e.value)>=i}:{message:n.default(e.l10n?t.message||e.l10n.greaterThan.notInclusive:t.message,""+i),valid:parseFloat(e.value)>i}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/identical.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){var t="function"==typeof e.options.compare?e.options.compare.call(this):e.options.compare;return{valid:""===t||e.value===t}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/index.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/validators/between.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/blank.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/callback.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/choice.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/creditCard.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/date.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/different.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/digits.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/emailAddress.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/file.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/greaterThan.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/identical.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/integer.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/ip.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/lessThan.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/notEmpty.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/numeric.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/promise.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/regexp.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/remote.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/stringCase.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/stringLength.js"),i("../demo5/src/plugins/formvalidation/dist/amd/validators/uri.js")],t=function(e,t,i,n,r,s,o,a,l,c,u,d,h,f,p,m,g,v,y,b,_,x,w,k,S){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={between:i.default,blank:n.default,callback:r.default,choice:s.default,creditCard:o.default,date:a.default,different:l.default,digits:c.default,emailAddress:u.default,file:d.default,greaterThan:h.default,identical:f.default,integer:p.default,ip:m.default,lessThan:g.default,notEmpty:v.default,numeric:y.default,promise:b.default,regexp:_.default,remote:x.default,stringCase:w.default,stringLength:k.default,uri:S.default}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/integer.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{decimalSeparator:".",thousandsSeparator:""},e.options),i="."===t.decimalSeparator?"\\.":t.decimalSeparator,t="."===t.thousandsSeparator?"\\.":t.thousandsSeparator,n=new RegExp("^-?[0-9]{1,3}("+t+"[0-9]{3})*("+i+"[0-9]+)?$"),r=new RegExp(t,"g"),e=""+e.value;if(!n.test(e))return{valid:!1};t&&(e=e.replace(r,"")),i&&(e=e.replace(i,"."));n=parseFloat(e);return{valid:!isNaN(n)&&isFinite(n)&&Math.floor(n)===n}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/ip.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{ipv4:!0,ipv6:!0},e.options),i=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/,n=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;switch(!0){case t.ipv4&&!t.ipv6:return{message:e.l10n?t.message||e.l10n.ip.ipv4:t.message,valid:i.test(e.value)};case!t.ipv4&&t.ipv6:return{message:e.l10n?t.message||e.l10n.ip.ipv6:t.message,valid:n.test(e.value)};default:t.ipv4&&t.ipv6;return{message:e.l10n?t.message||e.l10n.ip.default:t.message,valid:i.test(e.value)||n.test(e.value)}}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/lessThan.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js")],t=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{inclusive:!0,message:""},e.options),i=parseFloat((""+t.max).replace(",","."));return t.inclusive?{message:n.default(e.l10n?t.message||e.l10n.lessThan.default:t.message,""+i),valid:parseFloat(e.value)<=i}:{message:n.default(e.l10n?t.message||e.l10n.lessThan.notInclusive:t.message,""+i),valid:parseFloat(e.value)<i}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/notEmpty.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){return{valid:""!==e.value}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/numeric.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{decimalSeparator:".",thousandsSeparator:""},e.options),e=""+e.value,i=(e.substr(0,1)===t.decimalSeparator?e="0"+t.decimalSeparator+e.substr(1):e.substr(0,2)==="-"+t.decimalSeparator&&(e="-0"+t.decimalSeparator+e.substr(2)),"."===t.decimalSeparator?"\\.":t.decimalSeparator),t="."===t.thousandsSeparator?"\\.":t.thousandsSeparator,n=new RegExp("^-?[0-9]{1,3}("+t+"[0-9]{3})*("+i+"[0-9]+)?$"),r=new RegExp(t,"g");if(!n.test(e))return{valid:!1};t&&(e=e.replace(r,"")),i&&(e=e.replace(i,"."));n=parseFloat(e);return{valid:!isNaN(n)&&isFinite(n)}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/promise.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/call.js")],t=function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){return i.default(e.options.promise,[e])}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/regexp.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=e.options.regexp;return t instanceof RegExp?{valid:t.test(e.value)}:(t=t.toString(),{valid:(e.options.flags?new RegExp(t,e.options.flags):new RegExp(t)).test(e.value)})}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/remote.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/fetch.js")],t=function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var n={crossDomain:!1,data:{},headers:{},method:"GET",validKey:"valid"};return{validate:function(e){if(""===e.value)return Promise.resolve({valid:!0});var t=Object.assign({},n,e.options),i=t.data,e=((i="string"==typeof(i="function"==typeof t.data?t.data.call(this,e):i)?JSON.parse(i):i)[t.name||e.field]=e.value,"function"==typeof t.url?t.url.call(this,e):t.url);return r.default(e,{crossDomain:t.crossDomain,headers:t.headers,method:t.method,params:i}).then(function(e){return Promise.resolve({message:e.message,meta:e,valid:""+e[t.validKey]=="true"})}).catch(function(e){return Promise.reject({valid:!1})})}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/stringCase.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},{case:"lower"},e.options),i=(t.case||"lower").toLowerCase();return{message:t.message||(e.l10n?"upper"===i?e.l10n.stringCase.upper:e.l10n.stringCase.default:t.message),valid:"upper"===i?e.value===e.value.toUpperCase():e.value===e.value.toLowerCase()}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/stringLength.js":function(e,t,i){i=[i,t,i("../demo5/src/plugins/formvalidation/dist/amd/utils/format.js")],t=function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{validate:function(e){var t=Object.assign({},{message:"",trim:!1,utf8Bytes:!1},e.options),i=!0===t.trim||""+t.trim=="true"?e.value.trim():e.value;if(""===i)return{valid:!0};var n=t.min?""+t.min:"",r=t.max?""+t.max:"",i=t.utf8Bytes?function(e){for(var t=e.length,i=e.length-1;0<=i;i--){var n=e.charCodeAt(i);127<n&&n<=2047?t++:2047<n&&n<=65535&&(t+=2),56320<=n&&n<=57343&&i--}return""+t}(i):i.length,s=!0,o=e.l10n?t.message||e.l10n.stringLength.default:t.message;switch((n&&i<parseInt(n,10)||r&&i>parseInt(r,10))&&(s=!1),!0){case!!n&&!!r:o=a.default(e.l10n?t.message||e.l10n.stringLength.between:t.message,[n,r]);break;case!!n:o=a.default(e.l10n?t.message||e.l10n.stringLength.more:t.message,""+(parseInt(n,10)-1));break;case!!r:o=a.default(e.l10n?t.message||e.l10n.stringLength.less:t.message,""+(parseInt(r,10)+1))}return{message:o,valid:s}}}}}.apply(t,i);void 0!==t&&(e.exports=t)},
1"../demo5/src/plugins/formvalidation/dist/amd/validators/uri.js":function(e,t,i){i=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var r={allowEmptyProtocol:!1,allowLocal:!1,protocol:"http, https, ftp"};return{validate:function(e){if(""===e.value)return{valid:!0};var t=Object.assign({},r,e.options),i=!0===t.allowLocal||""+t.allowLocal=="true",n=!0===t.allowEmptyProtocol||""+t.allowEmptyProtocol=="true",t=t.protocol.split(",").join("|").replace(/\s/g,"");return{valid:new RegExp("^(?:(?:"+t+")://)"+(n?"?":"")+"(?:\\S+(?::\\S*)?@)?(?:"+(i?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(i?"?":"")+")(?::\\d{2,5})?(?:/[^\\s]*)?$","i").test(e.value)}}}}}.apply(t,[i,t]);void 0!==i&&(e.exports=i)},
1"../demo5/src/plugins/jquery-idletimer/idle-timer.min.js":function(e,t){var u;(u=jQuery).idleTimer=function(e,n){function i(e){var t=u.data(n,"idleTimerObj")||{},i=(t.idle=!t.idle,t.olddate=+new Date,u.Event((t.idle?"idle":"active")+".idleTimer"));u(n).trigger(i,[n,u.extend({},t),e])}function t(e){var t=u.data(n,"idleTimerObj")||{};if(("storage"!==e.type||e.originalEvent.key===t.timerSyncId)&&null==t.remaining){if("mousemove"===e.type){if(e.pageX===t.pageX&&e.pageY===t.pageY)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(+new Date-t.olddate<200)return}clearTimeout(t.tId),t.idle&&i(e),t.lastActive=+new Date,t.pageX=e.pageX,t.pageY=e.pageY,"storage"!==e.type&&t.timerSyncId&&"undefined"!=typeof localStorage&&localStorage.setItem(t.timerSyncId,t.lastActive),t.tId=setTimeout(i,t.timeout)}}function r(){var e=u.data(n,"idleTimerObj")||{};e.idle=e.idleBackup,e.olddate=+new Date,e.lastActive=e.olddate,e.remaining=null,clearTimeout(e.tId),e.idle||(e.tId=setTimeout(i,e.timeout))}"object"==typeof e?(s=e,e=null):"number"==typeof e&&(s={timeout:e},e=null),n=n||document,s=u.extend({idle:!1,timeout:3e4,events:"mousemove keydown wheel DOMMouseScroll mousewheel mousedown touchstart touchmove MSPointerDown MSPointerMove"},s);var s,o,a=u(n),l=a.data("idleTimerObj")||{};if(null===e&&void 0!==l.idle)return r(),a;if(null!==e){if(null!==e&&void 0===l.idle)return!1;if("destroy"===e)return o=u.data(n,"idleTimerObj")||{},clearTimeout(o.tId),a.removeData("idleTimerObj"),a.off("._idleTimer"),a;if("pause"===e)return null==(o=u.data(n,"idleTimerObj")||{}).remaining&&(o.remaining=o.timeout-(+new Date-o.olddate),clearTimeout(o.tId)),a;if("resume"===e)return null!=(c=u.data(n,"idleTimerObj")||{}).remaining&&(c.idle||(c.tId=setTimeout(i,c.remaining)),c.remaining=null),a;if("reset"===e)return r(),a;if("getRemainingTime"===e){var c=u.data(n,"idleTimerObj")||{};if(c.idle)return 0;if(null!=c.remaining)return c.remaining;c=c.timeout-(+new Date-c.lastActive);return c=c<0?0:c;return}if("getElapsedTime"===e)return+new Date-l.olddate;if("getLastActiveTime"===e)return l.lastActive;if("isIdle"===e)return l.idle}return a.on(u.trim((s.events+" ").split(" ").join("._idleTimer ")),function(e){t(e)}),s.timerSyncId&&u(window).bind("storage",t),(l=u.extend({},{olddate:+new Date,lastActive:+new Date,idle:s.idle,idleBackup:s.idle,timeout:s.timeout,remaining:null,timerSyncId:s.timerSyncId,tId:null,pageX:null,pageY:null})).idle||(l.tId=setTimeout(i,l.timeout)),u.data(n,"idleTimerObj",l),a},u.fn.idleTimer=function(e){return this[0]?u.idleTimer(e,this[0]):this}},
vendor: 38,907 bytes, line 1
1"./node_modules/@yaireo/tagify/dist/tagify.min.js":function(e,t,i){var n;void 0!==(t="function"==typeof(n=function(){"use strict";function n(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?n(i,!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(i).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var t="undefined"!=typeof InstallTrigger;function p(e){var t=Object.prototype.toString.call(e).split(" ")[1].slice(0,-1);return e===Object(e)&&"Array"!=t&&"Function"!=t&&"RegExp"!=t&&"HTMLUnknownElement"!=t}function c(e){var t=document.createElement("div");return e.replace(/\&#?[0-9a-z]+;/gi,function(e){return t.innerHTML=e,t.innerText})}function s(e){return(new DOMParser).parseFromString(e.trim(),"text/html").body.firstElementChild}function d(e){return e?e.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,function(e,t){return t||" "}):""}function o(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/`|'/g,"&#039;")}function u(e,t,i){function n(e,t){for(var i in t)t.hasOwnProperty(i)&&(p(t[i])?p(e[i])?n(e[i],t[i]):e[i]=Object.assign({},t[i]):e[i]=t[i])}return e instanceof Object||(e={}),n(e,t),i&&n(e,i),e}function m(e){return String.prototype.normalize?"string"==typeof e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:e}function e(e,t){if(!e)return console.warn("Tagify: ","invalid input element ",e),this;this.applySettings(e,t||{}),this.state={editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},u(this,new this.EventDispatcher(this)),this.build(e),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),e.autofocus&&this.DOM.input.focus()}return(e.prototype={isIE:window.document.documentMode,TEXTS:{empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},DEFAULTS:{delimiters:",",pattern:null,maxTags:1/0,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,keepInvalidTags:!1,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,editTags:2,transformTag:function(){},autoComplete:{enabled:!0,rightKey:!1},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:[],fuzzySearch:!0,accentedSearch:!0,highlightFirst:!1,closeOnSelect:!0,position:"all"},hooks:{beforeRemoveTag:function(){return Promise.resolve()}}},templates:{wrapper:function(e,t){return'<tags class="tagify '.concat(t.mode?"tagify--"+t.mode:""," ").concat(e.className,'"\n                        ').concat(t.readonly?"readonly":"",'\n                        tabIndex="-1">\n                <span contenteditable data-placeholder="').concat(t.placeholder||"&#8203;",'" aria-placeholder="').concat(t.placeholder||"",'"\n                    class="tagify__input"\n                    role="textbox"\n                    aria-autocomplete="both"\n                    aria-multiline="').concat("mix"==t.mode,'"></span>\n            </tags>')},tag:function(e,t){return'<tag title="'.concat(t.title||e,"\"\n                        contenteditable='false'\n                        spellcheck='false'\n                        tabIndex=\"-1\"\n                        class=\"tagify__tag ").concat(t.class?t.class:"",'"\n                        ').concat(this.getAttributes(t),">\n                <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n                <div>\n                    <span class='tagify__tag-text'>").concat(e,"</span>\n                </div>\n            </tag>")},dropdown:function(e){var t=e.dropdown,i="".concat("manual"==t.position?"":"tagify__dropdown tagify__dropdown--".concat(t.position)," ").concat(t.classname).trim();return'<div class="'.concat(i,'" role="listbox" aria-labelledby="dropdown">\n                        <div class="tagify__dropdown__wrapper"></div>\n                    </div>')},dropdownItem:function(e){return"<div ".concat(this.getAttributes(e),"\n                        class='tagify__dropdown__item ").concat(e.class?e.class:"",'\'\n                        tabindex="0"\n                        role="option">').concat(e.value,"</div>")}},customEventsList:["add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select"],applySettings:function(i,e){var n=this;if(this.DEFAULTS.templates=this.templates,this.settings=u({},this.DEFAULTS,e),this.settings.readonly=i.hasAttribute("readonly"),this.settings.placeholder=i.getAttribute("placeholder")||this.settings.placeholder||"",this.isIE&&(this.settings.autoComplete=!1),["whitelist","blacklist"].forEach(function(e){var t=i.getAttribute("data-"+e);t&&(t=t.split(n.settings.delimiters))instanceof Array&&(n.settings[e]=t)}),"autoComplete"in e&&!p(e.autoComplete)&&(this.settings.autoComplete=this.DEFAULTS.autoComplete,this.settings.autoComplete.enabled=e.autoComplete),i.pattern)try{this.settings.pattern=new RegExp(i.pattern)}catch(e){}if(this.settings.delimiters)try{this.settings.delimiters=new RegExp(this.settings.delimiters,"g")}catch(e){}"select"==this.settings.mode&&(this.settings.dropdown.enabled=0),"mix"==this.settings.mode&&(this.settings.autoComplete.rightKey=!0)},getAttributes:function(e){if("[object Object]"!=Object.prototype.toString.call(e))return"";var t,i,n=Object.keys(e),r="";for(i=n.length;i--;)"class"!=(t=n[i])&&e.hasOwnProperty(t)&&e[t]&&(r+=" "+t+(e[t]?'="'.concat(e[t],'"'):""));return r},getCaretGlobalPosition:function(){var e=document.getSelection();if(e.rangeCount){var t,i,n=e.getRangeAt(0),r=n.startContainer,s=n.startOffset;return 0<s?((i=document.createRange()).setStart(r,s-1),i.setEnd(r,s),{left:(t=i.getBoundingClientRect()).right,top:t.top,bottom:t.bottom}):r.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars:function(){var e,t,i,n=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:(e=function(e){if(!e)return{};var t=(e=e.trim().split(" ")[0]).split(/\d+/g).filter(function(e){return e}).pop().trim();return{value:+e.split(t).filter(function(e){return e})[0].trim(),unit:t}}((i="tag-hide-transition",n.getPropertyValue("--"+i))),t=e.value,"s"==e.unit?1e3*t:t)}},build:function(e){var t=this.DOM,i=this.settings.templates.wrapper(e,this.settings);t.originalInput=e,t.scope=s(i),t.input=t.scope.querySelector("[contenteditable]"),e.parentNode.insertBefore(t.scope,e),0<=this.settings.dropdown.enabled&&this.dropdown.init.call(this)},destroy:function(){this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide.call(this,!0),clearTimeout(this.dropdownHide__bindEventsTimeout)},loadOriginalValues:function(e){if(e=e||this.DOM.originalInput.value)if(this.removeAllTags(),"mix"==this.settings.mode)this.parseMixTags(e.trim());else{try{"string"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(e){}this.addTags(e).forEach(function(e){return e&&e.classList.add("tagify--noAnim")})}},cloneEvent:function(e){var t={};for(var i in e)t[i]=e[i];return t},EventDispatcher:function(r){var s=document.createTextNode("");function i(t,e,i){i&&e.split(/\s+/g).forEach(function(e){return s[t+"EventListener"].call(s,e,i)})}this.off=function(e,t){return i("remove",e,t),this},this.on=function(e,t){return t&&"function"==typeof t&&i("add",e,t),this},this.trigger=function(e,t){var i;if(e)if(r.settings.isJQueryPlugin)"remove"==e&&(e="removeTag"),jQuery(r.DOM.originalInput).triggerHandler(e,[t]);else{try{var n=u({},t);n.tagify=this,i=new CustomEvent(e,{detail:n})}catch(e){console.warn(e)}s.dispatchEvent(i)}}},loading:function(e){return this.state.isLoading=e,this.DOM.scope.classList[e?"add":"remove"]("tagify--loading"),this},toggleFocusClass:function(e){this.DOM.scope.classList.toggle("tagify--focus",!!e)},events:{customBinding:function(){var t=this;this.customEventsList.forEach(function(e){t.on(e,t.settings.callbacks[e])})},binding:function(e){var t,i=!(0<arguments.length&&void 0!==e)||e,n=this.events.callbacks,r=i?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!i)for(var s in(this.state.mainEvents=i)&&!this.listeners.main&&(this.DOM.input.addEventListener(this.isIE?"keydown":"input",n[this.isIE?"onInputIE":"onInput"].bind(this)),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),t=this.listeners.main=this.listeners.main||{focus:["input",n.onFocusBlur.bind(this)],blur:["input",n.onFocusBlur.bind(this)],keydown:["input",n.onKeydown.bind(this)],click:["scope",n.onClickScope.bind(this)],dblclick:["scope",n.onDoubleClickScope.bind(this)],paste:["input",n.onPaste.bind(this)]})"blur"==s&&!i||this.DOM[t[s][0]][r](s,t[s][1])},callbacks:{onFocusBlur:function(e){var t=e.target?e.target.textContent.trim():"",i=this.settings,n=e.type,r=0<=i.dropdown.enabled,s={relatedTarget:e.relatedTarget},o=e.relatedTarget&&e.relatedTarget.classList.contains("tagify__tag")&&this.DOM.scope.contains(e.relatedTarget),a=this.state.actions.selectOption&&(r||!i.dropdown.closeOnSelect),l=this.state.actions.addNew&&r;if(!o){if("blur"==n&&e.relatedTarget===this.DOM.scope)return this.dropdown.hide.call(this),void this.DOM.input.focus();if(!a&&!l)if(this.state.hasFocus="focus"==n&&+new Date,this.toggleFocusClass(this.state.hasFocus),this.setRangeAtStartEnd(!1),"mix"!=i.mode){if("focus"==n)return this.trigger("focus",s),void(0===i.dropdown.enabled&&this.dropdown.show.call(this));"blur"==n&&(this.trigger("blur",s),this.loading(!1),("select"==this.settings.mode?!this.value.length||this.value[0].value!=t:t&&!this.state.actions.selectOption&&i.addTagOnBlur)&&this.addTags(t,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide.call(this)}else if("focus"==n){if(this.fixFirefoxLastTagNoCaret())return;this.trigger("focus",s)}else"blur"==e.type&&(this.trigger("blur",s),this.loading(!1),this.dropdown.hide.call(this),this.state.dropdown.visible=void 0)}},onKeydown:function(e){var n=this,t=e.target.textContent.trim();if(this.trigger("keydown",{originalEvent:this.cloneEvent(e)}),"mix"==this.settings.mode){switch(e.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var i=document.getSelection(),r="Delete"==e.key&&i.anchorOffset==i.anchorNode.length,s=1==i.anchorNode.nodeType||!i.anchorOffset&&i.anchorNode.previousElementSibling,o=c(this.DOM.input.innerHTML),a=this.getTagElms();if(3==i.anchorNode.nodeType&&!i.anchorNode.nodeValue&&i.anchorNode.previousElementSibling&&e.preventDefault(),(s||r)&&!this.settings.backspace)return void e.preventDefault();setTimeout(function(){var e=c(n.DOM.input.innerHTML);if((i.anchorNode==n.DOM.input&&e.length==o.length||!i.anchorOffset&&e.length>=o.length)&&(n.removeTags(i.anchorNode.previousElementSibling),n.fixFirefoxLastTagNoCaret(),2==n.DOM.input.children.length&&"BR"==n.DOM.input.children[1].tagName))return n.DOM.input.innerHTML="",!(n.value.length=0);n.value=[].map.call(a,function(e,t){var i=e.__tagifyTagData;if(e.parentNode)return i;n.trigger("remove",{tag:e,index:t,data:i})}).filter(function(e){return e})},50)}return!0}switch(e.key){case"Backspace":this.state.dropdown.visible||""!=t&&8203!=t.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;e.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show.call(this);break;case"ArrowRight":var l=this.state.inputSuggestion||this.state.ddItemData;if(l&&this.settings.autoComplete.rightKey)return void this.addTags([l],!0);break;case"Tab":if(!t||"select"==this.settings.mode)return!0;case"Enter":e.preventDefault(),setTimeout(function(){n.state.actions.selectOption||n.addTags(t,!0)})}},onInput:function(e){var t=this.input.normalize.call(this),i=t.length>=this.settings.dropdown.enabled,n={value:t,inputElm:this.DOM.input};if("mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,e);n.isValid=this.validateTag({value:t}),this.trigger("input",n),t?this.input.value!=t&&(this.input.set.call(this,t,!1),-1!=t.search(this.settings.delimiters)?this.addTags(t)&&this.input.set.call(this):0<=this.settings.dropdown.enabled&&this.dropdown[i?"show":"hide"].call(this,t)):this.input.set.call(this,"")},onMixTagsInput:function(){var e,t,i,n,r,s,o,a,l=this,c=this.settings;if(this.value.length<this.getTagElms().length)return this.value=[].map.call(this.getTagElms(),function(e){return e.__tagifyTagData}),void this.update();if(this.hasMaxTags())return!0;if(window.getSelection&&0<(o=window.getSelection()).rangeCount&&3==o.anchorNode.nodeType){if((e=o.getRangeAt(0).cloneRange()).collapse(!0),e.setStart(o.focusNode,0),n=(t=e.toString().slice(0,e.endOffset)).split(c.pattern).length-1,(i=t.match(c.pattern))&&(r=t.slice(t.lastIndexOf(i[i.length-1]))),r){this.state.actions.ArrowLeft=!1,this.state.tag={prefix:r.match(c.pattern)[0],value:r.replace(c.pattern,"")},this.state.tag.baseOffset=o.baseOffset-this.state.tag.value.length,s=this.state.tag.value.length>=c.dropdown.enabled;try{a=(a=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&a.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(e){}(a||n<this.state.mixMode.matchedPatternCount)&&(s=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=n}setTimeout(function(){l.update(),l.trigger("input",u({},l.state.tag,{textContent:l.DOM.input.textContent})),l.state.tag&&l.dropdown[s?"show":"hide"].call(l,l.state.tag.value)},10)},onInputIE:function(e){var t=this;setTimeout(function(){t.events.callbacks.onInput.call(t,e)})},onClickScope:function(e){var t=e.target.closest(".tagify__tag"),i=this.settings,n=new Date-this.state.hasFocus;if(e.target!=this.DOM.scope){if(!e.target.classList.contains("tagify__tag__removeBtn"))return t?(this.trigger("click",{tag:t,index:this.getNodeIndex(t),data:this.tagData(t),originalEvent:this.cloneEvent(e)}),void(1==this.settings.editTags&&this.events.callbacks.onDoubleClickScope.call(this,e))):void(e.target==this.DOM.input&&500<n?this.state.dropdown.visible?this.dropdown.hide.call(this):0===i.dropdown.enabled&&"mix"!=i.mode&&this.dropdown.show.call(this):"select"==i.mode&&(this.state.dropdown.visible||this.dropdown.show.call(this)));this.removeTags(e.target.parentNode)}else this.DOM.input.focus()},onPaste:function(e){var t;"mix"!=this.settings.mode&&(e.preventDefault(),t=(e.clipboardData||window.clipboardData).getData("Text"),this.input.set.call(this,t))},onEditTagInput:function(e,t){var i=e.closest(".tagify__tag"),n=this.getNodeIndex(i),r=this.input.normalize.call(this,e),s=r!=e.originalValue,o=this.validateTag({value:r});s||!0!==e.originalIsValid||(o=!0),i.classList.toggle("tagify--invalid",!0!==o),i.__tagifyTagData.__isValid=o,r.length>=this.settings.dropdown.enabled&&(this.state.editing.value=r,this.dropdown.show.call(this,r)),this.trigger("edit:input",{tag:i,index:n,data:u({},this.value[n],{newValue:r}),originalEvent:this.cloneEvent(t)})},onEditTagFocus:function(e){this.state.editing={scope:e,input:e.querySelector("[contenteditable]")}},onEditTagBlur:function(e){if(this.state.editing=!1,this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(e)){var t=e.closest(".tagify__tag"),i=this.input.normalize.call(this,e),n=i,r=n!=e.originalValue,s=u({},t.__tagifyTagData,{value:n}),o=this.validateTag(s);if(!i)return this.removeTags(t),void this.onEditTagDone(null,s);r?(this.settings.transformTag.call(this,s),!0===(o=this.validateTag(s))?this.onEditTagDone(t,s):this.trigger("invalid",{data:s,tag:t,message:o})):this.onEditTagDone(t,s)}},onEditTagkeydown:function(e,t){switch(this.trigger("edit:keydown",{originalEvent:this.cloneEvent(e)}),e.key){case"Esc":case"Escape":e.target.textContent=e.target.originalValue,t.__tagifyTagData=t.__tagifyTagData.__originalData;case"Enter":case"Tab":e.preventDefault(),e.target.blur()}},onDoubleClickScope:function(e){var t,i,n=e.target.closest("tag"),r=this.settings;n&&(t=n.classList.contains("tagify__tag--editable"),i=n.hasAttribute("readonly"),"select"==r.mode||r.readonly||t||i||!this.settings.editTags||this.editTag(n),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:n,index:this.getNodeIndex(n),data:this.tagData(n)}))}}},fixFirefoxLastTagNoCaret:function(){var e=this.DOM.input;if(t&&e.childNodes.length&&1==e.lastChild.nodeType)return e.appendChild(document.createTextNode("")),this.setRangeAtStartEnd(!0),!0},editTag:function(t,e){var i=this;e=e||{};var n=(t=t||this.getLastTag()).querySelector(".tagify__tag-text"),r=this.getNodeIndex(t),s=t.__tagifyTagData,o=this.events.callbacks,a=this,l=!0;if(n){if(!(s instanceof Object&&"editable"in s)||s.editable)return t.__tagifyTagData.__originalData=u({},s),t.classList.add("tagify__tag--editable"),n.originalValue=n.textContent,n.setAttribute("contenteditable",!0),n.addEventListener("focus",o.onEditTagFocus.bind(this,t)),n.addEventListener("blur",function(){setTimeout(o.onEditTagBlur.bind(a),0,n)}),n.addEventListener("input",o.onEditTagInput.bind(this,n)),n.addEventListener("keydown",function(e){return o.onEditTagkeydown.call(i,e,t)}),n.focus(),this.setRangeAtStartEnd(!1,n),e.skipValidation||(l=this.editTagToggleValidity(t,s.value)),n.originalIsValid=l,this.trigger("edit:start",{tag:t,index:r,data:s,isValid:l}),this}else console.warn("Cannot find element in Tag template: ",".tagify__tag-text")},editTagToggleValidity:function(e){var t,i=e.__tagifyTagData;if(i)return t=!(!i.__isValid||1==i.__isValid),e.classList.toggle("tagify--invalid",t),i.__isValid;console.warn("tag has no data: ",e,i)},onEditTagDone:function(e,t){var i=this;t=t||{};var n={tag:e,index:this.getNodeIndex(e),data:t};this.trigger("edit:beforeUpdate",n),delete t.__originalData,e&&(this.editTagToggleValidity(e),this.replaceTag(e,t)),this.trigger("edit:updated",n),this.dropdown.hide.call(this),!0===t.__isValid&&this.getTagElms("tagify--notAllowed").forEach(function(e){var t=i.validateTag(e.__tagifyTagData);!0===t&&(e.__tagifyTagData.__isValid=t,i.replaceTag(e))})},replaceTag:function(e,t){t&&t.value||(t=e.__tagifyTagData),t.__isValid&&1!=t.__isValid&&u(t,this.getInvaildTagParams(t,t.__isValid));var i=this.createTagElem(t);e.parentNode.replaceChild(i,e),this.updateValueByDOMTags()},updateValueByDOMTags:function(){var t=this;this.value.length=0,[].forEach.call(this.getTagElms(),function(e){e.classList.contains("tagify--notAllowed")||t.value.push(e.__tagifyTagData)}),this.update()},setRangeAtStartEnd:function(t,i){i=(i=i||this.DOM.input).lastChild||i;var n=document.getSelection();n.rangeCount&&["Start","End"].forEach(function(e){return n.getRangeAt(0)["set"+e](i,t?0:i.length)})},input:{value:"",set:function(e,t){var i=0<arguments.length&&void 0!==e?e:"",n=!(1<arguments.length&&void 0!==t)||t,r=this.settings.dropdown.closeOnSelect;this.input.value=i,n&&(this.DOM.input.innerHTML=i),!i&&r&&setTimeout(this.dropdown.hide.bind(this),20),this.input.autocomplete.suggest.call(this),this.input.validate.call(this),this.setRangeAtStartEnd()},validate:function(){var e=!this.input.value||this.validateTag({value:this.input.value});"select"==this.settings.mode?this.DOM.scope.classList.toggle("tagify--invalid",!0!==e):this.DOM.input.classList.toggle("tagify__input--invalid",!0!==e)},normalize:function(e){var t=e||this.DOM.input,i=[];t.childNodes.forEach(function(e){return 3==e.nodeType&&i.push(e.nodeValue)}),i=i.join("\n");try{i=i.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(e){}return i=i.replace(/\s/g," ").replace(/^\s+/,"")},autocomplete:{suggest:function(e){if(this.settings.autoComplete.enabled){"string"==typeof(e=e||{})&&(e={value:e});var t=e.value||"",i=t.substr(0,this.input.value.length).toLowerCase(),n=t.substring(this.input.value.length);t&&this.input.value&&i==this.input.value.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",n),this.state.inputSuggestion=e):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set:function(e){var t=this.DOM.input.getAttribute("data-suggest"),i=e||(t?this.input.value+t:null);return!!i&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+i)):(this.input.set.call(this,i),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide.call(this),!0)}}},getTagIdx:function(t){return this.value.findIndex(function(e){return JSON.stringify(e)==JSON.stringify(t)})},getNodeIndex:function(e){var t=0;if(e)for(;e=e.previousElementSibling;)t++;return t},getTagElms:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=[".tagify__tag"].concat(t).join(".");return this.DOM.scope.querySelectorAll(n)},getLastTag:function(){var e=this.DOM.scope.querySelectorAll("tag:not(.tagify--hide):not([readonly])");return e[e.length-1]},tagData:function(e,t){return t&&(e.__tagifyTagData=u({},e.__tagifyTagData||{},t)),e.__tagifyTagData},isTagDuplicate:function(i){return"select"!=this.settings.mode&&this.value.reduce(function(e,t){return i.trim().toLowerCase()===t.value.toLowerCase()?e+1:e},0)},getTagIndexByValue:function(i){var n=[];return this.getTagElms().forEach(function(e,t){e.textContent.trim().toLowerCase()==i.toLowerCase()&&n.push(t)}),n},getTagElmByValue:function(e){var t=this.getTagIndexByValue(e)[0];return this.getTagElms()[t]},markTagByValue:function(e,t){return!!(t=t||this.getTagElmByValue(e))&&(t.classList.add("tagify--mark"),setTimeout(function(){t.classList.remove("tagify--mark")},100),t)},isTagBlacklisted:function(t){return t=t.toLowerCase().trim(),this.settings.blacklist.filter(function(e){return t==e.toLowerCase()}).length},isTagWhitelisted:function(t){return this.settings.whitelist.some(function(e){return"string"==typeof t?t.trim().toLowerCase()===(e.value||e).toLowerCase():JSON.stringify(e).toLowerCase()===JSON.stringify(t).toLowerCase()})},validateTag:function(e){var t=e.value.trim(),i=this.settings,n=!0;return t?i.pattern&&i.pattern instanceof RegExp&&!i.pattern.test(t)?n=this.TEXTS.pattern:!i.duplicates&&this.isTagDuplicate(t)?n=this.TEXTS.duplicate:(this.isTagBlacklisted(t)||i.enforceWhitelist&&!this.isTagWhitelisted(t))&&(n=this.TEXTS.notAllowed):n=this.TEXTS.empty,n},getInvaildTagParams:function(e,t){return{"aria-invalid":!0,class:(e.class||"")+" tagify--notAllowed",title:t}},hasMaxTags:function(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},normalizeTags:function(e){function i(e){return(e+"").split(s).filter(function(e){return e}).map(function(e){return{value:e.trim()}})}var t,n=this.settings,r=n.whitelist,s=n.delimiters,o=n.mode,a=!!r&&r[0]instanceof Object,l=e instanceof Array,c=l&&e[0]instanceof Object&&"value"in e[0],u=[];if(c)return e=(t=[]).concat.apply(t,f(e.map(function(t){return i(t.value).map(function(e){return h(h({},t),e)})})));if("number"==typeof e&&(e=e.toString()),"string"==typeof e){if(!e.trim())return[];e=i(e)}else if(l){var d;e=(d=[]).concat.apply(d,f(e.map(function(e){return i(e)})))}return a&&(e.forEach(function(t){var e=r.filter(function(e){return e.value.toLowerCase()==t.value.toLowerCase()});e[0]?u.push(e[0]):"mix"!=o&&u.push(t)}),u.length&&(e=u)),e},parseMixTags:function(e){var o=this,t=this.settings,a=t.mixTagsInterpolator,l=t.duplicates,c=t.transformTag,u=t.enforceWhitelist,d=[];return e=e.split(a[0]).map(function(e,t){var i,n,r=e.split(a[1]),s=r[0];try{i=JSON.parse(s)}catch(e){i=o.normalizeTags(s)[0]}if(!(1<r.length)||u&&!o.isTagWhitelisted(i.value)||!l&&o.isTagDuplicate(i.value)){if(e)return t?a[0]+e:e}else c.call(o,i),n=o.createTagElem(i),d.push(i),n.classList.add("tagify--noAnim"),r[0]=n.outerHTML,o.value.push(i);return r.join("")}).join(""),this.DOM.input.innerHTML=e,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach(function(e,t){return e.__tagifyTagData=d[t]}),this.update(),e},replaceTextWithNode:function(e,t){if(this.state.tag||t){t=t||this.state.tag.prefix+this.state.tag.value;var i,n,r=this.state.selection||window.getSelection(),s=r.anchorNode;return s.splitText(r.anchorOffset),i=s.nodeValue.lastIndexOf(t),(n=s.splitText(i)).nodeValue=n.nodeValue.replace(t,""),s.parentNode.insertBefore(e,n),this.DOM.input.normalize(),n}},selectTag:function(e,t){if(!this.settings.enforceWhitelist||this.isTagWhitelisted(t.value))return this.input.set.call(this,t.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this)),this.getLastTag()?this.replaceTag(this.getLastTag(),t):this.appendTag(e),this.value[0]=t,this.trigger("add",{tag:e,data:t}),this.update(),[e]},addEmptyTag:function(){var e={value:""},t=this.createTagElem(e);t.__tagifyTagData=e,this.appendTag(t),this.editTag(t,{skipValidation:!0})},addTags:function(e,t,i){var n,r=this,s=2<arguments.length&&void 0!==i?i:this.settings.skipInvalid,o=[],a=this.settings;return e&&0!=e.length?(e=this.normalizeTags(e),"mix"==a.mode?(a.transformTag.call(this,e[0]),n=this.createTagElem(e[0]),this.replaceTextWithNode(n)||this.DOM.input.appendChild(n),setTimeout(function(){return n.classList.add("tagify--noAnim")},300),e[0].prefix=e[0].prefix||this.state.tag?this.state.tag.prefix:(a.pattern.source||a.pattern)[0],this.value.push(e[0]),this.update(),this.state.tag=null,this.trigger("add",u({},{tag:n},{data:e[0]})),this.fixFirefoxLastTagNoCaret(),n):("select"==a.mode&&(t=!1),this.DOM.input.removeAttribute("style"),e.forEach(function(e){var t,i={};if(e=Object.assign({},e),a.transformTag.call(r,e),e.__isValid=r.hasMaxTags()||r.validateTag(e),!0!==e.__isValid){if(s)return;u(i,r.getInvaildTagParams(e,e.__isValid)),e.__isValid==r.TEXTS.duplicate&&r.markTagByValue(e.value)}if(i.role="tag",e.readonly&&(i["aria-readonly"]=!0),(t=r.createTagElem(u({},e,i))).__tagifyTagData=e,o.push(t),"select"==a.mode)return r.selectTag(t,e);r.appendTag(t),e.__isValid&&!0===e.__isValid?(r.value.push(e),r.update(),r.trigger("add",{tag:t,index:r.value.length-1,data:e})):(r.trigger("invalid",{data:e,index:r.value.length,tag:t,message:e.__isValid}),a.keepInvalidTags||setTimeout(function(){return r.removeTags(t,!0)},1e3)),r.dropdown.position.call(r)}),e.length&&t&&this.input.set.call(this),this.dropdown.refilter.call(this),o)):("select"==a.mode&&this.removeAllTags(),o)},appendTag:function(e){var t=this.DOM.scope.lastElementChild;t===this.DOM.input?this.DOM.scope.insertBefore(e,t):this.DOM.scope.appendChild(e)},createTagElem:function(e){var t,i=o(e.value),n=this.settings.templates.tag.call(this,i,e);return this.settings.readonly&&(e.readonly=!0),(t=s(n=d(n))).__tagifyTagData=e,t},reCheckInvalidTags:function(){var r=this,e=this.DOM.scope.querySelectorAll(".tagify__tag.tagify--notAllowed");[].forEach.call(e,function(e){var t=e.__tagifyTagData,i=e.getAttribute("title")==r.TEXTS.duplicate,n=!0===r.validateTag(t);i&&n&&(t.__isValid=!0,r.replaceTag(e,t))})},removeTags:function(e,i,n){var r,s=this;e=e&&e instanceof HTMLElement?[e]:e instanceof Array?e:e?[e]:[this.getLastTag()],r=e.reduce(function(e,t){return t&&("string"==typeof t&&(t=s.getTagElmByValue(t)),t&&e.push({node:t,data:t.__tagifyTagData})),e},[]),n="number"==typeof n?n:this.CSSVars.tagHideTransition,"select"==this.settings.mode&&(n=0,this.input.set.call(this)),1==r.length&&r[0].node.classList.contains("tagify--notAllowed")&&(i=!0),this.settings.hooks.beforeRemoveTag(r).then(function(){function t(e){if(e.node.parentNode){var t=this.getTagIdx(e.data);e.node.parentNode.removeChild(e.node),i?this.settings.keepInvalidTags&&this.trigger("remove",{tag:e.node,index:t}):(this.trigger("remove",{tag:e.node,index:t,data:e.data}),this.dropdown.refilter.call(this),this.dropdown.position.call(this),this.DOM.input.normalize(),this.settings.keepInvalidTags&&this.reCheckInvalidTags())}}n&&10<n&&1==r.length?function(e){e.node.style.width=parseFloat(window.getComputedStyle(e.node).width)+"px",document.body.clientTop,e.node.classList.add("tagify--hide"),setTimeout(t.bind(this),n,e)}.call(s,r[0]):r.forEach(t.bind(s)),i||(r.forEach(function(e){var t=s.getTagIdx(e.data);-1<t&&s.value.splice(t,1)}),s.update())}).catch(function(e){})},removeAllTags:function(){this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":Array.prototype.slice.call(this.getTagElms()).forEach(function(e){return e.parentNode.removeChild(e)}),this.dropdown.position.call(this),"select"==this.settings.mode&&this.input.set.call(this),this.update()},removeValueById:function(){},preUpdate:function(){this.DOM.scope.classList.toggle("tagify--hasMaxTags",this.value.length>=this.settings.maxTags),this.DOM.scope.classList.toggle("tagify--noTags",!this.value.length)},update:function(){this.preUpdate();var e=this.DOM.originalInput,t=e.value,i=function(e,n){return e.map(function(e){var t={};for(var i in e)i!=n&&(t[i]=e[i]);return t})}(this.value,"__isValid"),n=new CustomEvent("change",{bubbles:!0});e.value="mix"==this.settings.mode?this.getMixedTagsAsString(i):i.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(i):JSON.stringify(i):"",n.simulated=!0,e._valueTracker&&e._valueTracker.setValue(t),e.dispatchEvent(n)},getMixedTagsAsString:function(){var i="",n=this,r=this.settings.mixTagsInterpolator;return function t(e){e.childNodes.forEach(function(e){if(1==e.nodeType){if(e.classList.contains("tagify__tag")&&e.__tagifyTagData)return void(i+=r[0]+JSON.stringify(e.__tagifyTagData)+r[1]);"BR"!=e.tagName||e.parentNode!=n.DOM.input&&1!=e.parentNode.childNodes.length?"DIV"!=e.tagName&&"P"!=e.tagName||(i+="\r\n",t(e)):i+="\r\n"}else i+=e.textContent})}(this.DOM.input),i},getNodeHeight:function(e){var t,i=e.cloneNode(!0);return i.style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(i),t=i.clientHeight,i.parentNode.removeChild(i),t},dropdown:{init:function(){this.DOM.dropdown=s(this.settings.templates.dropdown(this.settings)),this.DOM.dropdown.content=this.DOM.dropdown.querySelector(".tagify__dropdown__wrapper")},show:function(e){var t,i,n,r,s=this,o=this.settings,a=window.getSelection(),l="mix"==o.mode&&!o.enforceWhitelist,c=!o.whitelist||!o.whitelist.length,u="manual"==o.dropdown.position;if(!(c&&!l||!1===o.dropdown.enable||this.state.isLoading)){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems.call(this,e),this.suggestedListItems.length)e&&l&&!this.state.editing.scope&&!function(e,t){return e.toLowerCase()==t.toLowerCase()}(this.suggestedListItems[0].value,e)&&this.suggestedListItems.unshift({value:e});else{if(!e||!l||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),this.dropdown.hide.call(this),void this.events.binding.call(this);this.suggestedListItems=[{value:e}]}n=p(i=this.suggestedListItems[0])?i.value:i,o.autoComplete&&n&&0==n.indexOf(e)&&this.input.autocomplete.suggest.call(this,i),t=this.dropdown.createListHTML.call(this,this.suggestedListItems),this.DOM.dropdown.content.innerHTML=d(t),(o.enforceWhitelist&&!u||o.dropdown.highlightFirst)&&this.dropdown.highlightOption.call(this,this.DOM.dropdown.content.children[0]),this.DOM.scope.setAttribute("aria-expanded",!0),this.trigger("dropdown:show",this.DOM.dropdown),this.state.dropdown.visible=e||!0,this.state.selection={anchorOffset:a.anchorOffset,anchorNode:a.anchorNode},this.dropdown.position.call(this),document.body.contains(this.DOM.dropdown)||(u||(this.events.binding.call(this,!1),r=this.getNodeHeight(this.DOM.dropdown),this.DOM.dropdown.classList.add("tagify__dropdown--initial"),this.dropdown.position.call(this,r),document.body.appendChild(this.DOM.dropdown),setTimeout(function(){return s.DOM.dropdown.classList.remove("tagify__dropdown--initial")})),setTimeout(this.dropdown.events.binding.bind(this)))}},hide:function(e){var t=this.DOM,i=t.scope,n=t.dropdown,r="manual"==this.settings.dropdown.position&&!e;n&&document.body.contains(n)&&!r&&(window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),clearTimeout(this.dropdownHide__bindEventsTimeout),this.dropdownHide__bindEventsTimeout=setTimeout(this.events.binding.bind(this),250),i.setAttribute("aria-expanded",!1),n.parentNode.removeChild(n),this.state.dropdown.visible=!1,this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",n))},refilter:function(){this.suggestedListItems=this.dropdown.filterListItems.call(this,"");var e=this.dropdown.createListHTML.call(this,this.suggestedListItems);this.DOM.dropdown.content.innerHTML=d(e),this.trigger("dropdown:updated",this.DOM.dropdown)},position:function(e){var t,i,n,r,s,o,a=this.DOM.dropdown,l=this.DOM["input"==this.settings.dropdown.position?"input":"scope"];this.state.dropdown.visible&&(o="text"==this.settings.dropdown.position?(r=(i=this.getCaretGlobalPosition()).bottom,n=i.top,s=i.left,"auto"):(n=(i=l.getBoundingClientRect()).top,r=i.bottom-1,s=i.left,i.width+"px"),n=Math.floor(n),r=Math.ceil(r),t=document.documentElement.clientHeight-r<(e||a.clientHeight),a.style.cssText="left:"+(s+window.pageXOffset)+"px; width:"+o+";"+(t?"bottom:"+(document.documentElement.clientHeight-n-window.pageYOffset-2)+"px;":"top: "+(r+window.pageYOffset)+"px"),a.setAttribute("placement",t?"top":"bottom"))},events:{binding:function(e){var t=!(0<arguments.length&&void 0!==e)||e,i=this.dropdown.events.callbacks,n=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:i.onKeyDown.bind(this),onMouseOver:i.onMouseOver.bind(this),onMouseLeave:i.onMouseLeave.bind(this),onClick:i.onClick.bind(this),onScroll:i.onScroll.bind(this)},r=t?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(window[r]("resize",n.position),window[r]("keydown",n.onKeyDown)),this.DOM.dropdown[r]("mouseover",n.onMouseOver),this.DOM.dropdown[r]("mouseleave",n.onMouseLeave),this.DOM.dropdown[r]("mousedown",n.onClick),this.DOM.dropdown.content[r]("scroll",n.onScroll),this.DOM[this.listeners.main.click[0]][r]("click",this.listeners.main.click[1])},callbacks:{onKeyDown:function(e){var t=this.DOM.dropdown.querySelector("[class$='--active']"),i=t;switch(e.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":var n;e.preventDefault(),i=(i=i&&i[("ArrowUp"==e.key||"Up"==e.key?"previous":"next")+"ElementSibling"])||(n=this.DOM.dropdown.content.children)["ArrowUp"==e.key||"Up"==e.key?n.length-1:0],this.dropdown.highlightOption.call(this,i,!0);break;case"Escape":case"Esc":this.dropdown.hide.call(this);break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&!this.settings.autoComplete.rightKey){try{var r=i?i.textContent:this.suggestedListItems[0].value;this.input.autocomplete.set.call(this,r)}catch(e){}return!1}case"Enter":e.preventDefault(),this.dropdown.selectOption.call(this,t);break;case"Backspace":if("mix"==this.settings.mode||this.state.editing.scope)return;var s=this.input.value.trim();""!=s&&8203!=s.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}},onMouseOver:function(e){var t=e.target.closest(".tagify__dropdown__item");t&&this.dropdown.highlightOption.call(this,t)},onMouseLeave:function(){this.dropdown.highlightOption.call(this)},onClick:function(e){if(0==e.button&&e.target!=this.DOM.dropdown){var t=e.target.closest(".tagify__dropdown__item");e.target.closest(".tagify__dropdown__addNewBtn");t&&this.dropdown.selectOption.call(this,t)}},onScroll:function(e){var t=e.target,i=t.scrollTop/(t.scrollHeight-t.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(i)})}}},highlightOption:function(e,t){var i,n="tagify__dropdown__item--active";if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(n),this.state.ddItemElm.removeAttribute("aria-selected")),!e)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);i=this.suggestedListItems[this.getNodeIndex(e)],this.state.ddItemData=i,(this.state.ddItemElm=e).classList.add(n),e.setAttribute("aria-selected",!0),t&&(e.parentNode.scrollTop=e.clientHeight+e.offsetTop-e.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,i),"manual"!=this.settings.dropdown.position&&this.dropdown.position.call(this))},selectOption:function(e){var t=this;if(e){this.state.actions.selectOption=!0,setTimeout(function(){return t.state.actions.selectOption=!1},50);var i=this.settings.dropdown.closeOnSelect,n=this.suggestedListItems[this.getNodeIndex(e)].value||this.input.value;this.trigger("dropdown:select",n),this.state.editing?this.onEditTagDone(this.state.editing.scope,h(h({},this.state.editing.scope.__tagifyTagData),{},{value:n,__isValid:!0})):this.addTags([n],!0),setTimeout(function(){t.DOM.input.focus(),t.toggleFocusClass(!0)}),i&&this.dropdown.hide.call(this)}},filterListItems:function(e){var i,t,n,r,s,o=this,a=this.settings,l=[],c=a.whitelist,u=a.dropdown.maxItems||1/0,d=a.dropdown.searchKeys.concat(["searchBy","value"]),h=0;if(!e)return(a.duplicates?c:c.filter(function(e){return!o.isTagDuplicate(p(e)?e.value:e)})).slice(0,u);for(;h<c.length&&(i=c[h]instanceof Object?c[h]:{value:c[h]},r=d.reduce(function(e,t){return e+" "+(i[t]||"")},"").toLowerCase(),n=a.dropdown.accentedSearch?m(r).indexOf(m(e.toLowerCase())):r.indexOf(e.toLowerCase()),t=a.dropdown.fuzzySearch?0<=n:0==n,s=!a.duplicates&&this.isTagDuplicate(p(i)?i.value:i),t&&!s&&u--&&l.push(i),0!=u);h++);return l},createListHTML:function(e){var n=this;return e.map(function(e){"string"==typeof e&&(e={value:e});var t=n.settings.dropdown.mapValueTo,i=u({},e,{value:o((t?"function"==typeof t?t(e):e[t]:e.value)||"")});return n.settings.templates.dropdownItem.call(n,i)}).join("")}}}).removeTag=e.prototype.removeTags,e})?n.apply(t,[]):n)&&(e.exports=t)},
vendor: 10,279 bytes, line 1
1"./node_modules/@yaireo/tagify/dist/tagify.polyfills.min.js":function(e,t,i){!function(K,Z){!function(){"use strict";function I(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}if("".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),i=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=arguments[1],r=0;r<i;){var s=t[r];if(e.call(n,s,r,t))return r;r++}return-1},configurable:!0,writable:!0}),String.prototype.includes||(String.prototype.includes=function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},writable:!0,configurable:!0}),I.prototype=window.Event.prototype,"function"!=typeof window.CustomEvent&&(window.CustomEvent=I),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null}),document.execCommand("AutoUrlDetect",!1,!1),"document"in self){if(!("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))){var e=self;if("Element"in e){var t="classList",i="prototype",n=e.Element[i],r=Object,N=String[i].trim||function(){return this.replace(/^\s+|\s+$/g,"")},H=Array[i].indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},o=function(e,t){if(""===t)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return H.call(e,t)},F=function(e){for(var t=N.call(e.getAttribute("class")||""),i=t?t.split(/\s+/):[],n=0,r=i.length;n<r;n++)this.push(i[n]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},a=F[i]=[],l=function(){return new F(this)};if(s[i]=Error[i],a.item=function(e){return this[e]||null},a.contains=function(e){return~o(this,e+"")},a.add=function(){for(var e,t=arguments,i=0,n=t.length,r=!1;~o(this,e=t[i]+"")||(this.push(e),r=!0),++i<n;);r&&this._updateClassName()},a.remove=function(){var e,t,i=arguments,n=0,r=i.length,s=!1;do{for(t=o(this,e=i[n]+"");~t;)this.splice(t,1),s=!0,t=o(this,e)}while(++n<r);s&&this._updateClassName()},a.toggle=function(e,t){var i=this.contains(e),n=i?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!i},a.replace=function(e,t){e=o(e+"");~e&&(this.splice(e,1,t),this._updateClassName())},a.toString=function(){return this.join(" ")},r.defineProperty){a={get:l,enumerable:!0,configurable:!0};try{r.defineProperty(n,t,a)}catch(e){void 0!==e.number&&-2146823252!==e.number||(a.enumerable=!1,r.defineProperty(n,t,a))}}else r[i].__defineGetter__&&n.__defineGetter__(t,l)}}(a=document.createElement("_")).classList.add("c1","c2"),a.classList.contains("c2")||((r=function(e){var n=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){for(var t=arguments.length,i=0;i<t;i++)n.call(this,arguments[i])}})("add"),r("remove")),a.classList.toggle("c3",!1),a.classList.contains("c3")&&(G=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:G.call(this,e)}),"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var i=this.toString().split(" "),e=i.indexOf(e+"");~e&&(i=i.slice(e),this.remove.apply(this,i),this.add(t),this.add.apply(this,i.slice(1)))})}function c(e){return"function"==typeof e}function u(){var e=setTimeout;return function(){return e(d,1)}}function d(){for(var e=0;e<k;e+=2)(0,L[e])(L[e+1]),L[e]=void 0,L[e+1]=void 0;k=0}function R(){try{var e=Function("return this")().require("vertx");return void 0!==(S=e.runOnLoop||e.runOnContext)?function(){S(d)}:u()}catch(e){return u()}}function h(e,t){var i,n=this,r=new this.constructor(p),s=(void 0===r[A]&&W(r),n._state);return s?(i=arguments[s-1],C(function(){return q(s,r,i,n._result)})):y(n,r,e,t),r}function f(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(p);return m(t,e),t}function p(){}function z(e,n,r){C(function(t){var i=!1,e=function(e,t,i,n){try{e.call(t,i,n)}catch(e){return e}}(r,n,function(e){i||(i=!0,(n!==e?m:g)(t,e))},function(e){i||(i=!0,v(t,e))},t._label);!i&&e&&(i=!0,v(t,e))},e)}function $(e,t,i){var n,r;t.constructor===e.constructor&&i===h&&t.constructor.resolve===f?(n=e,(r=t)._state===O?g(n,r._result):r._state===P?v(n,r._result):y(r,void 0,function(e){return m(n,e)},function(e){return v(n,e)})):void 0!==i&&c(i)?z(e,t,i):g(e,t)}function m(e,t){if(e===t)v(e,new TypeError("You cannot resolve a promise with itself"));else if(i=typeof t,null===t||"object"!=i&&"function"!=i)g(e,t);else{i=void 0;try{i=t.then}catch(t){return void v(e,t)}$(e,t,i)}var i}function B(e){e._onerror&&e._onerror(e._result),b(e)}function g(e,t){e._state===j&&(e._result=t,e._state=O,0!==e._subscribers.length&&C(b,e))}function v(e,t){e._state===j&&(e._state=P,e._result=t,C(B,e))}function y(e,t,i,n){var r=e._subscribers,s=r.length;e._onerror=null,r[s]=t,r[s+O]=i,r[s+P]=n,0===s&&e._state&&C(b,e)}function b(e){var t=e._subscribers,i=e._state;if(0!==t.length){for(var n,r=void 0,s=e._result,o=0;o<t.length;o+=3)n=t[o],r=t[o+i],n?q(i,n,r,s):r(s);e._subscribers.length=0}}function q(e,t,i,n){var r=c(i),s=void 0,o=void 0,a=!0;if(r){try{s=i(n)}catch(e){a=!1,o=e}if(t===s)return void v(t,new TypeError("A promises callback cannot return that same promise."))}else s=n;t._state===j&&(r&&a?m(t,s):!1===a?v(t,o):e===O?g(t,s):e===P&&v(t,s))}function W(e){e[A]=U++,e._state=void 0,e._result=void 0,e._subscribers=[]}function _(e,t){this._instanceConstructor=e,this.promise=new e(p),this.promise[A]||W(this.promise),w(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?g(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&g(this.promise,this._result))):v(this.promise,new Error("Array Methods must be provided an Array"))}function x(e){if(this[A]=U++,this._result=this._state=void 0,this._subscribers=[],p!==e){if("function"!=typeof e)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof x))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var t=this,i=e;try{i(function(e){m(t,e)},function(e){v(t,e)})}catch(i){v(t,i)}}}var w,k,S,M,C,L,V,T,D,E,A,j,O,P,U,X,Y,G;window.Promise=(w=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},M=S=void(k=0),C=function(e,t){L[k]=e,L[k+1]=t,2===(k+=2)&&(M?M(d):E())},i="undefined"!=typeof window?window:void 0,n=(n=i||{}).MutationObserver||n.WebKitMutationObserver,t="undefined"==typeof self&&void 0!==K&&"[object process]"==={}.toString.call(K),l="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,L=new Array(1e3),E=void 0,E=t?function(){return K.nextTick(d)}:n?(T=0,t=new n(d),D=document.createTextNode(""),t.observe(D,{characterData:!0}),function(){D.data=T=++T%2}):l?((V=new MessageChannel).port1.onmessage=d,function(){return V.port2.postMessage(0)}):(void 0===i?R:u)(),A=Math.random().toString(36).substring(2),j=void 0,O=1,P=2,U=0,_.prototype._enumerate=function(e){for(var t=0;this._state===j&&t<e.length;t++)this._eachEntry(e[t],t)},_.prototype._eachEntry=function(t,e){var i=this._instanceConstructor,n=i.resolve;if(n===f){var r,s=void 0,o=void 0,a=!1;try{s=t.then}catch(e){a=!0,o=e}s===h&&t._state!==j?this._settledAt(t._state,e,t._result):"function"!=typeof s?(this._remaining--,this._result[e]=t):i===Y?(r=new i(p),a?v(r,o):$(r,t,s),this._willSettleAt(r,e)):this._willSettleAt(new i(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},_.prototype._settledAt=function(e,t,i){var n=this.promise;n._state===j&&(this._remaining--,e===P?v(n,i):this._result[t]=i),0===this._remaining&&g(n,this._result)},_.prototype._willSettleAt=function(e,t){var i=this;y(e,void 0,function(e){return i._settledAt(O,t,e)},function(e){return i._settledAt(P,t,e)})},X=_,x.prototype.catch=function(e){return this.then(null,e)},x.prototype.finally=function(t){var i=this.constructor;return c(t)?this.then(function(e){return i.resolve(t()).then(function(){return e})},function(e){return i.resolve(t()).then(function(){throw e})}):this.then(t,t)},(Y=x).prototype.then=h,Y.all=function(e){return new X(this,e).promise},Y.race=function(r){var s=this;return w(r)?new s(function(e,t){for(var i=r.length,n=0;n<i;n++)s.resolve(r[n]).then(e,t)}):new s(function(e,t){return t(new TypeError("You must pass an array to race."))})},Y.resolve=f,Y.reject=function(e){var t=new this(p);return v(t,e),t},Y._setScheduler=function(e){M=e},Y._setAsap=function(e){C=e},Y._asap=C,Y.polyfill=function(){var e=void 0;if(void 0!==Z)e=Z;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=Y},Y.Promise=Y)}()}.call(this,i("./node_modules/process/browser.js"),i("./node_modules/webpack/buildin/global.js"))},
vendor: 457,675 bytes, line 1
1"./node_modules/apexcharts/dist/apexcharts.min.js":function(rt,st,ot){var at;rt.exports=function(){"use strict";function _(e){return(_="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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,i){return t&&I(e.prototype,t),i&&I(e,i),e}function N(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function H(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function A(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?H(Object(i),!0).forEach(function(e){N(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):H(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function a(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&&F(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(n){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=l(n);if(r){var i=l(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return R(this,e)}}function k(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var E=function(){function n(){s(this,n)}return o(n,[{key:"shadeRGBColor",value:function(e,t){var i=t.split(","),n=e<0?0:255,r=e<0?-1*e:e,s=parseInt(i[0].slice(4),10),o=parseInt(i[1],10),a=parseInt(i[2],10);return"rgb("+(Math.round((n-s)*r)+s)+","+(Math.round((n-o)*r)+o)+","+(Math.round((n-a)*r)+a)+")"}},{key:"shadeHexColor",value:function(e,t){var i=parseInt(t.slice(1),16),n=e<0?0:255,r=e<0?-1*e:e,s=i>>16,o=i>>8&255,a=255&i;return"#"+(16777216+65536*(Math.round((n-s)*r)+s)+256*(Math.round((n-o)*r)+o)+(Math.round((n-a)*r)+a)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return n.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===_(e)&&!Array.isArray(e)&&null!=e}},{key:"listToArray",value:function(e){var t,i=[];for(t=0;t<e.length;t++)i[t]=e[t];return i}},{key:"extend",value:function(t,i){var n=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}return t});var r=Object.assign({},t);return this.isObject(t)&&this.isObject(i)&&Object.keys(i).forEach(function(e){n.isObject(i[e])&&e in t?r[e]=n.extend(t[e],i[e]):Object.assign(r,N({},e,i[e]))}),r}},{key:"extendArray",value:function(e,t){var i=[];return e.map(function(e){i.push(n.extend(t,e))}),e=i}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){if("[object Array]"===Object.prototype.toString.call(e)){for(var t=[],i=0;i<e.length;i++)t[i]=this.clone(e[i]);return t}if("[object Null]"===Object.prototype.toString.call(e))return null;if("[object Date]"===Object.prototype.toString.call(e))return e;if("object"===_(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=this.clone(e[r]));return n}return e}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return null===e?e:parseFloat(e)}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){var t=String(e).split(/[eE]/);if(1===t.length)return t[0];var i="",n=e<0?"-":"",r=t[0].replace(".",""),s=Number(t[1])+1;if(s<0){for(i=n+"0.";s++;)i+="0";return i+r.replace(/^-/,"")}for(s-=r.length;s--;)i+="0";return r+i}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e),i=[],n=e.clientHeight,r=e.clientWidth;return n-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),r-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),i.push(r),i.push(n),i}},{key:"getBoundingClientRect",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce(function(e,t){return Array.isArray(t)&&(t=t.reduce(function(e,t){return e.length>t.length?e:t})),e.length>t.length?e:t},0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var i=e.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var n=0;n<i.length;n++)i[n]=parseInt(1===i[n].length?i[n]+i[n]:i[n],16);return void 0!==t&&i.push(t),"rgba("+i.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"polarToCartesian",value:function(e,t,i,n){var r=(n-90)*Math.PI/180;return{x:e+i*Math.cos(r),y:t+i*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",i=e.toString().slice();return i=i.replace(/[` ~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,i){if(i>=e.length)for(var n=i-e.length+1;n--;)e.push(void 0);return e.splice(i,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e.style.key=t[i])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)}}]),n}(),j=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"getDefaultFilter",value:function(e,t){var i=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==i.config.states.normal.filter?this.applyFilter(e,t,i.config.states.normal.filter.type,i.config.states.normal.filter.value):i.config.chart.dropShadow.enabled&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var i=this.w;i.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,i,t){var n=this,r=this.w,s=t.intensity;if(!E.isFirefox()){e.unfilter(!0);new window.SVG.Filter;e.filter(function(e){var t=r.config.chart.dropShadow;(t.enabled?n.addShadow(e,i,t):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:s}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}}},{key:"addDarkenFilter",value:function(e,i,t){var n=this,r=this.w,s=t.intensity;if(!E.isFirefox()){e.unfilter(!0);new window.SVG.Filter;e.filter(function(e){var t=r.config.chart.dropShadow;(t.enabled?n.addShadow(e,i,t):e).componentTransfer({rgb:{type:"linear",slope:s}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}}},{key:"applyFilter",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(i){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:n});break;case"darken":this.addDarkenFilter(e,t,{intensity:n})}}},{key:"addShadow",value:function(e,t,i){var n=i.blur,r=i.top,s=i.left,o=i.color,a=i.opacity,l=e.flood(Array.isArray(o)?o[t]:o,a).composite(e.sourceAlpha,"in").offset(s,r).gaussianBlur(n).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=t.top,r=t.left,s=t.blur,o=t.color,a=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),E.isIE()&&"radialBar"===c.config.chart.type||(o=Array.isArray(o)?o[i]:o,e.filter(function(e){var t=null;t=E.isSafari()||E.isFirefox()||E.isIE()?e.flood(o,a).composite(e.sourceAlpha,"in").offset(r,n).gaussianBlur(s):e.flood(o,a).composite(e.sourceAlpha,"in").offset(r,n).gaussianBlur(s).merge(e.source),e.blend(e.source,t)}),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,i){var n=this.w;if(void 0!==n.globals.selectedDataPoints[t]&&n.globals.selectedDataPoints[t].indexOf(i)>-1){e.node.setAttribute("selected",!0);var r=n.config.states.active.filter;"none"!==r&&this.applyFilter(e,t,r.type,r.value)}}},{key:"_scaleFilterSize",value:function(i){!function(e){for(var t in e)e.hasOwnProperty(t)&&i.setAttribute(t,e[t])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),t}(),O=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return o(t,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1};break;default:e="<>"}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,i,n){e.attr(t).animate(n).attr(i)}},{key:"animateCircleRadius",value:function(e,t,i,n,r,s){t||(t=0),e.attr({r:t}).animate(n,r).attr({r:i}).afterAll(function(){s()})}},{key:"animateCircle",value:function(e,t,i,n,r){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(n,r).attr({r:i.r,cx:i.cx,cy:i.cy})}},{key:"animateRect",value:function(e,t,i,n,r){e.attr(t).animate(n).attr(i).afterAll(function(){return r()})}},{key:"animatePathsGradually",value:function(e){var t=e.el,i=e.realIndex,n=e.j,r=e.fill,s=e.pathFrom,o=e.pathTo,a=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,i,n,"line"!==c.config.chart.type||c.globals.comboCharts?r:"stroke",s,o,a,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(e){e.el.classList.remove("apexcharts-element-hidden")})}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,i,n,r,s,o,a){var l=this,c=this.w;r||(r=e.attr("pathFrom")),s||(s=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(o=1),"M 0 ".concat(c.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=u()),(!s||s.indexOf("undefined")>-1||s.indexOf("NaN")>-1)&&(s=u()),c.globals.shouldAnimate||(o=1),e.plot(r).animate(1,c.globals.easing,a).plot(r).animate(o,c.globals.easing,a).plot(s).afterAll(function(){E.isNumber(i)?i===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==n&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()})}}]),t}(),P=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"drawLine",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=this.w,l=a.globals.dom.Paper.line().attr({x1:e,y1:t,x2:i,y2:n,stroke:r,"stroke-dasharray":s,"stroke-width":o});return l}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w,d=u.globals.dom.Paper.rect();return d.attr({x:e,y:t,width:i>0?i:0,height:n>0?n:0,rx:r,ry:r,opacity:o,"stroke-width":null!==a?a:0,stroke:null!==l?l:"none","stroke-dasharray":c}),d.node.setAttribute("fill",s),d}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",r=this.w,s=r.globals.dom.Paper.polygon(e).attr({fill:n,stroke:t,"stroke-width":i});return s}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.w,n=i.globals.dom.Paper.circle(2*e);return null!==t&&n.attr(t),n}},{key:"drawPath",value:function(e){var t=e.d,i=void 0===t?"":t,n=e.stroke,r=void 0===n?"#a8a8a8":n,s=e.strokeWidth,o=void 0===s?1:s,a=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,h=e.classes,f=e.strokeLinecap,p=void 0===f?null:f,m=e.strokeDashArray,g=void 0===m?0:m,v=this.w;return null===p&&(p=v.config.stroke.lineCap),(i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(i).attr({fill:a,"fill-opacity":c,stroke:r,"stroke-opacity":d,"stroke-linecap":p,"stroke-width":o,"stroke-dasharray":g,class:h})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,i=t.globals.dom.Paper.group();return null!==e&&i.attr(e),i}},{key:"move",value:function(e,t){var i=["M",e,t].join(" ");return i}},{key:"line",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=null;return null===i?n=["L",e,t].join(" "):"H"===i?n=["H",e].join(" "):"V"===i&&(n=["V",t].join(" ")),n}},{key:"curve",value:function(e,t,i,n,r,s){var o=["C",e,t,i,n,r,s].join(" ");return o}},{key:"quadraticCurve",value:function(e,t,i,n){return["Q",e,t,i,n].join(" ")}},{key:"arc",value:function(e,t,i,n,r,s,o){var a=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l="A";a&&(l="a");var c=[l,e,t,i,n,r,s,o].join(" ");return c}},{key:"renderPaths",value:function(e){var t,i=e.j,n=e.realIndex,r=e.pathFrom,s=e.pathTo,o=e.stroke,a=e.strokeWidth,l=e.strokeLinecap,c=e.fill,u=e.animationDelay,d=e.initialSpeed,h=e.dataChangeSpeed,f=e.className,p=e.shouldClipToGrid,m=void 0===p||p,g=e.bindEventsOnPaths,v=void 0===g||g,y=e.drawShadow,b=void 0===y||y,_=this.w,x=new j(this.ctx),w=new O(this.ctx),k=this.w.config.chart.animations.enabled,S=k&&this.w.config.chart.animations.dynamicAnimation.enabled,M=!!(k&&!_.globals.resized||S&&_.globals.dataChanged&&_.globals.shouldAnimate);M?t=r:(t=s,_.globals.animationEnded=!0);var C=_.config.stroke.dashArray,L=0;L=Array.isArray(C)?C[n]:_.config.stroke.dashArray;var T=this.drawPath({d:t,stroke:o,strokeWidth:a,fill:c,fillOpacity:1,classes:f,strokeLinecap:l,strokeDashArray:L});if(T.attr("index",n),m&&T.attr({"clip-path":"url(#gridRectMask".concat(_.globals.cuid,")")}),"none"!==_.config.states.normal.filter.type)x.getDefaultFilter(T,n);else if(_.config.chart.dropShadow.enabled&&b&&(!_.config.chart.dropShadow.enabledOnSeries||_.config.chart.dropShadow.enabledOnSeries&&-1!==_.config.chart.dropShadow.enabledOnSeries.indexOf(n))){var D=_.config.chart.dropShadow;x.dropShadow(T,D,n)}v&&(T.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,T)),T.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,T)),T.node.addEventListener("mousedown",this.pathMouseDown.bind(this,T))),T.attr({pathTo:s,pathFrom:r});var E={el:T,j:i,realIndex:n,pathFrom:r,pathTo:s,fill:c,strokeWidth:a,delay:u};return!k||_.globals.resized||_.globals.dataChanged?!_.globals.resized&&_.globals.dataChanged||w.showDelayedElements():w.animatePathsGradually(A(A({},E),{},{speed:d})),_.globals.dataChanged&&S&&M&&w.animatePathsGradually(A(A({},E),{},{speed:h})),T}},{key:"drawPattern",value:function(t,i,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,e=this.w,o=e.globals.dom.Paper.pattern(i,n,function(e){"horizontalLines"===t?e.line(0,0,n,0).stroke({color:r,width:s+1}):"verticalLines"===t?e.line(0,0,0,i).stroke({color:r,width:s+1}):"slantedLines"===t?e.line(0,0,i,n).stroke({color:r,width:s}):"squares"===t?e.rect(i,n).fill("none").stroke({color:r,width:s}):"circles"===t&&e.circle(i).fill("none").stroke({color:r,width:s})});return o}},{key:"drawGradient",value:function(e,t,i,n,r){var s,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=E.hexToRgba(t,n)),i.length<9&&0===i.indexOf("#")&&(i=E.hexToRgba(i,r));var d=0,h=1,f=1,p=null;null!==a&&(d=void 0!==a[0]?a[0]/100:0,h=void 0!==a[1]?a[1]/100:1,f=void 0!==a[2]?a[2]/100:1,p=void 0!==a[3]?a[3]/100:null);var m=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(s=null===l||0===l.length?u.globals.dom.Paper.gradient(m?"radial":"linear",function(e){e.at(d,t,n),e.at(h,i,r),e.at(f,i,r),null!==p&&e.at(p,t,n)}):u.globals.dom.Paper.gradient(m?"radial":"linear",function(t){(Array.isArray(l[c])?l[c]:l).forEach(function(e){t.at(e.offset/100,e.color,e.opacity)})}),m){var g=u.globals.gridWidth/2,v=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?s.attr({gradientUnits:"userSpaceOnUse",cx:g,cy:v,r:o}):s.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?s.from(0,0).to(0,1):"diagonal"===e?s.from(0,0).to(1,1):"horizontal"===e?s.from(0,1).to(1,1):"diagonal2"===e&&s.from(1,0).to(0,1);return s}},{key:"drawText",value:function(e){var t,i=e.x,n=e.y,r=e.text,s=e.textAnchor,o=e.fontSize,a=e.fontFamily,l=e.fontWeight,c=e.foreColor,u=e.opacity,d=e.cssClass,h=void 0===d?"":d,f=e.isPlainText,p=void 0===f||f,m=this.w;return void 0===r&&(r=""),s||(s="start"),c&&c.length||(c=m.config.chart.foreColor),a=a||m.config.chart.fontFamily,l=l||"regular",(t=Array.isArray(r)?m.globals.dom.Paper.text(function(e){for(var t=0;t<r.length;t++)0===t?e.tspan(r[t]):e.tspan(r[t]).newLine()}):p?m.globals.dom.Paper.plain(r):m.globals.dom.Paper.text(function(e){return e.tspan(r)})).attr({x:i,y:n,"text-anchor":s,"dominant-baseline":"auto","font-size":o,"font-family":a,"font-weight":l,fill:c,class:"apexcharts-text "+h}),t.node.style.fontFamily=a,t.node.style.opacity=u,t}},{key:"drawMarker",value:function(e,t,i){e=e||0;var n=i.pSize||0,r=null;if("square"===i.shape){var s=void 0===i.pRadius?n/2:i.pRadius;null!==t&&n||(n=0,s=0);var o=1.2*n+s,a=this.drawRect(o,o,o,o,s);a.attr({x:e-o/2,y:t-o/2,cx:e,cy:t,class:i.class?i.class:"",fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,stroke:i.pointStrokeColor,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}),r=a}else"circle"!==i.shape&&i.shape||(E.isNumber(t)||(n=0,t=0),r=this.drawCircle(n,{cx:e,cy:t,class:i.class?i.class:"",stroke:i.pointStrokeColor,fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}));return r}},{key:"pathMouseEnter",value:function(e,t){var i=this.w,n=new j(this.ctx),r=parseInt(e.node.getAttribute("index"),10),s=parseInt(e.node.getAttribute("j"),10);if("function"==typeof i.config.chart.events.dataPointMouseEnter&&i.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:s,w:i}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:s,w:i}]),("none"===i.config.states.active.filter.type||"true"!==e.node.getAttribute("selected"))&&"none"!==i.config.states.hover.filter.type&&"none"!==i.config.states.active.filter.type&&!i.globals.isTouchDevice){var o=i.config.states.hover.filter;n.applyFilter(e,r,o.type,o.value)}}},{key:"pathMouseLeave",value:function(e,t){var i=this.w,n=new j(this.ctx),r=parseInt(e.node.getAttribute("index"),10),s=parseInt(e.node.getAttribute("j"),10);"function"==typeof i.config.chart.events.dataPointMouseLeave&&i.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:s,w:i}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:s,w:i}]),"none"!==i.config.states.active.filter.type&&"true"===e.node.getAttribute("selected")||"none"!==i.config.states.hover.filter.type&&n.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var i=this.w,n=new j(this.ctx),r=parseInt(e.node.getAttribute("index"),10),s=parseInt(e.node.getAttribute("j"),10),o="false";if("true"===e.node.getAttribute("selected")){if(e.node.setAttribute("selected","false"),i.globals.selectedDataPoints[r].indexOf(s)>-1){var a=i.globals.selectedDataPoints[r].indexOf(s);i.globals.selectedDataPoints[r].splice(a,1)}}else{if(!i.config.states.active.allowMultipleDataPointsSelection&&i.globals.selectedDataPoints.length>0){i.globals.selectedDataPoints=[];var l=i.globals.dom.Paper.select(".apexcharts-series path").members,c=i.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(e){Array.prototype.forEach.call(e,function(e){e.node.setAttribute("selected","false"),n.getDefaultFilter(e,r)})};u(l),u(c)}e.node.setAttribute("selected","true"),o="true",void 0===i.globals.selectedDataPoints[r]&&(i.globals.selectedDataPoints[r]=[]),i.globals.selectedDataPoints[r].push(s)}if("true"===o){var d=i.config.states.active.filter;"none"!==d&&n.applyFilter(e,r,d.type,d.value)}else"none"!==i.config.states.active.filter.type&&n.getDefaultFilter(e,r);"function"==typeof i.config.chart.events.dataPointSelection&&i.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:s,w:i}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:s,w:i}])}},{key:"rotateAroundCenter",value:function(e){var t=e.getBBox();return{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,i,n){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:i,foreColor:"#fff",opacity:0});n&&o.attr("transform",n),s.globals.dom.Paper.add(o);var a=o.bbox();return r||(a=o.node.getBoundingClientRect()),o.remove(),{width:a.width,height:a.height}}},{key:"placeTextWithEllipsis",value:function(e,t,i){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=i/.8)){for(var n=t.length-3;n>0;n-=3)if(e.getSubStringLength(0,n)<=i/.8)return void(e.textContent=t.substring(0,n)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&e.setAttribute(i,t[i])}}]),t}(),z=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e}return o(t,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.w;if("vertical"===e.label.orientation){var n=null!==t?t:0,r=i.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(n,"']"));if(null!==r){var s=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-s.height+4),"top"===e.label.position?r.setAttribute("y",parseFloat(r.getAttribute("y"))+s.width):r.setAttribute("y",parseFloat(r.getAttribute("y"))-s.width);var o=this.annoCtx.graphics.rotateAroundCenter(r),a=o.x,l=o.y;r.setAttribute("transform","rotate(-90 ".concat(a," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var i=this.w;if(!t.label.text||t.label.text&&!t.label.text.trim())return null;var n=i.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),s=t.label.style.padding.left,o=t.label.style.padding.right,a=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(a=t.label.style.padding.left,l=t.label.style.padding.right,s=t.label.style.padding.top,o=t.label.style.padding.bottom);var c=r.left-n.left-s,u=r.top-n.top-a,d=this.annoCtx.graphics.drawRect(c-i.globals.barPadForNumericAxis,u,r.width+s+o,r.height+a+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&d.node.classList.add(t.id),d}},{key:"annotationsBackground",value:function(){var o=this,a=this.w,i=function(e,t,i){var n=a.globals.dom.baseEl.querySelector(".apexcharts-".concat(i,"-annotations .apexcharts-").concat(i,"-annotation-label[rel='").concat(t,"']"));if(n){var r=n.parentNode,s=o.addBackgroundToAnno(n,e);s&&r.insertBefore(s.node,n)}};a.config.annotations.xaxis.map(function(e,t){i(e,t,"xaxis")}),a.config.annotations.yaxis.map(function(e,t){i(e,t,"yaxis")}),a.config.annotations.points.map(function(e,t){i(e,t,"point")})}},{key:"getStringX",value:function(e){var t=this.w,i=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var n=t.globals.labels.indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(n+1)+")");return r&&(i=parseFloat(r.getAttribute("x"))),i}}]),t}(),$=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis}return o(t,[{key:"addXaxisAnnotation",value:function(e,t,i){var n=this.w,r=this.invertAxis?n.globals.minY:n.globals.minX,s=this.invertAxis?n.globals.maxY:n.globals.maxX,o=this.invertAxis?n.globals.yRange[0]:n.globals.xRange,a=(e.x-r)/(o/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(a=(s-e.x)/(o/n.globals.gridWidth));var l=e.label.text;"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||n.globals.dataFormatXNumeric||(a=this.annoCtx.helpers.getStringX(e.x));var c=e.strokeDashArray;if(E.isNumber(a)){if(null===e.x2||void 0===e.x2){var u=this.annoCtx.graphics.drawLine(a+e.offsetX,0+e.offsetY,a+e.offsetX,n.globals.gridHeight+e.offsetY,e.borderColor,c,e.borderWidth);t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}else{var d=(e.x2-r)/(o/n.globals.gridWidth);if(this.annoCtx.inversedReversedAxis&&(d=(s-e.x2)/(o/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||n.globals.dataFormatXNumeric||(d=this.annoCtx.helpers.getStringX(e.x2)),d<a){var h=a;a=d,d=h}var f=this.annoCtx.graphics.drawRect(a+e.offsetX,0+e.offsetY,d-a,n.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,c);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(n.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}var p="top"===e.label.position?4:n.globals.gridHeight,m=this.annoCtx.graphics.getTextRects(l,parseFloat(e.label.style.fontSize)),g=this.annoCtx.graphics.drawText({x:a+e.label.offsetX,y:p+e.label.offsetY-("vertical"===e.label.orientation?"top"===e.label.position?m.width/2-12:-m.width/2:0),text:l,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});g.attr({rel:i}),t.appendChild(g.node),this.annoCtx.helpers.setOrientations(e,i)}}},{key:"drawXAxisAnnotations",value:function(){var i=this,e=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return e.config.annotations.xaxis.map(function(e,t){i.addXaxisAnnotation(e,n.node,t)}),n}}]),t}(),L=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"getStackedSeriesTotals",value:function(){var e=this.w,t=[];if(0===e.globals.series.length)return t;for(var i=0;i<e.globals.series[e.globals.maxValsInArrayIndex].length;i++){for(var n=0,r=0;r<e.globals.series.length;r++)void 0!==e.globals.series[r][i]&&(n+=e.globals.series[r][i]);t.push(n)}return e.globals.stackedSeriesTotals=t,t}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce(function(e,t){return e+t},0):this.w.globals.series[e].reduce(function(e,t){return e+t},0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter(function(e){return null!==e}):this.w.config.series[e].data.filter(function(e){return null!==e})).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every(function(e,t,i){return e===i[0]})}},{key:"getCategoryLabels",value:function(e){var t=this.w,i=e.slice();return t.config.xaxis.convertedCatToNumeric&&(i=e.map(function(e){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)})),i}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map(function(e){return e.length}).indexOf(Math.max.apply(Math,e.globals.series.map(function(e){return e.length})))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach(function(e){t=Math.max(t,e)}),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map(function(e,t){var i=0;if(Array.isArray(e))for(var n=0;n<e.length;n++)i+=e[n];else i+=e;return i})}},{key:"getSeriesTotalsXRange",value:function(r,s){var o=this.w;return o.globals.series.map(function(e,t){for(var i=0,n=0;n<e.length;n++)o.globals.seriesX[t][n]>r&&o.globals.seriesX[t][n]<s&&(i+=e[n]);return i})}},{key:"getPercentSeries",value:function(){var a=this.w;a.globals.seriesPercent=a.globals.series.map(function(e,t){var i=[];if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=a.globals.stackedSeriesTotals[n],s=0;r&&(s=100*e[n]/r),i.push(s)}else{var o=100*e/a.globals.seriesTotals.reduce(function(e,t){return e+t},0);i.push(o)}return i})}},{key:"getCalculatedRatios",value:function(){var e,t,i,n,r=this.w.globals,s=[],o=0,a=[],l=.1,c=0;if(r.yRange=[],r.isMultipleYAxis)for(var u=0;u<r.minYArr.length;u++)r.yRange.push(Math.abs(r.minYArr[u]-r.maxYArr[u])),a.push(0);else r.yRange.push(Math.abs(r.minY-r.maxY));r.xRange=Math.abs(r.maxX-r.minX),r.zRange=Math.abs(r.maxZ-r.minZ);for(var d=0;d<r.yRange.length;d++)s.push(r.yRange[d]/r.gridHeight);if(t=r.xRange/r.gridWidth,i=Math.abs(r.initialMaxX-r.initialMinX)/r.gridWidth,e=r.yRange/r.gridWidth,n=r.xRange/r.gridHeight,(o=r.zRange/r.gridHeight*16)||(o=1),r.minY!==Number.MIN_VALUE&&0!==Math.abs(r.minY)&&(r.hasNegs=!0),r.isMultipleYAxis){a=[];for(var h=0;h<s.length;h++)a.push(-r.minYArr[h]/s[h])}else a.push(-r.minY/s[0]),r.minY!==Number.MIN_VALUE&&0!==Math.abs(r.minY)&&(l=-r.minY/e,c=r.minX/t);return{yRatio:s,invertedYRatio:e,zRatio:o,xRatio:t,initialXRatio:i,invertedXRatio:n,baseLineInvertedY:l,baseLineY:a,baseLineX:c}}},{key:"getLogSeries",value:function(e){var i=this,n=this.w;return n.globals.seriesLog=e.map(function(e,t){return n.config.yaxis[t]&&n.config.yaxis[t].logarithmic?e.map(function(e){return null===e?null:i.getLogVal(e,t)}):e}),n.globals.invalidLogScale?e:n.globals.seriesLog}},{key:"getLogVal",value:function(e,t){var i=this.w;return(Math.log(e)-Math.log(i.globals.minYArr[t]))/(Math.log(i.globals.maxYArr[t])-Math.log(i.globals.minYArr[t]))}},{key:"getLogYRatios",value:function(e){var s=this,o=this.w,a=this.w.globals;return a.yLogRatio=e.slice(),a.logYRange=a.yRange.map(function(e,t){if(o.config.yaxis[t]&&s.w.config.yaxis[t].logarithmic){var i,n=-Number.MAX_VALUE,r=Number.MIN_VALUE;return a.seriesLog.forEach(function(e,t){e.forEach(function(e){o.config.yaxis[t]&&o.config.yaxis[t].logarithmic&&(n=Math.max(e,n),r=Math.min(e,r))})}),i=Math.pow(a.yRange[t],Math.abs(r-n)/a.yRange[t]),a.yLogRatio[t]=i/a.gridHeight,i}}),a.invalidLogScale?e.slice():a.yLogRatio}}],[{key:"checkComboSeries",value:function(e){var t=!1,i=0;return e.length&&void 0!==e[0].type&&(t=!0,e.forEach(function(e){"bar"!==e.type&&"column"!==e.type&&"candlestick"!==e.type||i++})),{comboBarCount:i,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,i){return t.yaxis&&(t=e.extendYAxis(t,i)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),t}(),B=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e}return o(t,[{key:"addYaxisAnnotation",value:function(e,t,i){var n,r=this.w,s=e.strokeDashArray,o=this._getY1Y2("y1",e),a=e.label.text;if(null===e.y2||void 0===e.y2){var l=this.annoCtx.graphics.drawLine(0+e.offsetX,o+e.offsetY,r.globals.gridWidth+e.offsetX,o+e.offsetY,e.borderColor,s,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((n=this._getY1Y2("y2",e))>o){var c=o;o=n,n=c}var u=this.annoCtx.graphics.drawRect(0+e.offsetX,n+e.offsetY,r.globals.gridWidth+e.offsetX,o-n,0,e.fillColor,e.opacity,1,e.borderColor,s);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d="right"===e.label.position?r.globals.gridWidth:0,h=this.annoCtx.graphics.drawText({x:d+e.label.offsetX,y:(n||o)+e.label.offsetY-3,text:a,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});h.attr({rel:i}),t.appendChild(h.node)}},{key:"_getY1Y2",value:function(e,t){var i,n="y1"===e?t.y:t.y2,r=this.w;if(this.annoCtx.invertAxis){var s=r.globals.labels.indexOf(n);r.config.xaxis.convertedCatToNumeric&&(s=r.globals.categoryLabels.indexOf(n));var o=r.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(s+1)+")");o&&(i=parseFloat(o.getAttribute("y")))}else{var a;if(r.config.yaxis[t.yAxisIndex].logarithmic)a=(n=new L(this.annoCtx.ctx).getLogVal(n,t.yAxisIndex))/r.globals.yLogRatio[t.yAxisIndex];else a=(n-r.globals.minYArr[t.yAxisIndex])/(r.globals.yRange[t.yAxisIndex]/r.globals.gridHeight);i=r.globals.gridHeight-a,r.config.yaxis[t.yAxisIndex]&&r.config.yaxis[t.yAxisIndex].reversed&&(i=a)}return i}},{key:"drawYAxisAnnotations",value:function(){var i=this,e=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return e.config.annotations.yaxis.map(function(e,t){i.addYaxisAnnotation(e,n.node,t)}),n}}]),t}(),q=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e}return o(t,[{key:"addPointAnnotation",value:function(e,t,i){var n=this.w,r=0,s=0,o=0;this.annoCtx.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts.");var a,l=parseFloat(e.y);if("string"==typeof e.x){var c=n.globals.labels.indexOf(e.x);n.config.xaxis.convertedCatToNumeric&&(c=n.globals.categoryLabels.indexOf(e.x)),r=this.annoCtx.helpers.getStringX(e.x),null===e.y&&(l=n.globals.series[e.seriesIndex][c])}else r=(e.x-n.globals.minX)/(n.globals.xRange/n.globals.gridWidth);n.config.yaxis[e.yAxisIndex].logarithmic?a=(l=new L(this.annoCtx.ctx).getLogVal(l,e.yAxisIndex))/n.globals.yLogRatio[e.yAxisIndex]:a=(l-n.globals.minYArr[e.yAxisIndex])/(n.globals.yRange[e.yAxisIndex]/n.globals.gridHeight);if(s=n.globals.gridHeight-a-parseFloat(e.label.style.fontSize)-e.marker.size,o=n.globals.gridHeight-a,n.config.yaxis[e.yAxisIndex]&&n.config.yaxis[e.yAxisIndex].reversed&&(s=a+parseFloat(e.label.style.fontSize)+e.marker.size,o=a),E.isNumber(r)){var u={pSize:e.marker.size,pWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},d=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,u);t.appendChild(d.node);var h=e.label.text?e.label.text:"",f=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:s+e.label.offsetY,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(f.attr({rel:i}),t.appendChild(f.node),e.customSVG.SVG){var p=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});p.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(s+e.customSVG.offsetY,")")}),p.node.innerHTML=e.customSVG.SVG,t.appendChild(p.node)}if(e.image.path){var m=e.image.width?e.image.width:20,g=e.image.height?e.image.height:20;this.annoCtx.addImage({x:r+e.image.offsetX-m/2,y:s+e.image.offsetY-g/2,width:m,height:g,path:e.image.path,appendTo:".apexcharts-point-annotations"})}}}},{key:"drawPointAnnotations",value:function(){var i=this,e=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return e.config.annotations.points.map(function(e,t){i.addPointAnnotation(e,n.node,t)}),n}}]),t}(),e,W,V={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},m=function(){function e(){s(this,e),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={x:0,y:null,yAxisIndex:0,seriesIndex:0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return o(e,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[V],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,zoomed:void 0,scrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,startingShape:"flat",endingShape:"flat",rangeBarOverlap:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(e,t){return e+t},0)/e.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce(function(e,t){return e+t},0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.15}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.65}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e+": "}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,sorted:!1,offsetX:0,offsetY:0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss"}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),U=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.graphics=new P(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new z(this),this.xAxisAnnotations=new $(this),this.yAxisAnnotations=new B(this),this.pointsAnnotations=new q(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return o(t,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),i=this.xAxisAnnotations.drawXAxisAnnotations(),n=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,s=[t,i,n],o=[i.node,t.node,n.node],a=0;a<3;a++)e.globals.dom.elGraphical.add(s[a]),!r||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&o[a].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[a],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var i=this;this.w.config.annotations.images.map(function(e,t){i.addImage(e,t)})}},{key:"drawTextAnnos",value:function(){var i=this;this.w.config.annotations.texts.map(function(e,t){i.addText(e,t)})}},{key:"addXaxisAnnotation",value:function(e,t,i){this.xAxisAnnotations.addXaxisAnnotation(e,t,i)}},{key:"addYaxisAnnotation",value:function(e,t,i){this.yAxisAnnotations.addYaxisAnnotation(e,t,i)}},{key:"addPointAnnotation",value:function(e,t,i){this.pointsAnnotations.addPointAnnotation(e,t,i)}},{key:"addText",value:function(e,t){var i=e.x,n=e.y,r=e.text,s=e.textAnchor,o=e.foreColor,a=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,h=e.borderWidth,f=e.strokeDashArray,p=e.borderRadius,m=e.borderColor,g=e.appendTo,v=void 0===g?".apexcharts-annotations":g,y=e.paddingLeft,b=void 0===y?4:y,_=e.paddingRight,x=void 0===_?4:_,w=e.paddingBottom,k=void 0===w?2:w,S=e.paddingTop,M=void 0===S?2:S,C=this.w,L=this.graphics.drawText({x:i,y:n,text:r,textAnchor:s||"start",fontSize:a||"12px",fontWeight:c||"regular",fontFamily:l||C.config.chart.fontFamily,foreColor:o||C.config.chart.foreColor,cssClass:u}),T=C.globals.dom.baseEl.querySelector(v);T&&T.appendChild(L.node);var D=L.bbox();if(r){var E=this.graphics.drawRect(D.x-b,D.y-M,D.width+b+x,D.height+k+M,p,d||"transparent",1,h,m,f);T.insertBefore(E.node,L.node)}}},{key:"addImage",value:function(e,t){var i=this.w,n=e.path,r=e.x,s=void 0===r?0:r,o=e.y,a=void 0===o?0:o,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,h=e.appendTo,f=void 0===h?".apexcharts-annotations":h,p=i.globals.dom.Paper.image(n);p.size(c,d).move(s,a);var m=i.globals.dom.baseEl.querySelector(f);m&&m.appendChild(p.node)}},{key:"addXaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"xaxis",contextMethod:i.addXaxisAnnotation}),i}},{key:"addYaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"yaxis",contextMethod:i.addYaxisAnnotation}),i}},{key:"addPointAnnotationExternal",value:function(e,t,i){return void 0===this.invertAxis&&(this.invertAxis=i.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"point",contextMethod:i.addPointAnnotation}),i}},{key:"addAnnotationExternal",value:function(e){var t=e.params,i=e.pushToMemory,n=e.context,r=e.type,s=e.contextMethod,o=n,a=o.w,l=a.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),c=l.childNodes.length+1,u=new m,d=Object.assign({},"xaxis"===r?u.xAxisAnnotation:"yaxis"===r?u.yAxisAnnotation:u.pointAnnotation),h=E.extend(d,t);switch(r){case"xaxis":this.addXaxisAnnotation(h,l,c);break;case"yaxis":this.addYaxisAnnotation(h,l,c);break;case"point":this.addPointAnnotation(h,l,c)}var f=a.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(c,"']")),p=this.helpers.addBackgroundToAnno(f,h);return p&&l.insertBefore(p.node,f),i&&a.globals.memory.methodsToExec.push({context:o,id:h.id?h.id:E.randomId(),method:s,label:"addAnnotation",params:t}),n}},{key:"clearAnnotations",value:function(e){var i=e.w,t=i.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");i.globals.memory.methodsToExec.map(function(e,t){"addText"!==e.label&&"addAnnotation"!==e.label||i.globals.memory.methodsToExec.splice(t,1)}),t=E.listToArray(t),Array.prototype.forEach.call(t,function(e){for(;e.firstChild;)e.removeChild(e.firstChild)})}},{key:"removeAnnotation",value:function(e,i){var n=e.w,t=n.globals.dom.baseEl.querySelectorAll(".".concat(i));t&&(n.globals.memory.methodsToExec.map(function(e,t){e.id===i&&n.globals.memory.methodsToExec.splice(t,1)}),Array.prototype.forEach.call(t,function(e){e.parentElement.removeChild(e)}))}}]),t}(),D=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0}return o(t,[{key:"clippedImgArea",value:function(e){var t=this.w,i=t.config,n=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),s=n>r?n:r,o=e.image,a=0,l=0;void 0===e.width&&void 0===e.height?void 0!==i.fill.image.width&&void 0!==i.fill.image.height?(a=i.fill.image.width+1,l=i.fill.image.height):(a=s+1,l=s):(a=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");P.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:a+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",o),P.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:a+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||"heatmap"===t.config.chart.type?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var i,n,r,s=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var o=this.getFillColors()[this.seriesIndex];void 0!==t.globals.seriesColors[this.seriesIndex]&&(o=t.globals.seriesColors[this.seriesIndex]),"function"==typeof o&&(o=o({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var a=this.getFillType(this.seriesIndex),l=Array.isArray(s.fill.opacity)?s.fill.opacity[this.seriesIndex]:s.fill.opacity,c=o;if(e.color&&(o=e.color),-1===o.indexOf("rgb")?o.length<9&&(c=E.hexToRgba(o,l)):o.indexOf("rgba")>-1&&(l=E.getOpacityFromRGBA(o)),e.opacity&&(l=e.opacity),"pattern"===a&&(n=this.handlePatternFill(n,o,l,c)),"gradient"===a&&(r=this.handleGradientFill(o,l,this.seriesIndex)),"image"===a){var u=s.fill.image.src,d=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?e.seriesNumber<u.length?u[e.seriesNumber]:u[0]:u,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:"pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(d)}),i="url(#pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(d,")")}else i="gradient"===a?r:"pattern"===a?n:c;return e.solid&&(i=c),i}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,i=this.opts,n=[];return e.globals.comboCharts?"line"===e.config.series[this.seriesIndex].type?Array.isArray(e.globals.stroke.colors)?n=e.globals.stroke.colors:n.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?n=e.globals.fill.colors:n.push(e.globals.fill.colors):"line"===t.chart.type?Array.isArray(e.globals.stroke.colors)?n=e.globals.stroke.colors:n.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?n=e.globals.fill.colors:n.push(e.globals.fill.colors),void 0!==i.fillColors&&(n=[],Array.isArray(i.fillColors)?n=i.fillColors.slice():n.push(i.fillColors)),n}},{key:"handlePatternFill",value:function(e,t,i,n){var r=this.w.config,s=this.opts,o=new P(this.ctx),a=void 0===r.fill.pattern.strokeWidth?Array.isArray(r.stroke.width)?r.stroke.width[this.seriesIndex]:r.stroke.width:Array.isArray(r.fill.pattern.strokeWidth)?r.fill.pattern.strokeWidth[this.seriesIndex]:r.fill.pattern.strokeWidth,l=t;Array.isArray(r.fill.pattern.style)?e=void 0!==r.fill.pattern.style[s.seriesNumber]?o.drawPattern(r.fill.pattern.style[s.seriesNumber],r.fill.pattern.width,r.fill.pattern.height,l,a,i):n:e=o.drawPattern(r.fill.pattern.style,r.fill.pattern.width,r.fill.pattern.height,l,a,i);return e}},{key:"handleGradientFill",value:function(e,t,i){var n,r=this.w.config,s=this.opts,o=new P(this.ctx),a=new E,l=r.fill.gradient.type,c=e,u=void 0===r.fill.gradient.opacityFrom?t:Array.isArray(r.fill.gradient.opacityFrom)?r.fill.gradient.opacityFrom[i]:r.fill.gradient.opacityFrom;c.indexOf("rgba")>-1&&(u=E.getOpacityFromRGBA(c));var d=void 0===r.fill.gradient.opacityTo?t:Array.isArray(r.fill.gradient.opacityTo)?r.fill.gradient.opacityTo[i]:r.fill.gradient.opacityTo;if(void 0===r.fill.gradient.gradientToColors||0===r.fill.gradient.gradientToColors.length)n="dark"===r.fill.gradient.shade?a.shadeColor(-1*parseFloat(r.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?E.rgb2hex(e):e):a.shadeColor(parseFloat(r.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?E.rgb2hex(e):e);else{var h=r.fill.gradient.gradientToColors[s.seriesNumber];n=h,h.indexOf("rgba")>-1&&(d=E.getOpacityFromRGBA(h))}if(r.fill.gradient.inverseColors){var f=c;c=n,n=f}return c.indexOf("rgb")>-1&&(c=E.rgb2hex(c)),n.indexOf("rgb")>-1&&(n=E.rgb2hex(n)),o.drawGradient(l,c,n,u,d,s.size,r.fill.gradient.stops,r.fill.gradient.colorStops,i)}}]),t}(),M=function(){function i(e,t){s(this,i),this.ctx=e,this.w=e.w}return o(i,[{key:"setGlobalMarkerSize",value:function(){var t=this.w;if(t.globals.markers.size=Array.isArray(t.config.markers.size)?t.config.markers.size:[t.config.markers.size],t.globals.markers.size.length>0){if(t.globals.markers.size.length<t.globals.series.length+1)for(var e=0;e<=t.globals.series.length;e++)void 0===t.globals.markers.size[e]&&t.globals.markers.size.push(t.globals.markers.size[0])}else t.globals.markers.size=t.config.series.map(function(e){return t.config.markers.size})}},{key:"plotChartMarkers",value:function(e,t,i,n){var r,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.w,a=t,l=e,c=null,u=new P(this.ctx);if((o.globals.markers.size[t]>0||s)&&(c=u.group({class:s?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(o.globals.cuid,")")),Array.isArray(l.x))for(var d=0;d<l.x.length;d++){var h=i;1===i&&0===d&&(h=0),1===i&&1===d&&(h=1);var f="apexcharts-marker";"line"!==o.config.chart.type&&"area"!==o.config.chart.type||o.globals.comboCharts||o.config.tooltip.intersect||(f+=" no-pointer-events");var p=Array.isArray(o.config.markers.size)?o.globals.markers.size[t]>0:o.config.markers.size>0;if(p||s){E.isNumber(l.y[d])?f+=" w".concat(E.randomId()):f="apexcharts-nullpoint";var m=this.getMarkerConfig(f,t,h);o.config.series[a].data[h]&&(o.config.series[a].data[h].fillColor&&(m.pointFillColor=o.config.series[a].data[h].fillColor),o.config.series[a].data[h].strokeColor&&(m.pointStrokeColor=o.config.series[a].data[h].strokeColor)),n&&(m.pSize=n),(r=u.drawMarker(l.x[d],l.y[d],m)).attr("rel",h),r.attr("j",h),r.attr("index",t),r.node.setAttribute("default-marker-size",m.pSize);var g=new j(this.ctx);g.setSelectionFilter(r,t,h),this.addEvents(r),c&&c.add(r)}else void 0===o.globals.pointsArray[t]&&(o.globals.pointsArray[t]=[]),o.globals.pointsArray[t].push([l.x[d],l.y[d]])}return c}},{key:"getMarkerConfig",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.w,r=this.getMarkerStyle(t),s=n.globals.markers.size[t],o=n.config.markers;return null!==i&&o.discrete.length&&o.discrete.map(function(e){e.seriesIndex===t&&e.dataPointIndex===i&&(r.pointStrokeColor=e.strokeColor,r.pointFillColor=e.fillColor,s=e.size)}),{pSize:s,pRadius:o.radius,pWidth:Array.isArray(o.strokeWidth)?o.strokeWidth[t]:o.strokeWidth,pointStrokeColor:r.pointStrokeColor,pointFillColor:r.pointFillColor,shape:Array.isArray(o.shape)?o.shape[t]:o.shape,class:e,pointStrokeOpacity:Array.isArray(o.strokeOpacity)?o.strokeOpacity[t]:o.strokeOpacity,pointStrokeDashArray:Array.isArray(o.strokeDashArray)?o.strokeDashArray[t]:o.strokeDashArray,pointFillOpacity:Array.isArray(o.fillOpacity)?o.fillOpacity[t]:o.fillOpacity,seriesIndex:t}}},{key:"addEvents",value:function(e){var t=this.w,i=new P(this.ctx);e.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",i.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",i.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,i=t.globals.markers.colors,n=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(n)?n[e]:n,pointFillColor:Array.isArray(i)?i[e]:i}}}]),i}(),X=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return o(t,[{key:"draw",value:function(e,t,i){var n=this.w,r=new P(this.ctx),s=i.realIndex,o=i.pointsPos,a=i.zRatio,l=i.elParent,c=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(n.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(n.globals.cuid,")")),Array.isArray(o.x))for(var u=0;u<o.x.length;u++){var d=t+1,h=!0;0===t&&0===u&&(d=0),0===t&&1===u&&(d=1);var f=0,p=n.globals.markers.size[s];if(a!==1/0){p=n.globals.seriesZ[s][d]/a;var m=n.config.plotOptions.bubble;m.minBubbleRadius&&p<m.minBubbleRadius&&(p=m.minBubbleRadius),m.maxBubbleRadius&&p>m.maxBubbleRadius&&(p=m.maxBubbleRadius)}n.config.chart.animations.enabled||(f=p);var g=o.x[u],v=o.y[u];if(f=f||0,null!==v&&void 0!==n.globals.series[s][d]||(h=!1),h){var y=this.drawPoint(g,v,f,p,s,d,t);c.add(y)}l.add(c)}}},{key:"drawPoint",value:function(e,t,i,n,r,s,o){var a=this.w,l=r,c=new O(this.ctx),u=new j(this.ctx),d=new D(this.ctx),h=new M(this.ctx),f=new P(this.ctx),p=h.getMarkerConfig("apexcharts-marker",l),m=d.fillPath({seriesNumber:r,dataPointIndex:s,patternUnits:"objectBoundingBox",value:a.globals.series[r][o]}),g=f.drawCircle(i);if(a.config.series[l].data[s]&&a.config.series[l].data[s].fillColor&&(m=a.config.series[l].data[s].fillColor),g.attr({cx:e,cy:t,fill:m,stroke:p.pointStrokeColor,r:n,"stroke-width":p.pWidth,"stroke-dasharray":p.pointStrokeDashArray,"stroke-opacity":p.pointStrokeOpacity}),a.config.chart.dropShadow.enabled){var v=a.config.chart.dropShadow;u.dropShadow(g,v,r)}if(this.initialAnim&&!a.globals.dataChanged&&!a.globals.resized){var y=a.config.chart.animations.speed;c.animateCircleRadius(g,0,n,y,a.globals.easing,function(){window.setTimeout(function(){c.animationCompleted(g)},100)})}if(a.globals.dataChanged)if(this.dynamicAnim){var b,_,x,w,k=a.config.chart.animations.dynamicAnimation.speed;null!=(w=a.globals.previousPaths[r]&&a.globals.previousPaths[r][o])&&(b=w.x,_=w.y,x=void 0!==w.r?w.r:n);for(var S=0;S<a.globals.collapsedSeries.length;S++)a.globals.collapsedSeries[S].index===r&&(k=1,n=0);0===e&&0===t&&(n=0),c.animateCircle(g,{cx:b,cy:_,r:x},{cx:e,cy:t,r:n},k,a.globals.easing)}else g.attr({r:n});return g.attr({rel:s,j:s,index:r,"default-marker-size":n}),u.setSelectionFilter(g,r,s),h.addEvents(g),g.node.classList.add("apexcharts-marker"),g}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),t}(),x=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"dataLabelsCorrection",value:function(e,t,i,n,r,s,o){var a=this.w,l=!1,c=new P(this.ctx).getTextRects(i,o),u=c.width,d=c.height;void 0===a.globals.dataLabelsRects[n]&&(a.globals.dataLabelsRects[n]=[]),a.globals.dataLabelsRects[n].push({x:e,y:t,width:u,height:d});var h=a.globals.dataLabelsRects[n].length-2,f=void 0!==a.globals.lastDrawnDataLabelsIndexes[n]?a.globals.lastDrawnDataLabelsIndexes[n][a.globals.lastDrawnDataLabelsIndexes[n].length-1]:0;if(void 0!==a.globals.dataLabelsRects[n][h]){var p=a.globals.dataLabelsRects[n][f];(e>p.x+p.width+2||t>p.y+p.height+2||e+u<p.x)&&(l=!0)}return(0===r||s)&&(l=!0),{x:e,y:t,textRects:c,drawnextLabel:l}}},{key:"drawDataLabel",value:function(e,t,i){var n=this,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2,s=this.w,o=new P(this.ctx),a=s.config.dataLabels,l=0,c=0,u=i,d=null;if(!a.enabled||!Array.isArray(e.x))return d;d=o.group({class:"apexcharts-data-labels"});for(var h=0;h<e.x.length;h++)if(l=e.x[h]+a.offsetX,c=e.y[h]+a.offsetY+r,!isNaN(l)){1===i&&0===h&&(u=0),1===i&&1===h&&(u=1);var f=s.globals.series[t][u],p="",m=function(e){return s.config.dataLabels.formatter(e,{ctx:n.ctx,seriesIndex:t,dataPointIndex:u,w:s})};if("bubble"===s.config.chart.type){p=m(f=s.globals.seriesZ[t][u]),c=e.y[h];var g=new X(this.ctx),v=g.centerTextInBubble(c,t,u);c=v.y}else void 0!==f&&(p=m(f));this.plotDataLabelsText({x:l,y:c,text:p,i:t,j:u,parent:d,offsetCorrection:!0,dataLabelsConfig:s.config.dataLabels})}return d}},{key:"plotDataLabelsText",value:function(e){var t=this.w,i=new P(this.ctx),n=e.x,r=e.y,s=e.i,o=e.j,a=e.text,l=e.textAnchor,c=e.parent,u=e.dataLabelsConfig,d=e.color,h=e.alwaysDrawDataLabel,f=e.offsetCorrection;if(!(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(s)<0)){var p={x:n,y:r,drawnextLabel:!0};f&&(p=this.dataLabelsCorrection(n,r,a,s,o,h,parseInt(u.style.fontSize,10))),t.globals.zoomed||(n=p.x,r=p.y),p.textRects&&(n+p.textRects.width<-20||n>t.globals.gridWidth+20)&&(a="");var m=t.globals.dataLabels.style.colors[s];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(m=t.globals.dataLabels.style.colors[o]),d&&(m=d);var g=u.offsetX,v=u.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(g=0,v=0),p.drawnextLabel){var y=i.drawText({width:100,height:parseInt(u.style.fontSize,10),x:n+g,y:r+v,foreColor:m,textAnchor:l||u.textAnchor,text:a,fontSize:u.style.fontSize,fontFamily:u.style.fontFamily,fontWeight:u.style.fontWeight||"normal"});if(y.attr({class:"apexcharts-datalabel",cx:n,cy:r}),u.dropShadow.enabled){var b=u.dropShadow;new j(this.ctx).dropShadow(y,b)}c.add(y),void 0===t.globals.lastDrawnDataLabelsIndexes[s]&&(t.globals.lastDrawnDataLabelsIndexes[s]=[]),t.globals.lastDrawnDataLabelsIndexes[s].push(o)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var i=this.w,n=i.config.dataLabels.background,r=n.padding,s=n.padding/2,o=t.width,a=t.height,l=new P(this.ctx).drawRect(t.x-r,t.y-s/2,o+2*r,a+s,n.borderRadius,"transparent"===i.config.chart.background?"#fff":i.config.chart.background,n.opacity,n.borderWidth,n.borderColor);n.dropShadow.enabled&&new j(this.ctx).dropShadow(l,n.dropShadow);return l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),i=0;i<t.length;i++){var n=t[i],r=n.getBBox(),s=null;if(r.width&&r.height&&(s=this.addBackgroundToDataLabel(n,r)),s){n.parentNode.insertBefore(s.node,n);var o=n.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?s.animate().attr({fill:o}):s.attr({fill:o}),n.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),i=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),n=0;n<t.length;n++)i&&i.insertBefore(t[n],i.nextSibling)}}]),t}(),G=function(){function t(e){s(this,t),this.w=e.w,this.barCtx=e}return o(t,[{key:"handleBarDataLabels",value:function(e){var t=e.x,i=e.y,n=e.y1,r=e.y2,s=e.i,o=e.j,a=e.realIndex,l=e.series,c=e.barHeight,u=e.barWidth,d=e.barYPosition,h=e.visibleSeries,f=e.renderedPath,p=this.w,m=new P(this.barCtx.ctx),g=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth,v=t+parseFloat(u*h),y=i+parseFloat(c*h);p.globals.isXNumeric&&!p.globals.isBarHorizontal&&(v=t+parseFloat(u*(h+1)),y=i+parseFloat(c*(h+1))-g);var b=t,_=i,x={},w=p.config.dataLabels,k=this.barCtx.barOptions.dataLabels;void 0!==d&&this.barCtx.isTimelineBar&&(y=d,_=d);var S=w.offsetX,M=w.offsetY,C={width:0,height:0};if(p.config.dataLabels.enabled){var L=String(p.globals.minY).length>String(p.globals.maxY).length?p.globals.minY:p.globals.maxY;C=m.getTextRects(p.globals.yLabelFormatters[0](L),parseFloat(w.style.fontSize))}var T={x:t,y:i,i:s,j:o,renderedPath:f,bcx:v,bcy:y,barHeight:c,barWidth:u,textRects:C,strokeWidth:g,dataLabelsX:b,dataLabelsY:_,barDataLabelsConfig:k,offX:S,offY:M};return x=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(T):this.calculateColumnsDataLabelsPosition(T),f.attr({cy:x.bcy,cx:x.bcx,j:o,val:l[s][o],barHeight:c,barWidth:u}),this.drawCalculatedDataLabels({x:x.dataLabelsX,y:x.dataLabelsY,val:this.barCtx.isTimelineBar?[n,r]:l[s][o],i:a,j:o,barWidth:u,barHeight:c,textRects:C,dataLabelsConfig:w})}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t,i=this.w,n=e.i,r=e.j,s=e.y,o=e.bcx,a=e.barWidth,l=e.barHeight,c=e.textRects,u=e.dataLabelsY,d=e.barDataLabelsConfig,h=e.strokeWidth,f=e.offX,p=e.offY;l=Math.abs(l);var m="vertical"===i.config.plotOptions.bar.dataLabels.orientation;o-=h/2;var g=i.globals.gridWidth/i.globals.dataPoints;if(t=i.globals.isXNumeric?o-a/2+f:o-g+a/2+f,m)t=t+c.height/2-h/2-2;var v=this.barCtx.series[n][r]<0,y=s;switch(this.barCtx.isReversed&&(y=s-l+(v?2*l:0),s-=l),d.position){case"center":u=m?v?y+l/2+p:y+l/2-p:v?y-l/2+c.height/2+p:y+l/2+c.height/2-p;break;case"bottom":u=m?v?y+l+p:y+l-p:v?y-l+c.height+h+p:y+l-c.height/2+h-p;break;case"top":u=m?v?y+p:y-p:v?y-c.height/2-p:y+c.height+p}return i.config.chart.stacked||(u<0?u=0+h:u+c.height/3>i.globals.gridHeight&&(u=i.globals.gridHeight-h)),{bcx:o,bcy:s,dataLabelsX:t,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,i=e.x,n=e.i,r=e.j,s=e.bcy,o=e.barHeight,a=e.barWidth,l=e.textRects,c=e.dataLabelsX,u=e.strokeWidth,d=e.barDataLabelsConfig,h=e.offX,f=e.offY,p=t.globals.gridHeight/t.globals.dataPoints;a=Math.abs(a);var m=s-(this.barCtx.isTimelineBar?0:p)+o/2+l.height/2+f-3,g=this.barCtx.series[n][r]<0,v=i;switch(this.barCtx.isReversed&&(v=i+a-(g?2*a:0),i=t.globals.gridWidth-a),d.position){case"center":c=g?v+a/2-h:v-a/2+h;break;case"bottom":c=g?v+a-u-Math.round(l.width/2)-h:v-a+u+Math.round(l.width/2)+h;break;case"top":c=g?v-u+Math.round(l.width/2)-h:v-u-Math.round(l.width/2)+h}return t.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-l.width-u)),{bcx:i,bcy:s,dataLabelsX:c,dataLabelsY:m}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,i=e.y,n=e.val,r=e.i,s=e.j,o=e.textRects,a=e.barHeight,l=e.barWidth,c=e.dataLabelsConfig,u=this.w,d="rotate(0)";"vertical"===u.config.plotOptions.bar.dataLabels.orientation&&(d="rotate(-90, ".concat(t,", ").concat(i,")"));var h=new x(this.barCtx.ctx),f=new P(this.barCtx.ctx),p=c.formatter,m=null,g=u.globals.collapsedSeriesIndices.indexOf(r)>-1;if(c.enabled&&!g){m=f.group({class:"apexcharts-data-labels",transform:d});var v="";void 0!==n&&(v=p(n,{seriesIndex:r,dataPointIndex:s,w:u})),0===n&&u.config.chart.stacked&&(v="");var y=u.globals.series[r][s]<=0,b=u.config.plotOptions.bar.dataLabels.position;if("vertical"===u.config.plotOptions.bar.dataLabels.orientation&&("top"===b&&(c.textAnchor=y?"end":"start"),"center"===b&&(c.textAnchor="middle"),"bottom"===b&&(c.textAnchor=y?"end":"start")),this.barCtx.isTimelineBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels)l<f.getTextRects(v,parseFloat(c.style.fontSize)).width&&(v="");u.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?((l=Math.abs(u.globals.series[r][s])/this.barCtx.invertedYRatio[this.barCtx.yaxisIndex])>0&&o.width/1.6>l||l<0&&o.width/1.6<l)&&(v=""):(a=Math.abs(u.globals.series[r][s])/this.barCtx.yRatio[this.barCtx.yaxisIndex],o.height/1.6>a&&(v="")));var _=A({},c);this.barCtx.isHorizontal&&n<0&&("start"===c.textAnchor?_.textAnchor="end":"end"===c.textAnchor&&(_.textAnchor="start")),h.plotDataLabelsText({x:t,y:i,text:v,i:r,j:s,parent:m,dataLabelsConfig:_,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}}]),t}(),f=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return o(t,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector("[seriesName='".concat(E.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),i=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:i}}},{key:"addCollapsedClassToSeries",value:function(i,n){var e=this.w;function t(e){for(var t=0;t<e.length;t++)e[t].index===n&&i.node.classList.add("apexcharts-series-collapsed")}t(e.globals.collapsedSeries),t(e.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.w,r=E.clone(n.globals.initialSeries);n.globals.previousPaths=[],i?(n.globals.collapsedSeries=[],n.globals.ancillaryCollapsedSeries=[],n.globals.collapsedSeriesIndices=[],n.globals.ancillaryCollapsedSeriesIndices=[]):r=this.emptyCollapsedSeries(r),n.config.series=r,e&&(t&&(n.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(r,n.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,i=0;i<e.length;i++)t.globals.collapsedSeriesIndices.indexOf(i)>-1&&(e[i].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var i=this.w,n=i.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===e.type){var r=parseInt(t.getAttribute("rel"),10)-1,s=null,o=null;i.globals.axisCharts||"radialBar"===i.config.chart.type?i.globals.axisCharts?(s=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")),o=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(r,"']"))):s=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']")):s=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"'] path"));for(var a=0;a<n.length;a++)n[a].classList.add(this.legendInactiveClass);null!==s&&(i.globals.axisCharts||s.parentNode.classList.remove(this.legendInactiveClass),s.classList.remove(this.legendInactiveClass),null!==o&&o.classList.remove(this.legendInactiveClass))}else if("mouseout"===e.type)for(var l=0;l<n.length;l++)n[l].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var n=this,i=this.w,r=i.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),s=function(e){for(var t=0;t<r.length;t++)r[t].classList[e](n.legendInactiveClass)};if("mousemove"===e.type){var o=parseInt(t.getAttribute("rel"),10)-1;s("add"),function(e){for(var t=0;t<r.length;t++){var i=parseInt(r[t].getAttribute("val"),10);i>=e.from&&i<=e.to&&r[t].classList.remove(n.legendInactiveClass)}}(i.config.plotOptions.heatmap.colorScale.ranges[o])}else"mouseout"===e.type&&s("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.w,e=0;if(r.config.series.length>1)for(var t=r.config.series.map(function(e,t){var i=!1;return n&&(i="bar"===r.config.series[t].type||"column"===r.config.series[t].type),e.data&&e.data.length>0&&!i?t:-1}),i=0;i<t.length;i++)if(-1!==t[i]){e=t[i];break}return e}},{key:"getPreviousPaths",value:function(){var a=this.w;function r(e,t,i){for(var n=e[t].childNodes,r={type:i,paths:[],realIndex:e[t].getAttribute("data:realIndex")},s=0;s<n.length;s++)if(n[s].hasAttribute("pathTo")){var o=n[s].getAttribute("pathTo");r.paths.push({d:o})}a.globals.previousPaths.push(r)}a.globals.previousPaths=[];["line","area","bar","candlestick","radar"].forEach(function(e){for(var t,i=(t=e,a.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(t,"-series .apexcharts-series"))),n=0;n<i.length;n++)r(i,n,e)}),this.handlePrevBubbleScatterPaths("bubble"),this.handlePrevBubbleScatterPaths("scatter");var e=a.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series");if(e.length>0)for(var t=0;t<e.length;t++){for(var i=a.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series[data\\:realIndex='".concat(t,"'] rect")),n=[],s=0;s<i.length;s++)n.push({color:i[s].getAttribute("color")});a.globals.previousPaths.push(n)}a.globals.axisCharts||(a.globals.previousPaths=a.globals.series)}},{key:"handlePrevBubbleScatterPaths",value:function(e){var t=this.w,i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series"));if(i.length>0)for(var n=0;n<i.length;n++){for(var r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e,"-series .apexcharts-series[data\\:realIndex='").concat(n,"'] circle")),s=[],o=0;o<r.length;o++)s.push({x:r[o].getAttribute("cx"),y:r[o].getAttribute("cy"),r:r[o].getAttribute("r")});t.globals.previousPaths.push(s)}}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,i=new P(this.ctx),n=e.globals.svgWidth/2,r=e.globals.svgHeight/2,s="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,"left"===t.align?(n=10,s="start"):"right"===t.align&&(n=e.globals.svgWidth-10,s="end"),"top"===t.verticalAlign?r=50:"bottom"===t.verticalAlign&&(r=e.globals.svgHeight-50),n+=t.offsetX,r=r+parseInt(t.style.fontSize,10)+2+t.offsetY,void 0!==t.text&&""!==t.text){var o=i.drawText({x:n,y:r,text:t.text,textAnchor:s,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});e.globals.dom.Paper.add(o)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,i=0;i<e.length;i++)if(0===e[i].length)for(var n=0;n<e[t.globals.maxValsInArrayIndex].length;n++)e[i].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,i=this.filteredSeriesX(),n=0;n<i.length-1;n++)if(i[n][0]!==i[n+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){var e=this.w.globals.seriesX.map(function(e){return e.length>0?e:[]});return e}}]),t}(),K=function(){function t(e){s(this,t),this.w=e.w,this.barCtx=e}return o(t,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var i=0;i<e.length;i++)if(e[i].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[i].length),t.globals.isXNumeric)for(var n=0;n<e[i].length;n++)t.globals.seriesX[i][n]>t.globals.minX&&t.globals.seriesX[i][n]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;0===this.barCtx.seriesLen&&(this.barCtx.seriesLen=1)}},{key:"initialPositions",value:function(){var e,t,i,n,r,s,o,a,l=this.w,c=l.globals.dataPoints;if(this.barCtx.isTimelineBar&&(c=l.globals.labels.length),this.barCtx.isHorizontal)r=(i=l.globals.gridHeight/c)/this.barCtx.seriesLen,l.globals.isXNumeric&&(r=(i=l.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),r=r*parseInt(this.barCtx.barOptions.barHeight,10)/100,a=this.barCtx.baseLineInvertedY+l.globals.padHorizontal+(this.barCtx.isReversed?l.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),t=(i-r*this.barCtx.seriesLen)/2;else{if(n=l.globals.gridWidth/this.barCtx.visibleItems,l.config.xaxis.convertedCatToNumeric&&(n=l.globals.gridWidth/l.globals.dataPoints),s=n/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100,l.globals.isXNumeric){var u=this.barCtx.xRatio;l.config.xaxis.convertedCatToNumeric&&(u=this.barCtx.initialXRatio),l.globals.minXDiff&&.5!==l.globals.minXDiff&&l.globals.minXDiff/u>0&&(n=l.globals.minXDiff/u),(s=n/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(s=1)}o=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(n-s*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:i,xDivision:n,barHeight:r,barWidth:s,zeroH:o,zeroW:a}}},{key:"getPathFillColor",value:function(t,i,n,e){var r=this.w,s=new D(this.barCtx.ctx),o=null,a=this.barCtx.barOptions.distributed?n:i;this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map(function(e){t[i][n]>=e.from&&t[i][n]<=e.to&&(o=e.color)});return r.config.series[i].data[n]&&r.config.series[i].data[n].fillColor&&(o=r.config.series[i].data[n].fillColor),s.fillPath({seriesNumber:this.barCtx.barOptions.distributed?a:e,dataPointIndex:n,color:o,value:t[i][n]})}},{key:"getStrokeWidth",value:function(e,t,i){var n=0,r=this.w;return void 0===this.barCtx.series[e][t]||null===this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,r.config.stroke.show&&(this.barCtx.isNullValue||(n=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[i]:this.barCtx.strokeWidth)),n}},{key:"barBackground",value:function(e){var t=e.j,i=e.i,n=e.x1,r=e.x2,s=e.y1,o=e.y2,a=e.elSeries,l=this.w,c=new P(this.barCtx.ctx),u=new f(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===i){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t-=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],h=c.drawRect(void 0!==n?n:0,void 0!==s?s:0,void 0!==r?r:l.globals.gridWidth,void 0!==o?o:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);a.add(h),h.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t=e.barWidth,i=e.barXPosition,n=e.yRatio,r=e.y1,s=e.y2,o=e.strokeWidth,a=e.series,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new P(this.barCtx.ctx);(o=Array.isArray(o)?o[l]:o)||(o=0);var f={barWidth:t,strokeWidth:o,yRatio:n,barXPosition:i,y1:r,y2:s},p=this.getRoundedBars(d,f,a,c,u),m=i,g=i+t,v=h.move(m,p.y1),y=h.move(m,p.y1);return d.globals.previousPaths.length>0&&(y=this.barCtx.getPreviousPath(l,u,!1)),{pathTo:v=v+h.line(m,p.y2)+p.endingPath+h.line(g-o,p.y2)+h.line(g-o,p.y1)+p.startingPath+"z",pathFrom:y=y+h.line(m,r)+h.line(g-o,r)+h.line(g-o,r)+h.line(g-o,r)+h.line(m,r)}}},{key:"getBarpaths",value:function(e){var t=e.barYPosition,i=e.barHeight,n=e.x1,r=e.x2,s=e.strokeWidth,o=e.series,a=e.realIndex,l=e.i,c=e.j,u=e.w,d=new P(this.barCtx.ctx);(s=Array.isArray(s)?s[a]:s)||(s=0);var h={barHeight:i,strokeWidth:s,barYPosition:t,x2:r,x1:n},f=this.getRoundedBars(u,h,o,l,c),p=d.move(f.x1,t),m=d.move(f.x1,t);u.globals.previousPaths.length>0&&(m=this.barCtx.getPreviousPath(a,c,!1));var g=t,v=t+i;return{pathTo:p=p+d.line(f.x2,g)+f.endingPath+d.line(f.x2,v-s)+d.line(f.x1,v-s)+f.startingPath+"z",pathFrom:m=m+d.line(n,g)+d.line(n,v-s)+d.line(n,v-s)+d.line(n,v-s)+d.line(n,g)}}},{key:"getRoundedBars",value:function(e,t,i,n,r){var s=new P(this.barCtx.ctx),o=Array.isArray(t.strokeWidth)?t.strokeWidth[n]:t.strokeWidth;if(o||(o=0),this.barCtx.isHorizontal){var a=null,l="",c=t.x2,u=t.x1;if(void 0!==i[n][r]||null!==i[n][r]){var d=i[n][r]<0,h=t.barHeight/2-o;switch(d&&(h=-t.barHeight/2-o),h>Math.abs(c-u)&&(h=Math.abs(c-u)),"rounded"===this.barCtx.barOptions.endingShape&&(c=t.x2-h/2),"rounded"===this.barCtx.barOptions.startingShape&&(u=t.x1+h/2),this.barCtx.barOptions.endingShape){case"flat":a=s.line(c,t.barYPosition+t.barHeight-o);break;case"rounded":a=s.quadraticCurve(c+h,t.barYPosition+(t.barHeight-o)/2,c,t.barYPosition+t.barHeight-o)}switch(this.barCtx.barOptions.startingShape){case"flat":l=s.line(u,t.barYPosition+t.barHeight-o);break;case"rounded":l=s.quadraticCurve(u-h,t.barYPosition+t.barHeight/2,u,t.barYPosition)}}return{endingPath:a,startingPath:l,x2:c,x1:u}}var f=null,p="",m=t.y2,g=t.y1;if(void 0!==i[n][r]||null!==i[n][r]){var v=i[n][r]<0,y=t.barWidth/2-o;switch(v&&(y=-t.barWidth/2-o),y>Math.abs(m-g)&&(y=Math.abs(m-g)),"rounded"===this.barCtx.barOptions.endingShape&&(m+=y/2),"rounded"===this.barCtx.barOptions.startingShape&&(g-=y/2),this.barCtx.barOptions.endingShape){case"flat":f=s.line(t.barXPosition+t.barWidth-o,m);break;case"rounded":f=s.quadraticCurve(t.barXPosition+(t.barWidth-o)/2,m-y,t.barXPosition+t.barWidth-o,m)}switch(this.barCtx.barOptions.startingShape){case"flat":p=s.line(t.barXPosition+t.barWidth-o,g);break;case"rounded":p=s.quadraticCurve(t.barXPosition+(t.barWidth-o)/2,g+y,t.barXPosition,g)}}return{endingPath:f,startingPath:p,y2:m,y1:g}}}]),t}(),C=function(){function n(e,t){s(this,n),this.ctx=e,this.w=e.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.isTimelineBar="datetime"===i.config.xaxis.type&&i.globals.seriesRangeBarTimeline.length,this.xyRatios=t,null!==this.xyRatios&&(this.xRatio=t.xRatio,this.initialXRatio=t.initialXRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.barHelpers=new K(this)}return o(n,[{key:"draw",value:function(e,t){var i=this.w,n=new P(this.ctx),r=new L(this.ctx,i);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var s=n.group({class:"apexcharts-bar-series apexcharts-plot-series"});i.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var o=0,a=0;o<e.length;o++,a++){var l,c,u,d,h=void 0,f=void 0,p=[],m=[],g=i.globals.comboCharts?t[o]:o,v=n.group({class:"apexcharts-series",rel:o+1,seriesName:E.escapeString(i.globals.seriesNames[g]),"data:realIndex":g});this.ctx.series.addCollapsedClassToSeries(v,g),e[o].length>0&&(this.visibleI=this.visibleI+1);var y=0,b=0;this.yRatio.length>1&&(this.yaxisIndex=g),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var _=this.barHelpers.initialPositions();f=_.y,y=_.barHeight,c=_.yDivision,d=_.zeroW,h=_.x,b=_.barWidth,l=_.xDivision,u=_.zeroH,this.horizontal||m.push(h+b/2);for(var x=n.group({class:"apexcharts-datalabels","data:realIndex":g}),w=0;w<i.globals.dataPoints;w++){var k=this.barHelpers.getStrokeWidth(o,w,g),S=null,M={indexes:{i:o,j:w,realIndex:g,bc:a},x:h,y:f,strokeWidth:k,elSeries:v};this.isHorizontal?(S=this.drawBarPaths(A(A({},M),{},{barHeight:y,zeroW:d,yDivision:c})),b=this.series[o][w]/this.invertedYRatio):(S=this.drawColumnPaths(A(A({},M),{},{xDivision:l,barWidth:b,zeroH:u})),y=this.series[o][w]/this.yRatio[this.yaxisIndex]),f=S.y,h=S.x,w>0&&m.push(h+b/2),p.push(f);var C=this.barHelpers.getPathFillColor(e,o,w,g);this.renderSeries({realIndex:g,pathFill:C,j:w,i:o,pathFrom:S.pathFrom,pathTo:S.pathTo,strokeWidth:k,elSeries:v,x:h,y:f,series:e,barHeight:y,barWidth:b,elDataLabelsWrap:x,visibleSeries:this.visibleI,type:"bar"})}i.globals.seriesXvalues[g]=m,i.globals.seriesYvalues[g]=p,s.add(v)}return s}},{key:"renderSeries",value:function(e){var t=e.realIndex,i=e.pathFill,n=e.lineFill,r=e.j,s=e.i,o=e.pathFrom,a=e.pathTo,l=e.strokeWidth,c=e.elSeries,u=e.x,d=e.y,h=e.y1,f=e.y2,p=e.series,m=e.barHeight,g=e.barWidth,v=e.barYPosition,y=e.elDataLabelsWrap,b=e.visibleSeries,_=e.type,x=this.w,w=new P(this.ctx);n||(n=this.barOptions.distributed?x.globals.stroke.colors[r]:x.globals.stroke.colors[t]),x.config.series[s].data[r]&&x.config.series[s].data[r].strokeColor&&(n=x.config.series[s].data[r].strokeColor),this.isNullValue&&(i="none");var k=r/x.config.chart.animations.animateGradually.delay*(x.config.chart.animations.speed/x.globals.dataPoints)/2.4,S=w.renderPaths({i:s,j:r,realIndex:t,pathFrom:o,pathTo:a,stroke:n,strokeWidth:l,strokeLineCap:x.config.stroke.lineCap,fill:i,animationDelay:k,initialSpeed:x.config.chart.animations.speed,dataChangeSpeed:x.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(_,"-area")});S.attr("clip-path","url(#gridRectMask".concat(x.globals.cuid,")")),void 0!==h&&void 0!==f&&(S.attr("data-range-y1",h),S.attr("data-range-y2",f)),new j(this.ctx).setSelectionFilter(S,t,r),c.add(S);var M=new G(this).handleBarDataLabels({x:u,y:d,y1:h,y2:f,i:s,j:r,series:p,realIndex:t,barHeight:m,barWidth:g,barYPosition:v,renderedPath:S,visibleSeries:b});return null!==M&&y.add(M),c.add(y),c}},{key:"drawBarPaths",value:function(e){var t=e.indexes,i=e.barHeight,n=e.strokeWidth,r=e.zeroW,s=e.x,o=e.y,a=e.yDivision,l=e.elSeries,c=this.w,u=t.i,d=t.j;c.globals.isXNumeric&&(o=(c.globals.seriesX[u][d]-c.globals.minX)/this.invertedXRatio-i);var h=o+i*this.visibleI;s=void 0===this.series[u][d]||null===this.series[u][d]?r:r+this.series[u][d]/this.invertedYRatio-2*(this.isReversed?this.series[u][d]/this.invertedYRatio:0);var f=this.barHelpers.getBarpaths({barYPosition:h,barHeight:i,x1:r,x2:s,strokeWidth:n,series:this.series,realIndex:t.realIndex,i:u,j:d,w:c});return c.globals.isXNumeric||(o+=a),this.barHelpers.barBackground({j:d,i:u,y1:h-i*this.visibleI,y2:i*this.seriesLen,elSeries:l}),{pathTo:f.pathTo,pathFrom:f.pathFrom,x:s,y:o,barYPosition:h}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,i=e.x,n=e.y,r=e.xDivision,s=e.barWidth,o=e.zeroH,a=e.strokeWidth,l=e.elSeries,c=this.w,u=t.i,d=t.j,h=t.bc;if(c.globals.isXNumeric){var f=u;c.globals.seriesX[u].length||(f=c.globals.maxValsInArrayIndex),i=(c.globals.seriesX[f][d]-c.globals.minX)/this.xRatio-s*this.seriesLen/2}var p=i+s*this.visibleI;n=void 0===this.series[u][d]||null===this.series[u][d]?o:o-this.series[u][d]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[u][d]/this.yRatio[this.yaxisIndex]:0);var m=this.barHelpers.getColumnPaths({barXPosition:p,barWidth:s,y1:o,y2:n,strokeWidth:a,series:this.series,realIndex:t.realIndex,i:u,j:d,w:c});return c.globals.isXNumeric||(i+=r),this.barHelpers.barBackground({bc:h,j:d,i:u,x1:p-a/2-s*this.visibleI,x2:s*this.seriesLen+a/2,elSeries:l}),{pathTo:m.pathTo,pathFrom:m.pathFrom,x:i,y:n,barXPosition:p}}},{key:"getPreviousPath",value:function(e,t){for(var i,n=this.w,r=0;r<n.globals.previousPaths.length;r++){var s=n.globals.previousPaths[r];s.paths&&s.paths.length>0&&parseInt(s.realIndex,10)===parseInt(e,10)&&void 0!==n.globals.previousPaths[r].paths[t]&&(i=n.globals.previousPaths[r].paths[t].d)}return i}}]),n}(),w=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return o(t,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var i=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return i=this.getTimeStamp(i)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var i=this.w.globals.locale,n=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(k(i.months)),s=["�"].concat(k(i.shortMonths)),o=["�"].concat(k(i.days)),a=["�"].concat(k(i.shortDays));function l(e,t){var i=e+"";for(t=t||2;i.length<t;)i="0"+i;return i}var c=n?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+c)).replace(/(^|[^\\])yy/g,"$1"+c.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+c);var u=(n?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+s[0])).replace(/(^|[^\\])MM/g,"$1"+l(u))).replace(/(^|[^\\])M/g,"$1"+u);var d=n?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+a[0])).replace(/(^|[^\\])dd/g,"$1"+l(d))).replace(/(^|[^\\])d/g,"$1"+d);var h=n?e.getUTCHours():e.getHours(),f=h>12?h-12:0===h?12:h;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(h))).replace(/(^|[^\\])H/g,"$1"+h)).replace(/(^|[^\\])hh+/g,"$1"+l(f))).replace(/(^|[^\\])h/g,"$1"+f);var p=n?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(p))).replace(/(^|[^\\])m/g,"$1"+p);var m=n?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(m))).replace(/(^|[^\\])s/g,"$1"+m);var g=n?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(g,3)),g=Math.round(g/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(g)),g=Math.round(g/10);var v=h<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+g)).replace(/(^|[^\\])TT+/g,"$1"+v)).replace(/(^|[^\\])T/g,"$1"+v.charAt(0));var y=v.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+y)).replace(/(^|[^\\])t/g,"$1"+y.charAt(0));var b=-e.getTimezoneOffset(),_=n||!b?"Z":b>0?"+":"-";if(!n){var x=(b=Math.abs(b))%60;_+=l(Math.floor(b/60))+":"+l(x)}t=t.replace(/(^|[^\\])K/g,"$1"+_);var w=(n?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[w])).replace(new RegExp(a[0],"g"),a[w])).replace(new RegExp(r[0],"g"),r[u])).replace(new RegExp(s[0],"g"),s[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,i){var n=this.w;void 0!==n.config.xaxis.min&&(e=n.config.xaxis.min),void 0!==n.config.xaxis.max&&(t=n.config.xaxis.max);var r=this.getDate(e),s=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm").split(" "),a=this.formatDate(s,"yyyy MM dd HH mm").split(" ");return{minMinute:parseInt(o[4],10),maxMinute:parseInt(a[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(a[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(a[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(a[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(a[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,i){return this.determineDaysOfMonths(e,t)-i}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,i){var n=this.daysCntOfYear[t]+i;return t>1&&this.isLeapYear()&&n++,n}},{key:"determineDaysOfMonths",value:function(e,t){var i=30;switch(e=E.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(i=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:i=31}return i}}]),t}(),S=function(e){a(i,e);var t=c(i);function i(){return s(this,i),t.apply(this,arguments)}return o(i,[{key:"draw",value:function(e,t){var i=this.w,n=new P(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=i.globals.seriesRangeStart,this.seriesRangeEnd=i.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var r=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),s=0;s<e.length;s++){var o,a,l,c=void 0,u=void 0,d=void 0,h=i.globals.comboCharts?t[s]:s,f=n.group({class:"apexcharts-series",seriesName:E.escapeString(i.globals.seriesNames[h]),rel:s+1,"data:realIndex":h});e[s].length>0&&(this.visibleI=this.visibleI+1);var p=0,m=0;this.yRatio.length>1&&(this.yaxisIndex=h);var g=this.barHelpers.initialPositions();u=g.y,l=g.zeroW,c=g.x,m=g.barWidth,o=g.xDivision,a=g.zeroH;for(var v=n.group({class:"apexcharts-datalabels","data:realIndex":h}),y=0;y<i.globals.dataPoints;y++){var b=this.barHelpers.getStrokeWidth(s,y,h),_=this.seriesRangeStart[s][y],x=this.seriesRangeEnd[s][y],w=null,k=null,S={x:c,y:u,strokeWidth:b,elSeries:f};if(d=g.yDivision,p=g.barHeight,this.isHorizontal){k=u+p*this.visibleI;var M=(d-p*this.seriesLen)/2;if(void 0===i.config.series[s].data[y])break;if(this.isTimelineBar&&i.config.series[s].data[y].x){var C=this.detectOverlappingBars({i:s,j:y,barYPosition:k,srty:M,barHeight:p,yDivision:d,initPositions:g});p=C.barHeight,k=C.barYPosition}m=(w=this.drawRangeBarPaths(A({indexes:{i:s,j:y,realIndex:h},barHeight:p,barYPosition:k,zeroW:l,yDivision:d,y1:_,y2:x},S))).barWidth}else p=(w=this.drawRangeColumnPaths(A({indexes:{i:s,j:y,realIndex:h},zeroH:a,barWidth:m,xDivision:o},S))).barHeight;u=w.y,c=w.x;var L=this.barHelpers.getPathFillColor(e,s,y,h),T=i.globals.stroke.colors[h];this.renderSeries({realIndex:h,pathFill:L,lineFill:T,j:y,i:s,x:c,y:u,y1:_,y2:x,pathFrom:w.pathFrom,pathTo:w.pathTo,strokeWidth:b,elSeries:f,series:e,barHeight:p,barYPosition:k,barWidth:m,elDataLabelsWrap:v,visibleSeries:this.visibleI,type:"rangebar"})}r.add(f)}return r}},{key:"detectOverlappingBars",value:function(e){var t=e.i,i=e.j,n=e.barYPosition,r=e.srty,s=e.barHeight,o=e.yDivision,a=e.initPositions,l=this.w,c=[],u=l.config.series[t].data[i].rangeName,d=l.config.series[t].data[i].x,h=l.globals.labels.indexOf(d),f=l.globals.seriesRangeBarTimeline[t].findIndex(function(e){return e.x===d&&e.overlaps.length>0});return n=r+s*this.visibleI+o*h,f>-1&&!l.config.plotOptions.bar.rangeBarOverlap&&(c=l.globals.seriesRangeBarTimeline[t][f].overlaps).indexOf(u)>-1&&(n=(s=a.barHeight/c.length)*this.visibleI+o*(100-parseInt(this.barOptions.barHeight,10))/100/2+s*(this.visibleI+c.indexOf(u))+o*h),{barYPosition:n,barHeight:s}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,i=e.x,n=(e.strokeWidth,e.xDivision),r=e.barWidth,s=e.zeroH,o=this.w,a=t.i,l=t.j,c=this.yRatio[this.yaxisIndex],u=t.realIndex,d=this.getRangeValue(u,l),h=Math.min(d.start,d.end),f=Math.max(d.start,d.end);o.globals.isXNumeric&&(i=(o.globals.seriesX[a][l]-o.globals.minX)/this.xRatio-r/2);var p=i+r*this.visibleI;void 0===this.series[a][l]||null===this.series[a][l]?h=s:(h=s-h/c,f=s-f/c);var m=Math.abs(f-h),g=this.barHelpers.getColumnPaths({barXPosition:p,barWidth:r,y1:h,y2:f,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:u,j:l,w:o});return o.globals.isXNumeric||(i+=n),{pathTo:g.pathTo,pathFrom:g.pathFrom,barHeight:m,x:i,y:f,barXPosition:p}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,i=e.y,n=e.y1,r=e.y2,s=e.yDivision,o=e.barHeight,a=e.barYPosition,l=e.zeroW,c=this.w,u=l+n/this.invertedYRatio,d=l+r/this.invertedYRatio,h=Math.abs(d-u),f=this.barHelpers.getBarpaths({barYPosition:a,barHeight:o,x1:u,x2:d,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:t.realIndex,j:t.j,w:c});return c.globals.isXNumeric||(i+=s),{pathTo:f.pathTo,pathFrom:f.pathFrom,barWidth:h,x:d,y:i}}},{key:"getRangeValue",value:function(e,t){var i=this.w;return{start:i.globals.seriesRangeStart[e][t],end:i.globals.seriesRangeEnd[e][t]}}},{key:"getTooltipValues",value:function(e){var t=e.ctx,i=e.seriesIndex,n=e.dataPointIndex,r=e.y1,s=e.y2,o=e.w,a=o.globals.seriesRangeStart[i][n],l=o.globals.seriesRangeEnd[i][n],c=o.globals.labels[n],u=o.config.series[i].name,d=o.config.tooltip.y.formatter,h=o.config.tooltip.y.title.formatter,f={w:o,seriesIndex:i,dataPointIndex:n};"function"==typeof h&&(u=h(u,f)),r&&s&&(a=r,l=s,o.config.series[i].data[n].x&&(c=o.config.series[i].data[n].x+":"),"function"==typeof d&&(c=d(c,f)));var p="",m="",g=o.globals.colors[i];if(void 0===o.config.tooltip.x.formatter)if("datetime"===o.config.xaxis.type){var v=new w(t);p=v.formatDate(v.getDate(a),o.config.tooltip.x.format),m=v.formatDate(v.getDate(l),o.config.tooltip.x.format)}else p=a,m=l;else p=o.config.tooltip.x.formatter(a),m=o.config.tooltip.x.formatter(l);return{start:a,end:l,startVal:p,endVal:m,ylabel:c,color:g,seriesName:u}}},{key:"buildCustomTooltipHTML",value:function(e){var t=e.color,i=e.seriesName;return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+t+'">'+(i||"")+'</span></div><div> <span class="category">'+e.ylabel+' </span> <span class="value start-value">'+e.start+'</span> <span class="separator">-</span> <span class="value end-value">'+e.end+"</span></div></div>"}}]),i}(C),u=function(){function t(e){s(this,t),this.opts=e}return o(t,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0;return E.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(e){var t=e.seriesIndex,i=e.dataPointIndex,n=e.w;return'<div class="apexcharts-tooltip-candlestick"><div>Open: <span class="value">'+n.globals.seriesCandleO[t][i]+'</span></div><div>High: <span class="value">'+n.globals.seriesCandleH[t][i]+'</span></div><div>Low: <span class="value">'+n.globals.seriesCandleL[t][i]+'</span></div><div>Close: <span class="value">'+n.globals.seriesCandleC[t][i]+"</span></div></div>"}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var i=t.seriesIndex,n=t.dataPointIndex,r=t.w,s=r.globals.seriesRangeStart[i][n];return r.globals.seriesRangeEnd[i][n]-s},background:{enabled:!1},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=new S(e.ctx,null),i=t.getTooltipValues(e),n=i.color,r=i.seriesName,s=i.ylabel,o=i.startVal,a=i.endVal;return t.buildCustomTooltipHTML({color:n,seriesName:r,ylabel:s,start:o,end:a})}(e):function(e){var t=new S(e.ctx,null),i=t.getTooltipValues(e),n=i.color,r=i.seriesName,s=i.ylabel,o=i.start,a=i.end;return t.buildCustomTooltipHTML({color:n,seriesName:r,ylabel:s,start:o,end:a})}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(e){return E.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(i){i.dataLabels=i.dataLabels||{},i.dataLabels.formatter=i.dataLabels.formatter||void 0;var e=i.dataLabels.formatter;return i.yaxis.forEach(function(e,t){i.yaxis[t].min=0,i.yaxis[t].max=100}),"bar"===i.chart.type&&(i.dataLabels.formatter=e||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),i}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,i){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return E.isNumber(e)?Math.floor(e):e};var n=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return i&&i.length&&(r=i.map(function(e){return e.toString()})),r&&r.length&&(e.xaxis.labels.formatter=function(e){return E.isNumber(e)?n(r[Math.floor(e)-1]):n(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}}]),t}(),d=function(){function t(e){s(this,t),this.opts=e}return o(t,[{key:"init",value:function(e){var t=e.responsiveOverride,i=this.opts,n=new m,r=new u(i);this.chartType=i.chart.type,"histogram"===this.chartType&&(i.chart.type="bar",i=E.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},i)),i=this.extendYAxis(i),i=this.extendAnnotations(i);var s=n.init(),o={};if(i&&"object"===_(i)){var a={};a=-1!==["line","area","bar","candlestick","rangeBar","histogram","bubble","scatter","heatmap","pie","polarArea","donut","radar","radialBar"].indexOf(i.chart.type)?r[i.chart.type]():r.line(),i.chart.brush&&i.chart.brush.enabled&&(a=r.brush(a)),i.chart.stacked&&"100%"===i.chart.stackType&&(i=r.stacked100(i)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(i),i.xaxis=i.xaxis||window.Apex.xaxis||{},t||(i.xaxis.convertedCatToNumeric=!1),((i=this.checkForCatToNumericXAxis(this.chartType,a,i)).chart.sparkline&&i.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(a=r.sparkline(a)),o=E.extend(s,a)}var l=E.extend(o,window.Apex);return s=E.extend(l,i),s=this.handleUserInputErrors(s)}},{key:"checkForCatToNumericXAxis",value:function(e,t,i){var n=new u(i),r="bar"===e&&i.plotOptions&&i.plotOptions.bar&&i.plotOptions.bar.horizontal,s="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,o="datetime"!==i.xaxis.type&&"numeric"!==i.xaxis.type,a=i.xaxis.tickPlacement?i.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return r||s||!o||"between"===a||(i=n.convertCatToNumeric(i)),i}},{key:"extendYAxis",value:function(n,e){var r=new m;(void 0===n.yaxis||!n.yaxis||Array.isArray(n.yaxis)&&0===n.yaxis.length)&&(n.yaxis={}),n.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(n.yaxis=E.extend(n.yaxis,window.Apex.yaxis)),n.yaxis.constructor!==Array?n.yaxis=[E.extend(r.yAxis,n.yaxis)]:n.yaxis=E.extendArray(n.yaxis,r.yAxis);var t=!1;n.yaxis.forEach(function(e){e.logarithmic&&(t=!0)});var s=n.series;return e&&!s&&(s=e.config.series),t&&s.length!==n.yaxis.length&&s.length&&(n.yaxis=s.map(function(e,t){if(e.name||(s[t].name="series-".concat(t+1)),n.yaxis[t])return n.yaxis[t].seriesName=s[t].name,n.yaxis[t];var i=E.extend(r.yAxis,n.yaxis[0]);return i.show=!1,i})),t&&s.length>1&&s.length!==n.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),n}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new m;return e.annotations.yaxis=E.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new m;return e.annotations.xaxis=E.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new m;return e.annotations.points=E.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(("bar"===t.chart.type||"rangeBar"===t.chart.type)&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&("barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(console.warn('crosshairs.width = "barWidth" is only supported in single series, not in a multi-series barChart.'),t.xaxis.crosshairs.width="tickWidth"),t.plotOptions.bar.horizontal&&(t.states.hover.type="none",t.tooltip.shared=!1),t.tooltip.followCursor||(console.warn("followCursor option in shared columns cannot be turned off. Please set %ctooltip.followCursor: true","color: blue;"),t.tooltip.followCursor=!0)),"candlestick"===t.chart.type&&t.yaxis[0].reversed&&(console.warn("Reversed y-axis in candlestick chart is not supported."),t.yaxis[0].reversed=!1),t.chart.group&&0===t.yaxis[0].labels.minWidth&&console.warn("It looks like you have multiple charts in synchronization. You must provide yaxis.labels.minWidth which must be EQUAL for all grouped charts to prevent incorrect behaviour."),Array.isArray(t.stroke.width)&&"line"!==t.chart.type&&"area"!==t.chart.type&&(console.warn("stroke.width option accepts array only for line and area charts. Reverted back to Number"),t.stroke.width=t.stroke.width[0]),t}}]),t}(),Z=function(){function e(){s(this,e)}return o(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRangeBarTimeline=[],e.seriesPercent=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.xaxisLabelsCount=0,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=E.extend({},e),t.initialSeries=E.clone(e.series),t.lastXAxis=E.clone(t.initialConfig.xaxis),t.lastYAxis=E.clone(t.initialConfig.yaxis),t}}]),e}(),J=function(){function t(e){s(this,t),this.opts=e}return o(t,[{key:"init",value:function(){var e=new d(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new Z).init(e)}}}]),t}(),Q=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.coreUtils=new L(this.ctx)}return o(t,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new f(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new f(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){var i=this.w.config,n=this.w.globals;i.xaxis.sorted&&("datetime"===i.xaxis.type?e[t].data.sort(function(e,t){return new Date(e[0]).getTime()-new Date(t[0]).getTime()}):"numeric"===i.xaxis.type&&e[t].data.sort(function(e,t){return e[0]-t[0]}));for(var r=0;r<e[t].data.length;r++)if(void 0!==e[t].data[r][1]&&(Array.isArray(e[t].data[r][1])&&4===e[t].data[r][1].length?this.twoDSeries.push(E.parseNumber(e[t].data[r][1][3])):5===e[t].data[r].length?this.twoDSeries.push(E.parseNumber(e[t].data[r][4])):this.twoDSeries.push(E.parseNumber(e[t].data[r][1])),n.dataFormatXNumeric=!0),"datetime"===i.xaxis.type){var s=new Date(e[t].data[r][0]);s=new Date(s).getTime(),this.twoDSeriesX.push(s)}else this.twoDSeriesX.push(e[t].data[r][0]);for(var o=0;o<e[t].data.length;o++)void 0!==e[t].data[o][2]&&(this.threeDSeries.push(e[t].data[o][2]),n.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var i=this.w.config,n=this.w.globals,r=new w(this.ctx),s=t;n.collapsedSeriesIndices.indexOf(t)>-1&&(s=this.activeSeriesIndex),i.xaxis.sorted&&("datetime"===i.xaxis.type?e[t].data.sort(function(e,t){return new Date(e.x).getTime()-new Date(t.x).getTime()}):"numeric"===i.xaxis.type&&e[t].data.sort(function(e,t){return e.x-t.x}));for(var o=0;o<e[t].data.length;o++)void 0!==e[t].data[o].y&&(Array.isArray(e[t].data[o].y)?this.twoDSeries.push(E.parseNumber(e[t].data[o].y[e[t].data[o].y.length-1])):this.twoDSeries.push(E.parseNumber(e[t].data[o].y)));for(var a=0;a<e[s].data.length;a++){var l="string"==typeof e[s].data[a].x,c=Array.isArray(e[s].data[a].x),u=!c&&!!r.isValidDate(e[s].data[a].x.toString());if(l||u)if(l||i.xaxis.convertedCatToNumeric){var d=n.isBarHorizontal&&n.isRangeData;"datetime"!==i.xaxis.type||d?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[s].data[a].x)):this.twoDSeriesX.push(r.parseDate(e[s].data[a].x))}else"datetime"===i.xaxis.type?this.twoDSeriesX.push(r.parseDate(e[s].data[a].x.toString())):(n.dataFormatXNumeric=!0,n.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[s].data[a].x)));else c?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[s].data[a].x)):(n.isXNumeric=!0,n.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[s].data[a].x))}if(e[t].data[0]&&void 0!==e[t].data[0].z){for(var h=0;h<e[t].data.length;h++)this.threeDSeries.push(e[t].data[h].z);n.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var i=this.w.config,n=this.w.globals,r={};return this.isFormat2DArray()?r=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(r=this.handleRangeDataFormat("xy",e,t)),n.seriesRangeStart.push(r.start),n.seriesRangeEnd.push(r.end),"datetime"===i.xaxis.type&&n.seriesRangeBarTimeline.push(r.rangeUniques),n.seriesRangeBarTimeline.forEach(function(e,t){e&&e.forEach(function(o,e){o.y.forEach(function(e,t){for(var i=0;i<o.y.length;i++)if(t!==i){var n=e.y1,r=e.y2,s=o.y[i].y1;n<=o.y[i].y2&&s<=r&&(o.overlaps.indexOf(e.rangeName)<0&&o.overlaps.push(e.rangeName),o.overlaps.indexOf(o.y[i].rangeName)<0&&o.overlaps.push(o.y[i].rangeName))}})})}),r}},{key:"handleCandleStickData",value:function(e,t){var i=this.w.globals,n={};return this.isFormat2DArray()?n=this.handleCandleStickDataFormat("array",e,t):this.isFormatXY()&&(n=this.handleCandleStickDataFormat("xy",e,t)),i.seriesCandleO[t]=n.o,i.seriesCandleH[t]=n.h,i.seriesCandleL[t]=n.l,i.seriesCandleC[t]=n.c,n}},{key:"handleRangeDataFormat",value:function(e,s,o){var a=[],l=[],c=s[o].data.filter(function(t,e,i){return e===i.findIndex(function(e){return e.x===t.x})}).map(function(e,t){return{x:e.x,overlaps:[],y:[]}}),t="Please provide [Start, End] values in valid format. Read more https://apexcharts.com/docs/series/#rangecharts",i=new f(this.ctx).getActiveConfigSeriesIndex();if("array"===e){if(2!==s[i].data[0][1].length)throw new Error(t);for(var n=0;n<s[o].data.length;n++)a.push(s[o].data[n][1][0]),l.push(s[o].data[n][1][1])}else if("xy"===e){if(2!==s[i].data[0].y.length)throw new Error(t);for(var r=function(e){var t=E.randomId(),i=s[o].data[e].x,n={y1:s[o].data[e].y[0],y2:s[o].data[e].y[1],rangeName:t};s[o].data[e].rangeName=t;var r=c.findIndex(function(e){return e.x===i});c[r].y.push(n),a.push(n.y1),l.push(n.y2)},u=0;u<s[o].data.length;u++)r(u)}return{start:a,end:l,rangeUniques:c}}},{key:"handleCandleStickDataFormat",value:function(e,t,i){var n=[],r=[],s=[],o=[],a="Please provide [Open, High, Low and Close] values in valid format. Read more https://apexcharts.com/docs/series/#candlestick";if("array"===e){if(!Array.isArray(t[i].data[0][1])&&5!==t[i].data[0].length||Array.isArray(t[i].data[0][1])&&4!==t[i].data[0][1].length)throw new Error(a);if(5===t[i].data[0].length)for(var l=0;l<t[i].data.length;l++)n.push(t[i].data[l][1]),r.push(t[i].data[l][2]),s.push(t[i].data[l][3]),o.push(t[i].data[l][4]);else for(var c=0;c<t[i].data.length;c++)n.push(t[i].data[c][1][0]),r.push(t[i].data[c][1][1]),s.push(t[i].data[c][1][2]),o.push(t[i].data[c][1][3])}else if("xy"===e){if(4!==t[i].data[0].y.length)throw new Error(a);for(var u=0;u<t[i].data.length;u++)n.push(t[i].data[u].y[0]),r.push(t[i].data[u].y[1]),s.push(t[i].data[u].y[2]),o.push(t[i].data[u].y[3])}return{o:n,h:r,l:s,c:o}}},{key:"parseDataAxisCharts",value:function(e){for(var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.ctx,n=this.w.config,r=this.w.globals,s=new w(i),o=n.labels.length>0?n.labels.slice():n.xaxis.categories.slice(),a=function(){for(var e=0;e<o.length;e++)if("string"==typeof o[e]){if(!s.isValidDate(o[e]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");t.twoDSeriesX.push(s.parseDate(o[e]))}else t.twoDSeriesX.push(o[e])},l=0;l<e.length;l++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===e[l].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if("rangeBar"!==n.chart.type&&"rangeArea"!==n.chart.type&&"rangeBar"!==e[l].type&&"rangeArea"!==e[l].type||(r.isRangeData=!0,this.handleRangeData(e,l)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,l):this.isFormatXY()&&this.handleFormatXY(e,l),"candlestick"!==n.chart.type&&"candlestick"!==e[l].type||this.handleCandleStickData(e,l),r.series.push(this.twoDSeries),r.labels.push(this.twoDSeriesX),r.seriesX.push(this.twoDSeriesX),l!==this.activeSeriesIndex||this.fallbackToCategory||(r.isXNumeric=!0);else{"datetime"===n.xaxis.type?(r.isXNumeric=!0,a(),r.seriesX.push(this.twoDSeriesX)):"numeric"===n.xaxis.type&&(r.isXNumeric=!0,o.length>0&&(this.twoDSeriesX=o,r.seriesX.push(this.twoDSeriesX))),r.labels.push(this.twoDSeriesX);var c=e[l].data.map(function(e){return E.parseNumber(e)});r.series.push(c)}r.seriesZ.push(this.threeDSeries),void 0!==e[l].name?r.seriesNames.push(e[l].name):r.seriesNames.push("series-"+parseInt(l+1,10)),void 0!==e[l].color?r.seriesColors.push(e[l].color):r.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,i=this.w.config;t.series=e.slice(),t.seriesNames=i.labels.slice();for(var n=0;n<t.series.length;n++)void 0===t.seriesNames[n]&&t.seriesNames.push("series-"+(n+1));return this.w}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,i=this.w.globals;if(t.xaxis.categories.length>0)i.labels=t.xaxis.categories;else if(t.labels.length>0)i.labels=t.labels.slice();else if(this.fallbackToCategory){if(i.labels=i.labels[0],i.seriesRangeBarTimeline.length&&(i.seriesRangeBarTimeline.map(function(e){e.forEach(function(e){i.labels.indexOf(e.x)<0&&e.x&&i.labels.push(e.x)})}),i.labels=i.labels.filter(function(e,t,i){return i.indexOf(e)===t})),t.xaxis.convertedCatToNumeric)new u(t).convertCatToNumericXaxis(t,this.ctx,i.seriesX[0]),this._generateExternalLabels(e)}else this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,i=this.w.config,n=[];if(t.axisCharts){if(t.series.length>0)for(var r=0;r<t.series[t.maxValsInArrayIndex].length;r++)n.push(r+1);t.seriesX=[];for(var s=0;s<e.length;s++)t.seriesX.push(n);t.isXNumeric=!0}if(0===n.length){n=t.axisCharts?[]:t.series.map(function(e,t){return t+1});for(var o=0;o<e.length;o++)t.seriesX.push(n)}t.labels=n,i.xaxis.convertedCatToNumeric&&(t.categoryLabels=n.map(function(e){return i.xaxis.labels.formatter(e)})),t.noLabelsProvided=!0}},{key:"parseData",value:function(e){var t=this.w,i=t.config,n=t.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),n.axisCharts?this.parseDataAxisCharts(e):this.parseDataNonAxisCharts(e),this.coreUtils.getLargestSeries(),"bar"===i.chart.type&&i.chart.stacked){var r=new f(this.ctx);n.series=r.setNullSeriesToZeroValues(n.series)}this.coreUtils.getSeriesTotals(),n.axisCharts&&this.coreUtils.getStackedSeriesTotals(),this.coreUtils.getPercentSeries(),n.dataFormatXNumeric||n.isXNumeric&&("numeric"!==i.xaxis.type||0!==i.labels.length||0!==i.xaxis.categories.length)||this.handleExternalLabelsData(e);for(var s=this.coreUtils.getCategoryLabels(n.labels),o=0;o<s.length;o++)if(Array.isArray(s[o])){n.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var i=this,n=this.w;n.globals.ignoreYAxisIndexes=n.globals.collapsedSeries.map(function(e,t){if(i.w.globals.isMultipleYAxis&&!n.config.chart.stacked)return e.index})}}]),t}(),v=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return o(t,[{key:"xLabelFormat",value:function(e,t,i){var n=this.w;if("datetime"===n.config.xaxis.type&&void 0===n.config.xaxis.labels.formatter&&void 0===n.config.tooltip.x.formatter){var r=new w(this.ctx);return r.formatDate(r.getDate(t),n.config.tooltip.x.format)}return e(t,i)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map(function(e){return e}):e}},{key:"defaultYFormatter",value:function(e,t,i){var n=this.w;return E.isNumber(e)&&(e=0!==n.globals.yValueDecimal?e.toFixed(void 0!==t.decimalsInFloat?t.decimalsInFloat:n.globals.yValueDecimal):n.globals.maxYArr[i]-n.globals.minYArr[i]<10?e.toFixed(1):e.toFixed(0)),e}},{key:"setLabelFormatters",value:function(){var n=this,r=this.w;return r.globals.xLabelFormatter=function(e){return n.defaultGeneralFormatter(e)},r.globals.xaxisTooltipFormatter=function(e){return n.defaultGeneralFormatter(e)},r.globals.ttKeyFormatter=function(e){return n.defaultGeneralFormatter(e)},r.globals.ttZFormatter=function(e){return e},r.globals.legendFormatter=function(e){return n.defaultGeneralFormatter(e)},void 0!==r.config.xaxis.labels.formatter?r.globals.xLabelFormatter=r.config.xaxis.labels.formatter:r.globals.xLabelFormatter=function(e){if(E.isNumber(e)){if(!r.config.xaxis.convertedCatToNumeric&&"numeric"===r.config.xaxis.type&&r.globals.dataPoints<50)return e.toFixed(1);if(r.globals.isBarHorizontal)if(r.globals.maxY-r.globals.minYArr<4)return e.toFixed(1);return e.toFixed(0)}return e},"function"==typeof r.config.tooltip.x.formatter?r.globals.ttKeyFormatter=r.config.tooltip.x.formatter:r.globals.ttKeyFormatter=r.globals.xLabelFormatter,"function"==typeof r.config.xaxis.tooltip.formatter&&(r.globals.xaxisTooltipFormatter=r.config.xaxis.tooltip.formatter),(Array.isArray(r.config.tooltip.y)||void 0!==r.config.tooltip.y.formatter)&&(r.globals.ttVal=r.config.tooltip.y),void 0!==r.config.tooltip.z.formatter&&(r.globals.ttZFormatter=r.config.tooltip.z.formatter),void 0!==r.config.legend.formatter&&(r.globals.legendFormatter=r.config.legend.formatter),r.config.yaxis.forEach(function(t,i){void 0!==t.labels.formatter?r.globals.yLabelFormatters[i]=t.labels.formatter:r.globals.yLabelFormatters[i]=function(e){return r.globals.xyCharts?Array.isArray(e)?e.map(function(e){return n.defaultYFormatter(e,t,i)}):n.defaultYFormatter(e,t,i):e}}),r.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce(function(e,t){return e.length>t.length?e:t},0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),t}(),g=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"getLabel",value:function(e,i,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",o=this.w,a=void 0===e[n]?"":e[n],l=a,c=o.globals.xLabelFormatter,u=o.config.xaxis.labels.formatter,d=!1,h=new v(this.ctx),f=a;l=h.xLabelFormat(c,a,f),void 0!==u&&(l=u(a,e[n],n));var p=function(e){var t=null;return i.forEach(function(e){"month"===e.unit?t="year":"day"===e.unit?t="month":"hour"===e.unit?t="day":"minute"===e.unit&&(t="hour")}),t===e};i.length>0?(d=p(i[n].unit),t=i[n].position,l=i[n].value):"datetime"===o.config.xaxis.type&&void 0===u&&(l=""),void 0===l&&(l=""),l=Array.isArray(l)?l:l.toString();var m=new P(this.ctx),g={};return g=o.globals.rotateXLabels?m.getTextRects(l,parseInt(s,10),null,"rotate(".concat(o.config.xaxis.labels.rotate," 0 0)"),!1):m.getTextRects(l,parseInt(s,10)),!Array.isArray(l)&&(0===l.indexOf("NaN")||0===l.toLowerCase().indexOf("invalid")||l.toLowerCase().indexOf("infinity")>=0||r.indexOf(l)>=0&&!o.config.xaxis.labels.showDuplicates&&"hours"!==this.ctx.timeScale.tickInterval&&"minutes"!==this.ctx.timeScale.tickInterval)&&(l=""),{x:t,text:l,textRect:g,isBold:d}}},{key:"checkForOverflowingLabels",value:function(e,t,i,n,r){var s=this.w;if(0===e&&s.globals.skipFirstTimelinelabel&&(t.text=""),e===i-1&&s.globals.skipLastTimelinelabel&&(t.text=""),s.config.xaxis.labels.hideOverlappingLabels&&n.length>0){var o=r[r.length-1];t.x<o.textRect.width/(s.globals.rotateXLabels?Math.abs(s.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var i=this.w;return i.config.yaxis[e]&&i.config.yaxis[e].reversed&&t.reverse(),t}},{key:"isYAxisHidden",value:function(e){var t=this.w,i=new L(this.ctx);return!t.config.yaxis[e].show||!t.config.yaxis[e].showForNullSeries&&i.isSeriesNull(e)&&-1===t.globals.collapsedSeriesIndices.indexOf(e)}},{key:"drawYAxisTicks",value:function(e,t,i,n,r,s,o){var a=this.w,l=new P(this.ctx),c=a.globals.translateY;if(n.show&&t>0){!0===a.config.yaxis[r].opposite&&(e+=n.width);for(var u=t;u>=0;u--){var d=c+t/10+a.config.yaxis[r].labels.offsetY-1;a.globals.isBarHorizontal&&(d=s*u),"heatmap"===a.config.chart.type&&(d+=s/2);var h=l.drawLine(e+i.offsetX-n.width+n.offsetX,d+n.offsetY,e+i.offsetX+n.offsetX,d+n.offsetY,n.color);o.add(h),c+=s}}}}]),t}(),r=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"fixSvgStringForIe11",value:function(e){if(!E.isIE11())return e;var t=0,i=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,function(e){return 2===++t?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"':e});return i=(i=i.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(){var e=this.w.globals.dom.Paper.svg();return this.fixSvgStringForIe11(e)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),i=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(n,function(e){e.setAttribute("width",0)}),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),i&&i[0]&&(i[0].setAttribute("y",-100),i[0].setAttribute("y1",-100),i[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(){var u=this;return new Promise(function(i){var e=u.w;u.cleanup();var n=document.createElement("canvas");n.width=e.globals.svgWidth,n.height=parseInt(e.globals.dom.elWrap.style.height,10);var t="transparent"===e.config.chart.background?"#fff":e.config.chart.background,r=n.getContext("2d");r.fillStyle=t,r.fillRect(0,0,n.width,n.height);var s=u.getSvgString();if(window.canvg&&E.isIE11()){var o=window.canvg.Canvg.fromString(r,s,{ignoreClear:!0,ignoreDimensions:!0});o.start();var a=n.msToBlob();o.stop(),i({blob:a})}else{var l="data:image/svg+xml,"+encodeURIComponent(s),c=new Image;c.crossOrigin="anonymous",c.onload=function(){if(r.drawImage(c,0,0),n.msToBlob){var e=n.msToBlob();i({blob:e})}else{var t=n.toDataURL("image/png");i({imgURI:t})}},c.src=l}})}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),null,".svg")}},{key:"exportToPng",value:function(){var n=this;this.dataURI().then(function(e){var t=e.imgURI,i=e.blob;i?navigator.msSaveOrOpenBlob(i,n.w.globals.chartID+".png"):n.triggerDownload(t,null,".png")})}},{key:"exportToCSV",value:function(e){var r=this,o=e.series,a=e.columnDelimiter,t=e.lineDelimiter,i=void 0===t?"\n":t,l=this.w,c=[],u=[],n="data:text/csv;charset=utf-8,",d=new Q(this.ctx),s=new g(this.ctx),h=function(e){var t="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var i=l.globals.yLabelFormatters[0],n=new f(r.ctx).getActiveConfigSeriesIndex();t=i(l.globals.labels[e],{seriesIndex:n,dataPointIndex:e,w:l})}else t=s.getLabel(l.globals.labels,l.globals.timescaleLabels,0,e).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?t=l.config.xaxis.categories[e]:l.config.labels.length&&(t=l.config.labels[e]))}else t=l.config.labels[e];return t};c.push(l.config.chart.toolbar.export.csv.headerCategory),o.map(function(e,t){l.globals.axisCharts&&c.push(e.name?e.name:"series-".concat(t))}),l.globals.axisCharts||(c.push(l.config.chart.toolbar.export.csv.headerValue),u.push(c.join(a))),o.map(function(e,t){l.globals.axisCharts?function(e,t){if(c.length&&0===t&&u.push(c.join(a)),e.data&&e.data.length)for(var i=0;i<e.data.length;i++){c=[];var n=h(i);if(n||(d.isFormatXY()?n=o[t].data[i].x:d.isFormat2DArray()&&(n=o[t].data[i]?o[t].data[i][0]:"")),0===t){c.push((s=n,"datetime"===l.config.xaxis.type&&String(s).length>=10?l.config.chart.toolbar.export.csv.dateFormatter(n):n));for(var r=0;r<l.globals.series.length;r++)c.push(l.globals.series[r][i])}("candlestick"===l.config.chart.type||e.type&&"candlestick"===e.type)&&(c.pop(),c.push(l.globals.seriesCandleO[t][i]),c.push(l.globals.seriesCandleH[t][i]),c.push(l.globals.seriesCandleL[t][i]),c.push(l.globals.seriesCandleC[t][i])),"rangeBar"===l.config.chart.type&&(c.pop(),c.push(l.globals.seriesRangeStart[t][i]),c.push(l.globals.seriesRangeEnd[t][i])),c.length&&u.push(c.join(a))}var s}(e,t):((c=[]).push(l.globals.labels[t]),c.push(l.globals.series[t]),u.push(c.join(a)))}),n+=u.join(i),this.triggerDownload(encodeURI(n),l.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,i){var n=document.createElement("a");n.href=e,n.download=(t||this.w.globals.chartID)+i,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}]),t}(),h=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.axesUtils=new g(e),this.xaxisLabels=t.globals.labels.slice(),t.globals.timescaleLabels.length>0&&!t.globals.isBarHorizontal&&(this.xaxisLabels=t.globals.timescaleLabels.slice()),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===t.config.xaxis.position?this.offY=0:this.offY=t.globals.gridHeight+1,this.offY=this.offY+t.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===t.config.chart.type&&t.config.plotOptions.bar.horizontal,this.xaxisFontSize=t.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=t.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=t.config.xaxis.labels.style.colors,this.xaxisBorderWidth=t.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=t.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=t.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=t.config.xaxis.axisBorder.height,this.yaxis=t.config.yaxis[0]}return o(i,[{key:"drawXaxis",value:function(){var o,a=this,l=this.w,c=new P(this.ctx),e=c.group({class:"apexcharts-xaxis",transform:"translate(".concat(l.config.xaxis.offsetX,", ").concat(l.config.xaxis.offsetY,")")}),u=c.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(l.globals.translateXAxisX,", ").concat(l.globals.translateXAxisY,")")});e.add(u);for(var d=l.globals.padHorizontal,h=[],t=0;t<this.xaxisLabels.length;t++)h.push(this.xaxisLabels[t]);var f=h.length;if(l.globals.isXNumeric){var i=f>1?f-1:f;o=l.globals.gridWidth/i,d=d+o/2+l.config.xaxis.labels.offsetX}else o=l.globals.gridWidth/h.length,d=d+o+l.config.xaxis.labels.offsetX;if(l.config.xaxis.labels.show)for(var n=function(e){var t=d-o/2+l.config.xaxis.labels.offsetX;0===e&&1===f&&o/2===d&&1===l.globals.dataPoints&&(t=l.globals.gridWidth/2);var i=a.axesUtils.getLabel(h,l.globals.timescaleLabels,t,e,a.drawnLabels,a.xaxisFontSize),n=28;l.globals.rotateXLabels&&(n=22);(i=a.axesUtils.checkForOverflowingLabels(e,i,f,a.drawnLabels,a.drawnLabelsRects)).text&&l.globals.xaxisLabelsCount++;var r=c.drawText({x:i.x,y:a.offY+l.config.xaxis.labels.offsetY+n-("top"===l.config.xaxis.position?l.globals.xAxisHeight+l.config.xaxis.axisTicks.height-2:0),text:i.text,textAnchor:"middle",fontWeight:i.isBold?600:l.config.xaxis.labels.style.fontWeight,fontSize:a.xaxisFontSize,fontFamily:a.xaxisFontFamily,foreColor:Array.isArray(a.xaxisForeColors)?l.config.xaxis.convertedCatToNumeric?a.xaxisForeColors[l.globals.minX+e-1]:a.xaxisForeColors[e]:a.xaxisForeColors,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+l.config.xaxis.labels.style.cssClass});u.add(r);var s=document.createElementNS(l.globals.SVGNS,"title");s.textContent=Array.isArray(i.text)?i.text.join(" "):i.text,r.node.appendChild(s),""!==i.text&&(a.drawnLabels.push(i.text),a.drawnLabelsRects.push(i)),d+=o},r=0;r<=f-1;r++)n(r);if(void 0!==l.config.xaxis.title.text){var s=c.group({class:"apexcharts-xaxis-title"}),p=c.drawText({x:l.globals.gridWidth/2+l.config.xaxis.title.offsetX,y:this.offY-parseFloat(this.xaxisFontSize)+l.globals.xAxisLabelsHeight+l.config.xaxis.title.offsetY,text:l.config.xaxis.title.text,textAnchor:"middle",fontSize:l.config.xaxis.title.style.fontSize,fontFamily:l.config.xaxis.title.style.fontFamily,fontWeight:l.config.xaxis.title.style.fontWeight,foreColor:l.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+l.config.xaxis.title.style.cssClass});s.add(p),e.add(s)}if(l.config.xaxis.axisBorder.show){var m=l.globals.barPadForNumericAxis,g=c.drawLine(l.globals.padHorizontal+l.config.xaxis.axisBorder.offsetX-m,this.offY,this.xaxisBorderWidth+m,this.offY,l.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);e.add(g)}return e}},{key:"drawXaxisInversed",value:function(e){var t,i,n=this.w,r=new P(this.ctx),s=n.config.yaxis[0].opposite?n.globals.translateYAxisX[e]:0,o=r.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),a=r.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+s+", 0)"});o.add(a);var l=[];if(n.config.yaxis[e].show)for(var c=0;c<this.xaxisLabels.length;c++)l.push(this.xaxisLabels[c]);i=-(t=n.globals.gridHeight/l.length)/2.2;var u=n.globals.yLabelFormatters[0],d=n.config.yaxis[0].labels;if(d.show)for(var h=0;h<=l.length-1;h++){var f=void 0===l[h]?"":l[h];f=u(f,{seriesIndex:e,dataPointIndex:h,w:n});var p=0;Array.isArray(f)&&(p=f.length/2*parseInt(d.style.fontSize,10));var m=r.drawText({x:d.offsetX-15,y:i+t+d.offsetY-p,text:f,textAnchor:this.yaxis.opposite?"start":"end",foreColor:Array.isArray(d.style.colors)?d.style.colors[h]:d.style.colors,fontSize:d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+d.style.cssClass});a.add(m);var g=document.createElementNS(n.globals.SVGNS,"title");if(g.textContent=f.text,m.node.appendChild(g),0!==n.config.yaxis[e].labels.rotate){var v=r.rotateAroundCenter(m.node);m.node.setAttribute("transform","rotate(".concat(n.config.yaxis[e].labels.rotate," 0 ").concat(v.y,")"))}i+=t}if(void 0!==n.config.yaxis[0].title.text){var y=r.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+s+", 0)"}),b=r.drawText({x:0,y:n.globals.gridHeight/2,text:n.config.yaxis[0].title.text,textAnchor:"middle",foreColor:n.config.yaxis[0].title.style.color,fontSize:n.config.yaxis[0].title.style.fontSize,fontWeight:n.config.yaxis[0].title.style.fontWeight,fontFamily:n.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[0].title.style.cssClass});y.add(b),o.add(y)}var _=0;this.isCategoryBarHorizontal&&n.config.yaxis[0].opposite&&(_=n.globals.gridWidth);var x=n.config.xaxis.axisBorder;if(x.show){var w=r.drawLine(n.globals.padHorizontal+x.offsetX+_,1+x.offsetY,n.globals.padHorizontal+x.offsetX+_,n.globals.gridHeight+x.offsetY,x.color,0);o.add(w)}return n.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(_,l.length,n.config.yaxis[0].axisBorder,n.config.yaxis[0].axisTicks,0,t,o),o}},{key:"drawXaxisTicks",value:function(e,t){var i=this.w,n=e;if(!(e<0||e-2>i.globals.gridWidth)){var r=this.offY+i.config.xaxis.axisTicks.offsetY,s=r+i.config.xaxis.axisTicks.height;if("top"===i.config.xaxis.position&&(s=r-i.config.xaxis.axisTicks.height),i.config.xaxis.axisTicks.show){var o=new P(this.ctx).drawLine(e+i.config.xaxis.axisTicks.offsetX,r+i.config.xaxis.offsetY,n+i.config.xaxis.axisTicks.offsetX,s+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);t.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],i=this.xaxisLabels.length,n=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<i;r++)n=this.xaxisLabels[r].position,t.push(n);else for(var s=i,o=0;o<s;o++){var a=s;e.globals.isXNumeric&&"bar"!==e.config.chart.type&&(a-=1),n+=e.globals.gridWidth/a,t.push(n)}return t}},{key:"xAxisLabelCorrections",value:function(){var n=this.w,r=new P(this.ctx),e=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),s=n.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text"),t=n.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),i=n.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(n.globals.rotateXLabels||n.config.xaxis.labels.rotateAlways)for(var o=0;o<s.length;o++){var a=r.rotateAroundCenter(s[o]);a.y=a.y-1,a.x=a.x+1,s[o].setAttribute("transform","rotate(".concat(n.config.xaxis.labels.rotate," ").concat(a.x," ").concat(a.y,")")),s[o].setAttribute("text-anchor","end");e.setAttribute("transform","translate(0, ".concat(-10,")"));var l=s[o].childNodes;n.config.xaxis.labels.trim&&Array.prototype.forEach.call(l,function(e){r.placeTextWithEllipsis(e,e.textContent,n.config.xaxis.labels.maxHeight-("bottom"===n.config.legend.position?20:10))})}else!function(){for(var t=n.globals.gridWidth/(n.globals.labels.length+1),e=0;e<s.length;e++){var i=s[e].childNodes;n.config.xaxis.labels.trim&&"datetime"!==n.config.xaxis.type&&Array.prototype.forEach.call(i,function(e){r.placeTextWithEllipsis(e,e.textContent,t)})}}();if(t.length>0){var c=t[t.length-1].getBBox(),u=t[0].getBBox();c.x<-20&&t[t.length-1].parentNode.removeChild(t[t.length-1]),u.x+u.width>n.globals.gridWidth&&!n.globals.isBarHorizontal&&t[0].parentNode.removeChild(t[0]);for(var d=0;d<i.length;d++)r.placeTextWithEllipsis(i[d],i[d].textContent,n.config.yaxis[0].labels.maxWidth-2*parseFloat(n.config.yaxis[0].title.style.fontSize)-20)}}}]),i}(),ee=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new g(e),this.isTimelineBar="datetime"===t.config.xaxis.type&&t.globals.seriesRangeBarTimeline.length,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return o(i,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,i=new P(this.ctx);null===e&&(e=i.group({class:"apexcharts-grid"}));var n=i.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=i.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(n),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,i=new P(this.ctx),n=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var r=0;e.config.stroke.width.forEach(function(e){r=Math.max(r,e)}),n=r}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid));var s=e.config.chart.type,o=0,a=0;("bar"===s||"rangeBar"===s||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(o=e.config.grid.padding.left,a=e.config.grid.padding.right,t.barPadForNumericAxis>o&&(o=t.barPadForNumericAxis,a=t.barPadForNumericAxis)),t.dom.elGridRect=i.drawRect(-n/2-o-2,-n/2,t.gridWidth+n+a+o+4,t.gridHeight+n,0,"#fff"),new L(this).getLargestMarkerSize();var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=i.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,i=e.x1,n=e.y1,r=e.x2,s=e.y2,o=e.xCount,a=e.parent,l=this.w;0===t&&l.globals.skipFirstTimelinelabel||t===o-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type||(l.config.grid.xaxis.lines.show&&this._drawGridLine({x1:i,y1:n,x2:r,y2:s,parent:a}),new h(this.ctx).drawXaxisTicks(i,this.elg))}},{key:"_drawGridLine",value:function(e){var t=e.x1,i=e.y1,n=e.x2,r=e.y2,s=e.parent,o=this.w,a=s.node.classList.contains("apexcharts-gridlines-horizontal"),l=o.config.grid.strokeDashArray,c=o.globals.barPadForNumericAxis,u=new P(this).drawLine(t-(a?c:0),i,n+(a?c:0),r,o.config.grid.borderColor,l);u.node.classList.add("apexcharts-gridline"),s.add(u)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,i=e.x1,n=e.y1,r=e.x2,s=e.y2,o=e.type,a=this.w,l=new P(this.ctx),c=a.globals.barPadForNumericAxis;if("column"!==o||"datetime"!==a.config.xaxis.type){var u=a.config.grid[o].colors[t],d=l.drawRect(i-("row"===o?c:0),n,r+("row"===o?2*c:0),s,0,u,a.config.grid[o].opacity);this.elg.add(d),d.attr("clip-path","url(#gridRectMask".concat(a.globals.cuid,")")),d.node.classList.add("apexcharts-grid-".concat(o))}}},{key:"_drawXYLines",value:function(e){var a=this,l=e.xCount,t=e.tickAmount,c=this.w;if(c.config.grid.xaxis.lines.show||c.config.xaxis.axisTicks.show){var i=c.globals.padHorizontal,n=c.globals.gridHeight;c.globals.timescaleLabels.length?function(e){for(var t=e.xC,i=e.x1,n=e.y1,r=e.x2,s=e.y2,o=0;o<t;o++)i=a.xaxisLabels[o].position,r=a.xaxisLabels[o].position,a._drawGridLines({i:o,x1:i,y1:n,x2:r,y2:s,xCount:l,parent:a.elgridLinesV})}({xC:l,x1:i,y1:0,x2:void 0,y2:n}):(c.globals.isXNumeric&&(l=c.globals.xAxisScale.result.length),c.config.xaxis.convertedCatToNumeric&&(l=c.globals.xaxisLabelsCount),function(e){for(var t=e.xC,i=e.x1,n=e.y1,r=e.x2,s=e.y2,o=0;o<t+(c.globals.isXNumeric?0:1);o++)0===o&&1===t&&1===c.globals.dataPoints&&(r=i=c.globals.gridWidth/2),a._drawGridLines({i:o,x1:i,y1:n,x2:r,y2:s,xCount:l,parent:a.elgridLinesV}),r=i+=c.globals.gridWidth/(c.globals.isXNumeric?t-1:t)}({xC:l,x1:i,y1:0,x2:void 0,y2:n}))}if(c.config.grid.yaxis.lines.show){var r=0,s=0,o=c.globals.gridWidth,u=t+1;this.isTimelineBar&&(u=c.globals.labels.length);for(var d=0;d<u+(this.isTimelineBar?1:0);d++)this._drawGridLine({x1:0,y1:r,x2:o,y2:s,parent:this.elgridLinesH}),s=r+=c.globals.gridHeight/(this.isTimelineBar?u:t)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,i=this.w;if(i.config.grid.xaxis.lines.show||i.config.xaxis.axisTicks.show)for(var n,r=i.globals.padHorizontal,s=i.globals.gridHeight,o=0;o<t+1;o++)i.config.grid.xaxis.lines.show&&this._drawGridLine({x1:r,y1:0,x2:n,y2:s,parent:this.elgridLinesV}),new h(this.ctx).drawXaxisTicks(r,this.elg),n=r=r+i.globals.gridWidth/t+.3;if(i.config.grid.yaxis.lines.show)for(var a=0,l=0,c=i.globals.gridWidth,u=0;u<i.globals.dataPoints+1;u++)this._drawGridLine({x1:0,y1:a,x2:c,y2:l,parent:this.elgridLinesH}),l=a+=i.globals.gridHeight/i.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=new P(this.ctx);this.elg=t.group({class:"apexcharts-grid"}),this.elgridLinesH=t.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=t.group({class:"apexcharts-gridlines-vertical"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide());for(var i,n=e.globals.yAxisScale.length?e.globals.yAxisScale[0].result.length-1:5,r=0;r<e.globals.series.length&&(void 0!==e.globals.yAxisScale[r]&&(n=e.globals.yAxisScale[r].result.length-1),!(n>2));r++);return!e.globals.isBarHorizontal||this.isTimelineBar?(i=this.xaxisLabels.length,this.isTimelineBar&&(n=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(i=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:i,tickAmount:n})):(i=n,n=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:i,tickAmount:n})),this.drawGridBands(i,n),{el:this.elg,xAxisTickWidth:e.globals.gridWidth/i}}},{key:"drawGridBands",value:function(e,t){var i=this.w;if(void 0!==i.config.grid.row.colors&&i.config.grid.row.colors.length>0)for(var n=0,r=i.globals.gridHeight/t,s=i.globals.gridWidth,o=0,a=0;o<t;o++,a++)a>=i.config.grid.row.colors.length&&(a=0),this._drawGridBandRect({c:a,x1:0,y1:n,x2:s,y2:r,type:"row"}),n+=i.globals.gridHeight/t;if(void 0!==i.config.grid.column.colors&&i.config.grid.column.colors.length>0)for(var l=i.globals.isBarHorizontal||"category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric?e:e-1,c=i.globals.padHorizontal,u=i.globals.padHorizontal+i.globals.gridWidth/l,d=i.globals.gridHeight,h=0,f=0;h<e;h++,f++)f>=i.config.grid.column.colors.length&&(f=0),this._drawGridBandRect({c:f,x1:c,y1:0,x2:u,y2:d,type:"column"}),c+=i.globals.gridWidth/l}}]),i}(),T=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"niceScale",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4?arguments[4]:void 0,s=this.w;if("dataPoints"===i&&(i=s.globals.dataPoints-1),e===Number.MIN_VALUE&&0===t||!E.isNumber(e)&&!E.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE){e=0,t=i;var o=this.linearScale(e,t,i);return o}e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var a=[],l=Math.abs(t-e);l<1&&r&&("candlestick"===s.config.chart.type||"candlestick"===s.config.series[n].type||s.globals.isRangeData)&&(t*=1.01);var c=i+1;c<2?c=2:c>2&&(c-=2);var u=l/c,d=Math.floor(E.log10(u)),h=Math.pow(10,d),f=Math.round(u/h);f<1&&(f=1);var p=f*h,m=p*Math.floor(e/p),g=p*Math.ceil(t/p),v=m;if(r&&l>2){for(;a.push(v),!((v+=p)>g););return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}var y=e;(a=[]).push(y);for(var b=Math.abs(t-e)/i,_=0;_<=i;_++)y+=b,a.push(y);return a[a.length-2]>=t&&a.pop(),{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"linearScale",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=Math.abs(t-e),r=n/i;i===Number.MAX_VALUE&&(i=10,r=1);for(var s=[],o=e;i>=0;)s.push(o),o+=r,i-=1;return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"logarithmicScale",value:function(e,r,s,t){(r<=0||r===Number.MIN_VALUE)&&(r=.01);for(var o=Math.log(r)/Math.log(10),a=Math.log(s)/Math.log(10),i=Math.abs(s-r)/t,n=[],l=r;t>=0;)n.push(l),l+=i,t-=1;var c=n.map(function(e,t){e<=0&&(e=.01);var i=(a-o)/(s-r),n=Math.pow(10,o+i*(e-o));return Math.round(n/E.roundToBase(n,10))*E.roundToBase(n,10)});return 0===c[0]&&(c[0]=1),{result:c,niceMin:c[0],niceMax:c[c.length-1]}}},{key:"setYScaleForIndex",value:function(e,t,i){var n=this.w.globals,r=this.w.config,s=n.isBarHorizontal?r.xaxis:r.yaxis[e];void 0===n.yAxisScale[e]&&(n.yAxisScale[e]=[]);var o=Math.abs(i-t);if(s.logarithmic&&o<=5&&(n.invalidLogScale=!0),s.logarithmic&&o>5)n.allSeriesCollapsed=!1,n.yAxisScale[e]=this.logarithmicScale(e,t,i,s.tickAmount?s.tickAmount:Math.floor(Math.log10(i)));else if(i!==-Number.MAX_VALUE&&E.isNumber(i))if(n.allSeriesCollapsed=!1,void 0===s.min&&void 0===s.max||s.forceNiceScale){var a=void 0===r.yaxis[e].max&&void 0===r.yaxis[e].min||r.yaxis[e].forceNiceScale;n.yAxisScale[e]=this.niceScale(t,i,s.tickAmount?s.tickAmount:o<5&&o>1?o+1:5,e,a)}else n.yAxisScale[e]=this.linearScale(t,i,s.tickAmount);else n.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var i=this.w,n=i.globals,r=i.config.xaxis,s=Math.abs(t-e);return t!==-Number.MAX_VALUE&&E.isNumber(t)?n.xAxisScale=this.niceScale(e,t,r.tickAmount?r.tickAmount:s<5&&s>1?s+1:5,0):n.xAxisScale=this.linearScale(0,5,5),n.xAxisScale}},{key:"setMultipleYScales",value:function(){var s=this,e=this.w.globals,o=this.w.config,a=e.minYArr.concat([]),l=e.maxYArr.concat([]),c=[];o.yaxis.forEach(function(i,n){var r=n;o.series.forEach(function(e,t){e.name===i.seriesName&&(r=t,n!==t?c.push({index:t,similarIndex:n,alreadyExists:!0}):c.push({index:t}))});var e=a[r],t=l[r];s.setYScaleForIndex(n,e,t)}),this.sameScaleInMultipleAxes(a,l,c)}},{key:"sameScaleInMultipleAxes",value:function(e,r,t){var a=this,l=this.w.config,c=this.w.globals,o=[];t.forEach(function(e){e.alreadyExists&&(void 0===o[e.index]&&(o[e.index]=[]),o[e.index].push(e.index),o[e.index].push(e.similarIndex))}),c.yAxisSameScaleIndices=o,o.forEach(function(r,s){o.forEach(function(e,t){var i,n;s!==t&&(i=r,n=e,i.filter(function(e){return-1!==n.indexOf(e)})).length>0&&(o[s]=o[s].concat(o[t]))})});var i=o.map(function(i){return i.filter(function(e,t){return i.indexOf(e)===t})}).map(function(e){return e.sort()});o=o.filter(function(e){return!!e});var s=i.slice(),n=s.map(function(e){return JSON.stringify(e)});s=s.filter(function(e,t){return n.indexOf(JSON.stringify(e))===t});var u=[],d=[];e.forEach(function(i,n){s.forEach(function(e,t){e.indexOf(n)>-1&&(void 0===u[t]&&(u[t]=[],d[t]=[]),u[t].push({key:n,value:i}),d[t].push({key:n,value:r[n]}))})});var h=Array.apply(null,Array(s.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(s.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach(function(e,i){e.forEach(function(e,t){h[i]=Math.min(e.value,h[i])})}),d.forEach(function(e,i){e.forEach(function(e,t){f[i]=Math.max(e.value,f[i])})}),e.forEach(function(e,o){d.forEach(function(i,n){var r=h[n],s=f[n];l.chart.stacked&&(s=0,i.forEach(function(e,t){e.value!==-Number.MAX_VALUE&&(s+=e.value),r!==Number.MIN_VALUE&&(r+=u[n][t].value)})),i.forEach(function(e,t){i[t].key===o&&(void 0!==l.yaxis[o].min&&(r="function"==typeof l.yaxis[o].min?l.yaxis[o].min(c.minY):l.yaxis[o].min),void 0!==l.yaxis[o].max&&(s="function"==typeof l.yaxis[o].max?l.yaxis[o].max(c.maxY):l.yaxis[o].max),a.setYScaleForIndex(o,r,s))})})})}},{key:"autoScaleY",value:function(e,u,d){e||(e=this);var h=e.w;if(h.globals.isMultipleYAxis||h.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),u;var f=h.globals.seriesX[0],p=h.config.chart.stacked;return u.forEach(function(n,e){for(var r=0,t=0;t<f.length;t++)if(f[t]>=d.xaxis.min){r=t;break}var o,a,s=h.globals.minYArr[e],l=h.globals.maxYArr[e],c=h.globals.stackedSeriesTotals;h.globals.series.forEach(function(i,e){var t=i[r];p?(t=c[r],o=a=t,c.forEach(function(e,t){f[t]<=d.xaxis.max&&f[t]>=d.xaxis.min&&(e>a&&null!==e&&(a=e),i[t]<o&&null!==i[t]&&(o=i[t]))})):(o=a=t,i.forEach(function(i,n){if(f[n]<=d.xaxis.max&&f[n]>=d.xaxis.min){var r=i,s=i;h.globals.series.forEach(function(e,t){null!==i&&(r=Math.min(e[n],r),s=Math.max(e[n],s))}),s>a&&null!==s&&(a=s),r<o&&null!==r&&(o=r)}})),void 0===o&&void 0===a&&(o=s,a=l),(a*=a<0?.9:1.1)<0&&a<l&&(a=l),(o*=o<0?1.1:.9)<0&&o>s&&(o=s),u.length>1?(u[e].min=void 0===n.min?o:n.min,u[e].max=void 0===n.max?a:n.max):(u[0].min=void 0===n.min?o:n.min,u[0].max=void 0===n.max?a:n.max)})}),u}}]),t}(),te=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.scales=new T(e)}return o(t,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w.config,s=this.w.globals,o=-Number.MAX_VALUE,a=Number.MIN_VALUE;null===n&&(n=e+1);var l=s.series,c=l,u=l;"candlestick"===r.chart.type?(c=s.seriesCandleL,u=s.seriesCandleH):s.isRangeData&&(c=s.seriesRangeStart,u=s.seriesRangeEnd);for(var d=e;d<n;d++){s.dataPoints=Math.max(s.dataPoints,l[d].length);for(var h=0;h<s.series[d].length;h++){var f=l[d][h];null!==f&&E.isNumber(f)?(o=Math.max(o,u[d][h]),t=Math.min(t,c[d][h]),i=Math.max(i,c[d][h]),"candlestick"===this.w.config.chart.type&&(o=Math.max(o,s.seriesCandleO[d][h]),o=Math.max(o,s.seriesCandleH[d][h]),o=Math.max(o,s.seriesCandleL[d][h]),i=o=Math.max(o,s.seriesCandleC[d][h])),E.isFloat(f)&&(f=E.noExponents(f),s.yValueDecimal=Math.max(s.yValueDecimal,f.toString().split(".")[1].length)),a>c[d][h]&&c[d][h]<0&&(a=c[d][h])):s.hasNullValues=!0}}return"rangeBar"===r.chart.type&&s.seriesRangeStart.length&&s.isBarHorizontal&&"datetime"===r.xaxis.type&&(a=t),"bar"===r.chart.type&&(a<0&&o<0&&(o=0),a===Number.MIN_VALUE&&(a=0)),{minY:a,maxY:o,lowestY:t,highestY:i}}},{key:"setYRange",value:function(){var i=this.w.globals,t=this.w.config;i.maxY=-Number.MAX_VALUE,i.minY=Number.MIN_VALUE;var e=Number.MAX_VALUE;if(i.isMultipleYAxis)for(var n=0;n<i.series.length;n++){var r=this.getMinYMaxY(n,e,null,n+1);i.minYArr.push(r.minY),i.maxYArr.push(r.maxY),e=r.lowestY}var s=this.getMinYMaxY(0,e,null,i.series.length);if(i.minY=s.minY,i.maxY=s.maxY,e=s.lowestY,t.chart.stacked&&this._setStackedMinMax(),("line"===t.chart.type||"area"===t.chart.type||"candlestick"===t.chart.type||"rangeBar"===t.chart.type&&!i.isBarHorizontal)&&i.minY===Number.MIN_VALUE&&e!==-Number.MAX_VALUE&&e!==i.maxY){var o=i.maxY-e;e>=0&&e<=10&&(o=0),i.minY=e-5*o/100,e>0&&i.minY<0&&(i.minY=0),i.maxY=i.maxY+5*o/100}if(t.yaxis.forEach(function(e,t){void 0!==e.max&&("number"==typeof e.max?i.maxYArr[t]=e.max:"function"==typeof e.max&&(i.maxYArr[t]=e.max(i.maxY)),i.maxY=i.maxYArr[t]),void 0!==e.min&&("number"==typeof e.min?i.minYArr[t]=e.min:"function"==typeof e.min&&(i.minYArr[t]=e.min(i.minY)),i.minY=i.minYArr[t])}),i.isBarHorizontal)["min","max"].forEach(function(e){void 0!==t.xaxis[e]&&"number"==typeof t.xaxis[e]&&("min"===e?i.minY=t.xaxis[e]:i.maxY=t.xaxis[e])});return i.isMultipleYAxis?(this.scales.setMultipleYScales(),i.minY=e,i.yAxisScale.forEach(function(e,t){i.minYArr[t]=e.niceMin,i.maxYArr[t]=e.niceMax})):(this.scales.setYScaleForIndex(0,i.minY,i.maxY),i.minY=i.yAxisScale[0].niceMin,i.maxY=i.yAxisScale[0].niceMax,i.minYArr[0]=i.yAxisScale[0].niceMin,i.maxYArr[0]=i.yAxisScale[0].niceMax),{minY:i.minY,maxY:i.maxY,minYArr:i.minYArr,maxYArr:i.maxYArr}}},{key:"setXRange",value:function(){var i=this.w.globals,e=this.w.config,t="numeric"===e.xaxis.type||"datetime"===e.xaxis.type||"category"===e.xaxis.type&&!i.noLabelsProvided||i.noLabelsProvided||i.isXNumeric;if(i.isXNumeric&&function(){for(var e=0;e<i.series.length;e++)if(i.labels[e])for(var t=0;t<i.labels[e].length;t++)null!==i.labels[e][t]&&E.isNumber(i.labels[e][t])&&(i.maxX=Math.max(i.maxX,i.labels[e][t]),i.initialMaxX=Math.max(i.maxX,i.labels[e][t]),i.minX=Math.min(i.minX,i.labels[e][t]),i.initialMinX=Math.min(i.minX,i.labels[e][t]))}(),i.noLabelsProvided&&0===e.xaxis.categories.length&&(i.maxX=i.labels[i.labels.length-1],i.initialMaxX=i.labels[i.labels.length-1],i.minX=1,i.initialMinX=1),i.isXNumeric||i.noLabelsProvided||i.dataFormatXNumeric){var n;if(void 0===e.xaxis.tickAmount?(n=Math.round(i.svgWidth/150),"numeric"===e.xaxis.type&&i.dataPoints<30&&(n=i.dataPoints-1),n>i.dataPoints&&0!==i.dataPoints&&(n=i.dataPoints-1)):"dataPoints"===e.xaxis.tickAmount?(i.series.length>1&&(n=i.series[i.maxValsInArrayIndex].length-1),i.isXNumeric&&(n=i.maxX-i.minX-1)):n=e.xaxis.tickAmount,i.xTickAmount=n,void 0!==e.xaxis.max&&"number"==typeof e.xaxis.max&&(i.maxX=e.xaxis.max),void 0!==e.xaxis.min&&"number"==typeof e.xaxis.min&&(i.minX=e.xaxis.min),void 0!==e.xaxis.range&&(i.minX=i.maxX-e.xaxis.range),i.minX!==Number.MAX_VALUE&&i.maxX!==-Number.MAX_VALUE)if(e.xaxis.convertedCatToNumeric&&!i.dataFormatXNumeric){for(var r=[],s=i.minX-1;s<i.maxX;s++)r.push(s+1);i.xAxisScale={result:r,niceMin:r[0],niceMax:r[r.length-1]}}else i.xAxisScale=this.scales.setXScale(i.minX,i.maxX);else i.xAxisScale=this.scales.linearScale(1,n,n),i.noLabelsProvided&&i.labels.length>0&&(i.xAxisScale=this.scales.linearScale(1,i.labels.length,n-1),i.seriesX=i.labels.slice());t&&(i.labels=i.xAxisScale.result.slice())}return i.isBarHorizontal&&i.labels.length&&(i.xTickAmount=i.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:i.minX,maxX:i.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t<e.series.length;t++)if(void 0!==e.seriesZ[t])for(var i=0;i<e.seriesZ[t].length;i++)null!==e.seriesZ[t][i]&&E.isNumber(e.seriesZ[t][i])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][i]),e.minZ=Math.min(e.minZ,e.seriesZ[t][i]))}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var i=new w(this.ctx);if("datetime"===t.xaxis.type){var n=i.getDate(e.minX);n.setUTCDate(n.getDate()-2),e.minX=new Date(n).getTime();var r=i.getDate(e.maxX);r.setUTCDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else("numeric"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var r=this.w.globals;r.isXNumeric&&r.seriesX.forEach(function(e,n){1===e.length&&e.push(r.seriesX[r.maxValsInArrayIndex][r.seriesX[r.maxValsInArrayIndex].length-1]);var t=e.slice();t.sort(function(e,t){return e-t}),t.forEach(function(e,t){if(t>0){var i=e-r.seriesX[n][t-1];i>0&&(r.minXDiff=Math.min(i,r.minXDiff))}}),1===r.dataPoints&&r.minXDiff===Number.MAX_VALUE&&(r.minXDiff=.5)})}},{key:"_setStackedMinMax",value:function(){var e=this.w.globals,t=[],i=[];if(e.series.length)for(var n=0;n<e.series[e.maxValsInArrayIndex].length;n++)for(var r=0,s=0,o=0;o<e.series.length;o++)null!==e.series[o][n]&&E.isNumber(e.series[o][n])&&(e.series[o][n]>0?r=r+parseFloat(e.series[o][n])+1e-4:s+=parseFloat(e.series[o][n])),o===e.series.length-1&&(t.push(r),i.push(s));for(var a=0;a<t.length;a++)e.maxY=Math.max(e.maxY,t[a]),e.minY=Math.min(e.minY,i[a])}}]),t}(),ie=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisFontSize=t.config.xaxis.labels.style.fontSize,this.axisFontFamily=t.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=t.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal="bar"===t.config.chart.type&&t.config.plotOptions.bar.horizontal,this.xAxisoffX=0,"bottom"===t.config.xaxis.position&&(this.xAxisoffX=t.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new g(e)}return o(i,[{key:"drawYaxis",value:function(o){var a=this.w,l=new P(this.ctx),c=a.config.yaxis[o].labels.style,u=c.fontSize,d=c.fontFamily,h=c.fontWeight,e=l.group({class:"apexcharts-yaxis",rel:o,transform:"translate("+a.globals.translateYAxisX[o]+", 0)"});if(this.axesUtils.isYAxisHidden(o))return e;var f=l.group({class:"apexcharts-yaxis-texts-g"});e.add(f);var p=a.globals.yAxisScale[o].result.length-1,m=a.globals.gridHeight/p,g=a.globals.translateY,v=a.globals.yLabelFormatters[o],y=a.globals.yAxisScale[o].result.slice();y=this.axesUtils.checkForReversedLabels(o,y);var b="";if(a.config.yaxis[o].labels.show)for(var t=function(e){var t=y[e];t=v(t,e);var i=a.config.yaxis[o].labels.padding;a.config.yaxis[o].opposite&&0!==a.config.yaxis.length&&(i*=-1);var n=l.drawText({x:i,y:g+p/10+a.config.yaxis[o].labels.offsetY+1,text:t,textAnchor:a.config.yaxis[o].opposite?"start":"end",fontSize:u,fontFamily:d,fontWeight:h,foreColor:Array.isArray(c.colors)?c.colors[e]:c.colors,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+c.cssClass});if(e===p&&(b=n),f.add(n),0!==a.config.yaxis[o].labels.rotate){var r=l.rotateAroundCenter(b.node),s=l.rotateAroundCenter(n.node);n.node.setAttribute("transform","rotate(".concat(a.config.yaxis[o].labels.rotate," ").concat(r.x," ").concat(s.y,")"))}g+=m},i=p;i>=0;i--)t(i);if(void 0!==a.config.yaxis[o].title.text){var n=l.group({class:"apexcharts-yaxis-title"}),r=0;a.config.yaxis[o].opposite&&(r=a.globals.translateYAxisX[o]);var s=l.drawText({x:r,y:a.globals.gridHeight/2+a.globals.translateY+a.config.yaxis[o].title.offsetY,text:a.config.yaxis[o].title.text,textAnchor:"end",foreColor:a.config.yaxis[o].title.style.color,fontSize:a.config.yaxis[o].title.style.fontSize,fontWeight:a.config.yaxis[o].title.style.fontWeight,fontFamily:a.config.yaxis[o].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+a.config.yaxis[o].title.style.cssClass});n.add(s),e.add(n)}var _=a.config.yaxis[o].axisBorder,x=31+_.offsetX;if(a.config.yaxis[o].opposite&&(x=-31-_.offsetX),_.show){var w=l.drawLine(x,a.globals.translateY+_.offsetY-2,x,a.globals.gridHeight+a.globals.translateY+_.offsetY+2,_.color,0,_.width);e.add(w)}return a.config.yaxis[o].axisTicks.show&&this.axesUtils.drawYAxisTicks(x,p,_,a.config.yaxis[o].axisTicks,o,m,e),e}},{key:"drawYaxisInversed",value:function(e){var t=this.w,i=new P(this.ctx),n=i.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});n.add(r);var s=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/s+.1,a=o+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),s=(c=u.slice()).length),c=this.axesUtils.checkForReversedLabels(e,c);var d=u.length;if(t.config.xaxis.labels.show)for(var h=d?0:s;d?h<d:h>=0;d?h++:h--){var f=c[h];f=l(f,h);var p=t.globals.gridWidth+t.globals.padHorizontal-(a-o+t.config.xaxis.labels.offsetX);if(u.length){var m=this.axesUtils.getLabel(c,u,p,h,this.drawnLabels,this.xaxisFontSize);p=m.x,f=m.text,this.drawnLabels.push(m.text),0===h&&t.globals.skipFirstTimelinelabel&&(f=""),h===c.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var g=i.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});r.add(g),g.tspan(f);var v=document.createElementNS(t.globals.SVGNS,"title");v.textContent=f,g.node.appendChild(v),a+=o}return this.inversedYAxisTitleText(n),this.inversedYAxisBorder(n),n}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,i=new P(this.ctx),n=t.config.xaxis.axisBorder;if(n.show){var r=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(r-=15);var s=i.drawLine(t.globals.padHorizontal+r+n.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,n.color,0,n.height);e.add(s)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,i=new P(this.ctx);if(void 0!==t.config.xaxis.title.text){var n=i.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=i.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});n.add(r),e.add(n)}}},{key:"yAxisTitleRotate",value:function(e,t){var i=this.w,n=new P(this.ctx),r={width:0,height:0},s={width:0,height:0},o=i.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==o&&(r=o.getBoundingClientRect());var a=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==a&&(s=a.getBoundingClientRect()),null!==a){var l=this.xPaddingForYAxisTitle(e,r,s,t);a.setAttribute("x",l.xPos-(t?10:0))}if(null!==a){var c=n.rotateAroundCenter(a);a.setAttribute("transform","rotate(".concat(t?-1*i.config.yaxis[e].title.rotate:i.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,i,n){var r=this.w,s=0,o=0,a=10;return void 0===r.config.yaxis[e].title.text||e<0?{xPos:o,padd:0}:(n?(o=t.width+r.config.yaxis[e].title.offsetX+i.width/2+a/2,0===(s+=1)&&(o-=a/2)):(o=-1*t.width+r.config.yaxis[e].title.offsetX+a/2+i.width/2,r.globals.isBarHorizontal&&(a=25,o=-1*t.width-r.config.yaxis[e].title.offsetX-a)),{xPos:o,padd:a})}},{key:"setYAxisXPosition",value:function(r,s){var o=this.w,a=0,l=0,c=18,u=1;o.config.yaxis.length>1&&(this.multipleYs=!0),o.config.yaxis.map(function(e,t){var i=o.globals.ignoreYAxisIndexes.indexOf(t)>-1||!e.show||e.floating||0===r[t].width,n=r[t].width+s[t].width;e.opposite?o.globals.isBarHorizontal?(l=o.globals.gridWidth+o.globals.translateX-1,o.globals.translateYAxisX[t]=l-e.labels.offsetX):(l=o.globals.gridWidth+o.globals.translateX+u,i||(u=u+n+20),o.globals.translateYAxisX[t]=l-e.labels.offsetX+20):(a=o.globals.translateX-c,i||(c=c+n+20),o.globals.translateYAxisX[t]=a+e.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var o=this.w,e=o.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(e=E.listToArray(e)).forEach(function(e,t){var i=o.config.yaxis[t];if(void 0!==i.labels.align){var n=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-texts-g")),r=o.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-label"));r=E.listToArray(r);var s=n.getBoundingClientRect();"left"===i.labels.align?(r.forEach(function(e,t){e.setAttribute("text-anchor","start")}),i.opposite||n.setAttribute("transform","translate(-".concat(s.width,", 0)"))):"center"===i.labels.align?(r.forEach(function(e,t){e.setAttribute("text-anchor","middle")}),n.setAttribute("transform","translate(".concat(s.width/2*(i.opposite?1:-1),", 0)"))):"right"===i.labels.align&&(r.forEach(function(e,t){e.setAttribute("text-anchor","end")}),i.opposite&&n.setAttribute("transform","translate(".concat(s.width,", 0)")))}})}}]),i}(),ne=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.documentEvent=E.bind(this.documentEvent,this)}return o(t,[{key:"addEventListener",value:function(e,t){var i=this.w;i.globals.events.hasOwnProperty(e)?i.globals.events[e].push(t):i.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){var n=i.globals.events[e].indexOf(t);-1!==n&&i.globals.events[e].splice(n,1)}}},{key:"fireEvent",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var n=i.globals.events[e],r=n.length,s=0;s<r;s++)n[s].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var t=this,i=this.w,n=this.ctx,r=i.globals.dom.baseEl.querySelector(i.globals.chartClass);this.ctx.eventList.forEach(function(e){r.addEventListener(e,function(e){var t=Object.assign({},i,{seriesIndex:i.globals.capturedSeriesIndex,dataPointIndex:i.globals.capturedDataPointIndex});"mousemove"===e.type||"touchmove"===e.type?"function"==typeof i.config.chart.events.mouseMove&&i.config.chart.events.mouseMove(e,n,t):("mouseup"===e.type&&1===e.which||"touchend"===e.type)&&("function"==typeof i.config.chart.events.click&&i.config.chart.events.click(e,n,t),n.ctx.events.fireEvent("click",[e,n,t]))},{capture:!1,passive:!0})}),this.ctx.eventList.forEach(function(e){i.globals.dom.baseEl.addEventListener(e,t.documentEvent)}),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,i=e.target.className;if("click"===e.type){var n=t.globals.dom.baseEl.querySelector(".apexcharts-menu");n&&n.classList.contains("apexcharts-menu-open")&&"apexcharts-menu-icon"!==i&&n.classList.remove("apexcharts-menu-open")}t.globals.clientX="touchmove"===e.type?e.touches[0].clientX:e.clientX,t.globals.clientY="touchmove"===e.type?e.touches[0].clientY:e.clientY}}]),t}(),re=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"setCurrentLocaleValues",value:function(t){var e=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(e=this.w.config.chart.locales.concat(window.Apex.chart.locales));var i=e.filter(function(e){return e.name===t})[0];if(!i)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var n=E.extend(V,i);this.w.globals.locale=n.options}}]),t}(),se=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"drawAxis",value:function(e,t){var i,n,r=this.w.globals,s=this.w.config,o=new h(this.ctx),a=new ie(this.ctx);r.axisCharts&&"radar"!==e&&(r.isBarHorizontal?(n=a.drawYaxisInversed(0),i=o.drawXaxisInversed(0),r.dom.elGraphical.add(i),r.dom.elGraphical.add(n)):(i=o.drawXaxis(),r.dom.elGraphical.add(i),s.yaxis.map(function(e,t){-1===r.ignoreYAxisIndexes.indexOf(t)&&(n=a.drawYaxis(t),r.dom.Paper.add(n))})));s.yaxis.map(function(e,t){-1===r.ignoreYAxisIndexes.indexOf(t)&&a.yAxisTitleRotate(t,e.opposite)})}}]),t}(),oe=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new P(this.ctx),i=new j(this.ctx),n=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,s=e.config.xaxis.crosshairs.fill.type,o=n.colorFrom,a=n.colorTo,l=n.opacityFrom,c=n.opacityTo,u=n.stops,d=r.enabled,h=r.left,f=r.top,p=r.blur,m=r.color,g=r.opacity,v=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===s&&(v=t.drawGradient("vertical",o,a,l,c,null,u,null));var y=t.drawRect();1===e.config.xaxis.crosshairs.width&&(y=t.drawLine()),y.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:e.globals.gridHeight,width:E.isNumber(e.config.xaxis.crosshairs.width)?e.config.xaxis.crosshairs.width:0,height:e.globals.gridHeight,fill:v,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(y=i.dropShadow(y,{left:h,top:f,blur:p,color:m,opacity:g})),e.globals.dom.elGraphical.add(y)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new P(this.ctx),i=e.config.yaxis[0].crosshairs,n=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-n,0,e.globals.gridWidth+n,0,i.stroke.color,i.stroke.dashArray,i.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var s=t.drawLine(-n,0,e.globals.gridWidth+n,0,i.stroke.color,0,0);s.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(s)}}]),t}(),ae=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"checkResponsiveConfig",value:function(e){var s=this,o=this.w,t=o.config;if(0!==t.responsive.length){var a=t.responsive.slice();a.sort(function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0}).reverse();var l=new d({}),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a[0].breakpoint,i=window.innerWidth>0?window.innerWidth:screen.width;if(i>t){var n=L.extendArrayProps(l,o.globals.initialConfig,o);e=E.extend(n,e),e=E.extend(o.config,e),s.overrideResponsiveOptions(e)}else for(var r=0;r<a.length;r++)i<a[r].breakpoint&&(e=L.extendArrayProps(l,a[r].options,o),e=E.extend(o.config,e),s.overrideResponsiveOptions(e))};if(e){var n=L.extendArrayProps(l,e,o);n=E.extend(o.config,n),i(n=E.extend(n,e))}else i({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new d(e).init({responsiveOverride:!0});this.w.config=t}}]),t}(),le=function(){function i(e){s(this,i),this.ctx=e,this.colors=[],this.w=e.w;var t=this.w;this.isColorFn=!1,this.isBarDistributed=t.config.plotOptions.bar.distributed&&("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)}return o(i,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var n=this,r=this.w,e=new E;if(r.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(r.config.theme.mode)),void 0===r.config.colors?r.globals.colors=this.predefined():(r.globals.colors=r.config.colors,Array.isArray(r.config.colors)&&r.config.colors.length>0&&"function"==typeof r.config.colors[0]&&(r.globals.colors=r.config.series.map(function(e,t){var i=r.config.colors[t];return i||(i=r.config.colors[0]),"function"==typeof i?(n.isColorFn=!0,i({value:r.globals.axisCharts?r.globals.series[t][0]?r.globals.series[t][0]:0:r.globals.series[t],seriesIndex:t,dataPointIndex:t,w:r})):i}))),r.globals.seriesColors.map(function(e,t){e&&(r.globals.colors[t]=e)}),r.config.theme.monochrome.enabled){var t=[],i=r.globals.series.length;this.isBarDistributed&&(i=r.globals.series[0].length*r.globals.series.length);for(var s=r.config.theme.monochrome.color,o=1/(i/r.config.theme.monochrome.shadeIntensity),a=r.config.theme.monochrome.shadeTo,l=0,c=0;c<i;c++){var u=void 0;"dark"===a?(u=e.shadeColor(-1*l,s),l+=o):(u=e.shadeColor(l,s),l+=o),t.push(u)}r.globals.colors=t.slice()}var d=r.globals.colors.slice();this.pushExtraColors(r.globals.colors);["fill","stroke"].forEach(function(e){void 0===r.config[e].colors?r.globals[e].colors=n.isColorFn?r.config.colors:d:r.globals[e].colors=r.config[e].colors.slice(),n.pushExtraColors(r.globals[e].colors)}),void 0===r.config.dataLabels.style.colors?r.globals.dataLabels.style.colors=d:r.globals.dataLabels.style.colors=r.config.dataLabels.style.colors.slice(),this.pushExtraColors(r.globals.dataLabels.style.colors,50),void 0===r.config.plotOptions.radar.polygons.fill.colors?r.globals.radarPolygons.fill.colors=["dark"===r.config.theme.mode?"#424242":"#fff"]:r.globals.radarPolygons.fill.colors=r.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(r.globals.radarPolygons.fill.colors,20),void 0===r.config.markers.colors?r.globals.markers.colors=d:r.globals.markers.colors=r.config.markers.colors.slice(),this.pushExtraColors(r.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.w,r=t||n.globals.series.length;if(null===i&&(i=this.isBarDistributed||"heatmap"===n.config.chart.type&&n.config.plotOptions.heatmap.colorScale.inverse),i&&(r=n.globals.series[0].length*n.globals.series.length),e.length<r)for(var s=r-e.length,o=0;o<s;o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode||"light",i=e.theme.palette?e.theme.palette:"dark"===t?"palette4":"palette1",n=e.chart.foreColor?e.chart.foreColor:"dark"===t?"#f6f7f8":"#373d3f";return e.tooltip.theme=t,e.chart.foreColor=n,e.theme.palette=i,e}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"];break;default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]}return this.colors}}]),i}(),ce=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,i="title"===e?t.config.title:t.config.subtitle,n=t.globals.svgWidth/2,r=i.offsetY,s="middle";if("left"===i.align?(n=10,s="start"):"right"===i.align&&(n=t.globals.svgWidth-10,s="end"),n+=i.offsetX,r=r+parseInt(i.style.fontSize,10)+i.margin/2,void 0!==i.text){var o=new P(this.ctx).drawText({x:n,y:r,text:i.text,textAnchor:s,fontSize:i.style.fontSize,fontFamily:i.style.fontFamily,fontWeight:i.style.fontWeight,foreColor:i.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),t}(),ue=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return o(t,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,i=0,n=0,r="title"===e?t.config.title.floating:t.config.subtitle.floating,s=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(null!==s&&!r){var o=s.getBoundingClientRect();i=o.width,n=t.globals.axisCharts?o.height+5:o.height}return{width:i,height:n}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.baseEl.querySelector(".apexcharts-legend"),i=Object.assign({},E.getBoundingClientRect(t));return null!==t&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:i.x,y:i.y,height:i.height,width:0===i.height?0:i.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},"left"!==e.config.legend.position&&"right"!==e.config.legend.position||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var i=e;if(this.w.globals.isMultiLineX){var n=t.map(function(e,t){return Array.isArray(e)?e.length:1}),r=Math.max.apply(Math,k(n));i=t[n.indexOf(r)]}return i}}]),t}(),de=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return o(t,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,i=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===i.length&&(i=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var n=this.getxAxisTimeScaleLabelsCoords();e={width:n.width,height:n.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,s=E.getLargestStringFromArr(i),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(s,i);t.globals.isBarHorizontal&&(o=s=t.globals.yAxisScale[0].result.reduce(function(e,t){return e.length>t.length?e:t},0));var a=new v(this.dCtx.ctx),l=s;s=a.xLabelFormat(r,s,l),o=a.xLabelFormat(r,o,l),(t.config.xaxis.convertedCatToNumeric&&void 0===s||""===String(s).trim())&&(o=s="1");var c=new P(this.dCtx.ctx),u=c.getTextRects(s,t.config.xaxis.labels.style.fontSize),d=u;if(s!==o&&(d=c.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*i.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var h=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=h(s),s!==o&&(d=h(o)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,i=0;if(void 0!==e.config.xaxis.title.text){var n=new P(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=n.width,i=n.height}return{width:t,height:i}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var i=this.dCtx.timescaleLabels.map(function(e){return e.value}),n=i.reduce(function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t},0);return 1.05*(e=new P(this.dCtx.ctx).getTextRects(n,t.config.xaxis.labels.style.fontSize)).width*i.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var r=this,s=this.w,o=s.globals,i=s.config,a=i.xaxis.type,l=e.width;o.skipLastTimelinelabel=!1,o.skipFirstTimelinelabel=!1;var n=s.config.yaxis[0].opposite&&s.globals.isBarHorizontal,c=function(e,t){(function(e){return-1!==o.collapsedSeriesIndices.indexOf(e)})(t)||("datetime"!==a&&r.dCtx.gridPad.left<l/2-r.dCtx.yAxisWidthLeft&&!o.rotateXLabels&&!i.xaxis.labels.trim&&(r.dCtx.xPadLeft=l/2+1),function(e){if(r.dCtx.timescaleLabels&&r.dCtx.timescaleLabels.length){var t=r.dCtx.timescaleLabels[0],i=r.dCtx.timescaleLabels[r.dCtx.timescaleLabels.length-1].position+l/1.75-r.dCtx.yAxisWidthRight,n=t.position-l/1.75+r.dCtx.yAxisWidthLeft;i>o.gridWidth&&(o.skipLastTimelinelabel=!0),n<0&&(o.skipFirstTimelinelabel=!0)}else"datetime"===a?r.dCtx.gridPad.right<l&&!o.rotateXLabels&&(o.skipLastTimelinelabel=!0):"datetime"!==a&&r.dCtx.gridPad.right<l/2-r.dCtx.yAxisWidthRight&&!o.rotateXLabels&&("between"!==s.config.xaxis.tickPlacement||s.globals.isBarHorizontal)&&(r.dCtx.xPadRight=l/2+1)}())};i.yaxis.forEach(function(e,t){n?(r.dCtx.gridPad.left<l&&(r.dCtx.xPadLeft=l/2+1),r.dCtx.xPadRight=l/2+1):c(0,t)})}}]),t}(),he=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return o(t,[{key:"getyAxisLabelsCoords",value:function(){var d=this,h=this.w,f=[],p=10,m=new g(this.dCtx.ctx);return h.config.yaxis.map(function(e,t){var i=h.globals.yAxisScale[t];if(!m.isYAxisHidden(t)&&e.labels.show&&i.result.length){var n=h.globals.yLabelFormatters[t],r=String(i.niceMin).length>String(i.niceMax).length?i.niceMin:i.niceMax,s=n(r,{seriesIndex:t,dataPointIndex:-1,w:h}),o=s;if(void 0!==s&&0!==s.length||(s=r),h.globals.isBarHorizontal){p=0;var a=h.globals.labels.slice();s=n(s=E.getLargestStringFromArr(a),{seriesIndex:t,dataPointIndex:-1,w:h}),o=d.dCtx.dimHelpers.getLargestStringFromMultiArr(s,a)}var l=new P(d.dCtx.ctx),c=l.getTextRects(s,e.labels.style.fontSize),u=c;s!==o&&(u=l.getTextRects(o,e.labels.style.fontSize)),f.push({width:(u.width>c.width?u.width:c.width)+p,height:u.height>c.height?u.height:c.height})}else f.push({width:0,height:0})}),f}},{key:"getyAxisTitleCoords",value:function(){var n=this,e=this.w,r=[];return e.config.yaxis.map(function(e,t){if(e.show&&void 0!==e.title.text){var i=new P(n.dCtx.ctx).getTextRects(e.title.text,e.title.style.fontSize,e.title.style.fontFamily,"rotate(-90 0 0)",!1);r.push({width:i.width,height:i.height})}else r.push({width:0,height:0})}),r}},{key:"getTotalYAxisWidth",value:function(){var r=this.w,s=0,o=0,a=0,l=r.globals.yAxisScale.length>1?10:0,c=new g(this.dCtx.ctx),i=function(e,t){var i=r.config.yaxis[t].floating,n=0;e.width>0&&!i?(n=e.width+l,function(e){return r.globals.ignoreYAxisIndexes.indexOf(e)>-1}(t)&&(n=n-e.width-l)):n=i||c.isYAxisHidden(t)?0:5,r.config.yaxis[t].opposite?a+=n:o+=n,s+=n};return r.globals.yLabelsCoords.map(function(e,t){i(e,t)}),r.globals.yTitleCoords.map(function(e,t){i(e,t)}),r.globals.isBarHorizontal&&(s=r.globals.yLabelsCoords[0].width+r.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=o,this.dCtx.yAxisWidthRight=a,s}}]),t}(),fe=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return o(t,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var i=t.config.chart.type,n=0,r="bar"===i||"rangeBar"===i?t.config.series.length:1;if(t.globals.comboBarCount>0&&(r=t.globals.comboBarCount),t.globals.collapsedSeries.forEach(function(e){"bar"!==e.type&&"rangeBar"!==e.type||(r-=1)}),t.config.chart.stacked&&(r=1),("bar"===i||"rangeBar"===i||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&r>0){var s,o,a=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);a<=3&&(a=t.globals.dataPoints),s=a/e,t.globals.minXDiff&&t.globals.minXDiff/s>0&&(o=t.globals.minXDiff/s),o>e/2&&(o/=2),(n=o/r*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(n=1),n=n/(r>1?1:1.5)+5,t.globals.barPadForNumericAxis=n}return n}},{key:"gridPadFortitleSubtitle",value:function(){var t=this,i=this.w,e=i.globals,n=this.dCtx.isSparkline||!i.globals.axisCharts?0:10;["title","subtitle"].forEach(function(e){void 0!==i.config[e].text?n+=i.config[e].margin:n+=t.dCtx.isSparkline||!i.globals.axisCharts?0:5}),!i.config.legend.show||"bottom"!==i.config.legend.position||i.config.legend.floating||i.globals.axisCharts||(n+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),s=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");e.gridHeight=e.gridHeight-r.height-s.height-n,e.translateY=e.translateY+r.height+s.height+n}},{key:"setGridXPosForDualYAxis",value:function(i,n){var r=this.w,s=new g(this.dCtx.ctx);r.config.yaxis.map(function(e,t){-1!==r.globals.ignoreYAxisIndexes.indexOf(t)||e.floating||s.isYAxisHidden(t)||(e.opposite&&(r.globals.translateX=r.globals.translateX-(n[t].width+i[t].width)-parseInt(r.config.yaxis[t].labels.style.fontSize,10)/1.2-12),r.globals.translateX<2&&(r.globals.translateX=2))})}}]),t}(),p=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new ue(this),this.dimYAxis=new he(this),this.dimXAxis=new de(this),this.dimGrid=new fe(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return o(t,[{key:"plotCoords",value:function(){var e=this.w.globals;this.lgRect=this.dimHelpers.getLegendsRect(),e.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),e.gridHeight=e.gridHeight-this.gridPad.top-this.gridPad.bottom,e.gridWidth=e.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var t=this.dimGrid.gridPadForColumnsInNumericAxis(e.gridWidth);e.gridWidth=e.gridWidth-2*t,e.translateX=e.translateX+this.gridPad.left+this.xPadLeft+(t>0?t+4:0),e.translateY=e.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,i=this.w,t=i.globals,n=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();i.globals.yLabelsCoords=[],i.globals.yTitleCoords=[],i.config.yaxis.map(function(e,t){i.globals.yLabelsCoords.push({width:n[t].width,index:t}),i.globals.yTitleCoords.push({width:r[t].width,index:t})}),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var s=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(s,o),t.translateXAxisY=i.globals.rotateXLabels?this.xAxisHeight/8:-4,t.translateXAxisX=i.globals.rotateXLabels&&i.globals.isXNumeric&&i.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,i.globals.isBarHorizontal&&(t.rotateXLabels=!1,t.translateXAxisY=parseInt(i.config.xaxis.labels.style.fontSize,10)/1.5*-1),t.translateXAxisY=t.translateXAxisY+i.config.xaxis.labels.offsetY,t.translateXAxisX=t.translateXAxisX+i.config.xaxis.labels.offsetX;var a=this.yAxisWidth,l=this.xAxisHeight;t.xAxisLabelsHeight=this.xAxisHeight,t.xAxisLabelsWidth=this.xAxisWidth,t.xAxisHeight=this.xAxisHeight;var c=10;("radar"===i.config.chart.type||this.isSparkline)&&(a=0,l=t.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0},l=0,a=0,c=0),this.dimXAxis.additionalPaddingXLabels(s);var u=function(){t.translateX=a,t.gridHeight=t.svgHeight-e.lgRect.height-l-(e.isSparkline?0:i.globals.rotateXLabels?10:15),t.gridWidth=t.svgWidth-a};switch("top"===i.config.xaxis.position&&(c=t.xAxisHeight-i.config.xaxis.axisTicks.height-5),i.config.legend.position){case"bottom":t.translateY=c,u();break;case"top":t.translateY=this.lgRect.height+c,u();break;case"left":t.translateY=c,t.translateX=this.lgRect.width+a,t.gridHeight=t.svgHeight-l-12,t.gridWidth=t.svgWidth-this.lgRect.width-a;break;case"right":t.translateY=c,t.translateX=a,t.gridHeight=t.svgHeight-l-12,t.gridWidth=t.svgWidth-this.lgRect.width-a-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,n),new ie(this.ctx).setYAxisXPosition(n,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=e.config,n=0;e.config.legend.show&&!e.config.legend.floating&&(n=20);var r="pie"===i.chart.type||"polarArea"===i.chart.type||"donut"===i.chart.type?"pie":"radialBar",s=i.plotOptions[r].offsetY,o=i.plotOptions[r].offsetX;if(!i.legend.show||i.legend.floating)return t.gridHeight=t.svgHeight-i.grid.padding.left+i.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=s,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2);switch(i.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.gridHeight,t.translateY=s-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.gridHeight,t.translateY=this.lgRect.height+s+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-n,t.gridHeight="auto"!==i.chart.height?t.svgHeight:t.gridWidth,t.translateY=s,t.translateX=o+this.lgRect.width+n;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-n-5,t.gridHeight="auto"!==i.chart.height?t.svgHeight:t.gridWidth,t.translateY=s,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t){var i=this.w;this.xAxisHeight=(e.height+t.height)*(i.globals.isMultiLineX?1.2:i.globals.LINE_HEIGHT_RATIO)+(i.globals.rotateXLabels?22:10),this.xAxisWidth=e.width,this.xAxisHeight-t.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0);var n=0,r=0;i.config.yaxis.forEach(function(e){n+=e.labels.minWidth,r+=e.labels.maxWidth}),this.yAxisWidth<n&&(this.yAxisWidth=n),this.yAxisWidth>r&&(this.yAxisWidth=r)}}]),t}(),pe=function(){function t(e){s(this,t),this.w=e.w,this.lgCtx=e}return o(t,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode("\t\n    \t\n      .apexcharts-legend {\t\n        display: flex;\t\n        overflow: auto;\t\n        padding: 0 10px;\t\n      }\t\n      .apexcharts-legend.position-bottom, .apexcharts-legend.position-top {\t\n        flex-wrap: wrap\t\n      }\t\n      .apexcharts-legend.position-right, .apexcharts-legend.position-left {\t\n        flex-direction: column;\t\n        bottom: 0;\t\n      }\t\n      .apexcharts-legend.position-bottom.apexcharts-align-left, .apexcharts-legend.position-top.apexcharts-align-left, .apexcharts-legend.position-right, .apexcharts-legend.position-left {\t\n        justify-content: flex-start;\t\n      }\t\n      .apexcharts-legend.position-bottom.apexcharts-align-center, .apexcharts-legend.position-top.apexcharts-align-center {\t\n        justify-content: center;  \t\n      }\t\n      .apexcharts-legend.position-bottom.apexcharts-align-right, .apexcharts-legend.position-top.apexcharts-align-right {\t\n        justify-content: flex-end;\t\n      }\t\n      .apexcharts-legend-series {\t\n        cursor: pointer;\t\n        line-height: normal;\t\n      }\t\n      .apexcharts-legend.position-bottom .apexcharts-legend-series, .apexcharts-legend.position-top .apexcharts-legend-series{\t\n        display: flex;\t\n        align-items: center;\t\n      }\t\n      .apexcharts-legend-text {\t\n        position: relative;\t\n        font-size: 14px;\t\n      }\t\n      .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n        pointer-events: none;\t\n      }\t\n      .apexcharts-legend-marker {\t\n        position: relative;\t\n        display: inline-block;\t\n        cursor: pointer;\t\n        margin-right: 3px;\t\n        border-style: solid;\n      }\t\n      \t\n      .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n        display: inline-block;\t\n      }\t\n      .apexcharts-legend-series.apexcharts-no-click {\t\n        cursor: auto;\t\n      }\t\n      .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n        display: none !important;\t\n      }\t\n      .apexcharts-inactive-legend {\t\n        opacity: 0.45;\t\n      }");return e.appendChild(t),e}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject");var t=e.dom.elLegendForeign;t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("width",e.svgWidth),t.setAttribute("height",e.svgHeight),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.appendChild(e.dom.elLegendWrap),t.appendChild(this.getLegendStyles()),e.dom.Paper.node.insertBefore(t,e.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(e,t){var i=this,n=this.w;if(n.globals.axisCharts||"radialBar"===n.config.chart.type){n.globals.resized=!0;var r=null,s=null;if(n.globals.risingSeries=[],n.globals.axisCharts?(r=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),s=parseInt(r.getAttribute("data:realIndex"),10)):(r=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),s=parseInt(r.getAttribute("rel"),10)-1),t)[{cs:n.globals.collapsedSeries,csi:n.globals.collapsedSeriesIndices},{cs:n.globals.ancillaryCollapsedSeries,csi:n.globals.ancillaryCollapsedSeriesIndices}].forEach(function(e){i.riseCollapsedSeries(e.cs,e.csi,s)});else this.hideSeries({seriesEl:r,realIndex:s})}else{var o=n.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),a=n.config.chart.type;if("pie"===a||"polarArea"===a||"donut"===a){var l=n.config.plotOptions.pie.donut.labels;new P(this.lgCtx.ctx).pathMouseDown(o.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(o.members[0].node,l)}o.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,i=e.realIndex,n=this.w,r=E.clone(n.config.series);if(n.globals.axisCharts){var s=!1;if(n.config.yaxis[i]&&n.config.yaxis[i].show&&n.config.yaxis[i].showAlways&&(s=!0,n.globals.ancillaryCollapsedSeriesIndices.indexOf(i)<0&&(n.globals.ancillaryCollapsedSeries.push({index:i,data:r[i].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),n.globals.ancillaryCollapsedSeriesIndices.push(i))),!s){n.globals.collapsedSeries.push({index:i,data:r[i].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),n.globals.collapsedSeriesIndices.push(i);var o=n.globals.risingSeries.indexOf(i);n.globals.risingSeries.splice(o,1)}}else n.globals.collapsedSeries.push({index:i,data:r[i]}),n.globals.collapsedSeriesIndices.push(i);for(var a=t.childNodes,l=0;l<a.length;l++)a[l].classList.contains("apexcharts-series-markers-wrap")&&(a[l].classList.contains("apexcharts-hide")?a[l].classList.remove("apexcharts-hide"):a[l].classList.add("apexcharts-hide"));n.globals.allSeriesCollapsed=n.globals.collapsedSeries.length===n.config.series.length,r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,n.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,i){var n=this.w,r=E.clone(n.config.series);if(e.length>0){for(var s=0;s<e.length;s++)e[s].index===i&&(n.globals.axisCharts?(r[i].data=e[s].data.slice(),e.splice(s,1),t.splice(s,1),n.globals.risingSeries.push(i)):(r[i]=e[s].data,e.splice(s,1),t.splice(s,1),n.globals.risingSeries.push(i)));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,n.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(i){var n=this.w;return n.globals.axisCharts?i.forEach(function(e,t){n.globals.collapsedSeriesIndices.indexOf(t)>-1&&(i[t].data=[])}):i.forEach(function(e,t){n.globals.collapsedSeriesIndices.indexOf(t)>-1&&(i[t]=0)}),i}}]),t}(),me=function(){function i(e,t){s(this,i),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new pe(this)}return o(i,[{key:"init",value:function(){var e=this.w,t=e.globals,i=e.config;if((i.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&i.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),E.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===i.legend.position||"top"===i.legend.position?this.legendAlignHorizontal():"right"!==i.legend.position&&"left"!==i.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this.w,t=e.config.legend.fontFamily,i=e.globals.seriesNames,n=e.globals.colors.slice();if("heatmap"===e.config.chart.type){var r=e.config.plotOptions.heatmap.colorScale.ranges;i=r.map(function(e){return e.name?e.name:e.from+" - "+e.to}),n=r.map(function(e){return e.color})}else this.isBarsDistributed&&(i=e.globals.labels.slice());for(var s=e.globals.legendFormatter,o=e.config.legend.inverseOrder,a=o?i.length-1:0;o?a>=0:a<=i.length-1;o?a--:a++){var l=s(i[a],{seriesIndex:a,w:e}),c=!1,u=!1;if(e.globals.collapsedSeries.length>0)for(var d=0;d<e.globals.collapsedSeries.length;d++)e.globals.collapsedSeries[d].index===a&&(c=!0);if(e.globals.ancillaryCollapsedSeriesIndices.length>0)for(var h=0;h<e.globals.ancillaryCollapsedSeriesIndices.length;h++)e.globals.ancillaryCollapsedSeriesIndices[h]===a&&(u=!0);var f=document.createElement("span");f.classList.add("apexcharts-legend-marker");var p=e.config.legend.markers.offsetX,m=e.config.legend.markers.offsetY,g=e.config.legend.markers.height,v=e.config.legend.markers.width,y=e.config.legend.markers.strokeWidth,b=e.config.legend.markers.strokeColor,_=e.config.legend.markers.radius,x=f.style;x.background=n[a],x.color=n[a],e.config.legend.markers.fillColors&&e.config.legend.markers.fillColors[a]&&(x.background=e.config.legend.markers.fillColors[a]),void 0!==e.globals.seriesColors[a]&&(x.background=e.globals.seriesColors[a],x.color=e.globals.seriesColors[a]),x.height=Array.isArray(g)?parseFloat(g[a])+"px":parseFloat(g)+"px",x.width=Array.isArray(v)?parseFloat(v[a])+"px":parseFloat(v)+"px",x.left=Array.isArray(p)?p[a]:p,x.top=Array.isArray(m)?m[a]:m,x.borderWidth=Array.isArray(y)?y[a]:y,x.borderColor=Array.isArray(b)?b[a]:b,x.borderRadius=Array.isArray(_)?parseFloat(_[a])+"px":parseFloat(_)+"px",e.config.legend.markers.customHTML&&(Array.isArray(e.config.legend.markers.customHTML)?e.config.legend.markers.customHTML[a]&&(f.innerHTML=e.config.legend.markers.customHTML[a]()):f.innerHTML=e.config.legend.markers.customHTML()),P.setAttrs(f,{rel:a+1,"data:collapsed":c||u}),(c||u)&&f.classList.add("apexcharts-inactive-legend");var w=document.createElement("div"),k=document.createElement("span");k.classList.add("apexcharts-legend-text"),k.innerHTML=Array.isArray(l)?l.join(" "):l;var S=e.config.legend.labels.useSeriesColors?e.globals.colors[a]:e.config.legend.labels.colors;S||(S=e.config.chart.foreColor),k.style.color=S,k.style.fontSize=parseFloat(e.config.legend.fontSize)+"px",k.style.fontWeight=e.config.legend.fontWeight,k.style.fontFamily=t||e.config.chart.fontFamily,P.setAttrs(k,{rel:a+1,i:a,"data:default-text":encodeURIComponent(l),"data:collapsed":c||u}),w.appendChild(f),w.appendChild(k);var M=new L(this.ctx);if(!e.config.legend.showForZeroSeries)0===M.getSeriesTotalByIndex(a)&&M.seriesHaveSameValues(a)&&!M.isSeriesNull(a)&&-1===e.globals.collapsedSeriesIndices.indexOf(a)&&-1===e.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&w.classList.add("apexcharts-hidden-zero-series");e.config.legend.showForNullSeries||M.isSeriesNull(a)&&-1===e.globals.collapsedSeriesIndices.indexOf(a)&&-1===e.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&w.classList.add("apexcharts-hidden-null-series"),e.globals.dom.elLegendWrap.appendChild(w),e.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(e.config.legend.horizontalAlign)),e.globals.dom.elLegendWrap.classList.add("position-"+e.config.legend.position),w.classList.add("apexcharts-legend-series"),w.style.margin="".concat(e.config.legend.itemMargin.vertical,"px ").concat(e.config.legend.itemMargin.horizontal,"px"),e.globals.dom.elLegendWrap.style.width=e.config.legend.width?e.config.legend.width+"px":"",e.globals.dom.elLegendWrap.style.height=e.config.legend.height?e.config.legend.height+"px":"",P.setAttrs(w,{rel:a+1,"data:collapsed":c||u}),(c||u)&&w.classList.add("apexcharts-inactive-legend"),e.config.legend.onItemClick.toggleDataSeries||w.classList.add("apexcharts-no-click")}"heatmap"!==e.config.chart.type&&!this.isBarsDistributed&&e.config.legend.onItemClick.toggleDataSeries&&e.globals.dom.elWrap.addEventListener("click",this.onLegendClick,!0),e.config.legend.onItemHover.highlightDataSeries&&(e.globals.dom.elWrap.addEventListener("mousemove",this.onLegendHovered,!0),e.globals.dom.elWrap.addEventListener("mouseout",this.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var i=this.w,n=i.globals.dom.baseEl.querySelector(".apexcharts-legend"),r=n.getBoundingClientRect(),s=0,o=0;if("bottom"===i.config.legend.position)o+=i.globals.svgHeight-r.height/2;else if("top"===i.config.legend.position){var a=new p(this.ctx),l=a.dimHelpers.getTitleSubtitleCoords("title").height,c=a.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=o+(l>0?l-10:0)+(c>0?c-10:0)}n.style.position="absolute",s=s+e+i.config.legend.offsetX,o=o+t+i.config.legend.offsetY,n.style.left=s+"px",n.style.top=o+"px","bottom"===i.config.legend.position?(n.style.top="auto",n.style.bottom=5-i.config.legend.offsetY+"px"):"right"===i.config.legend.position&&(n.style.left="auto",n.style.right=25+i.config.legend.offsetX+"px");["width","height"].forEach(function(e){n.style[e]&&(n.style[e]=parseInt(i.config.legend[e],10)+"px")})}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var t=this.legendHelpers.getLegendBBox(),i=new p(this.ctx),n=i.dimHelpers.getTitleSubtitleCoords("title"),r=i.dimHelpers.getTitleSubtitleCoords("subtitle"),s=0;"bottom"===e.config.legend.position?s=-t.clwh/1.8:"top"===e.config.legend.position&&(s=n.height+r.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,s)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),i=0;"left"===e.config.legend.position&&(i=20),"right"===e.config.legend.position&&(i=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(i,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,i=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(i){var n=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,n,this.w]),new f(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&i&&new f(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){if(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker")){var t=parseInt(e.target.getAttribute("rel"),10)-1,i="true"===e.target.getAttribute("data:collapsed"),n=this.w.config.chart.events.legendClick;"function"==typeof n&&n(this.ctx,t,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,t,this.w]);var r=this.w.config.legend.markers.onClick;"function"==typeof r&&e.target.classList.contains("apexcharts-legend-marker")&&(r(this.ctx,t,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,t,this.w])),this.legendHelpers.toggleDataSeries(t,i)}}}]),i}(),ge=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar}return o(t,[{key:"createToolbar",value:function(){var r=this,s=this.w,e=function(){return document.createElement("div")},t=e();if(t.setAttribute("class","apexcharts-toolbar"),t.style.top=s.config.chart.toolbar.offsetY+"px",t.style.right=3-s.config.chart.toolbar.offsetX+"px",s.globals.dom.elWrap.appendChild(t),this.elZoom=e(),this.elZoomIn=e(),this.elZoomOut=e(),this.elPan=e(),this.elSelection=e(),this.elZoomReset=e(),this.elMenuIcon=e(),this.elMenu=e(),this.elCustomIcons=[],this.t=s.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var i=0;i<this.t.customIcons.length;i++)this.elCustomIcons.push(e());var o=[],n=function(e,t,i){var n=e.toLowerCase();r.t[n]&&s.config.chart.zoom.enabled&&o.push({el:t,icon:"string"==typeof r.t[n]?r.t[n]:i,title:r.localeValues[e],class:"apexcharts-".concat(n,"-icon")})};n("zoomIn",this.elZoomIn,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n'),n("zoomOut",this.elZoomOut,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n');var a=function(e){r.t[e]&&s.config.chart[e].enabled&&o.push({el:"zoom"===e?r.elZoom:r.elSelection,icon:"string"==typeof r.t[e]?r.t[e]:"zoom"===e?'<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n    <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>\n    <path d="M0 0h24v24H0V0z" fill="none"/>\n    <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>\n</svg>':'<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>\n</svg>',title:r.localeValues["zoom"===e?"selectionZoom":"selection"],class:s.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(e,"-icon")})};a("zoom"),a("selection"),this.t.pan&&s.config.chart.zoom.enabled&&o.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n    <defs>\n        <path d="M0 0h24v24H0z" id="a"/>\n    </defs>\n    <clipPath id="b">\n        <use overflow="visible" xlink:href="#a"/>\n    </clipPath>\n    <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>\n</svg>',title:this.localeValues.pan,class:s.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),n("reset",this.elZoomReset,'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n    <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n    <path d="M0 0h24v24H0z" fill="none"/>\n</svg>'),this.t.download&&o.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l<this.elCustomIcons.length;l++)o.push({el:this.elCustomIcons[l],icon:this.t.customIcons[l].icon,title:this.t.customIcons[l].title,index:this.t.customIcons[l].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[l].class});o.forEach(function(e,t){e.index&&E.moveIndexInArray(o,t,e.index)});for(var c=0;c<o.length;c++)P.setAttrs(o[c].el,{class:o[c].class,title:o[c].title}),o[c].el.innerHTML=o[c].icon,t.appendChild(o[c].el);this._createHamburgerMenu(t),s.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):s.globals.panEnabled?this.elPan.classList.add(this.selectedClass):s.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),P.setAttrs(this.elMenu,{class:"apexcharts-menu"});var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}];this.w.globals.allSeriesHasEqualX||t.splice(2,1);for(var i=0;i<t.length;i++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[i].innerHTML=t[i].title,P.setAttrs(this.elMenuItems[i],{class:"apexcharts-menu-item ".concat(t[i].name),title:t[i].title}),this.elMenu.appendChild(this.elMenuItems[i])}},{key:"addToolbarEventListeners",value:function(){var t=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(e){e.classList.contains("exportSVG")?e.addEventListener("click",t.handleDownload.bind(t,"svg")):e.classList.contains("exportPNG")?e.addEventListener("click",t.handleDownload.bind(t,"png")):e.classList.contains("exportCSV")&&e.addEventListener("click",t.handleDownload.bind(t,"csv"))});for(var e=0;e<this.t.customIcons.length;e++)this.elCustomIcons[e].addEventListener("click",this.t.customIcons[e].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(n){this.ctx.getSyncedCharts().forEach(function(e){e.ctx.toolbar.toggleOtherControls();var t="selection"===n?e.ctx.toolbar.elSelection:e.ctx.toolbar.elZoom,i="selection"===n?"selectionEnabled":"zoomEnabled";e.w.globals[i]=!e.w.globals[i],t.classList.contains(e.ctx.toolbar.selectedClass)?t.classList.remove(e.ctx.toolbar.selectedClass):t.classList.add(e.ctx.toolbar.selectedClass)})}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),"pan"===e?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t="pan"===e?this.elPan:this.elZoom,i="pan"===e?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),i&&i.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach(function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)})}},{key:"toggleOtherControls",value:function(){var t=this,e=this.w;e.globals.panEnabled=!1,e.globals.zoomEnabled=!1,e.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach(function(e){e&&e.classList.remove(t.selectedClass)})}},{key:"handleZoomIn",value:function(){var e=this.w,t=(e.globals.minX+e.globals.maxX)/2,i=(e.globals.minX+t)/2,n=(e.globals.maxX+t)/2,r=this._getNewMinXMaxX(i,n);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(!("datetime"===e.config.xaxis.type&&new Date(e.globals.minX).getUTCFullYear()<1e3)){var t=(e.globals.minX+e.globals.maxX)/2,i=e.globals.minX-(t-e.globals.minX),n=e.globals.maxX-(t-e.globals.maxX),r=this._getNewMinXMaxX(i,n);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var i=this.w.config.xaxis.convertedCatToNumeric;return{minX:i?Math.floor(e):e,maxX:i?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var i=this.w;if(void 0!==e||void 0!==t){if(!(i.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=i.globals.dataPoints),t-e<2))){var n={min:e,max:t},r=this.getBeforeZoomRange(n);r&&(n=r.xaxis);var s={xaxis:n},o=E.clone(i.globals.initialConfig.yaxis);if(i.config.chart.zoom.autoScaleYaxis)o=new T(this.ctx).autoScaleY(this.ctx,o,{xaxis:n});i.config.chart.group||(s.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(s,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(n,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t})}},{key:"getBeforeZoomRange",value:function(e,t){var i=null;return"function"==typeof this.ev.beforeZoom&&(i=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),i}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout(function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")},0)}},{key:"handleDownload",value:function(e){var t=this.w,i=new r(this.ctx);switch(e){case"svg":i.exportToSVG(this.ctx);break;case"png":i.exportToPng(this.ctx);break;case"csv":i.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach(function(e){var t=e.w;t.globals.lastXAxis.min=void 0,t.globals.lastXAxis.max=void 0,e.updateHelpers.revertDefaultAxisMinMax(),"function"==typeof t.config.chart.events.zoomed&&e.ctx.toolbar.zoomCallback({min:t.config.xaxis.min,max:t.config.xaxis.max}),t.globals.zoomed=!1;var i=e.ctx.series.emptyCollapsedSeries(E.clone(t.globals.initialSeries));e.updateHelpers._updateSeries(i,t.config.chart.animations.dynamicAnimation.enabled)})}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),t}(),ve=function(e){a(n,e);var i=c(n);function n(e){var t;return s(this,n),(t=i.call(this,e)).ctx=e,t.w=e.w,t.dragged=!1,t.graphics=new P(t.ctx),t.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],t.clientX=0,t.clientY=0,t.startX=0,t.endX=0,t.dragX=0,t.startY=0,t.endY=0,t.dragY=0,t.moveDirection="none",t}return o(n,[{key:"init",value:function(e){var t=this,i=e.xyRatios,n=this.w,r=this;this.xyRatios=i,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.elGraphical.add(this.zoomRect),n.globals.dom.elGraphical.add(this.selectionRect),"x"===n.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):"y"===n.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach(function(e){t.hoverArea.addEventListener(e,r.svgMouseEvents.bind(r,i),{capture:!1,passive:!0})})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(e,t){var i=this.w,n=this,r=this.ctx.toolbar,s=i.globals.zoomEnabled?i.config.chart.zoom.type:i.config.chart.selection.type,o=i.config.chart.toolbar.autoSelected;t.shiftKey?(this.shiftWasPressed=!0,r.enableZoomPanFromToolbar("pan"===o?"zoom":"pan")):this.shiftWasPressed&&(r.enableZoomPanFromToolbar(o),this.shiftWasPressed=!1);var a=t.target.classList;if(!(a.contains("apexcharts-selection-rect")||a.contains("apexcharts-legend-marker")||a.contains("apexcharts-legend-text")||t.target.parentNode.classList.contains("apexcharts-toolbar"))){if(n.clientX="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientX:"touchend"===t.type?t.changedTouches[0].clientX:t.clientX,n.clientY="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientY:"touchend"===t.type?t.changedTouches[0].clientY:t.clientY,"mousedown"===t.type&&1===t.which){var l=n.gridRect.getBoundingClientRect();n.startX=n.clientX-l.left,n.startY=n.clientY-l.top,n.dragged=!1,n.w.globals.mousedown=!0}if(("mousemove"===t.type&&1===t.which||"touchmove"===t.type)&&(n.dragged=!0,i.globals.panEnabled?(i.globals.selection=null,n.w.globals.mousedown&&n.panDragging({context:n,zoomtype:s,xyRatios:e})):(n.w.globals.mousedown&&i.globals.zoomEnabled||n.w.globals.mousedown&&i.globals.selectionEnabled)&&(n.selection=n.selectionDrawing({context:n,zoomtype:s}))),"mouseup"===t.type||"touchend"===t.type||"mouseleave"===t.type){var c=n.gridRect.getBoundingClientRect();n.w.globals.mousedown&&(n.endX=n.clientX-c.left,n.endY=n.clientY-c.top,n.dragX=Math.abs(n.endX-n.startX),n.dragY=Math.abs(n.endY-n.startY),(i.globals.zoomEnabled||i.globals.selectionEnabled)&&n.selectionDrawn({context:n,zoomtype:s}),i.globals.panEnabled&&i.config.xaxis.convertedCatToNumeric&&n.delayedPanScrolled()),i.globals.zoomEnabled&&n.hideSelectionRect(this.selectionRect),n.dragged=!1,n.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}},{key:"makeSelectionRectDraggable",value:function(){var e=this.w;if(this.selectionRect){var t=this.selectionRect.node.getBoundingClientRect();t.width>0&&t.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var i=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,n={x:i,y:0,width:e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-i,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,i=e.y,n=e.width,r=e.height,s=e.translateX,o=void 0===s?0:s,a=e.translateY,l=void 0===a?0:a,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var h={transform:"translate("+o+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),u.attr({x:t,y:i,width:n,height:r,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),P.setAttrs(u.node,h)),c.globals.selectionEnabled&&(d.attr({x:t,y:i,width:n>0?n:0,height:r>0?r:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),P.setAttrs(d.node,h))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t=e.context,i=e.zoomtype,n=this.w,r=t,s=this.gridRect.getBoundingClientRect(),o=r.startX-1,a=r.startY,l=!1,c=!1,u=r.clientX-s.left-o,d=r.clientY-s.top-a,h={};return Math.abs(u+o)>n.globals.gridWidth?u=n.globals.gridWidth-o:r.clientX-s.left<0&&(u=o),o>r.clientX-s.left&&(l=!0,u=Math.abs(u)),a>r.clientY-s.top&&(c=!0,d=Math.abs(d)),h="x"===i?{x:l?o-u:o,y:0,width:u,height:n.globals.gridHeight}:"y"===i?{x:0,y:c?a-d:a,width:n.globals.gridWidth,height:d}:{x:l?o-u:o,y:c?a-d:a,width:u,height:d},r.drawSelectionRect(h),r.selectionDragging("resizing"),h}},{key:"selectionDragging",value:function(e,t){var o=this,a=this.w,l=this.xyRatios,c=this.selectionRect,i=0;"resizing"===e&&(i=30);var n=function(e){return parseFloat(c.node.getAttribute(e))},r={x:n("x"),y:n("y"),width:n("width"),height:n("height")};a.globals.selection=r,"function"==typeof a.config.chart.events.selection&&a.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var e=o.gridRect.getBoundingClientRect(),t=c.node.getBoundingClientRect(),i=a.globals.xAxisScale.niceMin+(t.left-e.left)*l.xRatio,n=a.globals.xAxisScale.niceMin+(t.right-e.left)*l.xRatio,r=a.globals.yAxisScale[0].niceMin+(e.bottom-t.bottom)*l.yRatio[0],s=a.globals.yAxisScale[0].niceMax-(t.top-e.top)*l.yRatio[0];a.config.chart.events.selection(o.ctx,{xaxis:{min:i,max:n},yaxis:{min:r,max:s}})},i))}},{key:"selectionDrawn",value:function(e){var t=e.context,i=e.zoomtype,n=this.w,r=t,s=this.xyRatios,o=this.ctx.toolbar;if(r.startX>r.endX){var a=r.startX;r.startX=r.endX,r.endX=a}if(r.startY>r.endY){var l=r.startY;r.startY=r.endY,r.endY=l}var c=n.globals.xAxisScale.niceMin+r.startX*s.xRatio,u=n.globals.xAxisScale.niceMin+r.endX*s.xRatio,d=[],h=[];if(n.config.yaxis.forEach(function(e,t){d.push(n.globals.yAxisScale[t].niceMax-s.yRatio[t]*r.startY),h.push(n.globals.yAxisScale[t].niceMax-s.yRatio[t]*r.endY)}),r.dragged&&(r.dragX>10||r.dragY>10)&&c!==u)if(n.globals.zoomEnabled){var f=E.clone(n.globals.initialConfig.yaxis),p=E.clone(n.globals.initialConfig.xaxis);if(n.globals.zoomed=!0,n.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=n.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==i&&"x"!==i||(p={min:c,max:u}),"xy"!==i&&"y"!==i||f.forEach(function(e,t){f[t].min=h[t],f[t].max=d[t]}),n.config.chart.zoom.autoScaleYaxis){var m=new T(r.ctx);f=m.autoScaleY(r.ctx,f,{xaxis:p})}if(o){var g=o.getBeforeZoomRange(p,f);g&&(p=g.xaxis?g.xaxis:p,f=g.yaxis?g.yaxis:f)}var v={xaxis:p};n.config.chart.group||(v.yaxis=f),r.ctx.updateHelpers._updateOptions(v,!1,r.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof n.config.chart.events.zoomed&&o.zoomCallback(p,f)}else if(n.globals.selectionEnabled){var y,b=null;y={min:c,max:u},"xy"!==i&&"y"!==i||(b=E.clone(n.config.yaxis)).forEach(function(e,t){b[t].min=h[t],b[t].max=d[t]}),n.globals.selection=r.selection,"function"==typeof n.config.chart.events.selection&&n.config.chart.events.selection(r.ctx,{xaxis:y,yaxis:b})}}},{key:"panDragging",value:function(e){var t=e.context,i=this.w,n=t;if(void 0!==i.globals.lastClientPosition.x){var r=i.globals.lastClientPosition.x-n.clientX,s=i.globals.lastClientPosition.y-n.clientY;Math.abs(r)>Math.abs(s)&&r>0?this.moveDirection="left":Math.abs(r)>Math.abs(s)&&r<0?this.moveDirection="right":Math.abs(s)>Math.abs(r)&&s>0?this.moveDirection="up":Math.abs(s)>Math.abs(r)&&s<0&&(this.moveDirection="down")}i.globals.lastClientPosition={x:n.clientX,y:n.clientY};var o=i.globals.minX,a=i.globals.maxX;i.config.xaxis.convertedCatToNumeric||n.panScrolled(o,a)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,i=e.globals.maxX,n=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+n,i=e.globals.maxX+n):"right"===this.moveDirection&&(t=e.globals.minX-n,i=e.globals.maxX-n),t=Math.floor(t),i=Math.floor(i),this.updateScrolledChart({xaxis:{min:t,max:i}},t,i)}},{key:"panScrolled",value:function(e,t){var i=this.w,n=this.xyRatios,r=E.clone(i.globals.initialConfig.yaxis);"left"===this.moveDirection?(e=i.globals.minX+i.globals.gridWidth/15*n.xRatio,t=i.globals.maxX+i.globals.gridWidth/15*n.xRatio):"right"===this.moveDirection&&(e=i.globals.minX-i.globals.gridWidth/15*n.xRatio,t=i.globals.maxX-i.globals.gridWidth/15*n.xRatio),(e<i.globals.initialMinX||t>i.globals.initialMaxX)&&(e=i.globals.minX,t=i.globals.maxX);var s={min:e,max:t};i.config.chart.zoom.autoScaleYaxis&&(r=new T(this.ctx).autoScaleY(this.ctx,r,{xaxis:s}));var o={xaxis:{min:e,max:t}};i.config.chart.group||(o.yaxis=r),this.updateScrolledChart(o,e,t)}},{key:"updateScrolledChart",value:function(e,t,i){var n=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof n.config.chart.events.scrolled&&n.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:i}})}}]),n}(ge),ye=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return o(t,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,i=e.elGrid,n=e.clientX,r=e.clientY,s=this.w,o=s.globals.gridWidth,a=o/(s.globals.dataPoints-1),l=i.getBoundingClientRect(),c=this.hasBars();!s.globals.comboCharts&&!c||s.config.xaxis.convertedCatToNumeric||(a=o/s.globals.dataPoints);var u=n-l.left-s.globals.barPadForNumericAxis,d=r-l.top;u<0||d<0||u>s.globals.gridWidth||d>s.globals.gridHeight?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):s.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):s.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var h=Math.round(u/a);c&&!s.config.xaxis.convertedCatToNumeric&&(h=Math.ceil(u/a),h-=1);for(var f,p=null,m=null,g=[],v=0;v<s.globals.seriesXvalues.length;v++)g.push([s.globals.seriesXvalues[v][0]-1e-6].concat(s.globals.seriesXvalues[v]));return g=g.map(function(e){return e.filter(function(e){return e})}),f=s.globals.seriesYvalues.map(function(e){return e.filter(function(e){return E.isNumber(e)})}),s.globals.isXNumeric&&(p=(m=this.closestInMultiArray(u,d,g,f)).index,h=m.j,null!==p&&(g=s.globals.seriesXvalues[p],h=(m=this.closestInArray(u,g)).index)),s.globals.capturedSeriesIndex=null===p?-1:p,(!h||h<1)&&(h=0),s.globals.capturedDataPointIndex=h,{capturedSeries:p,j:h,hoverX:u,hoverY:d}}},{key:"closestInMultiArray",value:function(o,a,l,c){var e=this.w,t=0,u=null,d=-1;e.globals.series.length>1?t=this.getFirstActiveXArray(l):u=0;var i=c[t][0],n=l[t][0],h=Math.abs(o-n),f=Math.abs(a-i),p=f+h;return c.map(function(e,s){e.map(function(e,t){var i=Math.abs(a-c[s][t]),n=Math.abs(o-l[s][t]),r=n+i;r<p&&(p=r,h=n,f=i,u=s,d=t)})}),{index:u,j:d}}},{key:"getFirstActiveXArray",value:function(e){for(var t=0,i=e.map(function(e,t){return e.length>0?t:-1}),n=0;n<i.length;n++)if(-1!==i[n]){t=i[n];break}return t}},{key:"closestInArray",value:function(e,t){for(var i=t[0],n=null,r=Math.abs(e-i),s=0;s<t.length;s++){var o=Math.abs(e-t[s]);o<r&&(r=o,n=s)}return{index:n}}},{key:"isXoverlap",value:function(e){var t=[],i=this.w.globals.seriesX.filter(function(e){return void 0!==e[0]});if(i.length>0)for(var n=0;n<i.length-1;n++)void 0!==i[n][e]&&void 0!==i[n+1][e]&&i[n][e]!==i[n+1][e]&&t.push("unEqual");return 0===t.length}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,i=0;i<t.length-1;i++)if(t[i].data.length!==t[i+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return k(e).reduce(function(e,t){return e+t.getBBox().height},0)}},{key:"getElMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(" .apexcharts-series-markers")}},{key:"getAllMarkers",value:function(){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");(e=k(e)).sort(function(e,t){return Number(t.getAttribute("data:realIndex"))<Number(e.getAttribute("data:realIndex"))?0:-1});var t=[];return e.forEach(function(e){t.push(e.querySelector(".apexcharts-marker"))}),t}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series,  .apexcharts-candlestick-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,i=t.config.markers.hover.size;return void 0===i&&(i=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),i}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,i=this.ttCtx;0===i.allTooltipSeriesGroups.length&&(i.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var n=i.allTooltipSeriesGroups,r=0;r<n.length;r++)"enable"===e?(n[r].classList.add("apexcharts-active"),n[r].style.display=t.config.tooltip.items.display):(n[r].classList.remove("apexcharts-active"),n[r].style.display="none")}}]),t}(),be=function(){function t(e){s(this,t),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new ye(e)}return o(t,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,i=void 0===t||t,n=e.ttItems,r=e.i,s=void 0===r?0:r,o=e.j,a=void 0===o?null:o,l=e.y1,c=e.y2,u=this.w;void 0!==u.config.tooltip.custom?this.handleCustomTooltip({i:s,j:a,y1:l,y2:c,w:u}):this.toggleActiveInactiveSeries(i);var d=this.getValuesToPrint({i:s,j:a});this.printLabels({i:s,j:a,values:d,ttItems:n,shared:i});var h=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=h.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=h.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var s,o=this,a=e.i,l=e.j,t=e.values,c=e.ttItems,u=e.shared,d=this.w,h=t.xVal,f=t.zVal,p=t.xAxisTTVal,m="",g=d.globals.colors[a];null!==l&&d.config.plotOptions.bar.distributed&&(g=d.globals.colors[l]);for(var i=function(e,t){var i=o.getFormatters(a);m=o.getSeriesName({fn:i.yLbTitleFormatter,index:a,seriesIndex:a,j:l});var n=d.config.tooltip.inverseOrder?t:e;if(d.globals.axisCharts){var r=function(e){return i.yLbFormatter(d.globals.series[e][l],{series:d.globals.series,seriesIndex:e,dataPointIndex:l,w:d})};u?(i=o.getFormatters(n),m=o.getSeriesName({fn:i.yLbTitleFormatter,index:n,seriesIndex:a,j:l}),g=d.globals.colors[n],s=r(n)):s=r(a)}null===l&&(s=i.yLbFormatter(d.globals.series[a],d)),o.DOMHandling({i:a,t:n,j:l,ttItems:c,values:{val:s,xVal:h,xAxisTTVal:p,zVal:f},seriesName:m,shared:u,pColor:g})},n=0,r=d.globals.series.length-1;n<d.globals.series.length;n++,r--)i(n,r)}},{key:"getFormatters",value:function(e){var t,i=this.w,n=i.globals.yLabelFormatters[e];return void 0!==i.globals.ttVal?Array.isArray(i.globals.ttVal)?(n=i.globals.ttVal[e]&&i.globals.ttVal[e].formatter,t=i.globals.ttVal[e]&&i.globals.ttVal[e].title&&i.globals.ttVal[e].title.formatter):(n=i.globals.ttVal.formatter,"function"==typeof i.globals.ttVal.title.formatter&&(t=i.globals.ttVal.title.formatter)):t=i.config.tooltip.y.title.formatter,"function"!=typeof n&&(n=i.globals.yLabelFormatters[0]?i.globals.yLabelFormatters[0]:function(e){return e}),"function"!=typeof t&&(t=function(e){return e}),{yLbFormatter:n,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,i=e.index,n=e.seriesIndex,r=e.j,s=this.w;return t(String(s.globals.seriesNames[i]),{series:s.globals.series,seriesIndex:n,dataPointIndex:r,w:s})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,i=(e.j,e.ttItems),n=e.values,r=e.seriesName,s=e.shared,o=e.pColor,a=this.w,l=this.ttCtx,c=n.val,u=n.xVal,d=n.xAxisTTVal,h=n.zVal,f=null;f=i[t].children,a.config.tooltip.fillSeriesColor&&(i[t].style.backgroundColor=o,f[0].style.display="none"),l.showTooltipTitle&&(null===l.tooltipTitle&&(l.tooltipTitle=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),l.tooltipTitle.innerHTML=u),l.blxaxisTooltip&&(l.xaxisTooltipText.innerHTML=""!==d?d:u);var p=i[t].querySelector(".apexcharts-tooltip-text-label");p&&(p.innerHTML=r||"");var m=i[t].querySelector(".apexcharts-tooltip-text-value");(m&&(m.innerHTML=void 0!==c?c:""),f[0]&&f[0].classList.contains("apexcharts-tooltip-marker")&&(a.config.tooltip.marker.fillColors&&Array.isArray(a.config.tooltip.marker.fillColors)&&(o=a.config.tooltip.marker.fillColors[t]),f[0].style.backgroundColor=o),a.config.tooltip.marker.show||(f[0].style.display="none"),null!==h)&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=a.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==h?h:"");s&&f[0]&&(null==c||a.globals.collapsedSeriesIndices.indexOf(t)>-1?f[0].parentNode.style.display="none":f[0].parentNode.style.display=a.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var i=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");i&&(i.classList.add("apexcharts-active"),i.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,i=e.j,n=this.w,r=this.ctx.series.filteredSeriesX(),s="",o="",a=null,l=null,c={series:n.globals.series,seriesIndex:t,dataPointIndex:i,w:n},u=n.globals.ttZFormatter;null===i?l=n.globals.series[t]:n.globals.isXNumeric?(s=r[t][i],0===r[t].length&&(s=r[this.tooltipUtil.getFirstActiveXArray(r)][i])):s=void 0!==n.globals.labels[i]?n.globals.labels[i]:"";var d=s;n.globals.isXNumeric&&"datetime"===n.config.xaxis.type?s=new v(this.ctx).xLabelFormat(n.globals.ttKeyFormatter,d,d):n.globals.isBarHorizontal||(s=n.globals.xLabelFormatter(d,c));return void 0!==n.config.tooltip.x.formatter&&(s=n.globals.ttKeyFormatter(d,c)),n.globals.seriesZ.length>0&&n.globals.seriesZ[0].length>0&&(a=u(n.globals.seriesZ[t][i],n)),o="function"==typeof n.config.xaxis.tooltip.formatter?n.globals.xaxisTooltipFormatter(d,c):s,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(s)?s.join(" "):s,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:a}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,i=e.j,n=e.y1,r=e.y2,s=e.w,o=this.ttCtx.getElTooltip(),a=s.config.tooltip.custom;Array.isArray(a)&&a[t]&&(a=a[t]),o.innerHTML=a({ctx:this.ctx,series:s.globals.series,seriesIndex:t,dataPointIndex:i,y1:n,y2:r,w:s})}}]),t}(),_e=function(){function t(e){s(this,t),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return o(t,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.ttCtx,n=this.w,r=i.getElXCrosshairs(),s=e-i.xcrosshairsWidth/2,o=n.globals.labels.slice().length;if(null!==t&&(s=n.globals.gridWidth/o*t),null!==r&&(r.setAttribute("x",s),r.setAttribute("x1",s),r.setAttribute("x2",s),r.setAttribute("y2",n.globals.gridHeight),r.classList.add("apexcharts-active")),s<0&&(s=0),s>n.globals.gridWidth&&(s=n.globals.gridWidth),i.blxaxisTooltip){var a=s;"tickWidth"!==n.config.xaxis.crosshairs.width&&"barWidth"!==n.config.xaxis.crosshairs.width||(a=s+i.xcrosshairsWidth/2),this.moveXAxisTooltip(a)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&P.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&P.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;if(null!==i.xaxisTooltip){i.xaxisTooltip.classList.add("apexcharts-active");var n=i.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=i.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new P(this.ctx).getTextRects(i.xaxisTooltipText.innerHTML),i.xaxisTooltipText.style.minWidth=r.width+"px",i.xaxisTooltip.style.left=e+"px",i.xaxisTooltip.style.top=n+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;null===i.yaxisTTEls&&(i.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var n=parseInt(i.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+n,s=i.yaxisTTEls[e].getBoundingClientRect().height,o=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(o-=26),r-=s/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(i.yaxisTTEls[e].classList.add("apexcharts-active"),i.yaxisTTEls[e].style.top=r+"px",i.yaxisTTEls[e].style.left=o+t.config.yaxis[e].tooltip.offsetX+"px"):i.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.w,r=this.ttCtx,s=r.getElTooltip(),o=r.tooltipRect,a=null!==i?parseFloat(i):1,l=parseFloat(e)+a+5,c=parseFloat(t)+a/2;if(l>n.globals.gridWidth/2&&(l=l-o.ttWidth-a-15),l>n.globals.gridWidth-o.ttWidth-10&&(l=n.globals.gridWidth-o.ttWidth),l<-20&&(l=-20),n.config.tooltip.followCursor){var u=r.getElGrid(),d=u.getBoundingClientRect();c=r.e.clientY+n.globals.translateY-d.top-o.ttHeight/2}if(!n.config.tooltip.followCursor){var h=this.positionChecks(o,l,c);l=h.x,c=h.y}isNaN(l)||(l+=n.globals.translateX,s.style.left=l+"px",s.style.top=c+"px")}},{key:"positionChecks",value:function(e,t,i){var n=this.w;return e.ttHeight/2+i>n.globals.gridHeight&&(i=n.globals.gridHeight-e.ttHeight+n.globals.translateY),i<0&&(i=0),{x:t,y:i}}},{key:"moveMarkers",value:function(e,t){var i=this.w,n=this.ttCtx;if(i.globals.markers.size[e]>0)for(var r=i.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),s=0;s<r.length;s++)parseInt(r[s].getAttribute("rel"),10)===t&&(n.marker.resetPointsSize(),n.marker.enlargeCurrentPoint(t,r[s]));else n.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var i,n,r=this.w,s=this.ttCtx,o=r.globals.pointsArray,a=s.tooltipUtil.getHoverMarkerSize(t),l=r.config.series[t].type;if(!l||"column"!==l&&"candlestick"!==l){i=o[t][e][0],n=o[t][e][1]?o[t][e][1]:0;var c=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers circle"));c&&n<r.globals.gridHeight&&n>0&&(c.setAttribute("r",a),c.setAttribute("cx",i),c.setAttribute("cy",n)),this.moveXCrosshairs(i),s.fixedTooltip||this.moveTooltip(i,n,a)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,i=this.ttCtx,n=i.w,r=0,s=0,o=n.globals.pointsArray;t=new f(this.ctx).getActiveConfigSeriesIndex(!0);var a=i.tooltipUtil.getHoverMarkerSize(t);o[t]&&(r=o[t][e][0],s=o[t][e][1]);var l=i.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c<n.globals.series.length;c++){var u=o[c];if(n.globals.comboCharts&&void 0===u&&l.splice(c,0,null),u&&u.length){var d=o[c][e][1];l[c].setAttribute("cx",r),null!==d&&!isNaN(d)&&d<n.globals.gridHeight&&d>0?(l[c]&&l[c].setAttribute("r",a),l[c]&&l[c].setAttribute("cy",d)):l[c]&&l[c].setAttribute("r",0)}}if(this.moveXCrosshairs(r),!i.fixedTooltip){var h=s||n.globals.gridHeight;this.moveTooltip(r,h,a)}}},{key:"moveStickyTooltipOverBars",value:function(e){var t,i=this.w,n=this.ttCtx,r=i.globals.columnSeries?i.globals.columnSeries.length:i.globals.series.length,s=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1,o=i.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(s,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"']")),a=o?parseFloat(o.getAttribute("cx")):0,l=o?parseFloat(o.getAttribute("barWidth")):0;i.globals.isXNumeric?a-=r%2!=0?l/2:0:(a=n.xAxisTicksPositions[e-1]+n.dataPointsDividedWidth/2,isNaN(a)&&(a=n.xAxisTicksPositions[e]-n.dataPointsDividedWidth/2));var c=n.getElGrid().getBoundingClientRect();if(t=n.e.clientY-c.top-n.tooltipRect.ttHeight/2,this.moveXCrosshairs(a),!n.fixedTooltip){var u=t||i.globals.gridHeight;this.moveTooltip(a,u)}}}]),t}(),xe=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new _e(e)}return o(t,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new P(this.ctx),i=new M(this.ctx),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");n=k(n),e.config.chart.stacked&&n.sort(function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))});for(var r=0;r<n.length;r++){var s=n[r].querySelector(".apexcharts-series-markers-wrap");if(null!==s){var o=void 0,a="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));"line"!==e.config.chart.type&&"area"!==e.config.chart.type||e.globals.comboCharts||e.config.tooltip.intersect||(a+=" no-pointer-events");var l=i.getMarkerConfig(a,r);(o=t.drawMarker(0,0,l)).node.setAttribute("default-marker-size",0);var c=document.createElementNS(e.globals.SVGNS,"g");c.classList.add("apexcharts-series-markers"),c.appendChild(o.node),s.appendChild(c)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w;"bubble"!==r.config.chart.type&&this.newPointSize(e,t);var s=t.getAttribute("cx"),o=t.getAttribute("cy");if(null!==i&&null!==n&&(s=i,o=n),this.tooltipPosition.moveXCrosshairs(s),!this.fixedTooltip){if("radar"===r.config.chart.type){var a=this.ttCtx.getElGrid(),l=a.getBoundingClientRect();s=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(s,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,i=this.ttCtx,n=e,r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),s=t.config.markers.hover.size,o=0;o<r.length;o++){var a=r[o].getAttribute("rel"),l=r[o].getAttribute("index");if(void 0===s&&(s=t.globals.markers.size[l]+t.config.markers.hover.sizeOffset),n===parseInt(a,10)){this.newPointSize(n,r[o]);var c=r[o].getAttribute("cx"),u=r[o].getAttribute("cy");this.tooltipPosition.moveXCrosshairs(c),i.fixedTooltip||this.tooltipPosition.moveTooltip(c,u,s)}else this.oldPointSize(r[o])}}},{key:"newPointSize",value:function(e,t){var i=this.w,n=i.config.markers.hover.size,r=0===e?t.parentNode.firstChild:t.parentNode.lastChild;if("0"!==r.getAttribute("default-marker-size")){var s=parseInt(r.getAttribute("index"),10);void 0===n&&(n=i.globals.markers.size[s]+i.config.markers.hover.sizeOffset),r.setAttribute("r",n)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size"));e.setAttribute("r",t)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var i=parseFloat(e[t].getAttribute("default-marker-size"));E.isNumber(i)?e[t].setAttribute("r",i):e[t].setAttribute("r",0)}}}]),t}(),we=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e}return o(t,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTooltip",value:function(e){var t=e.e,i=e.opt,n=e.x,r=e.y,s=this.ttCtx,o=this.w;if(t.target.classList.contains("apexcharts-heatmap-rect")){var a=this.getAttr(t,"i"),l=this.getAttr(t,"j"),c=this.getAttr(t,"cx"),u=this.getAttr(t,"cy"),d=this.getAttr(t,"width"),h=this.getAttr(t,"height");if(s.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:a,j:l,shared:!1}),o.globals.capturedSeriesIndex=a,o.globals.capturedDataPointIndex=l,n=c+s.tooltipRect.ttWidth/2+d,r=u+s.tooltipRect.ttHeight/2-h/2,s.tooltipPosition.moveXCrosshairs(c+d/2),n>o.globals.gridWidth/2&&(n=c-s.tooltipRect.ttWidth/2+d),s.w.config.tooltip.followCursor){var f=s.getElGrid().getBoundingClientRect();r=s.e.clientY-f.top+o.globals.translateY/2-10}}return{x:n,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,i,n=e.e,r=e.opt,s=e.x,o=e.y,a=this.w,l=this.ttCtx;if(n.target.classList.contains("apexcharts-marker")){var c=parseInt(r.paths.getAttribute("cx"),10),u=parseInt(r.paths.getAttribute("cy"),10),d=parseFloat(r.paths.getAttribute("val"));if(i=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var h=E.findAncestor(r.paths,"apexcharts-series");h&&(t=parseInt(h.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:i,shared:!l.showOnIntersect&&a.config.tooltip.shared}),"mouseup"===n.type&&l.markerClick(n,t,i),a.globals.capturedSeriesIndex=t,a.globals.capturedDataPointIndex=i,s=c,o=u+a.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();o=l.e.clientY+a.globals.translateY-f.top}d<0&&(o=u),l.marker.enlargeCurrentPoint(i,r.paths,s,o)}return{x:s,y:o}}},{key:"handleBarTooltip",value:function(e){var t,i,n=e.e,r=e.opt,s=this.w,o=this.ttCtx,a=o.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:n,opt:r});t=d.i;var h=d.barHeight,f=d.j;if(s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=f,s.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!s.config.tooltip.shared?(c=d.x,u=d.y,i=Array.isArray(s.config.stroke.width)?s.config.stroke.width[t]:s.config.stroke.width,l=c):s.globals.comboCharts||s.config.tooltip.shared||(l/=2),isNaN(u)?u=s.globals.svgHeight-o.tooltipRect.ttHeight:u<0&&(u=0),c+o.tooltipRect.ttWidth>s.globals.gridWidth?c-=o.tooltipRect.ttWidth:c<0&&(c=0),o.w.config.tooltip.followCursor){var p=o.getElGrid().getBoundingClientRect();u=o.e.clientY-p.top}if(null===o.tooltip&&(o.tooltip=s.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),s.config.tooltip.shared||(s.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(l+i/2):o.tooltipPosition.moveXCrosshairs(l)),!o.fixedTooltip&&(!s.config.tooltip.shared||s.globals.isBarHorizontal&&o.tooltipUtil.hasBars())){var m=s.globals.isMultipleYAxis?s.config.yaxis[g]&&s.config.yaxis[g].reversed:s.config.yaxis[0].reversed;m&&(c-=o.tooltipRect.ttWidth)<0&&(c=0),a.style.left=c+s.globals.translateX+"px";var g=parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10);!m||s.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||(u=u+h-2*(s.globals.series[t][f]<0?h:0)),o.tooltipRect.ttHeight+u>s.globals.gridHeight?(u=s.globals.gridHeight-o.tooltipRect.ttHeight+s.globals.translateY,a.style.top=u+"px"):a.style.top=u+s.globals.translateY-o.tooltipRect.ttHeight/2+"px"}}},{key:"getBarTooltipXY",value:function(e){var t=e.e,i=e.opt,n=this.w,r=null,s=this.ttCtx,o=0,a=0,l=0,c=0,u=0,d=t.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")||d.contains("apexcharts-rangebar-area")){var h=t.target,f=h.getBoundingClientRect(),p=i.elGrid.getBoundingClientRect(),m=f.height;u=f.height;var g=f.width,v=parseInt(h.getAttribute("cx"),10),y=parseInt(h.getAttribute("cy"),10);c=parseFloat(h.getAttribute("barWidth"));var b="touchmove"===t.type?t.touches[0].clientX:t.clientX;r=parseInt(h.getAttribute("j"),10),o=parseInt(h.parentNode.getAttribute("rel"),10)-1;var _=h.getAttribute("data-range-y1"),x=h.getAttribute("data-range-y2");n.globals.comboCharts&&(o=parseInt(h.parentNode.getAttribute("data:realIndex"),10)),s.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:o,j:r,y1:_?parseInt(_,10):null,y2:x?parseInt(x,10):null,shared:!s.showOnIntersect&&n.config.tooltip.shared}),n.config.tooltip.followCursor?n.globals.isBarHorizontal?(a=b-p.left+15,l=y-s.dataPointsDividedHeight+m/2-s.tooltipRect.ttHeight/2):(a=n.globals.isXNumeric?v-g/2:v-s.dataPointsDividedWidth+g/2,l=t.clientY-p.top-s.tooltipRect.ttHeight/2-15):n.globals.isBarHorizontal?((a=v)<s.xyRatios.baseLineInvertedY&&(a=v-s.tooltipRect.ttWidth),l=y-s.dataPointsDividedHeight+m/2-s.tooltipRect.ttHeight/2):(a=n.globals.isXNumeric?v-g/2:v-s.dataPointsDividedWidth+g/2,l=y)}return{x:a,y:l,barHeight:u,barWidth:c,i:o,j:r}}}]),t}(),ke=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e}return o(t,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,i="bottom"===e.config.xaxis.position;t.xaxisOffY=i?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var n=i?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.blxaxisTooltip&&(null===e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",n+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText)))}},{key:"drawYaxisTooltip",value:function(){for(var r=this.w,s=this.ttCtx,e=function(i){var e=r.config.yaxis[i].opposite||r.config.yaxis[i].crosshairs.opposite;s.yaxisOffX=e?r.globals.gridWidth+1:1;var n="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(i,e?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left");r.globals.yAxisSameScaleIndices.map(function(e,t){e.map(function(e,t){t===i&&(n+=r.config.yaxis[t].show?" ":" apexcharts-yaxistooltip-hidden")})});var t=r.globals.dom.elWrap;null===r.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(i))&&(s.yaxisTooltip=document.createElement("div"),s.yaxisTooltip.setAttribute("class",n+" apexcharts-theme-"+r.config.tooltip.theme),t.appendChild(s.yaxisTooltip),0===i&&(s.yaxisTooltipText=[]),s.yaxisTooltipText[i]=document.createElement("div"),s.yaxisTooltipText[i].classList.add("apexcharts-yaxistooltip-text"),s.yaxisTooltip.appendChild(s.yaxisTooltipText[i]))},t=0;t<r.config.yaxis.length;t++)e(t)}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,i=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var n=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==n&&"barWidth"===e.config.xaxis.crosshairs.width){var r=parseFloat(n.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if("tickWidth"===e.config.xaxis.crosshairs.width){var s=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/s}}else if("tickWidth"===e.config.xaxis.crosshairs.width){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if("barWidth"===e.config.xaxis.crosshairs.width){var a=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==a){var l=parseFloat(a.getAttribute("barWidth"));t.xcrosshairsWidth=l}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),null!==i&&t.xcrosshairsWidth>0&&i.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,i){var n=this.ttCtx,r=this.w,s=r.globals.yLabelFormatters[e];if(n.yaxisTooltips[e]){var o=n.getElGrid().getBoundingClientRect(),a=(t-o.top)*i.yRatio[e],l=r.globals.maxYArr[e]-r.globals.minYArr[e],c=r.globals.minYArr[e]+(l-a);n.tooltipPosition.moveYCrosshairs(t-o.top),n.yaxisTooltipText[e].innerHTML=s(c),n.tooltipPosition.moveYAxisTooltip(e)}}}]),t}(),Se=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new ye(this),this.tooltipLabels=new be(this),this.tooltipPosition=new _e(this),this.marker=new xe(this),this.intersect=new we(this),this.axesTooltip=new ke(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared}return o(i,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip")}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var i=this.w;this.xyRatios=e,this.blxaxisTooltip=i.config.xaxis.tooltip.enabled&&i.globals.axisCharts,this.yaxisTooltips=i.config.yaxis.map(function(e,t){return!!(e.show&&e.tooltip.enabled&&i.globals.axisCharts)}),this.allTooltipSeriesGroups=[],i.globals.axisCharts||(this.showTooltipTitle=!1);var t=document.createElement("div");if(t.classList.add("apexcharts-tooltip"),t.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),i.globals.dom.elWrap.appendChild(t),i.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var n=new h(this.ctx);this.xAxisTicksPositions=n.getXAxisTicksPositions()}if(!i.globals.comboCharts&&!this.tConfig.intersect&&"bar"!==i.config.chart.type&&"rangeBar"!==i.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==i.config.markers.size&&0!==i.globals.markers.largestSize||this.marker.drawDynamicPoints(this),i.globals.collapsedSeries.length!==i.globals.series.length){this.dataPointsDividedHeight=i.globals.gridHeight/i.globals.dataPoints,this.dataPointsDividedWidth=i.globals.gridWidth/i.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||i.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,t.appendChild(this.tooltipTitle));var r=i.globals.series.length;(i.globals.xyCharts||i.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:i.globals.series.length),this.legendLabels=i.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this.w,i=[],n=this.getElTooltip(),r=0;r<e;r++){var s=document.createElement("div");s.classList.add("apexcharts-tooltip-series-group"),this.tConfig.shared&&this.tConfig.enabledOnSeries&&Array.isArray(this.tConfig.enabledOnSeries)&&this.tConfig.enabledOnSeries.indexOf(r)<0&&s.classList.add("apexcharts-tooltip-series-group-hidden");var o=document.createElement("span");o.classList.add("apexcharts-tooltip-marker"),o.style.backgroundColor=t.globals.colors[r],s.appendChild(o);var a=document.createElement("div");a.classList.add("apexcharts-tooltip-text"),a.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,a.style.fontSize=this.tConfig.style.fontSize;var l=document.createElement("div");l.classList.add("apexcharts-tooltip-y-group");var c=document.createElement("span");c.classList.add("apexcharts-tooltip-text-label"),l.appendChild(c);var u=document.createElement("span");u.classList.add("apexcharts-tooltip-text-value"),l.appendChild(u);var d=document.createElement("div");d.classList.add("apexcharts-tooltip-z-group");var h=document.createElement("span");h.classList.add("apexcharts-tooltip-text-z-label"),d.appendChild(h);var f=document.createElement("span");f.classList.add("apexcharts-tooltip-text-z-value"),d.appendChild(f),a.appendChild(l),a.appendChild(d),s.appendChild(a),n.appendChild(s),i.push(s)}return i}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,i=this.getElTooltip(),n=!("bar"!==t&&"candlestick"!==t&&"rangeBar"!==t),r="area"===t||"line"===t||"scatter"===t||"bubble"===t||"radar"===t,s=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var a,l=[],c=[],u={hoverArea:s,elGrid:o,tooltipEl:i,tooltipY:l,tooltipX:c,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):n?a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-rangebar-area"):"heatmap"===t&&(a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap")),a&&a.length))for(var d=0;d<a.length;d++)l.push(a[d].getAttribute("cy")),c.push(a[d].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||n&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([s],u);else if(n&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(u);else if(!e.globals.axisCharts||"heatmap"===t){var h=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(h,u)}if(this.showOnIntersect){var f=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");f.length>0&&this.addPathsEventListeners(f,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),i=t.getBoundingClientRect(),n=i.width+10,r=i.height+10,s=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,a=this.tConfig.fixed.position.toLowerCase();return a.indexOf("right")>-1&&(s=s+e.globals.svgWidth-n+10),a.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=s+"px",t.style.top=o+"px",{x:s,y:o,ttWidth:n,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(n,e){for(var r=this,t=function(t){var i={paths:n[t],tooltipEl:e.tooltipEl,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:e.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map(function(e){return n[t].addEventListener(e,r.seriesHover.bind(r,i),{capture:!1,passive:!0})})},i=0;i<n.length;i++)t(i)}},{key:"seriesHover",value:function(n,r){var s=this,e=[],t=this.w;t.config.chart.group&&(e=this.ctx.getGroupedCharts()),t.globals.axisCharts&&(t.globals.minX===-1/0&&t.globals.maxX===1/0||0===t.globals.dataPoints)||(e.length?e.forEach(function(e){var t=s.getElTooltip(e),i={paths:n.paths,tooltipEl:t,tooltipY:n.tooltipY,tooltipX:n.tooltipX,elGrid:n.elGrid,hoverArea:n.hoverArea,ttItems:e.w.globals.tooltip.ttItems};e.w.globals.minX===s.w.globals.minX&&e.w.globals.maxX===s.w.globals.maxX&&e.w.globals.tooltip.seriesHoverByContext({chartCtx:e,ttCtx:e.w.globals.tooltip,opt:i,e:r})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:n,e:r}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,i=e.ttCtx,n=e.opt,r=e.e,s=t.w,o=this.getElTooltip();(i.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},i.e=r,!i.tooltipUtil.hasBars()||s.globals.comboCharts||i.isBarShared)||this.tConfig.onDatasetHover.highlightDataSeries&&new f(t).toggleSeriesOnHover(r,r.target.parentNode);i.fixedTooltip&&i.drawFixedTooltipRect(),s.globals.axisCharts?i.axisChartsTooltips({e:r,opt:n,tooltipRect:i.tooltipRect}):i.nonAxisChartsTooltips({e:r,opt:n,tooltipRect:i.tooltipRect})}},{key:"axisChartsTooltips",value:function(e){var t,i,n=e.e,r=e.opt,s=this.w,o=r.elGrid.getBoundingClientRect(),a="touchmove"===n.type?n.touches[0].clientX:n.clientX,l="touchmove"===n.type?n.touches[0].clientY:n.clientY;if(this.clientY=l,this.clientX=a,s.globals.capturedSeriesIndex=-1,s.globals.capturedDataPointIndex=-1,l<o.top||l>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!s.config.tooltip.shared){var c=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(r)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),h=s.globals.xyCharts||"bar"===s.config.chart.type&&!s.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||s.globals.comboCharts&&this.tooltipUtil.hasBars();if(s.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&(h=!1),"mousemove"===n.type||"touchmove"===n.type||"mouseup"===n.type){null!==d&&d.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter(function(e){return!0===e});if(null!==this.ycrosshairs&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),h&&!this.showOnIntersect)this.handleStickyTooltip(n,a,l,r);else if("heatmap"===s.config.chart.type){var p=this.intersect.handleHeatTooltip({e:n,opt:r,x:t,y:i});t=p.x,i=p.y,u.style.left=t+"px",u.style.top=i+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:n,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:n,opt:r,x:t,y:i});if(this.yaxisTooltips.length)for(var m=0;m<s.config.yaxis.length;m++)this.axesTooltip.drawYaxisTooltipText(m,l,this.xyRatios);r.tooltipEl.classList.add("apexcharts-active")}else"mouseout"!==n.type&&"touchend"!==n.type||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,i=e.opt,n=e.tooltipRect,r=this.w,s=i.paths.getAttribute("rel"),o=this.getElTooltip(),a=r.globals.dom.elWrap.getBoundingClientRect();if("mousemove"===t.type||"touchmove"===t.type){o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:parseInt(s,10)-1,shared:!1});var l=r.globals.clientX-a.left-n.ttWidth/2,c=r.globals.clientY-a.top-n.ttHeight-10;o.style.left=l+"px",o.style.top=c+"px"}else"mouseout"!==t.type&&"touchend"!==t.type||o.classList.remove("apexcharts-active")}},{key:"handleStickyTooltip",value:function(e,t,i,n){var r=this.w,s=this.tooltipUtil.getNearestValues({context:this,hoverArea:n.hoverArea,elGrid:n.elGrid,clientX:t,clientY:i}),o=s.j,a=s.capturedSeries;s.hoverX<0||s.hoverX>r.globals.gridWidth?this.handleMouseOut(n):null!==a?this.handleStickyCapturedSeries(e,a,n,o):this.tooltipUtil.isXoverlap(o)&&this.create(e,this,0,o,n.ttItems)}},{key:"handleStickyCapturedSeries",value:function(e,t,i,n){var r=this.w;null===r.globals.series[t][n]?this.handleMouseOut(i):void 0!==r.globals.series[t][n]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(n)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,n,i.ttItems):this.create(e,this,t,n,i.ttItems,!1):this.tooltipUtil.isXoverlap(n)&&this.create(e,this,0,n,i.ttItems)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new P(this.ctx),i=e.globals.dom.Paper.select(".apexcharts-bar-area"),n=0;n<i.length;n++)t.pathMouseLeave(i[n])}},{key:"handleMouseOut",value:function(e){var t=this.w,i=this.getElXCrosshairs();if(e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),"bubble"!==t.config.chart.type&&this.marker.resetPointsSize(),null!==i&&i.classList.remove("apexcharts-active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("apexcharts-active"),this.blxaxisTooltip&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){null===this.yaxisTTEls&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var n=0;n<this.yaxisTTEls.length;n++)this.yaxisTTEls[n].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach(function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)})}},{key:"markerClick",value:function(e,t,i){var n=this.w;"function"==typeof n.config.chart.events.markerClick&&n.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:i,w:n}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:i,w:n}])}},{key:"create",value:function(e,t,i,n,r){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=this.w,a=t;"mouseup"===e.type&&this.markerClick(e,i,n),null===s&&(s=this.tConfig.shared);var l=this.tooltipUtil.hasMarkers(),c=this.tooltipUtil.getElBars();if(o.config.legend.tooltipHoverFormatter){var u=o.config.legend.tooltipHoverFormatter,d=Array.from(this.legendLabels);d.forEach(function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)});for(var h=0;h<d.length;h++){var f=d[h],p=parseInt(f.getAttribute("i"),10),m=decodeURIComponent(f.getAttribute("data:default-text")),g=u(m,{seriesIndex:s?p:i,dataPointIndex:n,w:o});if(s)f.innerHTML=o.globals.collapsedSeriesIndices.indexOf(p)<0?g:m;else if(f.innerHTML=p===i?g:m,i===p)break}}if(s){if(a.tooltipLabels.drawSeriesTexts({ttItems:r,i:i,j:n,shared:!this.showOnIntersect&&this.tConfig.shared}),l&&(o.globals.markers.largestSize>0?a.marker.enlargePoints(n):a.tooltipPosition.moveDynamicPointsOnHover(n)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var v=new P(this.ctx),y=o.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(n,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(n);for(var b=0;b<y.length;b++)v.pathMouseEnter(y[b])}}else a.tooltipLabels.drawSeriesTexts({shared:!1,ttItems:r,i:i,j:n}),this.tooltipUtil.hasBars()&&a.tooltipPosition.moveStickyTooltipOverBars(n),l&&a.tooltipPosition.moveMarkers(i,n)}}]),i}(),Me=function(e){a(i,e);var t=c(i);function i(){return s(this,i),t.apply(this,arguments)}return o(i,[{key:"draw",value:function(b,_){var x=this,w=this.w;this.graphics=new P(this.ctx),this.bar=new C(this.ctx,this.xyRatios);var e=new L(this.ctx,w);b=e.getLogSeries(b),this.yRatio=e.getLogYRatios(this.yRatio),this.barHelpers.initVariables(b),"100%"===w.config.chart.stackType&&(b=w.globals.seriesPercent.slice()),this.series=b,this.totalItems=0,this.prevY=[],this.prevX=[],this.prevYF=[],this.prevXF=[],this.prevYVal=[],this.prevXVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[],this.yArrj=[],this.yArrjF=[],this.yArrjVal=[];for(var t=0;t<b.length;t++)b[t].length>0&&(this.totalItems+=b[t].length);for(var k=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),S=0,M=0,i=function(e,t){var i=void 0,n=void 0,r=void 0,s=void 0,o=[],a=[],l=w.globals.comboCharts?_[e]:e;x.yRatio.length>1&&(x.yaxisIndex=l),x.isReversed=w.config.yaxis[x.yaxisIndex]&&w.config.yaxis[x.yaxisIndex].reversed;var c=x.graphics.group({class:"apexcharts-series",seriesName:E.escapeString(w.globals.seriesNames[l]),rel:e+1,"data:realIndex":l});x.ctx.series.addCollapsedClassToSeries(c,l);var u=x.graphics.group({class:"apexcharts-datalabels","data:realIndex":l}),d=0,h=0,f=x.initialPositions(S,M,i,n,r,s);M=f.y,d=f.barHeight,n=f.yDivision,s=f.zeroW,S=f.x,h=f.barWidth,i=f.xDivision,r=f.zeroH,x.yArrj=[],x.yArrjF=[],x.yArrjVal=[],x.xArrj=[],x.xArrjF=[],x.xArrjVal=[],1===x.prevY.length&&x.prevY[0].every(function(e){return isNaN(e)})&&(x.prevY[0]=x.prevY[0].map(function(e){return r}),x.prevYF[0]=x.prevYF[0].map(function(e){return 0}));for(var p=0;p<w.globals.dataPoints;p++){var m=x.barHelpers.getStrokeWidth(e,p,l),g={indexes:{i:e,j:p,realIndex:l,bc:t},strokeWidth:m,x:S,y:M,elSeries:c},v=null;x.isHorizontal?(v=x.drawStackedBarPaths(A(A({},g),{},{zeroW:s,barHeight:d,yDivision:n})),h=x.series[e][p]/x.invertedYRatio):(v=x.drawStackedColumnPaths(A(A({},g),{},{xDivision:i,barWidth:h,zeroH:r})),d=x.series[e][p]/x.yRatio[x.yaxisIndex]),M=v.y,S=v.x,o.push(S),a.push(M);var y=x.barHelpers.getPathFillColor(b,e,p,l);c=x.renderSeries({realIndex:l,pathFill:y,j:p,i:e,pathFrom:v.pathFrom,pathTo:v.pathTo,strokeWidth:m,elSeries:c,x:S,y:M,series:b,barHeight:d,barWidth:h,elDataLabelsWrap:u,type:"bar",visibleSeries:0})}w.globals.seriesXvalues[l]=o,w.globals.seriesYvalues[l]=a,x.prevY.push(x.yArrj),x.prevYF.push(x.yArrjF),x.prevYVal.push(x.yArrjVal),x.prevX.push(x.xArrj),x.prevXF.push(x.xArrjF),x.prevXVal.push(x.xArrjVal),k.add(c)},n=0,r=0;n<b.length;n++,r++)i(n,r);return k}},{key:"initialPositions",value:function(e,t,i,n,r,s){var o,a,l=this.w;return this.isHorizontal?(o=(o=n=l.globals.gridHeight/l.globals.dataPoints)*parseInt(l.config.plotOptions.bar.barHeight,10)/100,s=this.baseLineInvertedY+l.globals.padHorizontal+(this.isReversed?l.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),t=(n-o)/2):(a=i=l.globals.gridWidth/l.globals.dataPoints,a=l.globals.isXNumeric&&l.globals.dataPoints>1?(i=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:a*parseInt(l.config.plotOptions.bar.columnWidth,10)/100,r=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=l.globals.padHorizontal+(i-a)/2),{x:e,y:t,yDivision:n,xDivision:i,barHeight:o,barWidth:a,zeroH:r,zeroW:s}}},{key:"drawStackedBarPaths",value:function(e){for(var t,i=e.indexes,n=e.barHeight,r=e.strokeWidth,s=e.zeroW,o=e.x,a=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=a,h=i.i,f=i.j,p=0,m=0;m<this.prevXF.length;m++)p+=this.prevXF[m][f];if(h>0){var g=s;this.prevXVal[h-1][f]<0?g=this.series[h][f]>=0?this.prevX[h-1][f]+p-2*(this.isReversed?p:0):this.prevX[h-1][f]:this.prevXVal[h-1][f]>=0&&(g=this.series[h][f]>=0?this.prevX[h-1][f]:this.prevX[h-1][f]-p+2*(this.isReversed?p:0)),t=g}else t=s;o=null===this.series[h][f]?t:t+this.series[h][f]/this.invertedYRatio-2*(this.isReversed?this.series[h][f]/this.invertedYRatio:0),this.xArrj.push(o),this.xArrjF.push(Math.abs(t-o)),this.xArrjVal.push(this.series[h][f]);var v=this.barHelpers.getBarpaths({barYPosition:d,barHeight:n,x1:t,x2:o,strokeWidth:r,series:this.series,realIndex:i.realIndex,i:h,j:f,w:u});return this.barHelpers.barBackground({j:f,i:h,y1:d,y2:n,elSeries:c}),a+=l,{pathTo:v.pathTo,pathFrom:v.pathFrom,x:o,y:a}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,i=e.x,n=e.y,r=e.xDivision,s=e.barWidth,o=e.zeroH,a=(e.strokeWidth,e.elSeries),l=this.w,c=t.i,u=t.j,d=t.bc;if(l.globals.isXNumeric){var h=l.globals.seriesX[c][u];h||(h=0),i=(h-l.globals.minX)/this.xRatio-s/2}for(var f,p=i,m=0,g=0;g<this.prevYF.length;g++)m+=isNaN(this.prevYF[g][u])?0:this.prevYF[g][u];if(c>0&&!l.globals.isXNumeric||c>0&&l.globals.isXNumeric&&l.globals.seriesX[c-1][u]===l.globals.seriesX[c][u]){var v,y,b=Math.min(this.yRatio.length+1,c+1);if(void 0!==this.prevY[c-1])for(var _=1;_<b;_++)if(!isNaN(this.prevY[c-_][u])){y=this.prevY[c-_][u];break}for(var x=1;x<b;x++){if(this.prevYVal[c-x][u]<0){v=this.series[c][u]>=0?y-m+2*(this.isReversed?m:0):y;break}if(this.prevYVal[c-x][u]>=0){v=this.series[c][u]>=0?y:y+m-2*(this.isReversed?m:0);break}}void 0===v&&(v=l.globals.gridHeight),f=this.prevYF[0].every(function(e){return 0===e})&&this.prevYF.slice(1,c).every(function(e){return e.every(function(e){return isNaN(e)})})?l.globals.gridHeight-o:v}else f=l.globals.gridHeight-o;n=f-this.series[c][u]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[c][u]/this.yRatio[this.yaxisIndex]:0),this.yArrj.push(n),this.yArrjF.push(Math.abs(f-n)),this.yArrjVal.push(this.series[c][u]);var w=this.barHelpers.getColumnPaths({barXPosition:p,barWidth:s,y1:f,y2:n,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:t.realIndex,i:c,j:u,w:l});return this.barHelpers.barBackground({bc:d,j:u,i:c,x1:p,x2:s,elSeries:a}),i+=r,{pathTo:w.pathTo,pathFrom:w.pathFrom,x:l.globals.isXNumeric?i-r:i,y:n}}}]),i}(C),Ce=function(e){a(i,e);var t=c(i);function i(){return s(this,i),t.apply(this,arguments)}return o(i,[{key:"draw",value:function(e,t){var i=this.w,n=new P(this.ctx),r=new D(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick;var s=new L(this.ctx,i);e=s.getLogSeries(e),this.series=e,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var o=n.group({class:"apexcharts-candlestick-series apexcharts-plot-series"}),a=0;a<e.length;a++){var l,c,u=void 0,d=void 0,h=[],f=[],p=i.globals.comboCharts?t[a]:a,m=n.group({class:"apexcharts-series",seriesName:E.escapeString(i.globals.seriesNames[p]),rel:a+1,"data:realIndex":p});e[a].length>0&&(this.visibleI=this.visibleI+1);var g,v;this.yRatio.length>1&&(this.yaxisIndex=p);var y=this.barHelpers.initialPositions();d=y.y,g=y.barHeight,u=y.x,v=y.barWidth,l=y.xDivision,c=y.zeroH,f.push(u+v/2);for(var b=n.group({class:"apexcharts-datalabels","data:realIndex":p}),_=0;_<i.globals.dataPoints;_++){var x,w=this.barHelpers.getStrokeWidth(a,_,p),k=this.drawCandleStickPaths({indexes:{i:a,j:_,realIndex:p},x:u,y:d,xDivision:l,barWidth:v,zeroH:c,strokeWidth:w,elSeries:m});d=k.y,u=k.x,x=k.color,_>0&&f.push(u+v/2),h.push(d);var S=r.fillPath({seriesNumber:p,dataPointIndex:_,color:x,value:e[a][_]}),M=this.candlestickOptions.wick.useFillColor?x:void 0;this.renderSeries({realIndex:p,pathFill:S,lineFill:M,j:_,i:a,pathFrom:k.pathFrom,pathTo:k.pathTo,strokeWidth:w,elSeries:m,x:u,y:d,series:e,barHeight:g,barWidth:v,elDataLabelsWrap:b,visibleSeries:this.visibleI,type:"candlestick"})}i.globals.seriesXvalues[p]=f,i.globals.seriesYvalues[p]=h,o.add(m)}return o}},{key:"drawCandleStickPaths",value:function(e){var t=e.indexes,i=e.x,n=(e.y,e.xDivision),r=e.barWidth,s=e.zeroH,o=e.strokeWidth,a=this.w,l=new P(this.ctx),c=t.i,u=t.j,d=!0,h=a.config.plotOptions.candlestick.colors.upward,f=a.config.plotOptions.candlestick.colors.downward,p=this.yRatio[this.yaxisIndex],m=t.realIndex,g=this.getOHLCValue(m,u),v=s,y=s;g.o>g.c&&(d=!1);var b=Math.min(g.o,g.c),_=Math.max(g.o,g.c);a.globals.isXNumeric&&(i=(a.globals.seriesX[m][u]-a.globals.minX)/this.xRatio-r/2);var x=i+r*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?b=s:(b=s-b/p,_=s-_/p,v=s-g.h/p,y=s-g.l/p);var w=l.move(x,s),k=l.move(x,b);return a.globals.previousPaths.length>0&&(k=this.getPreviousPath(m,u,!0)),w=l.move(x,_)+l.line(x+r/2,_)+l.line(x+r/2,v)+l.line(x+r/2,_)+l.line(x+r,_)+l.line(x+r,b)+l.line(x+r/2,b)+l.line(x+r/2,y)+l.line(x+r/2,b)+l.line(x,b)+l.line(x,_-o/2),k+=l.move(x,b),a.globals.isXNumeric||(i+=n),{pathTo:w,pathFrom:k,x:i,y:_,barXPosition:x,color:d?h:f}}},{key:"getOHLCValue",value:function(e,t){var i=this.w;return{o:i.globals.seriesCandleO[e][t],h:i.globals.seriesCandleH[e][t],l:i.globals.seriesCandleL[e][t],c:i.globals.seriesCandleC[e][t]}}}]),i}(C),Le=function(){function i(e,t){s(this,i),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.negRange=!1,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return o(i,[{key:"draw",value:function(e){var t=this.w,i=new P(this.ctx),n=i.group({class:"apexcharts-heatmap"});n.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,s=t.globals.gridHeight/t.globals.series.length,o=0,a=!1;this.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(a=!0,l.reverse());for(var c=a?0:l.length-1;a?c<l.length:c>=0;a?c++:c--){var u=i.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:E.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new j(this.ctx).dropShadow(u,d,c)}for(var h=0,f=0;f<l[c].length;f++){var p=1,m=t.config.plotOptions.heatmap.shadeIntensity,g=this.determineHeatColor(c,f);p=t.globals.hasNegs||this.negRange?t.config.plotOptions.heatmap.reverseNegativeShade?g.percent<0?g.percent/100*(1.25*m):(1-g.percent/100)*(1.25*m):g.percent<=0?1-(1+g.percent/100)*m:(1-g.percent/100)*m:1-g.percent/100;var v=g.color,y=new E;if(t.config.plotOptions.heatmap.enableShades&&(p<0&&(p=0),v="dark"===this.w.config.theme.mode?E.hexToRgba(y.shadeColor(-1*p,g.color),t.config.fill.opacity):E.hexToRgba(y.shadeColor(p,g.color),t.config.fill.opacity)),"image"===t.config.fill.type)v=new D(this.ctx).fillPath({seriesNumber:c,dataPointIndex:f,opacity:t.globals.hasNegs?g.percent<0?1-(1+g.percent/100):m+g.percent/100:g.percent/100,patternID:E.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:s});var b=this.rectRadius,_=i.drawRect(h,o,r,s,b);if(_.attr({cx:h,cy:o}),_.node.classList.add("apexcharts-heatmap-rect"),u.add(_),_.attr({fill:v,i:c,index:c,j:f,val:l[c][f],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?v:t.globals.stroke.colors[0],color:v}),_.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,_)),_.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,_)),_.node.addEventListener("mousedown",i.pathMouseDown.bind(this,_)),t.config.chart.animations.enabled&&!t.globals.dataChanged){var x=1;t.globals.resized||(x=t.config.chart.animations.speed),this.animateHeatMap(_,h,o,r,s,x)}if(t.globals.dataChanged){var w=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){w=this.dynamicAnim.speed;var k=t.globals.previousPaths[c]&&t.globals.previousPaths[c][f]&&t.globals.previousPaths[c][f].color;k||(k="rgba(255, 255, 255, 0)"),this.animateHeatColor(_,E.isColorHex(k)?k:E.rgb2hex(k),E.isColorHex(v)?v:E.rgb2hex(v),w)}}var S=this.calculateHeatmapDataLabels({x:h,y:o,i:c,j:f,heatColorProps:g,series:l,rectHeight:s,rectWidth:r});null!==S&&u.add(S),h+=r}o+=s,n.add(u)}var M=t.globals.yAxisScale[0].result.slice();t.config.yaxis[0].reversed?M.unshift(""):M.push(""),t.globals.yAxisScale[0].result=M;var C=t.globals.gridHeight/t.globals.series.length;return t.config.yaxis[0].labels.offsetY=-C/2,n}},{key:"checkColorRange",value:function(){var i=this,e=this.w.config.plotOptions.heatmap;e.colorScale.ranges.length>0&&e.colorScale.ranges.map(function(e,t){e.from<=0&&(i.negRange=!0)})}},{key:"determineHeatColor",value:function(e,t){var i=this.w,n=i.globals.series[e][t],r=i.config.plotOptions.heatmap,s=r.colorScale.inverse?t:e,o=i.globals.colors[s],a=null,l=Math.min.apply(Math,k(i.globals.series[e])),c=Math.max.apply(Math,k(i.globals.series[e]));r.distributed||(l=i.globals.minY,c=i.globals.maxY),void 0!==r.colorScale.min&&(l=r.colorScale.min<i.globals.minY?r.colorScale.min:i.globals.minY,c=r.colorScale.max>i.globals.maxY?r.colorScale.max:i.globals.maxY);var u=Math.abs(c)+Math.abs(l),d=100*n/(0===u?u-1e-6:u);r.colorScale.ranges.length>0&&r.colorScale.ranges.map(function(e,t){if(n>=e.from&&n<=e.to){o=e.color,a=e.foreColor?e.foreColor:null,l=e.from,c=e.to;var i=Math.abs(c)+Math.abs(l);d=100*n/(0===i?i-1e-6:i)}});return{color:o,foreColor:a,percent:d}}},{key:"calculateHeatmapDataLabels",value:function(e){var t=e.x,i=e.y,n=e.i,r=e.j,s=e.heatColorProps,o=(e.series,e.rectHeight),a=e.rectWidth,l=this.w,c=l.config.dataLabels,u=new P(this.ctx),d=new x(this.ctx),h=c.formatter,f=null;if(c.enabled){f=u.group({class:"apexcharts-data-labels"});var p=c.offsetX,m=c.offsetY,g=t+a/2+p,v=i+o/2+parseFloat(c.style.fontSize)/3+m,y=h(l.globals.series[n][r],{seriesIndex:n,dataPointIndex:r,w:l});d.plotDataLabelsText({x:g,y:v,text:y,i:n,j:r,color:s.foreColor,parent:f,dataLabelsConfig:c})}return f}},{key:"animateHeatMap",value:function(e,t,i,n,r,s){var o=new O(this.ctx);o.animateRect(e,{x:t+n/2,y:i+r/2,width:0,height:0},{x:t,y:i,width:n,height:r},s,function(){o.animationCompleted(e)})}},{key:"animateHeatColor",value:function(e,t,i,n){e.attr({fill:t}).animate(n).attr({fill:i})}}]),i}(),Te=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"drawYAxisTexts",value:function(e,t,i,n){var r=this.w,s=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new P(this.ctx).drawText({x:e+s.labels.offsetX,y:t+s.labels.offsetY,text:o(n,i),textAnchor:"middle",fontSize:s.labels.style.fontSize,fontFamily:s.labels.style.fontFamily,foreColor:Array.isArray(s.labels.style.colors)?s.labels.style.colors[i]:s.labels.style.colors})}}]),t}(),De=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=void 0!==t.globals.stroke.colors?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight:t.globals.gridWidth,this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,this.fullAngle=360,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100,this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return o(i,[{key:"draw",value:function(e){var t=this,i=this.w,n=new P(this.ctx);if(this.ret=n.group({class:"apexcharts-pie"}),i.globals.noData)return this.ret;for(var r=0,s=0;s<e.length;s++)r+=E.negToZero(e[s]);var o=[],a=n.group();0===r&&(r=1e-5),e.forEach(function(e){t.maxY=Math.max(t.maxY,e)}),"polarArea"===this.chartType&&this.drawPolarElements();for(var l=0;l<e.length;l++){var c=this.fullAngle*E.negToZero(e[l])/r;o.push(c),"polarArea"===this.chartType?(o[l]=this.fullAngle/e.length,this.sliceSizes.push(i.globals.radialSize*e[l]/this.maxY)):this.sliceSizes.push(i.globals.radialSize)}if(i.globals.dataChanged){for(var u,d=0,h=0;h<i.globals.previousPaths.length;h++)d+=E.negToZero(i.globals.previousPaths[h]);for(var f=0;f<i.globals.previousPaths.length;f++)u=this.fullAngle*E.negToZero(i.globals.previousPaths[f])/d,this.prevSectorAngleArr.push(u)}this.donutSize<0&&(this.donutSize=0);var p=i.config.plotOptions.pie.customScale,m=i.globals.gridWidth/2,g=i.globals.gridHeight/2,v=m-i.globals.gridWidth/2*p,y=g-i.globals.gridHeight/2*p;if("donut"===this.chartType){var b=n.drawCircle(this.donutSize);b.attr({cx:this.centerX,cy:this.centerY,fill:i.config.plotOptions.pie.donut.background?i.config.plotOptions.pie.donut.background:"transparent"}),a.add(b)}var _=this.drawArcs(o,e);if(this.sliceLabels.forEach(function(e){_.add(e)}),a.attr({transform:"translate(".concat(v,", ").concat(y,") scale(").concat(p,")")}),a.add(_),this.ret.add(a),this.donutDataLabels.show){var x=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:v,translateY:y});this.ret.add(x)}return this.ret}},{key:"drawArcs",value:function(e,t){var i=this.w,n=new j(this.ctx),r=new P(this.ctx),s=new D(this.ctx),o=r.group({class:"apexcharts-slices"}),a=i.config.plotOptions.pie.startAngle%this.fullAngle,l=a,c=a,u=a,d=a;this.strokeWidth=i.config.stroke.show?i.config.stroke.width:0;for(var h=0;h<e.length;h++){var f=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:E.escapeString(i.globals.seriesNames[h]),rel:h+1,"data:realIndex":h});o.add(f),c=d,u=(l=u)+e[h],d=c+this.prevSectorAngleArr[h];var p=u<l?this.fullAngle+u-l:u-l,m=s.fillPath({seriesNumber:h,size:this.sliceSizes[h],value:t[h]}),g=this.getChangedPath(c,d),v=r.drawPath({d:g,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[h]:this.lineColorArr,strokeWidth:0,fill:m,fillOpacity:i.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(h)});if(v.attr({index:0,j:h}),i.config.chart.dropShadow.enabled){var y=i.config.chart.dropShadow;n.dropShadow(v,y,h)}this.addListeners(v,this.donutDataLabels),P.setAttrs(v.node,{"data:angle":p,"data:startAngle":l,"data:strokeWidth":this.strokeWidth,"data:value":t[h]});var b={x:0,y:0};"pie"===this.chartType||"polarArea"===this.chartType?b=E.polarToCartesian(this.centerX,this.centerY,i.globals.radialSize/1.25+i.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle):"donut"===this.chartType&&(b=E.polarToCartesian(this.centerX,this.centerY,(i.globals.radialSize+this.donutSize)/2+i.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle)),f.add(v);var _=0;if(!this.initialAnim||i.globals.resized||i.globals.dataChanged?this.animBeginArr.push(0):(0===(_=p/this.fullAngle*i.config.chart.animations.speed)&&(_=1),this.animDur=_+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&i.globals.dataChanged?this.animatePaths(v,{size:this.sliceSizes[h],endAngle:u,startAngle:l,prevStartAngle:c,prevEndAngle:d,animateStartingPos:!0,i:h,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:i.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(v,{size:this.sliceSizes[h],endAngle:u,startAngle:l,i:h,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:_}),i.config.plotOptions.pie.expandOnClick&&"polarArea"!==this.chartType&&v.click(this.pieClicked.bind(this,h)),i.config.dataLabels.enabled){var x=b.x,w=b.y,k=100*p/this.fullAngle+"%";if(0!==p&&i.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[h]){var S=i.config.dataLabels.formatter;void 0!==S&&(k=S(i.globals.seriesPercent[h][0],{seriesIndex:h,w:i}));var M=i.globals.dataLabels.style.colors[h],C=r.group({class:"apexcharts-datalabels"}),L=r.drawText({x:x,y:w,text:k,textAnchor:"middle",fontSize:i.config.dataLabels.style.fontSize,fontFamily:i.config.dataLabels.style.fontFamily,fontWeight:i.config.dataLabels.style.fontWeight,foreColor:M});if(C.add(L),i.config.dataLabels.dropShadow.enabled){var T=i.config.dataLabels.dropShadow;n.dropShadow(L,T)}L.node.classList.add("apexcharts-pie-label"),i.config.chart.animations.animate&&!1===i.globals.resized&&(L.node.classList.add("apexcharts-pie-label-delay"),L.node.style.animationDelay=i.config.chart.animations.speed/940+"s"),this.sliceLabels.push(C)}}}return o}},{key:"addListeners",value:function(e,t){var i=new P(this.ctx);e.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",i.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var i=this.w,n=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=n,s=t.startAngle,o=t.startAngle;void 0!==t.prevStartAngle&&void 0!==t.prevEndAngle&&(s=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===i.config.series.length-1&&(n+o>this.fullAngle?t.endAngle=t.endAngle-(n+o):n+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(n+o)))),n===this.fullAngle&&(n=this.fullAngle-.01),this.animateArc(e,s,o,n,r,t)}},{key:"animateArc",value:function(t,i,n,r,s,o){var a,l=this,e=this.w,c=new O(this.ctx),u=o.size;(isNaN(i)||isNaN(s))&&(i=n,s=r,o.dur=0);var d=r,h=n,f=i<n?this.fullAngle+i-n:i-n;e.globals.dataChanged&&o.shouldSetPrevPaths&&o.prevEndAngle&&(a=l.getPiePath({me:l,startAngle:o.prevStartAngle,angle:o.prevEndAngle<o.prevStartAngle?this.fullAngle+o.prevEndAngle-o.prevStartAngle:o.prevEndAngle-o.prevStartAngle,size:u}),t.attr({d:a})),0!==o.dur?t.animate(o.dur,e.globals.easing,o.animBeginArr[o.i]).afterAll(function(){"pie"!==l.chartType&&"donut"!==l.chartType&&"polarArea"!==l.chartType||this.animate(e.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":l.strokeWidth}),o.i===e.config.series.length-1&&c.animationCompleted(t)}).during(function(e){d=f+(r-f)*e,o.animateStartingPos&&(d=s+(r-s)*e,h=i-s+(n-(i-s))*e),a=l.getPiePath({me:l,startAngle:h,angle:d,size:u}),t.node.setAttribute("data:pathOrig",a),t.attr({d:a})}):(a=l.getPiePath({me:l,startAngle:h,angle:r,size:u}),o.isTrack||(e.globals.animationEnded=!0),t.node.setAttribute("data:pathOrig",a),t.attr({d:a,"stroke-width":l.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,i=this.w,n=this.sliceSizes[e]+(i.config.plotOptions.pie.expandOnClick?4:0),r=i.globals.dom.Paper.select(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(e)).members[0];if("true"!==r.attr("data:pieClicked")){var s=i.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(s,function(e){e.setAttribute("data:pieClicked","false");var t=e.getAttribute("data:pathOrig");e.setAttribute("d",t)}),r.attr("data:pieClicked","true");var o=parseInt(r.attr("data:startAngle"),10),a=parseInt(r.attr("data:angle"),10);t=this.getPiePath({me:this,startAngle:o,angle:a,size:n}),360!==a&&r.plot(t)}else{r.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(r.node,this.donutDataLabels);var l=r.attr("data:pathOrig");r.attr({d:l})}}},{key:"getChangedPath",value:function(e,t){var i="";return this.dynamicAnim&&this.w.globals.dataChanged&&(i=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),i}},{key:"getPiePath",value:function(e){var t=e.me,i=e.startAngle,n=e.angle,r=e.size,s=i,o=Math.PI*(s-90)/180,a=n+i;Math.ceil(a)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(a=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(a)>this.fullAngle&&(a-=this.fullAngle);var l=Math.PI*(a-90)/180,c=t.centerX+r*Math.cos(o),u=t.centerY+r*Math.sin(o),d=t.centerX+r*Math.cos(l),h=t.centerY+r*Math.sin(l),f=E.polarToCartesian(t.centerX,t.centerY,t.donutSize,a),p=E.polarToCartesian(t.centerX,t.centerY,t.donutSize,s),m=n>180?1:0,g=["M",c,u,"A",r,r,0,m,1,d,h];return"donut"===t.chartType?[].concat(g,["L",f.x,f.y,"A",t.donutSize,t.donutSize,0,m,0,p.x,p.y,"L",c,u,"z"]).join(" "):"pie"===t.chartType||"polarArea"===t.chartType?[].concat(g,["L",t.centerX,t.centerY,"L",c,u]).join(" "):[].concat(g).join(" ")}},{key:"drawPolarElements",value:function(){var e=this.w,t=new T(this.ctx),i=new P(this.ctx),n=new Te(this.ctx),r=i.group(),s=i.group(),o=void 0===e.config.yaxis[0].max&&void 0===e.config.yaxis[0].min,a=t.niceScale(0,Math.ceil(this.maxY),e.config.yaxis[0].tickAmount,0,o),l=a.result.reverse(),c=a.result.length;this.maxY=a.niceMax;for(var u=e.globals.radialSize,d=u/(c-1),h=0;h<c-1;h++){var f=i.drawCircle(u);if(f.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":e.config.plotOptions.polarArea.rings.strokeWidth,stroke:e.config.plotOptions.polarArea.rings.strokeColor}),e.config.yaxis[0].show){var p=n.drawYAxisTexts(this.centerX,this.centerY-u+parseInt(e.config.yaxis[0].labels.style.fontSize,10)/2,h,l[h]);s.add(p)}r.add(f),u-=d}this.ret.add(r),this.ret.add(s)}},{key:"renderInnerDataLabels",value:function(e,t){var i=this.w,n=new P(this.ctx),r=n.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(t.translateX?t.translateX:0,", ").concat(t.translateY?t.translateY:0,") scale(").concat(i.config.plotOptions.pie.customScale,")")}),s=e.total.show;r.node.style.opacity=t.opacity;var o,a,l=t.centerX,c=t.centerY;o=void 0===e.name.color?i.globals.colors[0]:e.name.color;var u=e.name.fontSize,d=e.name.fontFamily,h=e.value.fontWeight;a=void 0===e.value.color?i.config.chart.foreColor:e.value.color;var f=e.value.formatter,p="",m="";if(s?(o=e.total.color,u=e.total.fontSize,d=e.total.fontFamily,h=e.total.fontWeight,m=e.total.label,p=e.total.formatter(i)):1===i.globals.series.length&&(p=f(i.globals.series[0],i),m=i.globals.seriesNames[0]),m&&(m=e.name.formatter(m,e.total.show,i)),e.name.show){var g=n.drawText({x:l,y:c+parseFloat(e.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:u,fontWeight:h,fontFamily:d});g.node.classList.add("apexcharts-datalabel-label"),r.add(g)}if(e.value.show){var v=e.name.show?parseFloat(e.value.offsetY)+16:e.value.offsetY,y=n.drawText({x:l,y:c+v,text:p,textAnchor:"middle",foreColor:a,fontWeight:e.value.fontWeight,fontSize:e.value.fontSize,fontFamily:e.value.fontFamily});y.node.classList.add("apexcharts-datalabel-value"),r.add(y)}return r}},{key:"printInnerLabels",value:function(e,t,i,n){var r,s=this.w;n?r=void 0===e.name.color?s.globals.colors[parseInt(n.parentNode.getAttribute("rel"),10)-1]:e.name.color:s.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=s.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),a=s.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");i=(0,e.value.formatter)(i,s),n||"function"!=typeof e.total.formatter||(i=e.total.formatter(s));var l=t===e.total.label;t=e.name.formatter(t,l,s),null!==o&&(o.textContent=t),null!==a&&(a.textContent=i),null!==o&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var i=this.w,n=e.getAttribute("data:value"),r=i.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];i.globals.series.length>1&&this.printInnerLabels(t,r,n,e);var s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==s&&(s.style.opacity=1)}},{key:"revertDataLabelsInner",value:function(e,n,t){var r=this,i=this.w,s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group"),o=!1,a=i.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area"),l=function(e){var t=e.makeSliceOut,i=e.printLabel;Array.prototype.forEach.call(a,function(e){"true"===e.getAttribute("data:pieClicked")&&(t&&(o=!0),i&&r.printDataLabelsInner(e,n))})};if(l({makeSliceOut:!0,printLabel:!1}),n.total.show&&i.globals.series.length>1)o&&!n.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(n,n.total.label,n.total.formatter(i));else if(l({makeSliceOut:!1,printLabel:!0}),!o)if(i.globals.selectedDataPoints.length&&i.globals.series.length>1)if(i.globals.selectedDataPoints[0].length>0){var c=i.globals.selectedDataPoints[0],u=i.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,n)}else s&&i.globals.selectedDataPoints.length&&0===i.globals.selectedDataPoints[0].length&&(s.style.opacity=0);else s&&i.globals.series.length>1&&(s.style.opacity=0)}}]),i}(),Ee=function(){function i(e){s(this,i),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new P(this.ctx),this.lineColorArr=void 0!==t.globals.stroke.colors?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight+1.5*t.globals.goldenPadding:t.globals.gridWidth,this.maxValue=this.w.globals.maxY,this.minValue=this.w.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),void 0!==t.config.plotOptions.radar.size&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return o(i,[{key:"draw",value:function(e){var f=this,p=this.w,m=new D(this.ctx),g=[],v=new x(this.ctx);e.length&&(this.dataPointsLen=e[p.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var t=p.globals.gridWidth/2,i=p.globals.gridHeight/2,n=t+p.config.plotOptions.radar.offsetX,r=i+p.config.plotOptions.radar.offsetY,s=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(n||0,", ").concat(r||0,")")}),y=[],b=null,_=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach(function(e,a){var t=e.length===p.globals.dataPoints,l=f.graphics.group().attr({class:"apexcharts-series","data:longestSeries":t,seriesName:E.escapeString(p.globals.seriesNames[a]),rel:a+1,"data:realIndex":a});f.dataRadiusOfPercent[a]=[],f.dataRadius[a]=[],f.angleArr[a]=[],e.forEach(function(e,t){var i=Math.abs(f.maxValue-f.minValue);e+=Math.abs(f.minValue),f.dataRadiusOfPercent[a][t]=e/i,f.dataRadius[a][t]=f.dataRadiusOfPercent[a][t]*f.size,f.angleArr[a][t]=t*f.disAngle}),y=f.getDataPointsPos(f.dataRadius[a],f.angleArr[a]);var i=f.createPaths(y,{x:0,y:0});b=f.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),_=f.graphics.group({class:"apexcharts-datalabels","data:realIndex":a}),p.globals.delayedElements.push({el:b.node,index:a});var n={i:a,realIndex:a,animationDelay:a,initialSpeed:p.config.chart.animations.speed,dataChangeSpeed:p.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:p.globals.stroke.colors[a],strokeLineCap:p.config.stroke.lineCap},r=null;p.globals.previousPaths.length>0&&(r=f.getPreviousPath(a));for(var s=0;s<i.linePathsTo.length;s++){var o=f.graphics.renderPaths(A(A({},n),{},{pathFrom:null===r?i.linePathsFrom[s]:r,pathTo:i.linePathsTo[s],strokeWidth:Array.isArray(f.strokeWidth)?f.strokeWidth[a]:f.strokeWidth,fill:"none",drawShadow:!1}));l.add(o);var c=m.fillPath({seriesNumber:a}),u=f.graphics.renderPaths(A(A({},n),{},{pathFrom:null===r?i.areaPathsFrom[s]:r,pathTo:i.areaPathsTo[s],strokeWidth:0,fill:c,drawShadow:!1}));if(p.config.chart.dropShadow.enabled){var d=new j(f.ctx),h=p.config.chart.dropShadow;d.dropShadow(u,Object.assign({},h,{noUserSpaceOnUse:!0}),a)}l.add(u)}e.forEach(function(e,t){var i=new M(f.ctx).getMarkerConfig("apexcharts-marker",a,t),n=f.graphics.drawMarker(y[t].x,y[t].y,i);n.attr("rel",t),n.attr("j",t),n.attr("index",a),n.node.setAttribute("default-marker-size",i.pSize);var r=f.graphics.group({class:"apexcharts-series-markers"});r&&r.add(n),b.add(r),l.add(b);var s=p.config.dataLabels;if(s.enabled){var o=s.formatter(p.globals.series[a][t],{seriesIndex:a,dataPointIndex:t,w:p});v.plotDataLabelsText({x:y[t].x,y:y[t].y,text:o,textAnchor:"middle",i:a,j:a,parent:_,offsetCorrection:!1,dataLabelsConfig:A({},s)})}l.add(_)}),g.push(l)}),this.drawPolygons({parent:s}),p.config.xaxis.labels.show){var o=this.drawXAxisTexts();s.add(o)}return s.add(this.yaxisLabels),g.forEach(function(e){s.add(e)}),s}},{key:"drawPolygons",value:function(e){for(var s=this,o=this.w,a=e.parent,n=new Te(this.ctx),r=o.globals.yAxisScale[0].result.reverse(),t=r.length,i=[],l=this.size/(t-1),c=0;c<t;c++)i[c]=l*c;i.reverse();var u=[],d=[];i.forEach(function(e,n){var t=s.getPolygonPos(e),r="";t.forEach(function(e,t){if(0===n){var i=s.graphics.drawLine(e.x,e.y,0,0,Array.isArray(s.polygons.connectorColors)?s.polygons.connectorColors[t]:s.polygons.connectorColors);d.push(i)}0===t&&s.yaxisLabelsTextsPos.push({x:e.x,y:e.y}),r+=e.x+","+e.y+" "}),u.push(r)}),u.forEach(function(e,t){var i=s.polygons.strokeColors,n=s.polygons.strokeWidth,r=s.graphics.drawPolygon(e,Array.isArray(i)?i[t]:i,Array.isArray(n)?n[t]:n,o.globals.radarPolygons.fill.colors[t]);a.add(r)}),d.forEach(function(e){a.add(e)}),o.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach(function(e,t){var i=n.drawYAxisTexts(e.x,e.y,t,r[t]);s.yaxisLabels.add(i)})}},{key:"drawXAxisTexts",value:function(){var o=this,a=this.w,l=a.config.xaxis.labels,c=this.graphics.group({class:"apexcharts-xaxis"}),u=this.getPolygonPos(this.size);return a.globals.labels.forEach(function(e,t){var i=a.config.xaxis.labels.formatter,n=new x(o.ctx);if(u[t]){var r=o.getTextPos(u[t],o.size),s=i(e,{seriesIndex:-1,dataPointIndex:t,w:a});n.plotDataLabelsText({x:r.newX,y:r.newY,text:s,textAnchor:r.textAnchor,i:t,j:t,parent:c,color:l.style.colors[t]?l.style.colors[t]:"#a8a8a8",dataLabelsConfig:A({textAnchor:r.textAnchor,dropShadow:{enabled:!1}},l),offsetCorrection:!1})}}),c}},{key:"createPaths",value:function(i,e){var n=this,t=[],r=[],s=[],o=[];if(i.length){r=[this.graphics.move(e.x,e.y)],o=[this.graphics.move(e.x,e.y)];var a=this.graphics.move(i[0].x,i[0].y),l=this.graphics.move(i[0].x,i[0].y);i.forEach(function(e,t){a+=n.graphics.line(e.x,e.y),l+=n.graphics.line(e.x,e.y),t===i.length-1&&(a+="Z",l+="Z")}),t.push(a),s.push(l)}return{linePathsFrom:r,linePathsTo:t,areaPathsFrom:o,areaPathsTo:s}}},{key:"getTextPos",value:function(e,t){var i="middle",n=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(i="start",n+=10):e.x<0&&(i="end",n-=10):i="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:i,newX:n,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,i=null,n=0;n<t.globals.previousPaths.length;n++){var r=t.globals.previousPaths[n];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[n].paths[0]&&(i=t.globals.previousPaths[n].paths[0].d)}return i}},{key:"getDataPointsPos",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var n=[],r=0;r<i;r++){var s={};s.x=e[r]*Math.sin(t[r]),s.y=-e[r]*Math.cos(t[r]),n.push(s)}return n}},{key:"getPolygonPos",value:function(e){for(var t=[],i=2*Math.PI/this.dataPointsLen,n=0;n<this.dataPointsLen;n++){var r={};r.x=e*Math.sin(n*i),r.y=-e*Math.cos(n*i),t.push(r)}return t}}]),i}(),Ae=function(e){a(r,e);var n=c(r);function r(e){var t;s(this,r),(t=n.call(this,e)).ctx=e,t.w=e.w,t.animBeginArr=[0],t.animDur=0;var i=t.w;return t.startAngle=i.config.plotOptions.radialBar.startAngle,t.endAngle=i.config.plotOptions.radialBar.endAngle,t.totalAngle=Math.abs(i.config.plotOptions.radialBar.endAngle-i.config.plotOptions.radialBar.startAngle),t.trackStartAngle=i.config.plotOptions.radialBar.track.startAngle,t.trackEndAngle=i.config.plotOptions.radialBar.track.endAngle,t.radialDataLabels=i.config.plotOptions.radialBar.dataLabels,t.trackStartAngle||(t.trackStartAngle=t.startAngle),t.trackEndAngle||(t.trackEndAngle=t.endAngle),360===t.endAngle&&(t.endAngle=359.99),t.margin=parseInt(i.config.plotOptions.radialBar.track.margin,10),t}return o(r,[{key:"draw",value:function(e){var t=this.w,i=new P(this.ctx),n=i.group({class:"apexcharts-radialbar"});if(t.globals.noData)return n;var r=i.group(),s=this.defaultSize/2,o=t.globals.gridWidth/2,a=this.defaultSize/2.05;t.config.chart.sparkline.enabled||(a=a-t.config.stroke.width-t.config.chart.dropShadow.blur);var l=t.globals.fill.colors;if(t.config.plotOptions.radialBar.track.show){var c=this.drawTracks({size:a,centerX:o,centerY:s,colorArr:l,series:e});r.add(c)}var u=this.drawArcs({size:a,centerX:o,centerY:s,colorArr:l,series:e}),d=360;t.config.plotOptions.radialBar.startAngle<0&&(d=this.totalAngle);var h=(360-d)/360;if(t.globals.radialSize=a-a*h,this.radialDataLabels.value.show){var f=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);t.globals.radialSize+=f*h}return r.add(u.g),"front"===t.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),n.add(r),n}},{key:"drawTracks",value:function(e){var t=this.w,i=new P(this.ctx),n=i.group({class:"apexcharts-tracks"}),r=new j(this.ctx),s=new D(this.ctx),o=this.getStrokeWidth(e);e.size=e.size-o/2;for(var a=0;a<e.series.length;a++){var l=i.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(l),l.attr({rel:a+1}),e.size=e.size-o-this.margin;var c=t.config.plotOptions.radialBar.track,u=s.fillPath({seriesNumber:0,size:e.size,fillColors:Array.isArray(c.background)?c.background[a]:c.background,solid:!0}),d=this.trackStartAngle,h=this.trackEndAngle;Math.abs(h)+Math.abs(d)>=360&&(h=360-Math.abs(this.startAngle)-.1);var f=i.drawPath({d:"",stroke:u,strokeWidth:o*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var p=c.dropShadow;r.dropShadow(f,p)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+a),this.animatePaths(f,{centerX:e.centerX,centerY:e.centerY,endAngle:h,startAngle:d,size:e.size,i:a,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return n}},{key:"drawArcs",value:function(e){var t=this.w,i=new P(this.ctx),n=new D(this.ctx),r=new j(this.ctx),s=i.group(),o=this.getStrokeWidth(e);e.size=e.size-o/2;var a=t.config.plotOptions.radialBar.hollow.background,l=e.size-o*e.series.length-this.margin*e.series.length-o*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(a=this.drawHollowImage(e,s,l,a));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:a||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;r.dropShadow(u,d)}var h=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(h=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:h})),"back"===t.config.plotOptions.radialBar.hollow.position&&(s.add(u),f&&s.add(f));var p=!1;t.config.plotOptions.radialBar.inverseOrder&&(p=!0);for(var m=p?e.series.length-1:0;p?m>=0:m<e.series.length;p?m--:m++){var g=i.group({class:"apexcharts-series apexcharts-radial-series",seriesName:E.escapeString(t.globals.seriesNames[m])});s.add(g),g.attr({rel:m+1,"data:realIndex":m}),this.ctx.series.addCollapsedClassToSeries(g,m),e.size=e.size-o-this.margin;var v=n.fillPath({seriesNumber:m,size:e.size,value:e.series[m]}),y=this.startAngle,b=void 0,_=E.negToZero(e.series[m]>100?100:e.series[m])/100,x=Math.round(this.totalAngle*_)+this.startAngle,w=void 0;t.globals.dataChanged&&(b=this.startAngle,w=Math.round(this.totalAngle*E.negToZero(t.globals.previousPaths[m])/100)+b),Math.abs(x)+Math.abs(y)>=360&&(x-=.01),Math.abs(w)+Math.abs(b)>=360&&(w-=.01);var k=x-y,S=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[m]:t.config.stroke.dashArray,M=i.drawPath({d:"",stroke:v,strokeWidth:o,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+m,strokeDashArray:S});if(P.setAttrs(M.node,{"data:angle":k,"data:value":e.series[m]}),t.config.chart.dropShadow.enabled){var C=t.config.chart.dropShadow;r.dropShadow(M,C,m)}this.addListeners(M,this.radialDataLabels),g.add(M),M.attr({index:0,j:m});var L=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(L=(x-y)/360*t.config.chart.animations.speed,this.animDur=L/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),t.globals.dataChanged&&(L=(x-y)/360*t.config.chart.animations.dynamicAnimation.speed,this.animDur=L/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),this.animatePaths(M,{centerX:e.centerX,centerY:e.centerY,endAngle:x,startAngle:y,prevEndAngle:w,prevStartAngle:b,size:e.size,i:m,totalItems:2,animBeginArr:this.animBeginArr,dur:L,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:s,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(e){var t=new P(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(t,e,i,n){var r=this.w,s=new D(this.ctx),o=E.randomId(),a=r.config.plotOptions.radialBar.hollow.image;if(r.config.plotOptions.radialBar.hollow.imageClipped)s.clippedImgArea({width:i,height:i,image:a,patternID:"pattern".concat(r.globals.cuid).concat(o)}),n="url(#pattern".concat(r.globals.cuid).concat(o,")");else{var l=r.config.plotOptions.radialBar.hollow.imageWidth,c=r.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=r.globals.dom.Paper.image(a).loaded(function(e){this.move(t.centerX-e.width/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-e.height/2+r.config.plotOptions.radialBar.hollow.imageOffsetY)});e.add(u)}else{var d=r.globals.dom.Paper.image(a).loaded(function(e){this.move(t.centerX-l/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-c/2+r.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)});e.add(d)}}return n}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}}]),r}(De),je=function(){function t(e){s(this,t),this.w=e.w,this.lineCtx=e}return o(t,[{key:"sameValueSeriesFix",value:function(e,t){var i=this.w;if("line"===i.config.chart.type&&("gradient"===i.config.fill.type||"gradient"===i.config.fill.type[e])&&new L(this.lineCtx.ctx,i).seriesHaveSameValues(e)){var n=t[e].slice();n[n.length-1]=n[n.length-1]+1e-6,t[e]=n}return t}},{key:"calculatePoints",value:function(e){var t=e.series,i=e.realIndex,n=e.x,r=e.y,s=e.i,o=e.j,a=e.prevY,l=this.w,c=[],u=[];if(0===o){var d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(d=(l.globals.seriesX[i][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(d),u.push(E.isNumber(t[s][0])?a+l.config.markers.offsetY:null),c.push(n+l.config.markers.offsetX),u.push(E.isNumber(t[s][o+1])?r+l.config.markers.offsetY:null)}else c.push(n+l.config.markers.offsetX),u.push(E.isNumber(t[s][o+1])?r+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,i=e.pathFromArea,n=e.realIndex,r=this.w,s=0;s<r.globals.previousPaths.length;s++){var o=r.globals.previousPaths[s];("line"===o.type||"area"===o.type)&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(n,10)&&("line"===o.type?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[s].paths[0].d):"area"===o.type&&(this.lineCtx.appendPathFrom=!1,i=r.globals.previousPaths[s].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[s].paths[1]&&(t=r.globals.previousPaths[s].paths[1].d)))}return{pathFromLine:t,pathFromArea:i}}},{key:"determineFirstPrevY",value:function(e){var t=e.i,i=e.series,n=e.prevY,r=e.lineYPosition,s=this.w;if(void 0!==i[t][0])n=(r=s.config.chart.stacked&&t>0?this.lineCtx.prevSeriesY[t-1][0]:this.lineCtx.zeroY)-i[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?i[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(s.config.chart.stacked&&t>0&&void 0===i[t][0])for(var o=t-1;o>=0;o--)if(null!==i[o][0]&&void 0!==i[o][0]){n=r=this.lineCtx.prevSeriesY[o][0];break}return{prevY:n,lineYPosition:r}}}]),t}(),Oe=function(){function n(e,t,i){s(this,n),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||i,this.scatter=new X(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new je(this),this.markers=new M(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return o(n,[{key:"draw",value:function(e,t,i){var n=this.w,r=new P(this.ctx),s=n.globals.comboCharts?t:n.config.chart.type,o=r.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),a=new L(this.ctx,n);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=a.getLogSeries(e),this.yRatio=a.getLogYRatios(this.yRatio);for(var l=[],c=0;c<e.length;c++){e=this.lineHelpers.sameValueSeriesFix(c,e);var u=n.globals.comboCharts?i[c]:c;this._initSerieVariables(e,c,u);var d=[],h=[],f=n.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,u),n.globals.isXNumeric&&n.globals.seriesX.length>0&&(f=(n.globals.seriesX[u][0]-n.globals.minX)/this.xRatio),h.push(f);var p,m=f,g=m,v=this.zeroY;v=this.lineHelpers.determineFirstPrevY({i:c,series:e,prevY:v,lineYPosition:0}).prevY,d.push(v),p=v;var y=this._calculatePathsFrom({series:e,i:c,realIndex:u,prevX:g,prevY:v}),b=this._iterateOverDataPoints({series:e,realIndex:u,i:c,x:f,y:1,pX:m,pY:p,pathsFrom:y,linePaths:[],areaPaths:[],seriesIndex:i,lineYPosition:0,xArrj:h,yArrj:d});this._handlePaths({type:s,realIndex:u,i:c,paths:b}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),l.push(this.elSeries)}if(n.config.chart.stacked)for(var _=l.length;_>0;_--)o.add(l[_-1]);else for(var x=0;x<l.length;x++)o.add(l[x]);return o}},{key:"_initSerieVariables",value:function(e,t,i){var n=this.w,r=new P(this.ctx);this.xDivision=n.globals.gridWidth/(n.globals.dataPoints-("on"===n.config.xaxis.tickPlacement?1:0)),this.strokeWidth=Array.isArray(n.config.stroke.width)?n.config.stroke.width[i]:n.config.stroke.width,this.yRatio.length>1&&(this.yaxisIndex=i),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed,this.zeroY=n.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?n.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>n.globals.gridHeight||"end"===n.config.plotOptions.area.fillTo)&&(this.areaBottomY=n.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",seriesName:E.escapeString(n.globals.seriesNames[i])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":i}),this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":i});var s=e[t].length===n.globals.dataPoints;this.elSeries.attr({"data:longestSeries":s,rel:t+1,"data:realIndex":i}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,i,n,r,s=e.series,o=e.i,a=e.realIndex,l=e.prevX,c=e.prevY,u=this.w,d=new P(this.ctx);if(null===s[o][0]){for(var h=0;h<s[o].length;h++)if(null!==s[o][h]){l=this.xDivision*h,c=this.zeroY-s[o][h]/this.yRatio[this.yaxisIndex],t=d.move(l,c),i=d.move(l,this.areaBottomY);break}}else t=d.move(l,c),i=d.move(l,this.areaBottomY)+d.line(l,c);if(n=d.move(-1,this.zeroY)+d.line(-1,this.zeroY),r=d.move(-1,this.zeroY)+d.line(-1,this.zeroY),u.globals.previousPaths.length>0){var f=this.lineHelpers.checkPreviousPaths({pathFromLine:n,pathFromArea:r,realIndex:a});n=f.pathFromLine,r=f.pathFromArea}return{prevX:l,prevY:c,linePath:t,areaPath:i,pathFromLine:n,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,i=e.realIndex,n=e.i,r=e.paths,s=this.w,o=new P(this.ctx),a=new D(this.ctx);this.prevSeriesY.push(r.yArrj),s.globals.seriesXvalues[i]=r.xArrj,s.globals.seriesYvalues[i]=r.yArrj,this.pointsChart||s.globals.delayedElements.push({el:this.elPointsMain.node,index:i});var l={i:n,realIndex:i,animationDelay:n,initialSpeed:s.config.chart.animations.speed,dataChangeSpeed:s.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var c=a.fillPath({seriesNumber:i}),u=0;u<r.areaPaths.length;u++){var d=o.renderPaths(A(A({},l),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[u],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:c}));this.elSeries.add(d)}if(s.config.stroke.show&&!this.pointsChart){var h=null;h="line"===t?a.fillPath({seriesNumber:i,i:n}):s.globals.stroke.colors[i];for(var f=0;f<r.linePaths.length;f++){var p=o.renderPaths(A(A({},l),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[f],stroke:h,strokeWidth:this.strokeWidth,strokeLineCap:s.config.stroke.lineCap,fill:"none"}));this.elSeries.add(p)}}}},{key:"_iterateOverDataPoints",value:function(e){for(var t=e.series,i=e.realIndex,n=e.i,r=e.x,s=e.y,o=e.pX,a=e.pY,l=e.pathsFrom,c=e.linePaths,u=e.areaPaths,d=e.seriesIndex,h=e.lineYPosition,f=e.xArrj,p=e.yArrj,m=this.w,g=new P(this.ctx),v=this.yRatio,y=l.prevY,b=l.linePath,_=l.areaPath,x=l.pathFromLine,w=l.pathFromArea,k=E.isNumber(m.globals.minYArr[i])?m.globals.minYArr[i]:m.globals.minY,S=m.globals.dataPoints>1?m.globals.dataPoints-1:m.globals.dataPoints,M=0;M<S;M++){var C=void 0===t[n][M+1]||null===t[n][M+1];if(m.globals.isXNumeric){var L=m.globals.seriesX[i][M+1];void 0===m.globals.seriesX[i][M+1]&&(L=m.globals.seriesX[i][S-1]),r=(L-m.globals.minX)/this.xRatio}else r+=this.xDivision;if(m.config.chart.stacked)if(n>0&&m.globals.collapsedSeries.length<m.config.series.length-1)h=this.prevSeriesY[function(e){for(var t=e,i=0;i<m.globals.series.length;i++)if(m.globals.collapsedSeriesIndices.indexOf(e)>-1){t--;break}return t>=0?t:0}(n-1)][M+1];else h=this.zeroY;else h=this.zeroY;s=C?h-k/v[this.yaxisIndex]+2*(this.isReversed?k/v[this.yaxisIndex]:0):h-t[n][M+1]/v[this.yaxisIndex]+2*(this.isReversed?t[n][M+1]/v[this.yaxisIndex]:0),f.push(r),p.push(s);var T=this.lineHelpers.calculatePoints({series:t,x:r,y:s,realIndex:i,i:n,j:M,prevY:y}),D=this._createPaths({series:t,i:n,realIndex:i,j:M,x:r,y:s,pX:o,pY:a,linePath:b,areaPath:_,linePaths:c,areaPaths:u,seriesIndex:d});u=D.areaPaths,c=D.linePaths,o=D.pX,a=D.pY,_=D.areaPath,b=D.linePath,this.appendPathFrom&&(x+=g.line(r,this.zeroY),w+=g.line(r,this.zeroY)),this.handleNullDataPoints(t,T,n,M,i),this._handleMarkersAndLabels({pointsPos:T,series:t,x:r,y:s,prevY:y,i:n,j:M,realIndex:i})}return{yArrj:p,xArrj:f,pathFromArea:w,areaPaths:u,pathFromLine:x,linePaths:c}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.pointsPos,i=(e.series,e.x,e.y,e.prevY,e.i),n=e.j,r=e.realIndex,s=this.w,o=new x(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:r,pointsPos:t,zRatio:this.zRatio,elParent:this.elPointsMain});else{s.globals.series[i].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var a=this.markers.plotChartMarkers(t,r,n+1);null!==a&&this.elPointsMain.add(a)}var l=o.drawDataLabel(t,r,n+1,null);null!==l&&this.elDataLabelsWrap.add(l)}},{key:"_createPaths",value:function(e){var t=e.series,i=e.i,n=e.realIndex,r=e.j,s=e.x,o=e.y,a=e.pX,l=e.pY,c=e.linePath,u=e.areaPath,d=e.linePaths,h=e.areaPaths,f=e.seriesIndex,p=this.w,m=new P(this.ctx),g=p.config.stroke.curve,v=this.areaBottomY;if(Array.isArray(p.config.stroke.curve)&&(g=Array.isArray(f)?p.config.stroke.curve[f[i]]:p.config.stroke.curve[i]),"smooth"===g){var y=.35*(s-a);p.globals.hasNullValues?(null!==t[i][r]&&(null!==t[i][r+1]?(c=m.move(a,l)+m.curve(a+y,l,s-y,o,s+1,o),u=m.move(a+1,l)+m.curve(a+y,l,s-y,o,s+1,o)+m.line(s,v)+m.line(a,v)+"z"):(c=m.move(a,l),u=m.move(a,l)+"z")),d.push(c),h.push(u)):(c+=m.curve(a+y,l,s-y,o,s,o),u+=m.curve(a+y,l,s-y,o,s,o)),a=s,l=o,r===t[i].length-2&&(u=u+m.curve(a,l,s,o,s,v)+m.move(s,o)+"z",p.globals.hasNullValues||(d.push(c),h.push(u)))}else{if(null===t[i][r+1]){c+=m.move(s,o);var b=p.globals.isXNumeric?(p.globals.seriesX[n][r]-p.globals.minX)/this.xRatio:s-this.xDivision;u=u+m.line(b,v)+m.move(s,o)+"z"}null===t[i][r]&&(c+=m.move(s,o),u+=m.move(s,v)),"stepline"===g?(c=c+m.line(s,null,"H")+m.line(null,o,"V"),u=u+m.line(s,null,"H")+m.line(null,o,"V")):"straight"===g&&(c+=m.line(s,o),u+=m.line(s,o)),r===t[i].length-2&&(u=u+m.line(s,v)+m.move(s,o)+"z",d.push(c),h.push(u))}return{linePaths:d,areaPaths:h,pX:a,pY:l,linePath:c,areaPath:u}}},{key:"handleNullDataPoints",value:function(e,t,i,n,r){var s=this.w;if(null===e[i][n]&&s.config.markers.showNullDataPoints||1===e[i].length){var o=this.markers.plotChartMarkers(t,r,n+1,this.strokeWidth-s.config.markers.strokeWidth/2,!0);null!==o&&this.elPointsMain.add(o)}}}]),n}(),Pe=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return o(t,[{key:"calculateTimeScaleTicks",value:function(e,t){var o=this,a=this.w;if(a.globals.allSeriesCollapsed)return a.globals.labels=[],a.globals.timescaleLabels=[],[];var i=new w(this.ctx),n=(t-e)/864e5;this.determineInterval(n),a.globals.disableZoomIn=!1,a.globals.disableZoomOut=!1,n<.005?a.globals.disableZoomIn=!0:n>5e4&&(a.globals.disableZoomOut=!0);var r=i.getTimeUnitsfromTimestamp(e,t,this.utc),s=a.globals.gridWidth/n,l=s/24,c=l/60,u=Math.floor(24*n),d=Math.floor(24*n*60),h=Math.floor(n),f=Math.floor(n/30),p=Math.floor(n/365),m={minMinute:r.minMinute,minHour:r.minHour,minDate:r.minDate,minMonth:r.minMonth,minYear:r.minYear},g={firstVal:m,currentMinute:m.minMinute,currentHour:m.minHour,currentMonthDate:m.minDate,currentDate:m.minDate,currentMonth:m.minMonth,currentYear:m.minYear,daysWidthOnXAxis:s,hoursWidthOnXAxis:l,minutesWidthOnXAxis:c,numberOfMinutes:d,numberOfHours:u,numberOfDays:h,numberOfMonths:f,numberOfYears:p};switch(this.tickInterval){case"years":this.generateYearScale(g);break;case"months":case"half_year":this.generateMonthScale(g);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(g);break;case"hours":this.generateHourScale(g);break;case"minutes":this.generateMinuteScale(g)}var v=this.timeScaleArray.map(function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?A(A({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?A(A({},t),{},{value:e.value}):"minute"===e.unit?A(A({},t),{},{value:e.value,minute:e.value}):e});return v.filter(function(e){var t=1,i=Math.ceil(a.globals.gridWidth/120),n=e.value;void 0!==a.config.xaxis.tickAmount&&(i=a.config.xaxis.tickAmount),v.length>i&&(t=Math.floor(v.length/i));var r=!1,s=!1;switch(o.tickInterval){case"years":"year"===e.unit&&(r=!0);break;case"half_year":t=7,"year"===e.unit&&(r=!0);break;case"months":t=1,"year"===e.unit&&(r=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(r=!0),30===n&&(s=!0);break;case"months_days":t=10,"month"===e.unit&&(r=!0),30===n&&(s=!0);break;case"week_days":t=8,"month"===e.unit&&(r=!0);break;case"days":t=1,"month"===e.unit&&(r=!0);break;case"hours":"day"===e.unit&&(r=!0);break;case"minutes":n%5!=0&&(s=!0)}if("minutes"===o.tickInterval||"hours"===o.tickInterval){if(!s)return!0}else if((n%t==0||r)&&!s)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var i=this.w,n=this.formatDates(e),r=this.removeOverlappingTS(n);i.globals.timescaleLabels=r.slice(),new p(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){switch(!0){case e>1825:this.tickInterval="years";break;case e>800&&e<=1825:this.tickInterval="half_year";break;case e>180&&e<=800:this.tickInterval="months";break;case e>90&&e<=180:this.tickInterval="months_fortnight";break;case e>60&&e<=90:this.tickInterval="months_days";break;case e>30&&e<=60:this.tickInterval="week_days";break;case e>2&&e<=30:this.tickInterval="days";break;case e>.1&&e<=2:this.tickInterval="hours";break;case e<.1:this.tickInterval="minutes";break;default:this.tickInterval="days"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,i=e.currentMonth,n=e.currentYear,r=e.daysWidthOnXAxis,s=e.numberOfYears,o=t.minYear,a=0,l=new w(this.ctx);if(t.minDate>1||t.minMonth>0){var c=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);a=(l.determineDaysOfYear(t.minYear)-c+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:a,value:o,unit:"year",year:o,month:E.monthMod(i+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:a,value:o,unit:"year",year:n,month:E.monthMod(i+1)});for(var u=o,d=a,h=0;h<s;h++)u++,d=l.determineDaysOfYear(u-1)*r+d,this.timeScaleArray.push({position:d,value:u,unit:"year",year:u,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,i=e.currentMonthDate,n=e.currentMonth,r=e.currentYear,s=e.daysWidthOnXAxis,o=e.numberOfMonths,a=n,l=0,c=new w(this.ctx),u="month",d=0;if(t.minDate>1){l=(c.determineDaysOfMonths(n+1,t.minYear)-i+1)*s,a=E.monthMod(n+1);var h=r+d,f=E.monthMod(a),p=a;0===a&&(u="year",p=h,f=1,h+=d+=1),this.timeScaleArray.push({position:l,value:p,unit:u,year:h,month:f})}else this.timeScaleArray.push({position:l,value:a,unit:u,year:r,month:E.monthMod(n)});for(var m=a+1,g=l,v=0,y=1;v<o;v++,y++){0===(m=E.monthMod(m))?(u="year",d+=1):u="month";var b=this._getYear(r,m,d);g=c.determineDaysOfMonths(m,b)*s+g;var _=0===m?b:m;this.timeScaleArray.push({position:g,value:_,unit:u,year:b,month:0===m?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,i=e.currentMonth,n=e.currentYear,r=e.hoursWidthOnXAxis,s=e.numberOfDays,o=new w(this.ctx),a="day",l=t.minDate+1,c=l,u=function(e,t,i){return e>o.determineDaysOfMonths(t+1,i)?(c=1,a="month",h=t+=1,t):t},d=(24-t.minHour)*r,h=l,f=u(c,i,n);0===t.minHour&&1===t.minDate&&(d=0,h=E.monthMod(t.minMonth),a="month",c=t.minDate,s++),this.timeScaleArray.push({position:d,value:h,unit:a,year:this._getYear(n,f,0),month:E.monthMod(f),day:c});for(var p=d,m=0;m<s;m++){a="day",f=u(c+=1,f,this._getYear(n,f,0));var g=this._getYear(n,f,0);p=24*r+p;var v=1===c?E.monthMod(f):c;this.timeScaleArray.push({position:p,value:v,unit:a,year:g,month:E.monthMod(f),day:v})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,i=e.currentDate,n=e.currentMonth,r=e.currentYear,s=e.minutesWidthOnXAxis,o=e.numberOfHours,a=new w(this.ctx),l="hour",c=function(e,t){return e>a.determineDaysOfMonths(t+1,r)&&(m=1,t+=1),{month:t,date:m}},u=function(e,t){return e>a.determineDaysOfMonths(t+1,r)?t+=1:t},d=60-t.minMinute,h=d*s,f=t.minHour+1,p=f+1;60===d&&(h=0,p=(f=t.minHour)+1);var m=i,g=u(m,n);this.timeScaleArray.push({position:h,value:f,unit:l,day:m,hour:p,year:r,month:E.monthMod(g)});for(var v=h,y=0;y<o;y++){if(l="hour",p>=24)p=0,l="day",g=c(m+=1,g).month,g=u(m,g);var b=this._getYear(r,g,0);v=0===p&&0===y?d*s:60*s+v;var _=0===p?m:p;this.timeScaleArray.push({position:v,value:_,unit:l,hour:p,day:m,year:b,month:E.monthMod(g)}),p++}}},{key:"generateMinuteScale",value:function(e){var t=e.firstVal,i=e.currentMinute,n=e.currentHour,r=e.currentDate,s=e.currentMonth,o=e.currentYear,a=e.minutesWidthOnXAxis,l=e.numberOfMinutes,c=a-(i-t.minMinute),u=t.minMinute+1,d=u+1,h=r,f=s,p=o,m=n;this.timeScaleArray.push({position:c,value:u,unit:"minute",day:h,hour:m,minute:d,year:p,month:E.monthMod(f)});for(var g=c,v=0;v<l;v++)d>=60&&(d=0,24===(m+=1)&&(m=0)),g=a+g,this.timeScaleArray.push({position:g,value:d,unit:"minute",hour:m,minute:d,day:h,year:this._getYear(o,f,0),month:E.monthMod(f)}),d++}},{key:"createRawDateString",value:function(e,t){var i=e.year;return i+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?i+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":i+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?i+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":i+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),i+="minute"===e.unit?":"+("0"+t).slice(-2)+":00":":00:00",this.utc&&(i+=".000Z"),i}},{key:"formatDates",value:function(e){var a=this,l=this.w;return e.map(function(e){var t=e.value.toString(),i=new w(a.ctx),n=a.createRawDateString(e,t),r=i.getDate(i.parseDate(n));if(a.utc||(r=i.getDate(i.parseDateWithTimezone(n))),void 0===l.config.xaxis.labels.format){var s="dd MMM",o=l.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(s=o.year),"month"===e.unit&&(s=o.month),"day"===e.unit&&(s=o.day),"hour"===e.unit&&(s=o.hour),"minute"===e.unit&&(s=o.minute),t=i.formatDate(r,s)}else t=i.formatDate(r,l.config.xaxis.labels.format);return{dateString:n,position:e.position,value:t,unit:e.unit,year:e.year,month:e.month}})}},{key:"removeOverlappingTS",value:function(r){var s,o=this,a=new P(this.ctx),l=!1;r.length>0&&r[0].value&&r.every(function(e){return e.value.length===r[0].value.length})&&(l=!0,s=a.getTextRects(r[0].value).width);var c=0,e=r.map(function(e,t){if(t>0&&o.w.config.xaxis.labels.hideOverlappingLabels){var i=l?s:a.getTextRects(r[c].value).width,n=r[c].position;return e.position>n+i+10?(c=t,e):null}return e});return e=e.filter(function(e){return null!==e})}},{key:"_getYear",value:function(e,t,i){return e+Math.floor(t/12)+i}}]),t}(),Ye=function(){function i(e,t){s(this,i),this.ctx=t,this.w=t.w,this.el=e}return o(i,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,i=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","candlestick","scatter","bubble","radar","heatmap"].indexOf(i)>-1,e.xyCharts=["line","area","bar","rangeBar","candlestick","scatter","bubble"].indexOf(i)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.cuid,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),P.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elAnnotations=e.dom.Paper.group().attr({class:"apexcharts-annotations"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elWrap.appendChild(e.dom.elLegendWrap),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(i,e){var n=this.w,r=n.config,s=n.globals,o={series:[],i:[]},a={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},d={series:[],i:[]};s.series.map(function(e,t){void 0!==i[t].type?("column"===i[t].type||"bar"===i[t].type?(s.series.length>1&&r.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),u.series.push(e),u.i.push(t),n.globals.columnSeries=u.series):"area"===i[t].type?(a.series.push(e),a.i.push(t)):"line"===i[t].type?(o.series.push(e),o.i.push(t)):"scatter"===i[t].type?(l.series.push(e),l.i.push(t)):"bubble"===i[t].type?(c.series.push(e),c.i.push(t)):"candlestick"===i[t].type?(d.series.push(e),d.i.push(t)):console.warn("You have specified an unrecognized chart type. Available types for this propery are line/area/column/bar/scatter/bubble"),s.comboCharts=!0):(o.series.push(e),o.i.push(t))});var t=new Oe(this.ctx,e),h=new Ce(this.ctx,e);this.ctx.pie=new De(this.ctx);var f=new Ae(this.ctx),p=new S(this.ctx,e),m=new Ee(this.ctx),g=[];if(s.comboCharts){if(a.series.length>0&&g.push(t.draw(a.series,"area",a.i)),u.series.length>0)if(n.config.chart.stacked){var v=new Me(this.ctx,e);g.push(v.draw(u.series,u.i))}else{var y=new C(this.ctx,e);g.push(y.draw(u.series,u.i))}if(o.series.length>0&&g.push(t.draw(o.series,"line",o.i)),d.series.length>0&&g.push(h.draw(d.series,d.i)),l.series.length>0){var b=new Oe(this.ctx,e,!0);g.push(b.draw(l.series,"scatter",l.i))}if(c.series.length>0){var _=new Oe(this.ctx,e,!0);g.push(_.draw(c.series,"bubble",c.i))}}else switch(r.chart.type){case"line":g=t.draw(s.series,"line");break;case"area":g=t.draw(s.series,"area");break;case"bar":if(r.chart.stacked)g=new Me(this.ctx,e).draw(s.series);else g=new C(this.ctx,e).draw(s.series);break;case"candlestick":g=new Ce(this.ctx,e).draw(s.series);break;case"rangeBar":g=p.draw(s.series);break;case"heatmap":g=new Le(this.ctx,e).draw(s.series);break;case"pie":case"donut":case"polarArea":g=this.ctx.pie.draw(s.series);break;case"radialBar":g=f.draw(s.series);break;case"radar":g=m.draw(s.series);break;default:g=t.draw(s.series)}return g}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var i=E.getDimensions(this.el),n=t.chart.width.toString().split(/[0-9]+/g).pop();if("%"===n?E.isNumber(i[0])&&(0===i[0].width&&(i=E.getDimensions(this.el.parentNode)),e.svgWidth=i[0]*parseInt(t.chart.width,10)/100):"px"!==n&&""!==n||(e.svgWidth=parseInt(t.chart.width,10)),"auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===t.chart.height.toString().split(/[0-9]+/g).pop()){var r=E.getDimensions(this.el.parentNode);e.svgHeight=r[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),P.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight});var s=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+s+"px",e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,i={transform:"translate("+e.translateX+", "+t+")"};P.setAttrs(e.dom.elGraphical.node,i)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=0,n=e.config.chart.sparkline.enabled?1:15;n+=e.config.grid.padding.bottom,"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||!e.config.legend.show||e.config.legend.floating||(i=new me(this.ctx).legendHelpers.getLegendBBox().clwh+10);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar"),s=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled){var o=E.getBoundingClientRect(r);s=o.bottom;var a=o.bottom-o.top;s=Math.max(2.05*e.globals.radialSize,a)}var l=s+t.translateY+i+n;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),t.dom.elWrap.style.height=l+"px",P.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px"}},{key:"coreCalculations",value:function(){new te(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map(function(e){return[]})},i=new Z,n=this.w.globals;i.initGlobalVars(n),n.seriesXvalues=t(),n.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if("back"===t.config.xaxis.crosshairs.position)new oe(this.ctx).drawXCrosshairs();if("back"===t.config.yaxis[0].crosshairs.position)new oe(this.ctx).drawYCrosshairs();if("datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter){this.ctx.timeScale=new Pe(this.ctx);var i=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?i=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(i=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(i)}e=new L(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var i=this,o=this.w;if(o.config.chart.brush.enabled&&"function"!=typeof o.config.chart.events.selection){var t=o.config.chart.brush.targets||[o.config.chart.brush.target];t.forEach(function(e){var t=ApexCharts.getChartByID(e);t.w.globals.brushSource=i.ctx,"function"!=typeof t.w.config.chart.events.zoomed&&(t.w.config.chart.events.zoomed=function(){i.updateSourceChart(t)}),"function"!=typeof t.w.config.chart.events.scrolled&&(t.w.config.chart.events.scrolled=function(){i.updateSourceChart(t)})}),o.config.chart.events.selection=function(e,s){t.forEach(function(e){var n=ApexCharts.getChartByID(e),r=E.clone(o.config.yaxis);if(o.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var t=new T(n);r=t.autoScaleY(n,r,s)}var i=n.w.config.yaxis.reduce(function(e,t,i){return[].concat(k(e),[A(A({},n.w.config.yaxis[i]),{},{min:r[0].min,max:r[0].max})])},[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:s.xaxis.min,max:s.xaxis.max},yaxis:i},!1,!1,!1,!1)})}}}}]),i}(),Ie=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"_updateOptions",value:function(i){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],t=[this.ctx];e&&(t=this.ctx.getSyncedCharts()),this.ctx.w.globals.isExecCalled&&(t=[this.ctx],this.ctx.w.globals.isExecCalled=!1),t.forEach(function(e){var t=e.w;return t.globals.shouldAnimate=s,r||(t.globals.resized=!0,t.globals.dataChanged=!0,s&&e.series.getPreviousPaths()),i&&"object"===_(i)&&(e.config=new d(i),i=L.extendArrayProps(e.config,i,t),e.w.globals.chartID!==n.ctx.w.globals.chartID&&delete i.series,t.config=E.extend(t.config,i),o&&(t.globals.lastXAxis=i.xaxis?E.clone(i.xaxis):[],t.globals.lastYAxis=i.yaxis?E.clone(i.yaxis):[],t.globals.initialConfig=E.extend({},t.config),t.globals.initialSeries=E.clone(t.config.series))),e.update(i)})}},{key:"_updateSeries",value:function(e,t){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=this.w;return s.globals.shouldAnimate=t,s.globals.dataChanged=!0,t&&this.ctx.series.getPreviousPaths(),s.globals.axisCharts?(0===(i=e.map(function(e,t){return n._extendSeries(e,t)})).length&&(i=[{data:[]}]),s.config.series=i):s.config.series=e.slice(),r&&(s.globals.initialSeries=E.clone(s.config.series)),this.ctx.update({series:e})}},{key:"_extendSeries",value:function(e,t){var i=this.w,n=i.config.series[t];return A(A({},i.config.series[t]),{},{name:e.name?e.name:n&&n.name,color:e.color?e.color:n&&n.color,type:e.type?e.type:n&&n.type,data:e.data?e.data:n&&n.data})}},{key:"toggleDataPointSelection",value:function(e,t){var i=this.w,n=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return i.globals.axisCharts?n=i.globals.dom.Paper.select("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")).members[0]:void 0===t&&(n=i.globals.dom.Paper.select("".concat(r," path[j='").concat(e,"']")).members[0],"pie"!==i.config.chart.type&&"polarArea"!==i.config.chart.type&&"donut"!==i.config.chart.type||this.ctx.pie.pieClicked(e)),n?(new P(this.ctx).pathMouseDown(n,null),n.node?n.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(t){var i=this.w;if(["min","max"].forEach(function(e){void 0!==t.xaxis[e]&&(i.config.xaxis[e]=t.xaxis[e],i.globals.lastXAxis[e]=t.xaxis[e])}),t.xaxis.categories&&t.xaxis.categories.length&&(i.config.xaxis.categories=t.xaxis.categories),i.config.xaxis.convertedCatToNumeric){var e=new u(t);t=e.convertCatToNumericXaxis(t,this.ctx)}return t}},{key:"forceYAxisUpdate",value:function(i){var e=this.w;return e.config.chart.stacked&&"100%"===e.config.chart.stackType&&(Array.isArray(i.yaxis)?i.yaxis.forEach(function(e,t){i.yaxis[t].min=0,i.yaxis[t].max=100}):(i.yaxis.min=0,i.yaxis.max=100)),i}},{key:"revertDefaultAxisMinMax",value:function(){var i=this,n=this.w;n.config.xaxis.min=n.globals.lastXAxis.min,n.config.xaxis.max=n.globals.lastXAxis.max;var r=function(e){void 0!==n.globals.lastYAxis[e]&&(n.config.yaxis[e].min=n.globals.lastYAxis[e].min,n.config.yaxis[e].max=n.globals.lastYAxis[e].max)};n.config.yaxis.map(function(e,t){n.globals.zoomed||void 0!==n.globals.lastYAxis[t]?r(t):void 0!==i.ctx.opts.yaxis[t]&&(e.min=i.ctx.opts.yaxis[t].min,e.max=i.ctx.opts.yaxis[t].max)})}}]),t}();function Ne(e,t,i,n,r,s,o){for(var a=e.slice(t,i||o),l=n.slice(r,s||o),c=0,u={pos:[0,0],start:[0,0]},d={pos:[0,0],start:[0,0]};;){if(a[c]=He.call(u,a[c]),l[c]=He.call(d,l[c]),a[c][0]!=l[c][0]||"M"==a[c][0]||"A"==a[c][0]&&(a[c][4]!=l[c][4]||a[c][5]!=l[c][5])?(Array.prototype.splice.apply(a,[c,1].concat(Re.call(u,a[c]))),Array.prototype.splice.apply(l,[c,1].concat(Re.call(d,l[c])))):(a[c]=Fe.call(u,a[c]),l[c]=Fe.call(d,l[c])),++c==a.length&&c==l.length)break;c==a.length&&a.push(["C",u.pos[0],u.pos[1],u.pos[0],u.pos[1],u.pos[0],u.pos[1]]),c==l.length&&l.push(["C",d.pos[0],d.pos[1],d.pos[0],d.pos[1],d.pos[0],d.pos[1]])}return{start:a,dest:l}}function He(e){switch(e[0]){case"z":case"Z":e[0]="L",e[1]=this.start[0],e[2]=this.start[1];break;case"H":e[0]="L",e[2]=this.pos[1];break;case"V":e[0]="L",e[2]=e[1],e[1]=this.pos[0];break;case"T":e[0]="Q",e[3]=e[1],e[4]=e[2],e[1]=this.reflection[1],e[2]=this.reflection[0];break;case"S":e[0]="C",e[6]=e[4],e[5]=e[3],e[4]=e[2],e[3]=e[1],e[2]=this.reflection[1],e[1]=this.reflection[0]}return e}function Fe(e){var t=e.length;return this.pos=[e[t-2],e[t-1]],-1!="SCQT".indexOf(e[0])&&(this.reflection=[2*this.pos[0]-e[t-4],2*this.pos[1]-e[t-3]]),e}function Re(e){var t=[e];switch(e[0]){case"M":return this.pos=this.start=[e[1],e[2]],t;case"L":e[5]=e[3]=e[1],e[6]=e[4]=e[2],e[1]=this.pos[0],e[2]=this.pos[1];break;case"Q":e[6]=e[4],e[5]=e[3],e[4]=1*e[4]/3+2*e[2]/3,e[3]=1*e[3]/3+2*e[1]/3,e[2]=1*this.pos[1]/3+2*e[2]/3,e[1]=1*this.pos[0]/3+2*e[1]/3;break;case"A":e=(t=function(I,e){var t,i,n,r,s,o,a,l,c,u,d,h,f,p,m,g,v,y,b,_,x,w,k,S,M,C,L=Math.abs(e[1]),T=Math.abs(e[2]),D=e[3]%360,N=e[4],E=e[5],A=e[6],j=e[7],O=new SVG.Point(I),P=new SVG.Point(A,j),Y=[];if(0===L||0===T||O.x===P.x&&O.y===P.y)return[["C",O.x,O.y,P.x,P.y,P.x,P.y]];t=new SVG.Point((O.x-P.x)/2,(O.y-P.y)/2).transform((new SVG.Matrix).rotate(D)),(i=t.x*t.x/(L*L)+t.y*t.y/(T*T))>1&&(i=Math.sqrt(i),L*=i,T*=i);n=(new SVG.Matrix).rotate(D).scale(1/L,1/T).rotate(-D),O=O.transform(n),P=P.transform(n),r=[P.x-O.x,P.y-O.y],o=r[0]*r[0]+r[1]*r[1],s=Math.sqrt(o),r[0]/=s,r[1]/=s,a=o<4?Math.sqrt(1-o/4):0,N===E&&(a*=-1);l=new SVG.Point((P.x+O.x)/2+a*-r[1],(P.y+O.y)/2+a*r[0]),c=new SVG.Point(O.x-l.x,O.y-l.y),u=new SVG.Point(P.x-l.x,P.y-l.y),d=Math.acos(c.x/Math.sqrt(c.x*c.x+c.y*c.y)),c.y<0&&(d*=-1);h=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(h*=-1);E&&d>h&&(h+=2*Math.PI);!E&&d<h&&(h-=2*Math.PI);for(p=Math.ceil(2*Math.abs(d-h)/Math.PI),g=[],v=d,f=(h-d)/p,m=4*Math.tan(f/4)/3,x=0;x<=p;x++)b=Math.cos(v),y=Math.sin(v),_=new SVG.Point(l.x+b,l.y+y),g[x]=[new SVG.Point(_.x+m*y,_.y-m*b),_,new SVG.Point(_.x-m*y,_.y+m*b)],v+=f;for(g[0][0]=g[0][1].clone(),g[g.length-1][2]=g[g.length-1][1].clone(),n=(new SVG.Matrix).rotate(D).scale(L,T).rotate(-D),x=0,w=g.length;x<w;x++)g[x][0]=g[x][0].transform(n),g[x][1]=g[x][1].transform(n),g[x][2]=g[x][2].transform(n);for(x=1,w=g.length;x<w;x++)_=g[x-1][2],k=_.x,S=_.y,_=g[x][0],M=_.x,C=_.y,_=g[x][1],A=_.x,j=_.y,Y.push(["C",k,S,M,C,A,j]);return Y}(this.pos,e))[0]}return e[0]="C",this.pos=[e[5],e[6]],this.reflection=[2*e[5]-e[3],2*e[6]-e[4]],t}function ze(e,t){if(!1===t)return!1;for(var i=t,n=e.length;i<n;++i)if("M"==e[i][0])return i;return!1}function i(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(e,t,i){var n="string"!=typeof e?e:t[e];return i?n/2:n},this.pointCoords=function(e,t){var i=this.pointsList[e];return{x:this.pointCoord(i[0],t,"t"===e||"b"===e),y:this.pointCoord(i[1],t,"r"===e||"l"===e)}}}e="undefined"!=typeof window?window:void 0,(W=function(r,s){var c=(void 0!==this?this:r).SVG=function(e){if(c.supported)return e=new c.Doc(e),c.parser.draw||c.prepare(),e};if(c.ns="http://www.w3.org/2000/svg",c.xmlns="http://www.w3.org/2000/xmlns/",c.xlink="http://www.w3.org/1999/xlink",c.svgjs="http://svgjs.com/svgjs",c.supported=!0,!c.supported)return!1;c.did=1e3,c.eid=function(e){return"Svgjs"+a(e)+c.did++},c.create=function(e){var t=s.createElementNS(this.ns,e);return t.setAttribute("id",this.eid(e)),t},c.extend=function(){var e,t;t=(e=[].slice.call(arguments)).pop();for(var i=e.length-1;i>=0;i--)if(e[i])for(var n in t)e[i].prototype[n]=t[n];c.Set&&c.Set.inherit&&c.Set.inherit()},c.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,c.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&c.extend(t,e.extend),e.construct&&c.extend(e.parent||c.Container,e.construct),t},c.adopt=function(e){return e?e.instance?e.instance:((t="svg"==e.nodeName?e.parentNode instanceof r.SVGElement?new c.Nested:new c.Doc:"linearGradient"==e.nodeName?new c.Gradient("linear"):"radialGradient"==e.nodeName?new c.Gradient("radial"):c[a(e.nodeName)]?new c[a(e.nodeName)]:new c.Element(e)).type=e.nodeName,t.node=e,e.instance=t,t instanceof c.Doc&&t.namespace().defs(),t.setData(JSON.parse(e.getAttribute("svgjs:data"))||{}),t):null;var t},c.prepare=function(){var e=s.getElementsByTagName("body")[0],t=(e?new c.Doc(e):c.adopt(s.documentElement).nested()).size(2,0);c.parser={body:e||s.documentElement,draw:t.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:t.polyline().node,path:t.path().node,native:c.create("svg")}},c.parser={native:c.create("svg")},s.addEventListener("DOMContentLoaded",function(){c.parser.draw||c.prepare()},!1),c.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},c.utils={map:function(e,t){for(var i=e.length,n=[],r=0;r<i;r++)n.push(t(e[r]));return n},filter:function(e,t){for(var i=e.length,n=[],r=0;r<i;r++)t(e[r])&&n.push(e[r]);return n},filterSVGElements:function(e){return this.filter(e,function(e){return e instanceof r.SVGElement})}},c.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},c.Color=function(e){var t,i;this.r=0,this.g=0,this.b=0,e&&("string"==typeof e?c.regex.isRgb.test(e)?(t=c.regex.rgb.exec(e.replace(c.regex.whitespace,"")),this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3])):c.regex.isHex.test(e)&&(t=c.regex.hex.exec(4==(i=e).length?["#",i.substring(1,2),i.substring(1,2),i.substring(2,3),i.substring(2,3),i.substring(3,4),i.substring(3,4)].join(""):i),this.r=parseInt(t[1],16),this.g=parseInt(t[2],16),this.b=parseInt(t[3],16)):"object"===_(e)&&(this.r=e.r,this.g=e.g,this.b=e.b))},c.extend(c.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+d(this.r)+d(this.g)+d(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(e){return this.destination=new c.Color(e),this},at:function(e){return this.destination?(e=e<0?0:e>1?1:e,new c.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),c.Color.test=function(e){return e+="",c.regex.isHex.test(e)||c.regex.isRgb.test(e)},c.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},c.Color.isColor=function(e){return c.Color.isRgb(e)||c.Color.test(e)},c.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},c.extend(c.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)}}),c.PointArray=function(e,t){c.Array.call(this,e,t||[[0,0]])},c.PointArray.prototype=new c.Array,c.PointArray.prototype.constructor=c.PointArray;for(var l={M:function(e,t,i){return t.x=i.x=e[0],t.y=i.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},Z:function(e,t,i){return t.x=i.x,t.y=i.y,["Z"]}},e="mlhvqtcsaz".split(""),t=0,i=e.length;t<i;++t)l[e[t]]=function(s){return function(e,t,i){if("H"==s)e[0]=e[0]+t.x;else if("V"==s)e[0]=e[0]+t.y;else if("A"==s)e[5]=e[5]+t.x,e[6]=e[6]+t.y;else for(var n=0,r=e.length;n<r;++n)e[n]=e[n]+(n%2?t.y:t.x);return l[s](e,t,i)}}(e[t].toUpperCase());c.PathArray=function(e,t){c.Array.call(this,e,t||[["M",0,0]])},c.PathArray.prototype=new c.Array,c.PathArray.prototype.constructor=c.PathArray,c.extend(c.PathArray,{toString:function(){return function(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t][0],null!=e[t][1]&&(n+=e[t][1],null!=e[t][2]&&(n+=" ",n+=e[t][2],null!=e[t][3]&&(n+=" ",n+=e[t][3],n+=" ",n+=e[t][4],null!=e[t][5]&&(n+=" ",n+=e[t][5],n+=" ",n+=e[t][6],null!=e[t][7]&&(n+=" ",n+=e[t][7])))));return n+" "}(this.value)},move:function(e,t){var i=this.bbox();return i.x,i.y,this},at:function(e){if(!this.destination)return this;for(var t=this.value,i=this.destination.value,n=[],r=new c.PathArray,s=0,o=t.length;s<o;s++){n[s]=[t[s][0]];for(var a=1,l=t[s].length;a<l;a++)n[s][a]=t[s][a]+(i[s][a]-t[s][a])*e;"A"===n[s][0]&&(n[s][4]=+(0!=n[s][4]),n[s][5]=+(0!=n[s][5]))}return r.value=n,r},parse:function(e){if(e instanceof c.PathArray)return e.valueOf();var t,i={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};e="string"==typeof e?e.replace(c.regex.numbersWithDots,u).replace(c.regex.pathLetters," $& ").replace(c.regex.hyphen,"$1 -").trim().split(c.regex.delimiter):e.reduce(function(e,t){return[].concat.call(e,t)},[]);var n=[],r=new c.Point,s=new c.Point,o=0,a=e.length;do{c.regex.isPathLetter.test(e[o])?(t=e[o],++o):"M"==t?t="L":"m"==t&&(t="l"),n.push(l[t].call(null,e.slice(o,o+=i[t.toUpperCase()]).map(parseFloat),r,s))}while(a>o);return n},bbox:function(){return c.parser.draw||c.prepare(),c.parser.path.setAttribute("d",this.toString()),c.parser.path.getBBox()}}),c.Number=c.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(c.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof c.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new c.Number(e),new c.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new c.Number(e),new c.Number(this-e,this.unit||e.unit)},times:function(e){return e=new c.Number(e),new c.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new c.Number(e),new c.Number(this/e,this.unit||e.unit)},to:function(e){var t=new c.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new c.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new c.Number(this.destination).minus(this).times(e).plus(this):this}}}),c.Element=c.invent({create:function(e){this._stroke=c.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var i=h(this,e,t);return this.width(new c.Number(i.width)).height(new c.Number(i.height))},clone:function(e){this.writeDataToDom();var t=m(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(c.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter(function(e){return e!=t}).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return c.get(this.attr(e))},parent:function(e){var t=this;if(!t.node.parentNode)return null;if(t=c.adopt(t.node.parentNode),!e)return t;for(;t&&t.node instanceof r.SVGElement;){if("string"==typeof e?t.matches(e):t instanceof e)return t;if(!t.node.parentNode||"#document"==t.node.parentNode.nodeName)return null;t=c.adopt(t.node.parentNode)}},doc:function(){return this instanceof c.Doc?this:this.parent(c.Doc)},parents:function(e){var t=[],i=this;do{if(!(i=i.parent(e))||!i.node)break;t.push(i)}while(i.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var t=s.createElement("svg");if(!(e&&this instanceof c.Parent))return t.appendChild(e=s.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),t.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");t.innerHTML="<svg>"+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var i=0,n=t.firstChild.childNodes.length;i<n;i++)this.node.appendChild(t.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(e){return this.dom=e,this},is:function(e){return function(e,t){return e instanceof t}(this,e)}}}),c.easing={"-":function(e){return e},"<>":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},c.morph=function(i){return function(e,t){return new c.MorphObj(e,t).at(i)}},c.Situation=c.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new c.Number(e.duration).valueOf(),this.delay=new c.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),c.FX=c.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,i){"object"===_(e)&&(t=e.ease,i=e.delay,e=e.duration);var n=new c.Situation({duration:e||1e3,delay:i||0,ease:c.easing[t||"-"]||t});return this.queue(n),this},target:function(e){return e&&e instanceof c.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=r.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){r.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof c.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof c.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t=this.situation;if(t.init)return this;for(var i in t.animations){e=this.target()[i](),Array.isArray(e)||(e=[e]),Array.isArray(t.animations[i])||(t.animations[i]=[t.animations[i]]);for(var n=e.length;n--;)t.animations[i][n]instanceof c.Number&&(e[n]=new c.Number(e[n])),t.animations[i][n]=e[n].morph(t.animations[i][n])}for(var i in t.attrs)t.attrs[i]=new c.MorphObj(this.target().attr(i),t.attrs[i]);for(var i in t.styles)t.styles[i]=new c.MorphObj(this.target().style(i),t.styles[i]);return t.initialTransformation=this.target().matrixify(),t.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var i=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!i&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(i){var n=this.last();return this.target().on("finished.fx",function e(t){t.detail.situation==n&&(i.call(this,n),this.off("finished.fx",e))}),this._callStart()},during:function(t){var i=this.last(),e=function(e){e.detail.situation==i&&t.call(this,e.detail.pos,c.morph(e.detail.pos),e.detail.eased,i)};return this.target().off("during.fx",e).on("during.fx",e),this.after(function(){this.off("during.fx",e)}),this._callStart()},afterAll:function(i){var e=function e(t){i.call(this),this.off("allfinished.fx",e)};return this.target().off("allfinished.fx",e).on("allfinished.fx",e),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,i){return this.last()[i||"animations"][e]=t,this._callStart()},step:function(e){var t,i,n;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),i=Math.floor(t),!0===this.situation.loops||i<this.situation.loops?(this.pos=t-i,n=this.situation.loop,this.situation.loop=i):(this.absPos=this.situation.loops,this.pos=1,n=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-n)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var r=this.situation.ease(this.pos);for(var s in this.situation.once)s>this.lastPos&&s<=r&&(this.situation.once[s].call(this.target(),this.pos,r),delete this.situation.once[s]);return this.active&&this.target().fire("during",{pos:this.pos,eased:r,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=r,this):this},eachAt:function(){var e,t=this,i=this.target(),n=this.situation;for(var r in n.animations)e=[].concat(n.animations[r]).map(function(e){return"string"!=typeof e&&e.at?e.at(n.ease(t.pos),t.pos):e}),i[r].apply(i,e);for(var r in n.attrs)e=[r].concat(n.attrs[r]).map(function(e){return"string"!=typeof e&&e.at?e.at(n.ease(t.pos),t.pos):e}),i.attr.apply(i,e);for(var r in n.styles)e=[r].concat(n.styles[r]).map(function(e){return"string"!=typeof e&&e.at?e.at(n.ease(t.pos),t.pos):e}),i.style.apply(i,e);if(n.transforms.length){e=n.initialTransformation,r=0;for(var s=n.transforms.length;r<s;r++){var o=n.transforms[r];o instanceof c.Matrix?e=o.relative?e.multiply((new c.Matrix).morph(o).at(n.ease(this.pos))):e.morph(o).at(n.ease(this.pos)):(o.relative||o.undo(e.extract()),e=e.multiply(o.at(n.ease(this.pos))))}i.matrix(e)}return this},once:function(e,t,i){var n=this.last();return i||(e=n.ease(e)),n.once[e]=t,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:c.Element,construct:{animate:function(e,t,i){return(this.fx||(this.fx=new c.FX(this))).animate(e,t,i)},delay:function(e){return(this.fx||(this.fx=new c.FX(this))).delay(e)},stop:function(e,t){return this.fx&&this.fx.stop(e,t),this},finish:function(){return this.fx&&this.fx.finish(),this}}}),c.MorphObj=c.invent({create:function(e,t){return c.Color.isColor(t)?new c.Color(e).morph(t):c.regex.delimiter.test(e)?c.regex.pathLetters.test(e)?new c.PathArray(e).morph(t):new c.Array(e).morph(t):c.regex.numberAndUnit.test(t)?new c.Number(e).morph(t):(this.value=e,void(this.destination=t))},extend:{at:function(e,t){return t<1?this.value:this.destination},valueOf:function(){return this.value}}}),c.extend(c.FX,{attr:function(e,t,i){if("object"===_(e))for(var n in e)this.attr(n,e[n]);else this.add(e,t,"attrs");return this},plot:function(e,t,i,n){return 4==arguments.length?this.plot([e,t,i,n]):this.add("plot",new(this.target().morphArray)(e))}}),c.Box=c.invent({create:function(e,t,i,n){if(!("object"!==_(e)||e instanceof c.Element))return c.Box.call(this,null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height);4==arguments.length&&(this.x=e,this.y=t,this.width=i,this.height=n),g(this)}}),c.BBox=c.invent({create:function(t){if(c.Box.apply(this,[].slice.call(arguments)),t instanceof c.Element){var i;try{if(!s.documentElement.contains){for(var e=t.node;e.parentNode;)e=e.parentNode;if(e!=s)throw new Error("Element not in the dom")}i=t.node.getBBox()}catch(e){if(t instanceof c.Shape){c.parser.draw||c.prepare();var n=t.clone(c.parser.draw.instance).show();i=n.node.getBBox(),n.remove()}else i={x:t.node.clientLeft,y:t.node.clientTop,width:t.node.clientWidth,height:t.node.clientHeight}}c.Box.call(this,i)}},inherit:c.Box,parent:c.Element,construct:{bbox:function(){return new c.BBox(this)}}}),c.BBox.prototype.constructor=c.BBox,c.Matrix=c.invent({create:function(e){var t=p([1,0,0,1,0,0]);e=e instanceof c.Element?e.matrixify():"string"==typeof e?p(e.split(c.regex.delimiter).map(parseFloat)):6==arguments.length?p([].slice.call(arguments)):Array.isArray(e)?p(e):"object"===_(e)?e:t;for(var i=y.length-1;i>=0;--i)this[y[i]]=null!=e[y[i]]?e[y[i]]:t[y[i]]},extend:{extract:function(){var e=f(this,0,1),t=(f(this,1,0),180/Math.PI*Math.atan2(e.y,e.x)-90);return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(t*Math.PI/180)+this.f*Math.sin(t*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(t*Math.PI/180)+this.e*Math.sin(-t*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new c.Matrix(this)}},clone:function(){return new c.Matrix(this)},morph:function(e){return this.destination=new c.Matrix(e),this},multiply:function(e){return new c.Matrix(this.native().multiply(function(e){return e instanceof c.Matrix||(e=new c.Matrix(e)),e}(e).native()))},inverse:function(){return new c.Matrix(this.native().inverse())},translate:function(e,t){return new c.Matrix(this.native().translate(e||0,t||0))},native:function(){for(var e=c.parser.native.createSVGMatrix(),t=y.length-1;t>=0;t--)e[y[t]]=this[y[t]];return e},toString:function(){return"matrix("+v(this.a)+","+v(this.b)+","+v(this.c)+","+v(this.d)+","+v(this.e)+","+v(this.f)+")"}},parent:c.Element,construct:{ctm:function(){return new c.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof c.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new c.Matrix(t)}return new c.Matrix(this.node.getScreenCTM())}}}),c.Point=c.invent({create:function(e,t){var i;i=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===_(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=i.x,this.y=i.y},extend:{clone:function(){return new c.Point(this)},morph:function(e,t){return this.destination=new c.Point(e,t),this}}}),c.extend(c.Element,{point:function(e,t){return new c.Point(e,t).transform(this.screenCTM().inverse())}}),c.extend(c.Element,{attr:function(e,t,i){if(null==e){for(e={},i=(t=this.node.attributes).length-1;i>=0;i--)e[t[i].nodeName]=c.regex.isNumber.test(t[i].nodeValue)?parseFloat(t[i].nodeValue):t[i].nodeValue;return e}if("object"===_(e))for(var n in e)this.attr(n,e[n]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?c.defaults.attrs[e]:c.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(c.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof c.Image&&(t=this.doc().defs().pattern(0,0,function(){this.add(t)}))),"number"==typeof t?t=new c.Number(t):c.Color.isColor(t)?t=new c.Color(t):Array.isArray(t)&&(t=new c.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof i?this.node.setAttributeNS(i,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),c.extend(c.Element,{transform:function(e,t){var i;return"object"!==_(e)?(i=new c.Matrix(this).extract(),"string"==typeof e?i[e]:i):(i=new c.Matrix(this),t=!!t||!!e.relative,null!=e.a&&(i=t?i.multiply(new c.Matrix(e)):new c.Matrix(e)),this.attr("transform",i))}}),c.extend(c.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(c.regex.transforms).slice(0,-1).map(function(e){var t=e.trim().split("(");return[t[0],t[1].split(c.regex.delimiter).map(function(e){return parseFloat(e)})]}).reduce(function(e,t){return"matrix"==t[0]?e.multiply(p(t[1])):e[t[0]].apply(e,t[1])},new c.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),i=e.screenCTM().inverse();return this.addTo(e).untransform().transform(i.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),c.Transformation=c.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var i=0,n=this.arguments.length;i<n;++i)this[this.arguments[i]]=e[i];else if("object"===_(e))for(i=0,n=this.arguments.length;i<n;++i)this[this.arguments[i]]=e[this.arguments[i]];this.inversed=!1,!0===t&&(this.inversed=!0)}}),c.Translate=c.invent({parent:c.Matrix,inherit:c.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),c.extend(c.Element,{style:function(e,t){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"===_(e))for(var i in e)this.style(i,e[i]);else{if(!c.regex.isCss.test(e))return this.node.style[o(e)];for(e=e.split(/\s*;\s*/).filter(function(e){return!!e}).map(function(e){return e.split(/\s*:\s*/)});t=e.pop();)this.style(t[0],t[1])}else this.node.style[o(e)]=null===t||c.regex.isBlank.test(t)?"":t;return this}}),c.Parent=c.invent({create:function(e){this.constructor.call(this,e)},inherit:c.Element,extend:{children:function(){return c.utils.map(c.utils.filterSVGElements(this.node.childNodes),function(e){return c.adopt(e)})},add:function(e,t){return null==t?this.node.appendChild(e.node):e.node!=this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this},put:function(e,t){return this.add(e,t),e},has:function(e){return this.index(e)>=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return c.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){for(var i=this.children(),n=0,r=i.length;n<r;n++)i[n]instanceof c.Element&&e.apply(i[n],[n,i]),t&&i[n]instanceof c.Container&&i[n].each(e,t);return this},removeElement:function(e){return this.node.removeChild(e.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),c.extend(c.Parent,{ungroup:function(e,t){return 0===t||this instanceof c.Defs||this.node==c.parser.draw||(e=e||(this instanceof c.Doc?this:this.parent(c.Parent)),t=t||1/0,this.each(function(){return this instanceof c.Defs?this:this instanceof c.Parent?this.ungroup(e,t-1):this.toParent(e)}),this.node.firstChild||this.remove()),this},flatten:function(e,t){return this.ungroup(e,t)}}),c.Container=c.invent({create:function(e){this.constructor.call(this,e)},inherit:c.Parent}),c.ViewBox=c.invent({parent:c.Container,construct:{}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(t){c.Element.prototype[t]=function(e){return c.on(this.node,t,e),this}}),c.listeners=[],c.handlerMap=[],c.listenerId=0,c.on=function(e,t,i,n,r){var s=i.bind(n||e.instance||e),o=(c.handlerMap.indexOf(e)+1||c.handlerMap.push(e))-1,a=t.split(".")[0],l=t.split(".")[1]||"*";c.listeners[o]=c.listeners[o]||{},c.listeners[o][a]=c.listeners[o][a]||{},c.listeners[o][a][l]=c.listeners[o][a][l]||{},i._svgjsListenerId||(i._svgjsListenerId=++c.listenerId),c.listeners[o][a][l][i._svgjsListenerId]=s,e.addEventListener(a,s,r||!1)},c.off=function(e,t,i){var n=c.handlerMap.indexOf(e),r=t&&t.split(".")[0],s=t&&t.split(".")[1],o="";if(-1!=n)if(i){if("function"==typeof i&&(i=i._svgjsListenerId),!i)return;c.listeners[n][r]&&c.listeners[n][r][s||"*"]&&(e.removeEventListener(r,c.listeners[n][r][s||"*"][i],!1),delete c.listeners[n][r][s||"*"][i])}else if(s&&r){if(c.listeners[n][r]&&c.listeners[n][r][s]){for(var a in c.listeners[n][r][s])c.off(e,[r,s].join("."),a);delete c.listeners[n][r][s]}}else if(s)for(var l in c.listeners[n])for(var o in c.listeners[n][l])s===o&&c.off(e,[l,s].join("."));else if(r){if(c.listeners[n][r]){for(var o in c.listeners[n][r])c.off(e,[r,o].join("."));delete c.listeners[n][r]}}else{for(var l in c.listeners[n])c.off(e,l);delete c.listeners[n],delete c.handlerMap[n]}},c.extend(c.Element,{on:function(e,t,i,n){return c.on(this.node,e,t,i,n),this},off:function(e,t){return c.off(this.node,e,t),this},fire:function(e,t){return e instanceof r.Event?this.node.dispatchEvent(e):this.node.dispatchEvent(e=new c.CustomEvent(e,{detail:t,cancelable:!0})),this._event=e,this},event:function(){return this._event}}),c.Defs=c.invent({create:"defs",inherit:c.Container}),c.G=c.invent({create:"g",inherit:c.Container,extend:{x:function(e){return null==e?this.transform("x"):this.transform({x:e-this.x()},!0)}},construct:{group:function(){return this.put(new c.G)}}}),c.Doc=c.invent({create:function(e){e&&("svg"==(e="string"==typeof e?s.getElementById(e):e).nodeName?this.constructor.call(this,e):(this.constructor.call(this,c.create("svg")),e.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:c.Container,extend:{namespace:function(){return this.attr({xmlns:c.ns,version:"1.1"}).attr("xmlns:xlink",c.xlink,c.xmlns).attr("xmlns:svgjs",c.svgjs,c.xmlns)},defs:function(){var e;return this._defs||((e=this.node.getElementsByTagName("defs")[0])?this._defs=c.adopt(e):this._defs=new c.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName?this.node.parentNode:null},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,c.parser.draw&&!c.parser.draw.parentNode&&this.node.appendChild(c.parser.draw),this},clone:function(e){this.writeDataToDom();var t=this.node,i=m(t.cloneNode(!0));return e?(e.node||e).appendChild(i.node):t.parentNode.insertBefore(i.node,t.nextSibling),i}}}),c.extend(c.Element,{}),c.Gradient=c.invent({create:function(e){this.constructor.call(this,c.create(e+"Gradient")),this.type=e},inherit:c.Container,extend:{at:function(e,t,i){return this.put(new c.Stop).update(e,t,i)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="gradientTransform"),c.Container.prototype.attr.call(this,e,t,i)}},construct:{gradient:function(e,t){return this.defs().gradient(e,t)}}}),c.extend(c.Gradient,c.FX,{from:function(e,t){return"radial"==(this._target||this).type?this.attr({fx:new c.Number(e),fy:new c.Number(t)}):this.attr({x1:new c.Number(e),y1:new c.Number(t)})},to:function(e,t){return"radial"==(this._target||this).type?this.attr({cx:new c.Number(e),cy:new c.Number(t)}):this.attr({x2:new c.Number(e),y2:new c.Number(t)})}}),c.extend(c.Defs,{gradient:function(e,t){return this.put(new c.Gradient(e)).update(t)}}),c.Stop=c.invent({create:"stop",inherit:c.Element,extend:{update:function(e){return("number"==typeof e||e instanceof c.Number)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",new c.Number(e.offset)),this}}}),c.Pattern=c.invent({create:"pattern",inherit:c.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return this.fill()},attr:function(e,t,i){return"transform"==e&&(e="patternTransform"),c.Container.prototype.attr.call(this,e,t,i)}},construct:{pattern:function(e,t,i){return this.defs().pattern(e,t,i)}}}),c.extend(c.Defs,{pattern:function(e,t,i){return this.put(new c.Pattern).update(i).attr({x:0,y:0,width:e,height:t,patternUnits:"userSpaceOnUse"})}}),c.Shape=c.invent({create:function(e){this.constructor.call(this,e)},inherit:c.Element}),c.Symbol=c.invent({create:"symbol",inherit:c.Container,construct:{symbol:function(){return this.put(new c.Symbol)}}}),c.Use=c.invent({create:"use",inherit:c.Shape,extend:{element:function(e,t){return this.attr("href",(t||"")+"#"+e,c.xlink)}},construct:{use:function(e,t){return this.put(new c.Use).element(e,t)}}}),c.Rect=c.invent({create:"rect",inherit:c.Shape,construct:{rect:function(e,t){return this.put(new c.Rect).size(e,t)}}}),c.Circle=c.invent({create:"circle",inherit:c.Shape,construct:{circle:function(e){return this.put(new c.Circle).rx(new c.Number(e).divide(2)).move(0,0)}}}),c.extend(c.Circle,c.FX,{rx:function(e){return this.attr("r",e)},ry:function(e){return this.rx(e)}}),c.Ellipse=c.invent({create:"ellipse",inherit:c.Shape,construct:{ellipse:function(e,t){return this.put(new c.Ellipse).size(e,t).move(0,0)}}}),c.extend(c.Ellipse,c.Rect,c.FX,{rx:function(e){return this.attr("rx",e)},ry:function(e){return this.attr("ry",e)}}),c.extend(c.Circle,c.Ellipse,{x:function(e){return null==e?this.cx()-this.rx():this.cx(e+this.rx())},y:function(e){return null==e?this.cy()-this.ry():this.cy(e+this.ry())},cx:function(e){return null==e?this.attr("cx"):this.attr("cx",e)},cy:function(e){return null==e?this.attr("cy"):this.attr("cy",e)},width:function(e){return null==e?2*this.rx():this.rx(new c.Number(e).divide(2))},height:function(e){return null==e?2*this.ry():this.ry(new c.Number(e).divide(2))},size:function(e,t){var i=h(this,e,t);return this.rx(new c.Number(i.width).divide(2)).ry(new c.Number(i.height).divide(2))}}),c.Line=c.invent({create:"line",inherit:c.Shape,extend:{array:function(){return new c.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(e,t,i,n){return null==e?this.array():(e=void 0!==t?{x1:e,y1:t,x2:i,y2:n}:new c.PointArray(e).toLine(),this.attr(e))},move:function(e,t){return this.attr(this.array().move(e,t).toLine())},size:function(e,t){var i=h(this,e,t);return this.attr(this.array().size(i.width,i.height).toLine())}},construct:{line:function(e,t,i,n){return c.Line.prototype.plot.apply(this.put(new c.Line),null!=e?[e,t,i,n]:[0,0,0,0])}}}),c.Polyline=c.invent({create:"polyline",inherit:c.Shape,construct:{polyline:function(e){return this.put(new c.Polyline).plot(e||new c.PointArray)}}}),c.Polygon=c.invent({create:"polygon",inherit:c.Shape,construct:{polygon:function(e){return this.put(new c.Polygon).plot(e||new c.PointArray)}}}),c.extend(c.Polyline,c.Polygon,{array:function(){return this._array||(this._array=new c.PointArray(this.attr("points")))},plot:function(e){return null==e?this.array():this.clear().attr("points","string"==typeof e?e:this._array=new c.PointArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("points",this.array().move(e,t))},size:function(e,t){var i=h(this,e,t);return this.attr("points",this.array().size(i.width,i.height))}}),c.extend(c.Line,c.Polyline,c.Polygon,{morphArray:c.PointArray,x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},width:function(e){var t=this.bbox();return null==e?t.width:this.size(e,t.height)},height:function(e){var t=this.bbox();return null==e?t.height:this.size(t.width,e)}}),c.Path=c.invent({create:"path",inherit:c.Shape,extend:{morphArray:c.PathArray,array:function(){return this._array||(this._array=new c.PathArray(this.attr("d")))},plot:function(e){return null==e?this.array():this.clear().attr("d","string"==typeof e?e:this._array=new c.PathArray(e))},clear:function(){return delete this._array,this}},construct:{path:function(e){return this.put(new c.Path).plot(e||new c.PathArray)}}}),c.Image=c.invent({create:"image",inherit:c.Shape,extend:{load:function(t){if(!t)return this;var i=this,n=new r.Image;return c.on(n,"load",function(){c.off(n);var e=i.parent(c.Pattern);null!==e&&(0==i.width()&&0==i.height()&&i.size(n.width,n.height),e&&0==e.width()&&0==e.height()&&e.size(i.width(),i.height()),"function"==typeof i._loaded&&i._loaded.call(i,{width:n.width,height:n.height,ratio:n.width/n.height,url:t}))}),c.on(n,"error",function(e){c.off(n),"function"==typeof i._error&&i._error.call(i,e)}),this.attr("href",n.src=this.src=t,c.xlink)},loaded:function(e){return this._loaded=e,this},error:function(e){return this._error=e,this}},construct:{image:function(e,t,i){return this.put(new c.Image).load(e).size(t||0,i||t||0)}}}),c.Text=c.invent({create:function(){this.constructor.call(this,c.create("text")),this.dom.leading=new c.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",c.defaults.attrs["font-family"])},inherit:c.Shape,extend:{x:function(e){return null==e?this.attr("x"):this.attr("x",e)},text:function(e){if(void 0===e){e="";for(var t=this.node.childNodes,i=0,n=t.length;i<n;++i)0!=i&&3!=t[i].nodeType&&1==c.adopt(t[i]).dom.newLined&&(e+="\n"),e+=t[i].textContent;return e}if(this.clear().build(!0),"function"==typeof e)e.call(this,this);else{i=0;for(var r=(e=e.split("\n")).length;i<r;i++)this.tspan(e[i]).newLine()}return this.build(!1).rebuild()},size:function(e){return this.attr("font-size",e).rebuild()},leading:function(e){return null==e?this.dom.leading:(this.dom.leading=new c.Number(e),this.rebuild())},lines:function(){var e=(this.textPath&&this.textPath()||this).node,t=c.utils.map(c.utils.filterSVGElements(e.childNodes),function(e){return c.adopt(e)});return new c.Set(t)},rebuild:function(e){if("boolean"==typeof e&&(this._rebuild=e),this._rebuild){var t=this,i=0,n=this.dom.leading*new c.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(t.textPath()||this.attr("x",t.attr("x")),"\n"==this.text()?i+=n:(this.attr("dy",n+i),i=0))}),this.fire("rebuild")}return this},build:function(e){return this._build=!!e,this},setData:function(e){return this.dom=e,this.dom.leading=new c.Number(e.leading||1.3),this}},construct:{text:function(e){return this.put(new c.Text).text(e)},plain:function(e){return this.put(new c.Text).plain(e)}}}),c.Tspan=c.invent({create:"tspan",inherit:c.Shape,extend:{text:function(e){return null==e?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof e?e.call(this,this):this.plain(e),this)},dx:function(e){return this.attr("dx",e)},dy:function(e){return this.attr("dy",e)},newLine:function(){var e=this.parent(c.Text);return this.dom.newLined=!0,this.dy(e.dom.leading*e.attr("font-size")).attr("x",e.x())}}}),c.extend(c.Text,c.Tspan,{plain:function(e){return!1===this._build&&this.clear(),this.node.appendChild(s.createTextNode(e)),this},tspan:function(e){var t=(this.textPath&&this.textPath()||this).node,i=new c.Tspan;return!1===this._build&&this.clear(),t.appendChild(i.node),i.text(e)},clear:function(){for(var e=(this.textPath&&this.textPath()||this).node;e.hasChildNodes();)e.removeChild(e.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),c.TextPath=c.invent({create:"textPath",inherit:c.Parent,parent:c.Text,construct:{morphArray:c.PathArray,array:function(){var e=this.track();return e?e.array():null},plot:function(e){var t=this.track(),i=null;return t&&(i=t.plot(e)),null==e?i:this},track:function(){var e=this.textPath();if(e)return e.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return c.adopt(this.node.firstChild)}}}),c.Nested=c.invent({create:function(){this.constructor.call(this,c.create("svg")),this.style("overflow","visible")},inherit:c.Container,construct:{nested:function(){return this.put(new c.Nested)}}});var n={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(e,t){return"color"==t?e:e+"-"+t}};function u(e,t,i,n){return i+n.replace(c.regex.dots," .")}function o(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function d(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function h(e,t,i){if(null==t||null==i){var n=e.bbox();null==t?t=n.width/n.height*i:null==i&&(i=n.height/n.width*t)}return{width:t,height:i}}function f(e,t,i){return{x:t*e.a+i*e.c+0,y:t*e.b+i*e.d+0}}function p(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}function m(e){for(var t=e.childNodes.length-1;t>=0;t--)e.childNodes[t]instanceof r.SVGElement&&m(e.childNodes[t]);return c.adopt(e).id(c.eid(e.nodeName))}function g(e){return null==e.x&&(e.x=0,e.y=0,e.width=0,e.height=0),e.w=e.width,e.h=e.height,e.x2=e.x+e.width,e.y2=e.y+e.height,e.cx=e.x+e.width/2,e.cy=e.y+e.height/2,e}function v(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach(function(i){var e={};e[i]=function(e){if(void 0===e)return this;if("string"==typeof e||c.Color.isRgb(e)||e&&"function"==typeof e.fill)this.attr(i,e);else for(var t=n[i].length-1;t>=0;t--)null!=e[n[i][t]]&&this.attr(n.prefix(i,n[i][t]),e[n[i][t]]);return this},c.extend(c.Element,c.FX,e)}),c.extend(c.Element,c.FX,{translate:function(e,t){return this.transform({x:e,y:t})},matrix:function(e){return this.attr("transform",new c.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new c.Number(e).plus(this instanceof c.FX?0:this.x()),!0)},dy:function(e){return this.y(new c.Number(e).plus(this instanceof c.FX?0:this.y()),!0)}}),c.extend(c.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),c.Set=c.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){for(var e=[].slice.call(arguments),t=0,i=e.length;t<i;t++)this.members.push(e[t]);return this},remove:function(e){var t=this.index(e);return t>-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,i=this.members.length;t<i;t++)e.apply(this.members[t],[t,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(e){return this.index(e)>=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(e){return new c.Set(e)}}}),c.FX.Set=c.invent({create:function(e){this.set=e}}),c.Set.inherit=function(){var e=[];for(var t in c.Shape.prototype)"function"==typeof c.Shape.prototype[t]&&"function"!=typeof c.Set.prototype[t]&&e.push(t);for(var t in e.forEach(function(i){c.Set.prototype[i]=function(){for(var e=0,t=this.members.length;e<t;e++)this.members[e]&&"function"==typeof this.members[e][i]&&this.members[e][i].apply(this.members[e],arguments);return"animate"==i?this.fx||(this.fx=new c.FX.Set(this)):this}}),e=[],c.FX.prototype)"function"==typeof c.FX.prototype[t]&&"function"!=typeof c.FX.Set.prototype[t]&&e.push(t);e.forEach(function(i){c.FX.Set.prototype[i]=function(){for(var e=0,t=this.set.members.length;e<t;e++)this.set.members[e].fx[i].apply(this.set.members[e].fx,arguments);return this}})},c.extend(c.Element,{}),c.extend(c.Element,{remember:function(e,t){if("object"===_(arguments[0]))for(var i in e)this.remember(i,e[i]);else{if(1==arguments.length)return this.memory()[e];this.memory()[e]=t}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var e=arguments.length-1;e>=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),c.get=function(e){var t=s.getElementById(function(e){var t=(e||"").toString().match(c.regex.reference);if(t)return t[1]}(e)||e);return c.adopt(t)},c.select=function(e,t){return new c.Set(c.utils.map((t||s).querySelectorAll(e),function(e){return c.adopt(e)}))},c.extend(c.Parent,{select:function(e){return c.select(e,this.node)}});var y="abcdef".split("");if("function"!=typeof r.CustomEvent){var b=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=s.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i};b.prototype=r.Event.prototype,c.CustomEvent=b}else c.CustomEvent=r.CustomEvent;return c})?!((at=function(){return W(e,e.document)}.call(st,ot,st,rt))!==undefined&&(rt.exports=at)):undefined,function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,i){return this.put(new SVG.BlendEffect(e,t,i))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,i){return this.put(new SVG.CompositeEffect(e,t,i))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,i){return this.put(new SVG.DiffuseLightingEffect(e,t,i))},displacementMap:function(e,t,i,n,r){return this.put(new SVG.DisplacementMapEffect(e,t,i,n,r))},specularLighting:function(e,t,i,n){return this.put(new SVG.SpecularLightingEffect(e,t,i,n))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,i,n,r){return this.put(new SVG.TurbulenceEffect(e,t,i,n,r))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,i){return this.parent()&&this.parent().diffuseLighting(e,t,i).in(this)},displacementMap:function(e,t,i,n){return this.parent()&&this.parent().displacementMap(this,e,t,i,n)},specularLighting:function(e,t,i,n){return this.parent()&&this.parent().specularLighting(e,t,i,n).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,i,n,r){return this.parent()&&this.parent().turbulence(e,t,i,n,r).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,i){this.attr({in:e,in2:t,mode:i||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=r(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=r(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,i){this.attr({in:e,in2:t,operator:i})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,i,n,r){this.attr({in:e,in2:t,scale:i,xChannelSelector:n,yChannelSelector:r})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",s(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(e,t){this.attr({operator:e,radius:t})},tile:function(){},turbulence:function(e,t,i,n,r){this.attr({numOctaves:t,seed:i,stitchTiles:n,baseFrequency:e,type:r})}},i={merge:function(){var e;if(arguments[0]instanceof SVG.Set){var t=this;arguments[0].each(function(e){this instanceof SVG.MergeNode?t.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&t.put(new SVG.MergeNode(this))})}else{e=Array.isArray(arguments[0])?arguments[0]:arguments;for(var i=0;i<e.length;i++)e[i]instanceof SVG.MergeNode?this.put(e[i]):this.put(new SVG.MergeNode(e[i]))}},componentTransfer:function(t){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(e){this[e]=new SVG["Func"+e.toUpperCase()]("identity"),this.rgb.add(this[e]),this.node.appendChild(this[e].node)}.bind(this)),t)for(var e in t.rgb&&(["r","g","b"].forEach(function(e){this[e].attr(t.rgb)}.bind(this)),delete t.rgb),t)this[e].attr(t[e])},diffuseLighting:function(e,t,i){this.attr({surfaceScale:e,diffuseConstant:t,kernelUnitLength:i})},specularLighting:function(e,t,i,n){this.attr({surfaceScale:e,diffuseConstant:t,specularExponent:i,kernelUnitLength:n})}},n={distantLight:function(e,t){this.attr({azimuth:e,elevation:t})},pointLight:function(e,t,i){this.attr({x:e,y:t,z:i})},spotLight:function(e,t,i,n,r,s){this.attr({x:e,y:t,z:i,pointsAtX:n,pointsAtY:r,pointsAtZ:s})},mergeNode:function(e){this.attr("in",e)}};function r(e){return Array.isArray(e)&&(e=new SVG.Array(e)),e.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function s(e){if(!Array.isArray(e))return e;for(var t=0,i=e.length,n=[];t<i;t++)n.push(e[t]);return n.join(" ")}function o(){var e=function(){};for(var t in"function"==typeof arguments[arguments.length-1]&&(e=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var i in arguments[t])e(arguments[t][i],i,arguments[t])}["r","g","b","a"].forEach(function(e){n["Func"+e.toUpperCase()]=function(e){switch(this.attr("type",e),e){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),o(t,function(e,t){var i=t.charAt(0).toUpperCase()+t.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),o(i,function(e,t){var i=t.charAt(0).toUpperCase()+t.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),e.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),o(n,function(e,t){var i=t.charAt(0).toUpperCase()+t.slice(1);SVG[i]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),e.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(e){return e instanceof SVG.MergeNode?this.add(e,0):this.add(new SVG.MergeNode(e),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",e)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),SVG.extend(SVG.PathArray,{morph:function(e){for(var t=this.value,i=this.parse(e),n=0,r=0,s=!1,o=!1;!1!==n||!1!==r;){var a;s=ze(t,!1!==n&&n+1),o=ze(i,!1!==r&&r+1),!1===n&&(n=0==(a=new SVG.PathArray(l.start).bbox()).height||0==a.width?t.push(t[0])-1:t.push(["M",a.x+a.width/2,a.y+a.height/2])-1),!1===r&&(r=0==(a=new SVG.PathArray(l.dest).bbox()).height||0==a.width?i.push(i[0])-1:i.push(["M",a.x+a.width/2,a.y+a.height/2])-1);var l=Ne(t,n,s,i,r,o);t=t.slice(0,n).concat(l.start,!1===s?[]:t.slice(s)),i=i.slice(0,r).concat(l.dest,!1===o?[]:i.slice(o)),n=!1!==s&&n+l.start.length,r=!1!==o&&r+l.dest.length}return this.value=t,this.destination=new SVG.PathArray,this.destination.value=i,this}}),function(){function n(e){e.remember("_draggable",this),this.el=e}n.prototype.init=function(e,t){var i=this;this.constraint=e,this.value=t,this.el.on("mousedown.drag",function(e){i.start(e)}),this.el.on("touchstart.drag",function(e){i.start(e)})},n.prototype.transformPoint=function(e,t){var i=(e=e||window.event).changedTouches&&e.changedTouches[0]||e;return this.p.x=i.clientX-(t||0),this.p.y=i.clientY,this.p.matrixTransform(this.m)},n.prototype.getBBox=function(){var e=this.el.bbox();return this.el instanceof SVG.Nested&&(e=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(e.x=this.el.x(),e.y=this.el.y()),e},n.prototype.start=function(e){if("click"!=e.type&&"mousedown"!=e.type&&"mousemove"!=e.type||1==(e.which||e.buttons)){var t=this;if(this.el.fire("beforedrag",{event:e,handler:this}),!this.el.event().defaultPrevented){e.preventDefault(),e.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var i,n=this.getBBox();if(this.el instanceof SVG.Text)switch(i=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":i/=2;break;case"start":i=0}this.startPoints={point:this.transformPoint(e,i),box:n,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(e){t.drag(e)}),SVG.on(window,"touchmove.drag",function(e){t.drag(e)}),SVG.on(window,"mouseup.drag",function(e){t.end(e)}),SVG.on(window,"touchend.drag",function(e){t.end(e)}),this.el.fire("dragstart",{event:e,p:this.startPoints.point,m:this.m,handler:this})}}},n.prototype.drag=function(e){var t=this.getBBox(),i=this.transformPoint(e),n=this.startPoints.box.x+i.x-this.startPoints.point.x,r=this.startPoints.box.y+i.y-this.startPoints.point.y,s=this.constraint,o=i.x-this.startPoints.point.x,a=i.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:e,p:i,m:this.m,handler:this}),this.el.event().defaultPrevented)return i;if("function"==typeof s){var l=s.call(this.el,n,r,this.m);"boolean"==typeof l&&(l={x:l,y:l}),!0===l.x?this.el.x(n):!1!==l.x&&this.el.x(l.x),!0===l.y?this.el.y(r):!1!==l.y&&this.el.y(l.y)}else"object"==typeof s&&(null!=s.minX&&n<s.minX?o=(n=s.minX)-this.startPoints.box.x:null!=s.maxX&&n>s.maxX-t.width&&(o=(n=s.maxX-t.width)-this.startPoints.box.x),null!=s.minY&&r<s.minY?a=(r=s.minY)-this.startPoints.box.y:null!=s.maxY&&r>s.maxY-t.height&&(a=(r=s.maxY-t.height)-this.startPoints.box.y),null!=s.snapToGrid&&(n-=n%s.snapToGrid,r-=r%s.snapToGrid,o-=o%s.snapToGrid,a-=a%s.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:o,y:a},!0):this.el.move(n,r));return i},n.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(e,t){"function"!=typeof e&&"object"!=typeof e||(t=e,e=!0);var i=this.remember("_draggable")||new n(this);return(e=void 0===e||e)?i.init(t||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),i.prototype.init=function(e,t){var i=this.el.bbox();this.options={};var n=this.el.selectize.defaults.points;for(var r in this.el.selectize.defaults)this.options[r]=this.el.selectize.defaults[r],void 0!==t[r]&&(this.options[r]=t[r]);var s=["points","pointsExclude"];for(var r in s){var o=this.options[s[r]];"string"==typeof o?o=o.length>0?o.split(/\s*,\s*/i):[]:"boolean"==typeof o&&"points"===s[r]&&(o=o?n:[]),this.options[s[r]]=o}this.options.points=[n,this.options.points].reduce(function(e,t){return e.filter(function(e){return t.indexOf(e)>-1})}),this.options.points=[this.options.points,this.options.pointsExclude].reduce(function(e,t){return e.filter(function(e){return t.indexOf(e)<0})}),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(i.x,i.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},i.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},i.prototype.getPointArray=function(){var t=this.el.bbox();return this.el.array().valueOf().map(function(e){return[e[0]-t.x,e[1]-t.y]})},i.prototype.drawPoints=function(){for(var r=this,e=this.getPointArray(),t=0,i=e.length;t<i;++t){var n=function(n){return function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation();var t=e.pageX||e.touches[0].pageX,i=e.pageY||e.touches[0].pageY;r.el.fire("point",{x:t,y:i,i:n,event:e})}}(t),s=this.drawPoint(e[t][0],e[t][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",n).on("mousedown",n);this.pointSelection.set.add(s)}},i.prototype.drawPoint=function(e,t){var i=this.options.pointType;switch(i){case"circle":return this.drawCircle(e,t);case"rect":return this.drawRect(e,t);default:if("function"==typeof i)return i.call(this,e,t);throw new Error("Unknown "+i+" point type!")}},i.prototype.drawCircle=function(e,t){return this.nested.circle(this.options.pointSize).center(e,t)},i.prototype.drawRect=function(e,t){return this.nested.rect(this.options.pointSize,this.options.pointSize).center(e,t)},i.prototype.updatePointSelection=function(){var t=this.getPointArray();this.pointSelection.set.each(function(e){this.cx()===t[e][0]&&this.cy()===t[e][1]||this.center(t[e][0],t[e][1])})},i.prototype.updateRectSelection=function(){var n=this,r=this.el.bbox();if(this.rectSelection.set.get(0).attr({width:r.width,height:r.height}),this.options.points.length&&this.options.points.map(function(e,t){var i=n.pointCoords(e,r);n.rectSelection.set.get(t+1).center(i.x,i.y)}),this.options.rotationPoint){var e=this.rectSelection.set.length();this.rectSelection.set.get(e-1).center(r.width/2,20)}},i.prototype.selectRect=function(e){var r=this,s=this.el.bbox();function o(n){return function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation();var t=e.pageX||e.touches[0].pageX,i=e.pageY||e.touches[0].pageY;r.el.fire(n,{x:t,y:i,event:e})}}if(this.rectSelection.isSelected=e,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(s.width,s.height).addClass(this.options.classRect)),this.options.points.length&&this.rectSelection.set.length()<2)this.options.points.map(function(e,t){var i=r.pointCoords(e,s),n=r.drawPoint(i.x,i.y).attr("class",r.options.classPoints+"_"+e).on("mousedown",o(e)).on("touchstart",o(e));r.rectSelection.set.add(n)}),this.rectSelection.set.each(function(){this.addClass(r.options.classPoints)});if(this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var t=function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation();var t=e.pageX||e.touches[0].pageX,i=e.pageY||e.touches[0].pageY;r.el.fire("rot",{x:t,y:i,event:e})},i=this.drawPoint(s.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",t).on("mousedown",t);this.rectSelection.set.add(i)}},i.prototype.handler=function(){var e=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(e.x,e.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},i.prototype.observe=function(){var e=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){e.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch(e){}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){e.handler()})},i.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(e,t){return"object"==typeof e&&(t=e,e=!0),(this.remember("_selectHandler")||new i(this)).init(void 0===e||e,t||{}),this}}),SVG.Element.prototype.selectize.defaults={points:["lt","rt","rb","lb","t","r","b","l"],pointsExclude:[],classRect:"svg_select_boundingRect",classPoints:"svg_select_points",pointSize:7,rotationPoint:!0,deepSelect:!1,pointType:"circle"},function(){(function(){function t(e){e.remember("_resizeHandler",this),this.el=e,this.parameters={},this.lastUpdateCall=null,this.p=e.doc().node.createSVGPoint()}t.prototype.transformPoint=function(e,t,i){return this.p.x=e-(this.offset.x-window.pageXOffset),this.p.y=t-(this.offset.y-window.pageYOffset),this.p.matrixTransform(i||this.m)},t.prototype._extractPosition=function(e){return{x:null!=e.clientX?e.clientX:e.touches[0].clientX,y:null!=e.clientY?e.clientY:e.touches[0].clientY}},t.prototype.init=function(e){var t=this;if(this.stop(),"stop"!==e){for(var i in this.options={},this.el.resize.defaults)this.options[i]=this.el.resize.defaults[i],void 0!==e[i]&&(this.options[i]=e[i]);this.el.on("lt.resize",function(e){t.resize(e||window.event)}),this.el.on("rt.resize",function(e){t.resize(e||window.event)}),this.el.on("rb.resize",function(e){t.resize(e||window.event)}),this.el.on("lb.resize",function(e){t.resize(e||window.event)}),this.el.on("t.resize",function(e){t.resize(e||window.event)}),this.el.on("r.resize",function(e){t.resize(e||window.event)}),this.el.on("b.resize",function(e){t.resize(e||window.event)}),this.el.on("l.resize",function(e){t.resize(e||window.event)}),this.el.on("rot.resize",function(e){t.resize(e||window.event)}),this.el.on("point.resize",function(e){t.resize(e||window.event)}),this.update()}},t.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},t.prototype.resize=function(e){var t=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var i=this._extractPosition(e.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(i.x,i.y),x:e.detail.x,y:e.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},"text"===this.el.type&&(this.parameters.fontSize=this.el.attr()["font-size"]),void 0!==e.detail.i){var n=this.el.array().valueOf();this.parameters.i=e.detail.i,this.parameters.pointCoords=[n[e.detail.i][0],n[e.detail.i][1]]}switch(e.type){case"lt":this.calc=function(e,t){var i=this.snapToGrid(e,t);if(this.parameters.box.width-i[0]>0&&this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y+i[1]).size(this.parameters.box.width-i[0],this.parameters.box.height-i[1])}};break;case"rt":this.calc=function(e,t){var i=this.snapToGrid(e,t,2);if(this.parameters.box.width+i[0]>0&&this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).size(this.parameters.box.width+i[0],this.parameters.box.height-i[1])}};break;case"rb":this.calc=function(e,t){var i=this.snapToGrid(e,t,0);if(this.parameters.box.width+i[0]>0&&this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+i[0],this.parameters.box.height+i[1])}};break;case"lb":this.calc=function(e,t){var i=this.snapToGrid(e,t,1);if(this.parameters.box.width-i[0]>0&&this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i,!0),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).size(this.parameters.box.width-i[0],this.parameters.box.height+i[1])}};break;case"t":this.calc=function(e,t){var i=this.snapToGrid(e,t,2);if(this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).height(this.parameters.box.height-i[1])}};break;case"r":this.calc=function(e,t){var i=this.snapToGrid(e,t,0);if(this.parameters.box.width+i[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+i[0])}};break;case"b":this.calc=function(e,t){var i=this.snapToGrid(e,t,0);if(this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+i[1])}};break;case"l":this.calc=function(e,t){var i=this.snapToGrid(e,t,1);if(this.parameters.box.width-i[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).width(this.parameters.box.width-i[0])}};break;case"rot":this.calc=function(e,t){var i=e+this.parameters.p.x,n=t+this.parameters.p.y,r=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),s=Math.atan2(n-this.parameters.box.y-this.parameters.box.height/2,i-this.parameters.box.x-this.parameters.box.width/2),o=this.parameters.rotation+180*(s-r)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(o-o%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var i=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),n=this.el.array().valueOf();n[this.parameters.i][0]=this.parameters.pointCoords[0]+i[0],n[this.parameters.i][1]=this.parameters.pointCoords[1]+i[1],this.el.plot(n)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",function(e){t.update(e||window.event)}),SVG.on(window,"touchend.resize",function(){t.done()}),SVG.on(window,"mousemove.resize",function(e){t.update(e||window.event)}),SVG.on(window,"mouseup.resize",function(){t.done()})},t.prototype.update=function(e){if(e){var t=this._extractPosition(e),i=this.transformPoint(t.x,t.y),n=i.x-this.parameters.p.x,r=i.y-this.parameters.p.y;this.lastUpdateCall=[n,r],this.calc(n,r),this.el.fire("resizing",{dx:n,dy:r,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},t.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},t.prototype.snapToGrid=function(e,t,i,n){var r;return void 0!==n?r=[(i+e)%this.options.snapToGrid,(n+t)%this.options.snapToGrid]:(i=null==i?3:i,r=[(this.parameters.box.x+e+(1&i?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&i?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(r[0]-=this.options.snapToGrid),t<0&&(r[1]-=this.options.snapToGrid),e-=Math.abs(r[0])<this.options.snapToGrid/2?r[0]:r[0]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),t-=Math.abs(r[1])<this.options.snapToGrid/2?r[1]:r[1]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(e,t,i,n)},t.prototype.constraintToBox=function(e,t,i,n){var r,s,o=this.options.constraint||{};return void 0!==n?(r=i,s=n):(r=this.parameters.box.x+(1&i?0:this.parameters.box.width),s=this.parameters.box.y+(2&i?0:this.parameters.box.height)),void 0!==o.minX&&r+e<o.minX&&(e=o.minX-r),void 0!==o.maxX&&r+e>o.maxX&&(e=o.maxX-r),void 0!==o.minY&&s+t<o.minY&&(t=o.minY-s),void 0!==o.maxY&&s+t>o.maxY&&(t=o.maxY-s),[e,t]},t.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var i=e.slice(),n=this.parameters.box.width/this.parameters.box.height,r=this.parameters.box.width+e[0],s=this.parameters.box.height-e[1],o=r/s;return o<n?(i[1]=r/n-this.parameters.box.height,t&&(i[1]=-i[1])):o>n&&(i[0]=this.parameters.box.width-s*n,t&&(i[0]=-i[0])),i},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new t(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}();var $e='.apexcharts-canvas {\n  position: relative;\n  user-select: none;\n  /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 6px;\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n  border-radius: 4px;\n  background-color: rgba(0, 0, 0, .5);\n  box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n}\n\n\n.apexcharts-inner {\n  position: relative;\n}\n\n.apexcharts-text tspan {\n  font-family: inherit;\n}\n\n.legend-mouseover-inactive {\n  transition: 0.15s ease all;\n  opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n  opacity: 0;\n}\n\n.apexcharts-tooltip {\n  border-radius: 5px;\n  box-shadow: 2px 2px 6px -4px #999;\n  cursor: default;\n  font-size: 14px;\n  left: 62px;\n  opacity: 0;\n  pointer-events: none;\n  position: absolute;\n  top: 20px;\n  overflow: hidden;\n  white-space: nowrap;\n  z-index: 12;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n  border: 1px solid #e3e3e3;\n  background: rgba(255, 255, 255, 0.96);\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n  color: #fff;\n  background: rgba(30, 30, 30, 0.8);\n}\n\n.apexcharts-tooltip * {\n  font-family: inherit;\n}\n\n\n.apexcharts-tooltip-title {\n  padding: 6px;\n  font-size: 15px;\n  margin-bottom: 4px;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n  background: #ECEFF1;\n  border-bottom: 1px solid #ddd;\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n  background: rgba(0, 0, 0, 0.7);\n  border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-value,\n.apexcharts-tooltip-text-z-value {\n  display: inline-block;\n  font-weight: 600;\n  margin-left: 5px;\n}\n\n.apexcharts-tooltip-text-z-label:empty,\n.apexcharts-tooltip-text-z-value:empty {\n  display: none;\n}\n\n.apexcharts-tooltip-text-value,\n.apexcharts-tooltip-text-z-value {\n  font-weight: 600;\n}\n\n.apexcharts-tooltip-marker {\n  width: 12px;\n  height: 12px;\n  position: relative;\n  top: 0px;\n  margin-right: 10px;\n  border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n  padding: 0 10px;\n  display: none;\n  text-align: left;\n  justify-content: left;\n  align-items: center;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n  opacity: 1;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,\n.apexcharts-tooltip-series-group:last-child {\n  padding-bottom: 4px;\n}\n\n.apexcharts-tooltip-series-group-hidden {\n  opacity: 0;\n  height: 0;\n  line-height: 0;\n  padding: 0 !important;\n}\n\n.apexcharts-tooltip-y-group {\n  padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-candlestick {\n  padding: 4px 8px;\n}\n\n.apexcharts-tooltip-candlestick>div {\n  margin: 4px 0;\n}\n\n.apexcharts-tooltip-candlestick span.value {\n  font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n  padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n  font-weight: 600;\n  color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n  font-weight: bold;\n  display: block;\n  margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n  opacity: 0;\n  padding: 9px 10px;\n  pointer-events: none;\n  color: #373d3f;\n  font-size: 13px;\n  text-align: center;\n  border-radius: 2px;\n  position: absolute;\n  z-index: 10;\n  background: #ECEFF1;\n  border: 1px solid #90A4AE;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n  background: rgba(0, 0, 0, 0.7);\n  border: 1px solid rgba(0, 0, 0, 0.5);\n  color: #fff;\n}\n\n.apexcharts-xaxistooltip:after,\n.apexcharts-xaxistooltip:before {\n  left: 50%;\n  border: solid transparent;\n  content: " ";\n  height: 0;\n  width: 0;\n  position: absolute;\n  pointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n  border-color: rgba(236, 239, 241, 0);\n  border-width: 6px;\n  margin-left: -6px;\n}\n\n.apexcharts-xaxistooltip:before {\n  border-color: rgba(144, 164, 174, 0);\n  border-width: 7px;\n  margin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after,\n.apexcharts-xaxistooltip-bottom:before {\n  bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after,\n.apexcharts-xaxistooltip-top:before {\n  top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n  border-bottom-color: #ECEFF1;\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n  border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {\n  border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n  border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n  border-top-color: #ECEFF1\n}\n\n.apexcharts-xaxistooltip-top:before {\n  border-top-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {\n  border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n  border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n  opacity: 0;\n  padding: 4px 10px;\n  pointer-events: none;\n  color: #373d3f;\n  font-size: 13px;\n  text-align: center;\n  border-radius: 2px;\n  position: absolute;\n  z-index: 10;\n  background: #ECEFF1;\n  border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n  background: rgba(0, 0, 0, 0.7);\n  border: 1px solid rgba(0, 0, 0, 0.5);\n  color: #fff;\n}\n\n.apexcharts-yaxistooltip:after,\n.apexcharts-yaxistooltip:before {\n  top: 50%;\n  border: solid transparent;\n  content: " ";\n  height: 0;\n  width: 0;\n  position: absolute;\n  pointer-events: none;\n}\n\n.apexcharts-yaxistooltip:after {\n  border-color: rgba(236, 239, 241, 0);\n  border-width: 6px;\n  margin-top: -6px;\n}\n\n.apexcharts-yaxistooltip:before {\n  border-color: rgba(144, 164, 174, 0);\n  border-width: 7px;\n  margin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after,\n.apexcharts-yaxistooltip-left:before {\n  left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after,\n.apexcharts-yaxistooltip-right:before {\n  right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n  border-left-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-left:before {\n  border-left-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {\n  border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n  border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n  border-right-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-right:before {\n  border-right-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {\n  border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n  border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n  opacity: 1;\n}\n\n.apexcharts-yaxistooltip-hidden {\n  display: none;\n}\n\n.apexcharts-xcrosshairs,\n.apexcharts-ycrosshairs {\n  pointer-events: none;\n  opacity: 0;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,\n.apexcharts-ycrosshairs.apexcharts-active {\n  opacity: 1;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n  opacity: 0;\n}\n\n.apexcharts-selection-rect {\n  cursor: move;\n}\n\n.svg_select_boundingRect, .svg_select_points_rot {\n  pointer-events: none;\n  opacity: 0;\n  visibility: hidden;\n}\n.apexcharts-selection-rect + g .svg_select_boundingRect,\n.apexcharts-selection-rect + g .svg_select_points_rot {\n  opacity: 0;\n  visibility: hidden;\n}\n\n.apexcharts-selection-rect + g .svg_select_points_l,\n.apexcharts-selection-rect + g .svg_select_points_r {\n  cursor: ew-resize;\n  opacity: 1;\n  visibility: visible;\n}\n\n.svg_select_points {\n  fill: #efefef;\n  stroke: #333;\n  rx: 2;\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n  cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n  cursor: move\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon,\n.apexcharts-reset-icon,\n.apexcharts-pan-icon,\n.apexcharts-selection-icon,\n.apexcharts-menu-icon,\n.apexcharts-toolbar-custom-icon {\n  cursor: pointer;\n  width: 20px;\n  height: 20px;\n  line-height: 24px;\n  color: #6E8192;\n  text-align: center;\n}\n\n.apexcharts-zoom-icon svg,\n.apexcharts-zoomin-icon svg,\n.apexcharts-zoomout-icon svg,\n.apexcharts-reset-icon svg,\n.apexcharts-menu-icon svg {\n  fill: #6E8192;\n}\n\n.apexcharts-selection-icon svg {\n  fill: #444;\n  transform: scale(0.76)\n}\n\n.apexcharts-theme-dark .apexcharts-zoom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomin-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomout-icon svg,\n.apexcharts-theme-dark .apexcharts-reset-icon svg,\n.apexcharts-theme-dark .apexcharts-pan-icon svg,\n.apexcharts-theme-dark .apexcharts-selection-icon svg,\n.apexcharts-theme-dark .apexcharts-menu-icon svg,\n.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {\n  fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {\n  fill: #008FFB;\n}\n\n.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,\n.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,\n.apexcharts-theme-light .apexcharts-reset-icon:hover svg,\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg {\n  fill: #333;\n}\n\n.apexcharts-selection-icon,\n.apexcharts-menu-icon {\n  position: relative;\n}\n\n.apexcharts-reset-icon {\n  margin-left: 5px;\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-reset-icon,\n.apexcharts-menu-icon {\n  transform: scale(0.85);\n}\n\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n  transform: scale(0.7)\n}\n\n.apexcharts-zoomout-icon {\n  margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n  transform: scale(0.62);\n  position: relative;\n  left: 1px;\n  top: 0px;\n}\n\n.apexcharts-pan-icon svg {\n  fill: #fff;\n  stroke: #6E8192;\n  stroke-width: 2;\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n  stroke: #008FFB;\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n  stroke: #333;\n}\n\n.apexcharts-toolbar {\n  position: absolute;\n  z-index: 11;\n  max-width: 176px;\n  text-align: right;\n  border-radius: 3px;\n  padding: 0px 6px 2px 6px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n}\n\n.apexcharts-menu {\n  background: #fff;\n  position: absolute;\n  top: 100%;\n  border: 1px solid #ddd;\n  border-radius: 3px;\n  padding: 3px;\n  right: 10px;\n  opacity: 0;\n  min-width: 110px;\n  transition: 0.15s ease all;\n  pointer-events: none;\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n  opacity: 1;\n  pointer-events: all;\n  transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n  padding: 6px 7px;\n  font-size: 12px;\n  cursor: pointer;\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n  background: #eee;\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n  background: rgba(0, 0, 0, 0.7);\n  color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n  .apexcharts-canvas:hover .apexcharts-toolbar {\n    opacity: 1;\n  }\n}\n\n.apexcharts-datalabel.apexcharts-element-hidden {\n  opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabels,\n.apexcharts-datalabel,\n.apexcharts-datalabel-label,\n.apexcharts-datalabel-value {\n  cursor: default;\n  pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n  opacity: 0;\n  animation-name: opaque;\n  animation-duration: 0.3s;\n  animation-fill-mode: forwards;\n  animation-timing-function: ease;\n}\n\n.apexcharts-canvas .apexcharts-element-hidden {\n  opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n  opacity: 0;\n}\n\n.apexcharts-gridline,\n.apexcharts-annotation-rect,\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line,\n.apexcharts-zoom-rect,\n.apexcharts-toolbar svg,\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-radar-series path,\n.apexcharts-radar-series polygon {\n  pointer-events: none;\n}\n\n\n/* markers */\n\n.apexcharts-marker {\n  transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n\n/* Resize generated styles */\n\n@keyframes resizeanim {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n\n.resize-triggers {\n  animation: 1ms resizeanim;\n  visibility: hidden;\n  opacity: 0;\n}\n\n.resize-triggers,\n.resize-triggers>div,\n.contract-trigger:before {\n  content: " ";\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  overflow: hidden;\n}\n\n.resize-triggers>div {\n  background: #eee;\n  overflow: auto;\n}\n\n.contract-trigger:before {\n  width: 200%;\n  height: 200%;\n}',Be=void 0,qe=(Be=void 0===Be?{}:Be).insertAt;if($e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],y=document.createElement("style");y.type="text/css","top"===qe&&t.firstChild?t.insertBefore(y,t.firstChild):t.appendChild(y),y.styleSheet?y.styleSheet.cssText=$e:y.appendChild(document.createTextNode($e))}function We(e){var t=e.__resizeTriggers__,i=t.firstElementChild,n=t.lastElementChild,r=i?i.firstElementChild:null;n&&(n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight),r&&(r.style.width=i.offsetWidth+1+"px",r.style.height=i.offsetHeight+1+"px"),i&&(i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight)}function Ve(t){var e=this;We(this),this.__resizeRAF__&&Ke(this.__resizeRAF__),this.__resizeRAF__=Ge(function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(e)&&(e.__resizeLast__.width=e.offsetWidth,e.__resizeLast__.height=e.offsetHeight,e.__resizeListeners__.forEach(function(e){e.call(t)}))})}var Ue,Xe,Ge=(Ue=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(e){return Ue(e)}),Ke=(Xe=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return Xe(e)}),Ze=!1,Je="animationstart",Qe="Webkit Moz O ms".split(" "),et="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),tt=document.createElement("fakeelement");if(!1===(Ze=void 0!==tt.style.animationName?!0:Ze))for(var b=0;b<Qe.length;b++)if(void 0!==tt.style[Qe[b]+"AnimationName"]){Je=et[b];break}window.addResizeListener=function(t,e){t.__resizeTriggers__||("static"==getComputedStyle(t).position&&(t.style.position="relative"),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=document.createElement("div")).className="resize-triggers",t.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',t.appendChild(t.__resizeTriggers__),We(t),t.addEventListener("scroll",Ve,!0),Je&&t.__resizeTriggers__.addEventListener(Je,function(e){"resizeanim"==e.animationName&&We(t)})),t.__resizeListeners__.push(e)},window.removeResizeListener=function(e,t){e&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",Ve),e.__resizeTriggers__.parentNode&&(e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__))))},window.Apex={};var it=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","touchstart","touchmove","mouseup","touchend"],this.ctx.animations=new O(this.ctx),this.ctx.axes=new se(this.ctx),this.ctx.core=new Ye(this.ctx.el,this.ctx),this.ctx.config=new d({}),this.ctx.data=new Q(this.ctx),this.ctx.grid=new ee(this.ctx),this.ctx.graphics=new P(this.ctx),this.ctx.coreUtils=new L(this.ctx),this.ctx.crosshairs=new oe(this.ctx),this.ctx.events=new ne(this.ctx),this.ctx.exports=new r(this.ctx),this.ctx.localization=new re(this.ctx),this.ctx.options=new m,this.ctx.responsive=new ae(this.ctx),this.ctx.series=new f(this.ctx),this.ctx.theme=new le(this.ctx),this.ctx.formatters=new v(this.ctx),this.ctx.titleSubtitle=new ce(this.ctx),this.ctx.legend=new me(this.ctx),this.ctx.toolbar=new ge(this.ctx),this.ctx.dimensions=new p(this.ctx),this.ctx.updateHelpers=new Ie(this.ctx),this.ctx.zoomPanSelection=new ve(this.ctx),this.ctx.w.globals.tooltip=new Se(this.ctx)}}]),t}(),nt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return o(t,[{key:"clear",value:function(){this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements()}},{key:"killSVG",value:function(e){e.each(function(e,t){this.removeClass("*"),this.off(),this.stop()},!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(){var t=this,e=this.w.globals.dom.Paper.node;e.parentNode&&e.parentNode.parentNode&&(e.parentNode.parentNode.style.minHeight="unset"),this.ctx.eventList.forEach(function(e){t.w.globals.dom.baseEl.removeEventListener(e,t.ctx.events.documentEvent)});var i=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(i.Paper),i.Paper.remove(),i.elWrap=null,i.elGraphical=null,i.elAnnotations=null,i.elLegendWrap=null,i.baseEl=null,i.elGridRect=null,i.elGridRectMask=null,i.elGridRectMarkerMask=null,i.elDefs=null}}]),t}();function Y(e,t){s(this,Y),this.opts=t,this.ctx=this,this.w=new J(t).init(),this.el=e,this.w.globals.cuid=E.randomId(),this.w.globals.chartID=this.w.config.chart.id?this.w.config.chart.id:this.w.globals.cuid,new it(this).initModules(),this.create=E.bind(this.create,this),this.windowResizeHandler=this._windowResize.bind(this)}return o(Y,[{key:"render",value:function(){var r=this;return new Promise(function(e,t){if(null!==r.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),r.w.config.chart.id&&Apex._chartInstances.push({id:r.w.globals.chartID,group:r.w.config.chart.group,chart:r}),r.setLocale(r.w.config.chart.defaultLocale);var i=r.w.config.chart.events.beforeMount;"function"==typeof i&&i(r,r.w),r.events.fireEvent("beforeMount",[r,r.w]),window.addEventListener("resize",r.windowResizeHandler),window.addResizeListener(r.el.parentNode,r._parentResizeCallback.bind(r));var n=r.create(r.w.config.series,{});if(!n)return e(r);r.mount(n).then(function(){"function"==typeof r.w.config.chart.events.mounted&&r.w.config.chart.events.mounted(r,r.w),r.events.fireEvent("mounted",[r,r.w]),e(n)}).catch(function(e){t(e)})}else t(new Error("Element not found"))})}},{key:"create",value:function(e,t){var i=this.w;new it(this).initModules();var n=this.w.globals;(n.noData=!1,n.animationEnded=!1,this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric)&&new u(i.config).convertCatToNumericXaxis(i.config,this.ctx);if(null===this.el)return n.animationEnded=!0,null;if(this.core.setupElements(),0===n.svgWidth)return n.animationEnded=!0,null;var r=L.checkComboSeries(e);n.comboCharts=r.comboCharts,n.comboBarCount=r.comboBarCount;var s=e.every(function(e){return e.data&&0===e.data.length});(0===e.length||s)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new M(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),n.noData&&n.collapsedSeries.length!==n.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),n.axisCharts&&(this.core.coreCalculations(),"category"!==i.config.xaxis.type&&this.formatters.setLabelFormatters()),this.formatters.heatmapLabelFormatters(),this.dimensions.plotCoords();var o=this.core.xySettings();this.grid.createGridMask();var a=this.core.plotChartType(e,o),l=new x(this);l.bringForward(),i.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition();var c={plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}};return{elGraph:a,xyRatios:o,elInner:i.globals.dom.elGraphical,dimensions:c}}},{key:"mount",value:function(){var a=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=this,u=c.w;return new Promise(function(e,t){if(null===c.el)return t(new Error("Not enough data to display or target element not found"));(null===l||u.globals.allSeriesCollapsed)&&c.series.handleNoData(),c.axes.drawAxis(u.config.chart.type,l.xyRatios),c.grid=new ee(c);var i=c.grid.drawGrid();c.annotations=new U(c),c.annotations.drawImageAnnos(),c.annotations.drawTextAnnos(),"back"===u.config.grid.position&&i&&u.globals.dom.elGraphical.add(i.el);var n=new h(a.ctx),r=new ie(a.ctx);if(null!==i&&(n.xAxisLabelCorrections(i.xAxisTickWidth),r.setYAxisTextAlignments()),"back"===u.config.annotations.position&&(u.globals.dom.Paper.add(u.globals.dom.elAnnotations),c.annotations.drawAxesAnnotations()),Array.isArray(l.elGraph))for(var s=0;s<l.elGraph.length;s++)u.globals.dom.elGraphical.add(l.elGraph[s]);else u.globals.dom.elGraphical.add(l.elGraph);if("front"===u.config.grid.position&&i&&u.globals.dom.elGraphical.add(i.el),"front"===u.config.xaxis.crosshairs.position&&c.crosshairs.drawXCrosshairs(),"front"===u.config.yaxis[0].crosshairs.position&&c.crosshairs.drawYCrosshairs(),"front"===u.config.annotations.position&&(u.globals.dom.Paper.add(u.globals.dom.elAnnotations),c.annotations.drawAxesAnnotations()),!u.globals.noData){if(u.config.tooltip.enabled&&!u.globals.noData&&c.w.globals.tooltip.drawTooltip(l.xyRatios),u.globals.axisCharts&&(u.globals.isXNumeric||u.config.xaxis.convertedCatToNumeric))(u.config.chart.zoom.enabled||u.config.chart.selection&&u.config.chart.selection.enabled||u.config.chart.pan&&u.config.chart.pan.enabled)&&c.zoomPanSelection.init({xyRatios:l.xyRatios});else{var o=u.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(e){o[e]=!1})}u.config.chart.toolbar.show&&!u.globals.allSeriesCollapsed&&c.toolbar.createToolbar()}u.globals.memory.methodsToExec.length>0&&u.globals.memory.methodsToExec.forEach(function(e){e.method(e.params,!1,e.context)}),u.globals.axisCharts||u.globals.noData||c.core.resizeNonAxisCharts(),e(c)})}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),window.removeResizeListener(this.el.parentNode,this._parentResizeCallback.bind(this));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(e,t){e.id===i&&Apex._chartInstances.splice(t,1)}),new nt(this.ctx).clear()}},{key:"updateOptions",value:function(e){var i=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w;return o.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map(function(e,t){return i.updateHelpers._extendSeries(e,t)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,t,n,r,s)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,i)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.w.config.series.slice();return n.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(n,t,i)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var n=i.w.config.series.slice(),r=0;r<n.length;r++)if(null!==e[r]&&void 0!==e[r])for(var s=0;s<e[r].data.length;s++)n[r].data.push(e[r].data[s]);return i.w.config.series=n,t&&(i.w.globals.initialSeries=E.clone(i.w.config.series)),this.update({series:this.w.config.series})}},{key:"update",value:function(n){var r=this;return new Promise(function(e,t){new nt(r.ctx).clear();var i=r.create(r.w.config.series,n);if(!i)return e(r);r.mount(i).then(function(){"function"==typeof r.w.config.chart.events.updated&&r.w.config.chart.events.updated(r,r.w),r.events.fireEvent("updated",[r,r.w]),r.w.globals.isDirty=!0,e(r)}).catch(function(e){t(e)})})}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach(function(e){t.push(e)})),t}},{key:"getGroupedCharts",value:function(){var t=this;return Apex._chartInstances.filter(function(e){if(e.group)return!0}).map(function(e){return t.w.config.chart.group===e.group?e.chart:t})}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addXaxisAnnotationExternal(e,t,n)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addYaxisAnnotationExternal(e,t,n)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addPointAnnotationExternal(e,t,n)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=this;t&&(i=t),i.annotations.removeAnnotation(i,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new te(this.ctx);return t.getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new te(this.ctx);return t.getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(){return new r(this.ctx).dataURI()}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){!this.w.globals.noData&&this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update({series:e.w.config.series})},150)}}],[{key:"getChartByID",value:function(t){var e=Apex._chartInstances.filter(function(e){return e.id===t})[0];return e&&e.chart}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new Y(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var i=this.getChartByID(e);if(i){i.w.globals.isExecCalled=!0;var n=null;if(-1!==i.publicMethods.indexOf(t)){for(var r=arguments.length,s=new Array(r>2?r-2:0),o=2;o<r;o++)s[o-2]=arguments[o];n=i[t].apply(i,s)}return n}}},{key:"merge",value:function(e,t){return E.extend(e,t)}}]),Y}()},
vendor: 3,638 bytes, line 1
1"./node_modules/autosize/dist/autosize.js":function(e,t,i){var n;void 0!==(t="function"==typeof(n=function(e,t){"use strict";var h=typeof Map==="function"?new Map:function(){var n=[];var r=[];return{has:function e(t){return n.indexOf(t)>-1},get:function e(t){return r[n.indexOf(t)]},set:function e(t,i){if(n.indexOf(t)===-1){n.push(t);r.push(i)}},delete:function e(t){var i=n.indexOf(t);if(i>-1){n.splice(i,1);r.splice(i,1)}}}}(),f=function e(t){return new Event(t,{bubbles:true})};try{new Event("test")}catch(e){f=function e(t){var i=document.createEvent("Event");i.initEvent(t,true,false);return i}}function n(r){if(!r||!r.nodeName||r.nodeName!=="TEXTAREA"||h.has(r))return;var i=null;var n=null;var s=null;function e(){var e=window.getComputedStyle(r,null);if(e.resize==="vertical")r.style.resize="none";else if(e.resize==="both")r.style.resize="horizontal";if(e.boxSizing==="content-box")i=-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom));else i=parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth);if(isNaN(i))i=0;c()}function o(e){{var t=r.style.width;r.style.width="0px";r.offsetWidth;r.style.width=t}r.style.overflowY=e}function a(e){var t=[];while(e&&e.parentNode&&e.parentNode instanceof Element){if(e.parentNode.scrollTop)t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop});e=e.parentNode}return t}function l(){if(r.scrollHeight===0)return;var e=a(r);var t=document.documentElement&&document.documentElement.scrollTop;r.style.height="";r.style.height=r.scrollHeight+i+"px";n=r.clientWidth;e.forEach(function(e){e.node.scrollTop=e.scrollTop});if(t)document.documentElement.scrollTop=t}function c(){l();var e=Math.round(parseFloat(r.style.height));var t=window.getComputedStyle(r,null);var i=t.boxSizing==="content-box"?Math.round(parseFloat(t.height)):r.offsetHeight;if(i<e){if(t.overflowY==="hidden"){o("scroll");l();i=t.boxSizing==="content-box"?Math.round(parseFloat(window.getComputedStyle(r,null).height)):r.offsetHeight}}else if(t.overflowY!=="hidden"){o("hidden");l();i=t.boxSizing==="content-box"?Math.round(parseFloat(window.getComputedStyle(r,null).height)):r.offsetHeight}if(s!==i){s=i;var n=f("autosize:resized");try{r.dispatchEvent(n)}catch(e){}}}var u=function e(){if(r.clientWidth!==n)c()};var d=function(t){window.removeEventListener("resize",u,false);r.removeEventListener("input",c,false);r.removeEventListener("keyup",c,false);r.removeEventListener("autosize:destroy",d,false);r.removeEventListener("autosize:update",c,false);Object.keys(t).forEach(function(e){r.style[e]=t[e]});h.delete(r)}.bind(r,{height:r.style.height,resize:r.style.resize,overflowY:r.style.overflowY,overflowX:r.style.overflowX,wordWrap:r.style.wordWrap});r.addEventListener("autosize:destroy",d,false);if("onpropertychange"in r&&"oninput"in r)r.addEventListener("keyup",c,false);window.addEventListener("resize",u,false);r.addEventListener("input",c,false);r.addEventListener("autosize:update",c,false);r.style.overflowX="hidden";r.style.wordWrap="break-word";h.set(r,{destroy:d,update:c});e()}function i(e){var t=h.get(e);if(t)t.destroy()}function r(e){var t=h.get(e);if(t)t.update()}var s=null;if(typeof window==="undefined"||typeof window.getComputedStyle!=="function"){s=function e(t){return t};s.destroy=function(e){return e};s.update=function(e){return e}}else{s=function e(t,i){if(t)Array.prototype.forEach.call(t.length?t:[t],function(e){return n(e,i)});return t};s.destroy=function(e){if(e)Array.prototype.forEach.call(e.length?e:[e],i);return e};s.update=function(e){if(e)Array.prototype.forEach.call(e.length?e:[e],r);return e}}t.default=s,e.exports=t["default"]})?n.apply(t,[e,t]):n)&&(e.exports=t)},
vendor: 1,450 bytes, line 1
1"./node_modules/base64-js/index.js":function(e,t,i){"use strict";t.byteLength=function(e){var e=u(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){var t,i,n=u(e),r=n[0],n=n[1],s=new c(function(e,t){return 3*(e+t)/4-t}(r,n)),o=0,a=0<n?r-4:r;for(i=0;i<a;i+=4)t=l[e.charCodeAt(i)]<<18|l[e.charCodeAt(i+1)]<<12|l[e.charCodeAt(i+2)]<<6|l[e.charCodeAt(i+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=255&t;2===n&&(t=l[e.charCodeAt(i)]<<2|l[e.charCodeAt(i+1)]>>4,s[o++]=255&t);1===n&&(t=l[e.charCodeAt(i)]<<10|l[e.charCodeAt(i+1)]<<4|l[e.charCodeAt(i+2)]>>2,s[o++]=t>>8&255,s[o++]=255&t);return s},t.fromByteArray=function(e){for(var t,i=e.length,n=i%3,r=[],s=0,o=i-n;s<o;s+=16383)r.push(function(e,t,i){for(var n,r=[],s=t;s<i;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),r.push(function(e){return a[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}(n));return r.join("")}(e,s,o<s+16383?o:s+16383));1==n?(t=e[i-1],r.push(a[t>>2]+a[t<<4&63]+"==")):2==n&&(t=(e[i-2]<<8)+e[i-1],r.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"="));return r.join("")};for(var a=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,s=n.length;r<s;++r)a[r]=n[r],l[n.charCodeAt(r)]=r;function u(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},
vendor: 9,084 bytes, line 1
1"./node_modules/block-ui/jquery.blockUI.js":function(t,i,n){var r,s;!function(){"use strict";function e(f){f.fn._fadeIn=f.fn.fadeIn;var p=f.noop||function(){},m=/MSIE/.test(navigator.userAgent),g=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),v=(document.documentMode,f.isFunction(document.createElement("div").style.setExpression)),y=(f.blockUI=function(e){i(window,e)},f.unblockUI=function(e){_(window,e)},f.growlUI=function(e,t,i,n){function r(e){f.blockUI({message:s,fadeIn:void 0!==(e=e||{}).fadeIn?e.fadeIn:700,fadeOut:void 0!==e.fadeOut?e.fadeOut:1e3,timeout:void 0!==e.timeout?e.timeout:i,centerY:!1,showOverlay:!1,onUnblock:n,css:f.blockUI.defaults.growlCSS})}var s=f('<div class="growlUI"></div>');e&&s.append("<h1>"+e+"</h1>"),t&&s.append("<h2>"+t+"</h2>"),void 0===i&&(i=3e3),r(),s.css("opacity");s.mouseover(function(){r({fadeIn:0,timeout:3e4});var e=f(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){f(".blockMsg").fadeOut(1e3)})},f.fn.block=function(e){if(this[0]===window)return f.blockUI(e),this;var t=f.extend({},f.blockUI.defaults,e||{});return this.each(function(){var e=f(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==f.css(this,"position")&&(this.style.position="relative",f(this).data("blockUI.static",!0)),this.style.zoom=1,i(this,e)})},f.fn.unblock=function(e){return this[0]===window?(f.unblockUI(e),this):this.each(function(){_(this,e)})},f.blockUI.version=2.7,f.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1},null),b=[];function i(e,i){var n=e==window,t=i&&void 0!==i.message?i.message:void 0;if(!(i=f.extend({},f.blockUI.defaults,i||{})).ignoreIfBlocked||!f(e).data("blockUI.isBlocked")){i.overlayCSS=f.extend({},f.blockUI.defaults.overlayCSS,i.overlayCSS||{}),h=f.extend({},f.blockUI.defaults.css,i.css||{}),i.onOverlayClick&&(i.overlayCSS.cursor="pointer"),d=f.extend({},f.blockUI.defaults.themedCSS,i.themedCSS||{}),t=void 0===t?i.message:t,n&&y&&_(window,{fadeOut:0}),t&&"string"!=typeof t&&(t.parentNode||t.jquery)&&(a=t.jquery?t[0]:t,o={},f(e).data("blockUI.history",o),o.el=a,o.parent=a.parentNode,o.display=a.style.display,o.position=a.style.position,o.parent&&o.parent.removeChild(a)),f(e).data("blockUI.onUnblock",i.onUnblock);var r,s,o=i.baseZ,a=m||i.forceIframe?f('<iframe class="blockUI" style="z-index:'+o+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+i.iframeSrc+'"></iframe>'):f('<div class="blockUI" style="display:none"></div>'),l=i.theme?f('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+o+++';display:none"></div>'):f('<div class="blockUI blockOverlay" style="z-index:'+o+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c=(i.theme&&n?(c='<div class="blockUI '+i.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(o+10)+';display:none;position:fixed">',i.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(i.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div></div>'):i.theme?(c='<div class="blockUI '+i.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(o+10)+';display:none;position:absolute">',i.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(i.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div></div>'):c=n?'<div class="blockUI '+i.blockMsgClass+' blockPage" style="z-index:'+(o+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+i.blockMsgClass+' blockElement" style="z-index:'+(o+10)+';display:none;position:absolute"></div>',o=f(c),t&&(i.theme?(o.css(d),o.addClass("ui-widget-content")):o.css(h)),i.theme||l.css(i.overlayCSS),l.css("position",n?"fixed":"absolute"),(m||i.forceIframe)&&a.css("opacity",0),[a,l,o]),u=f(n?"body":e),d=(f.each(c,function(){this.appendTo(u)}),i.theme&&i.draggable&&f.fn.draggable&&o.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),v&&(!f.support.boxModel||0<f("object,embed",n?null:e).length));if((g||d)&&(n&&i.allowBodyStretch&&f.support.boxModel&&f("html,body").css("height","100%"),!g&&f.support.boxModel||n||(h=k(e,"borderTopWidth"),d=k(e,"borderLeftWidth"),r=h?"(0 - "+h+")":0,s=d?"(0 - "+d+")":0),f.each(c,function(e,t){t=t[0].style;t.position="absolute",e<2?(n?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+i.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),n?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),s&&t.setExpression("left",s),r&&t.setExpression("top",r)):i.centerY?(n&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0):!i.centerY&&n&&(e=i.css&&i.css.top?parseInt(i.css.top,10):0,t.setExpression("top","((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"'))})),t&&((i.theme?o.find(".ui-widget-content"):o).append(t),(t.jquery||t.nodeType)&&f(t).show()),(m||i.forceIframe)&&i.showOverlay&&a.show(),i.fadeIn?(h=i.onBlock||p,d=i.showOverlay&&!t?h:p,c=t?h:p,i.showOverlay&&l._fadeIn(i.fadeIn,d),t&&o._fadeIn(i.fadeIn,c)):(i.showOverlay&&l.show(),t&&o.show(),i.onBlock&&i.onBlock.bind(o)()),x(1,e,i),n)y=o[0],b=f(i.focusableElements,y),i.focusInput&&setTimeout(w,20);else{var a=o[0],h=i.centerX,d=i.centerY,c=a.parentNode,l=a.style,t=(c.offsetWidth-a.offsetWidth)/2-k(c,"borderLeftWidth"),a=(c.offsetHeight-a.offsetHeight)/2-k(c,"borderTopWidth");h&&(l.left=0<t?t+"px":"0"),d&&(l.top=0<a?a+"px":"0")}i.timeout&&(o=setTimeout(function(){n?f.unblockUI(i):f(e).unblock(i)},i.timeout),f(e).data("blockUI.timeout",o))}}function _(e,t){var i,n,r=e==window,s=f(e),o=s.data("blockUI.history"),a=s.data("blockUI.timeout");a&&(clearTimeout(a),s.removeData("blockUI.timeout")),t=f.extend({},f.blockUI.defaults,t||{}),x(0,e,t),null===t.onUnblock&&(t.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock")),n=r?f("body").children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),t.cursorReset&&(1<n.length&&(n[1].style.cursor=t.cursorReset),2<n.length&&(n[2].style.cursor=t.cursorReset)),r&&(y=b=null),t.fadeOut?(i=n.length,n.stop().fadeOut(t.fadeOut,function(){0==--i&&l(n,o,t,e)})):l(n,o,t,e)}function l(e,t,i,n){var r=f(n);r.data("blockUI.isBlocked")||(e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.el.style.cursor="default",t.parent&&t.parent.appendChild(t.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof i.onUnblock&&i.onUnblock(n,i),t=(e=f(document.body)).width(),r=e[0].style.width,e.width(t-1).width(t),e[0].style.width=r)}function x(e,t,i){var n=t==window,t=f(t);!e&&(n&&!y||!n&&!t.data("blockUI.isBlocked"))||(t.data("blockUI.isBlocked",e),n&&i.bindEvents&&(!e||i.showOverlay)&&(t="mousedown mouseup keydown keypress keyup touchstart touchend touchmove",e?f(document).bind(t,i,r):f(document).unbind(t,r)))}function r(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&y&&e.data.constrainTabKey){var t=b,i=!e.shiftKey&&e.target===t[t.length-1],n=e.shiftKey&&e.target===t[0];if(i||n)return setTimeout(function(){w(n)},10),!1}t=e.data,i=f(e.target);return i.hasClass("blockOverlay")&&t.onOverlayClick&&t.onOverlayClick(e),0<i.parents("div."+t.blockMsgClass).length||0===i.parents().children().filter("div.blockUI").length}function w(e){!b||(e=b[!0===e?b.length-1:0])&&e.focus()}function k(e,t){return parseInt(f.css(e,t),10)||0}}s=[n("./node_modules/jquery/src/jquery.js")],void 0!==(s="function"==typeof(r=e)?r.apply(i,s):r)&&(t.exports=s)}()},
vendor: 34,734 bytes, line 1
1"./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js":function(e,t,i){var n;i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(T,D){function E(){return new Date(Date.UTC.apply(Date,arguments))}function A(){var e=new Date;return E(e.getFullYear(),e.getMonth(),e.getDate())}function s(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()}function e(e,t){return function(){if(t!==D)T.fn.datepicker.deprecated(t);return this[e].apply(this,arguments)}}function c(e){return e&&!isNaN(e.getTime())}var i=function(){var t={get:function(e){return this.slice(e)[0]},contains:function(e){var t=e&&e.valueOf();for(var i=0,n=this.length;i<n;i++)if(0<=this[i].valueOf()-t&&this[i].valueOf()-t<1e3*60*60*24)return i;return-1},remove:function(e){this.splice(e,1)},replace:function(e){if(!e)return;if(!T.isArray(e))e=[e];this.clear();this.push.apply(this,e)},clear:function(){this.length=0},copy:function(){var e=new i;e.replace(this);return e}};return function(){var e=[];e.push.apply(e,arguments);T.extend(e,t);return e}}(),w=function(e,t){T.data(e,"datepicker",this);this._events=[];this._secondaryEvents=[];this._process_options(t);this.dates=new i;this.viewDate=this.o.defaultViewDate;this.focusDate=null;this.element=T(e);this.isInput=this.element.is("input");this.inputField=this.isInput?this.element:this.element.find("input");this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"):false;if(this.component&&this.component.length===0)this.component=false;this.isInline=!this.component&&this.element.is("div");this.picker=T(O.template);if(this._check_template(this.o.templates.leftArrow))this.picker.find(".prev").html(this.o.templates.leftArrow);if(this._check_template(this.o.templates.rightArrow))this.picker.find(".next").html(this.o.templates.rightArrow);this._buildEvents();this._attachEvents();if(this.isInline)this.picker.addClass("datepicker-inline").appendTo(this.element);else this.picker.addClass("datepicker-dropdown dropdown-menu");if(this.o.rtl)this.picker.addClass("datepicker-rtl");if(this.o.calendarWeeks)this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(e,t){return Number(t)+1});this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled});this._allow_update=false;this.setViewMode(this.o.startView);this._allow_update=true;this.fillDow();this.fillMonths();this.update();if(this.isInline)this.show()},u=(w.prototype={constructor:w,_resolveViewName:function(i){T.each(O.viewModes,function(e,t){if(i===e||T.inArray(i,t.names)!==-1){i=e;return false}});return i},_resolveDaysOfWeek:function(e){if(!T.isArray(e))e=e.split(/[,\s]*/);return T.map(e,Number)},_check_template:function(e){try{if(e===D||e==="")return false;if((e.match(/[<>]/g)||[]).length<=0)return true;var t=T(e);return t.length>0}catch(e){return false}},_process_options:function(e){this._o=T.extend({},this._o,e);var t=this.o=T.extend({},this._o);var i=t.language;if(!j[i]){i=i.split("-")[0];if(!j[i])i=f.language}t.language=i;t.startView=this._resolveViewName(t.startView);t.minViewMode=this._resolveViewName(t.minViewMode);t.maxViewMode=this._resolveViewName(t.maxViewMode);t.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,t.startView));if(t.multidate!==true){t.multidate=Number(t.multidate)||false;if(t.multidate!==false)t.multidate=Math.max(0,t.multidate)}t.multidateSeparator=String(t.multidateSeparator);t.weekStart%=7;t.weekEnd=(t.weekStart+6)%7;var n=O.parseFormat(t.format);if(t.startDate!==-Infinity)if(!!t.startDate)if(t.startDate instanceof Date)t.startDate=this._local_to_utc(this._zero_time(t.startDate));else t.startDate=O.parseDate(t.startDate,n,t.language,t.assumeNearbyYear);else t.startDate=-Infinity;if(t.endDate!==Infinity)if(!!t.endDate)if(t.endDate instanceof Date)t.endDate=this._local_to_utc(this._zero_time(t.endDate));else t.endDate=O.parseDate(t.endDate,n,t.language,t.assumeNearbyYear);else t.endDate=Infinity;t.daysOfWeekDisabled=this._resolveDaysOfWeek(t.daysOfWeekDisabled||[]);t.daysOfWeekHighlighted=this._resolveDaysOfWeek(t.daysOfWeekHighlighted||[]);t.datesDisabled=t.datesDisabled||[];if(!T.isArray(t.datesDisabled))t.datesDisabled=t.datesDisabled.split(",");t.datesDisabled=T.map(t.datesDisabled,function(e){return O.parseDate(e,n,t.language,t.assumeNearbyYear)});var r=String(t.orientation).toLowerCase().split(/\s+/g),s=t.orientation.toLowerCase();r=T.grep(r,function(e){return/^auto|left|right|top|bottom$/.test(e)});t.orientation={x:"auto",y:"auto"};if(!s||s==="auto");else if(r.length===1)switch(r[0]){case"top":case"bottom":t.orientation.y=r[0];break;case"left":case"right":t.orientation.x=r[0];break}else{s=T.grep(r,function(e){return/^left|right$/.test(e)});t.orientation.x=s[0]||"auto";s=T.grep(r,function(e){return/^top|bottom$/.test(e)});t.orientation.y=s[0]||"auto"}if(t.defaultViewDate instanceof Date||typeof t.defaultViewDate==="string")t.defaultViewDate=O.parseDate(t.defaultViewDate,n,t.language,t.assumeNearbyYear);else if(t.defaultViewDate){var o=t.defaultViewDate.year||(new Date).getFullYear();var a=t.defaultViewDate.month||0;var l=t.defaultViewDate.day||1;t.defaultViewDate=E(o,a,l)}else t.defaultViewDate=A()},_applyEvents:function(e){for(var t=0,i,n,r;t<e.length;t++){i=e[t][0];if(e[t].length===2){n=D;r=e[t][1]}else if(e[t].length===3){n=e[t][1];r=e[t][2]}i.on(r,n)}},_unapplyEvents:function(e){for(var t=0,i,n,r;t<e.length;t++){i=e[t][0];if(e[t].length===2){r=D;n=e[t][1]}else if(e[t].length===3){r=e[t][1];n=e[t][2]}i.off(n,r)}},_buildEvents:function(){var e={keyup:T.proxy(function(e){if(T.inArray(e.keyCode,[27,37,39,38,40,32,13,9])===-1)this.update()},this),keydown:T.proxy(this.keydown,this),paste:T.proxy(this.paste,this)};if(this.o.showOnFocus===true)e.focus=T.proxy(this.show,this);if(this.isInput)this._events=[[this.element,e]];else if(this.component&&this.inputField.length)this._events=[[this.inputField,e],[this.component,{click:T.proxy(this.show,this)}]];else this._events=[[this.element,{click:T.proxy(this.show,this),keydown:T.proxy(this.keydown,this)}]];this._events.push([this.element,"*",{blur:T.proxy(function(e){this._focused_from=e.target},this)}],[this.element,{blur:T.proxy(function(e){this._focused_from=e.target},this)}]);if(this.o.immediateUpdates)this._events.push([this.element,{"changeYear changeMonth":T.proxy(function(e){this.update(e.date)},this)}]);this._secondaryEvents=[[this.picker,{click:T.proxy(this.click,this)}],[this.picker,".prev, .next",{click:T.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:T.proxy(this.dayCellClick,this)}],[T(window),{resize:T.proxy(this.place,this)}],[T(document),{"mousedown touchstart":T.proxy(function(e){if(!(this.element.is(e.target)||this.element.find(e.target).length||this.picker.is(e.target)||this.picker.find(e.target).length||this.isInline))this.hide()},this)}]]},_attachEvents:function(){this._detachEvents();this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents();this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,t){var i=t||this.dates.get(-1),n=this._utc_to_local(i);this.element.trigger({type:e,date:n,viewMode:this.viewMode,dates:T.map(this.dates,this._utc_to_local),format:T.proxy(function(e,t){if(arguments.length===0){e=this.dates.length-1;t=this.o.format}else if(typeof e==="string"){t=e;e=this.dates.length-1}t=t||this.o.format;var i=this.dates.get(e);return O.formatDate(i,t,this.o.language)},this)})},show:function(){if(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&this.o.enableOnReadonly===false)return;if(!this.isInline)this.picker.appendTo(this.o.container);this.place();this.picker.show();this._attachSecondaryEvents();this._trigger("show");if((window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard)T(this.element).blur();return this},hide:function(){if(this.isInline||!this.picker.is(":visible"))return this;this.focusDate=null;this.picker.hide().detach();this._detachSecondaryEvents();this.setViewMode(this.o.startView);if(this.o.forceParse&&this.inputField.val())this.setValue();this._trigger("hide");return this},destroy:function(){this.hide();this._detachEvents();this._detachSecondaryEvents();this.picker.remove();delete this.element.data().datepicker;if(!this.isInput)delete this.element.data().date;return this},paste:function(e){var t;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&T.inArray("text/plain",e.originalEvent.clipboardData.types)!==-1)t=e.originalEvent.clipboardData.getData("text/plain");else if(window.clipboardData)t=window.clipboardData.getData("Text");else return;this.setDate(t);this.update();e.preventDefault()},_utc_to_local:function(e){if(!e)return e;var t=new Date(e.getTime()+e.getTimezoneOffset()*6e4);if(t.getTimezoneOffset()!==e.getTimezoneOffset())t=new Date(e.getTime()+t.getTimezoneOffset()*6e4);return t},_local_to_utc:function(e){return e&&new Date(e.getTime()-e.getTimezoneOffset()*6e4)},_zero_time:function(e){return e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())},_zero_utc_time:function(e){return e&&E(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())},getDates:function(){return T.map(this.dates,this._utc_to_local)},getUTCDates:function(){return T.map(this.dates,function(e){return new Date(e)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var e=this.dates.get(-1);if(e!==D)return new Date(e);else return null},clearDates:function(){this.inputField.val("");this.update();this._trigger("changeDate");if(this.o.autoclose)this.hide()},setDates:function(){var e=T.isArray(arguments[0])?arguments[0]:arguments;this.update.apply(this,e);this._trigger("changeDate");this.setValue();return this},setUTCDates:function(){var e=T.isArray(arguments[0])?arguments[0]:arguments;this.setDates.apply(this,T.map(e,this._utc_to_local));return this},setDate:e("setDates"),setUTCDate:e("setUTCDates"),remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var e=this.getFormattedDate();this.inputField.val(e);return this},getFormattedDate:function(t){if(t===D)t=this.o.format;var i=this.o.language;return T.map(this.dates,function(e){return O.formatDate(e,t,i)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(e){this._process_options({startDate:e});this.update();this.updateNavArrows();return this},getEndDate:function(){return this.o.endDate},setEndDate:function(e){this._process_options({endDate:e});this.update();this.updateNavArrows();return this},setDaysOfWeekDisabled:function(e){this._process_options({daysOfWeekDisabled:e});this.update();return this},setDaysOfWeekHighlighted:function(e){this._process_options({daysOfWeekHighlighted:e});this.update();return this},setDatesDisabled:function(e){this._process_options({datesDisabled:e});this.update();return this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),t=this.picker.outerHeight(),i=10,n=T(this.o.container),r=n.width(),s=this.o.container==="body"?T(document).scrollTop():n.scrollTop(),o=n.offset();var a=[0];this.element.parents().each(function(){var e=T(this).css("z-index");if(e!=="auto"&&Number(e)!==0)a.push(Number(e))});var l=Math.max.apply(Math,a)+this.o.zIndexOffset;var c=this.component?this.component.parent().offset():this.element.offset();var u=this.component?this.component.outerHeight(true):this.element.outerHeight(false);var d=this.component?this.component.outerWidth(true):this.element.outerWidth(false);var h=c.left-o.left;var f=c.top-o.top;if(this.o.container!=="body")f+=s;this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom "+"datepicker-orient-right datepicker-orient-left");if(this.o.orientation.x!=="auto"){this.picker.addClass("datepicker-orient-"+this.o.orientation.x);if(this.o.orientation.x==="right")h-=e-d}else if(c.left<0){this.picker.addClass("datepicker-orient-left");h-=c.left-i}else if(h+e>r){this.picker.addClass("datepicker-orient-right");h+=d-e}else if(this.o.rtl)this.picker.addClass("datepicker-orient-right");else this.picker.addClass("datepicker-orient-left");var p=this.o.orientation.y,m;if(p==="auto"){m=-s+f-t;p=m<0?"bottom":"top"}this.picker.addClass("datepicker-orient-"+p);if(p==="top")f-=t+parseInt(this.picker.css("padding-top"));else f+=u;if(this.o.rtl){var g=r-(h+d);this.picker.css({top:f,right:g,zIndex:l})}else this.picker.css({top:f,left:h,zIndex:l});return this},_allow_update:true,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),i=[],t=false;if(arguments.length){T.each(arguments,T.proxy(function(e,t){if(t instanceof Date)t=this._local_to_utc(t);i.push(t)},this));t=true}else{i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val();if(i&&this.o.multidate)i=i.split(this.o.multidateSeparator);else i=[i];delete this.element.data().date}i=T.map(i,T.proxy(function(e){return O.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)},this));i=T.grep(i,T.proxy(function(e){return!this.dateWithinRange(e)||!e},this),true);this.dates.replace(i);if(this.o.updateViewDate)if(this.dates.length)this.viewDate=new Date(this.dates.get(-1));else if(this.viewDate<this.o.startDate)this.viewDate=new Date(this.o.startDate);else if(this.viewDate>this.o.endDate)this.viewDate=new Date(this.o.endDate);else this.viewDate=this.o.defaultViewDate;if(t){this.setValue();this.element.change()}else if(this.dates.length)if(String(e)!==String(this.dates)&&t){this._trigger("changeDate");this.element.change()}if(!this.dates.length&&e.length){this._trigger("clearDate");this.element.change()}this.fill();return this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,t="<tr>";if(this.o.calendarWeeks)t+='<th class="cw">&#160;</th>';while(e<this.o.weekStart+7){t+='<th class="dow';if(T.inArray(e,this.o.daysOfWeekDisabled)!==-1)t+=" disabled";t+='">'+j[this.o.language].daysMin[e++%7]+"</th>"}t+="</tr>";this.picker.find(".datepicker-days thead").append(t)}},fillMonths:function(){var e=this._utc_to_local(this.viewDate);var t="";var i;for(var n=0;n<12;n++){i=e&&e.getMonth()===n?" focused":"";t+='<span class="month'+i+'">'+j[this.o.language].monthsShort[n]+"</span>"}this.picker.find(".datepicker-months td").html(t)},setRange:function(e){if(!e||!e.length)delete this.range;else this.range=T.map(e,function(e){return e.valueOf()});this.fill()},getClassNames:function(e){var t=[],i=this.viewDate.getUTCFullYear(),n=this.viewDate.getUTCMonth(),r=A();if(e.getUTCFullYear()<i||e.getUTCFullYear()===i&&e.getUTCMonth()<n)t.push("old");else if(e.getUTCFullYear()>i||e.getUTCFullYear()===i&&e.getUTCMonth()>n)t.push("new");if(this.focusDate&&e.valueOf()===this.focusDate.valueOf())t.push("focused");if(this.o.todayHighlight&&s(e,r))t.push("today");if(this.dates.contains(e)!==-1)t.push("active");if(!this.dateWithinRange(e))t.push("disabled");if(this.dateIsDisabled(e))t.push("disabled","disabled-date");if(T.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1)t.push("highlighted");if(this.range){if(e>this.range[0]&&e<this.range[this.range.length-1])t.push("range");if(T.inArray(e.valueOf(),this.range)!==-1)t.push("selected");if(e.valueOf()===this.range[0])t.push("range-start");if(e.valueOf()===this.range[this.range.length-1])t.push("range-end")}return t},_fill_yearsView:function(e,t,i,n,r,s,o){var a="";var l=i/10;var c=this.picker.find(e);var u=Math.floor(n/i)*i;var d=u+l*9;var h=Math.floor(this.viewDate.getFullYear()/l)*l;var f=T.map(this.dates,function(e){return Math.floor(e.getUTCFullYear()/l)*l});var p,m,g;for(var v=u-l;v<=d+l;v+=l){p=[t];m=null;if(v===u-l)p.push("old");else if(v===d+l)p.push("new");if(T.inArray(v,f)!==-1)p.push("active");if(v<r||v>s)p.push("disabled");if(v===h)p.push("focused");if(o!==T.noop){g=o(new Date(v,0,1));if(g===D)g={};else if(typeof g==="boolean")g={enabled:g};else if(typeof g==="string")g={classes:g};if(g.enabled===false)p.push("disabled");if(g.classes)p=p.concat(g.classes.split(/\s+/));if(g.tooltip)m=g.tooltip}a+='<span class="'+p.join(" ")+'"'+(m?' title="'+m+'"':"")+">"+v+"</span>"}c.find(".datepicker-switch").text(u+"-"+d);c.find("td").html(a)},fill:function(){var e=new Date(this.viewDate),r=e.getUTCFullYear(),t=e.getUTCMonth(),i=this.o.startDate!==-Infinity?this.o.startDate.getUTCFullYear():-Infinity,n=this.o.startDate!==-Infinity?this.o.startDate.getUTCMonth():-Infinity,s=this.o.endDate!==Infinity?this.o.endDate.getUTCFullYear():Infinity,o=this.o.endDate!==Infinity?this.o.endDate.getUTCMonth():Infinity,a=j[this.o.language].today||j["en"].today||"",l=j[this.o.language].clear||j["en"].clear||"",c=j[this.o.language].titleFormat||j["en"].titleFormat,u=A(),d=(this.o.todayBtn===true||this.o.todayBtn==="linked")&&u>=this.o.startDate&&u<=this.o.endDate&&!this.weekOfDateIsDisabled(u),h,f;if(isNaN(r)||isNaN(t))return;this.picker.find(".datepicker-days .datepicker-switch").text(O.formatDate(e,c,this.o.language));this.picker.find("tfoot .today").text(a).css("display",d?"table-cell":"none");this.picker.find("tfoot .clear").text(l).css("display",this.o.clearBtn===true?"table-cell":"none");this.picker.find("thead .datepicker-title").text(this.o.title).css("display",typeof this.o.title==="string"&&this.o.title!==""?"table-cell":"none");this.updateNavArrows();this.fillMonths();var p=E(r,t,0),m=p.getUTCDate();p.setUTCDate(m-(p.getUTCDay()-this.o.weekStart+7)%7);var g=new Date(p);if(p.getUTCFullYear()<100)g.setUTCFullYear(p.getUTCFullYear());g.setUTCDate(g.getUTCDate()+42);g=g.valueOf();var v=[];var y,b;while(p.valueOf()<g){y=p.getUTCDay();if(y===this.o.weekStart){v.push("<tr>");if(this.o.calendarWeeks){var _=new Date(+p+(this.o.weekStart-y-7)%7*864e5),x=new Date(Number(_)+(7+4-_.getUTCDay())%7*864e5),w=new Date(Number(w=E(x.getUTCFullYear(),0,1))+(7+4-w.getUTCDay())%7*864e5),k=(x-w)/864e5/7+1;v.push('<td class="cw">'+k+"</td>")}}b=this.getClassNames(p);b.push("day");var S=p.getUTCDate();if(this.o.beforeShowDay!==T.noop){f=this.o.beforeShowDay(this._utc_to_local(p));if(f===D)f={};else if(typeof f==="boolean")f={enabled:f};else if(typeof f==="string")f={classes:f};if(f.enabled===false)b.push("disabled");if(f.classes)b=b.concat(f.classes.split(/\s+/));if(f.tooltip)h=f.tooltip;if(f.content)S=f.content}if(T.isFunction(T.uniqueSort))b=T.uniqueSort(b);else b=T.unique(b);v.push('<td class="'+b.join(" ")+'"'+(h?' title="'+h+'"':"")+' data-date="'+p.getTime().toString()+'">'+S+"</td>");h=null;if(y===this.o.weekEnd)v.push("</tr>");p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(v.join(""));var M=j[this.o.language].monthsTitle||j["en"].monthsTitle||"Months";var C=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?M:r).end().find("tbody span").removeClass("active");T.each(this.dates,function(e,t){if(t.getUTCFullYear()===r)C.eq(t.getUTCMonth()).addClass("active")});if(r<i||r>s)C.addClass("disabled");if(r===i)C.slice(0,n).addClass("disabled");if(r===s)C.slice(o+1).addClass("disabled");if(this.o.beforeShowMonth!==T.noop){var L=this;T.each(C,function(e,t){var i=new Date(r,e,1);var n=L.o.beforeShowMonth(i);if(n===D)n={};else if(typeof n==="boolean")n={enabled:n};else if(typeof n==="string")n={classes:n};if(n.enabled===false&&!T(t).hasClass("disabled"))T(t).addClass("disabled");if(n.classes)T(t).addClass(n.classes);if(n.tooltip)T(t).prop("title",n.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,r,i,s,this.o.beforeShowYear);this._fill_yearsView(".datepicker-decades","decade",100,r,i,s,this.o.beforeShowDecade);this._fill_yearsView(".datepicker-centuries","century",1e3,r,i,s,this.o.beforeShowCentury)},updateNavArrows:function(){if(!this._allow_update)return;var e=new Date(this.viewDate),t=e.getUTCFullYear(),i=e.getUTCMonth(),n=this.o.startDate!==-Infinity?this.o.startDate.getUTCFullYear():-Infinity,r=this.o.startDate!==-Infinity?this.o.startDate.getUTCMonth():-Infinity,s=this.o.endDate!==Infinity?this.o.endDate.getUTCFullYear():Infinity,o=this.o.endDate!==Infinity?this.o.endDate.getUTCMonth():Infinity,a,l,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:a=Math.floor(t/c)*c<=n;l=Math.floor(t/c)*c+c>s;break;case 0:a=t<=n&&i<=r;l=t>=s&&i>=o;break}this.picker.find(".prev").toggleClass("disabled",a);this.picker.find(".next").toggleClass("disabled",l)},click:function(e){e.preventDefault();e.stopPropagation();var t,i,n,r,s;t=T(e.target);if(t.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode)this.setViewMode(this.viewMode+1);if(t.hasClass("today")&&!t.hasClass("day")){this.setViewMode(0);this._setDate(A(),this.o.todayBtn==="linked"?null:"view")}if(t.hasClass("clear"))this.clearDates();if(!t.hasClass("disabled"))if(t.hasClass("month")||t.hasClass("year")||t.hasClass("decade")||t.hasClass("century")){this.viewDate.setUTCDate(1);n=1;if(this.viewMode===1){s=t.parent().find("span").index(t);r=this.viewDate.getUTCFullYear();this.viewDate.setUTCMonth(s)}else{s=0;r=Number(t.text());this.viewDate.setUTCFullYear(r)}this._trigger(O.viewModes[this.viewMode-1].e,this.viewDate);if(this.viewMode===this.o.minViewMode)this._setDate(E(r,s,n));else{this.setViewMode(this.viewMode-1);this.fill()}}if(this.picker.is(":visible")&&this._focused_from)this._focused_from.focus();delete this._focused_from},dayCellClick:function(e){var t=T(e.currentTarget);var i=t.data("date");var n=new Date(i);if(this.o.updateViewDate){if(n.getUTCFullYear()!==this.viewDate.getUTCFullYear())this._trigger("changeYear",this.viewDate);if(n.getUTCMonth()!==this.viewDate.getUTCMonth())this._trigger("changeMonth",this.viewDate)}this._setDate(n)},navArrowsClick:function(e){var t=T(e.currentTarget);var i=t.hasClass("prev")?-1:1;if(this.viewMode!==0)i*=O.viewModes[this.viewMode].navStep*12;this.viewDate=this.moveMonth(this.viewDate,i);this._trigger(O.viewModes[this.viewMode].e,this.viewDate);this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(!e)this.dates.clear();if(t!==-1){if(this.o.multidate===true||this.o.multidate>1||this.o.toggleActive)this.dates.remove(t)}else if(this.o.multidate===false){this.dates.clear();this.dates.push(e)}else this.dates.push(e);if(typeof this.o.multidate==="number")while(this.dates.length>this.o.multidate)this.dates.remove(0)},_setDate:function(e,t){if(!t||t==="date")this._toggle_multidate(e&&new Date(e));if(!t&&this.o.updateViewDate||t==="view")this.viewDate=e&&new Date(e);this.fill();this.setValue();if(!t||t!=="view")this._trigger("changeDate");this.inputField.trigger("change");if(this.o.autoclose&&(!t||t==="date"))this.hide()},moveDay:function(e,t){var i=new Date(e);i.setUTCDate(e.getUTCDate()+t);return i},moveWeek:function(e,t){return this.moveDay(e,t*7)},moveMonth:function(e,t){if(!c(e))return this.o.defaultViewDate;if(!t)return e;var i=new Date(e.valueOf()),n=i.getUTCDate(),r=i.getUTCMonth(),s=Math.abs(t),o,a;t=t>0?1:-1;if(s===1){a=t===-1?function(){return i.getUTCMonth()===r}:function(){return i.getUTCMonth()!==o};o=r+t;i.setUTCMonth(o);o=(o+12)%12}else{for(var l=0;l<s;l++)i=this.moveMonth(i,t);o=i.getUTCMonth();i.setUTCDate(n);a=function(){return o!==i.getUTCMonth()}}while(a()){i.setUTCDate(--n);i.setUTCMonth(o)}return i},moveYear:function(e,t){return this.moveMonth(e,t*12)},moveAvailableDate:function(e,t,i){do{e=this[i](e,t);if(!this.dateWithinRange(e))return false;i="moveDay"}while(this.dateIsDisabled(e));return e},weekOfDateIsDisabled:function(e){return T.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)!==-1},dateIsDisabled:function(t){return this.weekOfDateIsDisabled(t)||T.grep(this.o.datesDisabled,function(e){return s(t,e)}).length>0},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(!this.picker.is(":visible")){if(e.keyCode===40||e.keyCode===27){this.show();e.stopPropagation()}return}var t=false,i,n,r=this.focusDate||this.viewDate;switch(e.keyCode){case 27:if(this.focusDate){this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.fill()}else this.hide();e.preventDefault();e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||this.o.daysOfWeekDisabled.length===7)break;i=e.keyCode===37||e.keyCode===38?-1:1;if(this.viewMode===0){if(e.ctrlKey){n=this.moveAvailableDate(r,i,"moveYear");if(n)this._trigger("changeYear",this.viewDate)}else if(e.shiftKey){n=this.moveAvailableDate(r,i,"moveMonth");if(n)this._trigger("changeMonth",this.viewDate)}else if(e.keyCode===37||e.keyCode===39)n=this.moveAvailableDate(r,i,"moveDay");else if(!this.weekOfDateIsDisabled(r))n=this.moveAvailableDate(r,i,"moveWeek")}else if(this.viewMode===1){if(e.keyCode===38||e.keyCode===40)i=i*4;n=this.moveAvailableDate(r,i,"moveMonth")}else if(this.viewMode===2){if(e.keyCode===38||e.keyCode===40)i=i*4;n=this.moveAvailableDate(r,i,"moveYear")}if(n){this.focusDate=this.viewDate=n;this.setValue();this.fill();e.preventDefault()}break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate;if(this.o.keyboardNavigation){this._toggle_multidate(r);t=true}this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.setValue();this.fill();if(this.picker.is(":visible")){e.preventDefault();e.stopPropagation();if(this.o.autoclose)this.hide()}break;case 9:this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.fill();this.hide();break}if(t){if(this.dates.length)this._trigger("changeDate");else this._trigger("clearDate");this.inputField.trigger("change")}},setViewMode:function(e){this.viewMode=e;this.picker.children("div").hide().filter(".datepicker-"+O.viewModes[this.viewMode].clsName).show();this.updateNavArrows();this._trigger("changeViewMode",new Date(this.viewDate))}},function(e,t){T.data(e,"datepicker",this);this.element=T(e);this.inputs=T.map(t.inputs,function(e){return e.jquery?e[0]:e});delete t.inputs;this.keepEmptyValues=t.keepEmptyValues;delete t.keepEmptyValues;n.call(T(this.inputs),t).on("changeDate",T.proxy(this.dateUpdated,this));this.pickers=T.map(this.inputs,function(e){return T.data(e,"datepicker")});this.updateDates()});function d(e,t){var i=T(e).data(),n={},r,s=new RegExp("^"+t.toLowerCase()+"([A-Z])");t=new RegExp("^"+t.toLowerCase());function o(e,t){return t.toLowerCase()}for(var a in i)if(t.test(a)){r=a.replace(s,o);n[r]=i[a]}return n}function h(e){var i={};if(!j[e]){e=e.split("-")[0];if(!j[e])return}var n=j[e];T.each(r,function(e,t){if(t in n)i[t]=n[t]});return i}u.prototype={updateDates:function(){this.dates=T.map(this.pickers,function(e){return e.getUTCDate()});this.updateRanges()},updateRanges:function(){var i=T.map(this.dates,function(e){return e.valueOf()});T.each(this.pickers,function(e,t){t.setRange(i)})},clearDates:function(){T.each(this.pickers,function(e,t){t.clearDates()})},dateUpdated:function(e){if(this.updating)return;this.updating=true;var i=T.data(e.target,"datepicker");if(i===D)return;var n=i.getUTCDate(),r=this.keepEmptyValues,t=T.inArray(e.target,this.inputs),s=t-1,o=t+1,a=this.inputs.length;if(t===-1)return;T.each(this.pickers,function(e,t){if(!t.getUTCDate()&&(t===i||!r))t.setUTCDate(n)});if(n<this.dates[s])while(s>=0&&n<this.dates[s])this.pickers[s--].setUTCDate(n);else if(n>this.dates[o])while(o<a&&n>this.dates[o])this.pickers[o++].setUTCDate(n);this.updateDates();delete this.updating},destroy:function(){T.map(this.pickers,function(e){e.destroy()});T(this.inputs).off("changeDate",this.dateUpdated);delete this.element.data().datepicker},remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var t=T.fn.datepicker,n=function(a){var l=Array.apply(null,arguments);l.shift();var c;this.each(function(){var e=T(this),t=e.data("datepicker"),i=typeof a==="object"&&a;if(!t){var n=d(this,"date"),r=T.extend({},f,n,i),s=h(r.language),o=T.extend({},f,s,n,i);if(e.hasClass("input-daterange")||o.inputs){T.extend(o,{inputs:o.inputs||e.find("input").toArray()});t=new u(this,o)}else t=new w(this,o);e.data("datepicker",t)}if(typeof a==="string"&&typeof t[a]==="function")c=t[a].apply(t,l)});if(c===D||c instanceof w||c instanceof u)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+a+" function)");else return c},f=(T.fn.datepicker=n,T.fn.datepicker.defaults={assumeNearbyYear:false,autoclose:false,beforeShowDay:T.noop,beforeShowMonth:T.noop,beforeShowYear:T.noop,beforeShowDecade:T.noop,beforeShowCentury:T.noop,calendarWeeks:false,clearBtn:false,toggleActive:false,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:Infinity,forceParse:true,format:"mm/dd/yyyy",keepEmptyValues:false,keyboardNavigation:true,language:"en",minViewMode:0,maxViewMode:4,multidate:false,multidateSeparator:",",orientation:"auto",rtl:false,startDate:-Infinity,startView:0,todayBtn:false,todayHighlight:false,updateViewDate:true,weekStart:0,disableTouchKeyboard:false,enableOnReadonly:true,showOnFocus:true,zIndexOffset:10,container:"body",immediateUpdates:false,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:true}),r=T.fn.datepicker.locale_opts=["format","rtl","weekStart"],j=(T.fn.datepicker.Constructor=w,T.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}}),O={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if(typeof e.toValue==="function"&&typeof e.toDisplay==="function")return e;var t=e.replace(this.validParts,"\0").split("\0"),i=e.match(this.validParts);if(!t||!t.length||!i||i.length===0)throw new Error("Invalid date format.");return{separators:t,parts:i}},parseDate:function(e,t,i,n){if(!e)return D;if(e instanceof Date)return e;if(typeof t==="string")t=O.parseFormat(t);if(t.toValue)return t.toValue(e,t,i);var r={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"},o,a,l,c,u;if(e in s)e=s[e];if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(e)){o=e.match(/([\-+]\d+)([dmwy])/gi);e=new Date;for(c=0;c<o.length;c++){a=o[c].match(/([\-+]\d+)([dmwy])/i);l=Number(a[1]);u=r[a[2].toLowerCase()];e=w.prototype[u](e,l)}return w.prototype._zero_utc_time(e)}o=e&&e.match(this.nonpunctuation)||[];function d(e,t){if(t===true)t=10;if(e<100){e+=2e3;if(e>(new Date).getFullYear()+t)e-=100}return e}var h={},f=["yyyy","yy","M","MM","m","mm","d","dd"],p={yyyy:function(e,t){return e.setUTCFullYear(n?d(t,n):t)},m:function(e,t){if(isNaN(e))return e;t-=1;while(t<0)t+=12;t%=12;e.setUTCMonth(t);while(e.getUTCMonth()!==t)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}},m,g;p["yy"]=p["yyyy"];p["M"]=p["MM"]=p["mm"]=p["m"];p["dd"]=p["d"];e=A();var v=t.parts.slice();if(o.length!==v.length)v=T(v).filter(function(e,t){return T.inArray(t,f)!==-1}).toArray();function y(){var e=this.slice(0,o[c].length),t=o[c].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(o.length===v.length){var b;for(c=0,b=v.length;c<b;c++){m=parseInt(o[c],10);a=v[c];if(isNaN(m))switch(a){case"MM":g=T(j[i].months).filter(y);m=T.inArray(g[0],j[i].months)+1;break;case"M":g=T(j[i].monthsShort).filter(y);m=T.inArray(g[0],j[i].monthsShort)+1;break}h[a]=m}var _,x;for(c=0;c<f.length;c++){x=f[c];if(x in h&&!isNaN(h[x])){_=new Date(e);p[x](_,h[x]);if(!isNaN(_))e=_}}}return e},formatDate:function(e,t,i){if(!e)return"";if(typeof t==="string")t=O.parseFormat(t);if(t.toDisplay)return t.toDisplay(e,t,i);var n={d:e.getUTCDate(),D:j[i].daysShort[e.getUTCDay()],DD:j[i].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:j[i].monthsShort[e.getUTCMonth()],MM:j[i].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};n.dd=(n.d<10?"0":"")+n.d;n.mm=(n.m<10?"0":"")+n.m;e=[];var r=T.extend([],t.separators);for(var s=0,o=t.parts.length;s<=o;s++){if(r.length)e.push(r.shift());e.push(n[t.parts[s]])}return e.join("")},headTemplate:"<thead>"+"<tr>"+'<th colspan="7" class="datepicker-title"></th>'+"</tr>"+"<tr>"+'<th class="prev">'+f.templates.leftArrow+"</th>"+'<th colspan="5" class="datepicker-switch"></th>'+'<th class="next">'+f.templates.rightArrow+"</th>"+"</tr>"+"</thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:"<tfoot>"+"<tr>"+'<th colspan="7" class="today"></th>'+"</tr>"+"<tr>"+'<th colspan="7" class="clear"></th>'+"</tr>"+"</tfoot>"};O.template='<div class="datepicker">'+'<div class="datepicker-days">'+'<table class="table-condensed">'+O.headTemplate+"<tbody></tbody>"+O.footTemplate+"</table>"+"</div>"+'<div class="datepicker-months">'+'<table class="table-condensed">'+O.headTemplate+O.contTemplate+O.footTemplate+"</table>"+"</div>"+'<div class="datepicker-years">'+'<table class="table-condensed">'+O.headTemplate+O.contTemplate+O.footTemplate+"</table>"+"</div>"+'<div class="datepicker-decades">'+'<table class="table-condensed">'+O.headTemplate+O.contTemplate+O.footTemplate+"</table>"+"</div>"+'<div class="datepicker-centuries">'+'<table class="table-condensed">'+O.headTemplate+O.contTemplate+O.footTemplate+"</table>"+"</div>"+"</div>",T.fn.datepicker.DPGlobal=O,T.fn.datepicker.noConflict=function(){T.fn.datepicker=t;return this},T.fn.datepicker.version="1.9.0",T.fn.datepicker.deprecated=function(e){var t=window.console;if(t&&t.warn)t.warn("DEPRECATED: "+e)},T(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var t=T(this);if(t.data("datepicker"))return;e.preventDefault();n.call(t,"show")}),T(function(){n.call(T('[data-provide="datepicker-inline"]'))})})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 31,850 bytes, line 1
1"./node_modules/bootstrap-daterangepicker/daterangepicker.js":function(e,t,i){i=[i("./node_modules/moment/moment.js"),i("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(e,t){return t.fn||(t.fn={}),"function"!=typeof e&&e.hasOwnProperty("default")&&(e=e.default),A=e,j=t,(n=function(e,t,i){var n,r,s,o;if(this.parentEl="body",this.element=j(e),this.startDate=A().startOf("day"),this.endDate=A().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=A().subtract(100,"year").format("YYYY"),this.maxYear=A().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:A.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:A.weekdaysMin(),monthNames:A.monthsShort(),firstDay:A.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof t&&null!==t||(t={}),"string"==typeof(t=j.extend(this.element.data(),t)).template||t.template instanceof j||(t.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=t.parentEl&&j(t.parentEl).length?j(t.parentEl):j(this.parentEl),this.container=j(t.template).appendTo(this.parentEl),"object"==typeof t.locale&&("string"==typeof t.locale.direction&&(this.locale.direction=t.locale.direction),"string"==typeof t.locale.format&&(this.locale.format=t.locale.format),"string"==typeof t.locale.separator&&(this.locale.separator=t.locale.separator),"object"==typeof t.locale.daysOfWeek&&(this.locale.daysOfWeek=t.locale.daysOfWeek.slice()),"object"==typeof t.locale.monthNames&&(this.locale.monthNames=t.locale.monthNames.slice()),"number"==typeof t.locale.firstDay&&(this.locale.firstDay=t.locale.firstDay),"string"==typeof t.locale.applyLabel&&(this.locale.applyLabel=t.locale.applyLabel),"string"==typeof t.locale.cancelLabel&&(this.locale.cancelLabel=t.locale.cancelLabel),"string"==typeof t.locale.weekLabel&&(this.locale.weekLabel=t.locale.weekLabel),"string"==typeof t.locale.customRangeLabel&&((l=document.createElement("textarea")).innerHTML=t.locale.customRangeLabel,c=l.value,this.locale.customRangeLabel=c)),this.container.addClass(this.locale.direction),"string"==typeof t.startDate&&(this.startDate=A(t.startDate,this.locale.format)),"string"==typeof t.endDate&&(this.endDate=A(t.endDate,this.locale.format)),"string"==typeof t.minDate&&(this.minDate=A(t.minDate,this.locale.format)),"string"==typeof t.maxDate&&(this.maxDate=A(t.maxDate,this.locale.format)),"object"==typeof t.startDate&&(this.startDate=A(t.startDate)),"object"==typeof t.endDate&&(this.endDate=A(t.endDate)),"object"==typeof t.minDate&&(this.minDate=A(t.minDate)),"object"==typeof t.maxDate&&(this.maxDate=A(t.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof t.applyButtonClasses&&(this.applyButtonClasses=t.applyButtonClasses),"string"==typeof t.applyClass&&(this.applyButtonClasses=t.applyClass),"string"==typeof t.cancelButtonClasses&&(this.cancelButtonClasses=t.cancelButtonClasses),"string"==typeof t.cancelClass&&(this.cancelButtonClasses=t.cancelClass),"object"==typeof t.maxSpan&&(this.maxSpan=t.maxSpan),"object"==typeof t.dateLimit&&(this.maxSpan=t.dateLimit),"string"==typeof t.opens&&(this.opens=t.opens),"string"==typeof t.drops&&(this.drops=t.drops),"boolean"==typeof t.showWeekNumbers&&(this.showWeekNumbers=t.showWeekNumbers),"boolean"==typeof t.showISOWeekNumbers&&(this.showISOWeekNumbers=t.showISOWeekNumbers),"string"==typeof t.buttonClasses&&(this.buttonClasses=t.buttonClasses),"object"==typeof t.buttonClasses&&(this.buttonClasses=t.buttonClasses.join(" ")),"boolean"==typeof t.showDropdowns&&(this.showDropdowns=t.showDropdowns),"number"==typeof t.minYear&&(this.minYear=t.minYear),"number"==typeof t.maxYear&&(this.maxYear=t.maxYear),"boolean"==typeof t.showCustomRangeLabel&&(this.showCustomRangeLabel=t.showCustomRangeLabel),"boolean"==typeof t.singleDatePicker&&(this.singleDatePicker=t.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof t.timePicker&&(this.timePicker=t.timePicker),"boolean"==typeof t.timePickerSeconds&&(this.timePickerSeconds=t.timePickerSeconds),"number"==typeof t.timePickerIncrement&&(this.timePickerIncrement=t.timePickerIncrement),"boolean"==typeof t.timePicker24Hour&&(this.timePicker24Hour=t.timePicker24Hour),"boolean"==typeof t.autoApply&&(this.autoApply=t.autoApply),"boolean"==typeof t.autoUpdateInput&&(this.autoUpdateInput=t.autoUpdateInput),"boolean"==typeof t.linkedCalendars&&(this.linkedCalendars=t.linkedCalendars),"function"==typeof t.isInvalidDate&&(this.isInvalidDate=t.isInvalidDate),"function"==typeof t.isCustomDate&&(this.isCustomDate=t.isCustomDate),"boolean"==typeof t.alwaysShowCalendars&&(this.alwaysShowCalendars=t.alwaysShowCalendars),0!=this.locale.firstDay)for(var a=this.locale.firstDay;0<a;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;if(void 0===t.startDate&&void 0===t.endDate&&j(this.element).is(":text")&&(o=n=null,2==(s=(e=j(this.element).val()).split(this.locale.separator)).length?(o=A(s[0],this.locale.format),n=A(s[1],this.locale.format)):this.singleDatePicker&&""!==e&&(o=A(e,this.locale.format),n=A(e,this.locale.format)),null!==o&&null!==n&&(this.setStartDate(o),this.setEndDate(n))),"object"==typeof t.ranges){for(r in t.ranges){o="string"==typeof t.ranges[r][0]?A(t.ranges[r][0],this.locale.format):A(t.ranges[r][0]),n="string"==typeof t.ranges[r][1]?A(t.ranges[r][1],this.locale.format):A(t.ranges[r][1]),this.minDate&&o.isBefore(this.minDate)&&(o=this.minDate.clone());var l,c,u=this.maxDate;(u=this.maxSpan&&u&&o.clone().add(this.maxSpan).isAfter(u)?o.clone().add(this.maxSpan):u)&&n.isAfter(u)&&(n=u.clone()),this.minDate&&n.isBefore(this.minDate,this.timepicker?"minute":"day")||u&&o.isAfter(u,this.timepicker?"minute":"day")||((l=document.createElement("textarea")).innerHTML=r,c=l.value,this.ranges[c]=[o,n])}var d="<ul>";for(r in this.ranges)d+='<li data-range-key="'+r+'">'+r+"</li>";this.showCustomRangeLabel&&(d+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),d+="</ul>",this.container.find(".ranges").prepend(d)}"function"==typeof i&&(this.callback=i),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof t.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(void 0===t.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",j.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",j.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",j.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",j.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",j.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",j.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",j.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",j.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",j.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",j.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":j.proxy(this.show,this),"focus.daterangepicker":j.proxy(this.show,this),"keyup.daterangepicker":j.proxy(this.elementChanged,this),"keydown.daterangepicker":j.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",j.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",j.proxy(this.toggle,this))),this.updateElement()}).prototype={constructor:n,setStartDate:function(e){"string"==typeof e&&(this.startDate=A(e,this.locale.format)),"object"==typeof e&&(this.startDate=A(e)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(e){"string"==typeof e&&(this.endDate=A(e,this.locale.format)),"object"==typeof e&&(this.endDate=A(e)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var e,t,i,n;this.timePicker&&(this.endDate?(t=parseInt(this.container.find(".left .hourselect").val(),10),i=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(i)&&(i=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),e=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(n=this.container.find(".left .ampmselect").val())&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0))):(t=parseInt(this.container.find(".right .hourselect").val(),10),i=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(i)&&(i=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),e=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(n=this.container.find(".right .ampmselect").val())&&t<12&&(t+=12),"AM"===n&&12===t&&(t=0))),this.leftCalendar.month.hour(t).minute(i).second(e),this.rightCalendar.month.hour(t).minute(i).second(e)),this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(e){var t="left"==e?this.leftCalendar:this.rightCalendar,i=t.month.month(),n=t.month.year(),r=t.month.hour(),s=t.month.minute(),o=t.month.second(),a=A([n,i]).daysInMonth(),l=A([n,i,1]),n=A([n,i,a]),i=A(l).subtract(1,"month").month(),a=A(l).subtract(1,"month").year(),c=A([a,i]).daysInMonth(),u=l.day();(t=[]).firstDay=l,t.lastDay=n;for(var d=0;d<6;d++)t[d]=[];for(var l=c-u+this.locale.firstDay+1,h=(c<l&&(l-=7),u==this.locale.firstDay&&(l=c-6),A([a,i,l,12,s,o])),d=0,f=0,p=0;d<42;d++,f++,h=A(h).add(24,"hour"))0<d&&f%7==0&&(f=0,p++),t[p][f]=h.clone().hour(r).minute(s).second(o),h.hour(12),this.minDate&&t[p][f].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&t[p][f].isBefore(this.minDate)&&"left"==e&&(t[p][f]=this.minDate.clone()),this.maxDate&&t[p][f].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&t[p][f].isAfter(this.maxDate)&&"right"==e&&(t[p][f]=this.maxDate.clone());"left"==e?this.leftCalendar.calendar=t:this.rightCalendar.calendar=t;var m="left"==e?this.minDate:this.startDate,g=this.maxDate,v=("left"==e?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">'),n=(v=v+"<thead>"+"<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(v+="<th></th>"),m&&!m.isBefore(t.firstDay)||this.linkedCalendars&&"left"!=e?v+="<th></th>":v+='<th class="prev available"><span></span></th>',this.locale.monthNames[t[1][1].month()]+t[1][1].format(" YYYY"));if(this.showDropdowns){for(var y=t[1][1].month(),b=t[1][1].year(),_=g&&g.year()||this.maxYear,u=m&&m.year()||this.minYear,x=b==u,w=b==_,k='<select class="monthselect">',S=0;S<12;S++)(!x||m&&S>=m.month())&&(!w||g&&S<=g.month())?k+="<option value='"+S+"'"+(S===y?" selected='selected'":"")+">"+this.locale.monthNames[S]+"</option>":k+="<option value='"+S+"'"+(S===y?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[S]+"</option>";k+="</select>";for(var M='<select class="yearselect">',C=u;C<=_;C++)M+='<option value="'+C+'"'+(C===b?' selected="selected"':"")+">"+C+"</option>";n=k+(M+="</select>")}v+='<th colspan="5" class="month">'+n+"</th>",g&&!g.isAfter(t.lastDay)||this.linkedCalendars&&"right"!=e&&!this.singleDatePicker?v+="<th></th>":v+='<th class="next available"><span></span></th>',v+="</tr><tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(v+='<th class="week">'+this.locale.weekLabel+"</th>"),j.each(this.locale.daysOfWeek,function(e,t){v+="<th>"+t+"</th>"}),v+="</tr></thead><tbody>",null==this.endDate&&this.maxSpan&&(c=this.startDate.clone().add(this.maxSpan).endOf("day"),g&&!c.isBefore(g)||(g=c));for(p=0;p<6;p++){v+="<tr>",this.showWeekNumbers?v+='<td class="week">'+t[p][0].week()+"</td>":this.showISOWeekNumbers&&(v+='<td class="week">'+t[p][0].isoWeek()+"</td>");for(f=0;f<7;f++){for(var L=[],T=(t[p][f].isSame(new Date,"day")&&L.push("today"),5<t[p][f].isoWeekday()&&L.push("weekend"),t[p][f].month()!=t[1][1].month()&&L.push("off","ends"),this.minDate&&t[p][f].isBefore(this.minDate,"day")&&L.push("off","disabled"),g&&t[p][f].isAfter(g,"day")&&L.push("off","disabled"),this.isInvalidDate(t[p][f])&&L.push("off","disabled"),t[p][f].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&L.push("active","start-date"),null!=this.endDate&&t[p][f].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&L.push("active","end-date"),null!=this.endDate&&t[p][f]>this.startDate&&t[p][f]<this.endDate&&L.push("in-range"),this.isCustomDate(t[p][f])),D=(!1!==T&&("string"==typeof T?L.push(T):Array.prototype.push.apply(L,T)),""),E=!1,d=0;d<L.length;d++)D+=L[d]+" ","disabled"==L[d]&&(E=!0);E||(D+="available"),v+='<td class="'+D.replace(/^\s+|\s+$/g,"")+'" data-title="r'+p+"c"+f+'">'+t[p][f].date()+"</td>"}v+="</tr>"}v+="</tbody></table>",this.container.find(".drp-calendar."+e+" .calendar-table").html(v)},renderTimePicker:function(e){if("right"!=e||this.endDate){for(var t,i,n=this.maxDate,r=(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(n=this.startDate.clone().add(this.maxSpan)),"left"==e?(t=this.startDate.clone(),i=this.minDate):"right"==e&&(t=this.endDate.clone(),i=this.startDate,""!=(r=this.container.find(".drp-calendar.right .calendar-time")).html()&&(t.hour(isNaN(t.hour())?r.find(".hourselect option:selected").val():t.hour()),t.minute(isNaN(t.minute())?r.find(".minuteselect option:selected").val():t.minute()),t.second(isNaN(t.second())?r.find(".secondselect option:selected").val():t.second()),this.timePicker24Hour||("PM"===(r=r.find(".ampmselect option:selected").val())&&t.hour()<12&&t.hour(t.hour()+12),"AM"===r&&12===t.hour()&&t.hour(0))),t.isBefore(this.startDate)&&(t=this.startDate.clone()),n&&t.isAfter(n)&&(t=n.clone())),d='<select class="hourselect">',this.timePicker24Hour?0:1),s=this.timePicker24Hour?23:12,o=r;o<=s;o++){var a=o,l=(this.timePicker24Hour||(a=12<=t.hour()?12==o?12:o+12:12==o?0:o),t.clone().hour(a)),c=!1;i&&l.minute(59).isBefore(i)&&(c=!0),n&&l.minute(0).isAfter(n)&&(c=!0),a!=t.hour()||c?d+=c?'<option value="'+o+'" disabled="disabled" class="disabled">'+o+"</option>":'<option value="'+o+'">'+o+"</option>":d+='<option value="'+o+'" selected="selected">'+o+"</option>"}for(var u,d=d+"</select> "+': <select class="minuteselect">',o=0;o<60;o+=this.timePickerIncrement){var h=o<10?"0"+o:o,l=t.clone().minute(o),c=!1;i&&l.second(59).isBefore(i)&&(c=!0),n&&l.second(0).isAfter(n)&&(c=!0),t.minute()!=o||c?d+=c?'<option value="'+o+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+o+'">'+h+"</option>":d+='<option value="'+o+'" selected="selected">'+h+"</option>"}if(d+="</select> ",this.timePickerSeconds){d+=': <select class="secondselect">';for(o=0;o<60;o++){h=o<10?"0"+o:o,l=t.clone().second(o),c=!1;i&&l.isBefore(i)&&(c=!0),n&&l.isAfter(n)&&(c=!0),t.second()!=o||c?d+=c?'<option value="'+o+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+o+'">'+h+"</option>":d+='<option value="'+o+'" selected="selected">'+h+"</option>"}d+="</select> "}this.timePicker24Hour||(d+='<select class="ampmselect">',u=r="",i&&t.clone().hour(12).minute(0).second(0).isBefore(i)&&(r=' disabled="disabled" class="disabled"'),n&&t.clone().hour(0).minute(0).second(0).isAfter(n)&&(u=' disabled="disabled" class="disabled"'),12<=t.hour()?d+='<option value="AM"'+r+'>AM</option><option value="PM" selected="selected"'+u+">PM</option>":d+='<option value="AM" selected="selected"'+r+'>AM</option><option value="PM"'+u+">PM</option>",d+="</select>"),this.container.find(".drp-calendar."+e+" .calendar-time").html(d)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var e,t={top:0,left:0},i=this.drops,n=j(window).width();switch(this.parentEl.is("body")||(t={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},n=this.parentEl[0].clientWidth+this.parentEl.offset().left),i){case"auto":(e=this.element.offset().top+this.element.outerHeight()-t.top)+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(e=this.element.offset().top-this.container.outerHeight()-t.top,i="up");break;case"up":e=this.element.offset().top-this.container.outerHeight()-t.top;break;default:e=this.element.offset().top+this.element.outerHeight()-t.top}this.container.css({top:0,left:0,right:"auto"});var r,s=this.container.outerWidth();this.container.toggleClass("drop-up","up"==i),"left"==this.opens?s+(n=n-this.element.offset().left-this.element.outerWidth())>j(window).width()?this.container.css({top:e,right:"auto",left:9}):this.container.css({top:e,right:n,left:"auto"}):"center"==this.opens?(r=this.element.offset().left-t.left+this.element.outerWidth()/2-s/2)<0?this.container.css({top:e,right:"auto",left:9}):r+s>j(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:r,right:"auto"}):(r=this.element.offset().left-t.left)+s>j(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:r,right:"auto"})},show:function(e){this.isShowing||(this._outsideClickProxy=j.proxy(function(e){this.outsideClick(e)},this),j(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),j(window).on("resize.daterangepicker",j.proxy(function(e){this.move(e)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(e){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),j(document).off(".daterangepicker"),j(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(e){this.isShowing?this.hide():this.show()},outsideClick:function(e){var t=j(e.target);"focusin"==e.type||t.closest(this.element).length||t.closest(this.container).length||t.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(e){var e=e.target.getAttribute("data-range-key");(this.chosenLabel=e)==this.locale.customRangeLabel?this.showCalendars():(e=this.ranges[e],this.startDate=e[0],this.endDate=e[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply())},clickPrev:function(e){j(e.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(e){j(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(e){var t,i,r,s,o,a;j(e.target).hasClass("available")&&(t=(i=j(e.target).attr("data-title")).substr(1,1),i=i.substr(3,1),r=(j(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar:this.rightCalendar).calendar[t][i],s=this.leftCalendar,o=this.rightCalendar,a=this.startDate,this.endDate||this.container.find(".drp-calendar tbody td").each(function(e,t){var i,n;j(t).hasClass("week")||(n=(i=j(t).attr("data-title")).substr(1,1),i=i.substr(3,1),(n=(j(t).parents(".drp-calendar").hasClass("left")?s:o).calendar[n][i]).isAfter(a)&&n.isBefore(r)||n.isSame(r,"day")?j(t).addClass("in-range"):j(t).removeClass("in-range"))}))},clickDate:function(e){var t,i,n,r,s,o;j(e.target).hasClass("available")&&(i=(t=j(e.target).attr("data-title")).substr(1,1),t=t.substr(3,1),i=(j(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar:this.rightCalendar).calendar[i][t],this.endDate||i.isBefore(this.startDate,"day")?(this.timePicker&&(n=parseInt(this.container.find(".left .hourselect").val(),10),this.timePicker24Hour||("PM"===(r=this.container.find(".left .ampmselect").val())&&n<12&&(n+=12),"AM"===r&&12===n&&(n=0)),s=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(s)&&(s=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),o=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,i=i.clone().hour(n).minute(s).second(o)),this.endDate=null,this.setStartDate(i.clone())):!this.endDate&&i.isBefore(this.startDate)?this.setEndDate(this.startDate.clone()):(this.timePicker&&(n=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(r=this.container.find(".right .ampmselect").val())&&n<12&&(n+=12),"AM"===r&&12===n&&(n=0)),s=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(s)&&(s=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),o=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,i=i.clone().hour(n).minute(s).second(o)),this.setEndDate(i.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())),this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),e.stopPropagation())},calculateChosenLabel:function(){var e,t=!0,i=0;for(e in this.ranges){if(this.timePicker){var n=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(n)==this.ranges[e][0].format(n)&&this.endDate.format(n)==this.ranges[e][1].format(n)){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+i+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[e][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[e][1].format("YYYY-MM-DD")){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+i+")").addClass("active").attr("data-range-key");break}i++}t&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(e){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(e){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(e){var e=j(e.target).closest(".drp-calendar").hasClass("left"),t=this.container.find(".drp-calendar."+(e?"left":"right")),i=parseInt(t.find(".monthselect").val(),10),t=t.find(".yearselect").val();e||(t<this.startDate.year()||t==this.startDate.year()&&i<this.startDate.month())&&(i=this.startDate.month(),t=this.startDate.year()),this.minDate&&(t<this.minDate.year()||t==this.minDate.year()&&i<this.minDate.month())&&(i=this.minDate.month(),t=this.minDate.year()),this.maxDate&&(t>this.maxDate.year()||t==this.maxDate.year()&&i>this.maxDate.month())&&(i=this.maxDate.month(),t=this.maxDate.year()),e?(this.leftCalendar.month.month(i).year(t),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(i).year(t),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(e){var e=j(e.target).closest(".drp-calendar"),t=e.hasClass("left"),i=parseInt(e.find(".hourselect").val(),10),n=parseInt(e.find(".minuteselect").val(),10),r=(isNaN(n)&&(n=parseInt(e.find(".minuteselect option:last").val(),10)),this.timePickerSeconds?parseInt(e.find(".secondselect").val(),10):0);this.timePicker24Hour||("PM"===(e=e.find(".ampmselect").val())&&i<12&&(i+=12),"AM"===e&&12===i&&(i=0)),t?((e=this.startDate.clone()).hour(i),e.minute(n),e.second(r),this.setStartDate(e),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==e.format("YYYY-MM-DD")&&this.endDate.isBefore(e)&&this.setEndDate(e.clone())):this.endDate&&((t=this.endDate.clone()).hour(i),t.minute(n),t.second(r),this.setEndDate(t)),this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){var e,t,i;this.element.is("input")&&this.element.val().length&&(i=t=null,2===(e=this.element.val().split(this.locale.separator)).length&&(t=A(e[0],this.locale.format),i=A(e[1],this.locale.format)),!this.singleDatePicker&&null!==t&&null!==i||(i=t=A(this.element.val(),this.locale.format)),t.isValid()&&i.isValid()&&(this.setStartDate(t),this.setEndDate(i),this.updateView()))},keydown:function(e){9!==e.keyCode&&13!==e.keyCode||this.hide(),27===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.hide())},updateElement:function(){var e;this.element.is("input")&&this.autoUpdateInput&&(e=this.startDate.format(this.locale.format),this.singleDatePicker||(e+=this.locale.separator+this.endDate.format(this.locale.format)),e!==this.element.val()&&this.element.val(e).trigger("change"))},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},j.fn.daterangepicker=function(e,t){var i=j.extend(!0,{},j.fn.daterangepicker.defaultOptions,e);return this.each(function(){var e=j(this);e.data("daterangepicker")&&e.data("daterangepicker").remove(),e.data("daterangepicker",new n(e,i,t))}),this},n;var A,j,n}.apply(t,i))&&(e.exports=t)},
vendor: 19,357 bytes, line 1
1"./node_modules/bootstrap-markdown/js/bootstrap-markdown.js":function(e,t,i){var n;i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(x){"use strict";var r=function(i,n){var e=["autofocus","savable","hideable","width","height","resize","iconlibrary","language","footer","fullscreen","hiddenButtons","disabledButtons"];x.each(e,function(e,t){if(typeof x(i).data(t)!=="undefined"){n=typeof n=="object"?n:{};n[t]=x(i).data(t)}});this.$ns="bootstrap-markdown";this.$element=x(i);this.$editable={el:null,type:null,attrKeys:[],attrValues:[],content:null};this.$options=x.extend(true,{},x.fn.markdown.defaults,n,this.$element.data("options"));this.$oldContent=null;this.$isPreview=false;this.$isFullscreen=false;this.$editor=null;this.$textarea=null;this.$handler=[];this.$callback=[];this.$nextTab=[];this.showEditor()},e=(r.prototype={constructor:r,__alterButtons:function(n,r){var e=this.$handler,s=n=="all",o=this;x.each(e,function(e,t){var i=true;if(s)i=false;else i=t.indexOf(n)<0;if(i===false)r(o.$editor.find('button[data-handler="'+t+'"]'))})},__buildButtons:function(e,t){var i,n=this.$ns,r=this.$handler,s=this.$callback;for(i=0;i<e.length;i++){var o,a=e[i];for(o=0;o<a.length;o++){var l,c=a[o].data,u=x("<div/>",{class:"btn-group"});for(l=0;l<c.length;l++){var d=c[l],h,f,p=n+"-"+d.name,m=this.__getIcon(d.icon),g=d.btnText?d.btnText:"",v=d.btnClass?d.btnClass:"btn",y=d.tabIndex?d.tabIndex:"-1",b=typeof d.hotkey!=="undefined"?d.hotkey:"",_=typeof jQuery.hotkeys!=="undefined"&&b!==""?" ("+b+")":"";h=x("<button></button>");h.text(" "+this.__localize(g)).addClass("btn-default btn-sm").addClass(v);if(v.match(/btn\-(primary|success|info|warning|danger|link)/))h.removeClass("btn-default");h.attr({type:"button",title:this.__localize(d.title)+_,tabindex:y,"data-provider":n,"data-handler":p,"data-hotkey":b});if(d.toggle===true)h.attr("data-toggle","button");f=x("<span/>");f.addClass(m);f.prependTo(h);u.append(h);r.push(p);s.push(d.callback)}t.append(u)}}return t},__setListener:function(){var e=typeof this.$textarea.attr("rows")!=="undefined",t=this.$textarea.val().split("\n").length>5?this.$textarea.val().split("\n").length:"5",i=e?this.$textarea.attr("rows"):t;this.$textarea.attr("rows",i);if(this.$options.resize)this.$textarea.css("resize",this.$options.resize);this.$textarea.on({focus:x.proxy(this.focus,this),keyup:x.proxy(this.keyup,this),change:x.proxy(this.change,this),select:x.proxy(this.select,this)});if(this.eventSupported("keydown"))this.$textarea.on("keydown",x.proxy(this.keydown,this));if(this.eventSupported("keypress"))this.$textarea.on("keypress",x.proxy(this.keypress,this));this.$textarea.data("markdown",this)},__handle:function(e){var t=x(e.currentTarget),i=this.$handler,n=this.$callback,r=t.attr("data-handler"),s=i.indexOf(r),o=n[s];x(e.currentTarget).focus();o(this);this.change(this);if(r.indexOf("cmdSave")<0)this.$textarea.focus();e.preventDefault()},__localize:function(e){var t=x.fn.markdown.messages,i=this.$options.language;if(typeof t!=="undefined"&&typeof t[i]!=="undefined"&&typeof t[i][e]!=="undefined")return t[i][e];return e},__getIcon:function(e){return typeof e=="object"?e[this.$options.iconlibrary]:e},setFullscreen:function(e){var t=this.$editor,i=this.$textarea;if(e===true){t.addClass("md-fullscreen-mode");x("body").addClass("md-nooverflow");this.$options.onFullscreen(this)}else{t.removeClass("md-fullscreen-mode");x("body").removeClass("md-nooverflow");if(this.$isPreview==true)this.hidePreview().showPreview()}this.$isFullscreen=e;i.focus()},showEditor:function(){var t=this,i,e=this.$ns,n=this.$element,r=n.css("height"),s=n.css("width"),o=this.$editable,a=this.$handler,l=this.$callback,c=this.$options,u=x("<div/>",{class:"md-editor",click:function(){t.focus()}});if(this.$editor===null){var d=x("<div/>",{class:"md-header btn-toolbar"});var h=[];if(c.buttons.length>0)h=h.concat(c.buttons[0]);if(c.additionalButtons.length>0)x.each(c.additionalButtons[0],function(e,i){var t=x.grep(h,function(e,t){return e.name===i.name});if(t.length>0)t[0].data=t[0].data.concat(i.data);else h.push(c.additionalButtons[0][e])});if(c.reorderButtonGroups.length>0)h=h.filter(function(e){return c.reorderButtonGroups.indexOf(e.name)>-1}).sort(function(e,t){if(c.reorderButtonGroups.indexOf(e.name)<c.reorderButtonGroups.indexOf(t.name))return-1;if(c.reorderButtonGroups.indexOf(e.name)>c.reorderButtonGroups.indexOf(t.name))return 1;return 0});if(h.length>0)d=this.__buildButtons([h],d);if(c.fullscreen.enable)d.append('<div class="md-controls"><a class="md-control md-control-fullscreen" href="#"><span class="'+this.__getIcon(c.fullscreen.icons.fullscreenOn)+'"></span></a></div>').on("click",".md-control-fullscreen",function(e){e.preventDefault();t.setFullscreen(true)});u.append(d);if(n.is("textarea")){n.before(u);i=n;i.addClass("md-input");u.append(i)}else{var f=typeof toMarkdown=="function"?toMarkdown(n.html()):n.html(),p=x.trim(f);i=x("<textarea/>",{class:"md-input",val:p});u.append(i);o.el=n;o.type=n.prop("tagName").toLowerCase();o.content=n.html();x(n[0].attributes).each(function(){o.attrKeys.push(this.nodeName);o.attrValues.push(this.nodeValue)});n.replaceWith(u)}var m=x("<div/>",{class:"md-footer"}),g=false,v="";if(c.savable){g=true;var y="cmdSave";a.push(y);l.push(c.onSave);m.append('<button class="btn btn-success" data-provider="'+e+'" data-handler="'+y+'"><i class="icon icon-white icon-ok"></i> '+this.__localize("Save")+"</button>")}v=typeof c.footer==="function"?c.footer(this):c.footer;if(x.trim(v)!==""){g=true;m.append(v)}if(g)u.append(m);if(c.width&&c.width!=="inherit")if(jQuery.isNumeric(c.width)){u.css("display","table");i.css("width",c.width+"px")}else u.addClass(c.width);if(c.height&&c.height!=="inherit")if(jQuery.isNumeric(c.height)){var b=c.height;if(d)b=Math.max(0,b-d.outerHeight());if(m)b=Math.max(0,b-m.outerHeight());i.css("height",b+"px")}else u.addClass(c.height);this.$editor=u;this.$textarea=i;this.$editable=o;this.$oldContent=this.getContent();this.__setListener();this.$editor.attr("id",(new Date).getTime());this.$editor.on("click",'[data-provider="bootstrap-markdown"]',x.proxy(this.__handle,this));if(this.$element.is(":disabled")||this.$element.is("[readonly]")){this.$editor.addClass("md-editor-disabled");this.disableButtons("all")}if(this.eventSupported("keydown")&&typeof jQuery.hotkeys==="object")d.find('[data-provider="bootstrap-markdown"]').each(function(){var e=x(this),t=e.attr("data-hotkey");if(t.toLowerCase()!=="")i.bind("keydown",t,function(){e.trigger("click");return false})});if(c.initialstate==="preview")this.showPreview();else if(c.initialstate==="fullscreen"&&c.fullscreen.enable)this.setFullscreen(true)}else this.$editor.show();if(c.autofocus){this.$textarea.focus();this.$editor.addClass("active")}if(c.fullscreen.enable&&c.fullscreen!==false){this.$editor.append('<div class="md-fullscreen-controls">'+'<a href="#" class="exit-fullscreen" title="Exit fullscreen"><span class="'+this.__getIcon(c.fullscreen.icons.fullscreenOff)+'">'+"</span></a>"+"</div>");this.$editor.on("click",".exit-fullscreen",function(e){e.preventDefault();t.setFullscreen(false)})}this.hideButtons(c.hiddenButtons);this.disableButtons(c.disabledButtons);c.onShow(this);return this},parseContent:function(e){var t;var e=e||this.$textarea.val();if(this.$options.parser)t=this.$options.parser(e);else if(typeof markdown=="object")t=markdown.toHTML(e);else if(typeof marked=="function")t=marked(e);else t=e;return t},showPreview:function(){var e=this.$options,t=this.$textarea,i=t.next(),n=x("<div/>",{class:"md-preview","data-provider":"markdown-preview"}),r,s;if(this.$isPreview==true)return this;this.$isPreview=true;this.disableButtons("all").enableButtons("cmdPreview");s=e.onPreview(this);r=typeof s=="string"?s:this.parseContent();n.html(r);if(i&&i.attr("class")=="md-footer")n.insertBefore(i);else t.parent().append(n);n.css({width:t.outerWidth()+"px",height:t.outerHeight()+"px"});if(this.$options.resize)n.css("resize",this.$options.resize);t.hide();n.data("markdown",this);if(this.$element.is(":disabled")||this.$element.is("[readonly]")){this.$editor.addClass("md-editor-disabled");this.disableButtons("all")}return this},hidePreview:function(){this.$isPreview=false;var e=this.$editor.find('div[data-provider="markdown-preview"]');e.remove();this.enableButtons("all");this.disableButtons(this.$options.disabledButtons);this.$textarea.show();this.__setListener();return this},isDirty:function(){return this.$oldContent!=this.getContent()},getContent:function(){return this.$textarea.val()},setContent:function(e){this.$textarea.val(e);return this},findSelection:function(e){var t=this.getContent(),i;if(i=t.indexOf(e),i>=0&&e.length>0){var n=this.getSelection(),r;this.setSelection(i,i+e.length);r=this.getSelection();this.setSelection(n.start,n.end);return r}else return null},getSelection:function(){var t=this.$textarea[0];return("selectionStart"in t&&function(){var e=t.selectionEnd-t.selectionStart;return{start:t.selectionStart,end:t.selectionEnd,length:e,text:t.value.substr(t.selectionStart,e)}}||function(){return null})()},setSelection:function(e,t){var i=this.$textarea[0];return("selectionStart"in i&&function(){i.selectionStart=e;i.selectionEnd=t;return}||function(){return null})()},replaceSelection:function(e){var t=this.$textarea[0];return("selectionStart"in t&&function(){t.value=t.value.substr(0,t.selectionStart)+e+t.value.substr(t.selectionEnd,t.value.length);t.selectionStart=t.value.length;return this}||function(){t.value+=e;return jQuery(t)})()},getNextTab:function(){if(this.$nextTab.length===0)return null;else{var e,t=this.$nextTab.shift();if(typeof t=="function")e=t();else if(typeof t=="object"&&t.length>0)e=t;return e}},setNextTab:function(e,t){if(typeof e=="string"){var i=this;this.$nextTab.push(function(){return i.findSelection(e)})}else if(typeof e=="number"&&typeof t=="number"){var n=this.getSelection();this.setSelection(e,t);this.$nextTab.push(this.getSelection());this.setSelection(n.start,n.end)}return},__parseButtonNameParam:function(e){return typeof e=="string"?e.split(" "):e},enableButtons:function(e){var i=this.__parseButtonNameParam(e),n=this;x.each(i,function(e,t){n.__alterButtons(i[e],function(e){e.removeAttr("disabled")})});return this},disableButtons:function(e){var i=this.__parseButtonNameParam(e),n=this;x.each(i,function(e,t){n.__alterButtons(i[e],function(e){e.attr("disabled","disabled")})});return this},hideButtons:function(e){var i=this.__parseButtonNameParam(e),n=this;x.each(i,function(e,t){n.__alterButtons(i[e],function(e){e.addClass("hidden")})});return this},showButtons:function(e){var i=this.__parseButtonNameParam(e),n=this;x.each(i,function(e,t){n.__alterButtons(i[e],function(e){e.removeClass("hidden")})});return this},eventSupported:function(e){var t=e in this.$element;if(!t){this.$element.setAttribute(e,"return;");t=typeof this.$element[e]==="function"}return t},keyup:function(e){var t=false;switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:var i;if(i=this.getNextTab(),i!==null){var n=this;setTimeout(function(){n.setSelection(i.start,i.end)},500);t=true}else{var r=this.getSelection();if(r.start==r.end&&r.end==this.getContent().length)t=false;else{this.setSelection(this.getContent().length,this.getContent().length);t=true}}break;case 13:t=false;break;case 27:if(this.$isFullscreen)this.setFullscreen(false);t=false;break;default:t=false}if(t){e.stopPropagation();e.preventDefault()}this.$options.onChange(this)},change:function(e){this.$options.onChange(this);return this},select:function(e){this.$options.onSelect(this);return this},focus:function(e){var t=this.$options,i=t.hideable,n=this.$editor;n.addClass("active");x(document).find(".md-editor").each(function(){if(x(this).attr("id")!==n.attr("id")){var e;if(e=x(this).find("textarea").data("markdown"),e===null)e=x(this).find('div[data-provider="markdown-preview"]').data("markdown");if(e)e.blur()}});t.onFocus(this);return this},blur:function(e){var t=this.$options,i=t.hideable,n=this.$editor,r=this.$editable;if(n.hasClass("active")||this.$element.parent().length===0){n.removeClass("active");if(i)if(r.el!==null){var s=x("<"+r.type+"/>"),o=this.getContent(),a=this.parseContent(o);x(r.attrKeys).each(function(e,t){s.attr(r.attrKeys[e],r.attrValues[e])});s.html(a);n.replaceWith(s)}else n.hide();t.onBlur(this)}return this}},x.fn.markdown),t=(x.fn.markdown=function(n){return this.each(function(){var e=x(this),t=e.data("markdown"),i=typeof n=="object"&&n;if(!t)e.data("markdown",t=new r(this,i))})},x.fn.markdown.messages={},x.fn.markdown.defaults={autofocus:false,hideable:false,savable:false,width:"inherit",height:"inherit",resize:"none",iconlibrary:"glyph",language:"en",initialstate:"editor",parser:null,buttons:[[{name:"groupFont",data:[{name:"cmdBold",hotkey:"Ctrl+B",title:"Bold",icon:{glyph:"glyphicon glyphicon-bold",fa:"fa fa-bold","fa-3":"icon-bold"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0)t=e.__localize("strong text");else t=n.text;if(r.substr(n.start-2,2)==="**"&&r.substr(n.end,2)==="**"){e.setSelection(n.start-2,n.end+2);e.replaceSelection(t);i=n.start-2}else{e.replaceSelection("**"+t+"**");i=n.start+2}e.setSelection(i,i+t.length)}},{name:"cmdItalic",title:"Italic",hotkey:"Ctrl+I",icon:{glyph:"glyphicon glyphicon-italic",fa:"fa fa-italic","fa-3":"icon-italic"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0)t=e.__localize("emphasized text");else t=n.text;if(r.substr(n.start-1,1)==="_"&&r.substr(n.end,1)==="_"){e.setSelection(n.start-1,n.end+1);e.replaceSelection(t);i=n.start-1}else{e.replaceSelection("_"+t+"_");i=n.start+1}e.setSelection(i,i+t.length)}},{name:"cmdHeading",title:"Heading",hotkey:"Ctrl+H",icon:{glyph:"glyphicon glyphicon-header",fa:"fa fa-header","fa-3":"icon-font"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent(),s,o;if(n.length===0)t=e.__localize("heading text");else t=n.text+"\n";if((s=4,r.substr(n.start-s,s)==="### ")||(s=3,r.substr(n.start-s,s)==="###")){e.setSelection(n.start-s,n.end);e.replaceSelection(t);i=n.start-s}else if(n.start>0&&(o=r.substr(n.start-1,1),!!o&&o!="\n")){e.replaceSelection("\n\n### "+t);i=n.start+6}else{e.replaceSelection("### "+t);i=n.start+4}e.setSelection(i,i+t.length)}}]},{name:"groupLink",data:[{name:"cmdUrl",title:"URL/Link",hotkey:"Ctrl+L",icon:{glyph:"glyphicon glyphicon-link",fa:"fa fa-link","fa-3":"icon-link"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent(),s;if(n.length===0)t=e.__localize("enter link description here");else t=n.text;s=prompt(e.__localize("Insert Hyperlink"),"http://");var o=new RegExp("^((http|https)://|(mailto:)|(//))[a-z0-9]","i");if(s!==null&&s!==""&&s!=="http://"&&o.test(s)){var a=x("<div>"+s+"</div>").text();e.replaceSelection("["+t+"]("+a+")");i=n.start+1;e.setSelection(i,i+t.length)}}},{name:"cmdImage",title:"Image",hotkey:"Ctrl+G",icon:{glyph:"glyphicon glyphicon-picture",fa:"fa fa-picture-o","fa-3":"icon-picture"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent(),s;if(n.length===0)t=e.__localize("enter image description here");else t=n.text;s=prompt(e.__localize("Insert Image Hyperlink"),"http://");var o=new RegExp("^((http|https)://|(//))[a-z0-9]","i");if(s!==null&&s!==""&&s!=="http://"&&o.test(s)){var a=x("<div>"+s+"</div>").text();e.replaceSelection("!["+t+"]("+a+' "'+e.__localize("enter image title here")+'")');i=n.start+2;e.setNextTab(e.__localize("enter image title here"));e.setSelection(i,i+t.length)}}}]},{name:"groupMisc",data:[{name:"cmdList",hotkey:"Ctrl+U",title:"Unordered List",icon:{glyph:"glyphicon glyphicon-list",fa:"fa fa-list","fa-3":"icon-list-ul"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0){t=e.__localize("list text here");e.replaceSelection("- "+t);i=n.start+2}else if(n.text.indexOf("\n")<0){t=n.text;e.replaceSelection("- "+t);i=n.start+2}else{var s=[];s=n.text.split("\n");t=s[0];x.each(s,function(e,t){s[e]="- "+t});e.replaceSelection("\n\n"+s.join("\n"));i=n.start+4}e.setSelection(i,i+t.length)}},{name:"cmdListO",hotkey:"Ctrl+O",title:"Ordered List",icon:{glyph:"glyphicon glyphicon-th-list",fa:"fa fa-list-ol","fa-3":"icon-list-ol"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0){t=e.__localize("list text here");e.replaceSelection("1. "+t);i=n.start+3}else if(n.text.indexOf("\n")<0){t=n.text;e.replaceSelection("1. "+t);i=n.start+3}else{var s=[];s=n.text.split("\n");t=s[0];x.each(s,function(e,t){s[e]="1. "+t});e.replaceSelection("\n\n"+s.join("\n"));i=n.start+5}e.setSelection(i,i+t.length)}},{name:"cmdCode",hotkey:"Ctrl+K",title:"Code",icon:{glyph:"glyphicon glyphicon-asterisk",fa:"fa fa-code","fa-3":"icon-code"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0)t=e.__localize("code text here");else t=n.text;if(r.substr(n.start-4,4)==="```\n"&&r.substr(n.end,4)==="\n```"){e.setSelection(n.start-4,n.end+4);e.replaceSelection(t);i=n.start-4}else if(r.substr(n.start-1,1)==="`"&&r.substr(n.end,1)==="`"){e.setSelection(n.start-1,n.end+1);e.replaceSelection(t);i=n.start-1}else if(r.indexOf("\n")>-1){e.replaceSelection("```\n"+t+"\n```");i=n.start+4}else{e.replaceSelection("`"+t+"`");i=n.start+1}e.setSelection(i,i+t.length)}},{name:"cmdQuote",hotkey:"Ctrl+Q",title:"Quote",icon:{glyph:"glyphicon glyphicon-comment",fa:"fa fa-quote-left","fa-3":"icon-quote-left"},callback:function(e){var t,i,n=e.getSelection(),r=e.getContent();if(n.length===0){t=e.__localize("quote here");e.replaceSelection("> "+t);i=n.start+2}else if(n.text.indexOf("\n")<0){t=n.text;e.replaceSelection("> "+t);i=n.start+2}else{var s=[];s=n.text.split("\n");t=s[0];x.each(s,function(e,t){s[e]="> "+t});e.replaceSelection("\n\n"+s.join("\n"));i=n.start+4}e.setSelection(i,i+t.length)}}]},{name:"groupUtil",data:[{name:"cmdPreview",toggle:true,hotkey:"Ctrl+P",title:"Preview",btnText:"Preview",btnClass:"btn btn-primary btn-sm",icon:{glyph:"glyphicon glyphicon-search",fa:"fa fa-search","fa-3":"icon-search"},callback:function(e){var t=e.$isPreview,i;if(t===false)e.showPreview();else e.hidePreview()}}]}]],additionalButtons:[],reorderButtonGroups:[],hiddenButtons:[],disabledButtons:[],footer:"",fullscreen:{enable:true,icons:{fullscreenOn:{fa:"fa fa-expand",glyph:"glyphicon glyphicon-fullscreen","fa-3":"icon-resize-full"},fullscreenOff:{fa:"fa fa-compress",glyph:"glyphicon glyphicon-fullscreen","fa-3":"icon-resize-small"}}},onShow:function(e){},onPreview:function(e){},onSave:function(e){},onBlur:function(e){},onFocus:function(e){},onChange:function(e){},onFullscreen:function(e){},onSelect:function(e){}},x.fn.markdown.Constructor=r,x.fn.markdown.noConflict=function(){x.fn.markdown=e;return this},function(e){var t=e;if(t.data("markdown")){t.data("markdown").showEditor();return}t.markdown()}),i=function(e){var n=x(document.activeElement);x(document).find(".md-editor").each(function(){var e=x(this),t=n.closest(".md-editor")[0]===this,i=e.find("textarea").data("markdown")||e.find('div[data-provider="markdown-preview"]').data("markdown");if(i&&!t)i.blur()})};x(document).on("click.markdown.data-api",'[data-provide="markdown-editable"]',function(e){t(x(this));e.preventDefault()}).on("click focusin",function(e){i(e)}).ready(function(){x('textarea[data-provide="markdown"]').each(function(){t(x(this))})})})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 4,874 bytes, line 1
1"./node_modules/bootstrap-maxlength/src/bootstrap-maxlength.js":function(e,t){!function(b){"use strict";b.event.special.destroyed||(b.event.special.destroyed={remove:function(e){e.handler&&e.handler()}}),b.fn.extend({maxlength:function(d,e){var t=b("body");function h(e){e=e.charCodeAt();return e?e<128?1:e<2048?2:3:0}function f(e){return e.split("").map(h).concat(0).reduce(function(e,t){return e+t})}function a(e){var t=e.val(),t=d.twoCharLinebreak?t.replace(/\r(?!\n)|\n(?!\r)/g,"\r\n"):t.replace(/(?:\r\n|\r|\n)/g,"\n"),i=0,i=d.utf8?f(t):t.length;return"file"===e.prop("type")&&""!==e.val()&&(i-=12),i}function p(e,t){return t-a(e)}function l(e,t){t.css({display:"block"}),e.trigger("maxlength.shown")}function m(e,t,i){var n="";return d.message?n="function"==typeof d.message?d.message(e,t):d.message.replace("%charsTyped%",i).replace("%charsRemaining%",t-i).replace("%charsTotal%",t):(d.preText&&(n+=d.preText),d.showCharsTyped?n+=i:n+=t-i,d.showMaxLength&&(n+=d.separator+t),d.postText&&(n+=d.postText)),n}function g(e,t,i,n){var r,s,o;n&&(n.html(m(t.val(),i,i-e)),0<e?(r=t,s=d.threshold,i=i,o=!0,(o=!(!d.alwaysShow&&i-a(r)>s)&&o)?l(t,n.removeClass(d.limitReachedClass).addClass(d.warningClass)):(i=t,r=n,d.alwaysShow||(r.css({display:"none"}),i.trigger("maxlength.hidden")))):l(t,n.removeClass(d.warningClass).addClass(d.limitReachedClass))),d.customMaxAttribute&&(e<0?t.addClass("overmax"):t.removeClass("overmax"))}function v(e,t){n=(r=e)[0];var i=b.extend({},"function"==typeof n.getBoundingClientRect?n.getBoundingClientRect():{width:n.offsetWidth,height:n.offsetHeight},r.offset());if("function"===b.type(d.placement))d.placement(e,t,i);else{if(b.isPlainObject(d.placement))return n=d.placement,r=t,void(n&&r&&(s={},b.each(["top","bottom","left","right","position"],function(e,t){var i=d.placement[t];void 0!==i&&(s[t]=i)}),r.css(s)));var n,r,s,o=e.outerWidth(),a=t.outerWidth(),l=t.width(),c=t.height();switch(d.appendToParent&&(i.top-=e.parent().offset().top,i.left-=e.parent().offset().left),d.placement){case"bottom":t.css({top:i.top+i.height,left:i.left+i.width/2-l/2});break;case"top":t.css({top:i.top-c,left:i.left+i.width/2-l/2});break;case"left":t.css({top:i.top+i.height/2-c/2,left:i.left-l});break;case"right":t.css({top:i.top+i.height/2-c/2,left:i.left+i.width});break;case"bottom-right":t.css({top:i.top+i.height,left:i.left+i.width});break;case"top-right":t.css({top:i.top-c,left:i.left+o});break;case"top-left":t.css({top:i.top-c,left:i.left-a});break;case"bottom-left":t.css({top:i.top+e.outerHeight(),left:i.left-a});break;case"centered-right":t.css({top:i.top+c/2,left:i.left+o-a-3});break;case"bottom-right-inside":t.css({top:i.top+i.height,left:i.left+i.width-a});break;case"top-right-inside":t.css({top:i.top-c,left:i.left+o-a});break;case"top-left-inside":t.css({top:i.top-c,left:i.left});break;case"bottom-left-inside":t.css({top:i.top+e.outerHeight(),left:i.left})}}}function y(e){var t,i=e.attr("maxlength")||d.customMaxAttribute;return d.customMaxAttribute&&!d.allowOverMax&&(t=e.attr(d.customMaxAttribute),(!i||t<i)&&(i=t)),i=i||e.attr("size")}return b.isFunction(d)&&!e&&(e=d,d={}),d=b.extend({showOnReady:!1,alwaysShow:!0,threshold:0,warningClass:"small form-text text-muted",limitReachedClass:"small form-text text-danger",separator:" / ",preText:"",postText:"",showMaxLength:!0,placement:"bottom-right-inside",message:null,showCharsTyped:!0,validate:!1,utf8:!1,appendToParent:!1,twoCharLinebreak:!0,customMaxAttribute:null,allowOverMax:!1,zIndex:1099},d),this.each(function(){var l,c,u=b(this);function e(){var e=m(u.val(),l,"0");l=y(u),c=c||b('<span class="bootstrap-maxlength"></span>').css({display:"none",position:"absolute",whiteSpace:"nowrap",zIndex:d.zIndex}).html(e),u.is("textarea")&&(u.data("maxlenghtsizex",u.outerWidth()),u.data("maxlenghtsizey",u.outerHeight()),u.mouseup(function(){u.outerWidth()===u.data("maxlenghtsizex")&&u.outerHeight()===u.data("maxlenghtsizey")||v(u,c),u.data("maxlenghtsizex",u.outerWidth()),u.data("maxlenghtsizey",u.outerHeight())})),d.appendToParent?(u.parent().append(c),u.parent().css("position","relative")):t.append(c),g(p(u,y(u)),u,l,c),v(u,c)}b(window).resize(function(){c&&v(u,c)}),d.showOnReady?u.ready(function(){e()}):u.focus(function(){e()}),u.on("maxlength.reposition",function(){v(u,c)}),u.on("destroyed",function(){c&&c.remove()}),u.on("blur",function(){c&&!d.showOnReady&&c.remove()}),u.on("input",function(){var e=y(u),t=p(u,e),i=!0;if(d.validate&&t<0){var n=u,r=n.val();if(d.twoCharLinebreak&&"\n"===(r=r.replace(/\r(?!\n)|\n(?!\r)/g,"\r\n"))[r.length-1]&&(e-=r.length%2),d.utf8){for(var s=r.split("").map(h),o=0,a=f(r)-e;o<a;o+=s.pop());e-=e-s.length}n.val(r.substr(0,e)),i=!1}else g(t,u,l,c);return("bottom-right-inside"===d.placement||"top-right-inside"===d.placement||"function"==typeof d.placement||d.message&&"function"==typeof d.message)&&v(u,c),i})})}})}(jQuery)},
vendor: 7,998 bytes, line 1
1"./node_modules/bootstrap-notify/bootstrap-notify.min.js":function(e,t,i){var n;i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(s){function n(e,t,i){var t={content:{message:"object"==typeof t?t.message:t,title:t.title?t.title:"",icon:t.icon?t.icon:"",url:t.url?t.url:"#",target:t.target?t.target:"-"}};i=s.extend(!0,{},t,i),this.settings=s.extend(!0,{},r,i),this._defaults=r,"-"==this.settings.content.target&&(this.settings.content.target=this.settings.url_target),this.animations={start:"webkitAnimationStart oanimationstart MSAnimationStart animationstart",end:"webkitAnimationEnd oanimationend MSAnimationEnd animationend"},"number"==typeof this.settings.offset&&(this.settings.offset={x:this.settings.offset,y:this.settings.offset}),this.init()}var r={element:"body",position:null,type:"info",allow_dismiss:!0,newest_on_top:!1,showProgressbar:!1,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:null,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onClose:null,onClosed:null,icon_type:"class",template:'<div data-notify="container" class="col-xs-11 col-sm-4 alert alert-{0}" role="alert"><button type="button" aria-hidden="true" class="close" data-notify="dismiss">&times;</button><span data-notify="icon"></span> <span data-notify="title">{1}</span> <span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div>'};String.format=function(){for(var e=arguments[0],t=1;t<arguments.length;t++)e=e.replace(RegExp("\\{"+(t-1)+"\\}","gm"),arguments[t]);return e},s.extend(n.prototype,{init:function(){var o=this;this.buildNotify(),this.settings.content.icon&&this.setIcon(),"#"!=this.settings.content.url&&this.styleURL(),this.styleDismiss(),this.placement(),this.bind(),this.notify={$ele:this.$ele,update:function(e,t){var i={};"string"==typeof e?i[e]=t:i=e;for(var e in i)switch(e){case"type":this.$ele.removeClass("alert-"+o.settings.type),this.$ele.find('[data-notify="progressbar"] > .progress-bar').removeClass("progress-bar-"+o.settings.type),o.settings.type=i[e],this.$ele.addClass("alert-"+i[e]).find('[data-notify="progressbar"] > .progress-bar').addClass("progress-bar-"+i[e]);break;case"icon":var n=this.$ele.find('[data-notify="icon"]');"class"==o.settings.icon_type.toLowerCase()?n.removeClass(o.settings.content.icon).addClass(i[e]):(n.is("img")||n.find("img"),n.attr("src",i[e]));break;case"progress":var r=o.settings.delay-o.settings.delay*(i[e]/100);this.$ele.data("notify-delay",r),this.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",i[e]).css("width",i[e]+"%");break;case"url":this.$ele.find('[data-notify="url"]').attr("href",i[e]);break;case"target":this.$ele.find('[data-notify="url"]').attr("target",i[e]);break;default:this.$ele.find('[data-notify="'+e+'"]').html(i[e])}var s=this.$ele.outerHeight()+parseInt(o.settings.spacing)+parseInt(o.settings.offset.y);o.reposition(s)},close:function(){o.close()}}},buildNotify:function(){var e=this.settings.content;this.$ele=s(String.format(this.settings.template,this.settings.type,e.title,e.message,e.url,e.target)),this.$ele.attr("data-notify-position",this.settings.placement.from+"-"+this.settings.placement.align),this.settings.allow_dismiss||this.$ele.find('[data-notify="dismiss"]').css("display","none"),(this.settings.delay<=0&&!this.settings.showProgressbar||!this.settings.showProgressbar)&&this.$ele.find('[data-notify="progressbar"]').remove()},setIcon:function(){"class"==this.settings.icon_type.toLowerCase()?this.$ele.find('[data-notify="icon"]').addClass(this.settings.content.icon):this.$ele.find('[data-notify="icon"]').is("img")?this.$ele.find('[data-notify="icon"]').attr("src",this.settings.content.icon):this.$ele.find('[data-notify="icon"]').append('<img src="'+this.settings.content.icon+'" alt="Notify Icon" />')},styleDismiss:function(){this.$ele.find('[data-notify="dismiss"]').css({position:"absolute",right:"10px",top:"5px",zIndex:this.settings.z_index+2})},styleURL:function(){this.$ele.find('[data-notify="url"]').css({backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)",height:"100%",left:"0px",position:"absolute",top:"0px",width:"100%",zIndex:this.settings.z_index+1})},placement:function(){var i=this,e=this.settings.offset.y,t={display:"inline-block",margin:"0px auto",position:this.settings.position?this.settings.position:"body"===this.settings.element?"fixed":"absolute",transition:"all .5s ease-in-out",zIndex:this.settings.z_index},n=!1,r=this.settings;switch(s('[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])').each(function(){return e=Math.max(e,parseInt(s(this).css(r.placement.from))+parseInt(s(this).outerHeight())+parseInt(r.spacing))}),1==this.settings.newest_on_top&&(e=this.settings.offset.y),t[this.settings.placement.from]=e+"px",this.settings.placement.align){case"left":case"right":t[this.settings.placement.align]=this.settings.offset.x+"px";break;case"center":t.left=0,t.right=0}this.$ele.css(t).addClass(this.settings.animate.enter),s.each(Array("webkit","moz","o","ms",""),function(e,t){i.$ele[0].style[t+"AnimationIterationCount"]=1}),s(this.settings.element).append(this.$ele),1==this.settings.newest_on_top&&(e=parseInt(e)+parseInt(this.settings.spacing)+this.$ele.outerHeight(),this.reposition(e)),s.isFunction(i.settings.onShow)&&i.settings.onShow.call(this.$ele),this.$ele.one(this.animations.start,function(e){n=!0}).one(this.animations.end,function(e){s.isFunction(i.settings.onShown)&&i.settings.onShown.call(this)}),setTimeout(function(){n||s.isFunction(i.settings.onShown)&&i.settings.onShown.call(this)},600)},bind:function(){var i=this;if(this.$ele.find('[data-notify="dismiss"]').on("click",function(){i.close()}),this.$ele.mouseover(function(e){s(this).data("data-hover","true")}).mouseout(function(e){s(this).data("data-hover","false")}),this.$ele.data("data-hover","false"),this.settings.delay>0){i.$ele.data("notify-delay",i.settings.delay);var n=setInterval(function(){var e=parseInt(i.$ele.data("notify-delay"))-i.settings.timer;if("false"===i.$ele.data("data-hover")&&"pause"==i.settings.mouse_over||"pause"!=i.settings.mouse_over){var t=(i.settings.delay-e)/i.settings.delay*100;i.$ele.data("notify-delay",e),i.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",t).css("width",t+"%")}e<=-i.settings.timer&&(clearInterval(n),i.close())},i.settings.timer)}},close:function(){var t=this,e=parseInt(this.$ele.css(this.settings.placement.from)),i=!1;this.$ele.data("closing","true").addClass(this.settings.animate.exit),t.reposition(e),s.isFunction(t.settings.onClose)&&t.settings.onClose.call(this.$ele),this.$ele.one(this.animations.start,function(e){i=!0}).one(this.animations.end,function(e){s(this).remove(),s.isFunction(t.settings.onClosed)&&t.settings.onClosed.call(this)}),setTimeout(function(){i||(t.$ele.remove(),t.settings.onClosed&&t.settings.onClosed(t.$ele))},600)},reposition:function(e){var t=this,i='[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])',n=this.$ele.nextAll(i);1==this.settings.newest_on_top&&(n=this.$ele.prevAll(i)),n.each(function(){s(this).css(t.settings.placement.from,e),e=parseInt(e)+parseInt(t.settings.spacing)+s(this).outerHeight()})}}),s.notify=function(e,t){var i=new n(this,e,t);return i.notify},s.notifyDefaults=function(e){return r=s.extend(!0,{},r,e)},s.notifyClose=function(e){"undefined"==typeof e||"all"==e?s("[data-notify]").find('[data-notify="dismiss"]').trigger("click"):s('[data-notify-position="'+e+'"]').find('[data-notify="dismiss"]').trigger("click")}})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 52,412 bytes, line 1
1"./node_modules/bootstrap-select/dist/js/bootstrap-select.js":function(e,t,i){void 0===this&&void 0!==window&&window,i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(e){!function(_){"use strict";var I=["sanitize","whiteList","sanitizeFn"],N=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],H={"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},F=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,R=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function L(e,t,i){if(i&&"function"==typeof i)return i(e);for(var n=Object.keys(t),r=0,s=e.length;r<s;r++)for(var o=e[r].querySelectorAll("*"),a=0,l=o.length;a<l;a++){var c=o[a],u=c.nodeName.toLowerCase();if(-1===n.indexOf(u))c.parentNode.removeChild(c);else for(var d=[].slice.call(c.attributes),h=[].concat(t["*"]||[],t[u]||[]),f=0,p=d.length;f<p;f++){var m=d[f];!function(e,t){var i=e.nodeName.toLowerCase();if(-1!==_.inArray(i,t))return-1===_.inArray(i,N)||Boolean(e.nodeValue.match(F)||e.nodeValue.match(R));for(var n=_(t).filter(function(e,t){return t instanceof RegExp}),r=0,s=n.length;r<s;r++)if(i.match(n[r]))return 1}(m,h)&&c.removeAttribute(m.nodeName)}}}if(!("classList"in document.createElement("_"))&&"Element"in(i=window)){var t="classList",i=i.Element.prototype,n=Object,e=function(){var i=_(this);return{add:function(e){return e=Array.prototype.slice.call(arguments).join(" "),i.addClass(e)},remove:function(e){return e=Array.prototype.slice.call(arguments).join(" "),i.removeClass(e)},toggle:function(e,t){return i.toggleClass(e,t)},contains:function(e){return i.hasClass(e)}}};if(n.defineProperty){var r={get:e,enumerable:!0,configurable:!0};try{n.defineProperty(i,t,r)}catch(e){void 0!==e.number&&-2146823252!==e.number||(r.enumerable=!1,n.defineProperty(i,t,r))}}else n.prototype.__defineGetter__&&i.__defineGetter__(t,e)}var s,o,a,l,r=document.createElement("_");function c(e){if(null==this)throw new TypeError;var t=String(this);if(e&&"[object RegExp]"==l.call(e))throw new TypeError;var i=t.length,n=String(e),r=n.length,e=1<arguments.length?arguments[1]:void 0,e=e?Number(e):0,s=(e!=e&&(e=0),Math.min(Math.max(e,0),i));if(i<r+s)return!1;for(var o=-1;++o<r;)if(t.charCodeAt(s+o)!=n.charCodeAt(o))return!1;return!0}function x(e,t){var i,n=e.selectedOptions,r=[];if(t){for(var s=0,o=n.length;s<o;s++)(i=n[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||r.push(i);return r}return n}function w(e,t){for(var i,n=[],r=t||e.selectedOptions,s=0,o=r.length;s<o;s++)(i=r[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||n.push(i.value);return e.multiple?n:n.length?n[0]:null}r.classList.add("c1","c2"),r.classList.contains("c2")||(s=DOMTokenList.prototype.add,o=DOMTokenList.prototype.remove,DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,s.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,o.bind(this))}),r.classList.toggle("c3",!1),r.classList.contains("c3")&&(a=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:a.call(this,e)}),r=null,String.prototype.startsWith||(n=function(){try{var e={},t=Object.defineProperty,i=t(e,e,e)&&t}catch(e){}return i}(),l={}.toString,n?n(String.prototype,"startsWith",{value:c,configurable:!0,writable:!0}):String.prototype.startsWith=c),Object.keys||(Object.keys=function(e,t,i){for(t in i=[],e)i.hasOwnProperty.call(e,t)&&i.push(t);return i}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var u={useDefault:!1,_set:_.valHooks.select.set},k=(_.valHooks.select.set=function(e,t){return t&&!u.useDefault&&_(e).data("selected",!0),u._set.apply(this,arguments)},null),z=function(){try{return new Event("change"),!0}catch(e){return!1}}();function y(e,t,i,n){for(var r=["display","subtext","tokens"],s=!1,o=0;o<r.length;o++){var a=r[o],l=e[a];if(l&&(l=l.toString(),"display"===a&&(l=l.replace(/<[^>]+>/g,"")),l=(l=n?f(l):l).toUpperCase(),s="contains"===i?0<=l.indexOf(t):l.startsWith(t)))break}return s}function v(e){return parseInt(e,10)||0}_.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent?(z?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=e,i.fireEvent("on"+e,t)):this.trigger(e)};var $={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},B=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,q=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function W(e){return $[e]}function f(e){return(e=e.toString())&&e.replace(B,W).replace(q,"")}d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},i="(?:"+Object.keys(d).join("|")+")",h=RegExp(i),p=RegExp(i,"g");var d,h,p,S=function(e){return h.test(e=null==e?"":""+e)?e.replace(p,V):e};function V(e){return d[e]}var U={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},b=27,X=13,M=32,C=9,T=38,D=40,E={success:!1,major:"3"};try{E.full=(_.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),E.major=E.full[0],E.success=!0}catch(e){}var m=0,A=".bs.select",j={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},O={MENU:"."+j.MENU},P={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()},G=(P.noResults=P.li.cloneNode(!1),P.noResults.className="no-results",P.a.setAttribute("role","option"),P.a.className="dropdown-item",P.subtext.className="text-muted",P.text=P.span.cloneNode(!1),P.text.className="text",P.checkMark=P.span.cloneNode(!1),new RegExp(T+"|"+D)),K=new RegExp("^"+C+"$|"+b),g={li:function(e,t,i){var n=P.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?n.appendChild(e):n.innerHTML=e),void 0!==t&&""!==t&&(n.className=t),null!=i&&n.classList.add("optgroup-"+i),n},a:function(e,t,i){var n=P.a.cloneNode(!0);return e&&(11===e.nodeType?n.appendChild(e):n.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&n.classList.add.apply(n.classList,t.split(/\s+/)),i&&n.setAttribute("style",i),n},text:function(e,t){var i,n,r=P.text.cloneNode(!1);if(e.content?r.innerHTML=e.content:(r.textContent=e.text,e.icon&&(i=P.whitespace.cloneNode(!1),(n=(!0===t?P.i:P.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,P.fragment.appendChild(n),P.fragment.appendChild(i)),e.subtext&&((n=P.subtext.cloneNode(!1)).textContent=e.subtext,r.appendChild(n))),!0===t)for(;0<r.childNodes.length;)P.fragment.appendChild(r.childNodes[0]);else P.fragment.appendChild(r);return P.fragment},label:function(e){var t,i,n=P.text.cloneNode(!1);return n.innerHTML=e.display,e.icon&&(t=P.whitespace.cloneNode(!1),(i=P.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,P.fragment.appendChild(i),P.fragment.appendChild(t)),e.subtext&&((i=P.subtext.cloneNode(!1)).textContent=e.subtext,n.appendChild(i)),P.fragment.appendChild(n),P.fragment}};function Y(e,t){var i=this;u.useDefault||(_.valHooks.select.set=u._set,u.useDefault=!0),this.$element=_(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=t,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){i.selectpicker.keydown.keyHistory=""},800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title")),"number"==typeof(e=this.options.windowPadding)&&(this.options.windowPadding=[e,e,e,e]),this.val=Y.prototype.val,this.render=Y.prototype.render,this.refresh=Y.prototype.refresh,this.setStyle=Y.prototype.setStyle,this.selectAll=Y.prototype.selectAll,this.deselectAll=Y.prototype.deselectAll,this.destroy=Y.prototype.destroy,this.remove=Y.prototype.remove,this.show=Y.prototype.show,this.hide=Y.prototype.hide,this.init()}function Z(e){var a,l=arguments,c=e;if([].shift.apply(l),!E.success){try{E.full=(_.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){Y.BootstrapVersion?E.full=Y.BootstrapVersion.split(" ")[0].split("."):(E.full=[E.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}E.major=E.full[0],E.success=!0}if("4"===E.major){var t=[];Y.DEFAULTS.style===j.BUTTONCLASS&&t.push({name:"style",className:"BUTTONCLASS"}),Y.DEFAULTS.iconBase===j.ICONBASE&&t.push({name:"iconBase",className:"ICONBASE"}),Y.DEFAULTS.tickIcon===j.TICKICON&&t.push({name:"tickIcon",className:"TICKICON"}),j.DIVIDER="dropdown-divider",j.SHOW="show",j.BUTTONCLASS="btn-light",j.POPOVERHEADER="popover-header",j.ICONBASE="",j.TICKICON="bs-ok-default";for(var i=0;i<t.length;i++){e=t[i];Y.DEFAULTS[e.name]=j[e.className]}}var n=this.each(function(){var e=_(this);if(e.is("select")){var t=e.data("selectpicker"),i="object"==typeof c&&c;if(t){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t.options[n]=i[n])}else{var r,s=e.data();for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&-1!==_.inArray(r,I)&&delete s[r];var o=_.extend({},Y.DEFAULTS,_.fn.selectpicker.defaults||{},s,i);o.template=_.extend({},Y.DEFAULTS.template,_.fn.selectpicker.defaults?_.fn.selectpicker.defaults.template:{},s.template,i.template),e.data("selectpicker",t=new Y(this,o))}"string"==typeof c&&(a=t[c]instanceof Function?t[c].apply(t,l):t.options[c])}});return void 0!==a?a:n}Y.VERSION="1.13.18",Y.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:j.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:j.ICONBASE,tickIcon:j.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:H},Y.prototype={constructor:Y,init:function(){var i=this,e=this.$element.attr("id"),t=this.$element[0],n=t.form;m++,this.selectId="bs-select-"+m,t.classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),t.classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),n&&null===t.form&&(n.id||(n.id="form-"+this.selectId),t.setAttribute("form",n.id)),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(O.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),t.classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(j.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+A,function(){var e,t;i.isVirtual()&&(t=(e=i.$menuInner[0]).firstChild.cloneNode(!1),e.replaceChild(t,e.firstChild),e.scrollTop=0)}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){i.$element.trigger("hide"+A,e)},"hidden.bs.dropdown":function(e){i.$element.trigger("hidden"+A,e)},"show.bs.dropdown":function(e){i.$element.trigger("show"+A,e)},"shown.bs.dropdown":function(e){i.$element.trigger("shown"+A,e)}}),t.hasAttribute("required")&&this.$element.on("invalid"+A,function(){i.$button[0].classList.add("bs-invalid"),i.$element.on("shown"+A+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+A+".invalid")}).on("rendered"+A,function(){this.validity.valid&&i.$button[0].classList.remove("bs-invalid"),i.$element.off("rendered"+A)}),i.$button.on("blur"+A,function(){i.$element.trigger("focus").trigger("blur"),i.$button.off("blur"+A)})}),setTimeout(function(){i.buildList(),i.$element.trigger("loaded"+A)})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",t=this.multiple?' aria-multiselectable="true"':"",i="",n=this.autofocus?" autofocus":"";E.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var r="",s="",o="",a="";return this.options.header&&(r='<div class="'+j.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(s='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+S(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(o='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+j.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+j.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(a='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+j.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),e='<div class="dropdown bootstrap-select'+e+i+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+n+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===E.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+j.MENU+" "+("4"===E.major?"":j.SHOW)+'">'+r+s+o+'<div class="inner '+j.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+t+'><ul class="'+j.MENU+" inner "+("4"===E.major?j.SHOW:"")+'" role="presentation"></ul></div>'+a+"</div></div>",_(e)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0,this.selectpicker.view.firstHighlightIndex=!1;for(var e=0;e<this.selectpicker.current.data.length;e++){var t=this.selectpicker.current.data[e],i=!0;"divider"===t.type?(i=!1,t.height=this.sizeInfo.dividerHeight):"optgroup-label"===t.type?(i=!1,t.height=this.sizeInfo.dropdownHeaderHeight):t.height=this.sizeInfo.liHeight,t.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,t.posinset=this.selectpicker.view.size,!1===this.selectpicker.view.firstHighlightIndex&&(this.selectpicker.view.firstHighlightIndex=e)),t.position=(0===e?0:this.selectpicker.current.data[e-1].position)+t.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(w,e,t){var k,S,M=this,i=0,C=[];function n(e,t){var i,n=M.selectpicker.current.elements.length,r=[],s=!0,o=M.isVirtual();M.selectpicker.view.scrollTop=e;for(var a,l=Math.ceil(M.sizeInfo.menuInnerHeight/M.sizeInfo.liHeight*1.5),c=Math.round(n/l)||1,u=0;u<c;u++){var d=u===c-1?n:(u+1)*l;if(r[u]=[u*l+(u?1:0),d],!n)break;void 0===i&&e-1<=M.selectpicker.current.data[d-1].position-M.sizeInfo.menuInnerHeight&&(i=u)}if(void 0===i&&(i=0),v=[M.selectpicker.view.position0,M.selectpicker.view.position1],h=Math.max(0,i-1),p=Math.min(c-1,i+1),M.selectpicker.view.position0=!1!==o&&Math.max(0,r[h][0])||0,M.selectpicker.view.position1=!1===o?n:Math.min(n,r[p][1])||0,h=v[0]!==M.selectpicker.view.position0||v[1]!==M.selectpicker.view.position1,void 0!==M.activeIndex&&(S=M.selectpicker.main.elements[M.prevActiveIndex],C=M.selectpicker.main.elements[M.activeIndex],k=M.selectpicker.main.elements[M.selectedIndex],t&&(M.activeIndex!==M.selectedIndex&&M.defocusItem(C),M.activeIndex=void 0),M.activeIndex&&M.activeIndex!==M.selectedIndex&&M.defocusItem(k)),void 0!==M.prevActiveIndex&&M.prevActiveIndex!==M.activeIndex&&M.prevActiveIndex!==M.selectedIndex&&M.defocusItem(S),(t||h)&&(p=M.selectpicker.view.visibleElements?M.selectpicker.view.visibleElements.slice():[],M.selectpicker.view.visibleElements=!1===o?M.selectpicker.current.elements:M.selectpicker.current.elements.slice(M.selectpicker.view.position0,M.selectpicker.view.position1),M.setOptionStatus(),(w||!1===o&&t)&&(v=p,a=M.selectpicker.view.visibleElements,s=!(v.length===a.length&&v.every(function(e,t){return e===a[t]}))),(t||!0===o)&&s)){var h=M.$menuInner[0],f=document.createDocumentFragment(),p=h.firstChild.cloneNode(!1),m=M.selectpicker.view.visibleElements,g=[];h.replaceChild(p,h.firstChild);for(var v,u=0,y=m.length;u<y;u++){var b,_,x=m[u];M.options.sanitize&&(b=x.lastChild)&&(_=M.selectpicker.current.data[u+M.selectpicker.view.position0])&&_.content&&!_.sanitized&&(g.push(b),_.sanitized=!0),f.appendChild(x)}M.options.sanitize&&g.length&&L(g,M.options.whiteList,M.options.sanitizeFn),!0===o?(v=0===M.selectpicker.view.position0?0:M.selectpicker.current.data[M.selectpicker.view.position0-1].position,s=M.selectpicker.view.position1>n-1?0:M.selectpicker.current.data[n-1].position-M.selectpicker.current.data[M.selectpicker.view.position1-1].position,h.firstChild.style.marginTop=v+"px",h.firstChild.style.marginBottom=s+"px"):(h.firstChild.style.marginTop=0,h.firstChild.style.marginBottom=0),h.firstChild.appendChild(f),!0===o&&M.sizeInfo.hasScrollBar&&(p=h.firstChild.offsetWidth,t&&p<M.sizeInfo.menuInnerInnerWidth&&M.sizeInfo.totalMenuWidth>M.sizeInfo.selectWidth?h.firstChild.style.minWidth=M.sizeInfo.menuInnerInnerWidth+"px":p>M.sizeInfo.menuInnerInnerWidth&&(M.$menu[0].style.minWidth=0,(v=h.firstChild.offsetWidth)>M.sizeInfo.menuInnerInnerWidth&&(M.sizeInfo.menuInnerInnerWidth=v,h.firstChild.style.minWidth=M.sizeInfo.menuInnerInnerWidth+"px"),M.$menu[0].style.minWidth=""))}M.prevActiveIndex=M.activeIndex,M.options.liveSearch?w&&t&&(M.selectpicker.view.canHighlight[s=0]||(s=1+M.selectpicker.view.canHighlight.slice(1).indexOf(!0)),o=M.selectpicker.view.visibleElements[s],M.defocusItem(M.selectpicker.view.currentActive),M.activeIndex=(M.selectpicker.current.data[s]||{}).index,M.focusItem(o)):M.$menuInner.trigger("focus")}this.selectpicker.isSearching=w,this.selectpicker.current=w?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),e&&(t?i=this.$menuInner[0].scrollTop:M.multiple||"number"==typeof(t=((e=M.$element[0]).options[e.selectedIndex]||{}).liIndex)&&!1!==M.options.size&&(t=(e=M.selectpicker.main.data[t])&&e.position)&&(i=t-(M.sizeInfo.menuInnerHeight+M.sizeInfo.liHeight)/2)),n(i,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(e,t){M.noScroll||n(this.scrollTop,t),M.noScroll=!1}),_(window).off("resize"+A+"."+this.selectId+".createView").on("resize"+A+"."+this.selectId+".createView",function(){M.$newElement.hasClass(j.SHOW)&&n(M.$menuInner[0].scrollTop)})},focusItem:function(e,t,i){var n;e&&(t=t||this.selectpicker.main.data[this.activeIndex],(n=e.firstChild)&&(n.setAttribute("aria-setsize",this.selectpicker.view.size),n.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",n.id),e.classList.add("active"),n.classList.add("active"))))},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var e,t,i,n,r,s,o=this,a=!1;return this.options.title&&!this.multiple&&(this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=this.$element[0],t=!(a=!0),i=!this.selectpicker.view.titleOption.parentNode,n=e.selectedIndex,r=e.options[n],s=(s=window.performance&&window.performance.getEntriesByType("navigation"))&&s.length?"back_forward"!==s[0].type:2!==window.performance.navigation.type,i&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",t=!r||0===n&&!1===r.defaultSelected&&void 0===this.$element.data("selected")),!i&&0===this.selectpicker.view.titleOption.index||e.insertBefore(this.selectpicker.view.titleOption,e.firstChild),t&&s?e.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",function(){o.selectpicker.view.displayedValue!==e.value&&o.render()})),a},buildData:function(){var e=':not([hidden]):not([data-hidden="true"])',s=[],t=0,i=this.setPlaceholder()?1:0,n=(this.options.hideDisabled&&(e+=":not(:disabled)"),this.$element[0].querySelectorAll("select > *"+e));function o(e){var t=s[s.length-1];t&&"divider"===t.type&&(t.optID||e.optID)||((e=e||{}).type="divider",s.push(e))}function r(e,t){var i,n,r;(t=t||{}).divider="true"===e.getAttribute("data-divider"),t.divider?o({optID:t.optID}):(i=s.length,n=(n=e.style.cssText)?S(n):"",r=(e.className||"")+(t.optgroupClass||""),t.optID&&(r="opt "+r),t.optionClass=r.trim(),t.inlineStyle=n,t.text=e.textContent,t.content=e.getAttribute("data-content"),t.tokens=e.getAttribute("data-tokens"),t.subtext=e.getAttribute("data-subtext"),t.icon=e.getAttribute("data-icon"),e.liIndex=i,t.display=t.content||t.text,t.type="option",t.index=i,t.option=e,t.selected=!!e.selected,t.disabled=t.disabled||!!e.disabled,s.push(t))}for(var a=n.length,l=i;l<a;l++){var c=n[l];if("OPTGROUP"!==c.tagName)r(c,{});else{b=y=v=m=p=g=f=h=d=u=h=c=void 0;var c=l,u=(h=n)[c],d=!(c-1<i)&&h[c-1],h=h[c+1],f=u.querySelectorAll("option"+e);if(f.length){var p,m,g={display:S(u.label),subtext:u.getAttribute("data-subtext"),icon:u.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(u.className||"")};t++,d&&o({optID:t}),g.optID=t,s.push(g);for(var v=0,y=f.length;v<y;v++){var b=f[v];0===v&&(m=(p=s.length-1)+y),r(b,{headerIndex:p,lastIndex:m,optID:g.optID,optgroupClass:g.optgroupClass,disabled:u.disabled})}h&&o({optID:t})}}}this.selectpicker.main.data=this.selectpicker.current.data=s},buildList:function(){var e=this,t=this.selectpicker.main.data,i=[],n=0;!e.options.showTick&&!e.multiple||P.checkMark.parentNode||(P.checkMark.className=this.options.iconBase+" "+e.options.tickIcon+" check-mark",P.a.appendChild(P.checkMark));for(var r=t.length,s=0;s<r;s++){var o,a=t[s],l=(c=o=l=void 0,a),c=0;switch(l.type){case"divider":o=g.li(!1,j.DIVIDER,l.optID?l.optID+"div":void 0);break;case"option":(o=g.li(g.a(g.text.call(e,l),l.optionClass,l.inlineStyle),"",l.optID)).firstChild&&(o.firstChild.id=e.selectId+"-"+l.index);break;case"optgroup-label":o=g.li(g.label.call(e,l),"dropdown-header"+l.optgroupClass,l.optID)}l.element=o,i.push(o),l.display&&(c+=l.display.length),l.subtext&&(c+=l.subtext.length),l.icon&&(c+=1),n<c&&(n=c,e.selectpicker.view.widestOption=i[i.length-1])}this.selectpicker.main.elements=this.selectpicker.current.elements=i},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var e=this.$element[0],t=this.setPlaceholder()&&0===e.selectedIndex,i=x(e,this.options.hideDisabled),n=i.length,r=this.$button[0],s=r.querySelector(".filter-option-inner-inner"),o=document.createTextNode(this.options.multipleSeparator),a=P.fragment.cloneNode(!1),l=!1;if(r.classList.toggle("bs-placeholder",this.multiple?!n:!w(e,i)),this.multiple||1!==i.length||(this.selectpicker.view.displayedValue=w(e,i)),"static"===this.options.selectedTextFormat)a=g.text.call(this,{text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1<n&&(1<(e=this.options.selectedTextFormat.split(">")).length&&n>e[1]||1===e.length&&2<=n))){if(!t){for(var c=0;c<n&&c<50;c++){var u=i[c],d=this.selectpicker.main.data[u.liIndex],h={};this.multiple&&0<c&&a.appendChild(o.cloneNode(!1)),u.title?h.text=u.title:d&&(d.content&&this.options.showContent?(h.content=d.content.toString(),l=!0):(this.options.showIcon&&(h.icon=d.icon),this.options.showSubtext&&!this.multiple&&d.subtext&&(h.subtext=" "+d.subtext),h.text=u.textContent.trim())),a.appendChild(g.text.call(this,h,!0))}49<n&&a.appendChild(document.createTextNode("..."))}}else var e=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])',t=(this.options.hideDisabled&&(e+=":not(:disabled)"),this.$element[0].querySelectorAll("select > option"+e+", optgroup"+e+" option"+e).length),e="function"==typeof this.options.countSelectedText?this.options.countSelectedText(n,t):this.options.countSelectedText,a=g.text.call(this,{text:e.replace("{0}",n.toString()).replace("{1}",t.toString())},!0);null==this.options.title&&(this.options.title=this.$element.attr("title")),a.childNodes.length||(a=g.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),r.title=a.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&l&&L([a],this.options.whiteList,this.options.sanitizeFn),s.innerHTML="",s.appendChild(a),E.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")&&(e=r.querySelector(".filter-expand"),(t=s.cloneNode(!0)).className="filter-expand",e?r.replaceChild(t,e):r.appendChild(t)),this.$element.trigger("rendered"+A)},setStyle:function(e,t){var i=this.$button[0],n=this.$newElement[0],r=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),E.major<4&&(n.classList.add("bs3"),n.parentNode.classList&&n.parentNode.classList.contains("input-group")&&(n.previousElementSibling||n.nextElementSibling)&&(n.previousElementSibling||n.nextElementSibling).classList.contains("input-group-addon")&&n.classList.add("bs3-has-addon")),n=e?e.trim():r,"add"==t?n&&i.classList.add.apply(i.classList,n.split(" ")):"remove"==t?n&&i.classList.remove.apply(i.classList,n.split(" ")):(r&&i.classList.remove.apply(i.classList,r.split(" ")),n&&i.classList.add.apply(i.classList,n.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var t,e=P.div.cloneNode(!1),i=P.div.cloneNode(!1),n=P.div.cloneNode(!1),r=document.createElement("ul"),s=P.li.cloneNode(!1),o=P.li.cloneNode(!1),a=P.a.cloneNode(!1),l=P.span.cloneNode(!1),c=this.options.header&&0<this.$menu.find("."+j.POPOVERHEADER).length?this.$menu.find("."+j.POPOVERHEADER)[0].cloneNode(!0):null,u=this.options.liveSearch?P.div.cloneNode(!1):null,d=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,h=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,f=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,l.className="text",a.className="dropdown-item "+(f?f.className:""),e.className=this.$menu[0].parentNode.className+" "+j.SHOW,e.style.width=0,"auto"===this.options.width&&(i.style.minWidth=0),i.className=j.MENU+" "+j.SHOW,n.className="inner "+j.SHOW,r.className=j.MENU+" inner "+("4"===E.major?j.SHOW:""),s.className=j.DIVIDER,o.className="dropdown-header",l.appendChild(document.createTextNode("​")),this.selectpicker.current.data.length)for(var p=0;p<this.selectpicker.current.data.length;p++){var m=this.selectpicker.current.data[p];if("option"===m.type){t=m.element;break}}else t=P.li.cloneNode(!1),a.appendChild(l),t.appendChild(a);o.appendChild(l.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(t),r.appendChild(s),r.appendChild(o),c&&i.appendChild(c),u&&(f=document.createElement("input"),u.className="bs-searchbox",f.className="form-control",u.appendChild(f),i.appendChild(u)),d&&i.appendChild(d),n.appendChild(r),i.appendChild(n),h&&i.appendChild(h),e.appendChild(i),document.body.appendChild(e);var a=t.offsetHeight,l=o?o.offsetHeight:0,f=c?c.offsetHeight:0,r=u?u.offsetHeight:0,o=d?d.offsetHeight:0,c=h?h.offsetHeight:0,u=_(s).outerHeight(!0),d=!!window.getComputedStyle&&window.getComputedStyle(i),h=i.offsetWidth,s=d?null:_(i),g={vert:v(d?d.paddingTop:s.css("paddingTop"))+v(d?d.paddingBottom:s.css("paddingBottom"))+v(d?d.borderTopWidth:s.css("borderTopWidth"))+v(d?d.borderBottomWidth:s.css("borderBottomWidth")),horiz:v(d?d.paddingLeft:s.css("paddingLeft"))+v(d?d.paddingRight:s.css("paddingRight"))+v(d?d.borderLeftWidth:s.css("borderLeftWidth"))+v(d?d.borderRightWidth:s.css("borderRightWidth"))},d={vert:g.vert+v(d?d.marginTop:s.css("marginTop"))+v(d?d.marginBottom:s.css("marginBottom"))+2,horiz:g.horiz+v(d?d.marginLeft:s.css("marginLeft"))+v(d?d.marginRight:s.css("marginRight"))+2};n.style.overflowY="scroll",s=i.offsetWidth-h,document.body.removeChild(e),this.sizeInfo.liHeight=a,this.sizeInfo.dropdownHeaderHeight=l,this.sizeInfo.headerHeight=f,this.sizeInfo.searchHeight=r,this.sizeInfo.actionsHeight=o,this.sizeInfo.doneButtonHeight=c,this.sizeInfo.dividerHeight=u,this.sizeInfo.menuPadding=g,this.sizeInfo.menuExtras=d,this.sizeInfo.menuWidth=h,this.sizeInfo.menuInnerInnerWidth=h-g.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=s,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,t=_(window),i=this.$newElement.offset(),n=_(this.options.container),n=(this.options.container&&n.length&&!n.is("body")?((e=n.offset()).top+=parseInt(n.css("borderTopWidth")),e.left+=parseInt(n.css("borderLeftWidth"))):e={top:0,left:0},this.options.windowPadding);this.sizeInfo.selectOffsetTop=i.top-e.top-t.scrollTop(),this.sizeInfo.selectOffsetBot=t.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-n[2],this.sizeInfo.selectOffsetLeft=i.left-e.left-t.scrollLeft(),this.sizeInfo.selectOffsetRight=t.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-n[1],this.sizeInfo.selectOffsetTop-=n[0],this.sizeInfo.selectOffsetLeft-=n[3]},setMenuSize:function(e){this.getSelectPosition();var t,i,n,r,s,o,a=this.sizeInfo.selectWidth,l=this.sizeInfo.liHeight,c=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,d=this.sizeInfo.actionsHeight,h=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,p=this.sizeInfo.menuPadding,m=0;if(this.options.dropupAuto&&(o=l*this.selectpicker.current.elements.length+p.vert,o=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&o+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(o=this.selectpicker.dropup),this.$newElement.toggleClass(j.DROPUP,o),this.selectpicker.dropup=o),"auto"===this.options.size)o=3<this.selectpicker.current.elements.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,n=o+c+u+d+h,s=Math.max(o-p.vert,0),t=(r=i=this.$newElement.hasClass(j.DROPUP)?this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert:i)-c-u-d-h-p.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var g=0;g<this.options.size;g++)"divider"===this.selectpicker.current.data[g].type&&m++;t=(i=l*this.options.size+m*f+p.vert)-p.vert,r=i+c+u+d+h,n=s=""}this.$menu.css({"max-height":r+"px",overflow:"hidden","min-height":n+"px"}),this.$menuInner.css({"max-height":t+"px","overflow-y":"auto","min-height":s+"px"}),this.sizeInfo.menuInnerHeight=Math.max(t,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(j.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-a),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){var t,i;this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size&&(t=this,i=_(window),this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return t.setMenuSize()}),"auto"===this.options.size?i.off("resize"+A+"."+this.selectId+".setMenuSize scroll"+A+"."+this.selectId+".setMenuSize").on("resize"+A+"."+this.selectId+".setMenuSize scroll"+A+"."+this.selectId+".setMenuSize",function(){return t.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&i.off("resize"+A+"."+this.selectId+".setMenuSize scroll"+A+"."+this.selectId+".setMenuSize")),this.createView(!1,!0,e)},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.$element.on("loaded"+A,function(){i.liHeight(),i.setMenuSize();var e=i.$newElement.clone().appendTo("body"),t=e.css("width","auto").children("button").outerWidth();e.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,t),i.$newElement.css("width",i.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=_('<div class="bs-container" />');function e(e){var t={},i=o.options.display||!!_.fn.dropdown.Constructor.Default&&_.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(j.DROPUP,e.hasClass(j.DROPUP)),n=e.offset(),a.is("body")?r={top:0,left:0}:((r=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),r.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),s=e.hasClass(j.DROPUP)?0:e[0].offsetHeight,(E.major<4||"static"===i)&&(t.top=n.top-r.top+s,t.left=n.left-r.left),t.width=e[0].offsetWidth,o.$bsContainer.css(t)}var n,r,s,o=this,a=_(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){o.isDisabled()||(e(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(j.SHOW,!o.$button.hasClass(j.SHOW)).append(o.$menu))}),_(window).off("resize"+A+"."+this.selectId+" scroll"+A+"."+this.selectId).on("resize"+A+"."+this.selectId+" scroll"+A+"."+this.selectId,function(){o.$newElement.hasClass(j.SHOW)&&e(o.$newElement)}),this.$element.on("hide"+A,function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t<this.selectpicker.view.visibleElements.length;t++){var i=this.selectpicker.current.data[t+this.selectpicker.view.position0],n=i.option;n&&(!0!==e&&this.setDisabled(i.index,i.disabled),this.setSelected(i.index,n.selected))}},setSelected:function(e,t){var i,n=this.selectpicker.main.elements[e],r=this.selectpicker.main.data[e],s=void 0!==this.activeIndex,o=this.activeIndex===e||t&&!this.multiple&&!s;r.selected=t,i=n.firstChild,t&&(this.selectedIndex=e),n.classList.toggle("selected",t),o?(this.focusItem(n,r),this.selectpicker.view.currentActive=n,this.activeIndex=e):this.defocusItem(n),i&&(i.classList.toggle("selected",t),t?i.setAttribute("aria-selected",!0):this.multiple?i.setAttribute("aria-selected",!1):i.removeAttribute("aria-selected")),o||s||!t||void 0===this.prevActiveIndex||(r=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(r))},setDisabled:function(e,t){var i=this.selectpicker.main.elements[e];this.selectpicker.main.data[e].disabled=t,e=i.firstChild,i.classList.toggle(j.DISABLED,t),e&&("4"===E.major&&e.classList.toggle(j.DISABLED,t),t?(e.setAttribute("aria-disabled",t),e.setAttribute("tabindex",-1)):(e.removeAttribute("aria-disabled"),e.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(j.DISABLED),this.$button.addClass(j.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains(j.DISABLED)&&(this.$newElement[0].classList.remove(j.DISABLED),this.$button.removeClass(j.DISABLED).attr("aria-disabled",!1))},clickListener:function(){var b=this,t=_(document);function e(){(b.options.liveSearch?b.$searchbox:b.$menuInner).trigger("focus")}function i(){b.dropdown&&b.dropdown._popper&&b.dropdown._popper.state.isCreated?e():requestAnimationFrame(i)}t.data("spaceSelect",!1),this.$button.on("keyup",function(e){/(32)/.test(e.keyCode.toString(10))&&t.data("spaceSelect")&&(e.preventDefault(),t.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){3<E.major&&!b.dropdown&&(b.dropdown=b.$button.data("bs.dropdown"),b.dropdown._menu=b.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){b.$newElement.hasClass(j.SHOW)||b.setSize()}),this.$element.on("shown"+A,function(){b.$menuInner[0].scrollTop!==b.selectpicker.view.scrollTop&&(b.$menuInner[0].scrollTop=b.selectpicker.view.scrollTop),3<E.major?requestAnimationFrame(i):e()}),this.$menuInner.on("mouseenter","li a",function(e){var t=this.parentElement,i=b.isVirtual()?b.selectpicker.view.position0:0,n=Array.prototype.indexOf.call(t.parentElement.children,t),n=b.selectpicker.current.data[n+i];b.focusItem(t,n,!0)}),this.$menuInner.on("click","li a",function(e,t){var i=_(this),n=b.$element[0],r=b.isVirtual()?b.selectpicker.view.position0:0,r=b.selectpicker.current.data[i.parent().index()+r],s=r.index,o=w(n),a=n.selectedIndex,l=n.options[a],c=!0;if(b.multiple&&1!==b.options.maxOptions&&e.stopPropagation(),e.preventDefault(),!b.isDisabled()&&!i.parent().hasClass(j.DISABLED)){var e=r.option,i=_(e),r=e.selected,u=i.parent("optgroup"),d=u.find("option"),h=b.options.maxOptions,f=u.data("maxOptions")||!1;if((t=s===b.activeIndex?!0:t)||(b.prevActiveIndex=b.activeIndex,b.activeIndex=void 0),b.multiple){if(e.selected=!r,b.setSelected(s,!r),b.focusedParent.focus(),!1!==h||!1!==f){t=h<x(n).length,r=f<u.find("option:selected").length;if(h&&t||f&&r)if(h&&1==h)n.selectedIndex=-1,e.selected=!0,b.setOptionStatus(!0);else if(f&&1==f){for(var p=0;p<d.length;p++){var m=d[p];m.selected=!1,b.setSelected(m.liIndex,!1)}e.selected=!0,b.setSelected(s,!0)}else{var u="string"==typeof b.options.maxOptionsText?[b.options.maxOptionsText,b.options.maxOptionsText]:b.options.maxOptionsText,u="function"==typeof u?u(h,f):u,g=u[0].replace("{n}",h),v=u[1].replace("{n}",f),y=_('<div class="notify"></div>');u[2]&&(g=g.replace("{var}",u[2][1<h?0:1]),v=v.replace("{var}",u[2][1<f?0:1])),e.selected=!1,b.$menu.append(y),h&&t&&(y.append(_("<div>"+g+"</div>")),c=!1,b.$element.trigger("maxReached"+A)),f&&r&&(y.append(_("<div>"+v+"</div>")),c=!1,b.$element.trigger("maxReachedGrp"+A)),setTimeout(function(){b.setSelected(s,!1)},10),y[0].classList.add("fadeOut"),setTimeout(function(){y.remove()},1050)}}}else l&&(l.selected=!1),e.selected=!0,b.setSelected(s,!0);!b.multiple||b.multiple&&1===b.options.maxOptions?b.$button.trigger("focus"):b.options.liveSearch&&b.$searchbox.trigger("focus"),!c||!b.multiple&&a===n.selectedIndex||(k=[e.index,i.prop("selected"),o],b.$element.triggerNative("change"))}}),this.$menu.on("click","li."+j.DISABLED+" a, ."+j.POPOVERHEADER+", ."+j.POPOVERHEADER+" :not(.close)",function(e){e.currentTarget==this&&(e.preventDefault(),e.stopPropagation(),(b.options.liveSearch&&!_(e.target).hasClass("close")?b.$searchbox:b.$button).trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),(b.options.liveSearch?b.$searchbox:b.$button).trigger("focus")}),this.$menu.on("click","."+j.POPOVERHEADER+" .close",function(){b.$button.trigger("click")}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(e){(b.options.liveSearch?b.$searchbox:b.$button).trigger("focus"),e.preventDefault(),e.stopPropagation(),_(this).hasClass("bs-select-all")?b.selectAll():b.deselectAll()}),this.$button.on("focus"+A,function(e){var t=b.$element[0].getAttribute("tabindex");void 0!==t&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",t),b.$element[0].setAttribute("tabindex",-1),b.selectpicker.view.tabindex=t)}).on("blur"+A,function(e){void 0!==b.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(b.$element[0].setAttribute("tabindex",b.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),b.selectpicker.view.tabindex=void 0)}),this.$element.on("change"+A,function(){b.render(),b.$element.trigger("changed"+A,k),k=null}).on("focus"+A,function(){b.options.mobile||b.$button[0].focus()})},liveSearchListener:function(){var h=this;this.$button.on("click.bs.dropdown.data-api",function(){h.$searchbox.val()&&(h.$searchbox.val(""),h.selectpicker.search.previousValue=void 0)}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var e=h.$searchbox[0].value;if(h.selectpicker.search.elements=[],h.selectpicker.search.data=[],e){var t=[],i=e.toUpperCase(),n={},r=[],s=h._searchStyle(),o=h.options.liveSearchNormalize;o&&(i=f(i));for(var a=0;a<h.selectpicker.main.data.length;a++){var l=h.selectpicker.main.data[a];n[a]||(n[a]=y(l,i,s,o)),n[a]&&void 0!==l.headerIndex&&-1===r.indexOf(l.headerIndex)&&(0<l.headerIndex&&(n[l.headerIndex-1]=!0,r.push(l.headerIndex-1)),n[l.headerIndex]=!0,r.push(l.headerIndex),n[l.lastIndex+1]=!0),n[a]&&"optgroup-label"!==l.type&&r.push(a)}for(var a=0,c=r.length;a<c;a++){var u=r[a],d=r[a-1],l=h.selectpicker.main.data[u],d=h.selectpicker.main.data[d];("divider"!==l.type||"divider"===l.type&&d&&"divider"!==d.type&&c-1!==a)&&(h.selectpicker.search.data.push(l),t.push(h.selectpicker.main.elements[u]))}h.activeIndex=void 0,h.noScroll=!0,h.$menuInner.scrollTop(0),h.selectpicker.search.elements=t,h.createView(!0),!function(e,t){e.length||(P.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+S(t)+'"'),this.$menuInner[0].firstChild.appendChild(P.noResults))}.call(h,t,e)}else h.selectpicker.search.previousValue&&(h.$menuInner.scrollTop(0),h.createView(!1));h.selectpicker.search.previousValue=e})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(e){var t,i=this.$element[0];return void 0!==e?(t=w(i),k=[null,null,t],this.$element.val(e).trigger("changed"+A,k),this.$newElement.hasClass(j.SHOW)&&(this.multiple?this.setOptionStatus(!0):"number"==typeof(t=(i.options[i.selectedIndex]||{}).liIndex)&&(this.setSelected(this.selectedIndex,!1),this.setSelected(t,!0))),this.render(),k=null,this.$element):this.$element.val()},changeAll:function(e){if(this.multiple){void 0===e&&(e=!0);var t=this.$element[0],i=0,n=0,r=w(t);t.classList.add("bs-select-hidden");for(var s=0,o=this.selectpicker.current.data,a=o.length;s<a;s++){var l=o[s],c=l.option;c&&!l.disabled&&"divider"!==l.type&&(l.selected&&i++,!0===(c.selected=e)&&n++)}t.classList.remove("bs-select-hidden"),i!==n&&(this.setOptionStatus(),k=[null,null,r],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e){(e=e||window.event)&&e.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(e){var t,i,n,r,s=_(this),o=s.hasClass("dropdown-toggle"),a=(o?s.closest(".dropdown"):s.closest(O.MENU)).data("this"),l=a.findLis(),c=!1,o=e.which===C&&!o&&!a.options.selectOnTab,u=G.test(e.which)||o,d=a.$menuInner[0].scrollTop,h=!0===a.isVirtual()?a.selectpicker.view.position0:0;if(!(112<=e.which&&e.which<=123))if(!(t=a.$newElement.hasClass(j.SHOW))&&(u||48<=e.which&&e.which<=57||96<=e.which&&e.which<=105||65<=e.which&&e.which<=90)&&(a.$button.trigger("click.bs.dropdown.data-api"),a.options.liveSearch))a.$searchbox.trigger("focus");else{if(e.which===b&&t&&(e.preventDefault(),a.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),u){if(!l.length)return;-1!==(u=(i=a.selectpicker.main.elements[a.activeIndex])?Array.prototype.indexOf.call(i.parentElement.children,i):-1)&&a.defocusItem(i),e.which===T?(-1!==u&&u--,u+h<0&&(u+=l.length),a.selectpicker.view.canHighlight[u+h]||-1===(u=a.selectpicker.view.canHighlight.slice(0,u+h).lastIndexOf(!0)-h)&&(u=l.length-1)):e.which!==D&&!o||(++u+h>=a.selectpicker.view.canHighlight.length&&(u=a.selectpicker.view.firstHighlightIndex),a.selectpicker.view.canHighlight[u+h]||(u=u+1+a.selectpicker.view.canHighlight.slice(u+h+1).indexOf(!0))),e.preventDefault();var f=h+u;e.which===T?0===h&&u===l.length-1?(a.$menuInner[0].scrollTop=a.$menuInner[0].scrollHeight,f=a.selectpicker.current.elements.length-1):c=(r=(n=a.selectpicker.current.data[f]).position-n.height)<d:e.which!==D&&!o||(u===a.selectpicker.view.firstHighlightIndex?(a.$menuInner[0].scrollTop=0,f=a.selectpicker.view.firstHighlightIndex):c=d<(r=(n=a.selectpicker.current.data[f]).position-a.sizeInfo.menuInnerHeight)),i=a.selectpicker.current.elements[f],a.activeIndex=a.selectpicker.current.data[f].index,a.focusItem(i),a.selectpicker.view.currentActive=i,c&&(a.$menuInner[0].scrollTop=r),(a.options.liveSearch?a.$searchbox:s).trigger("focus")}else if(!s.is("input")&&!K.test(e.which)||e.which===M&&a.selectpicker.keydown.keyHistory){var p,m=[];e.preventDefault(),a.selectpicker.keydown.keyHistory+=U[e.which],a.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(a.selectpicker.keydown.resetKeyHistory.cancel),a.selectpicker.keydown.resetKeyHistory.cancel=a.selectpicker.keydown.resetKeyHistory.start(),p=a.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(p)&&(p=p.charAt(0));for(var g=0;g<a.selectpicker.current.data.length;g++){var v=a.selectpicker.current.data[g];y(v,p,"startsWith",!0)&&a.selectpicker.view.canHighlight[g]&&m.push(v.index)}m.length&&(h=0,l.removeClass("active").find("a").removeClass("active"),1===p.length&&(-1===(h=m.indexOf(a.activeIndex))||h===m.length-1?h=0:h++),o=m[h],c=0<d-(n=a.selectpicker.main.data[o]).position?(r=n.position-n.height,!0):(r=n.position-a.sizeInfo.menuInnerHeight,n.position>d+a.sizeInfo.menuInnerHeight),i=a.selectpicker.main.elements[o],a.activeIndex=m[h],a.focusItem(i),i&&i.firstChild.focus(),c&&(a.$menuInner[0].scrollTop=r),s.trigger("focus"))}t&&(e.which===M&&!a.selectpicker.keydown.keyHistory||e.which===X||e.which===C&&a.options.selectOnTab)&&(e.which!==M&&e.preventDefault(),a.options.liveSearch&&e.which===M||(a.$menuInner.find(".active a").trigger("click",!0),s.trigger("focus"),a.options.liveSearch||(e.preventDefault(),_(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var e=_.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+A)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),(this.$bsContainer||this.$menu).remove(),this.selectpicker.view.titleOption&&this.selectpicker.view.titleOption.parentNode&&this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption),this.$element.off(A).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),_(window).off(A+"."+this.selectId)}};var J=_.fn.selectpicker;function Q(){if(_.fn.dropdown)return(_.fn.dropdown.Constructor._dataApiKeydownHandler||_.fn.dropdown.Constructor.prototype.keydown).apply(this,arguments)}_.fn.selectpicker=Z,_.fn.selectpicker.Constructor=Y,_.fn.selectpicker.noConflict=function(){return _.fn.selectpicker=J,this},_(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',Q).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",Q).on("keydown"+A,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',Y.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(e){e.stopPropagation()}),_(window).on("load"+A+".data-api",function(){_(".selectpicker").each(function(){var e=_(this);Z.call(e,e.data())})})}(e)}.apply(t,i))&&(e.exports=t)},
vendor: 15,428 bytes, line 1
1"./node_modules/bootstrap-switch/dist/js/bootstrap-switch.js":function(e,t,i){var n;i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(e){"use strict";var t=i(e);function i(e){return e&&e.__esModule?e:{default:e}}var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n))e[n]=i[n]}return e};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(e,t,i){if(t)n(e.prototype,t);if(i)n(e,i);return e}}(),a=t.default||window.jQuery||window.$,l=function(){function t(n){var r=this;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};s(this,t);this.$element=a(n);this.options=a.extend({},a.fn.bootstrapSwitch.defaults,this._getElementOptions(),e);this.prevOptions={};this.$wrapper=a("<div>",{class:function e(){var t=[];t.push(r.options.state?"on":"off");if(r.options.size)t.push(r.options.size);if(r.options.disabled)t.push("disabled");if(r.options.readonly)t.push("readonly");if(r.options.indeterminate)t.push("indeterminate");if(r.options.inverse)t.push("inverse");if(r.$element.attr("id"))t.push("id-"+r.$element.attr("id"));return t.map(r._getClass.bind(r)).concat([r.options.baseClass],r._getClasses(r.options.wrapperClass)).join(" ")}});this.$container=a("<div>",{class:this._getClass("container")});this.$on=a("<span>",{html:this.options.onText,class:this._getClass("handle-on")+" "+this._getClass(this.options.onColor)});this.$off=a("<span>",{html:this.options.offText,class:this._getClass("handle-off")+" "+this._getClass(this.options.offColor)});this.$label=a("<span>",{html:this.options.labelText,class:this._getClass("label")});this.$element.on("init.bootstrapSwitch",this.options.onInit.bind(this,n));this.$element.on("switchChange.bootstrapSwitch",function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.options.onSwitchChange.apply(n,t)===false)if(r.$element.is(":radio"))a('[name="'+r.$element.attr("name")+'"]').trigger("previousState.bootstrapSwitch",true);else r.$element.trigger("previousState.bootstrapSwitch",true)});this.$container=this.$element.wrap(this.$container).parent();this.$wrapper=this.$container.wrap(this.$wrapper).parent();this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off);if(this.options.indeterminate)this.$element.prop("indeterminate",true);this._init();this._elementHandlers();this._handleHandlers();this._labelHandlers();this._formHandler();this._externalLabelHandler();this.$element.trigger("init.bootstrapSwitch",this.options.state)}r(t,[{key:"setPrevOptions",value:function e(){this.prevOptions=n({},this.options)}},{key:"state",value:function e(t,i){if(typeof t==="undefined")return this.options.state;if(this.options.disabled||this.options.readonly||this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio"))return this.$element;if(this.$element.is(":radio"))a('[name="'+this.$element.attr("name")+'"]').trigger("setPreviousOptions.bootstrapSwitch");else this.$element.trigger("setPreviousOptions.bootstrapSwitch");if(this.options.indeterminate)this.indeterminate(false);this.$element.prop("checked",Boolean(t)).trigger("change.bootstrapSwitch",i);return this.$element}},{key:"toggleState",value:function e(t){if(this.options.disabled||this.options.readonly)return this.$element;if(this.options.indeterminate){this.indeterminate(false);return this.state(true)}else return this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",t)}},{key:"size",value:function e(t){if(typeof t==="undefined")return this.options.size;if(this.options.size!=null)this.$wrapper.removeClass(this._getClass(this.options.size));if(t)this.$wrapper.addClass(this._getClass(t));this._width();this._containerPosition();this.options.size=t;return this.$element}},{key:"animate",value:function e(t){if(typeof t==="undefined")return this.options.animate;if(this.options.animate===Boolean(t))return this.$element;return this.toggleAnimate()}},{key:"toggleAnimate",value:function e(){this.options.animate=!this.options.animate;this.$wrapper.toggleClass(this._getClass("animate"));return this.$element}},{key:"disabled",value:function e(t){if(typeof t==="undefined")return this.options.disabled;if(this.options.disabled===Boolean(t))return this.$element;return this.toggleDisabled()}},{key:"toggleDisabled",value:function e(){this.options.disabled=!this.options.disabled;this.$element.prop("disabled",this.options.disabled);this.$wrapper.toggleClass(this._getClass("disabled"));return this.$element}},{key:"readonly",value:function e(t){if(typeof t==="undefined")return this.options.readonly;if(this.options.readonly===Boolean(t))return this.$element;return this.toggleReadonly()}},{key:"toggleReadonly",value:function e(){this.options.readonly=!this.options.readonly;this.$element.prop("readonly",this.options.readonly);this.$wrapper.toggleClass(this._getClass("readonly"));return this.$element}},{key:"indeterminate",value:function e(t){if(typeof t==="undefined")return this.options.indeterminate;if(this.options.indeterminate===Boolean(t))return this.$element;return this.toggleIndeterminate()}},{key:"toggleIndeterminate",value:function e(){this.options.indeterminate=!this.options.indeterminate;this.$element.prop("indeterminate",this.options.indeterminate);this.$wrapper.toggleClass(this._getClass("indeterminate"));this._containerPosition();return this.$element}},{key:"inverse",value:function e(t){if(typeof t==="undefined")return this.options.inverse;if(this.options.inverse===Boolean(t))return this.$element;return this.toggleInverse()}},{key:"toggleInverse",value:function e(){this.$wrapper.toggleClass(this._getClass("inverse"));var t=this.$on.clone(true);var i=this.$off.clone(true);this.$on.replaceWith(i);this.$off.replaceWith(t);this.$on=i;this.$off=t;this.options.inverse=!this.options.inverse;return this.$element}},{key:"onColor",value:function e(t){if(typeof t==="undefined")return this.options.onColor;if(this.options.onColor)this.$on.removeClass(this._getClass(this.options.onColor));this.$on.addClass(this._getClass(t));this.options.onColor=t;return this.$element}},{key:"offColor",value:function e(t){if(typeof t==="undefined")return this.options.offColor;if(this.options.offColor)this.$off.removeClass(this._getClass(this.options.offColor));this.$off.addClass(this._getClass(t));this.options.offColor=t;return this.$element}},{key:"onText",value:function e(t){if(typeof t==="undefined")return this.options.onText;this.$on.html(t);this._width();this._containerPosition();this.options.onText=t;return this.$element}},{key:"offText",value:function e(t){if(typeof t==="undefined")return this.options.offText;this.$off.html(t);this._width();this._containerPosition();this.options.offText=t;return this.$element}},{key:"labelText",value:function e(t){if(typeof t==="undefined")return this.options.labelText;this.$label.html(t);this._width();this.options.labelText=t;return this.$element}},{key:"handleWidth",value:function e(t){if(typeof t==="undefined")return this.options.handleWidth;this.options.handleWidth=t;this._width();this._containerPosition();return this.$element}},{key:"labelWidth",value:function e(t){if(typeof t==="undefined")return this.options.labelWidth;this.options.labelWidth=t;this._width();this._containerPosition();return this.$element}},{key:"baseClass",value:function e(t){return this.options.baseClass}},{key:"wrapperClass",value:function e(t){if(typeof t==="undefined")return this.options.wrapperClass;if(!t)t=a.fn.bootstrapSwitch.defaults.wrapperClass;this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" "));this.$wrapper.addClass(this._getClasses(t).join(" "));this.options.wrapperClass=t;return this.$element}},{key:"radioAllOff",value:function e(t){if(typeof t==="undefined")return this.options.radioAllOff;var i=Boolean(t);if(this.options.radioAllOff===i)return this.$element;this.options.radioAllOff=i;return this.$element}},{key:"onInit",value:function e(t){if(typeof t==="undefined")return this.options.onInit;if(!t)t=a.fn.bootstrapSwitch.defaults.onInit;this.options.onInit=t;return this.$element}},{key:"onSwitchChange",value:function e(t){if(typeof t==="undefined")return this.options.onSwitchChange;if(!t)t=a.fn.bootstrapSwitch.defaults.onSwitchChange;this.options.onSwitchChange=t;return this.$element}},{key:"destroy",value:function e(){var t=this.$element.closest("form");if(t.length)t.off("reset.bootstrapSwitch").removeData("bootstrap-switch");this.$container.children().not(this.$element).remove();this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch");return this.$element}},{key:"_getElementOptions",value:function e(){return{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")}}},{key:"_width",value:function e(){var i=this;var t=this.$on.add(this.$off).add(this.$label).css("width","");var n=this.options.handleWidth==="auto"?Math.round(Math.max(this.$on.width(),this.$off.width())):this.options.handleWidth;t.width(n);this.$label.width(function(e,t){if(i.options.labelWidth!=="auto")return i.options.labelWidth;if(t<n)return n;return t});this._handleWidth=this.$on.outerWidth();this._labelWidth=this.$label.outerWidth();this.$container.width(this._handleWidth*2+this._labelWidth);return this.$wrapper.width(this._handleWidth+this._labelWidth)}},{key:"_containerPosition",value:function e(){var t=this;var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.options.state;var n=arguments[1];this.$container.css("margin-left",function(){var e=[0,"-"+t._handleWidth+"px"];if(t.options.indeterminate)return"-"+t._handleWidth/2+"px";if(i)if(t.options.inverse)return e[1];else return e[0];else if(t.options.inverse)return e[0];else return e[1]})}},{key:"_init",value:function e(){var t=this;var i=function e(){t.setPrevOptions();t._width();t._containerPosition();setTimeout(function(){if(t.options.animate)return t.$wrapper.addClass(t._getClass("animate"))},50)};if(this.$wrapper.is(":visible")){i();return}var n=window.setInterval(function(){if(t.$wrapper.is(":visible")){i();return window.clearInterval(n)}},50)}},{key:"_elementHandlers",value:function e(){var r=this;return this.$element.on({"setPreviousOptions.bootstrapSwitch":this.setPrevOptions.bind(this),"previousState.bootstrapSwitch":function e(){r.options=r.prevOptions;if(r.options.indeterminate)r.$wrapper.addClass(r._getClass("indeterminate"));r.$element.prop("checked",r.options.state).trigger("change.bootstrapSwitch",true)},"change.bootstrapSwitch":function e(t,i){t.preventDefault();t.stopImmediatePropagation();var n=r.$element.is(":checked");r._containerPosition(n);if(n===r.options.state)return;r.options.state=n;r.$wrapper.toggleClass(r._getClass("off")).toggleClass(r._getClass("on"));if(!i){if(r.$element.is(":radio"))a('[name="'+r.$element.attr("name")+'"]').not(r.$element).prop("checked",false).trigger("change.bootstrapSwitch",true);r.$element.trigger("switchChange.bootstrapSwitch",[n])}},"focus.bootstrapSwitch":function e(t){t.preventDefault();r.$wrapper.addClass(r._getClass("focused"))},"blur.bootstrapSwitch":function e(t){t.preventDefault();r.$wrapper.removeClass(r._getClass("focused"))},"keydown.bootstrapSwitch":function e(t){if(!t.which||r.options.disabled||r.options.readonly)return;if(t.which===37||t.which===39){t.preventDefault();t.stopImmediatePropagation();r.state(t.which===39)}}})}},{key:"_handleHandlers",value:function e(){var t=this;this.$on.on("click.bootstrapSwitch",function(e){e.preventDefault();e.stopPropagation();t.state(false);return t.$element.trigger("focus.bootstrapSwitch")});return this.$off.on("click.bootstrapSwitch",function(e){e.preventDefault();e.stopPropagation();t.state(true);return t.$element.trigger("focus.bootstrapSwitch")})}},{key:"_labelHandlers",value:function e(){var n=this;var t={click:function e(t){t.stopPropagation()},"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function e(t){if(n._dragStart||n.options.disabled||n.options.readonly)return;t.preventDefault();t.stopPropagation();n._dragStart=(t.pageX||t.originalEvent.touches[0].pageX)-parseInt(n.$container.css("margin-left"),10);if(n.options.animate)n.$wrapper.removeClass(n._getClass("animate"));n.$element.trigger("focus.bootstrapSwitch")},"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function e(t){if(n._dragStart==null)return;var i=(t.pageX||t.originalEvent.touches[0].pageX)-n._dragStart;t.preventDefault();if(i<-n._handleWidth||i>0)return;n._dragEnd=i;n.$container.css("margin-left",n._dragEnd+"px")},"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function e(t){if(!n._dragStart)return;t.preventDefault();if(n.options.animate)n.$wrapper.addClass(n._getClass("animate"));if(n._dragEnd){var i=n._dragEnd>-(n._handleWidth/2);n._dragEnd=false;n.state(n.options.inverse?!i:i)}else n.state(!n.options.state);n._dragStart=false},"mouseleave.bootstrapSwitch":function e(){n.$label.trigger("mouseup.bootstrapSwitch")}};this.$label.on(t)}},{key:"_externalLabelHandler",value:function e(){var t=this;var i=this.$element.closest("label");i.on("click",function(e){e.preventDefault();e.stopImmediatePropagation();if(e.target===i[0])t.toggleState()})}},{key:"_formHandler",value:function e(){var t=this.$element.closest("form");if(t.data("bootstrap-switch"))return;t.on("reset.bootstrapSwitch",function(){window.setTimeout(function(){t.find("input").filter(function(){return a(this).data("bootstrap-switch")}).each(function(){return a(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",true)}},{key:"_getClass",value:function e(t){return this.options.baseClass+"-"+t}},{key:"_getClasses",value:function e(t){if(!a.isArray(t))return[this._getClass(t)];return t.map(this._getClass.bind(this))}}]);return t}();a.fn.bootstrapSwitch=function(s){for(var e=arguments.length,o=Array(e>1?e-1:0),t=1;t<e;t++)o[t-1]=arguments[t];function i(e,t){var i=a(t);var n=i.data("bootstrap-switch");var r=n||new l(t,s);if(!n)i.data("bootstrap-switch",r);if(typeof s==="string")return r[s].apply(r,o);return e}return Array.prototype.reduce.call(this,i,this)},a.fn.bootstrapSwitch.Constructor=l,a.fn.bootstrapSwitch.defaults={state:true,size:null,animate:true,disabled:false,readonly:false,indeterminate:false,inverse:false,radioAllOff:false,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:"&nbsp",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function e(){},onSwitchChange:function e(){}}})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 18,510 bytes, line 1
1"./node_modules/bootstrap-timepicker/js/bootstrap-timepicker.js":function(e,t){!function(d,h,n){"use strict";function r(e,t){this.widget="",this.$element=d(e),this.defaultTime=t.defaultTime,this.disableFocus=t.disableFocus,this.disableMousewheel=t.disableMousewheel,this.isOpen=t.isOpen,this.minuteStep=t.minuteStep,this.modalBackdrop=t.modalBackdrop,this.orientation=t.orientation,this.secondStep=t.secondStep,this.snapToStep=t.snapToStep,this.showInputs=t.showInputs,this.showMeridian=t.showMeridian,this.showSeconds=t.showSeconds,this.template=t.template,this.appendWidgetTo=t.appendWidgetTo,this.showWidgetOnAddonClick=t.showWidgetOnAddonClick,this.icons=t.icons,this.maxHours=t.maxHours,this.explicitMode=t.explicitMode,this.handleDocumentClick=function(e){var t=e.data.scope;t.$element.parent().find(e.target).length||t.$widget.is(e.target)||t.$widget.find(e.target).length||t.hideWidget()},this._init()}r.prototype={constructor:r,_init:function(){var e=this;this.showWidgetOnAddonClick&&this.$element.parent().hasClass("input-group")&&this.$element.parent().hasClass("bootstrap-timepicker")?(this.$element.parent(".input-group.bootstrap-timepicker").find(".input-group-addon").on({"click.timepicker":d.proxy(this.showWidget,this)}),this.$element.on({"focus.timepicker":d.proxy(this.highlightUnit,this),"click.timepicker":d.proxy(this.highlightUnit,this),"keydown.timepicker":d.proxy(this.elementKeydown,this),"blur.timepicker":d.proxy(this.blurElement,this),"mousewheel.timepicker DOMMouseScroll.timepicker":d.proxy(this.mousewheel,this)})):this.template?this.$element.on({"focus.timepicker":d.proxy(this.showWidget,this),"click.timepicker":d.proxy(this.showWidget,this),"blur.timepicker":d.proxy(this.blurElement,this),"mousewheel.timepicker DOMMouseScroll.timepicker":d.proxy(this.mousewheel,this)}):this.$element.on({"focus.timepicker":d.proxy(this.highlightUnit,this),"click.timepicker":d.proxy(this.highlightUnit,this),"keydown.timepicker":d.proxy(this.elementKeydown,this),"blur.timepicker":d.proxy(this.blurElement,this),"mousewheel.timepicker DOMMouseScroll.timepicker":d.proxy(this.mousewheel,this)}),!1!==this.template?this.$widget=d(this.getTemplate()).on("click",d.proxy(this.widgetClick,this)):this.$widget=!1,this.showInputs&&!1!==this.$widget&&this.$widget.find("input").each(function(){d(this).on({"click.timepicker":function(){d(this).select()},"keydown.timepicker":d.proxy(e.widgetKeydown,e),"keyup.timepicker":d.proxy(e.widgetKeyup,e)})}),this.setDefaultTime(this.defaultTime)},blurElement:function(){this.highlightedUnit=null,this.updateFromElementVal()},clear:function(){this.hour="",this.minute="",this.second="",this.meridian="",this.$element.val("")},decrementHour:function(){if(this.showMeridian)if(1===this.hour)this.hour=12;else{if(12===this.hour)return this.hour--,this.toggleMeridian();{if(0===this.hour)return this.hour=11,this.toggleMeridian();this.hour--}}else this.hour<=0?this.hour=this.maxHours-1:this.hour--},decrementMinute:function(e){e=e?this.minute-e:this.minute-this.minuteStep;e<0?(this.decrementHour(),this.minute=e+60):this.minute=e},decrementSecond:function(){var e=this.second-this.secondStep;e<0?(this.decrementMinute(!0),this.second=60+e):this.second=e},elementKeydown:function(e){switch(e.which){case 9:if(e.shiftKey){if("hour"===this.highlightedUnit){this.hideWidget();break}this.highlightPrevUnit()}else{if(this.showMeridian&&"meridian"===this.highlightedUnit||this.showSeconds&&"second"===this.highlightedUnit||!this.showMeridian&&!this.showSeconds&&"minute"===this.highlightedUnit){this.hideWidget();break}this.highlightNextUnit()}e.preventDefault(),this.updateFromElementVal();break;case 27:this.updateFromElementVal();break;case 37:e.preventDefault(),this.highlightPrevUnit(),this.updateFromElementVal();break;case 38:switch(e.preventDefault(),this.highlightedUnit){case"hour":this.incrementHour(),this.highlightHour();break;case"minute":this.incrementMinute(),this.highlightMinute();break;case"second":this.incrementSecond(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian()}this.update();break;case 39:e.preventDefault(),this.highlightNextUnit(),this.updateFromElementVal();break;case 40:switch(e.preventDefault(),this.highlightedUnit){case"hour":this.decrementHour(),this.highlightHour();break;case"minute":this.decrementMinute(),this.highlightMinute();break;case"second":this.decrementSecond(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian()}this.update()}},getCursorPosition:function(){var e,t,i=this.$element.get(0);return"selectionStart"in i?i.selectionStart:n.selection?(i.focus(),e=n.selection.createRange(),t=n.selection.createRange().text.length,e.moveStart("character",-i.value.length),e.text.length-t):void 0},getTemplate:function(){var e,t,i,n,r=this.showInputs?(t='<input type="text" class="bootstrap-timepicker-hour" maxlength="2"/>',i='<input type="text" class="bootstrap-timepicker-minute" maxlength="2"/>',n='<input type="text" class="bootstrap-timepicker-second" maxlength="2"/>','<input type="text" class="bootstrap-timepicker-meridian" maxlength="2"/>'):(t='<span class="bootstrap-timepicker-hour"></span>',i='<span class="bootstrap-timepicker-minute"></span>',n='<span class="bootstrap-timepicker-second"></span>','<span class="bootstrap-timepicker-meridian"></span>'),s='<table><tr><td><a href="#" data-action="incrementHour"><span class="'+this.icons.up+'"></span></a></td><td class="separator">&nbsp;</td><td><a href="#" data-action="incrementMinute"><span class="'+this.icons.up+'"></span></a></td>'+(this.showSeconds?'<td class="separator">&nbsp;</td><td><a href="#" data-action="incrementSecond"><span class="'+this.icons.up+'"></span></a></td>':"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td class="meridian-column"><a href="#" data-action="toggleMeridian"><span class="'+this.icons.up+'"></span></a></td>':"")+"</tr><tr><td>"+t+'</td> <td class="separator">:</td><td>'+i+"</td> "+(this.showSeconds?'<td class="separator">:</td><td>'+n+"</td>":"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td>'+r+"</td>":"")+'</tr><tr><td><a href="#" data-action="decrementHour"><span class="'+this.icons.down+'"></span></a></td><td class="separator"></td><td><a href="#" data-action="decrementMinute"><span class="'+this.icons.down+'"></span></a></td>'+(this.showSeconds?'<td class="separator">&nbsp;</td><td><a href="#" data-action="decrementSecond"><span class="'+this.icons.down+'"></span></a></td>':"")+(this.showMeridian?'<td class="separator">&nbsp;</td><td><a href="#" data-action="toggleMeridian"><span class="'+this.icons.down+'"></span></a></td>':"")+"</tr></table>";switch(this.template){case"modal":e='<div class="bootstrap-timepicker-widget modal hide fade in" data-backdrop="'+(this.modalBackdrop?"true":"false")+'"><div class="modal-header"><a href="#" class="close" data-dismiss="modal">&times;</a><h3>Pick a Time</h3></div><div class="modal-content">'+s+'</div><div class="modal-footer"><a href="#" class="btn btn-primary" data-dismiss="modal">OK</a></div></div>';break;case"dropdown":e='<div class="bootstrap-timepicker-widget dropdown-menu">'+s+"</div>"}return e},getTime:function(){return""===this.hour?"":this.hour+":"+(1===this.minute.toString().length?"0"+this.minute:this.minute)+(this.showSeconds?":"+(1===this.second.toString().length?"0"+this.second:this.second):"")+(this.showMeridian?" "+this.meridian:"")},hideWidget:function(){!1!==this.isOpen&&(this.$element.trigger({type:"hide.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),"modal"===this.template&&this.$widget.modal?this.$widget.modal("hide"):this.$widget.removeClass("open"),d(n).off("mousedown.timepicker, touchend.timepicker",this.handleDocumentClick),this.isOpen=!1,this.$widget.detach())},highlightUnit:function(){this.position=this.getCursorPosition(),0<=this.position&&this.position<=2?this.highlightHour():3<=this.position&&this.position<=5?this.highlightMinute():6<=this.position&&this.position<=8?this.showSeconds?this.highlightSecond():this.highlightMeridian():9<=this.position&&this.position<=11&&this.highlightMeridian()},highlightNextUnit:function(){switch(this.highlightedUnit){case"hour":this.highlightMinute();break;case"minute":this.showSeconds?this.highlightSecond():this.showMeridian?this.highlightMeridian():this.highlightHour();break;case"second":this.showMeridian?this.highlightMeridian():this.highlightHour();break;case"meridian":this.highlightHour()}},highlightPrevUnit:function(){switch(this.highlightedUnit){case"hour":this.showMeridian?this.highlightMeridian():this.showSeconds?this.highlightSecond():this.highlightMinute();break;case"minute":this.highlightHour();break;case"second":this.highlightMinute();break;case"meridian":this.showSeconds?this.highlightSecond():this.highlightMinute()}},highlightHour:function(){var e=this.$element.get(0),t=this;this.highlightedUnit="hour",e.setSelectionRange&&setTimeout(function(){t.hour<10?e.setSelectionRange(0,1):e.setSelectionRange(0,2)},0)},highlightMinute:function(){var e=this.$element.get(0),t=this;this.highlightedUnit="minute",e.setSelectionRange&&setTimeout(function(){t.hour<10?e.setSelectionRange(2,4):e.setSelectionRange(3,5)},0)},highlightSecond:function(){var e=this.$element.get(0),t=this;this.highlightedUnit="second",e.setSelectionRange&&setTimeout(function(){t.hour<10?e.setSelectionRange(5,7):e.setSelectionRange(6,8)},0)},highlightMeridian:function(){var e=this.$element.get(0),t=this;this.highlightedUnit="meridian",e.setSelectionRange&&(this.showSeconds?setTimeout(function(){t.hour<10?e.setSelectionRange(8,10):e.setSelectionRange(9,11)},0):setTimeout(function(){t.hour<10?e.setSelectionRange(5,7):e.setSelectionRange(6,8)},0))},incrementHour:function(){if(this.showMeridian){if(11===this.hour)return this.hour++,this.toggleMeridian();12===this.hour&&(this.hour=0)}this.hour===this.maxHours-1?this.hour=0:this.hour++},incrementMinute:function(e){e=e?this.minute+e:this.minute+this.minuteStep-this.minute%this.minuteStep;59<e?(this.incrementHour(),this.minute=e-60):this.minute=e},incrementSecond:function(){var e=this.second+this.secondStep-this.second%this.secondStep;59<e?(this.incrementMinute(!0),this.second=e-60):this.second=e},mousewheel:function(e){if(!this.disableMousewheel){e.preventDefault(),e.stopPropagation();var t=e.originalEvent.wheelDelta||-e.originalEvent.detail,i=null;switch("mousewheel"===e.type?i=-1*e.originalEvent.wheelDelta:"DOMMouseScroll"===e.type&&(i=40*e.originalEvent.detail),i&&(e.preventDefault(),d(this).scrollTop(i+d(this).scrollTop())),this.highlightedUnit){case"minute":0<t?this.incrementMinute():this.decrementMinute(),this.highlightMinute();break;case"second":0<t?this.incrementSecond():this.decrementSecond(),this.highlightSecond();break;case"meridian":this.toggleMeridian(),this.highlightMeridian();break;default:0<t?this.incrementHour():this.decrementHour(),this.highlightHour()}return!1}},changeToNearestStep:function(e,t){return e%t==0?e:Math.round(e%t/t)?(e+(t-e%t))%60:e-e%t},place:function(){var e,t,i,n,r,s,o,a,l,c,u;this.isInline||(u=this.$widget.outerWidth(),e=this.$widget.outerHeight(),c=d(h).width(),t=d(h).height(),i=d(h).scrollTop(),n=parseInt(this.$element.parents().filter(function(){return"auto"!==d(this).css("z-index")}).first().css("z-index"),10)+10,r=(this.component?this.component.parent():this.$element).offset(),s=this.component?this.component.outerHeight(!0):this.$element.outerHeight(!1),l=this.component?this.component.outerWidth(!0):this.$element.outerWidth(!1),o=r.left,a=r.top,this.$widget.removeClass("timepicker-orient-top timepicker-orient-bottom timepicker-orient-right timepicker-orient-left"),"auto"!==this.orientation.x?(this.$widget.addClass("timepicker-orient-"+this.orientation.x),"right"===this.orientation.x&&(o-=u-l)):(this.$widget.addClass("timepicker-orient-left"),r.left<0?o-=r.left-10:r.left+u>c&&(o=c-u-10)),"auto"===(l=this.orientation.y)&&(c=-i+r.top-e,u=i+t-(r.top+s+e),l=Math.max(c,u)===u?"top":"bottom"),this.$widget.addClass("timepicker-orient-"+l),"top"===l?a+=s:a-=e+parseInt(this.$widget.css("padding-top"),10),this.$widget.css({top:a,left:o,zIndex:n}))},remove:function(){d("document").off(".timepicker"),this.$widget&&this.$widget.remove(),delete this.$element.data().timepicker},setDefaultTime:function(e){var t,i,n,r,s;this.$element.val()?this.updateFromElementVal():"current"===e?(i=(t=new Date).getHours(),n=t.getMinutes(),s="AM",0!==(r=t.getSeconds())&&60===(r=Math.ceil(t.getSeconds()/this.secondStep)*this.secondStep)&&(n+=1,r=0),0!==n&&60===(n=Math.ceil(t.getMinutes()/this.minuteStep)*this.minuteStep)&&(i+=1,n=0),this.showMeridian&&(0===i?i=12:s=12<=i?(12<i&&(i-=12),"PM"):"AM"),this.hour=i,this.minute=n,this.second=r,this.meridian=s,this.update()):!1===e?(this.hour=0,this.minute=0,this.second=0,this.meridian="AM"):this.setTime(e)},setTime:function(e,t){if(e){var i,n,r,s,o;if("object"==typeof e&&e.getMonth)n=e.getHours(),r=e.getMinutes(),s=e.getSeconds(),this.showMeridian&&(o="AM",12<n&&(o="PM",n%=12),12===n&&(o="PM"));else{if(2<(i=(/a/i.test(e)?1:0)+(/p/i.test(e)?2:0)))return void this.clear();if(n=((e=e.replace(/[^0-9\:]/g,"").split(":"))[0]||e).toString(),this.explicitMode&&2<n.length&&n.length%2!=0)return void this.clear();r=e[1]?e[1].toString():"",s=e[2]?e[2].toString():"",4<n.length&&(s=n.slice(-2),n=n.slice(0,-2)),2<n.length&&(r=n.slice(-2),n=n.slice(0,-2)),2<r.length&&(s=r.slice(-2),r=r.slice(0,-2)),n=parseInt(n,10),r=parseInt(r,10),s=parseInt(s,10),isNaN(n)&&(n=0),isNaN(r)&&(r=0),59<(s=isNaN(s)?0:s)&&(s=59),59<r&&(r=59),n>=this.maxHours&&(n=this.maxHours-1),this.showMeridian?(12<n&&(i=2,n-=12),0===n&&(n=12),o=1===(i=i||1)?"AM":"PM"):n<12&&2===i?n+=12:n>=this.maxHours?n=this.maxHours-1:(n<0||12===n&&1===i)&&(n=0)}this.hour=n,this.snapToStep?(this.minute=this.changeToNearestStep(r,this.minuteStep),this.second=this.changeToNearestStep(s,this.secondStep)):(this.minute=r,this.second=s),this.meridian=o,this.update(t)}else this.clear()},showWidget:function(){this.isOpen||this.$element.is(":disabled")||(this.$widget.appendTo(this.appendWidgetTo),d(n).on("mousedown.timepicker, touchend.timepicker",{scope:this},this.handleDocumentClick),this.$element.trigger({type:"show.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),this.place(),this.disableFocus&&this.$element.blur(),""===this.hour&&(this.defaultTime?this.setDefaultTime(this.defaultTime):this.setTime("0:0:0")),"modal"===this.template&&this.$widget.modal?this.$widget.modal("show").on("hidden",d.proxy(this.hideWidget,this)):!1===this.isOpen&&this.$widget.addClass("open"),this.isOpen=!0)},toggleMeridian:function(){this.meridian="AM"===this.meridian?"PM":"AM"},update:function(e){this.updateElement(),e||this.updateWidget(),this.$element.trigger({type:"changeTime.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}})},updateElement:function(){this.$element.val(this.getTime()).change()},updateFromElementVal:function(){this.setTime(this.$element.val())},updateWidget:function(){var e,t,i;!1!==this.$widget&&(e=this.hour,t=1===this.minute.toString().length?"0"+this.minute:this.minute,i=1===this.second.toString().length?"0"+this.second:this.second,this.showInputs?(this.$widget.find("input.bootstrap-timepicker-hour").val(e),this.$widget.find("input.bootstrap-timepicker-minute").val(t),this.showSeconds&&this.$widget.find("input.bootstrap-timepicker-second").val(i),this.showMeridian&&this.$widget.find("input.bootstrap-timepicker-meridian").val(this.meridian)):(this.$widget.find("span.bootstrap-timepicker-hour").text(e),this.$widget.find("span.bootstrap-timepicker-minute").text(t),this.showSeconds&&this.$widget.find("span.bootstrap-timepicker-second").text(i),this.showMeridian&&this.$widget.find("span.bootstrap-timepicker-meridian").text(this.meridian)))},updateFromWidgetInputs:function(){var e;!1!==this.$widget&&(e=this.$widget.find("input.bootstrap-timepicker-hour").val()+":"+this.$widget.find("input.bootstrap-timepicker-minute").val()+(this.showSeconds?":"+this.$widget.find("input.bootstrap-timepicker-second").val():"")+(this.showMeridian?this.$widget.find("input.bootstrap-timepicker-meridian").val():""),this.setTime(e,!0))},widgetClick:function(e){e.stopPropagation(),e.preventDefault();var e=d(e.target),t=e.closest("a").data("action");t&&this[t](),this.update(),e.is("input")&&e.get(0).setSelectionRange(0,2)},widgetKeydown:function(e){var t=d(e.target),i=t.attr("class").replace("bootstrap-timepicker-","");switch(e.which){case 9:if(e.shiftKey){if("hour"===i)return this.hideWidget()}else if(this.showMeridian&&"meridian"===i||this.showSeconds&&"second"===i||!this.showMeridian&&!this.showSeconds&&"minute"===i)return this.hideWidget();break;case 27:this.hideWidget();break;case 38:switch(e.preventDefault(),i){case"hour":this.incrementHour();break;case"minute":this.incrementMinute();break;case"second":this.incrementSecond();break;case"meridian":this.toggleMeridian()}this.setTime(this.getTime()),t.get(0).setSelectionRange(0,2);break;case 40:switch(e.preventDefault(),i){case"hour":this.decrementHour();break;case"minute":this.decrementMinute();break;case"second":this.decrementSecond();break;case"meridian":this.toggleMeridian()}this.setTime(this.getTime()),t.get(0).setSelectionRange(0,2)}},widgetKeyup:function(e){(65===e.which||77===e.which||80===e.which||46===e.which||8===e.which||48<=e.which&&e.which<=57||96<=e.which&&e.which<=105)&&this.updateFromWidgetInputs()}},d.fn.timepicker=function(i){var n=Array.apply(null,arguments);return n.shift(),this.each(function(){var e=d(this),t=e.data("timepicker");t||e.data("timepicker",t=new r(this,d.extend({},d.fn.timepicker.defaults,"object"==typeof i&&i,d(this).data()))),"string"==typeof i&&t[i].apply(t,n)})},d.fn.timepicker.defaults={defaultTime:"current",disableFocus:!1,disableMousewheel:!1,isOpen:!1,minuteStep:15,modalBackdrop:!1,orientation:{x:"auto",y:"auto"},secondStep:15,snapToStep:!1,showSeconds:!1,showInputs:!0,showMeridian:!0,template:"dropdown",appendWidgetTo:"body",showWidgetOnAddonClick:!0,icons:{up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down"},maxHours:24,explicitMode:!1},d.fn.timepicker.Constructor=r,d(n).on("focus.timepicker.data-api click.timepicker.data-api",'[data-provide="timepicker"]',function(e){var t=d(this);t.data("timepicker")||(e.preventDefault(),t.timepicker())})}(jQuery,window,document)},
vendor: 11,404 bytes, line 1
1"./node_modules/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js":function(e,t,i){var n;i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(R){"use strict";var z=0;R.fn.TouchSpin=function(N){var H={min:0,max:100,initval:"",replacementval:"",firstclickvalueifempty:null,step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:false,verticalup:"+",verticaldown:"-",verticalupclass:"",verticaldownclass:"",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:true,boostat:10,maxboostedstep:false,mousewheel:true,buttondown_class:"btn btn-primary",buttonup_class:"btn btn-primary",buttondown_txt:"-",buttonup_txt:"+",callback_before_calculation:function(e){return e},callback_after_calculation:function(e){return e}};var F={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",firstclickvalueifempty:"first-click-value-if-empty",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each(function(){var a,l=R(this),e=l.data(),n,r,c,i,s,t,o,u,d,h=0,f=false;p();function p(){if(l.data("alreadyinitialized"))return;l.data("alreadyinitialized",true);z+=1;l.data("spinnerid",z);if(!l.is("input")){console.log("Must be an input.");return}v();m();T();x();S();M();C();L()}function m(){if(a.initval!==""&&l.val()==="")l.val(a.initval)}function g(e){_(e);T();var t=i.input.val();if(t!==""){t=Number(a.callback_before_calculation(i.input.val()));i.input.val(a.callback_after_calculation(Number(t).toFixed(a.decimals)))}}function v(){a=R.extend({},H,e,y(),N)}function y(){var n={};R.each(F,function(e,t){var i="bts-"+t+"";if(l.is("[data-"+i+"]"))n[e]=l.data(i)});return n}function b(){var e=l.parent();Y();l.off(".touchspin");if(e.hasClass("bootstrap-touchspin-injected")){l.siblings().remove();l.unwrap()}else{R(".bootstrap-touchspin-injected",e).remove();e.removeClass("bootstrap-touchspin")}l.data("alreadyinitialized",false)}function _(e){a=R.extend({},a,e);if(e.postfix){var t=l.parent().find(".bootstrap-touchspin-postfix");if(t.length===0)r.insertAfter(l);l.parent().find(".bootstrap-touchspin-postfix .input-group-text").text(e.postfix)}if(e.prefix){var i=l.parent().find(".bootstrap-touchspin-prefix");if(i.length===0)n.insertBefore(l);l.parent().find(".bootstrap-touchspin-prefix .input-group-text").text(e.prefix)}M()}function x(){var e=l.val(),t=l.parent();if(e!=="")e=a.callback_after_calculation(Number(e).toFixed(a.decimals));l.data("initvalue",e).val(e);l.addClass("form-control");if(t.hasClass("input-group"))w(t);else k()}function w(e){e.addClass("bootstrap-touchspin");var t=l.prev(),i=l.next();var n,r,s='<span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix input-group-prepend bootstrap-touchspin-injected"><span class="input-group-text">'+a.prefix+"</span></span>",o='<span class="input-group-addon input-group-append bootstrap-touchspin-postfix input-group-append bootstrap-touchspin-injected"><span class="input-group-text">'+a.postfix+"</span></span>";if(t.hasClass("input-group-btn")||t.hasClass("input-group-prepend")){n='<button class="'+a.buttondown_class+' bootstrap-touchspin-down bootstrap-touchspin-injected" type="button">'+a.buttondown_txt+"</button>";t.append(n)}else{n='<span class="input-group-btn input-group-prepend bootstrap-touchspin-injected"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+"</button></span>";R(n).insertBefore(l)}if(i.hasClass("input-group-btn")||i.hasClass("input-group-append")){r='<button class="'+a.buttonup_class+' bootstrap-touchspin-up bootstrap-touchspin-injected" type="button">'+a.buttonup_txt+"</button>";i.prepend(r)}else{r='<span class="input-group-btn input-group-append bootstrap-touchspin-injected"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span>";R(r).insertAfter(l)}R(s).insertBefore(l);R(o).insertAfter(l);c=e}function k(){var e;var t="";if(l.hasClass("input-sm"))t="input-group-sm";if(l.hasClass("input-lg"))t="input-group-lg";if(a.verticalbuttons)e='<div class="input-group '+t+' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix"><span class="input-group-text">'+a.prefix+'</span></span><span class="input-group-addon bootstrap-touchspin-postfix input-group-append"><span class="input-group-text">'+a.postfix+'</span></span><span class="input-group-btn-vertical"><button class="'+a.buttondown_class+" bootstrap-touchspin-up "+a.verticalupclass+'" type="button">'+a.verticalup+'</button><button class="'+a.buttonup_class+" bootstrap-touchspin-down "+a.verticaldownclass+'" type="button">'+a.verticaldown+"</button></span></div>";else e='<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix input-group-prepend"><span class="input-group-text">'+a.prefix+'</span></span><span class="input-group-addon bootstrap-touchspin-postfix input-group-append"><span class="input-group-text">'+a.postfix+'</span></span><span class="input-group-btn input-group-append"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span></div>";c=R(e).insertBefore(l);R(".bootstrap-touchspin-prefix",c).after(l);if(l.hasClass("input-sm"))c.addClass("input-group-sm");else if(l.hasClass("input-lg"))c.addClass("input-group-lg")}function S(){i={down:R(".bootstrap-touchspin-down",c),up:R(".bootstrap-touchspin-up",c),input:R("input",c),prefix:R(".bootstrap-touchspin-prefix",c).addClass(a.prefix_extraclass),postfix:R(".bootstrap-touchspin-postfix",c).addClass(a.postfix_extraclass)}}function M(){if(a.prefix==="")n=i.prefix.detach();if(a.postfix==="")r=i.postfix.detach()}function C(){l.on("keydown.touchspin",function(e){var t=e.keyCode||e.which;if(t===38){if(f!=="up"){A();P()}e.preventDefault()}else if(t===40){if(f!=="down"){j();O()}e.preventDefault()}});l.on("keyup.touchspin",function(e){var t=e.keyCode||e.which;if(t===38)Y();else if(t===40)Y()});l.on("blur.touchspin",function(){T();l.val(a.callback_after_calculation(l.val()))});i.down.on("keydown",function(e){var t=e.keyCode||e.which;if(t===32||t===13){if(f!=="down"){j();O()}e.preventDefault()}});i.down.on("keyup.touchspin",function(e){var t=e.keyCode||e.which;if(t===32||t===13)Y()});i.up.on("keydown.touchspin",function(e){var t=e.keyCode||e.which;if(t===32||t===13){if(f!=="up"){A();P()}e.preventDefault()}});i.up.on("keyup.touchspin",function(e){var t=e.keyCode||e.which;if(t===32||t===13)Y()});i.down.on("mousedown.touchspin",function(e){i.down.off("touchstart.touchspin");if(l.is(":disabled"))return;j();O();e.preventDefault();e.stopPropagation()});i.down.on("touchstart.touchspin",function(e){i.down.off("mousedown.touchspin");if(l.is(":disabled"))return;j();O();e.preventDefault();e.stopPropagation()});i.up.on("mousedown.touchspin",function(e){i.up.off("touchstart.touchspin");if(l.is(":disabled"))return;A();P();e.preventDefault();e.stopPropagation()});i.up.on("touchstart.touchspin",function(e){i.up.off("mousedown.touchspin");if(l.is(":disabled"))return;A();P();e.preventDefault();e.stopPropagation()});i.up.on("mouseup.touchspin mouseout.touchspin touchleave.touchspin touchend.touchspin touchcancel.touchspin",function(e){if(!f)return;e.stopPropagation();Y()});i.down.on("mouseup.touchspin mouseout.touchspin touchleave.touchspin touchend.touchspin touchcancel.touchspin",function(e){if(!f)return;e.stopPropagation();Y()});i.down.on("mousemove.touchspin touchmove.touchspin",function(e){if(!f)return;e.stopPropagation();e.preventDefault()});i.up.on("mousemove.touchspin touchmove.touchspin",function(e){if(!f)return;e.stopPropagation();e.preventDefault()});l.on("mousewheel.touchspin DOMMouseScroll.touchspin",function(e){if(!a.mousewheel||!l.is(":focus"))return;var t=e.originalEvent.wheelDelta||-e.originalEvent.deltaY||-e.originalEvent.detail;e.stopPropagation();e.preventDefault();if(t<0)j();else A()})}function L(){l.on("touchspin.destroy",function(){b()});l.on("touchspin.uponce",function(){Y();A()});l.on("touchspin.downonce",function(){Y();j()});l.on("touchspin.startupspin",function(){P()});l.on("touchspin.startdownspin",function(){O()});l.on("touchspin.stopspin",function(){Y()});l.on("touchspin.updatesettings",function(e,t){g(t)})}function I(e){switch(a.forcestepdivisibility){case"round":return(Math.round(e/a.step)*a.step).toFixed(a.decimals);case"floor":return(Math.floor(e/a.step)*a.step).toFixed(a.decimals);case"ceil":return(Math.ceil(e/a.step)*a.step).toFixed(a.decimals);default:return e.toFixed(a.decimals)}}function T(){var e,t,i;e=a.callback_before_calculation(l.val());if(e===""){if(a.replacementval!==""){l.val(a.replacementval);l.trigger("change")}return}if(a.decimals>0&&e===".")return;t=parseFloat(e);if(isNaN(t))if(a.replacementval!=="")t=a.replacementval;else t=0;i=t;if(t.toString()!==e)i=t;if(a.min!==null&&t<a.min)i=a.min;if(a.max!==null&&t>a.max)i=a.max;i=I(i);if(Number(e).toString()!==i.toString()){l.val(i);l.trigger("change")}}function D(){if(!a.booster)return a.step;else{var e=Math.pow(2,Math.floor(h/a.boostat))*a.step;if(a.maxboostedstep)if(e>a.maxboostedstep){e=a.maxboostedstep;s=Math.round(s/e)*e}return Math.max(a.step,e)}}function E(){if(typeof a.firstclickvalueifempty==="number")return a.firstclickvalueifempty;else return(a.min+a.max)/2}function A(){T();s=parseFloat(a.callback_before_calculation(i.input.val()));var e=s;var t;if(isNaN(s))s=E();else{t=D();s=s+t}if(a.max!==null&&s>a.max){s=a.max;l.trigger("touchspin.on.max");Y()}i.input.val(a.callback_after_calculation(Number(s).toFixed(a.decimals)));if(e!==s)l.trigger("change")}function j(){T();s=parseFloat(a.callback_before_calculation(i.input.val()));var e=s;var t;if(isNaN(s))s=E();else{t=D();s=s-t}if(a.min!==null&&s<a.min){s=a.min;l.trigger("touchspin.on.min");Y()}i.input.val(a.callback_after_calculation(Number(s).toFixed(a.decimals)));if(e!==s)l.trigger("change")}function O(){Y();h=0;f="down";l.trigger("touchspin.on.startspin");l.trigger("touchspin.on.startdownspin");u=setTimeout(function(){t=setInterval(function(){h++;j()},a.stepinterval)},a.stepintervaldelay)}function P(){Y();h=0;f="up";l.trigger("touchspin.on.startspin");l.trigger("touchspin.on.startupspin");d=setTimeout(function(){o=setInterval(function(){h++;A()},a.stepinterval)},a.stepintervaldelay)}function Y(){clearTimeout(u);clearTimeout(d);clearInterval(t);clearInterval(o);switch(f){case"up":l.trigger("touchspin.on.stopupspin");l.trigger("touchspin.on.stopspin");break;case"down":l.trigger("touchspin.on.stopdownspin");l.trigger("touchspin.on.stopspin");break}h=0;f=false}})}})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 60,874 bytes, line 1
1"./node_modules/bootstrap/dist/js/bootstrap.js":function(e,t,i){!function(e,g,h){"use strict";function I(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function s(e,t,i){if(t)I(e.prototype,t);if(i)I(e,i);return e}function a(){a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n))e[n]=i[n]}return e};return a.apply(this,arguments)}function N(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}g=g&&Object.prototype.hasOwnProperty.call(g,"default")?g["default"]:g,h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h["default"]:h;var H="transitionend",F=1e6,R=1e3;function z(e){if(e===null||typeof e==="undefined")return""+e;return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function $(){return{bindType:H,delegateType:H,handle:function e(t){if(g(t.target).is(this))return t.handleObj.handler.apply(this,arguments);return undefined}}}function B(e){var t=this;var i=false;g(this).one(v.TRANSITION_END,function(){i=true});setTimeout(function(){if(!i)v.triggerTransitionEnd(t)},e);return this}function q(){g.fn.emulateTransitionEnd=B;g.event.special[v.TRANSITION_END]=$()}var v={TRANSITION_END:"bsTransitionEnd",getUID:function e(t){do{t+=~~(Math.random()*F)}while(document.getElementById(t));return t},getSelectorFromElement:function e(t){var i=t.getAttribute("data-target");if(!i||i==="#"){var n=t.getAttribute("href");i=n&&n!=="#"?n.trim():""}try{return document.querySelector(i)?i:null}catch(e){return null}},getTransitionDurationFromElement:function e(t){if(!t)return 0;var i=g(t).css("transition-duration");var n=g(t).css("transition-delay");var r=parseFloat(i);var s=parseFloat(n);if(!r&&!s)return 0;i=i.split(",")[0];n=n.split(",")[0];return(parseFloat(i)+parseFloat(n))*R},reflow:function e(t){return t.offsetHeight},triggerTransitionEnd:function e(t){g(t).trigger(H)},supportsTransitionEnd:function e(){return Boolean(H)},isElement:function e(t){return(t[0]||t).nodeType},typeCheckConfig:function e(t,i,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var s=n[r];var o=i[r];var a=o&&v.isElement(o)?"element":z(o);if(!new RegExp(s).test(a))throw new Error(t.toUpperCase()+": "+('Option "'+r+'" provided type "'+a+'" ')+('but expected type "'+s+'".'))}},findShadowRoot:function e(t){if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode==="function"){var i=t.getRootNode();return i instanceof ShadowRoot?i:null}if(t instanceof ShadowRoot)return t;if(!t.parentNode)return null;return v.findShadowRoot(t.parentNode)},jQueryDetection:function e(){if(typeof g==="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=g.fn.jquery.split(" ")[0].split(".");var i=1;var n=2;var r=9;var s=1;var o=4;if(t[0]<n&&t[1]<r||t[0]===i&&t[1]===r&&t[2]<s||t[0]>=o)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},t=(v.jQueryDetection(),q(),"alert"),W="4.5.2",V="bs.alert",U="."+V,X,G=g.fn[t],K='[data-dismiss="alert"]',Z="close"+U,J="closed"+U,Q="click"+U+".data-api",ee="alert",te="fade",ie="show",i=function(){function n(e){this._element=e}var e=n.prototype;e.close=function e(t){var i=this._element;if(t)i=this._getRootElement(t);var n=this._triggerCloseEvent(i);if(n.isDefaultPrevented())return;this._removeElement(i)};e.dispose=function e(){g.removeData(this._element,V);this._element=null};e._getRootElement=function e(t){var i=v.getSelectorFromElement(t);var n=false;if(i)n=document.querySelector(i);if(!n)n=g(t).closest("."+ee)[0];return n};e._triggerCloseEvent=function e(t){var i=g.Event(Z);g(t).trigger(i);return i};e._removeElement=function e(t){var i=this;g(t).removeClass(ie);if(!g(t).hasClass(te)){this._destroyElement(t);return}var n=v.getTransitionDurationFromElement(t);g(t).one(v.TRANSITION_END,function(e){return i._destroyElement(t,e)}).emulateTransitionEnd(n)};e._destroyElement=function e(t){g(t).detach().trigger(J).remove()};n._jQueryInterface=function e(i){return this.each(function(){var e=g(this);var t=e.data(V);if(!t){t=new n(this);e.data(V,t)}if(i==="close")t[i](this)})};n._handleDismiss=function e(t){return function(e){if(e)e.preventDefault();t.close(this)}};s(n,null,[{key:"VERSION",get:function e(){return W}}]);return n}(),n=(g(document).on(Q,K,i._handleDismiss(new i)),g.fn[t]=i._jQueryInterface,g.fn[t].Constructor=i,g.fn[t].noConflict=function(){g.fn[t]=G;return i._jQueryInterface},"button"),ne="4.5.2",re="bs.button",se="."+re,oe=".data-api",ae=g.fn[n],l="active",le="btn",ce="focus",ue='[data-toggle^="button"]',de='[data-toggle="buttons"]',he='[data-toggle="button"]',fe='[data-toggle="buttons"] .btn',pe='input:not([type="hidden"])',me=".active",ge=".btn",ve="click"+se+oe,ye="focus"+se+oe+" "+("blur"+se+oe),be="load"+se+oe,r=function(){function i(e){this._element=e}var e=i.prototype;e.toggle=function e(){var t=true;var i=true;var n=g(this._element).closest(de)[0];if(n){var r=this._element.querySelector(pe);if(r){if(r.type==="radio")if(r.checked&&this._element.classList.contains(l))t=false;else{var s=n.querySelector(me);if(s)g(s).removeClass(l)}if(t){if(r.type==="checkbox"||r.type==="radio")r.checked=!this._element.classList.contains(l);g(r).trigger("change")}r.focus();i=false}}if(!(this._element.hasAttribute("disabled")||this._element.classList.contains("disabled"))){if(i)this._element.setAttribute("aria-pressed",!this._element.classList.contains(l));if(t)g(this._element).toggleClass(l)}};e.dispose=function e(){g.removeData(this._element,re);this._element=null};i._jQueryInterface=function e(t){return this.each(function(){var e=g(this).data(re);if(!e){e=new i(this);g(this).data(re,e)}if(t==="toggle")e[t]()})};s(i,null,[{key:"VERSION",get:function e(){return ne}}]);return i}(),c=(g(document).on(ve,ue,function(e){var t=e.target;var i=t;if(!g(t).hasClass(le))t=g(t).closest(ge)[0];if(!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var n=t.querySelector(pe);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled"))){e.preventDefault();return}if(i.tagName!=="LABEL"||n&&n.type!=="checkbox")r._jQueryInterface.call(g(t),"toggle")}}).on(ye,ue,function(e){var t=g(e.target).closest(ge)[0];g(t).toggleClass(ce,/^focus(in)?$/.test(e.type))}),g(window).on(be,function(){var e=[].slice.call(document.querySelectorAll(fe));for(var t=0,i=e.length;t<i;t++){var n=e[t];var r=n.querySelector(pe);if(r.checked||r.hasAttribute("checked"))n.classList.add(l);else n.classList.remove(l)}e=[].slice.call(document.querySelectorAll(he));for(var s=0,o=e.length;s<o;s++){var a=e[s];if(a.getAttribute("aria-pressed")==="true")a.classList.add(l);else a.classList.remove(l)}}),g.fn[n]=r._jQueryInterface,g.fn[n].Constructor=r,g.fn[n].noConflict=function(){g.fn[n]=ae;return r._jQueryInterface},"carousel"),_e="4.5.2",u="bs.carousel",d="."+u,xe=".data-api",we=g.fn[c],ke=37,Se=39,Me=500,Ce=40,Le={interval:5e3,keyboard:true,slide:false,pause:"hover",wrap:true,touch:true},Te={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},De="next",Ee="prev",Ae="left",je="right",Oe="slide"+d,Pe="slid"+d,Ye="keydown"+d,Ie="mouseenter"+d,Ne="mouseleave"+d,He="touchstart"+d,Fe="touchmove"+d,Re="touchend"+d,ze="pointerdown"+d,$e="pointerup"+d,Be="dragstart"+d,qe="load"+d+xe,We="click"+d+xe,Ve="carousel",y="active",Ue="slide",Xe="carousel-item-right",Ge="carousel-item-left",Ke="carousel-item-next",Ze="carousel-item-prev",Je="pointer-event",Qe=".active",et=".active.carousel-item",tt=".carousel-item",it=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",rt=".carousel-indicators",st="[data-slide], [data-slide-to]",ot='[data-ride="carousel"]',at={TOUCH:"touch",PEN:"pen"},o=function(){function o(e,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=false;this._isSliding=false;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=e;this._indicatorsElement=this._element.querySelector(rt);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var e=o.prototype;e.next=function e(){if(!this._isSliding)this._slide(De)};e.nextWhenVisible=function e(){if(!document.hidden&&g(this._element).is(":visible")&&g(this._element).css("visibility")!=="hidden")this.next()};e.prev=function e(){if(!this._isSliding)this._slide(Ee)};e.pause=function e(t){if(!t)this._isPaused=true;if(this._element.querySelector(nt)){v.triggerTransitionEnd(this._element);this.cycle(true)}clearInterval(this._interval);this._interval=null};e.cycle=function e(t){if(!t)this._isPaused=false;if(this._interval){clearInterval(this._interval);this._interval=null}if(this._config.interval&&!this._isPaused)this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval)};e.to=function e(t){var i=this;this._activeElement=this._element.querySelector(et);var n=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding){g(this._element).one(Pe,function(){return i.to(t)});return}if(n===t){this.pause();this.cycle();return}var r=t>n?De:Ee;this._slide(r,this._items[t])};e.dispose=function e(){g(this._element).off(d);g.removeData(this._element,u);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null};e._getConfig=function e(t){t=a({},Le,t);v.typeCheckConfig(c,t,Te);return t};e._handleSwipe=function e(){var t=Math.abs(this.touchDeltaX);if(t<=Ce)return;var i=t/this.touchDeltaX;this.touchDeltaX=0;if(i>0)this.prev();if(i<0)this.next()};e._addEventListeners=function e(){var t=this;if(this._config.keyboard)g(this._element).on(Ye,function(e){return t._keydown(e)});if(this._config.pause==="hover")g(this._element).on(Ie,function(e){return t.pause(e)}).on(Ne,function(e){return t.cycle(e)});if(this._config.touch)this._addTouchEventListeners()};e._addTouchEventListeners=function e(){var i=this;if(!this._touchSupported)return;var t=function e(t){if(i._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()])i.touchStartX=t.originalEvent.clientX;else if(!i._pointerEvent)i.touchStartX=t.originalEvent.touches[0].clientX};var n=function e(t){if(t.originalEvent.touches&&t.originalEvent.touches.length>1)i.touchDeltaX=0;else i.touchDeltaX=t.originalEvent.touches[0].clientX-i.touchStartX};var r=function e(t){if(i._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()])i.touchDeltaX=t.originalEvent.clientX-i.touchStartX;i._handleSwipe();if(i._config.pause==="hover"){i.pause();if(i.touchTimeout)clearTimeout(i.touchTimeout);i.touchTimeout=setTimeout(function(e){return i.cycle(e)},Me+i._config.interval)}};g(this._element.querySelectorAll(it)).on(Be,function(e){return e.preventDefault()});if(this._pointerEvent){g(this._element).on(ze,function(e){return t(e)});g(this._element).on($e,function(e){return r(e)});this._element.classList.add(Je)}else{g(this._element).on(He,function(e){return t(e)});g(this._element).on(Fe,function(e){return n(e)});g(this._element).on(Re,function(e){return r(e)})}};e._keydown=function e(t){if(/input|textarea/i.test(t.target.tagName))return;switch(t.which){case ke:t.preventDefault();this.prev();break;case Se:t.preventDefault();this.next();break}};e._getItemIndex=function e(t){this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(tt)):[];return this._items.indexOf(t)};e._getItemByDirection=function e(t,i){var n=t===De;var r=t===Ee;var s=this._getItemIndex(i);var o=this._items.length-1;var a=r&&s===0||n&&s===o;if(a&&!this._config.wrap)return i;var l=t===Ee?-1:1;var c=(s+l)%this._items.length;return c===-1?this._items[this._items.length-1]:this._items[c]};e._triggerSlideEvent=function e(t,i){var n=this._getItemIndex(t);var r=this._getItemIndex(this._element.querySelector(et));var s=g.Event(Oe,{relatedTarget:t,direction:i,from:r,to:n});g(this._element).trigger(s);return s};e._setActiveIndicatorElement=function e(t){if(this._indicatorsElement){var i=[].slice.call(this._indicatorsElement.querySelectorAll(Qe));g(i).removeClass(y);var n=this._indicatorsElement.children[this._getItemIndex(t)];if(n)g(n).addClass(y)}};e._slide=function e(t,i){var n=this;var r=this._element.querySelector(et);var s=this._getItemIndex(r);var o=i||r&&this._getItemByDirection(t,r);var a=this._getItemIndex(o);var l=Boolean(this._interval);var c;var u;var d;if(t===De){c=Ge;u=Ke;d=Ae}else{c=Xe;u=Ze;d=je}if(o&&g(o).hasClass(y)){this._isSliding=false;return}var h=this._triggerSlideEvent(o,d);if(h.isDefaultPrevented())return;if(!r||!o)return;this._isSliding=true;if(l)this.pause();this._setActiveIndicatorElement(o);var f=g.Event(Pe,{relatedTarget:o,direction:d,from:s,to:a});if(g(this._element).hasClass(Ue)){g(o).addClass(u);v.reflow(o);g(r).addClass(c);g(o).addClass(c);var p=parseInt(o.getAttribute("data-interval"),10);if(p){this._config.defaultInterval=this._config.defaultInterval||this._config.interval;this._config.interval=p}else this._config.interval=this._config.defaultInterval||this._config.interval;var m=v.getTransitionDurationFromElement(r);g(r).one(v.TRANSITION_END,function(){g(o).removeClass(c+" "+u).addClass(y);g(r).removeClass(y+" "+u+" "+c);n._isSliding=false;setTimeout(function(){return g(n._element).trigger(f)},0)}).emulateTransitionEnd(m)}else{g(r).removeClass(y);g(o).addClass(y);this._isSliding=false;g(this._element).trigger(f)}if(l)this.cycle()};o._jQueryInterface=function e(n){return this.each(function(){var e=g(this).data(u);var t=a({},Le,g(this).data());if(typeof n==="object")t=a({},t,n);var i=typeof n==="string"?n:t.slide;if(!e){e=new o(this,t);g(this).data(u,e)}if(typeof n==="number")e.to(n);else if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i]()}else if(t.interval&&t.ride){e.pause();e.cycle()}})};o._dataApiClickHandler=function e(t){var i=v.getSelectorFromElement(this);if(!i)return;var n=g(i)[0];if(!n||!g(n).hasClass(Ve))return;var r=a({},g(n).data(),g(this).data());var s=this.getAttribute("data-slide-to");if(s)r.interval=false;o._jQueryInterface.call(g(n),r);if(s)g(n).data(u).to(s);t.preventDefault()};s(o,null,[{key:"VERSION",get:function e(){return _e}},{key:"Default",get:function e(){return Le}}]);return o}(),f=(g(document).on(We,st,o._dataApiClickHandler),g(window).on(qe,function(){var e=[].slice.call(document.querySelectorAll(ot));for(var t=0,i=e.length;t<i;t++){var n=g(e[t]);o._jQueryInterface.call(n,n.data())}}),g.fn[c]=o._jQueryInterface,g.fn[c].Constructor=o,g.fn[c].noConflict=function(){g.fn[c]=we;return o._jQueryInterface},"collapse"),lt="4.5.2",p="bs.collapse",m="."+p,ct,ut=g.fn[f],dt={toggle:true,parent:""},ht={toggle:"boolean",parent:"(string|element)"},ft="show"+m,pt="shown"+m,mt="hide"+m,gt="hidden"+m,vt="click"+m+".data-api",b="show",_="collapse",yt="collapsing",bt="collapsed",_t="width",xt="height",wt=".show, .collapsing",kt='[data-toggle="collapse"]',St=function(){function u(t,e){this._isTransitioning=false;this._element=t;this._config=this._getConfig(e);this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]')));var i=[].slice.call(document.querySelectorAll(kt));for(var n=0,r=i.length;n<r;n++){var s=i[n];var o=v.getSelectorFromElement(s);var a=[].slice.call(document.querySelectorAll(o)).filter(function(e){return e===t});if(o!==null&&a.length>0){this._selector=o;this._triggerArray.push(s)}}this._parent=this._config.parent?this._getParent():null;if(!this._config.parent)this._addAriaAndCollapsedClass(this._element,this._triggerArray);if(this._config.toggle)this.toggle()}var e=u.prototype;e.toggle=function e(){if(g(this._element).hasClass(b))this.hide();else this.show()};e.show=function e(){var t=this;if(this._isTransitioning||g(this._element).hasClass(b))return;var i;var n;if(this._parent){i=[].slice.call(this._parent.querySelectorAll(wt)).filter(function(e){if(typeof t._config.parent==="string")return e.getAttribute("data-parent")===t._config.parent;return e.classList.contains(_)});if(i.length===0)i=null}if(i){n=g(i).not(this._selector).data(p);if(n&&n._isTransitioning)return}var r=g.Event(ft);g(this._element).trigger(r);if(r.isDefaultPrevented())return;if(i){u._jQueryInterface.call(g(i).not(this._selector),"hide");if(!n)g(i).data(p,null)}var s=this._getDimension();g(this._element).removeClass(_).addClass(yt);this._element.style[s]=0;if(this._triggerArray.length)g(this._triggerArray).removeClass(bt).attr("aria-expanded",true);this.setTransitioning(true);var o=function e(){g(t._element).removeClass(yt).addClass(_+" "+b);t._element.style[s]="";t.setTransitioning(false);g(t._element).trigger(pt)};var a=s[0].toUpperCase()+s.slice(1);var l="scroll"+a;var c=v.getTransitionDurationFromElement(this._element);g(this._element).one(v.TRANSITION_END,o).emulateTransitionEnd(c);this._element.style[s]=this._element[l]+"px"};e.hide=function e(){var t=this;if(this._isTransitioning||!g(this._element).hasClass(b))return;var i=g.Event(mt);g(this._element).trigger(i);if(i.isDefaultPrevented())return;var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px";v.reflow(this._element);g(this._element).addClass(yt).removeClass(_+" "+b);var r=this._triggerArray.length;if(r>0)for(var s=0;s<r;s++){var o=this._triggerArray[s];var a=v.getSelectorFromElement(o);if(a!==null){var l=g([].slice.call(document.querySelectorAll(a)));if(!l.hasClass(b))g(o).addClass(bt).attr("aria-expanded",false)}}this.setTransitioning(true);var c=function e(){t.setTransitioning(false);g(t._element).removeClass(yt).addClass(_).trigger(gt)};this._element.style[n]="";var u=v.getTransitionDurationFromElement(this._element);g(this._element).one(v.TRANSITION_END,c).emulateTransitionEnd(u)};e.setTransitioning=function e(t){this._isTransitioning=t};e.dispose=function e(){g.removeData(this._element,p);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null};e._getConfig=function e(t){t=a({},dt,t);t.toggle=Boolean(t.toggle);v.typeCheckConfig(f,t,ht);return t};e._getDimension=function e(){var t=g(this._element).hasClass(_t);return t?_t:xt};e._getParent=function e(){var i=this;var t;if(v.isElement(this._config.parent)){t=this._config.parent;if(typeof this._config.parent.jquery!=="undefined")t=this._config.parent[0]}else t=document.querySelector(this._config.parent);var n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';var r=[].slice.call(t.querySelectorAll(n));g(r).each(function(e,t){i._addAriaAndCollapsedClass(u._getTargetFromElement(t),[t])});return t};e._addAriaAndCollapsedClass=function e(t,i){var n=g(t).hasClass(b);if(i.length)g(i).toggleClass(bt,!n).attr("aria-expanded",n)};u._getTargetFromElement=function e(t){var i=v.getSelectorFromElement(t);return i?document.querySelector(i):null};u._jQueryInterface=function e(n){return this.each(function(){var e=g(this);var t=e.data(p);var i=a({},dt,e.data(),typeof n==="object"&&n?n:{});if(!t&&i.toggle&&typeof n==="string"&&/show|hide/.test(n))i.toggle=false;if(!t){t=new u(this,i);e.data(p,t)}if(typeof n==="string"){if(typeof t[n]==="undefined")throw new TypeError('No method named "'+n+'"');t[n]()}})};s(u,null,[{key:"VERSION",get:function e(){return lt}},{key:"Default",get:function e(){return dt}}]);return u}(),x=(g(document).on(vt,kt,function(e){if(e.currentTarget.tagName==="A")e.preventDefault();var n=g(this);var t=v.getSelectorFromElement(this);var i=[].slice.call(document.querySelectorAll(t));g(i).each(function(){var e=g(this);var t=e.data(p);var i=t?"toggle":n.data();St._jQueryInterface.call(e,i)})}),g.fn[f]=St._jQueryInterface,g.fn[f].Constructor=St,g.fn[f].noConflict=function(){g.fn[f]=ut;return St._jQueryInterface},"dropdown"),Mt="4.5.2",Ct="bs.dropdown",w="."+Ct,Lt=".data-api",Tt=g.fn[x],Dt=27,Et=32,At=9,jt=38,Ot=40,Pt=3,Yt=new RegExp(jt+"|"+Ot+"|"+Dt),It="hide"+w,Nt="hidden"+w,Ht="show"+w,Ft="shown"+w,Rt="click"+w,zt="click"+w+Lt,$t="keydown"+w+Lt,Bt="keyup"+w+Lt,qt="disabled",k="show",Wt="dropup",Vt="dropright",Ut="dropleft",Xt="dropdown-menu-right",Gt="position-static",Kt='[data-toggle="dropdown"]',Zt=".dropdown form",Jt=".dropdown-menu",Qt=".navbar-nav",ei=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ti="top-start",ii="top-end",ni="bottom-start",ri="bottom-end",si="right-start",oi="left-start",ai={offset:0,flip:true,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},li={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},S=function(){function u(e,t){this._element=e;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var e=u.prototype;e.toggle=function e(){if(this._element.disabled||g(this._element).hasClass(qt))return;var t=g(this._menu).hasClass(k);u._clearMenus();if(t)return;this.show(true)};e.show=function e(t){if(t===void 0)t=false;if(this._element.disabled||g(this._element).hasClass(qt)||g(this._menu).hasClass(k))return;var i={relatedTarget:this._element};var n=g.Event(Ht,i);var r=u._getParentFromElement(this._element);g(r).trigger(n);if(n.isDefaultPrevented())return;if(!this._inNavbar&&t){if(typeof h==="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;if(this._config.reference==="parent")s=r;else if(v.isElement(this._config.reference)){s=this._config.reference;if(typeof this._config.reference.jquery!=="undefined")s=this._config.reference[0]}if(this._config.boundary!=="scrollParent")g(r).addClass(Gt);this._popper=new h(s,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&g(r).closest(Qt).length===0)g(document.body).children().on("mouseover",null,g.noop);this._element.focus();this._element.setAttribute("aria-expanded",true);g(this._menu).toggleClass(k);g(r).toggleClass(k).trigger(g.Event(Ft,i))};e.hide=function e(){if(this._element.disabled||g(this._element).hasClass(qt)||!g(this._menu).hasClass(k))return;var t={relatedTarget:this._element};var i=g.Event(It,t);var n=u._getParentFromElement(this._element);g(n).trigger(i);if(i.isDefaultPrevented())return;if(this._popper)this._popper.destroy();g(this._menu).toggleClass(k);g(n).toggleClass(k).trigger(g.Event(Nt,t))};e.dispose=function e(){g.removeData(this._element,Ct);g(this._element).off(w);this._element=null;this._menu=null;if(this._popper!==null){this._popper.destroy();this._popper=null}};e.update=function e(){this._inNavbar=this._detectNavbar();if(this._popper!==null)this._popper.scheduleUpdate()};e._addEventListeners=function e(){var t=this;g(this._element).on(Rt,function(e){e.preventDefault();e.stopPropagation();t.toggle()})};e._getConfig=function e(t){t=a({},this.constructor.Default,g(this._element).data(),t);v.typeCheckConfig(x,t,this.constructor.DefaultType);return t};e._getMenuElement=function e(){if(!this._menu){var t=u._getParentFromElement(this._element);if(t)this._menu=t.querySelector(Jt)}return this._menu};e._getPlacement=function e(){var t=g(this._element.parentNode);var i=ni;if(t.hasClass(Wt))i=g(this._menu).hasClass(Xt)?ii:ti;else if(t.hasClass(Vt))i=si;else if(t.hasClass(Ut))i=oi;else if(g(this._menu).hasClass(Xt))i=ri;return i};e._detectNavbar=function e(){return g(this._element).closest(".navbar").length>0};e._getOffset=function e(){var t=this;var i={};if(typeof this._config.offset==="function")i.fn=function(e){e.offsets=a({},e.offsets,t._config.offset(e.offsets,t._element)||{});return e};else i.offset=this._config.offset;return i};e._getPopperConfig=function e(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};if(this._config.display==="static")t.modifiers.applyStyle={enabled:false};return a({},t,this._config.popperConfig)};u._jQueryInterface=function e(i){return this.each(function(){var e=g(this).data(Ct);var t=typeof i==="object"?i:null;if(!e){e=new u(this,t);g(this).data(Ct,e)}if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i]()}})};u._clearMenus=function e(t){if(t&&(t.which===Pt||t.type==="keyup"&&t.which!==At))return;var i=[].slice.call(document.querySelectorAll(Kt));for(var n=0,r=i.length;n<r;n++){var s=u._getParentFromElement(i[n]);var o=g(i[n]).data(Ct);var a={relatedTarget:i[n]};if(t&&t.type==="click")a.clickEvent=t;if(!o)continue;var l=o._menu;if(!g(s).hasClass(k))continue;if(t&&(t.type==="click"&&/input|textarea/i.test(t.target.tagName)||t.type==="keyup"&&t.which===At)&&g.contains(s,t.target))continue;var c=g.Event(It,a);g(s).trigger(c);if(c.isDefaultPrevented())continue;if("ontouchstart"in document.documentElement)g(document.body).children().off("mouseover",null,g.noop);i[n].setAttribute("aria-expanded","false");if(o._popper)o._popper.destroy();g(l).removeClass(k);g(s).removeClass(k).trigger(g.Event(Nt,a))}};u._getParentFromElement=function e(t){var i;var n=v.getSelectorFromElement(t);if(n)i=document.querySelector(n);return i||t.parentNode};u._dataApiKeydownHandler=function e(t){if(/input|textarea/i.test(t.target.tagName)?t.which===Et||t.which!==Dt&&(t.which!==Ot&&t.which!==jt||g(t.target).closest(Jt).length):!Yt.test(t.which))return;if(this.disabled||g(this).hasClass(qt))return;var i=u._getParentFromElement(this);var n=g(i).hasClass(k);if(!n&&t.which===Dt)return;t.preventDefault();t.stopPropagation();if(!n||n&&(t.which===Dt||t.which===Et)){if(t.which===Dt)g(i.querySelector(Kt)).trigger("focus");g(this).trigger("click");return}var r=[].slice.call(i.querySelectorAll(ei)).filter(function(e){return g(e).is(":visible")});if(r.length===0)return;var s=r.indexOf(t.target);if(t.which===jt&&s>0)s--;if(t.which===Ot&&s<r.length-1)s++;if(s<0)s=0;r[s].focus()};s(u,null,[{key:"VERSION",get:function e(){return Mt}},{key:"Default",get:function e(){return ai}},{key:"DefaultType",get:function e(){return li}}]);return u}(),M=(g(document).on($t,Kt,S._dataApiKeydownHandler).on($t,Jt,S._dataApiKeydownHandler).on(zt+" "+Bt,S._clearMenus).on(zt,Kt,function(e){e.preventDefault();e.stopPropagation();S._jQueryInterface.call(g(this),"toggle")}).on(zt,Zt,function(e){e.stopPropagation()}),g.fn[x]=S._jQueryInterface,g.fn[x].Constructor=S,g.fn[x].noConflict=function(){g.fn[x]=Tt;return S._jQueryInterface},"modal"),ci="4.5.2",ui="bs.modal",C="."+ui,di,hi=g.fn[M],fi=27,pi={backdrop:true,keyboard:true,focus:true,show:true},mi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},gi="hide"+C,vi="hidePrevented"+C,yi="hidden"+C,bi="show"+C,_i="shown"+C,xi="focusin"+C,wi="resize"+C,ki="click.dismiss"+C,Si="keydown.dismiss"+C,Mi="mouseup.dismiss"+C,Ci="mousedown.dismiss"+C,Li="click"+C+".data-api",Ti="modal-dialog-scrollable",Di="modal-scrollbar-measure",Ei="modal-backdrop",Ai="modal-open",L="fade",ji="show",Oi="modal-static",Pi=".modal-dialog",Yi=".modal-body",Ii='[data-toggle="modal"]',Ni='[data-dismiss="modal"]',Hi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Fi=".sticky-top",Ri=function(){function r(e,t){this._config=this._getConfig(t);this._element=e;this._dialog=e.querySelector(Pi);this._backdrop=null;this._isShown=false;this._isBodyOverflowing=false;this._ignoreBackdropClick=false;this._isTransitioning=false;this._scrollbarWidth=0}var e=r.prototype;e.toggle=function e(t){return this._isShown?this.hide():this.show(t)};e.show=function e(t){var i=this;if(this._isShown||this._isTransitioning)return;if(g(this._element).hasClass(L))this._isTransitioning=true;var n=g.Event(bi,{relatedTarget:t});g(this._element).trigger(n);if(this._isShown||n.isDefaultPrevented())return;this._isShown=true;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();g(this._element).on(ki,Ni,function(e){return i.hide(e)});g(this._dialog).on(Ci,function(){g(i._element).one(Mi,function(e){if(g(e.target).is(i._element))i._ignoreBackdropClick=true})});this._showBackdrop(function(){return i._showElement(t)})};e.hide=function e(t){var i=this;if(t)t.preventDefault();if(!this._isShown||this._isTransitioning)return;var n=g.Event(gi);g(this._element).trigger(n);if(!this._isShown||n.isDefaultPrevented())return;this._isShown=false;var r=g(this._element).hasClass(L);if(r)this._isTransitioning=true;this._setEscapeEvent();this._setResizeEvent();g(document).off(xi);g(this._element).removeClass(ji);g(this._element).off(ki);g(this._dialog).off(Ci);if(r){var s=v.getTransitionDurationFromElement(this._element);g(this._element).one(v.TRANSITION_END,function(e){return i._hideModal(e)}).emulateTransitionEnd(s)}else this._hideModal()};e.dispose=function e(){[window,this._element,this._dialog].forEach(function(e){return g(e).off(C)});g(document).off(xi);g.removeData(this._element,ui);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null};e.handleUpdate=function e(){this._adjustDialog()};e._getConfig=function e(t){t=a({},pi,t);v.typeCheckConfig(M,t,mi);return t};e._triggerBackdropTransition=function e(){var t=this;if(this._config.backdrop==="static"){var i=g.Event(vi);g(this._element).trigger(i);if(i.defaultPrevented)return;var n=this._element.scrollHeight>document.documentElement.clientHeight;if(!n)this._element.style.overflowY="hidden";this._element.classList.add(Oi);var r=v.getTransitionDurationFromElement(this._dialog);g(this._element).off(v.TRANSITION_END);g(this._element).one(v.TRANSITION_END,function(){t._element.classList.remove(Oi);if(!n)g(t._element).one(v.TRANSITION_END,function(){t._element.style.overflowY=""}).emulateTransitionEnd(t._element,r)}).emulateTransitionEnd(r);this._element.focus()}else this.hide()};e._showElement=function e(t){var i=this;var n=g(this._element).hasClass(L);var r=this._dialog?this._dialog.querySelector(Yi):null;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE)document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");if(g(this._dialog).hasClass(Ti)&&r)r.scrollTop=0;else this._element.scrollTop=0;if(n)v.reflow(this._element);g(this._element).addClass(ji);if(this._config.focus)this._enforceFocus();var s=g.Event(_i,{relatedTarget:t});var o=function e(){if(i._config.focus)i._element.focus();i._isTransitioning=false;g(i._element).trigger(s)};if(n){var a=v.getTransitionDurationFromElement(this._dialog);g(this._dialog).one(v.TRANSITION_END,o).emulateTransitionEnd(a)}else o()};e._enforceFocus=function e(){var t=this;g(document).off(xi).on(xi,function(e){if(document!==e.target&&t._element!==e.target&&g(t._element).has(e.target).length===0)t._element.focus()})};e._setEscapeEvent=function e(){var t=this;if(this._isShown)g(this._element).on(Si,function(e){if(t._config.keyboard&&e.which===fi){e.preventDefault();t.hide()}else if(!t._config.keyboard&&e.which===fi)t._triggerBackdropTransition()});else if(!this._isShown)g(this._element).off(Si)};e._setResizeEvent=function e(){var t=this;if(this._isShown)g(window).on(wi,function(e){return t.handleUpdate(e)});else g(window).off(wi)};e._hideModal=function e(){var t=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._showBackdrop(function(){g(document.body).removeClass(Ai);t._resetAdjustments();t._resetScrollbar();g(t._element).trigger(yi)})};e._removeBackdrop=function e(){if(this._backdrop){g(this._backdrop).remove();this._backdrop=null}};e._showBackdrop=function e(t){var i=this;var n=g(this._element).hasClass(L)?L:"";if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=Ei;if(n)this._backdrop.classList.add(n);g(this._backdrop).appendTo(document.body);g(this._element).on(ki,function(e){if(i._ignoreBackdropClick){i._ignoreBackdropClick=false;return}if(e.target!==e.currentTarget)return;i._triggerBackdropTransition()});if(n)v.reflow(this._backdrop);g(this._backdrop).addClass(ji);if(!t)return;if(!n){t();return}var r=v.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(v.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){g(this._backdrop).removeClass(ji);var s=function e(){i._removeBackdrop();if(t)t()};if(g(this._element).hasClass(L)){var o=v.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(v.TRANSITION_END,s).emulateTransitionEnd(o)}else s()}else if(t)t()};e._adjustDialog=function e(){var t=this._element.scrollHeight>document.documentElement.clientHeight;if(!this._isBodyOverflowing&&t)this._element.style.paddingLeft=this._scrollbarWidth+"px";if(this._isBodyOverflowing&&!t)this._element.style.paddingRight=this._scrollbarWidth+"px"};e._resetAdjustments=function e(){this._element.style.paddingLeft="";this._element.style.paddingRight=""};e._checkScrollbar=function e(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()};e._setScrollbar=function e(){var r=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(Hi));var i=[].slice.call(document.querySelectorAll(Fi));g(t).each(function(e,t){var i=t.style.paddingRight;var n=g(t).css("padding-right");g(t).data("padding-right",i).css("padding-right",parseFloat(n)+r._scrollbarWidth+"px")});g(i).each(function(e,t){var i=t.style.marginRight;var n=g(t).css("margin-right");g(t).data("margin-right",i).css("margin-right",parseFloat(n)-r._scrollbarWidth+"px")});var n=document.body.style.paddingRight;var s=g(document.body).css("padding-right");g(document.body).data("padding-right",n).css("padding-right",parseFloat(s)+this._scrollbarWidth+"px")}g(document.body).addClass(Ai)};e._resetScrollbar=function e(){var t=[].slice.call(document.querySelectorAll(Hi));g(t).each(function(e,t){var i=g(t).data("padding-right");g(t).removeData("padding-right");t.style.paddingRight=i?i:""});var i=[].slice.call(document.querySelectorAll(""+Fi));g(i).each(function(e,t){var i=g(t).data("margin-right");if(typeof i!=="undefined")g(t).css("margin-right",i).removeData("margin-right")});var n=g(document.body).data("padding-right");g(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""};e._getScrollbarWidth=function e(){var t=document.createElement("div");t.className=Di;document.body.appendChild(t);var i=t.getBoundingClientRect().width-t.clientWidth;document.body.removeChild(t);return i};r._jQueryInterface=function e(i,n){return this.each(function(){var e=g(this).data(ui);var t=a({},pi,g(this).data(),typeof i==="object"&&i?i:{});if(!e){e=new r(this,t);g(this).data(ui,e)}if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i](n)}else if(t.show)e.show(n)})};s(r,null,[{key:"VERSION",get:function e(){return ci}},{key:"Default",get:function e(){return pi}}]);return r}(),zi=(g(document).on(Li,Ii,function(e){var t=this;var i;var n=v.getSelectorFromElement(this);if(n)i=document.querySelector(n);var r=g(i).data(ui)?"toggle":a({},g(i).data(),g(this).data());if(this.tagName==="A"||this.tagName==="AREA")e.preventDefault();var s=g(i).one(bi,function(e){if(e.isDefaultPrevented())return;s.one(yi,function(){if(g(t).is(":visible"))t.focus()})});Ri._jQueryInterface.call(g(i),r,this)}),g.fn[M]=Ri._jQueryInterface,g.fn[M].Constructor=Ri,g.fn[M].noConflict=function(){g.fn[M]=hi;return Ri._jQueryInterface},["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),$i,Bi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},qi=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Wi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Vi(e,t){var i=e.nodeName.toLowerCase();if(t.indexOf(i)!==-1){if(zi.indexOf(i)!==-1)return Boolean(e.nodeValue.match(qi)||e.nodeValue.match(Wi));return true}var n=t.filter(function(e){return e instanceof RegExp});for(var r=0,s=n.length;r<s;r++)if(i.match(n[r]))return true;return false}function Ui(e,a,t){if(e.length===0)return e;if(t&&typeof t==="function")return t(e);var i=new window.DOMParser;var n=i.parseFromString(e,"text/html");var l=Object.keys(a);var c=[].slice.call(n.body.querySelectorAll("*"));var r=function e(t,i){var n=c[t];var r=n.nodeName.toLowerCase();if(l.indexOf(n.nodeName.toLowerCase())===-1){n.parentNode.removeChild(n);return"continue"}var s=[].slice.call(n.attributes);var o=[].concat(a["*"]||[],a[r]||[]);s.forEach(function(e){if(!Vi(e,o))n.removeAttribute(e.nodeName)})};for(var s=0,o=c.length;s<o;s++){var u=r(s);if(u==="continue")continue}return n.body.innerHTML}var T="tooltip",Xi="4.5.2",Gi="bs.tooltip",D="."+Gi,Ki=g.fn[T],Zi="bs-tooltip",Ji=new RegExp("(^|\\s)"+Zi+"\\S+","g"),Qi=["sanitize","whiteList","sanitizeFn"],en={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},tn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},nn={animation:true,template:'<div class="tooltip" role="tooltip">'+'<div class="arrow"></div>'+'<div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:false,selector:false,placement:"top",offset:0,container:false,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:true,sanitizeFn:null,whiteList:Bi,popperConfig:null},rn="show",sn="out",on={HIDE:"hide"+D,HIDDEN:"hidden"+D,SHOW:"show"+D,SHOWN:"shown"+D,INSERTED:"inserted"+D,CLICK:"click"+D,FOCUSIN:"focusin"+D,FOCUSOUT:"focusout"+D,MOUSEENTER:"mouseenter"+D,MOUSELEAVE:"mouseleave"+D},an="fade",ln="show",cn=".tooltip-inner",un=".arrow",dn="hover",hn="focus",fn="click",pn="manual",E=function(){function n(e,t){if(typeof h==="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=true;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=e;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var e=n.prototype;e.enable=function e(){this._isEnabled=true};e.disable=function e(){this._isEnabled=false};e.toggleEnabled=function e(){this._isEnabled=!this._isEnabled};e.toggle=function e(t){if(!this._isEnabled)return;if(t){var i=this.constructor.DATA_KEY;var n=g(t.currentTarget).data(i);if(!n){n=new this.constructor(t.currentTarget,this._getDelegateConfig());g(t.currentTarget).data(i,n)}n._activeTrigger.click=!n._activeTrigger.click;if(n._isWithActiveTrigger())n._enter(null,n);else n._leave(null,n)}else{if(g(this.getTipElement()).hasClass(ln)){this._leave(null,this);return}this._enter(null,this)}};e.dispose=function e(){clearTimeout(this._timeout);g.removeData(this.element,this.constructor.DATA_KEY);g(this.element).off(this.constructor.EVENT_KEY);g(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);if(this.tip)g(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;if(this._popper)this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null};e.show=function e(){var i=this;if(g(this.element).css("display")==="none")throw new Error("Please use show on visible elements");var t=g.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){g(this.element).trigger(t);var n=v.findShadowRoot(this.element);var r=g.contains(n!==null?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var s=this.getTipElement();var o=v.getUID(this.constructor.NAME);s.setAttribute("id",o);this.element.setAttribute("aria-describedby",o);this.setContent();if(this.config.animation)g(s).addClass(an);var a=typeof this.config.placement==="function"?this.config.placement.call(this,s,this.element):this.config.placement;var l=this._getAttachment(a);this.addAttachmentClass(l);var c=this._getContainer();g(s).data(this.constructor.DATA_KEY,this);if(!g.contains(this.element.ownerDocument.documentElement,this.tip))g(s).appendTo(c);g(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new h(this.element,s,this._getPopperConfig(l));g(s).addClass(ln);if("ontouchstart"in document.documentElement)g(document.body).children().on("mouseover",null,g.noop);var u=function e(){if(i.config.animation)i._fixTransition();var t=i._hoverState;i._hoverState=null;g(i.element).trigger(i.constructor.Event.SHOWN);if(t===sn)i._leave(null,i)};if(g(this.tip).hasClass(an)){var d=v.getTransitionDurationFromElement(this.tip);g(this.tip).one(v.TRANSITION_END,u).emulateTransitionEnd(d)}else u()}};e.hide=function e(t){var i=this;var n=this.getTipElement();var r=g.Event(this.constructor.Event.HIDE);var s=function e(){if(i._hoverState!==rn&&n.parentNode)n.parentNode.removeChild(n);i._cleanTipClass();i.element.removeAttribute("aria-describedby");g(i.element).trigger(i.constructor.Event.HIDDEN);if(i._popper!==null)i._popper.destroy();if(t)t()};g(this.element).trigger(r);if(r.isDefaultPrevented())return;g(n).removeClass(ln);if("ontouchstart"in document.documentElement)g(document.body).children().off("mouseover",null,g.noop);this._activeTrigger[fn]=false;this._activeTrigger[hn]=false;this._activeTrigger[dn]=false;if(g(this.tip).hasClass(an)){var o=v.getTransitionDurationFromElement(n);g(n).one(v.TRANSITION_END,s).emulateTransitionEnd(o)}else s();this._hoverState=""};e.update=function e(){if(this._popper!==null)this._popper.scheduleUpdate()};e.isWithContent=function e(){return Boolean(this.getTitle())};e.addAttachmentClass=function e(t){g(this.getTipElement()).addClass(Zi+"-"+t)};e.getTipElement=function e(){this.tip=this.tip||g(this.config.template)[0];return this.tip};e.setContent=function e(){var t=this.getTipElement();this.setElementContent(g(t.querySelectorAll(cn)),this.getTitle());g(t).removeClass(an+" "+ln)};e.setElementContent=function e(t,i){if(typeof i==="object"&&(i.nodeType||i.jquery)){if(this.config.html){if(!g(i).parent().is(t))t.empty().append(i)}else t.text(g(i).text());return}if(this.config.html){if(this.config.sanitize)i=Ui(i,this.config.whiteList,this.config.sanitizeFn);t.html(i)}else t.text(i)};e.getTitle=function e(){var t=this.element.getAttribute("data-original-title");if(!t)t=typeof this.config.title==="function"?this.config.title.call(this.element):this.config.title;return t};e._getPopperConfig=function e(t){var i=this;var n={placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:un},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function e(t){if(t.originalPlacement!==t.placement)i._handlePopperPlacementChange(t)},onUpdate:function e(t){return i._handlePopperPlacementChange(t)}};return a({},n,this.config.popperConfig)};e._getOffset=function e(){var t=this;var i={};if(typeof this.config.offset==="function")i.fn=function(e){e.offsets=a({},e.offsets,t.config.offset(e.offsets,t.element)||{});return e};else i.offset=this.config.offset;return i};e._getContainer=function e(){if(this.config.container===false)return document.body;if(v.isElement(this.config.container))return g(this.config.container);return g(document).find(this.config.container)};e._getAttachment=function e(t){return tn[t.toUpperCase()]};e._setListeners=function e(){var n=this;var t=this.config.trigger.split(" ");t.forEach(function(e){if(e==="click")g(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)});else if(e!==pn){var t=e===dn?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN;var i=e===dn?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;g(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(i,n.config.selector,function(e){return n._leave(e)})}});this._hideModalHandler=function(){if(n.element)n.hide()};g(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);if(this.config.selector)this.config=a({},this.config,{trigger:"manual",selector:""});else this._fixTitle()};e._fixTitle=function e(){var t=typeof this.element.getAttribute("data-original-title");if(this.element.getAttribute("title")||t!=="string"){this.element.setAttribute("data-original-title",this.element.getAttribute("title")||"");this.element.setAttribute("title","")}};e._enter=function e(t,i){var n=this.constructor.DATA_KEY;i=i||g(t.currentTarget).data(n);if(!i){i=new this.constructor(t.currentTarget,this._getDelegateConfig());g(t.currentTarget).data(n,i)}if(t)i._activeTrigger[t.type==="focusin"?hn:dn]=true;if(g(i.getTipElement()).hasClass(ln)||i._hoverState===rn){i._hoverState=rn;return}clearTimeout(i._timeout);i._hoverState=rn;if(!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){if(i._hoverState===rn)i.show()},i.config.delay.show)};e._leave=function e(t,i){var n=this.constructor.DATA_KEY;i=i||g(t.currentTarget).data(n);if(!i){i=new this.constructor(t.currentTarget,this._getDelegateConfig());g(t.currentTarget).data(n,i)}if(t)i._activeTrigger[t.type==="focusout"?hn:dn]=false;if(i._isWithActiveTrigger())return;clearTimeout(i._timeout);i._hoverState=sn;if(!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){if(i._hoverState===sn)i.hide()},i.config.delay.hide)};e._isWithActiveTrigger=function e(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return true;return false};e._getConfig=function e(t){var i=g(this.element).data();Object.keys(i).forEach(function(e){if(Qi.indexOf(e)!==-1)delete i[e]});t=a({},this.constructor.Default,i,typeof t==="object"&&t?t:{});if(typeof t.delay==="number")t.delay={show:t.delay,hide:t.delay};if(typeof t.title==="number")t.title=t.title.toString();if(typeof t.content==="number")t.content=t.content.toString();v.typeCheckConfig(T,t,this.constructor.DefaultType);if(t.sanitize)t.template=Ui(t.template,t.whiteList,t.sanitizeFn);return t};e._getDelegateConfig=function e(){var t={};if(this.config)for(var i in this.config)if(this.constructor.Default[i]!==this.config[i])t[i]=this.config[i];return t};e._cleanTipClass=function e(){var t=g(this.getTipElement());var i=t.attr("class").match(Ji);if(i!==null&&i.length)t.removeClass(i.join(""))};e._handlePopperPlacementChange=function e(t){this.tip=t.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(t.placement))};e._fixTransition=function e(){var t=this.getTipElement();var i=this.config.animation;if(t.getAttribute("x-placement")!==null)return;g(t).removeClass(an);this.config.animation=false;this.hide();this.show();this.config.animation=i};n._jQueryInterface=function e(i){return this.each(function(){var e=g(this).data(Gi);var t=typeof i==="object"&&i;if(!e&&/dispose|hide/.test(i))return;if(!e){e=new n(this,t);g(this).data(Gi,e)}if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i]()}})};s(n,null,[{key:"VERSION",get:function e(){return Xi}},{key:"Default",get:function e(){return nn}},{key:"NAME",get:function e(){return T}},{key:"DATA_KEY",get:function e(){return Gi}},{key:"Event",get:function e(){return on}},{key:"EVENT_KEY",get:function e(){return D}},{key:"DefaultType",get:function e(){return en}}]);return n}(),A=(g.fn[T]=E._jQueryInterface,g.fn[T].Constructor=E,g.fn[T].noConflict=function(){g.fn[T]=Ki;return E._jQueryInterface},"popover"),mn="4.5.2",gn="bs.popover",j="."+gn,vn=g.fn[A],yn="bs-popover",bn=new RegExp("(^|\\s)"+yn+"\\S+","g"),_n=a({},E.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip">'+'<div class="arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div></div>'}),xn=a({},E.DefaultType,{content:"(string|element|function)"}),wn="fade",kn="show",Sn=".popover-header",Mn=".popover-body",Cn={HIDE:"hide"+j,HIDDEN:"hidden"+j,SHOW:"show"+j,SHOWN:"shown"+j,INSERTED:"inserted"+j,CLICK:"click"+j,FOCUSIN:"focusin"+j,FOCUSOUT:"focusout"+j,MOUSEENTER:"mouseenter"+j,MOUSELEAVE:"mouseleave"+j},Ln=function(e){N(n,e);function n(){return e.apply(this,arguments)||this}var t=n.prototype;t.isWithContent=function e(){return this.getTitle()||this._getContent()};t.addAttachmentClass=function e(t){g(this.getTipElement()).addClass(yn+"-"+t)};t.getTipElement=function e(){this.tip=this.tip||g(this.config.template)[0];return this.tip};t.setContent=function e(){var t=g(this.getTipElement());this.setElementContent(t.find(Sn),this.getTitle());var i=this._getContent();if(typeof i==="function")i=i.call(this.element);this.setElementContent(t.find(Mn),i);t.removeClass(wn+" "+kn)};t._getContent=function e(){return this.element.getAttribute("data-content")||this.config.content};t._cleanTipClass=function e(){var t=g(this.getTipElement());var i=t.attr("class").match(bn);if(i!==null&&i.length>0)t.removeClass(i.join(""))};n._jQueryInterface=function e(i){return this.each(function(){var e=g(this).data(gn);var t=typeof i==="object"?i:null;if(!e&&/dispose|hide/.test(i))return;if(!e){e=new n(this,t);g(this).data(gn,e)}if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i]()}})};s(n,null,[{key:"VERSION",get:function e(){return mn}},{key:"Default",get:function e(){return _n}},{key:"NAME",get:function e(){return A}},{key:"DATA_KEY",get:function e(){return gn}},{key:"Event",get:function e(){return Cn}},{key:"EVENT_KEY",get:function e(){return j}},{key:"DefaultType",get:function e(){return xn}}]);return n}(E),O=(g.fn[A]=Ln._jQueryInterface,g.fn[A].Constructor=Ln,g.fn[A].noConflict=function(){g.fn[A]=vn;return Ln._jQueryInterface},"scrollspy"),Tn="4.5.2",Dn="bs.scrollspy",En="."+Dn,An,jn=g.fn[O],On={offset:10,method:"auto",target:""},Pn={offset:"number",method:"string",target:"(string|element)"},Yn="activate"+En,In="scroll"+En,Nn="load"+En+".data-api",Hn="dropdown-item",P="active",Fn='[data-spy="scroll"]',Rn=".nav, .list-group",zn=".nav-link",$n=".nav-item",Bn=".list-group-item",qn=".dropdown",Wn=".dropdown-item",Vn=".dropdown-toggle",Un="offset",Xn="position",Gn=function(){function n(e,t){var i=this;this._element=e;this._scrollElement=e.tagName==="BODY"?window:e;this._config=this._getConfig(t);this._selector=this._config.target+" "+zn+","+(this._config.target+" "+Bn+",")+(this._config.target+" "+Wn);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;g(this._scrollElement).on(In,function(e){return i._process(e)});this.refresh();this._process()}var e=n.prototype;e.refresh=function e(){var t=this;var i=this._scrollElement===this._scrollElement.window?Un:Xn;var r=this._config.method==="auto"?i:this._config.method;var s=r===Xn?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();var n=[].slice.call(document.querySelectorAll(this._selector));n.map(function(e){var t;var i=v.getSelectorFromElement(e);if(i)t=document.querySelector(i);if(t){var n=t.getBoundingClientRect();if(n.width||n.height)return[g(t)[r]().top+s,i]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]);t._targets.push(e[1])})};e.dispose=function e(){g.removeData(this._element,Dn);g(this._scrollElement).off(En);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null};e._getConfig=function e(t){t=a({},On,typeof t==="object"&&t?t:{});if(typeof t.target!=="string"&&v.isElement(t.target)){var i=g(t.target).attr("id");if(!i){i=v.getUID(O);g(t.target).attr("id",i)}t.target="#"+i}v.typeCheckConfig(O,t,Pn);return t};e._getScrollTop=function e(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop};e._getScrollHeight=function e(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)};e._getOffsetHeight=function e(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height};e._process=function e(){var t=this._getScrollTop()+this._config.offset;var i=this._getScrollHeight();var n=this._config.offset+i-this._getOffsetHeight();if(this._scrollHeight!==i)this.refresh();if(t>=n){var r=this._targets[this._targets.length-1];if(this._activeTarget!==r)this._activate(r);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(var s=this._offsets.length;s--;){var o=this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(typeof this._offsets[s+1]==="undefined"||t<this._offsets[s+1]);if(o)this._activate(this._targets[s])}};e._activate=function e(t){this._activeTarget=t;this._clear();var i=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var n=g([].slice.call(document.querySelectorAll(i.join(","))));if(n.hasClass(Hn)){n.closest(qn).find(Vn).addClass(P);n.addClass(P)}else{n.addClass(P);n.parents(Rn).prev(zn+", "+Bn).addClass(P);n.parents(Rn).prev($n).children(zn).addClass(P)}g(this._scrollElement).trigger(Yn,{relatedTarget:t})};e._clear=function e(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(P)}).forEach(function(e){return e.classList.remove(P)})};n._jQueryInterface=function e(i){return this.each(function(){var e=g(this).data(Dn);var t=typeof i==="object"&&i;if(!e){e=new n(this,t);g(this).data(Dn,e)}if(typeof i==="string"){if(typeof e[i]==="undefined")throw new TypeError('No method named "'+i+'"');e[i]()}})};s(n,null,[{key:"VERSION",get:function e(){return Tn}},{key:"Default",get:function e(){return On}}]);return n}(),Kn=(g(window).on(Nn,function(){var e=[].slice.call(document.querySelectorAll(Fn));var t=e.length;for(var i=t;i--;){var n=g(e[i]);Gn._jQueryInterface.call(n,n.data())}}),g.fn[O]=Gn._jQueryInterface,g.fn[O].Constructor=Gn,g.fn[O].noConflict=function(){g.fn[O]=jn;return Gn._jQueryInterface},"tab"),Zn="4.5.2",Jn="bs.tab",Qn="."+Jn,er,tr=g.fn[Kn],ir="hide"+Qn,nr="hidden"+Qn,rr="show"+Qn,sr="shown"+Qn,or="click"+Qn+".data-api",ar="dropdown-menu",lr="active",cr="disabled",ur="fade",dr="show",hr=".dropdown",fr=".nav, .list-group",pr=".active",mr="> li > .active",gr='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',vr=".dropdown-toggle",yr="> .dropdown-menu .active",br=function(){function n(e){this._element=e}var e=n.prototype;e.show=function e(){var n=this;if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&g(this._element).hasClass(lr)||g(this._element).hasClass(cr))return;var t;var r;var i=g(this._element).closest(fr)[0];var s=v.getSelectorFromElement(this._element);if(i){var o=i.nodeName==="UL"||i.nodeName==="OL"?mr:pr;r=g.makeArray(g(i).find(o));r=r[r.length-1]}var a=g.Event(ir,{relatedTarget:this._element});var l=g.Event(rr,{relatedTarget:r});if(r)g(r).trigger(a);g(this._element).trigger(l);if(l.isDefaultPrevented()||a.isDefaultPrevented())return;if(s)t=document.querySelector(s);this._activate(this._element,i);var c=function e(){var t=g.Event(nr,{relatedTarget:n._element});var i=g.Event(sr,{relatedTarget:r});g(r).trigger(t);g(n._element).trigger(i)};if(t)this._activate(t,t.parentNode,c);else c()};e.dispose=function e(){g.removeData(this._element,Jn);this._element=null};e._activate=function e(t,i,n){var r=this;var s=i&&(i.nodeName==="UL"||i.nodeName==="OL")?g(i).find(mr):g(i).children(pr);var o=s[0];var a=n&&o&&g(o).hasClass(ur);var l=function e(){return r._transitionComplete(t,o,n)};if(o&&a){var c=v.getTransitionDurationFromElement(o);g(o).removeClass(dr).one(v.TRANSITION_END,l).emulateTransitionEnd(c)}else l()};e._transitionComplete=function e(t,i,n){if(i){g(i).removeClass(lr);var r=g(i.parentNode).find(yr)[0];if(r)g(r).removeClass(lr);if(i.getAttribute("role")==="tab")i.setAttribute("aria-selected",false)}g(t).addClass(lr);if(t.getAttribute("role")==="tab")t.setAttribute("aria-selected",true);v.reflow(t);if(t.classList.contains(ur))t.classList.add(dr);if(t.parentNode&&g(t.parentNode).hasClass(ar)){var s=g(t).closest(hr)[0];if(s){var o=[].slice.call(s.querySelectorAll(vr));g(o).addClass(lr)}t.setAttribute("aria-expanded",true)}if(n)n()};n._jQueryInterface=function e(i){return this.each(function(){var e=g(this);var t=e.data(Jn);if(!t){t=new n(this);e.data(Jn,t)}if(typeof i==="string"){if(typeof t[i]==="undefined")throw new TypeError('No method named "'+i+'"');t[i]()}})};s(n,null,[{key:"VERSION",get:function e(){return Zn}}]);return n}(),Y=(g(document).on(or,gr,function(e){e.preventDefault();br._jQueryInterface.call(g(this),"show")}),g.fn[Kn]=br._jQueryInterface,g.fn[Kn].Constructor=br,g.fn[Kn].noConflict=function(){g.fn[Kn]=tr;return br._jQueryInterface},"toast"),_r="4.5.2",xr="bs.toast",wr="."+xr,kr=g.fn[Y],Sr="click.dismiss"+wr,Mr="hide"+wr,Cr="hidden"+wr,Lr="show"+wr,Tr="shown"+wr,Dr="fade",Er="hide",Ar="show",jr="showing",Or={animation:"boolean",autohide:"boolean",delay:"number"},Pr={animation:true,autohide:true,delay:500},Yr='[data-dismiss="toast"]',Ir=function(){function r(e,t){this._element=e;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var e=r.prototype;e.show=function e(){var t=this;var i=g.Event(Lr);g(this._element).trigger(i);if(i.isDefaultPrevented())return;this._clearTimeout();if(this._config.animation)this._element.classList.add(Dr);var n=function e(){t._element.classList.remove(jr);t._element.classList.add(Ar);g(t._element).trigger(Tr);if(t._config.autohide)t._timeout=setTimeout(function(){t.hide()},t._config.delay)};this._element.classList.remove(Er);v.reflow(this._element);this._element.classList.add(jr);if(this._config.animation){var r=v.getTransitionDurationFromElement(this._element);g(this._element).one(v.TRANSITION_END,n).emulateTransitionEnd(r)}else n()};e.hide=function e(){if(!this._element.classList.contains(Ar))return;var t=g.Event(Mr);g(this._element).trigger(t);if(t.isDefaultPrevented())return;this._close()};e.dispose=function e(){this._clearTimeout();if(this._element.classList.contains(Ar))this._element.classList.remove(Ar);g(this._element).off(Sr);g.removeData(this._element,xr);this._element=null;this._config=null};e._getConfig=function e(t){t=a({},Pr,g(this._element).data(),typeof t==="object"&&t?t:{});v.typeCheckConfig(Y,t,this.constructor.DefaultType);return t};e._setListeners=function e(){var t=this;g(this._element).on(Sr,Yr,function(){return t.hide()})};e._close=function e(){var t=this;var i=function e(){t._element.classList.add(Er);g(t._element).trigger(Cr)};this._element.classList.remove(Ar);if(this._config.animation){var n=v.getTransitionDurationFromElement(this._element);g(this._element).one(v.TRANSITION_END,i).emulateTransitionEnd(n)}else i()};e._clearTimeout=function e(){clearTimeout(this._timeout);this._timeout=null};r._jQueryInterface=function e(n){return this.each(function(){var e=g(this);var t=e.data(xr);var i=typeof n==="object"&&n;if(!t){t=new r(this,i);e.data(xr,t)}if(typeof n==="string"){if(typeof t[n]==="undefined")throw new TypeError('No method named "'+n+'"');t[n](this)}})};s(r,null,[{key:"VERSION",get:function e(){return _r}},{key:"DefaultType",get:function e(){return Or}},{key:"Default",get:function e(){return Pr}}]);return r}();g.fn[Y]=Ir._jQueryInterface,g.fn[Y].Constructor=Ir,g.fn[Y].noConflict=function(){g.fn[Y]=kr;return Ir._jQueryInterface},e.Alert=i,e.Button=r,e.Carousel=o,e.Collapse=St,e.Dropdown=S,e.Modal=Ri,e.Popover=Ln,e.Scrollspy=Gn,e.Tab=br,e.Toast=Ir,e.Tooltip=E,e.Util=v,Object.defineProperty(e,"__esModule",{value:true})}(t,i("./node_modules/jquery/src/jquery.js"),i("./node_modules/popper.js/dist/esm/popper.js"))},
vendor: 19,440 bytes, line 1
1"./node_modules/buffer/index.js":function(e,j,O){"use strict";!function(e){var S=O("./node_modules/base64-js/index.js"),s=O("./node_modules/ieee754/index.js"),a=O("./node_modules/isarray/index.js");function i(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return d.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=d.prototype:(e=null===e?new d(t):e).length=t,e}function d(e,t,i){if(!(d.TYPED_ARRAY_SUPPORT||this instanceof d))return new d(e,t,i);if("number"!=typeof e)return n(this,e,t,i);if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return o(this,e)}function n(e,t,i,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var r=e,s=t,o=i;if(s.byteLength,o<0||s.byteLength<o)throw new RangeError("'offset' is out of bounds");if(s.byteLength<o+(n||0))throw new RangeError("'length' is out of bounds");return s=void 0===o&&void 0===n?new Uint8Array(s):void 0===n?new Uint8Array(s,o):new Uint8Array(s,o,n),d.TYPED_ARRAY_SUPPORT?(r=s).__proto__=d.prototype:r=c(r,s),r}if("string"!=typeof t){o=e,n=t;if(d.isBuffer(n))return s=0|u(n.length),0===(o=l(o,s)).length||n.copy(o,0,0,s),o;if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||function(e){return e!=e}(n.length)?l(o,0):c(o,n);if("Buffer"===n.type&&a(n.data))return c(o,n.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}r=e,n=t,e=i;if(!d.isEncoding(e="string"==typeof e&&""!==e?e:"utf8"))throw new TypeError('"encoding" must be a valid string encoding');t=0|h(n,e);return r=(n=(r=l(r,t)).write(n,e))!==t?r.slice(0,n):r}function r(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function o(e,t){if(r(t),e=l(e,t<0?0:0|u(t)),!d.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function c(e,t){var i=t.length<0?0:0|u(t.length);e=l(e,i);for(var n=0;n<i;n+=1)e[n]=255&t[n];return e}function u(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function h(e,t){if(d.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var i=(e="string"!=typeof e?""+e:e).length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return E(e).length;default:if(n)return D(e).length;t=(""+t).toLowerCase(),n=!0}}function t(e,t,i){var n,r=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((i=void 0===i||i>this.length?this.length:i)<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var s=this,o=t,a=i,l=s.length;(!a||a<0||l<a)&&(a=l);for(var c="",u=o=!o||o<0?0:o;u<a;++u)c+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(s[u]);return c;case"utf8":case"utf-8":return M(this,t,i);case"ascii":var d=this,l=t,h=i,f="";h=Math.min(d.length,h);for(var p=l;p<h;++p)f+=String.fromCharCode(127&d[p]);return f;case"latin1":case"binary":var m=this,o=t,g=i,v="";g=Math.min(m.length,g);for(var y=o;y<g;++y)v+=String.fromCharCode(m[y]);return v;case"base64":return b=this,n=i,0===(_=t)&&n===b.length?S.fromByteArray(b):S.fromByteArray(b.slice(_,n));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":for(var b=t,_=i,x=this.slice(b,_),w="",k=0;k<x.length;k+=2)w+=String.fromCharCode(x[k]+256*x[k+1]);return w;default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function f(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function p(e,t,i,n,r){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):2147483647<i?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,(i=(i=isNaN(i)?r?0:e.length-1:i)<0?e.length+i:i)>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=d.from(t,n)),d.isBuffer(t))return 0===t.length?-1:m(e,t,i,n,r);if("number"==typeof t)return t&=255,d.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(r?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,i):m(e,[t],i,n,r);throw new TypeError("val must be string, number or Buffer")}function m(e,t,i,n,r){var s=1,o=e.length,a=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o/=s=2,a/=2,i/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r)for(var c=-1,u=i;u<o;u++)if(l(e,u)===l(t,-1===c?0:u-c)){if(u-(c=-1===c?u:c)+1===a)return c*s}else-1!==c&&(u-=u-c),c=-1;else for(u=i=o<i+a?o-a:i;0<=u;u--){for(var d=!0,h=0;h<a;h++)if(l(e,u+h)!==l(t,h)){d=!1;break}if(d)return u}return-1}function g(e,t,i,n){return A(function(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}(t),e,i,n)}function v(e,t,i,n){return A(function(e,t){for(var i,n,r=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),i=n>>8,n=n%256,r.push(n),r.push(i);return r}(t,e.length-i),e,i,n)}function M(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;r<i;){var s,o,a,l,c=e[r],u=null,d=239<c?4:223<c?3:191<c?2:1;if(r+d<=i)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(s=e[r+1]))&&127<(l=(31&c)<<6|63&s)&&(u=l);break;case 3:s=e[r+1],o=e[r+2],128==(192&s)&&128==(192&o)&&2047<(l=(15&c)<<12|(63&s)<<6|63&o)&&(l<55296||57343<l)&&(u=l);break;case 4:s=e[r+1],o=e[r+2],a=e[r+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&65535<(l=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&a)&&l<1114112&&(u=l)}null===u?(u=65533,d=1):65535<u&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),r+=d}var h=n,f=h.length;if(f<=y)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<f;)p+=String.fromCharCode.apply(String,h.slice(m,m+=y));return p}j.Buffer=d,j.SlowBuffer=function(e){+e!=e&&(e=0);return d.alloc(+e)},j.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),j.kMaxLength=i(),d.poolSize=8192,d._augment=function(e){return e.__proto__=d.prototype,e},d.from=function(e,t,i){return n(null,e,t,i)},d.TYPED_ARRAY_SUPPORT&&(d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&Object.defineProperty(d,Symbol.species,{value:null,configurable:!0})),d.alloc=function(e,t,i){return n=null,t=t,i=i,r(e=e),!(e<=0)&&void 0!==t?"string"==typeof i?l(n,e).fill(t,i):l(n,e).fill(t):l(n,e);var n},d.allocUnsafe=function(e){return o(null,e)},d.allocUnsafeSlow=function(e){return o(null,e)},d.isBuffer=function(e){return!(null==e||!e._isBuffer)},d.compare=function(e,t){if(!d.isBuffer(e)||!d.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,r=0,s=Math.min(i,n);r<s;++r)if(e[r]!==t[r]){i=e[r],n=t[r];break}return i<n?-1:n<i?1:0},d.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return d.alloc(0);if(void 0===t)for(r=t=0;r<e.length;++r)t+=e[r].length;for(var i=d.allocUnsafe(t),n=0,r=0;r<e.length;++r){var s=e[r];if(!d.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,n),n+=s.length}return i},d.byteLength=h,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},d.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},d.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},d.prototype.toString=function(){var e=0|this.length;return 0==e?"":0===arguments.length?M(this,0,e):t.apply(this,arguments)},d.prototype.equals=function(e){if(d.isBuffer(e))return this===e||0===d.compare(this,e);throw new TypeError("Argument must be a Buffer")},d.prototype.inspect=function(){var e="",t=j.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},d.prototype.compare=function(e,t,i,n,r){if(!d.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),(t=void 0===t?0:t)<0||i>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(r<=n&&i<=t)return 0;if(r<=n)return-1;if(i<=t)return 1;if(this===e)return 0;for(var s=(r>>>=0)-(n>>>=0),o=(i>>>=0)-(t>>>=0),a=Math.min(s,o),l=this.slice(n,r),c=e.slice(t,i),u=0;u<a;++u)if(l[u]!==c[u]){s=l[u],o=c[u];break}return s<o?-1:o<s?1:0},d.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},d.prototype.indexOf=function(e,t,i){return p(this,e,t,i,!0)},d.prototype.lastIndexOf=function(e,t,i){return p(this,e,t,i,!1)},d.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-t;if((void 0===i||r<i)&&(i=r),0<e.length&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var s,o,a,l=!1;;)switch(n){case"hex":var c=this,u=e,d=t,h=i,f=(d=Number(d)||0,c.length-d);if((!h||f<(h=Number(h)))&&(h=f),(f=u.length)%2!=0)throw new TypeError("Invalid hex string");f/2<h&&(h=f/2);for(var p=0;p<h;++p){var m=parseInt(u.substr(2*p,2),16);if(isNaN(m))return p;c[d+p]=m}return p;case"utf8":case"utf-8":return f=t,a=i,A(D(e,(o=this).length-f),o,f,a);case"ascii":return g(this,e,t,i);case"latin1":case"binary":return g(this,e,t,i);case"base64":return o=this,a=t,s=i,A(E(e),o,a,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,e,t,i);default:if(l)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),l=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var y=4096;function b(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(i<e+t)throw new RangeError("Trying to access beyond buffer length")}function _(e,t,i,n,r,s){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r<t||t<s)throw new RangeError('"value" argument is out of bounds');if(i+n>e.length)throw new RangeError("Index out of range")}function x(e,t,i,n){t<0&&(t=65535+t+1);for(var r=0,s=Math.min(e.length-i,2);r<s;++r)e[i+r]=(t&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function w(e,t,i,n){t<0&&(t=4294967295+t+1);for(var r=0,s=Math.min(e.length-i,4);r<s;++r)e[i+r]=t>>>8*(n?r:3-r)&255}function k(e,t,i,n){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function C(e,t,i,n,r){return r||k(e,0,i,4),s.write(e,t,i,n,23,4),i+4}function L(e,t,i,n,r){return r||k(e,0,i,8),s.write(e,t,i,n,52,8),i+8}d.prototype.slice=function(e,t){var i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):i<e&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):i<t&&(t=i),t<e&&(t=e),d.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=d.prototype;else for(var n=t-e,r=new d(n,void 0),s=0;s<n;++s)r[s]=this[s+e];return r},d.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||b(e,t,this.length);for(var n=this[e],r=1,s=0;++s<t&&(r*=256);)n+=this[e+s]*r;return n},d.prototype.readUIntBE=function(e,t,i){e|=0,t|=0,i||b(e,t,this.length);for(var n=this[e+--t],r=1;0<t&&(r*=256);)n+=this[e+--t]*r;return n},d.prototype.readUInt8=function(e,t){return t||b(e,1,this.length),this[e]},d.prototype.readUInt16LE=function(e,t){return t||b(e,2,this.length),this[e]|this[e+1]<<8},d.prototype.readUInt16BE=function(e,t){return t||b(e,2,this.length),this[e]<<8|this[e+1]},d.prototype.readUInt32LE=function(e,t){return t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},d.prototype.readUInt32BE=function(e,t){return t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},d.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||b(e,t,this.length);for(var n=this[e],r=1,s=0;++s<t&&(r*=256);)n+=this[e+s]*r;return(r*=128)<=n&&(n-=Math.pow(2,8*t)),n},d.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||b(e,t,this.length);for(var n=t,r=1,s=this[e+--n];0<n&&(r*=256);)s+=this[e+--n]*r;return(r*=128)<=s&&(s-=Math.pow(2,8*t)),s},d.prototype.readInt8=function(e,t){return t||b(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},d.prototype.readInt16LE=function(e,t){t||b(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},d.prototype.readInt16BE=function(e,t){t||b(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},d.prototype.readInt32LE=function(e,t){return t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},d.prototype.readInt32BE=function(e,t){return t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},d.prototype.readFloatLE=function(e,t){return t||b(e,4,this.length),s.read(this,e,!0,23,4)},d.prototype.readFloatBE=function(e,t){return t||b(e,4,this.length),s.read(this,e,!1,23,4)},d.prototype.readDoubleLE=function(e,t){return t||b(e,8,this.length),s.read(this,e,!0,52,8)},d.prototype.readDoubleBE=function(e,t){return t||b(e,8,this.length),s.read(this,e,!1,52,8)},d.prototype.writeUIntLE=function(e,t,i,n){e=+e,t|=0,i|=0,n||_(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,s=0;for(this[t]=255&e;++s<i&&(r*=256);)this[t+s]=e/r&255;return t+i},d.prototype.writeUIntBE=function(e,t,i,n){e=+e,t|=0,i|=0,n||_(this,e,t,i,Math.pow(2,8*i)-1,0);var r=i-1,s=1;for(this[t+r]=255&e;0<=--r&&(s*=256);)this[t+r]=e/s&255;return t+i},d.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,1,255,0),d.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},d.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},d.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},d.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):w(this,e,t,!0),t+4},d.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},d.prototype.writeIntLE=function(e,t,i,n){e=+e,t|=0,n||_(this,e,t,i,(n=Math.pow(2,8*i-1))-1,-n);var r=0,s=1,o=0;for(this[t]=255&e;++r<i&&(s*=256);)e<0&&0===o&&0!==this[t+r-1]&&(o=1),this[t+r]=(e/s>>0)-o&255;return t+i},d.prototype.writeIntBE=function(e,t,i,n){e=+e,t|=0,n||_(this,e,t,i,(n=Math.pow(2,8*i-1))-1,-n);var r=i-1,s=1,o=0;for(this[t+r]=255&e;0<=--r&&(s*=256);)e<0&&0===o&&0!==this[t+r+1]&&(o=1),this[t+r]=(e/s>>0)-o&255;return t+i},d.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,1,127,-128),d.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&(e=e<0?255+e+1:e),t+1},d.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},d.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},d.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):w(this,e,t,!0),t+4},d.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),d.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},d.prototype.writeFloatLE=function(e,t,i){return C(this,e,t,!0,i)},d.prototype.writeFloatBE=function(e,t,i){return C(this,e,t,!1,i)},d.prototype.writeDoubleLE=function(e,t,i){return L(this,e,t,!0,i)},d.prototype.writeDoubleBE=function(e,t,i){return L(this,e,t,!1,i)},d.prototype.copy=function(e,t,i,n){if(i=i||0,n||0===n||(n=this.length),t>=e.length&&(t=e.length),(n=0<n&&n<i?i:n)===i)return 0;if(0===e.length||0===this.length)return 0;if((t=t||0)<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length);var r,s=(n=e.length-t<n-i?e.length-t+i:n)-i;if(this===e&&i<t&&t<n)for(r=s-1;0<=r;--r)e[r+t]=this[r+i];else if(s<1e3||!d.TYPED_ARRAY_SUPPORT)for(r=0;r<s;++r)e[r+t]=this[r+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+s),t);return s},d.prototype.fill=function(e,t,i,n){if("string"==typeof e){var r;if("string"==typeof t?(n=t,t=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1!==e.length||(r=e.charCodeAt(0))<256&&(e=r),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!d.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;if(t>>>=0,i=void 0===i?this.length:i>>>0,"number"==typeof(e=e||0))for(a=t;a<i;++a)this[a]=e;else for(var s=d.isBuffer(e)?e:D(new d(e,n).toString()),o=s.length,a=0;a<i-t;++a)this[a+t]=s[a%o];return this};var T=/[^+\/0-9A-Za-z-_]/g;function D(e,t){t=t||1/0;for(var i,n=e.length,r=null,s=[],o=0;o<n;++o){if(55295<(i=e.charCodeAt(o))&&i<57344){if(!r){if(56319<i){-1<(t-=3)&&s.push(239,191,189);continue}if(o+1===n){-1<(t-=3)&&s.push(239,191,189);continue}r=i;continue}if(i<56320){-1<(t-=3)&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&-1<(t-=3)&&s.push(239,191,189);if(r=null,i<128){if(--t<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function E(e){return S.toByteArray(function(e){var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function A(e,t,i,n){for(var r=0;r<n&&!(r+i>=t.length||r>=e.length);++r)t[r+i]=e[r];return r}}.call(this,O("./node_modules/webpack/buildin/global.js"))},
vendor: 10,018 bytes, line 1
1"./node_modules/clipboard/dist/clipboard.min.js":function(e,t,i){function r(e){if(s[e])return s[e].exports;var t=s[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,s;e.exports=(s={},r.m=n=[function(e,t){e.exports=function(e){var t,i,e="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((t=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),t||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),t=window.getSelection(),(i=document.createRange()).selectNodeContents(e),t.removeAllRanges(),t.addRange(i),t.toString());return e}},function(e,t){function i(){}i.prototype={on:function(e,t,i){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:i}),this},once:function(e,t,i){var n=this;function r(){n.off(e,r),t.apply(i,arguments)}return r._=t,this.on(e,r,i)},emit:function(e){for(var t=[].slice.call(arguments,1),i=((this.e||(this.e={}))[e]||[]).slice(),n=0,r=i.length;n<r;n++)i[n].fn.apply(i[n].ctx,t);return this},off:function(e,t){var i=this.e||(this.e={}),n=i[e],r=[];if(n&&t)for(var s=0,o=n.length;s<o;s++)n[s].fn!==t&&n[s].fn._!==t&&r.push(n[s]);return r.length?i[e]=r:delete i[e],this}},e.exports=i,e.exports.TinyEmitter=i},function(e,t,i){var c=i(3),u=i(4);e.exports=function(e,t,i){if(!e&&!t&&!i)throw new Error("Missing required arguments");if(!c.string(t))throw new TypeError("Second argument must be a String");if(!c.fn(i))throw new TypeError("Third argument must be a Function");if(c.node(e))return(o=e).addEventListener(a=t,l=i),{destroy:function(){o.removeEventListener(a,l)}};if(c.nodeList(e))return n=e,r=t,s=i,Array.prototype.forEach.call(n,function(e){e.addEventListener(r,s)}),{destroy:function(){Array.prototype.forEach.call(n,function(e){e.removeEventListener(r,s)})}};if(c.string(e))return u(document.body,e,t,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var n,r,s,o,a,l}},function(e,i){i.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},i.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||i.node(e[0]))},i.string=function(e){return"string"==typeof e||e instanceof String},i.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,i){var o=i(5);function s(e,t,i,n,r){var s=function(t,i,e,n){return function(e){e.delegateTarget=o(e.target,i),e.delegateTarget&&n.call(t,e)}}.apply(this,arguments);return e.addEventListener(i,s,r),{destroy:function(){e.removeEventListener(i,s,r)}}}e.exports=function(e,t,i,n,r){return"function"==typeof e.addEventListener?s.apply(null,arguments):"function"==typeof i?s.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return s(e,t,i,n,r)}))}},function(e,t){var i;"undefined"==typeof Element||Element.prototype.matches||((i=Element.prototype).matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector),e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,i){"use strict";i.r(t);var n=i(0),r=i.n(n),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.resolveOptions(e),this.initSelection()}o(a.prototype,[{key:"resolveOptions",value:function(e){e=0<arguments.length&&void 0!==e?e:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir"),t=(this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px",window.pageYOffset||document.documentElement.scrollTop);this.fakeElem.style.top=t+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(e){if(this._action=0<arguments.length&&void 0!==e?e:"copy","copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":s(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]);var l=a,n=i(1),n=i.n(n),c=i(2),u=i.n(c),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function h(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(f,n.a),i=f,c=[{key:"isSupported",value:function(e){var e=0<arguments.length&&void 0!==e?e:["copy","cut"],e="string"==typeof e?[e]:e,t=!!document.queryCommandSupported;return e.forEach(function(e){t=t&&!!document.queryCommandSupported(e)}),t}}],(n=[{key:"resolveOptions",value:function(e){e=0<arguments.length&&void 0!==e?e:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=u()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){e=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(e){return p("action",e)}},{key:"defaultTarget",value:function(e){e=p("target",e);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(e){return p("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}])&&h(i.prototype,n),c&&h(i,c);n=f;function f(e,t){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");var i=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return i.resolveOptions(t),i.listenClick(e),i}function p(e,t){e="data-clipboard-"+e;if(t.hasAttribute(e))return t.getAttribute(e)}t.default=n}],r.c=s,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6).default)},
vendor: 981 bytes, line 1
1"./node_modules/counterup/jquery.counterup.js":function(e,t){!function(i){"use strict";i.fn.counterUp=function(e){var t=i.extend({time:400,delay:10},e);return this.each(function(){var l=i(this),c=t;l.waypoint(function(){for(var e=c.time/c.delay,t=[n=l.attr("data-value")],i=/[0-9]+,[0-9]+/.test(n),n=n.replace(/,/g,""),r=(/^[0-9]+$/.test(n),/^[0-9]+\.[0-9]+$/.test(n)),s=r?(n.split(".")[1]||[]).length:0,o=e;1<=o;o--){var a=parseInt(n/e*o);if(r&&(a=parseFloat(n/e*o).toFixed(s)),i)for(;/(\d+)(\d{3})/.test(a.toString());)a=a.toString().replace(/(\d+)(\d{3})/,"$1,$2");t.unshift(a)}l.data("counterup-nums",t),l.text("0");l.data("counterup-func",function(){l.data("counterup-nums")&&(l.text(l.data("counterup-nums").shift()),l.data("counterup-nums").length?setTimeout(l.data("counterup-func"),c.delay):(l.data("counterup-nums"),l.data("counterup-nums",null),l.data("counterup-func",null)))}),setTimeout(l.data("counterup-func"),c.delay)},{offset:"100%",triggerOnce:!0})})}}(jQuery)},
vendor: 45,075 bytes, line 1
1"./node_modules/dropzone/dist/dropzone.js":function(e,t,i){"use strict";!function(e){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(i){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=l(i);return o(this,n?(e=l(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}function o(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){var i,n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(i="Object"===i&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),n=0,{s:t=function(){},n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,o=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,r=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw r}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}var h=function(){function e(){u(this,e)}return d(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||{};e=this._callbacks[e];if(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r,s=w(e);try{for(s.s();!(r=s.n()).done;)r.value.apply(this,i)}catch(e){s.e(e)}finally{s.f()}}return this}},{key:"off",value:function(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var i=this._callbacks[e];if(!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var n=0;n<i.length;n++)if(i[n]===t){i.splice(n,1);break}return this}}]),e}(),f=function(){var e=x,t=h;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&&r(e,t);var n=s(x);function x(e,t){var i;if(u(this,x),(i=n.call(this)).element=e,i.version=x.version,i.defaultOptions.previewTemplate=i.defaultOptions.previewTemplate.replace(/\n*/g,""),i.clickableElements=[],i.listeners=[],i.files=[],"string"==typeof i.element&&(i.element=document.querySelector(i.element)),!i.element||null==i.element.nodeType)throw new Error("Invalid dropzone element.");if(i.element.dropzone)throw new Error("Dropzone already attached.");x.instances.push(a(i)),i.element.dropzone=a(i);var e=null!=(e=x.optionsForElement(i.element))?e:{};if(i.options=x.extend({},i.defaultOptions,e,null!=t?t:{}),i.options.forceFallback||!x.isBrowserSupported())return o(i,i.options.fallback.call(a(i)));if(null==i.options.url&&(i.options.url=i.element.getAttribute("action")),!i.options.url)throw new Error("No URL provided.");if(i.options.acceptedFiles&&i.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(i.options.uploadMultiple&&i.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return i.options.acceptedMimeTypes&&(i.options.acceptedFiles=i.options.acceptedMimeTypes,delete i.options.acceptedMimeTypes),null!=i.options.renameFilename&&(i.options.renameFile=function(e){return i.options.renameFilename.call(a(i),e.name,e)}),"string"==typeof i.options.method&&(i.options.method=i.options.method.toUpperCase()),(e=i.getExistingFallback())&&e.parentNode&&e.parentNode.removeChild(e),!1!==i.options.previewsContainer&&(i.options.previewsContainer?i.previewsContainer=x.getElement(i.options.previewsContainer,"previewsContainer"):i.previewsContainer=i.element),i.options.clickable&&(!0===i.options.clickable?i.clickableElements=[i.element]:i.clickableElements=x.getElements(i.options.clickable,"clickable")),i.init(),i}return d(x,null,[{key:"initClass",value:function(){this.prototype.Emitter=h,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,i){if(i)return{dzuuid:i.file.upload.uuid,dzchunkindex:i.index,dztotalfilesize:i.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:i.file.upload.totalChunkCount,dzchunkbyteoffset:i.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){this.element.className="".concat(this.element.className," dz-browser-not-supported");var e,t,i=w(this.element.getElementsByTagName("div"));try{for(i.s();!(t=i.n()).done;){var n=t.value;if(/(^| )dz-message($| )/.test(n.className)){(e=n).className="dz-message";break}}}catch(e){i.e(e)}finally{i.f()}e||(e=x.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var r=e.getElementsByTagName("span")[0];return r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,i,n){var r={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},s=e.width/e.height,o=(null==t&&null==i?(t=r.srcWidth,i=r.srcHeight):null==t?t=i*s:null==i&&(i=t/s),(t=Math.min(t,r.srcWidth))/(i=Math.min(i,r.srcHeight)));if(r.srcWidth>t||r.srcHeight>i)if("crop"===n)o<s?(r.srcHeight=e.height,r.srcWidth=r.srcHeight*o):(r.srcWidth=e.width,r.srcHeight=r.srcWidth/o);else{if("contain"!==n)throw new Error("Unknown resizeMethod '".concat(n,"'"));o<s?i=t/s:t=i*s}return r.srcX=(e.width-r.srcWidth)/2,r.srcY=(e.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=i,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(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var i=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=x.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var e,n=w(t.previewElement.querySelectorAll("[data-dz-name]"));try{for(n.s();!(e=n.n()).done;){var r=e.value;r.textContent=t.name}}catch(e){n.e(e)}finally{n.f()}var s,o=w(t.previewElement.querySelectorAll("[data-dz-size]"));try{for(o.s();!(s=o.n()).done;)(r=s.value).innerHTML=this.filesize(t.size)}catch(e){o.e(e)}finally{o.f()}this.options.addRemoveLinks&&(t._removeLink=x.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var a,l=function(e){return e.preventDefault(),e.stopPropagation(),t.status===x.UPLOADING?x.confirm(i.options.dictCancelUploadConfirmation,function(){return i.removeFile(t)}):i.options.dictRemoveFileConfirmation?x.confirm(i.options.dictRemoveFileConfirmation,function(){return i.removeFile(t)}):i.removeFile(t)},c=w(t.previewElement.querySelectorAll("[data-dz-remove]"));try{for(c.s();!(a=c.n()).done;)a.value.addEventListener("click",l)}catch(e){c.e(e)}finally{c.f()}}},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 i,n=w(e.previewElement.querySelectorAll("[data-dz-thumbnail]"));try{for(n.s();!(i=n.n()).done;){var r=i.value;r.alt=e.name,r.src=t}}catch(e){n.e(e)}finally{n.f()}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 i,n=w(e.previewElement.querySelectorAll("[data-dz-errormessage]"));try{for(n.s();!(i=n.n()).done;)i.value.textContent=t}catch(e){n.e(e)}finally{n.f()}}},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,i){if(e.previewElement){var n,r=w(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"));try{for(r.s();!(n=r.n()).done;){var s=n.value;"PROGRESS"===s.nodeName?s.value=t:s.style.width="".concat(t,"%")}}catch(e){r.e(e)}finally{r.f()}}},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,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];for(var r=0,s=i;r<s.length;r++){var o,a=s[r];for(o in a){var l=a[o];e[o]=l}}return e}}]),d(x,[{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(x.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(x.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(x.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(e){return e.status===x.UPLOADING||e.status===x.QUEUED}).map(function(e){return e})}},{key:"init",value:function(){var e,s=this,t=("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(x.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function r(){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",x.getElement(s.options.hiddenInputContainer,"hiddenInputContainer").appendChild(s.hiddenFileInput),s.hiddenFileInput.addEventListener("change",function(){var e=s.hiddenFileInput.files;if(e.length){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;s.addFile(n)}}catch(e){i.e(e)}finally{i.f()}}return s.emit("addedfiles",e),r()})}(),this.URL=null!==window.URL?window.URL:window.webkitURL,w(this.events));try{for(t.s();!(e=t.n()).done;){var i=e.value;this.on(i,this.options[i])}}catch(e){t.e(e)}finally{t.f()}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 n(e){if(r(e))e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1}var r=function(e){if(e.dataTransfer.types)for(var t=0;t<e.dataTransfer.types.length;t++)if("Files"===e.dataTransfer.types[t])return!0;return!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return s.emit("dragstart",e)},dragenter:function(e){return n(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",n(e),s.emit("dragover",e)},dragleave:function(e){return s.emit("dragleave",e)},drop:function(e){return n(e),s.drop(e)},dragend:function(e){return s.emit("dragend",e)}}}],this.clickableElements.forEach(function(t){return s.listeners.push({element:t,events:{click:function(e){return t===s.element&&e.target!==s.element&&!x.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,x.instances.splice(x.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e,t=0,i=0;if(this.getActiveFiles().length){var n,r=w(this.getActiveFiles());try{for(r.s();!(n=r.n()).done;){var s=n.value;t+=s.upload.bytesSent,i+=s.upload.total}}catch(e){r.e(e)}finally{r.f()}e=100*t/i}else e=100;return this.emit("totaluploadprogress",e,i,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;if(t=this.getExistingFallback())return t;var t='<div class="dz-fallback">',t=(this.options.dictFallbackText&&(t+="<p>".concat(this.options.dictFallbackText,"</p>")),t+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>'),x.createElement(t));return"FORM"!==this.element.tagName?(e=x.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(t):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:t}},{key:"getExistingFallback",value:function(){for(var e,t=0,i=["div","form"];t<i.length;t++)if(e=function(e){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(/(^| )fallback($| )/.test(n.className))return n}}catch(e){i.e(e)}finally{i.f()}}(this.element.getElementsByTagName(i[t])))return e}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(e){var t,i=[];for(t in e.events){var n=e.events[t];i.push(e.element.addEventListener(t,n,!1))}return i})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(e){var t,i=[];for(t in e.events){var n=e.events[t];i.push(e.element.removeEventListener(t,n,!1))}return i})}},{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,i="b";if(0<e){for(var n=["tb","gb","mb","kb","b"],r=0;r<n.length;r++){var s=n[r];if(Math.pow(this.options.filesizeBase,4-r)/10<=e){t=e/Math.pow(this.options.filesizeBase,4-r),i=s;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[i])}},{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,i=[],n=0;n<e.dataTransfer.files.length;n++)i[n]=e.dataTransfer.files[n];i.length&&((t=e.dataTransfer.items)&&t.length&&null!=t[0].webkitGetAsEntry?this._addFilesFromItems(t):this.handleFiles(i)),this.emit("addedfiles",i)}}},{key:"paste",value:function(e){var t,i;if(null!=(t=null!=e?e.clipboardData:void 0,i=function(e){return e.items},null!=t?i(t):void 0))return this.emit("paste",e),i=e.clipboardData.items,i.length?this._addFilesFromItems(i):void 0}},{key:"handleFiles",value:function(e){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;this.addFile(n)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_addFilesFromItems",value:function(e){var t,i=this,n=[],r=w(e);try{for(r.s();!(t=r.n()).done;){var s,o=t.value;null!=o.webkitGetAsEntry&&(s=o.webkitGetAsEntry())?s.isFile?n.push(i.addFile(o.getAsFile())):s.isDirectory?n.push(i._addFilesFromDirectory(s,s.name)):n.push(void 0):null!=o.getAsFile&&(null==o.kind||"file"===o.kind)?n.push(i.addFile(o.getAsFile())):n.push(void 0)}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"_addFilesFromDirectory",value:function(e,s){var o=this,t=e.createReader(),i=function(t){var e=console,i="log",n=function(e){return e.log(t)};if(null!=e&&"function"==typeof e[i])return n(e,i)};return function r(){return t.readEntries(function(e){if(0<e.length){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;n.isFile?n.file(function(e){if(!o.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath="".concat(s,"/").concat(e.name),o.addFile(e)}):n.isDirectory&&o._addFilesFromDirectory(n,"".concat(s,"/").concat(n.name))}}catch(e){i.e(e)}finally{i.f()}r()}return null},i)}()}},{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)):x.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 i=this;t.upload={uuid:x.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=x.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){e?(t.accepted=!1,i._errorProcessing([t],e)):(t.accepted=!0,i.options.autoQueue&&i.enqueueFile(t)),i._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(e){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;this.enqueueFile(n)}}catch(e){i.e(e)}finally{i.f()}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==x.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=x.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,i=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,t=this._thumbnailQueue.shift(),this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(e){return i.emit("thumbnail",t,e),i._processingThumbnail=!1,i._processThumbnailQueue()})}},{key:"removeFile",value:function(e){if(e.status===x.UPLOADING&&this.cancelUpload(e),this.files=p(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,i=w(this.files.slice());try{for(i.s();!(t=i.n()).done;){var n=t.value;n.status===x.UPLOADING&&!e||this.removeFile(n)}}catch(e){i.e(e)}finally{i.f()}return null}},{key:"resizeImage",value:function(n,e,t,i,r){var s=this;return this.createThumbnail(n,e,t,i,!0,function(e,t){var i;return null==t?r(n):(null==(i=s.options.resizeMimeType)&&(i=n.type),t=t.toDataURL(i,s.options.resizeQuality),"image/jpeg"!==i&&"image/jpg"!==i||(t=g.restore(n.dataURL,t)),r(x.dataURItoBlob(t)))})}},{key:"createThumbnail",value:function(e,t,i,n,r,s){var o=this,a=new FileReader;a.onload=function(){e.dataURL=a.result,"image/svg+xml"===e.type?null!=s&&s(a.result):o.createThumbnailFromUrl(e,t,i,n,r,s)},a.readAsDataURL(e)}},{key:"displayExistingFile",value:function(t,e,i,n){var r=this,s=!(4<arguments.length&&void 0!==arguments[4])||arguments[4];this.emit("addedfile",t),this.emit("complete",t),s?(t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.resizeMethod,this.options.fixOrientation,function(e){r.emit("thumbnail",t,e),i&&i()},n)):(this.emit("thumbnail",t,e),i&&i())}},{key:"createThumbnailFromUrl",value:function(r,s,o,a,t,l,e){var c=this,u=document.createElement("img");return e&&(u.crossOrigin=e),t="from-image"!=getComputedStyle(document.body).imageOrientation&&t,u.onload=function(){var e=function(e){return e(1)};return(e="undefined"!=typeof EXIF&&null!==EXIF&&t?function(e){return EXIF.getData(u,function(){return e(EXIF.getTag(this,"Orientation"))})}:e)(function(e){r.width=u.width,r.height=u.height;var t=c.options.resize.call(c,r,s,o,a),i=document.createElement("canvas"),n=i.getContext("2d");switch(i.width=t.trgWidth,i.height=t.trgHeight,4<e&&(i.width=t.trgHeight,i.height=t.trgWidth),e){case 2:n.translate(i.width,0),n.scale(-1,1);break;case 3:n.translate(i.width,i.height),n.rotate(Math.PI);break;case 4:n.translate(0,i.height),n.scale(1,-1);break;case 5:n.rotate(.5*Math.PI),n.scale(1,-1);break;case 6:n.rotate(.5*Math.PI),n.translate(0,-i.width);break;case 7:n.rotate(.5*Math.PI),n.translate(i.height,-i.width),n.scale(-1,1);break;case 8:n.rotate(-.5*Math.PI),n.translate(-i.height,0)}m(n,u,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);e=i.toDataURL("image/png");if(null!=l)return l(e,i)})},null!=l&&(u.onerror=l),u.src=r.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,i=t;if(!(e<=t)){var n=this.getQueuedFiles();if(0<n.length){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,e-t));for(;i<e;){if(!n.length)return;this.processFile(n.shift()),i++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t,i=w(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;n.processing=!0,n.status=x.UPLOADING,this.emit("processing",n)}}catch(e){i.e(e)}finally{i.f()}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===x.UPLOADING){var t,i=this._getFilesWithXhr(e.xhr),n=w(i);try{for(n.s();!(t=n.n()).done;)t.value.status=x.CANCELED}catch(e){n.e(e)}finally{n.f()}void 0!==e.xhr&&e.xhr.abort();var r,s=w(i);try{for(s.s();!(r=s.n()).done;){var o=r.value;this.emit("canceled",o)}}catch(e){s.e(e)}finally{s.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else e.status!==x.ADDED&&e.status!==x.QUEUED||(e.status=x.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,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return e.apply(this,i)}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(l){var c=this;this._transformFiles(l,function(e){var t;if(c.options.chunking&&(t=e[0],l[0].upload.chunked=c.options.chunking&&(c.options.forceChunking||t.size>c.options.chunkSize),l[0].upload.totalChunkCount=Math.ceil(t.size/c.options.chunkSize)),l[0].upload.chunked){var n=l[0],r=e[0],s=(n.upload.chunks=[],function(){for(var e,t,i=0;void 0!==n.upload.chunks[i];)i++;i>=n.upload.totalChunkCount||(t=i*c.options.chunkSize,e=Math.min(t+c.options.chunkSize,r.size),t={name:c._getParamName(0),data:r.webkitSlice?r.webkitSlice(t,e):r.slice(t,e),filename:n.upload.filename,chunkIndex:i},n.upload.chunks[i]={file:n,index:i,dataBlock:t,status:x.UPLOADING,progress:0,retries:0},c._uploadData(l,[t]))});if(n.upload.finishedChunkUpload=function(e){var t=!0;e.status=x.SUCCESS,e.dataBlock=null,e.xhr=null;for(var i=0;i<n.upload.totalChunkCount;i++){if(void 0===n.upload.chunks[i])return s();n.upload.chunks[i].status!==x.SUCCESS&&(t=!1)}t&&c.options.chunksUploaded(n,function(){c._finished(l,"",null)})},c.options.parallelChunkUploads)for(var i=0;i<n.upload.totalChunkCount;i++)s();else s()}else{for(var o=[],a=0;a<l.length;a++)o[a]={name:c._getParamName(a),data:e[a],filename:l[a].upload.filename};c._uploadData(l,o)}})}},{key:"_getChunk",value:function(e,t){for(var i=0;i<e.upload.totalChunkCount;i++)if(void 0!==e.upload.chunks[i]&&e.upload.chunks[i].xhr===t)return e.upload.chunks[i]}},{key:"_uploadData",value:function(t,e){var i,n=this,r=new XMLHttpRequest,s=w(t);try{for(s.s();!(i=s.n()).done;)i.value.xhr=r}catch(e){s.e(e)}finally{s.f()}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=r);var o=this.resolveOption(this.options.method,t),a=this.resolveOption(this.options.url,t);r.open(o,a,!0),r.timeout=this.resolveOption(this.options.timeout,t),r.withCredentials=!!this.options.withCredentials,r.onload=function(e){n._finishedUploading(t,r,e)},r.ontimeout=function(){n._handleUploadError(t,r,"Request timedout after ".concat(n.options.timeout/1e3," seconds"))},r.onerror=function(){n._handleUploadError(t,r)};(null!=r.upload?r.upload:r).onprogress=function(e){return n._updateFilesUploadProgress(t,r,e)};var l,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(l in this.options.headers&&x.extend(c,this.options.headers),c){var u=c[l];u&&r.setRequestHeader(l,u)}var d=new FormData;if(this.options.params){var h,f=this.options.params;for(h in f="function"==typeof f?f.call(this,t,r,t[0].upload.chunked?this._getChunk(t[0],r):null):f){var p=f[h];if(Array.isArray(p))for(var m=0;m<p.length;m++)d.append(h,p[m]);else d.append(h,p)}}var g,v=w(t);try{for(v.s();!(g=v.n()).done;){var y=g.value;this.emit("sending",y,r,d)}}catch(e){v.e(e)}finally{v.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",t,r,d),this._addFormElementData(d);for(var b=0;b<e.length;b++){var _=e[b];d.append(_.name,_.data,_.filename)}this.submitRequest(r,d,t)}},{key:"_transformFiles",value:function(i,n){for(var e=this,r=[],s=0,t=0;t<i.length;t++)!function(t){e.options.transformFile.call(e,i[t],function(e){r[t]=e,++s===i.length&&n(r)})}(t)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t,i=w(this.element.querySelectorAll("input, textarea, select, button"));try{for(i.s();!(t=i.n()).done;){var n=t.value,r=n.getAttribute("name"),s=(s=n.getAttribute("type"))&&s.toLowerCase();if(null!=r)if("SELECT"===n.tagName&&n.hasAttribute("multiple")){var o,a=w(n.options);try{for(a.s();!(o=a.n()).done;){var l=o.value;l.selected&&e.append(r,l.value)}}catch(e){a.e(e)}finally{a.f()}}else(!s||"checkbox"!==s&&"radio"!==s||n.checked)&&e.append(r,n.value)}}catch(e){i.e(e)}finally{i.f()}}}},{key:"_updateFilesUploadProgress",value:function(e,t,i){if(void 0!==i){if(f=100*i.loaded/i.total,e[0].upload.chunked){var n=e[0],t=this._getChunk(n,t);t.progress=f,t.total=i.total,t.bytesSent=i.loaded;n.upload.progress=0,n.upload.total=0;for(var r=n.upload.bytesSent=0;r<n.upload.totalChunkCount;r++)void 0!==n.upload.chunks[r]&&void 0!==n.upload.chunks[r].progress&&(n.upload.progress+=n.upload.chunks[r].progress,n.upload.total+=n.upload.chunks[r].total,n.upload.bytesSent+=n.upload.chunks[r].bytesSent);n.upload.progress=n.upload.progress/n.upload.totalChunkCount}else{var s,o=w(e);try{for(o.s();!(s=o.n()).done;){var a=s.value;a.upload.progress=f,a.upload.total=i.total,a.upload.bytesSent=i.loaded}}catch(e){o.e(e)}finally{o.f()}}var l,c=w(e);try{for(c.s();!(l=c.n()).done;){var u=l.value;this.emit("uploadprogress",u,u.upload.progress,u.upload.bytesSent)}}catch(e){c.e(e)}finally{c.f()}}else{var d,h=!0,f=100,p=w(e);try{for(p.s();!(d=p.n()).done;){var m=d.value;100===m.upload.progress&&m.upload.bytesSent===m.upload.total||(h=!1),m.upload.progress=f,m.upload.bytesSent=m.upload.total}}catch(e){p.e(e)}finally{p.f()}if(!h){var g,v=w(e);try{for(v.s();!(g=v.n()).done;){var y=g.value;this.emit("uploadprogress",y,f,y.upload.bytesSent)}}catch(e){v.e(e)}finally{v.f()}}}}},{key:"_finishedUploading",value:function(e,t,i){var n;if(e[0].status!==x.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(n=t.responseText,t.getResponseHeader("content-type")&&~t.getResponseHeader("content-type").indexOf("application/json")))try{n=JSON.parse(n)}catch(e){i=e,n="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,n,i):this._handleUploadError(e,t,n)}}},{key:"_handleUploadError",value:function(e,t,i){if(e[0].status!==x.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var n=this._getChunk(e[0],t);if(n.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[n.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}},{key:"submitRequest",value:function(e,t,i){e.send(t)}},{key:"_finished",value:function(e,t,i){var n,r=w(e);try{for(r.s();!(n=r.n()).done;){var s=n.value;s.status=x.SUCCESS,this.emit("success",s,t,i),this.emit("complete",s)}}catch(e){r.e(e)}finally{r.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,i),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,i){var n,r=w(e);try{for(r.s();!(n=r.n()).done;){var s=n.value;s.status=x.ERROR,this.emit("error",s,t,i),this.emit("complete",s)}}catch(e){r.e(e)}finally{r.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,i),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)})}}]),x}(),p=(f.initClass(),f.version="5.7.2",f.options={},f.optionsForElement=function(e){if(e.getAttribute("id"))return f.options[t(e.getAttribute("id"))]},f.instances=[],f.forElement=function(e){if(null==(null!=(e="string"==typeof e?document.querySelector(e):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},f.autoDiscover=!0,f.discover=function(){var s,e;document.querySelectorAll?s=document.querySelectorAll(".dropzone"):(s=[],(e=function(e){var t,i=[],n=w(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;/(^| )dropzone($| )/.test(r.className)?i.push(s.push(r)):i.push(void 0)}}catch(e){n.e(e)}finally{n.f()}return i})(document.getElementsByTagName("div")),e(document.getElementsByTagName("form")));var t,i=[],n=w(s);try{for(n.s();!(t=n.n()).done;){var r=t.value;!1!==f.optionsForElement(r)?i.push(new f(r)):i.push(void 0)}}catch(e){n.e(e)}finally{n.f()}return i},f.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],f.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,i=w(f.blacklistedBrowsers);try{for(i.s();!(t=i.n()).done;)t.value.test(navigator.userAgent)&&(e=!1)}catch(e){i.e(e)}finally{i.f()}}else e=!1;else e=!1;return e},f.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),e=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),n=new Uint8Array(i),r=0,s=t.length,o=0<=s;o?r<=s:s<=r;o?r++:r--)n[r]=t.charCodeAt(r);return new Blob([i],{type:e})},function(e,t){return e.filter(function(e){return e!==t}).map(function(e){return e})}),t=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},m=(f.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},f.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},f.getElement=function(e,t){var i;if("string"==typeof e?i=document.querySelector(e):null!=e.nodeType&&(i=e),null==i)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector or a plain HTML element."));return i},f.getElements=function(e,t){var i;if(e instanceof Array){o=[];try{var n,r=w(e);try{for(r.s();!(n=r.n()).done;)i=n.value,o.push(this.getElement(i,t))}catch(e){r.e(e)}finally{r.f()}}catch(e){o=null}}else if("string"==typeof e){var s,o=[],a=w(document.querySelectorAll(e));try{for(a.s();!(s=a.n()).done;)i=s.value,o.push(i)}catch(e){a.e(e)}finally{a.f()}}else null!=e.nodeType&&(o=[e]);if(null!=o&&o.length)return o;throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))},f.confirm=function(e,t,i){return window.confirm(e)?t():null!=i?i():void 0},f.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var i,n=e.type,r=n.replace(/\/.*$/,""),s=w(t);try{for(s.s();!(i=s.n()).done;){var o=i.value;if("."===(o=o.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(o.toLowerCase(),e.name.length-o.length))return!0}else if(/\/\*$/.test(o)){if(r===o.replace(/\/.*$/,""))return!0}else if(n===o)return!0}}catch(e){s.e(e)}finally{s.f()}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new f(this,e)})}),null!==e?e.exports=f:window.Dropzone=f,f.ADDED="added",f.QUEUED="queued",f.ACCEPTED=f.QUEUED,f.UPLOADING="uploading",f.PROCESSING=f.UPLOADING,f.CANCELED="canceled",f.ERROR="error",f.SUCCESS="success",function(e,t,i,n,r,s,o,a,l,c){var u=function(e){e.naturalWidth;var t=e.naturalHeight,i=document.createElement("canvas"),i=(i.width=1,i.height=t,i.getContext("2d"));i.drawImage(e,0,0);for(var n=i.getImageData(1,0,1,t).data,r=0,s=t,o=t;r<o;)0===n[4*(o-1)+3]?s=o:r=o,o=s+r>>1;e=o/t;return 0==e?1:e}(t);return e.drawImage(t,i,n,r,s,o,a,l,c/u)}),g=function(){function e(){u(this,e)}return d(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t,i,n,r="",s="",o=void 0,a="",l=0;i=(t=e[l++])>>2,n=(3&t)<<4|(t=e[l++])>>4,o=(15&t)<<2|(s=e[l++])>>6,a=63&s,isNaN(t)?o=a=64:isNaN(s)&&(a=64),r=r+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(n)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a),o=a=s="",l<e.length;);return r}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;e=this.decode64(e.replace("data:image/jpeg;base64,","")),e=this.slice2Segments(e),t=this.exifManipulation(t,e);return"data:image/jpeg;base64,".concat(this.encode64(t))}},{key:"exifManipulation",value:function(e,t){t=this.getExifArray(t),e=this.insertExif(e,t);return new Uint8Array(e)}},{key:"getExifArray",value:function(e){for(var t,i=0;i<e.length;){if(255===(t=e[i])[0]&225===t[1])return t;i++}return[]}},{key:"insertExif",value:function(e,t){var e=e.replace("data:image/jpeg;base64,",""),e=this.decode64(e),i=e.indexOf(255,3),n=e.slice(0,i),e=e.slice(i);return n.concat(t).concat(e)}},{key:"slice2Segments",value:function(e){for(var t,i,n=0,r=[];!(255===e[n]&218===e[n+1])&&(255===e[n]&216===e[n+1]?n+=2:(t=n+(256*e[n+2]+e[n+3])+2,i=e.slice(n,t),r.push(i),n=t),!(n>e.length)););return r}},{key:"decode64",value:function(e){var t,i,n,r,s=void 0,o="",a=0,l=[];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,"");;)if(t=this.KEY_STR.indexOf(e.charAt(a++)),s=(15&(i=this.KEY_STR.indexOf(e.charAt(a++))))<<4|(n=this.KEY_STR.indexOf(e.charAt(a++)))>>2,o=(3&n)<<6|(r=this.KEY_STR.indexOf(e.charAt(a++))),l.push(t<<2|i>>4),64!==n&&l.push(s),64!==r&&l.push(o),s=o="",!(a<e.length))break;return l}}]),e}(),v=(g.initClass(),f._autoDiscoverFunction=function(){if(f.autoDiscover)return f.discover()},window),y=f._autoDiscoverFunction;function b(e){if("readystatechange"!==e.type||"complete"===k.readyState)return("load"===e.type?v:k)[C](L+e.type,b,!1),!x&&(x=!0)?y.call(v,e.type||e):void 0}function _(){try{S.doScroll("left")}catch(e){return void setTimeout(_,50)}return b("poll")}var x=!1,e=!0,k=v.document,S=k.documentElement,M=k.addEventListener?"addEventListener":"attachEvent",C=k.addEventListener?"removeEventListener":"detachEvent",L=k.addEventListener?"":"on";if("complete"!==k.readyState){if(k.createEventObject&&S.doScroll){try{e=!v.frameElement}catch(e){}e&&_()}k[M](L+"DOMContentLoaded",b,!1),k[M](L+"readystatechange",b,!1),v[M](L+"load",b,!1)}}.call(this,i("./node_modules/webpack/buildin/module.js")(e))},
vendor: 9,007 bytes, line 1
1"./node_modules/dual-listbox/dist/dual-listbox.js":function(e,t,i){function n(e){if(s[e])return s[e].exports;var t=s[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var r,s;e.exports=(r=[function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n="dual-listbox__title",o="dual-listbox__item",r="dual-listbox__button",a="dual-listbox__item--selected",s=(function(e,t,i){return t&&c(e.prototype,t),i&&c(e,i),e}(l,[{key:"setDefaults",value:function(){this.addEvent=null,this.removeEvent=null,this.availableTitle="Available options",this.selectedTitle="Selected options",this.addButtonText="add",this.removeButtonText="remove",this.addAllButtonText="add all",this.removeAllButtonText="remove all",this.searchPlaceholder="Search"}},{key:"addEventListener",value:function(e,t){this.dualListbox.addEventListener(e,t)}},{key:"addSelected",value:function(t){var i=this,e=this.available.indexOf(t);-1<e&&(this.available.splice(e,1),this.selected.push(t),this._selectOption(t.dataset.id),this.redraw(),setTimeout(function(){var e=document.createEvent("HTMLEvents");e.initEvent("added",!1,!0),e.addedElement=t,i.dualListbox.dispatchEvent(e)},0))}},{key:"redraw",value:function(){this.updateAvailableListbox(),this.updateSelectedListbox()}},{key:"removeSelected",value:function(t){var i=this,e=this.selected.indexOf(t);-1<e&&(this.selected.splice(e,1),this.available.push(t),this._deselectOption(t.dataset.id),this.redraw(),setTimeout(function(){var e=document.createEvent("HTMLEvents");e.initEvent("removed",!1,!0),e.removedElement=t,i.dualListbox.dispatchEvent(e)},0))}},{key:"searchLists",value:function(e,t){for(var i=t.querySelectorAll("."+o),n=e.toLowerCase(),r=0;r<i.length;r++){var s=i[r];-1===s.textContent.toLowerCase().indexOf(n)?s.style.display="none":s.style.display="list-item"}}},{key:"updateAvailableListbox",value:function(){this._updateListbox(this.availableList,this.available)}},{key:"updateSelectedListbox",value:function(){this._updateListbox(this.selectedList,this.selected)}},{key:"_actionAllSelected",value:function(e){var t=this;e.preventDefault(),this.available.filter(function(e){return"none"!==e.style.display}).forEach(function(e){return t.addSelected(e)})}},{key:"_updateListbox",value:function(e,t){for(;e.firstChild;)e.removeChild(e.firstChild);for(var i=0;i<t.length;i++){var n=t[i];e.appendChild(n)}}},{key:"_actionItemSelected",value:function(e){e.preventDefault();e=this.dualListbox.querySelector("."+a);e&&this.addSelected(e)}},{key:"_actionAllDeselected",value:function(e){var t=this;e.preventDefault(),this.selected.filter(function(e){return"none"!==e.style.display}).forEach(function(e){return t.removeSelected(e)})}},{key:"_actionItemDeselected",value:function(e){e.preventDefault();e=this.dualListbox.querySelector("."+a);e&&this.removeSelected(e)}},{key:"_actionItemDoubleClick",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;t&&(t.preventDefault(),t.stopPropagation()),-1<this.selected.indexOf(e)?this.removeSelected(e):this.addSelected(e)}},{key:"_actionItemClick",value:function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;i&&i.preventDefault();for(var n=t.querySelectorAll("."+o),r=0;r<n.length;r++){var s=n[r];s!==e&&s.classList.remove(a)}e.classList.contains(a)?e.classList.remove(a):e.classList.add(a)}},{key:"_addActions",value:function(){this._addButtonActions(),this._addSearchActions()}},{key:"_addButtonActions",value:function(){var t=this;this.add_all_button.addEventListener("click",function(e){return t._actionAllSelected(e)}),this.add_button.addEventListener("click",function(e){return t._actionItemSelected(e)}),this.remove_button.addEventListener("click",function(e){return t._actionItemDeselected(e)}),this.remove_all_button.addEventListener("click",function(e){return t._actionAllDeselected(e)})}},{key:"_addClickActions",value:function(t){var i=this;return t.addEventListener("dblclick",function(e){return i._actionItemDoubleClick(t,e)}),t.addEventListener("click",function(e){return i._actionItemClick(t,i.dualListbox,e)}),t}},{key:"_addSearchActions",value:function(){var t=this;this.search.addEventListener("change",function(e){return t.searchLists(e.target.value,t.dualListbox)}),this.search.addEventListener("keyup",function(e){return t.searchLists(e.target.value,t.dualListbox)})}},{key:"_buildDualListbox",value:function(e){this.select.style.display="none",this.dualListBoxContainer.appendChild(this._createList(this.availableListTitle,this.availableList)),this.dualListBoxContainer.appendChild(this.buttons),this.dualListBoxContainer.appendChild(this._createList(this.selectedListTitle,this.selectedList)),this.dualListbox.appendChild(this.search),this.dualListbox.appendChild(this.dualListBoxContainer),e.insertBefore(this.dualListbox,this.select)}},{key:"_createList",value:function(e,t){var i=document.createElement("div");return i.appendChild(e),i.appendChild(t),i}},{key:"_createButtons",value:function(){this.buttons=document.createElement("div"),this.buttons.classList.add("dual-listbox__buttons"),this.add_all_button=document.createElement("button"),this.add_all_button.classList.add(r),this.add_all_button.innerHTML=this.addAllButtonText,this.add_button=document.createElement("button"),this.add_button.classList.add(r),this.add_button.innerHTML=this.addButtonText,this.remove_button=document.createElement("button"),this.remove_button.classList.add(r),this.remove_button.innerHTML=this.removeButtonText,this.remove_all_button=document.createElement("button"),this.remove_all_button.classList.add(r),this.remove_all_button.innerHTML=this.removeAllButtonText,this.buttons.appendChild(this.add_all_button),this.buttons.appendChild(this.add_button),this.buttons.appendChild(this.remove_button),this.buttons.appendChild(this.remove_all_button)}},{key:"_createListItem",value:function(e){var t=document.createElement("li");return t.classList.add(o),t.innerHTML=e.text,t.dataset.id=e.value,this._addClickActions(t),t}},{key:"_createSearch",value:function(){this.search=document.createElement("input"),this.search.classList.add("dual-listbox__search"),this.search.placeholder=this.searchPlaceholder}},{key:"_deselectOption",value:function(e){for(var t=this.select.options,i=0;i<t.length;i++){var n=t[i];n.value===e&&(n.selected=!1)}this.removeEvent&&this.removeEvent(e)}},{key:"_initOptions",value:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}},{key:"_initReusableElements",value:function(){this.dualListbox=document.createElement("div"),this.dualListbox.classList.add("dual-listbox"),this.select.id&&this.dualListbox.classList.add(this.select.id),this.dualListBoxContainer=document.createElement("div"),this.dualListBoxContainer.classList.add("dual-listbox__container"),this.availableList=document.createElement("ul"),this.availableList.classList.add("dual-listbox__available"),this.selectedList=document.createElement("ul"),this.selectedList.classList.add("dual-listbox__selected"),this.availableListTitle=document.createElement("div"),this.availableListTitle.classList.add(n),this.availableListTitle.innerText=this.availableTitle,this.selectedListTitle=document.createElement("div"),this.selectedListTitle.classList.add(n),this.selectedListTitle.innerText=this.selectedTitle,this._createButtons(),this._createSearch()}},{key:"_selectOption",value:function(e){for(var t=this.select.options,i=0;i<t.length;i++){var n=t[i];n.value===e&&(n.selected=!0)}this.addEvent&&this.addEvent(e)}},{key:"_splitOptions",value:function(e){for(var t=0;t<e.length;t++){var i=e[t];l.isDomElement(i)?this._addOption({text:i.innerHTML,value:i.value,selected:i.attributes.selected}):this._addOption(i)}}},{key:"_addOption",value:function(e){var t=this._createListItem(e);(e.selected?this.selected:this.available).push(t)}}],[{key:"isDomElement",value:function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":i(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":i(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}}]),l);function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this,n=l;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");this.setDefaults(),this.selected=[],this.available=[],l.isDomElement(e)?this.select=e:this.select=document.querySelector(e),this._initOptions(t),this._initReusableElements(),this._splitOptions(this.select.options),void 0!==t.options&&this._splitOptions(t.options),this._buildDualListbox(this.select.parentNode),this._addActions(),this.redraw()}function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.default=s,t.DualListbox=s}],s={},n.m=r,n.c=s,n.p="",n(0))},
vendor: 2,892 bytes, line 1
1"./node_modules/es6-promise-polyfill/promise.min.js":function(M,C,L){!function(e,t){var i,n,r,s,o,a,l,c,u,d;function h(){for(var e=0;e<d.length;e++)d[e][0](d[e][1]);n=!(d=[])}function f(e,t){d.push([e,t]),n||(n=!0,u(h,0))}function p(e,t){function i(e){b(t,e)}try{e(function(e){v(t,e)},i)}catch(e){i(e)}}function m(t){var e=(i=t.owner).state_,i=i.data_,n=t[e];if(t=t.then,"function"==typeof n){e=l;try{i=n(i)}catch(e){b(t,e)}}g(t,i)||(e===l&&v(t,i),e===c&&b(t,i))}function g(t,i){var n;try{if(t===i)throw new TypeError("A promises callback cannot return that same promise.");if(i&&("function"==typeof i||"object"==typeof i)){var e=i.then;if("function"==typeof e)return e.call(i,function(e){n||(n=!0,(i!==e?v:y)(t,e))},function(e){n||(n=!0,b(t,e))}),1}}catch(e){return n||b(t,e),1}}function v(e,t){e!==t&&g(e,t)||y(e,t)}function y(e,t){e.state_===o&&(e.state_=a,e.data_=t,f(x,e))}function b(e,t){e.state_===o&&(e.state_=a,e.data_=t,f(w,e))}function _(e){var t=e.then_;for(e.then_=void 0,e=0;e<t.length;e++)m(t[e])}function x(e){e.state_=l,_(e)}function w(e){e.state_=c,_(e)}function k(e){if("function"!=typeof e)throw new TypeError("Promise constructor takes a function argument");if(!1==this instanceof k)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.then_=[],p(e,this)}function S(){}e="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this,r=e.Promise,s=r&&"resolve"in r&&"reject"in r&&"all"in r&&"race"in r&&(new r(function(e){i=e}),"function"==typeof i),C?(C.Promise=s?r:k,C.Polyfill=k):void 0!==(e=function(){return s?r:k}.call(C,L,C,M))&&(M.exports=e),o="pending",a="sealed",l="fulfilled",c="rejected",u=void 0!==t?t:setTimeout,d=[],k.prototype={constructor:k,state_:o,then_:null,data_:void 0,then:function(e,t){e={owner:this,then:new this.constructor(S),fulfilled:e,rejected:t};return this.state_===l||this.state_===c?f(m,e):this.then_.push(e),e.then},catch:function(e){return this.then(null,e)}},k.all=function(o){if("[object Array]"!==Object.prototype.toString.call(o))throw new TypeError("You must pass an array to Promise.all().");return new this(function(i,e){for(var t,n=[],r=0,s=0;s<o.length;s++)(t=o[s])&&"function"==typeof t.then?t.then(function(t){return r++,function(e){n[t]=e,--r||i(n)}}(s),e):n[s]=t;r||i(n)})},k.race=function(r){if("[object Array]"!==Object.prototype.toString.call(r))throw new TypeError("You must pass an array to Promise.race().");return new this(function(e,t){for(var i,n=0;n<r.length;n++)(i=r[n])&&"function"==typeof i.then?i.then(e,t):e(i)})},k.resolve=function(t){return t&&"object"==typeof t&&t.constructor===this?t:new this(function(e){e(t)})},k.reject=function(i){return new this(function(e,t){t(i)})}}.call(this,L("./node_modules/webpack/buildin/global.js"),L("./node_modules/timers-browserify/main.js").setImmediate)},
vendor: 54,568 bytes, line 1
1"./node_modules/es6-shim/es6-shim.min.js":function(t,i,n){!function(Rn,zn){var e;void 0!==(e="function"==typeof(e=function(){"use strict";var I=Function.call.bind(Function.apply),L=Function.call.bind(Function.call),N=Array.isArray,a=Object.keys,H,i=function(e){try{e();return false}catch(e){return true}},o=function e(t){try{return t()}catch(e){return false}},F=function e(t){return function e(){return!I(t,this,arguments)}}(i),R,r=!!Object.defineProperty&&function(){return!i(function(){return Object.defineProperty({},"x",{get:function(){}})})}(),z=function e(){}.name==="foo",l=Function.call.bind(Array.prototype.forEach),$=Function.call.bind(Array.prototype.reduce),B=Function.call.bind(Array.prototype.filter),q=Function.call.bind(Array.prototype.some),c=function(e,t,i,n){if(!n&&t in e)return;if(r)Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:i});else e[t]=i},T=function(i,n,r){l(a(n),function(e){var t=n[e];c(i,e,t,!!r)})},n=Function.call.bind(Object.prototype.toString),W=false?undefined:function e(t){return typeof t==="function"},u={getter:function(e,t,i){if(!r)throw new TypeError("getters require true ES5 support");Object.defineProperty(e,t,{configurable:true,enumerable:false,get:i})},proxy:function(i,n,e){if(!r)throw new TypeError("getters require true ES5 support");var t=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(e,n,{configurable:t.configurable,enumerable:t.enumerable,get:function e(){return i[n]},set:function e(t){i[n]=t}})},redefine:function(e,t,i){if(r){var n=Object.getOwnPropertyDescriptor(e,t);n.value=i;Object.defineProperty(e,t,n)}else e[t]=i},defineByDescriptor:function(e,t,i){if(r)Object.defineProperty(e,t,i);else if("value"in i)e[t]=i.value},preserveToString:function(e,t){if(t&&W(t.toString))c(e,"toString",t.toString.bind(t),true)}},V=Object.create||function(e,t){var i=function e(){};i.prototype=e;var n=new i;if(typeof t!=="undefined")a(t).forEach(function(e){u.defineByDescriptor(n,e,t[e])});return n},U=function(n,t){if(!Object.setPrototypeOf)return false;return o(function(){var e=function e(t){var i=new n(t);Object.setPrototypeOf(i,e.prototype);return i};Object.setPrototypeOf(e,n);e.prototype=V(n.prototype,{constructor:{value:e}});return t(e)})},X,D=function(){if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof Rn!=="undefined")return Rn;throw new Error("unable to locate global object")}(),G=D.isFinite,K=Function.call.bind(String.prototype.indexOf),Z=Function.apply.bind(Array.prototype.indexOf),J=Function.call.bind(Array.prototype.concat),d=Function.call.bind(String.prototype.slice),E=Function.call.bind(Array.prototype.push),Q=Function.apply.bind(Array.prototype.push),ee=Function.call.bind(Array.prototype.shift),p=Math.max,m=Math.min,te=Math.floor,h=Math.abs,f=Math.exp,ie=Math.log,ne=Math.sqrt,re=Function.call.bind(Object.prototype.hasOwnProperty),s,se=function(){},g=D.Map,oe=g&&g.prototype["delete"],ae=g&&g.prototype.get,le=g&&g.prototype.has,ce=g&&g.prototype.set,v=D.Symbol||{},ue=v.species||"@@species",y=Number.isNaN||function e(t){return t!==t},de=Number.isFinite||function e(t){return typeof t==="number"&&G(t)},he=W(Math.sign)?Math.sign:function e(t){var i=Number(t);if(i===0)return i;if(y(i))return i;return i<0?-1:1},fe=function e(t){var i=Number(t);if(i<-1||y(i))return NaN;if(i===0||i===Infinity)return i;if(i===-1)return-Infinity;return 1+i-1===0?i:i*(ie(1+i)/(1+i-1))},pe=function e(t){return n(t)==="[object Arguments]"},me=function e(t){return t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&n(t)!=="[object Array]"&&n(t.callee)==="[object Function]"},ge=pe(arguments)?pe:me,b={primitive:function(e){return e===null||typeof e!=="function"&&typeof e!=="object"},string:function(e){return n(e)==="[object String]"},regex:function(e){return n(e)==="[object RegExp]"},symbol:function(e){return typeof D.Symbol==="function"&&typeof e==="symbol"}},_=function e(t,i,n){var r=t[i];c(t,i,n,true);u.preserveToString(t[i],r)},ve=typeof v==="function"&&typeof v["for"]==="function"&&b.symbol(v()),x=b.symbol(v.iterator)?v.iterator:"_es6-shim iterator_";if(D.Set&&typeof(new D.Set)["@@iterator"]==="function")x="@@iterator";if(!D.Reflect)c(D,"Reflect",{},true);var w=D.Reflect,ye=String,be=typeof document==="undefined"||!document?null:document.all,k=be==null?function e(t){return t==null}:function e(t){return t==null&&t!==be},A={Call:function e(t,i){var n=arguments.length>2?arguments[2]:[];if(!A.IsCallable(t))throw new TypeError(t+" is not a function");return I(t,i,n)},RequireObjectCoercible:function(e,t){if(k(e))throw new TypeError(t||"Cannot call method on "+e);return e},TypeIsObject:function(e){if(e===void 0||e===null||e===true||e===false)return false;return typeof e==="function"||typeof e==="object"||e===be},ToObject:function(e,t){return Object(A.RequireObjectCoercible(e,t))},IsCallable:W,IsConstructor:function(e){return A.IsCallable(e)},ToInt32:function(e){return A.ToNumber(e)>>0},ToUint32:function(e){return A.ToNumber(e)>>>0},ToNumber:function(e){if(n(e)==="[object Symbol]")throw new TypeError("Cannot convert a Symbol value to a number");return+e},ToInteger:function(e){var t=A.ToNumber(e);if(y(t))return 0;if(t===0||!de(t))return t;return(t>0?1:-1)*te(h(t))},ToLength:function(e){var t=A.ToInteger(e);if(t<=0)return 0;if(t>Number.MAX_SAFE_INTEGER)return Number.MAX_SAFE_INTEGER;return t},SameValue:function(e,t){if(e===t){if(e===0)return 1/e===1/t;return true}return y(e)&&y(t)},SameValueZero:function(e,t){return e===t||y(e)&&y(t)},IsIterable:function(e){return A.TypeIsObject(e)&&(typeof e[x]!=="undefined"||ge(e))},GetIterator:function(e){if(ge(e))return new s(e,"value");var t=A.GetMethod(e,x);if(!A.IsCallable(t))throw new TypeError("value is not an iterable");var i=A.Call(t,e);if(!A.TypeIsObject(i))throw new TypeError("bad iterator");return i},GetMethod:function(e,t){var i=A.ToObject(e)[t];if(k(i))return void 0;if(!A.IsCallable(i))throw new TypeError("Method not callable: "+t);return i},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var i=A.GetMethod(e,"return");if(i===void 0)return;var n,r;try{n=A.Call(i,e)}catch(e){r=e}if(t)return;if(r)throw r;if(!A.TypeIsObject(n))throw new TypeError("Iterator's return method returned a non-object.")},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!A.TypeIsObject(t))throw new TypeError("bad iterator");return t},IteratorStep:function(e){var t=A.IteratorNext(e);var i=A.IteratorComplete(t);return i?false:t},Construct:function(e,t,i,n){var r=typeof i==="undefined"?e:i;if(!n&&w.construct)return w.construct(e,t,r);var s=r.prototype;if(!A.TypeIsObject(s))s=Object.prototype;var o=V(s);var a=A.Call(e,o,t);return A.TypeIsObject(a)?a:o},SpeciesConstructor:function(e,t){var i=e.constructor;if(i===void 0)return t;if(!A.TypeIsObject(i))throw new TypeError("Bad constructor");var n=i[ue];if(k(n))return t;if(!A.IsConstructor(n))throw new TypeError("Bad @@species");return n},CreateHTML:function(e,t,i,n){var r=A.ToString(e);var s="<"+t;if(i!==""){var o=A.ToString(n);var a=o.replace(/"/g,"&quot;");s+=" "+i+'="'+a+'"'}var l=s+">";var c=l+r;return c+"</"+t+">"},IsRegExp:function e(t){if(!A.TypeIsObject(t))return false;var i=t[v.match];if(typeof i!=="undefined")return!!i;return b.regex(t)},ToString:function e(t){return ye(t)}};if(r&&ve){var _e=function e(t){if(b.symbol(v[t]))return v[t];var i=v["for"]("Symbol."+t);Object.defineProperty(v,t,{configurable:false,enumerable:false,writable:false,value:i});return i};if(!b.symbol(v.search)){var xe=_e("search");var we=String.prototype.search;c(RegExp.prototype,xe,function e(t){return A.Call(we,t,[this])});var ke=function e(t){var i=A.RequireObjectCoercible(this);if(!k(t)){var n=A.GetMethod(t,xe);if(typeof n!=="undefined")return A.Call(n,t,[i])}return A.Call(we,i,[A.ToString(t)])};_(String.prototype,"search",ke)}if(!b.symbol(v.replace)){var Se=_e("replace");var Me=String.prototype.replace;c(RegExp.prototype,Se,function e(t,i){return A.Call(Me,t,[this,i])});var Ce=function e(t,i){var n=A.RequireObjectCoercible(this);if(!k(t)){var r=A.GetMethod(t,Se);if(typeof r!=="undefined")return A.Call(r,t,[n,i])}return A.Call(Me,n,[A.ToString(t),i])};_(String.prototype,"replace",Ce)}if(!b.symbol(v.split)){var Le=_e("split");var Te=String.prototype.split;c(RegExp.prototype,Le,function e(t,i){return A.Call(Te,t,[this,i])});var De=function e(t,i){var n=A.RequireObjectCoercible(this);if(!k(t)){var r=A.GetMethod(t,Le);if(typeof r!=="undefined")return A.Call(r,t,[n,i])}return A.Call(Te,n,[A.ToString(t),i])};_(String.prototype,"split",De)}var Ee=b.symbol(v.match);var Ae=Ee&&function(){var e={};e[v.match]=function(){return 42};return"a".match(e)!==42}();if(!Ee||Ae){var je=_e("match");var Oe=String.prototype.match;c(RegExp.prototype,je,function e(t){return A.Call(Oe,t,[this])});var Pe=function e(t){var i=A.RequireObjectCoercible(this);if(!k(t)){var n=A.GetMethod(t,je);if(typeof n!=="undefined")return A.Call(n,t,[i])}return A.Call(Oe,i,[A.ToString(t)])};_(String.prototype,"match",Pe)}}var Ye=function e(t,i,n){u.preserveToString(i,t);if(Object.setPrototypeOf)Object.setPrototypeOf(t,i);if(r)l(Object.getOwnPropertyNames(t),function(e){if(e in se||n[e])return;u.proxy(t,e,i)});else l(Object.keys(t),function(e){if(e in se||n[e])return;i[e]=t[e]});i.prototype=t.prototype;u.redefine(t.prototype,"constructor",i)},Ie=function(){return this},Ne=function(e){if(r&&!re(e,ue))u.getter(e,ue,Ie)},S=function(e,t){var i=t||function e(){return this};c(e,x,i);if(!e[x]&&b.symbol(x))e[x]=i},He=function e(t,i,n){if(r)Object.defineProperty(t,i,{configurable:true,enumerable:true,writable:true,value:n});else t[i]=n},Fe=function e(t,i,n){He(t,i,n);if(!A.SameValue(t[i],n))throw new TypeError("property is nonconfigurable")},Re=function(e,t,i,n){if(!A.TypeIsObject(e))throw new TypeError("Constructor requires `new`: "+t.name);var r=t.prototype;if(!A.TypeIsObject(r))r=i;var s=V(r);for(var o in n)if(re(n,o)){var a=n[o];c(s,o,a,true)}return s};if(String.fromCodePoint&&String.fromCodePoint.length!==1){var ze=String.fromCodePoint;_(String,"fromCodePoint",function e(t){return A.Call(ze,this,arguments)})}var $e={fromCodePoint:function e(t){var i=[];var n;for(var r=0,s=arguments.length;r<s;r++){n=Number(arguments[r]);if(!A.SameValue(n,A.ToInteger(n))||n<0||n>1114111)throw new RangeError("Invalid code point "+n);if(n<65536)E(i,String.fromCharCode(n));else{n-=65536;E(i,String.fromCharCode((n>>10)+55296));E(i,String.fromCharCode(n%1024+56320))}}return i.join("")},raw:function e(t){var i=A.ToObject(t,"bad callSite");var n=A.ToObject(i.raw,"bad raw value");var r=n.length;var s=A.ToLength(r);if(s<=0)return"";var o=[];var a=0;var l,c,u,d;while(a<s){l=A.ToString(a);u=A.ToString(n[l]);E(o,u);if(a+1>=s)break;c=a+1<arguments.length?arguments[a+1]:"";d=A.ToString(c);E(o,d);a+=1}return o.join("")}};if(String.raw&&String.raw({raw:{0:"x",1:"y",length:2}})!=="xy")_(String,"raw",$e.raw);T(String,$e);var Be=function e(t,i){if(i<1)return"";if(i%2)return e(t,i-1)+t;var n=e(t,i/2);return n+n},qe=Infinity,e={repeat:function e(t){var i=A.ToString(A.RequireObjectCoercible(this));var n=A.ToInteger(t);if(n<0||n>=qe)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Be(i,n)},startsWith:function e(t){var i=A.ToString(A.RequireObjectCoercible(this));if(A.IsRegExp(t))throw new TypeError('Cannot call method "startsWith" with a regex');var n=A.ToString(t);var r;if(arguments.length>1)r=arguments[1];var s=p(A.ToInteger(r),0);return d(i,s,s+n.length)===n},endsWith:function e(t){var i=A.ToString(A.RequireObjectCoercible(this));if(A.IsRegExp(t))throw new TypeError('Cannot call method "endsWith" with a regex');var n=A.ToString(t);var r=i.length;var s;if(arguments.length>1)s=arguments[1];var o=typeof s==="undefined"?r:A.ToInteger(s);var a=m(p(o,0),r);return d(i,a-n.length,a)===n},includes:function e(t){if(A.IsRegExp(t))throw new TypeError('"includes" does not accept a RegExp');var i=A.ToString(t);var n;if(arguments.length>1)n=arguments[1];return K(this,i,n)!==-1},codePointAt:function e(t){var i=A.ToString(A.RequireObjectCoercible(this));var n=A.ToInteger(t);var r=i.length;if(n>=0&&n<r){var s=i.charCodeAt(n);var o=n+1===r;if(s<55296||s>56319||o)return s;var a=i.charCodeAt(n+1);if(a<56320||a>57343)return s;return(s-55296)*1024+(a-56320)+65536}}};if(String.prototype.includes&&"a".includes("a",Infinity)!==false)_(String.prototype,"includes",e.includes);if(String.prototype.startsWith&&String.prototype.endsWith){var We=i(function(){return"/a/".startsWith(/a/)});var Ve=o(function(){return"abc".startsWith("a",Infinity)===false});if(!We||!Ve){_(String.prototype,"startsWith",e.startsWith);_(String.prototype,"endsWith",e.endsWith)}}if(ve){var Ue=o(function(){var e=/a/;e[v.match]=false;return"/a/".startsWith(e)});if(!Ue)_(String.prototype,"startsWith",e.startsWith);var Xe=o(function(){var e=/a/;e[v.match]=false;return"/a/".endsWith(e)});if(!Xe)_(String.prototype,"endsWith",e.endsWith);var Ge=o(function(){var e=/a/;e[v.match]=false;return"/a/".includes(e)});if(!Ge)_(String.prototype,"includes",e.includes)}T(String.prototype,e);var Ke=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),Ze=new RegExp("(^["+Ke+"]+)|(["+Ke+"]+$)","g"),Je=function e(){return A.ToString(A.RequireObjectCoercible(this)).replace(Ze,"")},Qe=["…","​","￾"].join(""),et=new RegExp("["+Qe+"]","g"),tt=/^[-+]0x[0-9a-f]+$/i,it=Qe.trim().length!==Qe.length,M=(c(String.prototype,"trim",Je,it),function(e){return{value:e,done:arguments.length===0}}),nt=function(e){A.RequireObjectCoercible(e);this._s=A.ToString(e);this._i=0},rt=(nt.prototype.next=function(){var e=this._s;var t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return M()}var i=e.charCodeAt(t);var n,r;if(i<55296||i>56319||t+1===e.length)r=1;else{n=e.charCodeAt(t+1);r=n<56320||n>57343?1:2}this._i=t+r;return M(e.substr(t,r))},S(nt.prototype),S(String.prototype,function(){return new nt(this)}),{from:function e(t){var i=this;var n;if(arguments.length>1)n=arguments[1];var r,s;if(typeof n==="undefined")r=false;else{if(!A.IsCallable(n))throw new TypeError("Array.from: when provided, the second argument must be a function");if(arguments.length>2)s=arguments[2];r=true}var o=typeof(ge(t)||A.GetMethod(t,x))!=="undefined";var a,l,c;if(o){l=A.IsConstructor(i)?Object(new i):[];var u=A.GetIterator(t);var d,h;c=0;while(true){d=A.IteratorStep(u);if(d===false)break;h=d.value;try{if(r)h=typeof s==="undefined"?n(h,c):L(n,s,h,c);l[c]=h}catch(e){A.IteratorClose(u,true);throw e}c+=1}a=c}else{var f=A.ToObject(t);a=A.ToLength(f.length);l=A.IsConstructor(i)?Object(new i(a)):new Array(a);var p;for(c=0;c<a;++c){p=f[c];if(r)p=typeof s==="undefined"?n(p,c):L(n,s,p,c);Fe(l,c,p)}}l.length=a;return l},of:function e(){var t=arguments.length;var i=this;var n=N(i)||!A.IsCallable(i)?new Array(t):A.Construct(i,[t]);for(var r=0;r<t;++r)Fe(n,r,arguments[r]);n.length=t;return n}}),st;if(T(Array,rt),Ne(Array),T((s=function(e,t){this.i=0;this.array=e;this.kind=t}).prototype,{next:function(){var e=this.i;var t=this.array;if(!(this instanceof s))throw new TypeError("Not an ArrayIterator");if(typeof t!=="undefined"){var i=A.ToLength(t.length);for(;e<i;e++){var n=this.kind;var r;if(n==="key")r=e;else if(n==="value")r=t[e];else if(n==="entry")r=[e,t[e]];this.i=e+1;return M(r)}}this.array=void 0;return M()}}),S(s.prototype),!(Array.of===rt.of||function(){var e=function e(t){this.length=t};e.prototype=[];var t=Array.of.apply(e,[1,2]);return t instanceof e&&t.length===2}()))_(Array,"of",rt.of);var ot={copyWithin:function e(t,i){var n=A.ToObject(this);var r=A.ToLength(n.length);var s=A.ToInteger(t);var o=A.ToInteger(i);var a=s<0?p(r+s,0):m(s,r);var l=o<0?p(r+o,0):m(o,r);var c;if(arguments.length>2)c=arguments[2];var u=typeof c==="undefined"?r:A.ToInteger(c);var d=u<0?p(r+u,0):m(u,r);var h=m(d-l,r-a);var f=1;if(l<a&&a<l+h){f=-1;l+=h-1;a+=h-1}while(h>0){if(l in n)n[a]=n[l];else delete n[a];l+=f;a+=f;h-=1}return n},fill:function e(t){var i;if(arguments.length>1)i=arguments[1];var n;if(arguments.length>2)n=arguments[2];var r=A.ToObject(this);var s=A.ToLength(r.length);i=A.ToInteger(typeof i==="undefined"?0:i);n=A.ToInteger(typeof n==="undefined"?s:n);var o=i<0?p(s+i,0):m(i,s);var a=n<0?s+n:n;for(var l=o;l<s&&l<a;++l)r[l]=t;return r},find:function e(t){var i=A.ToObject(this);var n=A.ToLength(i.length);if(!A.IsCallable(t))throw new TypeError("Array#find: predicate must be a function");var r=arguments.length>1?arguments[1]:null;for(var s=0,o;s<n;s++){o=i[s];if(r){if(L(t,r,o,s,i))return o}else if(t(o,s,i))return o}},findIndex:function e(t){var i=A.ToObject(this);var n=A.ToLength(i.length);if(!A.IsCallable(t))throw new TypeError("Array#findIndex: predicate must be a function");var r=arguments.length>1?arguments[1]:null;for(var s=0;s<n;s++)if(r){if(L(t,r,i[s],s,i))return s}else if(t(i[s],s,i))return s;return-1},keys:function e(){return new s(this,"key")},values:function e(){return new s(this,"value")},entries:function e(){return new s(this,"entry")}};if(Array.prototype.keys&&!A.IsCallable([1].keys().next))delete Array.prototype.keys;if(Array.prototype.entries&&!A.IsCallable([1].entries().next))delete Array.prototype.entries;if(Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[x]){T(Array.prototype,{values:Array.prototype[x]});if(b.symbol(v.unscopables))Array.prototype[v.unscopables].values=true}if(z&&Array.prototype.values&&Array.prototype.values.name!=="values"){var at=Array.prototype.values;_(Array.prototype,"values",function e(){return A.Call(at,this,arguments)});c(Array.prototype,x,Array.prototype.values,true)}if(T(Array.prototype,ot),1/[true].indexOf(true,-0)<0)c(Array.prototype,"indexOf",function e(t){var i=Z(this,arguments);if(i===0&&1/i<0)return 0;return i},true);if(S(Array.prototype,function(){return this.values()}),Object.getPrototypeOf)S(Object.getPrototypeOf([].values()));var lt=function(){return o(function(){return Array.from({length:-1}).length===0})}(),ct=function(){var e=Array.from([0].entries());return e.length===1&&N(e[0])&&e[0][0]===0&&e[0][1]===0}(),ut;if(!lt||!ct)_(Array,"from",rt.from);if(!function(){return o(function(){return Array.from([0],void 0)})}()){var dt=Array.from;_(Array,"from",function e(t){if(arguments.length>1&&typeof arguments[1]!=="undefined")return A.Call(dt,this,arguments);else return L(dt,this,t)})}var ht=-(Math.pow(2,32)-1),t=function(e,t){var i={length:ht};i[t?(i.length>>>0)-1:0]=true;return o(function(){L(e,i,function(){throw new RangeError("should not reach here")},[]);return true})};if(!t(Array.prototype.forEach)){var ft=Array.prototype.forEach;_(Array.prototype,"forEach",function e(t){return A.Call(ft,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.map)){var pt=Array.prototype.map;_(Array.prototype,"map",function e(t){return A.Call(pt,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.filter)){var mt=Array.prototype.filter;_(Array.prototype,"filter",function e(t){return A.Call(mt,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.some)){var gt=Array.prototype.some;_(Array.prototype,"some",function e(t){return A.Call(gt,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.every)){var vt=Array.prototype.every;_(Array.prototype,"every",function e(t){return A.Call(vt,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.reduce)){var yt=Array.prototype.reduce;_(Array.prototype,"reduce",function e(t){return A.Call(yt,this.length>=0?this:[],arguments)},true)}if(!t(Array.prototype.reduceRight,true)){var bt=Array.prototype.reduceRight;_(Array.prototype,"reduceRight",function e(t){return A.Call(bt,this.length>=0?this:[],arguments)},true)}var _t=Number("0o10")!==8,xt=Number("0b10")!==2,wt=q(Qe,function(e){return Number(e+0+e)===0});if(_t||xt||wt){var C=Number;var kt=/^0b[01]+$/i;var St=/^0o[0-7]+$/i;var Mt=kt.test.bind(kt);var Ct=St.test.bind(St);var Lt=function(e){var t;if(typeof e.valueOf==="function"){t=e.valueOf();if(b.primitive(t))return t}if(typeof e.toString==="function"){t=e.toString();if(b.primitive(t))return t}throw new TypeError("No default value")};var Tt=et.test.bind(et);var Dt=tt.test.bind(tt);var Et=function(){var s=function e(t){var i;if(arguments.length>0)i=b.primitive(t)?t:Lt(t,"number");else i=0;if(typeof i==="string"){i=A.Call(Je,i);if(Mt(i))i=parseInt(d(i,2),2);else if(Ct(i))i=parseInt(d(i,2),8);else if(Tt(i)||Dt(i))i=NaN}var n=this;var r=o(function(){C.prototype.valueOf.call(n);return true});if(n instanceof s&&!r)return new C(i);return C(i)};return s}();Ye(C,Et,{});T(Et,{NaN:C.NaN,MAX_VALUE:C.MAX_VALUE,MIN_VALUE:C.MIN_VALUE,NEGATIVE_INFINITY:C.NEGATIVE_INFINITY,POSITIVE_INFINITY:C.POSITIVE_INFINITY});Number=Et;u.redefine(D,"Number",Et)}var At=Math.pow(2,53)-1;if(T(Number,{MAX_SAFE_INTEGER:At,MIN_SAFE_INTEGER:-At,EPSILON:2220446049250313e-31,parseInt:D.parseInt,parseFloat:D.parseFloat,isFinite:de,isInteger:function e(t){return de(t)&&A.ToInteger(t)===t},isSafeInteger:function e(t){return Number.isInteger(t)&&h(t)<=Number.MAX_SAFE_INTEGER},isNaN:y}),c(Number,"parseInt",D.parseInt,Number.parseInt!==D.parseInt),[,1].find(function(){return true})===1)_(Array.prototype,"find",ot.find);if([,1].findIndex(function(){return true})!==0)_(Array.prototype,"findIndex",ot.findIndex);var jt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),Ot=function e(t,i){if(r&&jt(t,i))Object.defineProperty(t,i,{enumerable:false})},Pt=function e(){var t=Number(this);var i=arguments.length;var n=i-t;var r=new Array(n<0?0:n);for(var s=t;s<i;++s)r[s-t]=arguments[s];return r},Yt=function e(n){return function e(t,i){t[i]=n[i];return t}},It=function(e,t){var i=a(Object(t));var n;if(A.IsCallable(Object.getOwnPropertySymbols))n=B(Object.getOwnPropertySymbols(Object(t)),jt(t));return $(J(i,n||[]),Yt(t),e)},Nt={assign:function(e,t){var i=A.ToObject(e,"Cannot convert undefined or null to object");return $(A.Call(Pt,1,arguments),It,i)},is:function e(t,i){return A.SameValue(t,i)}},Ht,Ft,Rt;if(Object.assign&&Object.preventExtensions&&function(){var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return t[1]==="y"}}())_(Object,"assign",Nt.assign);if(T(Object,Nt),r){var zt={setPrototypeOf:function(t,i){var n;var r=function(e,t){if(!A.TypeIsObject(e))throw new TypeError("cannot set prototype on a non-object");if(!(t===null||A.TypeIsObject(t)))throw new TypeError("can only set prototype to an object or null"+t)};var s=function(e,t){r(e,t);L(n,e,t);return e};try{n=t.getOwnPropertyDescriptor(t.prototype,i).set;L(n,{},null)}catch(e){if(t.prototype!=={}[i])return;n=function(e){this[i]=e};s.polyfill=s(s({},null),t.prototype)instanceof t}return s}(Object,"__proto__")};T(Object,zt)}if(Object.setPrototypeOf&&Object.getPrototypeOf&&Object.getPrototypeOf(Object.setPrototypeOf({},null))!==null&&Object.getPrototypeOf(Object.create(null))===null)(function(){var n=Object.create(null);var i=Object.getPrototypeOf;var r=Object.setPrototypeOf;Object.getPrototypeOf=function(e){var t=i(e);return t===n?null:t};Object.setPrototypeOf=function(e,t){var i=t===null?n:t;return r(e,i)};Object.setPrototypeOf.polyfill=false})();if(!!i(function(){return Object.keys("foo")})){var $t=Object.keys;_(Object,"keys",function e(t){return $t(A.ToObject(t))});a=Object.keys}if(i(function(){return Object.keys(/a/g)})){var Bt=Object.keys;_(Object,"keys",function e(t){if(b.regex(t)){var i=[];for(var n in t)if(re(t,n))E(i,n);return i}return Bt(t)});a=Object.keys}if(Object.getOwnPropertyNames){var qt=!i(function(){return Object.getOwnPropertyNames("foo")});if(!qt){var Wt=typeof window==="object"?Object.getOwnPropertyNames(window):[];var Vt=Object.getOwnPropertyNames;_(Object,"getOwnPropertyNames",function e(t){var i=A.ToObject(t);if(n(i)==="[object Window]")try{return Vt(i)}catch(e){return J([],Wt)}return Vt(i)})}}if(Object.getOwnPropertyDescriptor){var Ut=!i(function(){return Object.getOwnPropertyDescriptor("foo","bar")});if(!Ut){var Xt=Object.getOwnPropertyDescriptor;_(Object,"getOwnPropertyDescriptor",function e(t,i){return Xt(A.ToObject(t),i)})}}if(Object.seal){var Gt=!i(function(){return Object.seal("foo")});if(!Gt){var Kt=Object.seal;_(Object,"seal",function e(t){if(!A.TypeIsObject(t))return t;return Kt(t)})}}if(Object.isSealed){var Zt=!i(function(){return Object.isSealed("foo")});if(!Zt){var Jt=Object.isSealed;_(Object,"isSealed",function e(t){if(!A.TypeIsObject(t))return true;return Jt(t)})}}if(Object.freeze){var Qt=!i(function(){return Object.freeze("foo")});if(!Qt){var ei=Object.freeze;_(Object,"freeze",function e(t){if(!A.TypeIsObject(t))return t;return ei(t)})}}if(Object.isFrozen){var ti=!i(function(){return Object.isFrozen("foo")});if(!ti){var ii=Object.isFrozen;_(Object,"isFrozen",function e(t){if(!A.TypeIsObject(t))return true;return ii(t)})}}if(Object.preventExtensions){var ni=!i(function(){return Object.preventExtensions("foo")});if(!ni){var ri=Object.preventExtensions;_(Object,"preventExtensions",function e(t){if(!A.TypeIsObject(t))return t;return ri(t)})}}if(Object.isExtensible){var si=!i(function(){return Object.isExtensible("foo")});if(!si){var oi=Object.isExtensible;_(Object,"isExtensible",function e(t){if(!A.TypeIsObject(t))return false;return oi(t)})}}if(Object.getPrototypeOf){var ai=!i(function(){return Object.getPrototypeOf("foo")});if(!ai){var li=Object.getPrototypeOf;_(Object,"getPrototypeOf",function e(t){return li(A.ToObject(t))})}}var ci=r&&function(){var e=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags");return e&&A.IsCallable(e.get)}();if(r&&!ci){var ui=function e(){if(!A.TypeIsObject(this))throw new TypeError("Method called on incompatible type: must be an object.");var t="";if(this.global)t+="g";if(this.ignoreCase)t+="i";if(this.multiline)t+="m";if(this.unicode)t+="u";if(this.sticky)t+="y";return t};u.getter(RegExp.prototype,"flags",ui)}var di=r&&o(function(){return String(new RegExp(/a/g,"i"))==="/a/i"}),hi=ve&&r&&function(){var e=/./;e[v.match]=false;return RegExp(e)===e}(),fi=o(function(){return RegExp.prototype.toString.call({source:"abc"})==="/abc/"}),pi=fi&&o(function(){return RegExp.prototype.toString.call({source:"a",flags:"b"})==="/a/b"});if(!fi||!pi){var mi=RegExp.prototype.toString;c(RegExp.prototype,"toString",function e(){var t=A.RequireObjectCoercible(this);if(b.regex(t))return L(mi,t);var i=ye(t.source);var n=ye(t.flags);return"/"+i+"/"+n},true);u.preserveToString(RegExp.prototype.toString,mi)}if(r&&(!di||hi)){var gi=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get;var vi=Object.getOwnPropertyDescriptor(RegExp.prototype,"source")||{};var yi=function(){return this.source};var bi=A.IsCallable(vi.get)?vi.get:yi;var _i=RegExp;var xi=function(){return function e(t,i){var n=A.IsRegExp(t);var r=this instanceof e;if(!r&&n&&typeof i==="undefined"&&t.constructor===e)return t;var s=t;var o=i;if(b.regex(t)){s=A.Call(bi,t);o=typeof i==="undefined"?A.Call(gi,t):i;return new e(s,o)}else if(n){s=t.source;o=typeof i==="undefined"?t.flags:i}return new _i(t,i)}}();Ye(_i,xi,{$input:true});RegExp=xi;u.redefine(D,"RegExp",xi)}if(r){var wi={input:"$_",lastMatch:"$&",lastParen:"$+",leftContext:"$`",rightContext:"$'"};l(a(wi),function(t){if(t in RegExp&&!(wi[t]in RegExp))u.getter(RegExp,wi[t],function e(){return RegExp[t]})})}Ne(RegExp);var ki=1/Number.EPSILON,Si=function e(t){return t+ki-ki},Mi=Math.pow(2,-23),Ci=Math.pow(2,127)*(2-Mi),Li=Math.pow(2,-126),Ti=Math.E,Di=Math.LOG2E,Ei=Math.LOG10E,Ai=Number.prototype.clz,j=(delete Number.prototype.clz,{acosh:function e(t){var i=Number(t);if(y(i)||t<1)return NaN;if(i===1)return 0;if(i===Infinity)return i;var n=1/(i*i);if(i<2)return fe(i-1+ne(1-n)*i);var r=i/2;return fe(r+ne(1-n)*r-1)+1/Di},asinh:function e(t){var i=Number(t);if(i===0||!G(i))return i;var n=h(i);var r=n*n;var s=he(i);if(n<1)return s*fe(n+r/(ne(r+1)+1));return s*(fe(n/2+ne(1+1/r)*n/2-1)+1/Di)},atanh:function e(t){var i=Number(t);if(i===0)return i;if(i===-1)return-Infinity;if(i===1)return Infinity;if(y(i)||i<-1||i>1)return NaN;var n=h(i);return he(i)*fe(2*n/(1-n))/2},cbrt:function e(t){var i=Number(t);if(i===0)return i;var n=i<0;var r;if(n)i=-i;if(i===Infinity)r=Infinity;else{r=f(ie(i)/3);r=(i/(r*r)+2*r)/3}return n?-r:r},clz32:function e(t){var i=Number(t);var n=A.ToUint32(i);if(n===0)return 32;return Ai?A.Call(Ai,n):31-te(ie(n+.5)*Di)},cosh:function e(t){var i=Number(t);if(i===0)return 1;if(y(i))return NaN;if(!G(i))return Infinity;var n=f(h(i)-1);return(n+1/(n*Ti*Ti))*(Ti/2)},expm1:function e(t){var i=Number(t);if(i===-Infinity)return-1;if(!G(i)||i===0)return i;if(h(i)>.5)return f(i)-1;var n=i;var r=0;var s=1;while(r+n!==r){r+=n;s+=1;n*=i/s}return r},hypot:function e(t,i){var n=0;var r=0;for(var s=0;s<arguments.length;++s){var o=h(Number(arguments[s]));if(r<o){n*=r/o*(r/o);n+=1;r=o}else n+=o>0?o/r*(o/r):o}return r===Infinity?Infinity:r*ne(n)},log2:function e(t){return ie(t)*Di},log10:function e(t){return ie(t)*Ei},log1p:fe,sign:he,sinh:function e(t){var i=Number(t);if(!G(i)||i===0)return i;var n=h(i);if(n<1){var r=Math.expm1(n);return he(i)*r*(1+1/(r+1))/2}var s=f(n-1);return he(i)*(s-1/(s*Ti*Ti))*(Ti/2)},tanh:function e(t){var i=Number(t);if(y(i)||i===0)return i;if(i>=20)return 1;if(i<=-20)return-1;return(Math.expm1(i)-Math.expm1(-i))/(f(i)+f(-i))},trunc:function e(t){var i=Number(t);return i<0?-te(-i):te(i)},imul:function e(t,i){var n=A.ToUint32(t);var r=A.ToUint32(i);var s=n>>>16&65535;var o=n&65535;var a=r>>>16&65535;var l=r&65535;return o*l+(s*l+o*a<<16>>>0)|0},fround:function e(t){var i=Number(t);if(i===0||i===Infinity||i===-Infinity||y(i))return i;var n=he(i);var r=h(i);if(r<Li)return n*Si(r/Li/Mi)*Li*Mi;var s=(1+Mi/Number.EPSILON)*r;var o=s-(s-r);if(o>Ci||y(o))return n*Infinity;return n*o}}),ji=function e(t,i,n){return h(1-t/i)/Number.EPSILON<(n||8)},Oi=(T(Math,j),c(Math,"sinh",j.sinh,Math.sinh(710)===Infinity),c(Math,"cosh",j.cosh,Math.cosh(710)===Infinity),c(Math,"log1p",j.log1p,Math.log1p(-1e-17)!==-1e-17),c(Math,"asinh",j.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),c(Math,"asinh",j.asinh,Math.asinh(1e300)===Infinity),c(Math,"atanh",j.atanh,Math.atanh(1e-300)===0),c(Math,"tanh",j.tanh,Math.tanh(-2e-17)!==-2e-17),c(Math,"acosh",j.acosh,Math.acosh(Number.MAX_VALUE)===Infinity),c(Math,"acosh",j.acosh,!ji(Math.acosh(1+Number.EPSILON),Math.sqrt(2*Number.EPSILON))),c(Math,"cbrt",j.cbrt,!ji(Math.cbrt(1e-300),1e-100)),c(Math,"sinh",j.sinh,Math.sinh(-2e-17)!==-2e-17),Math.expm1(10)),Pi=(c(Math,"expm1",j.expm1,Oi>22025.465794806718||Oi<22025.465794806718),Math.round),Yi=Math.round(.5-Number.EPSILON/4)===0&&Math.round(-.5+Number.EPSILON/3.99)===1,Ii,Ni,Hi=[ki+1,2*ki-1].every(function(e){return Math.round(e)===e}),Fi=(c(Math,"round",function e(t){var i=te(t);var n=i===-1?-0:i+1;return t-i<.5?i:n},!Yi||!Hi),u.preserveToString(Math.round,Pi),Math.imul);if(Math.imul(4294967295,5)!==-5){Math.imul=j.imul;u.preserveToString(Math.imul,Fi)}if(Math.imul.length!==2)_(Math,"imul",function e(t,i){return A.Call(Fi,Math,arguments)});var Ri=function(){var t=D.setTimeout;if(typeof t!=="function"&&typeof t!=="object")return;A.IsPromise=function(e){if(!A.TypeIsObject(e))return false;if(typeof e._promise==="undefined")return false;return true};var h=function(e){if(!A.IsConstructor(e))throw new TypeError("Bad promise constructor");var i=this;var t=function(e,t){if(i.resolve!==void 0||i.reject!==void 0)throw new TypeError("Bad Promise implementation!");i.resolve=e;i.reject=t};i.resolve=void 0;i.reject=void 0;i.promise=new e(t);if(!(A.IsCallable(i.resolve)&&A.IsCallable(i.reject)))throw new TypeError("Bad promise constructor")};var e;if(typeof window!=="undefined"&&A.IsCallable(window.postMessage))e=function(){var i=[];var n="zero-timeout-message";var e=function(e){E(i,e);window.postMessage(n,"*")};var t=function(e){if(e.source===window&&e.data===n){e.stopPropagation();if(i.length===0)return;var t=ee(i);t()}};window.addEventListener("message",t,true);return e};var i=function(){var e=D.Promise;var t=e&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}};var r=A.IsCallable(D.setImmediate)?D.setImmediate:typeof zn==="object"&&zn.nextTick?zn.nextTick:i()||(A.IsCallable(e)?e():function(e){t(e,0)});var f=function(e){return e};var p=function(e){throw e};var m=0;var g=1;var v=2;var y=0;var b=1;var _=2;var x={};var w=function(e,t,i){r(function(){n(e,t,i)})};var n=function(e,t,i){var n,r;if(t===x)return e(i);try{n=e(i);r=t.resolve}catch(e){n=e;r=t.reject}r(n)};var s=function(e,t){var i=e._promise;var n=i.reactionLength;if(n>0){w(i.fulfillReactionHandler0,i.reactionCapability0,t);i.fulfillReactionHandler0=void 0;i.rejectReactions0=void 0;i.reactionCapability0=void 0;if(n>1)for(var r=1,s=0;r<n;r++,s+=3){w(i[s+y],i[s+_],t);e[s+y]=void 0;e[s+b]=void 0;e[s+_]=void 0}}i.result=t;i.state=g;i.reactionLength=0};var o=function(e,t){var i=e._promise;var n=i.reactionLength;if(n>0){w(i.rejectReactionHandler0,i.reactionCapability0,t);i.fulfillReactionHandler0=void 0;i.rejectReactions0=void 0;i.reactionCapability0=void 0;if(n>1)for(var r=1,s=0;r<n;r++,s+=3){w(i[s+b],i[s+_],t);e[s+y]=void 0;e[s+b]=void 0;e[s+_]=void 0}}i.result=t;i.state=v;i.reactionLength=0};var a=function(i){var n=false;var e=function(e){var t;if(n)return;n=true;if(e===i)return o(i,new TypeError("Self resolution"));if(!A.TypeIsObject(e))return s(i,e);try{t=e.then}catch(e){return o(i,e)}if(!A.IsCallable(t))return s(i,e);r(function(){l(i,e,t)})};var t=function(e){if(n)return;n=true;return o(i,e)};return{resolve:e,reject:t}};var k=function(e,t,i,n){if(e===u)L(e,t,i,n,x);else L(e,t,i,n)};var l=function(e,t,i){var n=a(e);var r=n.resolve;var s=n.reject;try{k(i,t,r,s)}catch(e){s(e)}};var c,u;var S=function(){var s=function e(t){if(!(this instanceof s))throw new TypeError('Constructor Promise requires "new"');if(this&&this._promise)throw new TypeError("Bad construction");if(!A.IsCallable(t))throw new TypeError("not a valid resolver");var i=Re(this,s,c,{_promise:{result:void 0,state:m,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}});var n=a(i);var r=n.reject;try{t(n.resolve,r)}catch(e){r(e)}return i};return s}();c=S.prototype;var M=function(i,n,r,s){var o=false;return function(e){if(o)return;o=true;n[i]=e;if(--s.count===0){var t=r.resolve;t(n)}}};var d=function(t,e,i){var n=t.iterator;var r=[];var s={count:1};var o,a;var l=0;while(true){try{o=A.IteratorStep(n);if(o===false){t.done=true;break}a=o.value}catch(e){t.done=true;throw e}r[l]=void 0;var c=e.resolve(a);var u=M(l,r,i,s);s.count+=1;k(c.then,c,u,i.reject);l+=1}if(--s.count===0){var d=i.resolve;d(r)}return i.promise};var C=function(t,e,i){var n=t.iterator;var r,s,o;while(true){try{r=A.IteratorStep(n);if(r===false){t.done=true;break}s=r.value}catch(e){t.done=true;throw e}o=e.resolve(s);k(o.then,o,i.resolve,i.reject)}return i.promise};T(S,{all:function e(t){var i=this;if(!A.TypeIsObject(i))throw new TypeError("Promise is not object");var n=new h(i);var r,s;try{r=A.GetIterator(t);s={iterator:r,done:false};return d(s,i,n)}catch(e){var o=e;if(s&&!s.done)try{A.IteratorClose(r,true)}catch(e){o=e}var a=n.reject;a(o);return n.promise}},race:function e(t){var i=this;if(!A.TypeIsObject(i))throw new TypeError("Promise is not object");var n=new h(i);var r,s;try{r=A.GetIterator(t);s={iterator:r,done:false};return C(s,i,n)}catch(e){var o=e;if(s&&!s.done)try{A.IteratorClose(r,true)}catch(e){o=e}var a=n.reject;a(o);return n.promise}},reject:function e(t){var i=this;if(!A.TypeIsObject(i))throw new TypeError("Bad promise constructor");var n=new h(i);var r=n.reject;r(t);return n.promise},resolve:function e(t){var i=this;if(!A.TypeIsObject(i))throw new TypeError("Bad promise constructor");if(A.IsPromise(t)){var n=t.constructor;if(n===i)return t}var r=new h(i);var s=r.resolve;s(t);return r.promise}});T(c,{catch:function(e){return this.then(null,e)},then:function e(t,i){var n=this;if(!A.IsPromise(n))throw new TypeError("not a promise");var r=A.SpeciesConstructor(n,S);var s;var o=arguments.length>2&&arguments[2]===x;if(o&&r===S)s=x;else s=new h(r);var a=A.IsCallable(t)?t:f;var l=A.IsCallable(i)?i:p;var c=n._promise;var u;if(c.state===m){if(c.reactionLength===0){c.fulfillReactionHandler0=a;c.rejectReactionHandler0=l;c.reactionCapability0=s}else{var d=3*(c.reactionLength-1);c[d+y]=a;c[d+b]=l;c[d+_]=s}c.reactionLength+=1}else if(c.state===g){u=c.result;w(a,s,u)}else if(c.state===v){u=c.result;w(l,s,u)}else throw new TypeError("unexpected Promise state");return s.promise}});x=new h(S);u=c.then;return S}();if(D.Promise){delete D.Promise.accept;delete D.Promise.defer;delete D.Promise.prototype.chain}if(typeof Ri==="function"){T(D,{Promise:Ri});var zi=U(D.Promise,function(e){return e.resolve(42).then(function(){})instanceof e});var $i=!i(function(){return D.Promise.reject(42).then(null,5).then(null,se)});var Bi=i(function(){return D.Promise.call(3,se)});var qi=function(e){var t=e.resolve(5);t.constructor={};var i=e.resolve(t);try{i.then(null,se).then(null,se)}catch(e){return true}return t===i}(D.Promise);var Wi=r&&function(){var e=0;var t=Object.defineProperty({},"then",{get:function(){e+=1}});Promise.resolve(t);return e===1}();var Vi=function e(t){var i=new Promise(t);t(3,function(){});this.then=i.then;this.constructor=e};Vi.prototype=Promise.prototype;Vi.all=Promise.all;var Ui=o(function(){return!!Vi.all([1,2])});if(!zi||!$i||!Bi||qi||!Wi||Ui){Promise=Ri;_(D,"Promise",Ri)}if(Promise.all.length!==1){var Xi=Promise.all;_(Promise,"all",function e(t){return A.Call(Xi,this,arguments)})}if(Promise.race.length!==1){var Gi=Promise.race;_(Promise,"race",function e(t){return A.Call(Gi,this,arguments)})}if(Promise.resolve.length!==1){var Ki=Promise.resolve;_(Promise,"resolve",function e(t){return A.Call(Ki,this,arguments)})}if(Promise.reject.length!==1){var Zi=Promise.reject;_(Promise,"reject",function e(t){return A.Call(Zi,this,arguments)})}Ot(Promise,"all");Ot(Promise,"race");Ot(Promise,"resolve");Ot(Promise,"reject");Ne(Promise)}var Ji=function(e){var t=a($(e,function(e,t){e[t]=true;return e},{}));return e.join(":")===t.join(":")},Qi=Ji(["z","a","bb"]),en=Ji(["z",1,"a","3",2]);if(r){var O=function e(t,i){if(!i&&!Qi)return null;if(k(t))return"^"+A.ToString(t);else if(typeof t==="string")return"$"+t;else if(typeof t==="number"){if(!en)return"n"+t;return t}else if(typeof t==="boolean")return"b"+t;return null};var tn=function e(){return Object.create?Object.create(null):{}};var nn=function e(t,i,n){if(N(n)||b.string(n))l(n,function(e){if(!A.TypeIsObject(e))throw new TypeError("Iterator value "+e+" is not an entry object");i.set(e[0],e[1])});else if(n instanceof t)L(t.prototype.forEach,n,function(e,t){i.set(t,e)});else{var r,s;if(!k(n)){s=i.set;if(!A.IsCallable(s))throw new TypeError("bad map");r=A.GetIterator(n)}if(typeof r!=="undefined")while(true){var o=A.IteratorStep(r);if(o===false)break;var a=o.value;try{if(!A.TypeIsObject(a))throw new TypeError("Iterator value "+a+" is not an entry object");L(s,i,a[0],a[1])}catch(e){A.IteratorClose(r,true);throw e}}}};var rn=function e(t,i,n){if(N(n)||b.string(n))l(n,function(e){i.add(e)});else if(n instanceof t)L(t.prototype.forEach,n,function(e){i.add(e)});else{var r,s;if(!k(n)){s=i.add;if(!A.IsCallable(s))throw new TypeError("bad set");r=A.GetIterator(n)}if(typeof r!=="undefined")while(true){var o=A.IteratorStep(r);if(o===false)break;var a=o.value;try{L(s,i,a)}catch(e){A.IteratorClose(r,true);throw e}}}};var sn={Map:function(){var r={};var a=function e(t,i){this.key=t;this.value=i;this.next=null;this.prev=null};a.prototype.isRemoved=function e(){return this.key===r};var n=function e(t){return!!t._es6map};var l=function e(t,i){if(!A.TypeIsObject(t)||!n(t))throw new TypeError("Method Map.prototype."+i+" called on incompatible receiver "+A.ToString(t))};var t=function e(t,i){l(t,"[[MapIterator]]");this.head=t._head;this.i=this.head;this.kind=i};t.prototype={isMapIterator:true,next:function e(){if(!this.isMapIterator)throw new TypeError("Not a MapIterator");var t=this.i;var i=this.kind;var n=this.head;if(typeof this.i==="undefined")return M();while(t.isRemoved()&&t!==n)t=t.prev;var r;while(t.next!==n){t=t.next;if(!t.isRemoved()){if(i==="key")r=t.key;else if(i==="value")r=t.value;else r=[t.key,t.value];this.i=t;return M(r)}}this.i=void 0;return M()}};S(t.prototype);var s;var e=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var t=Re(this,e,s,{_es6map:true,_head:null,_map:g?new g:null,_size:0,_storage:tn()});var i=new a(null,null);i.next=i.prev=i;t._head=i;if(arguments.length>0)nn(e,t,arguments[0]);return t};s=e.prototype;u.getter(s,"size",function(){if(typeof this._size==="undefined")throw new TypeError("size method called on incompatible Map");return this._size});T(s,{get:function e(t){l(this,"get");var i;var n=O(t,true);if(n!==null){i=this._storage[n];if(i)return i.value;else return}if(this._map){i=ae.call(this._map,t);if(i)return i.value;else return}var r=this._head;var s=r;while((s=s.next)!==r)if(A.SameValueZero(s.key,t))return s.value},has:function e(t){l(this,"has");var i=O(t,true);if(i!==null)return typeof this._storage[i]!=="undefined";if(this._map)return le.call(this._map,t);var n=this._head;var r=n;while((r=r.next)!==n)if(A.SameValueZero(r.key,t))return true;return false},set:function e(t,i){l(this,"set");var n=this._head;var r=n;var s;var o=O(t,true);if(o!==null)if(typeof this._storage[o]!=="undefined"){this._storage[o].value=i;return this}else{s=this._storage[o]=new a(t,i);r=n.prev}else if(this._map)if(le.call(this._map,t))ae.call(this._map,t).value=i;else{s=new a(t,i);ce.call(this._map,t,s);r=n.prev}while((r=r.next)!==n)if(A.SameValueZero(r.key,t)){r.value=i;return this}s=s||new a(t,i);if(A.SameValue(-0,t))s.key=+0;s.next=this._head;s.prev=this._head.prev;s.prev.next=s;s.next.prev=s;this._size+=1;return this},delete:function(e){l(this,"delete");var t=this._head;var i=t;var n=O(e,true);if(n!==null){if(typeof this._storage[n]==="undefined")return false;i=this._storage[n].prev;delete this._storage[n]}else if(this._map){if(!le.call(this._map,e))return false;i=ae.call(this._map,e).prev;oe.call(this._map,e)}while((i=i.next)!==t)if(A.SameValueZero(i.key,e)){i.key=r;i.value=r;i.prev.next=i.next;i.next.prev=i.prev;this._size-=1;return true}return false},clear:function e(){l(this,"clear");this._map=g?new g:null;this._size=0;this._storage=tn();var t=this._head;var i=t;var n=i.next;while((i=n)!==t){i.key=r;i.value=r;n=i.next;i.next=i.prev=t}t.next=t.prev=t},keys:function e(){l(this,"keys");return new t(this,"key")},values:function e(){l(this,"values");return new t(this,"value")},entries:function e(){l(this,"entries");return new t(this,"key+value")},forEach:function e(t){l(this,"forEach");var i=arguments.length>1?arguments[1]:null;var n=this.entries();for(var r=n.next();!r.done;r=n.next())if(i)L(t,i,r.value[1],r.value[0],this);else t(r.value[1],r.value[0],this)}});S(s,s.entries);return e}(),Set:function(){var n=function e(t){return t._es6set&&typeof t._storage!=="undefined"};var s=function e(t,i){if(!A.TypeIsObject(t)||!n(t))throw new TypeError("Set.prototype."+i+" called on incompatible receiver "+A.ToString(t))};var i;var e=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var t=Re(this,e,i,{_es6set:true,"[[SetData]]":null,_storage:tn()});if(!t._es6set)throw new TypeError("bad set");if(arguments.length>0)rn(e,t,arguments[0]);return t};i=e.prototype;var r=function(e){var t=e;if(t==="^null")return null;else if(t==="^undefined")return void 0;else{var i=t.charAt(0);if(i==="$")return d(t,1);else if(i==="n")return+d(t,1);else if(i==="b")return t==="btrue"}return+t};var o=function e(t){if(!t["[[SetData]]"]){var i=new sn.Map;t["[[SetData]]"]=i;l(a(t._storage),function(e){var t=r(e);i.set(t,t)});t["[[SetData]]"]=i}t._storage=null};u.getter(e.prototype,"size",function(){s(this,"size");if(this._storage)return a(this._storage).length;o(this);return this["[[SetData]]"].size});T(e.prototype,{has:function e(t){s(this,"has");var i;if(this._storage&&(i=O(t))!==null)return!!this._storage[i];o(this);return this["[[SetData]]"].has(t)},add:function e(t){s(this,"add");var i;if(this._storage&&(i=O(t))!==null){this._storage[i]=true;return this}o(this);this["[[SetData]]"].set(t,t);return this},delete:function(e){s(this,"delete");var t;if(this._storage&&(t=O(e))!==null){var i=re(this._storage,t);return delete this._storage[t]&&i}o(this);return this["[[SetData]]"]["delete"](e)},clear:function e(){s(this,"clear");if(this._storage)this._storage=tn();if(this["[[SetData]]"])this["[[SetData]]"].clear()},values:function e(){s(this,"values");o(this);return new t(this["[[SetData]]"].values())},entries:function e(){s(this,"entries");o(this);return new t(this["[[SetData]]"].entries())},forEach:function e(i){s(this,"forEach");var n=arguments.length>1?arguments[1]:null;var r=this;o(r);this["[[SetData]]"].forEach(function(e,t){if(n)L(i,n,t,t,r);else i(t,t,r)})}});c(e.prototype,"keys",e.prototype.values,true);S(e.prototype,e.prototype.values);var t=function e(t){this.it=t};t.prototype={isSetIterator:true,next:function e(){if(!this.isSetIterator)throw new TypeError("Not a SetIterator");return this.it.next()}};S(t.prototype);return e}()};var on=D.Set&&!Set.prototype["delete"]&&Set.prototype.remove&&Set.prototype.items&&Set.prototype.map&&Array.isArray((new Set).keys);if(on)D.Set=sn.Set;if(D.Map||D.Set){var an=o(function(){return new Map([[1,2]]).get(1)===2});if(!an){D.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new g;if(arguments.length>0)nn(e,t,arguments[0]);delete t.constructor;Object.setPrototypeOf(t,D.Map.prototype);return t};D.Map.prototype=V(g.prototype);c(D.Map.prototype,"constructor",D.Map,true);u.preserveToString(D.Map,g)}var ln=new Map;var cn=function(){var e=new Map([[1,0],[2,0],[3,0],[4,0]]);e.set(-0,e);return e.get(0)===e&&e.get(-0)===e&&e.has(0)&&e.has(-0)}();var un=ln.set(1,2)===ln;if(!cn||!un)_(Map.prototype,"set",function e(t,i){L(ce,this,t===0?0:t,i);return this});if(!cn){T(Map.prototype,{get:function e(t){return L(ae,this,t===0?0:t)},has:function e(t){return L(le,this,t===0?0:t)}},true);u.preserveToString(Map.prototype.get,ae);u.preserveToString(Map.prototype.has,le)}var dn=new Set;var hn=Set.prototype["delete"]&&Set.prototype.add&&Set.prototype.has&&function(e){e["delete"](0);e.add(-0);return!e.has(0)}(dn);var fn=dn.add(1)===dn;if(!hn||!fn){var pn=Set.prototype.add;Set.prototype.add=function e(t){L(pn,this,t===0?0:t);return this};u.preserveToString(Set.prototype.add,pn)}if(!hn){var mn=Set.prototype.has;Set.prototype.has=function e(t){return L(mn,this,t===0?0:t)};u.preserveToString(Set.prototype.has,mn);var gn=Set.prototype["delete"];Set.prototype["delete"]=function e(t){return L(gn,this,t===0?0:t)};u.preserveToString(Set.prototype["delete"],gn)}var vn=U(D.Map,function(e){var t=new e([]);t.set(42,42);return t instanceof e});var yn=Object.setPrototypeOf&&!vn;var bn=function(){try{return!(D.Map()instanceof D.Map)}catch(e){return e instanceof TypeError}}();if(D.Map.length!==0||yn||!bn){D.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new g;if(arguments.length>0)nn(e,t,arguments[0]);delete t.constructor;Object.setPrototypeOf(t,e.prototype);return t};D.Map.prototype=g.prototype;c(D.Map.prototype,"constructor",D.Map,true);u.preserveToString(D.Map,g)}var _n=U(D.Set,function(e){var t=new e([]);t.add(42,42);return t instanceof e});var xn=Object.setPrototypeOf&&!_n;var wn=function(){try{return!(D.Set()instanceof D.Set)}catch(e){return e instanceof TypeError}}();if(D.Set.length!==0||xn||!wn){var kn=D.Set;D.Set=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');var t=new kn;if(arguments.length>0)rn(e,t,arguments[0]);delete t.constructor;Object.setPrototypeOf(t,e.prototype);return t};D.Set.prototype=kn.prototype;c(D.Set.prototype,"constructor",D.Set,true);u.preserveToString(D.Set,kn)}var Sn=new D.Map;var Mn=!o(function(){return Sn.keys().next().done});if(typeof D.Map.prototype.clear!=="function"||(new D.Set).size!==0||Sn.size!==0||typeof D.Map.prototype.keys!=="function"||typeof D.Set.prototype.keys!=="function"||typeof D.Map.prototype.forEach!=="function"||typeof D.Set.prototype.forEach!=="function"||F(D.Map)||F(D.Set)||typeof Sn.keys().next!=="function"||Mn||!vn)T(D,{Map:sn.Map,Set:sn.Set},true);if(D.Set.prototype.keys!==D.Set.prototype.values)c(D.Set.prototype,"keys",D.Set.prototype.values,true);S(Object.getPrototypeOf((new D.Map).keys()));S(Object.getPrototypeOf((new D.Set).keys()));if(z&&D.Set.prototype.has.name!=="has"){var Cn=D.Set.prototype.has;_(D.Set.prototype,"has",function e(t){return L(Cn,this,t)})}}T(D,sn);Ne(D.Map);Ne(D.Set)}var P=function e(t){if(!A.TypeIsObject(t))throw new TypeError("target must be an object")},Y={apply:function e(){return A.Call(A.Call,null,arguments)},construct:function e(t,i){if(!A.IsConstructor(t))throw new TypeError("First argument must be a constructor.");var n=arguments.length>2?arguments[2]:t;if(!A.IsConstructor(n))throw new TypeError("new.target must be a constructor.");return A.Construct(t,i,n,"internal")},deleteProperty:function e(t,i){P(t);if(r){var n=Object.getOwnPropertyDescriptor(t,i);if(n&&!n.configurable)return false}return delete t[i]},has:function e(t,i){P(t);return i in t}};if(Object.getOwnPropertyNames)Object.assign(Y,{ownKeys:function e(t){P(t);var i=Object.getOwnPropertyNames(t);if(A.IsCallable(Object.getOwnPropertySymbols))Q(i,Object.getOwnPropertySymbols(t));return i}});var Ln=function e(t){return!i(t)};if(Object.preventExtensions)Object.assign(Y,{isExtensible:function e(t){P(t);return Object.isExtensible(t)},preventExtensions:function e(t){P(t);return Ln(function(){return Object.preventExtensions(t)})}});if(r){var Tn=function e(t,i,n){var r=Object.getOwnPropertyDescriptor(t,i);if(!r){var s=Object.getPrototypeOf(t);if(s===null)return void 0;return Tn(s,i,n)}if("value"in r)return r.value;if(r.get)return A.Call(r.get,n);return void 0};var Dn=function e(t,i,n,r){var s=Object.getOwnPropertyDescriptor(t,i);if(!s){var o=Object.getPrototypeOf(t);if(o!==null)return Dn(o,i,n,r);s={value:void 0,writable:true,enumerable:true,configurable:true}}if("value"in s){if(!s.writable)return false;if(!A.TypeIsObject(r))return false;var a=Object.getOwnPropertyDescriptor(r,i);if(a)return w.defineProperty(r,i,{value:n});else return w.defineProperty(r,i,{value:n,writable:true,enumerable:true,configurable:true})}if(s.set){L(s.set,r,n);return true}return false};Object.assign(Y,{defineProperty:function e(t,i,n){P(t);return Ln(function(){return Object.defineProperty(t,i,n)})},getOwnPropertyDescriptor:function e(t,i){P(t);return Object.getOwnPropertyDescriptor(t,i)},get:function e(t,i){P(t);var n=arguments.length>2?arguments[2]:t;return Tn(t,i,n)},set:function e(t,i,n){P(t);var r=arguments.length>3?arguments[3]:t;return Dn(t,i,n,r)}})}if(Object.getPrototypeOf){var En=Object.getPrototypeOf;Y.getPrototypeOf=function e(t){P(t);return En(t)}}if(Object.setPrototypeOf&&Y.getPrototypeOf){var An=function(e,t){var i=t;while(i){if(e===i)return true;i=Y.getPrototypeOf(i)}return false};Object.assign(Y,{setPrototypeOf:function e(t,i){P(t);if(i!==null&&!A.TypeIsObject(i))throw new TypeError("proto must be an object or null");if(i===w.getPrototypeOf(t))return true;if(w.isExtensible&&!w.isExtensible(t))return false;if(An(t,i))return false;Object.setPrototypeOf(t,i);return true}})}var jn=function(e,t){if(!A.IsCallable(D.Reflect[e]))c(D.Reflect,e,t);else{var i=o(function(){D.Reflect[e](1);D.Reflect[e](NaN);D.Reflect[e](true);return true});if(i)_(D.Reflect,e,t)}},On=(Object.keys(Y).forEach(function(e){jn(e,Y[e])}),D.Reflect.getPrototypeOf);if(z&&On&&On.name!=="getPrototypeOf")_(D.Reflect,"getPrototypeOf",function e(t){return L(On,D.Reflect,t)});if(D.Reflect.setPrototypeOf)if(o(function(){D.Reflect.setPrototypeOf(1,{});return true}))_(D.Reflect,"setPrototypeOf",Y.setPrototypeOf);if(D.Reflect.defineProperty)if(!o(function(){var e=!D.Reflect.defineProperty(1,"test",{value:1});var t=typeof Object.preventExtensions!=="function"||!D.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t}))_(D.Reflect,"defineProperty",Y.defineProperty);if(D.Reflect.construct)if(!o(function(){var e=function e(){};return D.Reflect.construct(function(){},[],e)instanceof e}))_(D.Reflect,"construct",Y.construct);if(String(new Date(NaN))!=="Invalid Date"){var Pn=Date.prototype.toString;var Yn=function e(){var t=+this;if(t!==t)return"Invalid Date";return A.Call(Pn,this)};_(Date.prototype,"toString",Yn)}var In={anchor:function e(t){return A.CreateHTML(this,"a","name",t)},big:function e(){return A.CreateHTML(this,"big","","")},blink:function e(){return A.CreateHTML(this,"blink","","")},bold:function e(){return A.CreateHTML(this,"b","","")},fixed:function e(){return A.CreateHTML(this,"tt","","")},fontcolor:function e(t){return A.CreateHTML(this,"font","color",t)},fontsize:function e(t){return A.CreateHTML(this,"font","size",t)},italics:function e(){return A.CreateHTML(this,"i","","")},link:function e(t){return A.CreateHTML(this,"a","href",t)},small:function e(){return A.CreateHTML(this,"small","","")},strike:function e(){return A.CreateHTML(this,"strike","","")},sub:function e(){return A.CreateHTML(this,"sub","","")},sup:function e(){return A.CreateHTML(this,"sup","","")}},Nn=(l(Object.keys(In),function(e){var t=String.prototype[e];var i=false;if(A.IsCallable(t)){var n=L(t,"",' " ');var r=J([],n.match(/"/g)).length;i=n!==n.toLowerCase()||r>2}else i=true;if(i)_(String.prototype,e,In[e])}),function(){if(!ve)return false;var e=typeof JSON==="object"&&typeof JSON.stringify==="function"?JSON.stringify:null;if(!e)return false;if(typeof e(v())!=="undefined")return true;if(e([v()])!=="[null]")return true;var t={a:v()};t[v()]=true;if(e(t)!=="{}")return true;return false}()),Hn=o(function(){if(!ve)return true;return JSON.stringify(Object(v()))==="{}"&&JSON.stringify([Object(v())])==="[{}]"});if(Nn||!Hn){var Fn=JSON.stringify;_(JSON,"stringify",function e(t){if(typeof t==="symbol")return;var i;if(arguments.length>1)i=arguments[1];var n=[t];if(!N(i)){var r=A.IsCallable(i)?i:null;var s=function(e,t){var i=r?L(r,this,e,t):t;if(typeof i!=="symbol")if(b.symbol(i))return Yt({})(i);else return i};n.push(s)}else n.push(i);if(arguments.length>2)n.push(arguments[2]);return Fn.apply(this,n)})}return D})?e.call(i,n,i,t):e)&&(t.exports=e)}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},
vendor: 72,469 bytes, line 1
1"./node_modules/handlebars/dist/handlebars.js":function(e,t,i){var n;n=function(){return n=[function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0;var r=n(i(2)),s=n(i(35)),o=i(36),a=i(41),l=n(i(42)),c=n(i(39)),n=n(i(34)),u=r.default.create;function d(){var i=u();return i.compile=function(e,t){return a.compile(e,t,i)},i.precompile=function(e,t){return a.precompile(e,t,i)},i.AST=s.default,i.Compiler=a.Compiler,i.JavaScriptCompiler=l.default,i.Parser=o.parser,i.parse=o.parse,i}i=d();i.create=d,n.default(i),i.Visitor=c.default,i.default=i,t.default=i,e.exports=t.default},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,i){"use strict";var n=i(3).default,r=i(1).default;t.__esModule=!0;var s=n(i(4)),o=r(i(21)),a=r(i(6)),l=n(i(5)),c=n(i(22)),n=r(i(34));function u(){var t=new s.HandlebarsEnvironment;return l.extend(t,s),t.SafeString=o.default,t.Exception=a.default,t.Utils=l,t.escapeExpression=l.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}r=u();r.create=u,n.default(r),r.default=r,t.default=r,e.exports=t.default},function(e,t){"use strict";t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t},t.__esModule=!0},function(e,t,i){"use strict";var n=i(1).default,r=(t.__esModule=!0,t.HandlebarsEnvironment=c,i(5)),s=n(i(6)),o=i(10),a=i(18),n=n(i(20)),l=(t.VERSION="4.1.0",t.COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"},"[object Object]");function c(e,t,i){this.helpers=e||{},this.partials=t||{},this.decorators=i||{},o.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:n.default,log:n.default.log,registerHelper:function(e,t){if(r.toString.call(e)===l){if(t)throw new s.default("Arg not supported with multiple helpers");r.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(r.toString.call(e)===l)r.extend(this.partials,e);else{if(void 0===t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(r.toString.call(e)===l){if(t)throw new s.default("Arg not supported with multiple decorators");r.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};i=n.default.log;t.log=i,t.createFrame=r.createFrame,t.logger=n.default},function(e,t){"use strict";t.__esModule=!0,t.extend=o,t.indexOf=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return r.test(e)?e.replace(n,s):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=o({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=/[&<>"'`=]/g,r=/[&<>"'`=]/;function s(e){return i[e]}function o(e){for(var t=1;t<arguments.length;t++)for(var i in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],i)&&(e[i]=arguments[t][i]);return e}var a=Object.prototype.toString,l=(t.toString=a,function(e){return"function"==typeof e}),c=(l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)}),t.isFunction=l,Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===a.call(e)});t.isArray=c},function(e,t,i){"use strict";var o=i(7).default,a=(t.__esModule=!0,["description","fileName","lineNumber","message","name","number","stack"]);function l(e,t){for(var t=t&&t.loc,i=void 0,n=void 0,r=(t&&(e+=" - "+(i=t.start.line)+":"+(n=t.start.column)),Error.prototype.constructor.call(this,e)),s=0;s<a.length;s++)this[a[s]]=r[a[s]];Error.captureStackTrace&&Error.captureStackTrace(this,l);try{t&&(this.lineNumber=i,o?Object.defineProperty(this,"column",{value:n,enumerable:!0}):this.column=n)}catch(e){}}l.prototype=new Error,t.default=l,e.exports=t.default},function(e,t,i){e.exports={default:i(8),__esModule:!0}},function(e,t,i){var n=i(9);e.exports=function(e,t,i){return n.setDesc(e,t,i)}},function(e,t){var i=Object;e.exports={create:i.create,getProto:i.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:i.getOwnPropertyDescriptor,setDesc:i.defineProperty,setDescs:i.defineProperties,getKeys:i.keys,getNames:i.getOwnPropertyNames,getSymbols:i.getOwnPropertySymbols,each:[].forEach}},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0,t.registerDefaultHelpers=function(e){r.default(e),s.default(e),o.default(e),a.default(e),l.default(e),c.default(e),u.default(e)};var r=n(i(11)),s=n(i(12)),o=n(i(13)),a=n(i(14)),l=n(i(15)),c=n(i(16)),u=n(i(17))},function(e,t,i){"use strict";t.__esModule=!0;var s=i(5);t.default=function(r){r.registerHelper("blockHelperMissing",function(e,t){var i=t.inverse,n=t.fn;return!0===e?n(this):!1===e||null==e?i(this):s.isArray(e)?0<e.length?(t.ids&&(t.ids=[t.name]),r.helpers.each(e,t)):i(this):(t.data&&t.ids&&((i=s.createFrame(t.data)).contextPath=s.appendContextPath(t.data.contextPath,t.name),t={data:i}),n(e,t))})},e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default,h=(t.__esModule=!0,i(5)),f=n(i(6));t.default=function(e){e.registerHelper("each",function(n,e){if(!e)throw new f.default("Must pass iterator to #each");var r=e.fn,t=e.inverse,i=0,s="",o=void 0,a=void 0;function l(e,t,i){o&&(o.key=e,o.index=t,o.first=0===t,o.last=!!i,a&&(o.contextPath=a+e)),s+=r(n[e],{data:o,blockParams:h.blockParams([n[e],e],[a+e,null])})}if(e.data&&e.ids&&(a=h.appendContextPath(e.data.contextPath,e.ids[0])+"."),h.isFunction(n)&&(n=n.call(this)),e.data&&(o=h.createFrame(e.data)),n&&"object"==typeof n)if(h.isArray(n))for(var c=n.length;i<c;i++)i in n&&l(i,i,i===n.length-1);else{var u,d=void 0;for(u in n)n.hasOwnProperty(u)&&(void 0!==d&&l(d,i-1),d=u,i++);void 0!==d&&l(d,i-1,!0)}return s=0===i?t(this):s})},e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0;var r=n(i(6));t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,i){"use strict";t.__esModule=!0;var n=i(5);t.default=function(i){i.registerHelper("if",function(e,t){return n.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||n.isEmpty(e)?t.inverse(this):t.fn(this)}),i.registerHelper("unless",function(e,t){return i.helpers.if.call(this,e,{fn:t.inverse,inverse:t.fn,hash:t.hash})})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(r){r.registerHelper("log",function(){for(var e=[void 0],t=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)e.push(arguments[i]);var n=1;null!=t.hash.level?n=t.hash.level:t.data&&null!=t.data.level&&(n=t.data.level),e[0]=n,r.log.apply(r,e)})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t){return e&&e[t]})},e.exports=t.default},function(e,t,i){"use strict";t.__esModule=!0;var r=i(5);t.default=function(e){e.registerHelper("with",function(e,t){r.isFunction(e)&&(e=e.call(this));var i,n=t.fn;return r.isEmpty(e)?t.inverse(this):(i=t.data,t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])}))})},e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0,t.registerDefaultDecorators=function(e){r.default(e)};var r=n(i(19))},function(e,t,i){"use strict";t.__esModule=!0;var o=i(5);t.default=function(e){e.registerDecorator("inline",function(n,r,s,e){var t=n;return r.partials||(r.partials={},t=function(e,t){var i=s.partials,e=(s.partials=o.extend({},i,r.partials),n(e,t));return s.partials=i,e}),r.partials[e.args[0]]=e.fn,t})},e.exports=t.default},function(e,t,i){"use strict";t.__esModule=!0;var n=i(5),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){var t;return e="string"==typeof e?0<=(t=n.indexOf(r.methodMap,e.toLowerCase()))?t:parseInt(e,10):e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){e=r.methodMap[e];console[e]||(e="log");for(var t=arguments.length,i=Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];console[e].apply(console,i)}}};t.default=r,e.exports=t.default},function(e,t){"use strict";function i(e){this.string=e}t.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},t.default=i,e.exports=t.default},function(e,t,i){"use strict";var n=i(23).default,r=i(3).default,s=i(1).default;t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,i=h.COMPILER_REVISION;if(t!==i)throw t<i?(i=h.REVISION_CHANGES[i],t=h.REVISION_CHANGES[t],new d.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+t+").")):new d.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(a,l){if(!l)throw new d.default("No environment passed to template");if(!a||!a.main)throw new d.default("Unknown template object: "+typeof a);a.main.decorator=a.main_d,l.VM.checkRevision(a.compiler);var o={strict:function(e,t){if(t in e)return e[t];throw new d.default('"'+t+'" not defined in '+e)},lookup:function(e,t){for(var i=e.length,n=0;n<i;n++)if(e[n]&&null!=e[n][t])return e[n][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:u.escapeExpression,invokePartial:function(e,t,i){i.hash&&(t=u.extend({},t,i.hash),i.ids&&(i.ids[0]=!0)),e=l.VM.resolvePartial.call(this,e,t,i);var n=l.VM.invokePartial.call(this,e,t,i);if(null==n&&l.compile&&(i.partials[i.name]=l.compile(e,a.compilerOptions,l),n=i.partials[i.name](t,i)),null==n)throw new d.default("The partial "+i.name+" could not be compiled when running in runtime-only mode");if(i.indent){for(var r=n.split("\n"),s=0,o=r.length;s<o&&(r[s]||s+1!==o);s++)r[s]=i.indent+r[s];n=r.join("\n")}return n},fn:function(e){var t=a[e];return t.decorator=a[e+"_d"],t},programs:[],program:function(e,t,i,n,r){var s=this.programs[e],o=this.fn(e);return s=t||r||n||i?f(this,e,o,t,i,n,r):s||(this.programs[e]=f(this,e,o))},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var i=e||t;return i=e&&t&&e!==t?u.extend({},t,e):i},nullContext:n({}),noop:l.VM.noop,compilerInfo:a.compiler};function c(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t.data,n=(c._setup(t),!t.partial&&a.useData&&(i=function(e,t){t&&"root"in t||((t=t?h.createFrame(t):{}).root=e);return t}(e,i)),void 0),r=a.useBlockParams?[]:void 0;function s(e){return""+a.main(o,e,o.helpers,o.partials,i,r,n)}return a.useDepths&&(n=t.depths?e!=t.depths[0]?[e].concat(t.depths):t.depths:[e]),(s=p(a.main,s,o,t.depths||[],i,r))(e,t)}return c.isTop=!0,c._setup=function(e){e.partial?(o.helpers=e.helpers,o.partials=e.partials,o.decorators=e.decorators):(o.helpers=o.merge(e.helpers,l.helpers),a.usePartial&&(o.partials=o.merge(e.partials,l.partials)),(a.usePartial||a.useDecorators)&&(o.decorators=o.merge(e.decorators,l.decorators)))},c._child=function(e,t,i,n){if(a.useBlockParams&&!i)throw new d.default("must pass block params");if(a.useDepths&&!n)throw new d.default("must pass parent depths");return f(o,e,a[e],t,0,i,n)},c},t.wrapProgram=f,t.resolvePartial=function(e,t,i){e?e.call||i.name||(i.name=e,e=i.partials[e]):e="@partial-block"===i.name?i.data["partial-block"]:i.partials[i.name];return e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var s=void 0;n.fn&&n.fn!==o&&!function(){n.data=h.createFrame(n.data);var i=n.fn;s=n.data["partial-block"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.data=h.createFrame(t.data),t.data["partial-block"]=r,i(e,t)},i.partials&&(n.partials=u.extend({},n.partials,i.partials))}();void 0===e&&s&&(e=s);{if(void 0===e)throw new d.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}},t.noop=o;var u=r(i(5)),d=s(i(6)),h=i(4);function f(n,e,r,s,t,o,a){function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=a;return!a||e==a[0]||e===n.nullContext&&null===a[0]||(i=[e].concat(a)),r(n,e,n.helpers,n.partials,t.data||s,o&&[t.blockParams].concat(o),i)}return(i=p(r,i,n,a,s,o)).program=e,i.depth=a?a.length:0,i.blockParams=t||0,i}function o(){return""}function p(e,t,i,n,r,s){return e.decorator&&(t=e.decorator(t,e={},i,n&&n[0],r,s,n),u.extend(t,e)),t}},function(e,t,i){e.exports={default:i(24),__esModule:!0}},function(e,t,i){i(25),e.exports=i(30).Object.seal},function(e,t,i){var n=i(26);i(27)("seal",function(t){return function(e){return t&&n(e)?t(e):e}})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,i){var r=i(28),s=i(30),o=i(33);e.exports=function(e,t){var i=(s.Object||{})[e]||Object[e],n={};n[e]=t(i),r(r.S+r.F*o(function(){i(1)}),"Object",n)}},function(e,t,i){function p(e,t,i){var n,r,s,o=e&p.F,a=e&p.G,l=e&p.S,c=e&p.P,u=e&p.B,d=e&p.W,h=a?g:g[t]||(g[t]={}),f=a?m:l?m[t]:(m[t]||{})[y];for(n in i=a?t:i)(r=!o&&f&&n in f)&&n in h||(s=(r?f:i)[n],h[n]=a&&"function"!=typeof f[n]?i[n]:u&&r?v(s,m):d&&f[n]==s?function(t){function e(e){return this instanceof t?new t(e):t(e)}return e[y]=t[y],e}(s):c&&"function"==typeof s?v(Function.call,s):s,c&&((h[y]||(h[y]={}))[n]=s))}var m=i(29),g=i(30),v=i(31),y="prototype";p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,e.exports=p},function(e,t){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(e,t){e=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=e)},function(e,t,i){var s=i(32);e.exports=function(n,r,e){if(s(n),void 0===r)return n;switch(e){case 1:return function(e){return n.call(r,e)};case 2:return function(e,t){return n.call(r,e,t)};case 3:return function(e,t,i){return n.call(r,e,t,i)}}return function(){return n.apply(r,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){!function(n){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,i=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=i),e}},e.exports=t.default}.call(t,function(){return this}())},function(e,t){"use strict";t.__esModule=!0;var i={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!i.helpers.scopedId(e)&&!e.depth}}};t.default=i,e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default,r=i(3).default;t.__esModule=!0,t.parse=function(e,t){return"Program"!==e.type?((s.default.yy=a).locInfo=function(e){return new a.SourceLocation(t&&t.srcName,e)},new o.default(t).accept(s.default.parse(e))):e};var s=n(i(37)),o=n(i(38)),n=r(i(40)),r=i(5),a=(t.parser=s.default,{});r.extend(a,n)},function(e,t){"use strict";t.__esModule=!0;n={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1),this.yylloc.range);return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(20<e.length?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(20<e.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,i,n,r=this._currentRules(),s=0;s<r.length&&(!(t=this._input.match(this.rules[r[s]]))||e&&!(t[0].length>e[0].length)||(e=t,i=s,this.options.flex));s++);return e?((n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,r[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,i,t,n){function r(e,t){return i.yytext=i.yytext.substr(e,i.yyleng-t)}switch(t){case 0:if("\\\\"===i.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===i.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),i.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(i.yytext=i.yytext.substr(5,i.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(i.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return i.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return i.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return i.yytext=i.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!(i={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,i,n,r,s,o){var a=s.length-1;switch(r){case 1:return s[a-1];case 2:this.$=n.prepareProgram(s[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=s[a];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(s[a]),strip:n.stripFlags(s[a],s[a]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:s[a],value:s[a],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(s[a-2],s[a-1],s[a],this._$);break;case 12:this.$={path:s[a-3],params:s[a-2],hash:s[a-1]};break;case 13:this.$=n.prepareBlock(s[a-3],s[a-2],s[a-1],s[a],!1,this._$);break;case 14:this.$=n.prepareBlock(s[a-3],s[a-2],s[a-1],s[a],!0,this._$);break;case 15:this.$={open:s[a-5],path:s[a-4],params:s[a-3],hash:s[a-2],blockParams:s[a-1],strip:n.stripFlags(s[a-5],s[a])};break;case 16:case 17:this.$={path:s[a-4],params:s[a-3],hash:s[a-2],blockParams:s[a-1],strip:n.stripFlags(s[a-5],s[a])};break;case 18:this.$={strip:n.stripFlags(s[a-1],s[a-1]),program:s[a]};break;case 19:var l=n.prepareBlock(s[a-2],s[a-1],s[a],s[a],!1,this._$),l=n.prepareProgram([l],s[a-1].loc);l.chained=!0,this.$={strip:s[a-2].strip,program:l,chain:!0};break;case 20:this.$=s[a];break;case 21:this.$={path:s[a-1],strip:n.stripFlags(s[a-2],s[a])};break;case 22:case 23:this.$=n.prepareMustache(s[a-3],s[a-2],s[a-1],s[a-4],n.stripFlags(s[a-4],s[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:s[a-3],params:s[a-2],hash:s[a-1],indent:"",strip:n.stripFlags(s[a-4],s[a]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(s[a-2],s[a-1],s[a],this._$);break;case 26:this.$={path:s[a-3],params:s[a-2],hash:s[a-1],strip:n.stripFlags(s[a-4],s[a])};break;case 27:case 28:this.$=s[a];break;case 29:this.$={type:"SubExpression",path:s[a-3],params:s[a-2],hash:s[a-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:s[a],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(s[a-2]),value:s[a],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(s[a-1]);break;case 33:case 34:this.$=s[a];break;case 35:this.$={type:"StringLiteral",value:s[a],original:s[a],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(s[a]),original:Number(s[a]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===s[a],original:"true"===s[a],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:case 41:this.$=s[a];break;case 42:this.$=n.preparePath(!0,s[a],this._$);break;case 43:this.$=n.preparePath(!1,s[a],this._$);break;case 44:s[a-2].push({part:n.id(s[a]),original:s[a],separator:s[a-1]}),this.$=s[a-2];break;case 45:this.$=[{part:n.id(s[a]),original:s[a]}];break;case 46:this.$=[];break;case 47:s[a-1].push(s[a]);break;case 48:this.$=[s[a]];break;case 49:s[a-1].push(s[a]);break;case 50:this.$=[];break;case 51:s[a-1].push(s[a]);break;case 58:this.$=[];break;case 59:s[a-1].push(s[a]);break;case 64:this.$=[];break;case 65:s[a-1].push(s[a]);break;case 70:this.$=[];break;case 71:s[a-1].push(s[a]);break;case 78:this.$=[];break;case 79:s[a-1].push(s[a]);break;case 82:this.$=[];break;case 83:s[a-1].push(s[a]);break;case 86:this.$=[];break;case 87:s[a-1].push(s[a]);break;case 90:this.$=[];break;case 91:s[a-1].push(s[a]);break;case 94:this.$=[];break;case 95:s[a-1].push(s[a]);break;case 98:this.$=[s[a]];break;case 99:s[a-1].push(s[a]);break;case 100:this.$=[s[a]];break;case 101:s[a-1].push(s[a])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,i=[0],n=[null],r=[],s=this.table,o="",a=0,l=0,c=0,u=(this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===(this.yy.parser=this).lexer.yylloc&&(this.lexer.yylloc={}),this.lexer.yylloc),d=(r.push(u),this.lexer.options&&this.lexer.options.ranges);"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,f,p,m,g,v,y,b,_={};;){if(p=i[i.length-1],void 0===(m=this.defaultActions[p]||(null==h&&(x=void 0,h=x="number"!=typeof(x=t.lexer.lex()||1)&&t.symbols_[x]||x),s[p]&&s[p][h]))||!m.length||!m[0]){var x="";if(!c){for(g in b=[],s[p])this.terminals_[g]&&2<g&&b.push("'"+this.terminals_[g]+"'");x=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:b})}}if(m[0]instanceof Array&&1<m.length)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+h);switch(m[0]){case 1:i.push(h),n.push(this.lexer.yytext),r.push(this.lexer.yylloc),i.push(m[1]),h=null,f?(h=f,f=null):(l=this.lexer.yyleng,o=this.lexer.yytext,a=this.lexer.yylineno,u=this.lexer.yylloc,0<c&&c--);break;case 2:if(v=this.productions_[m[1]][1],_.$=n[n.length-v],_._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},d&&(_._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.call(_,o,l,a,this.yy,m[1],n,r)))return y;v&&(i=i.slice(0,-1*v*2),n=n.slice(0,-1*v),r=r.slice(0,-1*v)),i.push(this.productions_[m[1]][0]),n.push(_.$),r.push(_._$),y=s[i[i.length-2]][i[i.length-1]],i.push(y);break;case 3:return!0}}return!0}})},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}},i.lexer=n;var i,n=new((r.prototype=i).Parser=r);function r(){this.yy={}}t.default=n,e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0;n=n(i(39));function r(){this.options=arguments.length<=0||void 0===arguments[0]?{}:arguments[0]}function h(e,t,i){var n=e[(t=void 0===t?e.length:t)-1],e=e[t-2];return n?"ContentStatement"===n.type?(e||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function f(e,t,i){var n=e[(t=void 0===t?-1:t)+1],e=e[t+2];return n?"ContentStatement"===n.type?(e||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function p(e,t,i){e=e[null==t?0:t+1];!e||"ContentStatement"!==e.type||!i&&e.rightStripped||(t=e.value,e.value=e.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),e.rightStripped=e.value!==t)}function m(e,t,i){e=e[null==t?e.length-1:t-1];if(e&&"ContentStatement"===e.type&&(i||!e.leftStripped))return t=e.value,e.value=e.value.replace(i?/\s+$/:/[ \t]+$/,""),e.leftStripped=e.value!==t,e.leftStripped}(r.prototype=new n.default).Program=function(e){for(var t=!this.options.ignoreStandalone,i=!this.isRootSeen,n=(this.isRootSeen=!0,e.body),r=0,s=n.length;r<s;r++){var o,a,l,c,u=n[r],d=this.accept(u);d&&(c=h(n,r,i),o=f(n,r,i),a=d.openStandalone&&c,l=d.closeStandalone&&o,c=d.inlineStandalone&&c&&o,d.close&&p(n,r,!0),d.open&&m(n,r,!0),t&&c&&(p(n,r),m(n,r)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[r-1].original)[1])),t&&a&&(p((u.program||u.inverse).body),m(n,r)),t&&l&&(p(n,r),m((u.inverse||u.program).body)))}return e},r.prototype.BlockStatement=r.prototype.DecoratorBlock=r.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,i=e.program&&e.inverse,n=i,r=i;if(i&&i.chained)for(n=i.body[0].program;r.chained;)r=r.body[r.body.length-1].program;var s={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:f(t.body),closeStandalone:h((n||t).body)};return e.openStrip.close&&p(t.body,null,!0),i?((i=e.inverseStrip).open&&m(t.body,null,!0),i.close&&p(n.body,null,!0),e.closeStrip.open&&m(r.body,null,!0),!this.options.ignoreStandalone&&h(t.body)&&f(n.body)&&(m(t.body),p(n.body))):e.closeStrip.open&&m(t.body,null,!0),s},r.prototype.Decorator=r.prototype.MustacheStatement=function(e){return e.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(e){e=e.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},t.default=r,e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0;var r=n(i(6));function s(){this.parents=[]}function o(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function a(e){o.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}s.prototype={constructor:s,mutating:!1,acceptKey:function(e,t){var i=this.accept(e[t]);if(this.mutating){if(i&&!s.prototype[i.type])throw new r.default('Unexpected node type "'+i.type+'" found when accepting '+t+" on "+e.type);e[t]=i}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new r.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,i=e.length;t<i;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,i--)},accept:function(e){if(e){if(!this[e.type])throw new r.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:o,Decorator:o,BlockStatement:a,DecoratorBlock:a,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:o,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=s,e.exports=t.default},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,i){i=this.locInfo(i);for(var n=e?"@":"",r=[],s=0,o=0,a=t.length;o<a;o++){var l=t[o].part,c=t[o].original!==l;if(n+=(t[o].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)r.push(l);else{if(0<r.length)throw new u.default("Invalid path: "+n,{loc:i});".."===l&&s++}}return{type:"PathExpression",data:e,depth:s,parts:r,original:n,loc:i}},t.prepareMustache=function(e,t,i,n,r,s){var o=n.charAt(3)||n.charAt(2),o="{"!==o&&"&"!==o;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:e,params:t,hash:i,escaped:o,strip:r,loc:this.locInfo(s)}},t.prepareRawBlock=function(e,t,i,n){c(e,i),n=this.locInfo(n);i={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}},t.prepareBlock=function(e,t,i,n,r,s){n&&n.path&&c(e,n);var o=/\*/.test(e.open),a=void(t.blockParams=e.blockParams),l=void 0;if(i){if(o)throw new u.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=n.strip),l=i.strip,a=i.program}r&&(r=a,a=t,t=r);return{type:o?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:a,openStrip:e.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}},t.prepareProgram=function(e,t){{var i,n;!t&&e.length&&(i=e[0].loc,n=e[e.length-1].loc,i&&n&&(t={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:n.end.line,column:n.end.column}}))}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,i,n){return c(e,i),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:i&&i.strip,loc:this.locInfo(n)}};var u=n(i(6));function c(e,t){var i;if(t=t.path?t.path.original:t,e.path.original!==t)throw i={loc:e.path.loc},new u.default(e.path.original+" doesn't match "+t,i)}},function(e,t,i){"use strict";var n=i(1).default;t.__esModule=!0,t.Compiler=l,t.precompile=function(e,t,i){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0);t.compat&&(t.useDepths=!0);e=i.parse(e,t),e=(new i.Compiler).compile(e,t);return(new i.JavaScriptCompiler).compile(e,t)},t.compile=function(t,i,n){void 0===i&&(i={});if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(i=a.extend({},i))||(i.data=!0);i.compat&&(i.useDepths=!0);var r=void 0;function s(){var e=n.parse(t,i),e=(new n.Compiler).compile(e,i),e=(new n.JavaScriptCompiler).compile(e,i,void 0,!0);return n.template(e)}function e(e,t){return(r=r||s()).call(this,e,t)}return e._setup=function(e){return(r=r||s())._setup(e)},e._child=function(e,t,i,n){return(r=r||s())._child(e,t,i,n)},e};var o=n(i(6)),a=i(5),r=n(i(35)),s=[].slice;function l(){}function c(e){var t;e.path.parts||(t=e.path,e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc})}l.prototype={compiler:l,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var i=0;i<t;i++){var n=this.opcodes[i],r=e.opcodes[i];if(n.opcode!==r.opcode||!function e(t,i){if(t===i)return!0;if(a.isArray(t)&&a.isArray(i)&&t.length===i.length){for(var n=0;n<t.length;n++)if(!e(t[n],i[n]))return!1;return!0}}(n.args,r.args))return!1}for(t=this.children.length,i=0;i<t;i++)if(!this.children[i].equals(e.children[i]))return!1;return!0},guid:0,compile:function(e,t){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[];var i=t.knownHelpers;if(t.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},i)for(var n in i)this.options.knownHelpers[n]=i[n];return this.accept(e)},compileProgram:function(e){var e=(new this.compiler).compile(e,this.options),t=this.guid++;return this.usePartial=this.usePartial||e.usePartial,this.children[t]=e,this.useDepths=this.useDepths||e.useDepths,t},accept:function(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);e=this[e.type](e);return this.sourceNode.shift(),e},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,i=t.length,n=0;n<i;n++)this.accept(t[n]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){c(e);var t=e.program,i=e.inverse,t=t&&this.compileProgram(t),i=i&&this.compileProgram(i),n=this.classifySexpr(e);"helper"===n?this.helperSexpr(e,t,i):"simple"===n?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,i),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),t=this.setupFullMustacheParams(e,t,void 0),e=e.path;this.useDecorators=!0,this.opcode("registerDecorator",t.length,e.original)},PartialStatement:function(e){this.usePartial=!0;var t=(t=e.program)&&this.compileProgram(e.program),i=e.params;if(1<i.length)throw new o.default("Unsupported number of partial arguments: "+i.length,e);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,n="SubExpression"===e.name.type,t=(n&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0),e.indent||"");this.options.preventIndent&&t&&(this.opcode("appendContent",t),t=""),this.opcode("invokePartial",n,i,t),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){c(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,i){var e=e.path,n=e.parts[0],r=null!=t||null!=i;this.opcode("getContext",e.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",i),e.strict=!0,this.accept(e),this.opcode("invokeAmbiguous",n,r)},simpleSexpr:function(e){e=e.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,i){var t=this.setupFullMustacheParams(e,t,i),i=e.path,n=i.parts[0];if(this.options.knownHelpers[n])this.opcode("invokeKnownHelper",t.length,n);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+n,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",t.length,i.original,r.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],i=r.default.helpers.scopedId(e),n=!e.depth&&!i&&this.blockParamIndex(t);n?this.opcode("lookupBlockParam",n,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,i):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,i=0,n=t.length;for(this.opcode("pushHash");i<n;i++)this.pushParam(t[i].value);for(;i--;)this.opcode("assignToHash",t[i].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:s.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=r.default.helpers.simpleId(e.path),i=t&&!!this.blockParamIndex(e.path.parts[0]),n=!i&&r.default.helpers.helperExpression(e),i=!i&&(n||t);return i&&!n&&(t=e.path.parts[0],(e=this.options).knownHelpers[t]?n=!0:e.knownHelpersOnly&&(i=!1)),n?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,i=e.length;t<i;t++)this.pushParam(e[t])},pushParam:function(e){var t,i,n=null!=e.value?e.value:e.original||"";this.stringParams?(n.replace&&(n=n.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",n,e.type),"SubExpression"===e.type&&this.accept(e)):(this.trackIds&&(t=void 0,(t=!e.parts||r.default.helpers.scopedId(e)||e.depth?t:this.blockParamIndex(e.parts[0]))?(i=e.parts.slice(1).join("."),this.opcode("pushId","BlockParam",t,i)):((n=e.original||n).replace&&(n=n.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,n))),this.accept(e))},setupFullMustacheParams:function(e,t,i,n){var r=e.params;return this.pushParams(r),this.opcode("pushProgram",t),this.opcode("pushProgram",i),e.hash?this.accept(e.hash):this.opcode("emptyHash",n),r},blockParamIndex:function(e){for(var t=0,i=this.options.blockParams.length;t<i;t++){var n=this.options.blockParams[t],r=n&&a.indexOf(n,e);if(n&&0<=r)return[t,r]}}}},function(e,t,i){"use strict";var n=i(1).default,r=(t.__esModule=!0,i(4)),h=n(i(6)),s=i(5),o=n(i(43));function a(e){this.value=e}function l(){}l.prototype={nameLookup:function(e,t){return"constructor"===t?["(",e,".propertyIsEnumerable('constructor') ? ",e,".constructor : undefined",")"]:l.isValidJavaScriptVariableName(t)?[e,".",t]:[e,"[",JSON.stringify(t),"]"]},depthedLookup:function(e){return[this.aliasable("container.lookup"),'(depths, "',e,'")']},compilerInfo:function(){var e=r.COMPILER_REVISION;return[e,r.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,i){return s.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:i?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},compile:function(e,t,i,n){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var r,s=e.opcodes,o=void 0,a=void 0,l=void 0;for(a=0,l=s.length;a<l;a++)r=s[a],this.source.currentLocation=r.loc,o=o||r.loc,this[r.opcode].apply(this,r.args);if(this.source.currentLocation=o,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new h.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));i=this.createFunctionContext(n);if(this.isChild)return i;for(var c={compiler:this.compilerInfo(),main:i},e=(this.decorators&&(c.main_d=this.decorators,c.useDecorators=!0),this.context),u=e.programs,d=e.decorators,a=0,l=u.length;a<l;a++)u[a]&&(c[a]=u[a],d[a]&&(c[a+"_d"]=d[a],c.useDecorators=!0));return this.environment.usePartial&&(c.usePartial=!0),this.options.data&&(c.useData=!0),this.useDepths&&(c.useDepths=!0),this.useBlockParams&&(c.useBlockParams=!0),this.options.compat&&(c.compat=!0),n?c.compilerOptions=this.options:(c.compiler=JSON.stringify(c.compiler),this.source.currentLocation={start:{line:1,column:0}},c=this.objectLiteral(c),t.srcName?(c=c.toStringWithSourceMap({file:t.destName})).map=c.map&&c.map.toString():c=c.toString()),c},preamble:function(){this.lastContext=0,this.source=new o.default(this.options.srcName),this.decorators=new o.default(this.options.srcName)},createFunctionContext:function(e){var t,i="",n=this.stackVars.concat(this.registers.list),r=(0<n.length&&(i+=", "+n.join(", ")),0);for(t in this.aliases){var s=this.aliases[t];this.aliases.hasOwnProperty(t)&&s.children&&1<s.referenceCount&&(i+=", alias"+ ++r+"="+t,s.children[0]="alias"+r)}var n=["container","depth0","helpers","partials","data"],o=((this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),this.mergeSource(i));return e?(n.push(o),Function.apply(this,n)):this.source.wrap(["function(",n.join(","),") {\n  ",o,"}"])},mergeSource:function(e){var t=this.environment.isSimple,i=!this.forceBuffer,n=void 0,r=void 0,s=void 0,o=void 0;return this.source.each(function(e){e.appendToBuffer?(s?e.prepend("  + "):s=e,o=e):(s&&(r?s.prepend("buffer += "):n=!0,o.add(";"),s=o=void 0),r=!0,t||(i=!1))}),i?s?(s.prepend("return "),o.add(";")):r||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),o.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),i=[this.contextName(0)],e=(this.setupHelperArgs(e,0,i),this.popStack());i.splice(1,0,e),this.push(this.source.functionCall(t,"call",i))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)],i=(this.setupHelperArgs("",0,t,!0),this.flushInline(),this.topStack());t.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){var e;this.isInline()?(this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()))):(e=this.popStack(),this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"]))},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,i,n){var r=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[r++])),this.resolvePath("context",e,r,t,i)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,i){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,i)},resolvePath:function(i,n,r,s,e){var o=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,i,n){var r=t.popStack(),s=0,o=i.length;e&&o--;for(;s<o;s++)r=t.nameLookup(r,i[s],n);return e?[t.aliasable("container.strict"),"(",r,", ",t.quotedString(i[s]),")"]:r}(this.options.strict&&e,this,n,i));else for(var t=n.length;r<t;r++)this.replaceStack(function(e){var t=o.nameLookup(e,n[r],i);return s?[" && ",t]:[" != null ? ",t," : ",e]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var i=this.nameLookup("decorators",t,"decorator"),t=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(i,"",["fn","props","container",t])," || fn;"])},invokeHelper:function(e,t,i){var n=this.popStack(),e=this.setupHelper(e,t),t=i?[e.name," || "]:"",i=["("].concat(t,n);this.options.strict||i.push(" || ",this.aliasable("helpers.helperMissing")),i.push(")"),this.push(this.source.functionCall(i,"call",e.callParams))},invokeKnownHelper:function(e,t){e=this.setupHelper(e,t);this.push(this.source.functionCall(e.name,"call",e.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var i=this.popStack(),t=(this.emptyHash(),this.setupHelper(0,e,t)),e=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",i,")"];this.options.strict||(e[0]="(helper = ",e.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",e,t.paramsInit?["),(",t.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",t.callParams)," : helper))"])},invokePartial:function(e,t,i){var n=[],r=this.setupParams(t,1,n);e&&(t=this.popStack(),delete r.name),i&&(r.indent=JSON.stringify(i)),r.helpers="helpers",r.partials="partials",r.decorators="container.decorators",e?n.unshift(t):n.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(r.depths="depths"),r=this.objectLiteral(r),n.push(r),this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function(e){var t=this.popStack(),i=void 0,n=void 0,r=void 0,s=(this.trackIds&&(r=this.popStack()),this.stringParams&&(n=this.popStack(),i=this.popStack()),this.hash);i&&(s.contexts[e]=i),n&&(s.types[e]=n),r&&(s.ids[e]=r),s.values[e]=t},pushId:function(e,t,i){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:l,compileChildren:function(e,t){for(var i=e.children,n=void 0,r=void 0,s=0,o=i.length;s<o;s++){var a,n=i[s],r=new this.compiler,l=this.matchExistingProgram(n);null==l?(this.context.programs.push(""),a=this.context.programs.length,n.index=a,n.name="program"+a,this.context.programs[a]=r.compile(n,t,this.context,!this.precompile),this.context.decorators[a]=r.decorators,this.context.environments[a]=n,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams,n.useDepths=this.useDepths,n.useBlockParams=this.useBlockParams):(n.index=l.index,n.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams)}},matchExistingProgram:function(e){for(var t=0,i=this.context.environments.length;t<i;t++){var n=this.context.environments[t];if(n&&n.equals(e))return n}},programExpression:function(e){e=this.environment.children[e],e=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&e.push("blockParams"),this.useDepths&&e.push("depths"),"container.program("+e.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof a||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new a(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],i=void 0,n=void 0,r=void 0;if(!this.isInline())throw new h.default("replaceStack on non-inline");var s=this.popStack(!0),o=(s instanceof a?(t=["(",i=[s.value]],r=!0):(n=!0,o=this.incrStack(),t=["((",this.push(o)," = ",s,")"],i=this.topStack()),e.call(this,i));r||this.popStack(),n&&this.stackSlot--,this.push(t.concat(o,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,i=e.length;t<i;t++){var n,r=e[t];r instanceof a?this.compileStack.push(r):(n=this.incrStack(),this.pushSource([n," = ",r,";"]),this.compileStack.push(n))}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),i=(t?this.inlineStack:this.compileStack).pop();if(!e&&i instanceof a)return i.value;if(!t){if(!this.stackSlot)throw new h.default("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,e=e[e.length-1];return e instanceof a?e.value:e},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?t.referenceCount++:((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1),t},setupHelper:function(e,t,i){var n=[];return{params:n,paramsInit:this.setupHelperArgs(t,e,n,i),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(n)}},setupParams:function(e,t,i){for(var n,r={},s=[],o=[],a=[],l=!i,e=(l&&(i=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack()),this.popStack()),c=this.popStack(),u=((c||e)&&(r.fn=c||"container.noop",r.inverse=e||"container.noop"),t);u--;)n=this.popStack(),i[u]=n,this.trackIds&&(a[u]=this.popStack()),this.stringParams&&(o[u]=this.popStack(),s[u]=this.popStack());return l&&(r.args=this.source.generateArray(i)),this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(o),r.contexts=this.source.generateArray(s)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,i,n){e=this.setupParams(e,t,i),e=this.objectLiteral(e);return n?(this.useRegister("options"),i.push("options"),["options=",e]):i?(i.push(e),""):e}};for(var c="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),u=l.RESERVED_WORDS={},d=0,f=c.length;d<f;d++)u[c[d]]=!0;l.isValidJavaScriptVariableName=function(e){return!l.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=l,e.exports=t.default},function(e,t,i){"use strict";t.__esModule=!0;var o=i(5),n=void 0;function s(e,t,i){if(o.isArray(e)){for(var n=[],r=0,s=e.length;r<s;r++)n.push(t.wrap(e[r],i));return n}return"boolean"==typeof e||"number"==typeof e?e+"":e}function r(e){this.srcFile=e,this.source=[]}n||((n=function(e,t,i,n){this.src="",n&&this.add(n)}).prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),r.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var t=this.empty();return this.each(function(e){t.add(["  ",e,"\n"])}),t},each:function(e){for(var t=0,i=this.source.length;t<i;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new n(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof n?e:(e=s(e,this,t),new n(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,i){return i=this.generateList(i),this.wrap([e,t?"."+t+"(":"(",i,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t,i,n=[];for(t in e)!e.hasOwnProperty(t)||"undefined"!==(i=s(e[t],this))&&n.push([this.quotedString(t),":",i]);var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),i=0,n=e.length;i<n;i++)i&&t.add(","),t.add(s(e[i],this));return t},generateArray:function(e){e=this.generateList(e);return e.prepend("["),e.add("]"),e}},t.default=r,e.exports=t.default}],r={},i.m=n,i.c=r,i.p="",i(0);function i(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}var n,r},e.exports=n()},
vendor: 914 bytes, line 1
1"./node_modules/ieee754/index.js":function(e,t){t.read=function(e,t,i,n,r){var s,o,a=8*r-n-1,l=(1<<a)-1,c=l>>1,u=-7,d=i?r-1:0,h=i?-1:1,r=e[t+d];for(d+=h,s=r&(1<<-u)-1,r>>=-u,u+=a;0<u;s=256*s+e[t+d],d+=h,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=n;0<u;o=256*o+e[t+d],d+=h,u-=8);if(0===s)s=1-c;else{if(s===l)return o?NaN:1/0*(r?-1:1);o+=Math.pow(2,n),s-=c}return(r?-1:1)*o*Math.pow(2,s-n)},t.write=function(e,t,i,n,r,s){var o,a,l=8*s-r-1,c=(1<<l)-1,u=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,f=n?1:-1,s=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-o))<1&&(o--,n*=2),2<=(t+=1<=o+u?d/n:d*Math.pow(2,1-u))*n&&(o++,n/=2),c<=o+u?(a=0,o=c):1<=o+u?(a=(t*n-1)*Math.pow(2,r),o+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,r),o=0));8<=r;e[i+h]=255&a,h+=f,a/=256,r-=8);for(o=o<<r|a,l+=r;0<l;e[i+h]=255&o,h+=f,o/=256,l-=8);e[i+h-f]|=128*s}},
vendor: 4,550 bytes, line 1
1"./node_modules/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js":function(e,t,i){var n;i=[i("./node_modules/inputmask/dist/inputmask/global/window.js")],void 0!==(t="function"==typeof(n=function(t){var h=t.document;function n(e,t){var i=0,n=e.length;for(;i<n;i++)if(e[i]===t)return i;return-1}function r(e){return e!=null&&e===e.window}function s(e){var t="length"in e&&e.length,i=typeof e;if(i==="function"||r(e))return false;if(e.nodeType===1&&t)return true;return i==="array"||t===0||typeof t==="number"&&t>0&&t-1 in e}function f(e){return e instanceof Element}function p(e){if(e instanceof p)return e;if(!(this instanceof p))return new p(e);if(e!==undefined&&e!==null&&e!==t){this[0]=e.nodeName?e:e[0]!==undefined&&e[0].nodeName?e[0]:h.querySelector(e);if(this[0]!==undefined&&this[0]!==null)this[0].eventRegistry=this[0].eventRegistry||{}}}function e(e){return r(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}if(p.prototype={on:function(e,i){if(f(this[0])){var n=this[0].eventRegistry,r=this[0];var t=function(e,t){if(r.addEventListener)r.addEventListener(e,i,false);else if(r.attachEvent)r.attachEvent("on"+e,i);n[e]=n[e]||{};n[e][t]=n[e][t]||[];n[e][t].push(i)};var s=e.split(" ");for(var o=0;o<s.length;o++){var a=s[o].split("."),l=a[0],c=a[1]||"global";t(l,c)}}return this},off:function(e,a){if(f(this[0])){var l=this[0].eventRegistry,r=this[0];var t=function(e,t,i){if(e in l===true){if(r.removeEventListener)r.removeEventListener(e,i,false);else if(r.detachEvent)r.detachEvent("on"+e,i);if(t==="global")for(var n in l[e])l[e][n].splice(l[e][n].indexOf(i),1);else l[e][t].splice(l[e][t].indexOf(i),1)}};var i=function(e,t){var i=[],n,r;if(e.length>0)if(a===undefined)for(n=0,r=l[e][t].length;n<r;n++)i.push({ev:e,namespace:t&&t.length>0?t:"global",handler:l[e][t][n]});else i.push({ev:e,namespace:t&&t.length>0?t:"global",handler:a});else if(t.length>0)for(var s in l)for(var o in l[s])if(o===t)if(a===undefined)for(n=0,r=l[s][o].length;n<r;n++)i.push({ev:s,namespace:o,handler:l[s][o][n]});else i.push({ev:s,namespace:o,handler:a});return i};var n=e.split(" ");for(var s=0;s<n.length;s++){var o=n[s].split("."),c=i(o[0],o[1]);for(var u=0,d=c.length;u<d;u++)t(c[u].ev,c[u].namespace,c[u].handler)}}return this},trigger:function(e){if(f(this[0])){var t=this[0].eventRegistry,i=this[0];var n=typeof e==="string"?e.split(" "):[e.type];for(var r=0;r<n.length;r++){var s=n[r].split("."),o=s[0],a=s[1]||"global";if(h!==undefined&&a==="global"){var l,c,u={bubbles:true,cancelable:true,detail:arguments[1]};if(h.createEvent){try{l=new CustomEvent(o,u)}catch(e){l=h.createEvent("CustomEvent");l.initCustomEvent(o,u.bubbles,u.cancelable,u.detail)}if(e.type)p.extend(l,e);i.dispatchEvent(l)}else{l=h.createEventObject();l.eventType=o;l.detail=arguments[1];if(e.type)p.extend(l,e);i.fireEvent("on"+l.eventType,l)}}else if(t[o]!==undefined){arguments[0]=arguments[0].type?arguments[0]:p.Event(arguments[0]);if(a==="global")for(var d in t[o])for(c=0;c<t[o][d].length;c++)t[o][d][c].apply(i,arguments);else for(c=0;c<t[o][a].length;c++)t[o][a][c].apply(i,arguments)}}}return this}},p.isFunction=function(e){return typeof e==="function"},p.noop=function(){},p.isArray=Array.isArray,p.inArray=function(e,t,i){return t==null?-1:n(t,e,i)},p.valHooks=undefined,p.isPlainObject=function(e){if(typeof e!=="object"||e.nodeType||r(e))return false;if(e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))return false;return true},p.extend=function(){var e,t,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=false;if(typeof o==="boolean"){c=o;o=arguments[a]||{};a++}if(typeof o!=="object"&&!p.isFunction(o))o={};if(a===l){o=this;a--}for(;a<l;a++)if((e=arguments[a])!=null)for(t in e){i=o[t];n=e[t];if(o===n)continue;if(c&&n&&(p.isPlainObject(n)||(r=p.isArray(n)))){if(r){r=false;s=i&&p.isArray(i)?i:[]}else s=i&&p.isPlainObject(i)?i:{};o[t]=p.extend(c,s,n)}else if(n!==undefined)o[t]=n}return o},p.each=function(e,t){var i,n=0;if(s(e))for(var r=e.length;n<r;n++){i=t.call(e[n],n,e[n]);if(i===false)break}else for(n in e){i=t.call(e[n],n,e[n]);if(i===false)break}return e},p.data=function(e,t,i){if(i===undefined)return e.__data?e.__data[t]:null;else{e.__data=e.__data||{};e.__data[t]=i}},typeof t.CustomEvent==="function")p.Event=t.CustomEvent;else{p.Event=function(e,t){t=t||{bubbles:false,cancelable:false,detail:undefined};var i=h.createEvent("CustomEvent");i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail);return i};p.Event.prototype=t.Event.prototype}return p})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 404 bytes, line 1
1"./node_modules/inputmask/dist/inputmask/global/window.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module);void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},
vendor: 5,958 bytes, line 1
1"./node_modules/inputmask/dist/inputmask/inputmask.date.extensions.js":function(e,t,i){var n;i=[i("./node_modules/inputmask/dist/inputmask/inputmask.js")],void 0!==(t="function"==typeof(n=function(l){var c=l.dependencyLib,h={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return d(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return d(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return d(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return d(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return d(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return d(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return d(Date.prototype.getMinutes.call(this),2)}],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return d(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return d(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return d(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},t={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function f(e){if(!e.tokenizer){var t=[];for(var i in h)if(t.indexOf(i[0])===-1)t.push(i[0]);e.tokenizer="("+t.join("+|")+")+?|.";e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function o(e,t){return!isFinite(e.rawday)||e.day=="29"&&!isFinite(e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day?t:false}function a(e,t){var i=true;if(t.min){if(e["rawyear"]){var n=e["rawyear"].replace(/[^0-9]/g,""),r=t.min.year.substr(0,n.length);i=r<=n}if(e["year"]===e["rawyear"])if(t.min.date.getTime()===t.min.date.getTime())i=t.min.date.getTime()<=e.date.getTime()}if(i&&t.max&&t.max.date.getTime()===t.max.date.getTime())i=t.max.date.getTime()>=e.date.getTime();return i}function u(e,t,i,n){var r="",s;while(s=f(i).exec(e))if(t===undefined)if(h[s[0]])r+="("+h[s[0]][0]+")";else switch(s[0]){case"[":r+="(";break;case"]":r+=")?";break;default:r+=l.escapeRegex(s[0])}else if(h[s[0]])if(n!==true&&h[s[0]][3]){var o=h[s[0]][3];r+=o.call(t.date)}else if(h[s[0]][2])r+=t["raw"+h[s[0]][2]];else r+=s[0];else r+=s[0];return r}function d(e,t){e=String(e);t=t||2;while(e.length<t)e="0"+e;return e}function p(e,t,s){var i={date:new Date(1,0,1)},o,n=e,r,a,l;function c(e){var t=e.replace(/[^0-9]/g,"0");if(t!=e){var i=e.replace(/[^0-9]/g,""),n=(s.min&&s.min[o]||e).toString(),r=(s.max&&s.max[o]||e).toString();t=i+(i<n.slice(0,i.length)?n.slice(i.length):i>r.slice(0,i.length)?r.slice(i.length):t.toString().slice(i.length))}return t}function u(e,t,i){e[o]=c(t);e["raw"+o]=t;if(a!==undefined)a.call(e.date,o=="month"?parseInt(e[o])-1:e[o])}if(typeof n==="string"){while(r=f(s).exec(t)){var d=n.slice(0,r[0].length);if(h.hasOwnProperty(r[0])){l=h[r[0]][0];o=h[r[0]][2];a=h[r[0]][1];u(i,d,s)}n=n.slice(d.length)}return i}else if(n&&typeof n==="object"&&n.hasOwnProperty("date"))return n;return undefined}return l.extendAliases({datetime:{mask:function(e){h.S=e.i18n.ordinalSuffix.join("|");e.inputFormat=t[e.inputFormat]||e.inputFormat;e.displayFormat=t[e.displayFormat]||e.displayFormat||e.inputFormat;e.outputFormat=t[e.outputFormat]||e.outputFormat||e.inputFormat;e.placeholder=e.placeholder!==""?e.placeholder:e.inputFormat.replace(/[\[\]]/,"");e.regex=u(e.inputFormat,undefined,e);return null},placeholder:"",inputFormat:"isoDateTime",displayFormat:undefined,outputFormat:undefined,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(e,t,i,n){n.min=p(n.min,n.inputFormat,n);n.max=p(n.max,n.inputFormat,n);var r=i,s=p(e.join(""),n.inputFormat,n);if(r&&s.date.getTime()===s.date.getTime()){r=o(s,r);r=r&&a(s,n)}if(t&&r&&i.pos!==t)return{buffer:u(n.inputFormat,s,n),refreshFromBuffer:{start:t,end:i.pos}};return r},onKeyDown:function(e,t,i,n){var r=this;if(e.ctrlKey&&e.keyCode===l.keyCode.RIGHT){var s=new Date,o,a="";while(o=f(n).exec(n.inputFormat))if(o[0].charAt(0)==="d")a+=d(s.getDate(),o[0].length);else if(o[0].charAt(0)==="m")a+=d(s.getMonth()+1,o[0].length);else if(o[0]==="yyyy")a+=s.getFullYear().toString();else if(o[0].charAt(0)==="y")a+=d(s.getYear(),o[0].length);r.inputmask._valueSet(a);c(r).trigger("setvalue")}},onUnMask:function(e,t,i){return u(i.outputFormat,p(e,i.inputFormat,i),i,true)},casing:function(e,t,i,n){if(t.nativeDef.indexOf("[ap]")==0)return e.toLowerCase();if(t.nativeDef.indexOf("[AP]")==0)return e.toUpperCase();return e},insertMode:false,shiftPositions:false}}),l})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 51,641 bytes, line 1
1"./node_modules/inputmask/dist/inputmask/inputmask.js":function(e,t,i){var n;i=[i("./node_modules/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js"),i("./node_modules/inputmask/dist/inputmask/global/window.js")],void 0!==(t="function"==typeof(n=function(se,oe,ae){var le=oe.document,e=navigator.userAgent,ce=e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0,ue=pe("touchstart"),de=/iemobile/i.test(e),he=/iphone/i.test(e)&&!de;function fe(e,t,i){if(!(this instanceof fe))return new fe(e,t,i);this.el=ae;this.events={};this.maskset=ae;this.refreshValue=false;if(i!==true){if(se.isPlainObject(e))t=e;else{t=t||{};if(e)t.alias=e}this.opts=se.extend(true,{},this.defaults,t);this.noMasksCache=t&&t.definitions!==ae;this.userOptions=t||{};this.isRTL=this.opts.numericInput;u(this.opts.alias,t,this.opts)}}function u(e,t,i){var n=fe.prototype.aliases[e];if(n){if(n.alias)u(n.alias,ae,i);se.extend(true,i,n);se.extend(true,i,t);return true}else if(i.mask===null)i.mask=e;return false}function o(i,a){function e(e,t,i){var n=false;if(e===null||e===""){n=i.regex!==null;if(n){e=i.regex;e=e.replace(/^(\^)(.*)(\$)$/,"$2")}else{n=true;e=".*"}}if(e.length===1&&i.greedy===false&&i.repeat!==0)i.placeholder="";if(i.repeat>0||i.repeat==="*"||i.repeat==="+"){var r=i.repeat==="*"?0:i.repeat==="+"?1:i.repeat;e=i.groupmarker[0]+e+i.groupmarker[1]+i.quantifiermarker[0]+r+","+i.repeat+i.quantifiermarker[1]}var s,o=n?"regex_"+i.regex:i.numericInput?e.split("").reverse().join(""):e;if(fe.prototype.masksCache[o]===ae||a===true){s={mask:e,maskToken:fe.prototype.analyseMask(e,n,i),validPositions:{},_buffer:ae,buffer:ae,tests:{},excludes:{},metadata:t,maskLength:ae,jitOffset:{}};if(a!==true){fe.prototype.masksCache[o]=s;s=se.extend(true,{},fe.prototype.masksCache[o])}}else s=se.extend(true,{},fe.prototype.masksCache[o]);return s}var t;if(se.isFunction(i.mask))i.mask=i.mask(i);if(se.isArray(i.mask))if(i.mask.length>1){if(i.keepStatic===null){i.keepStatic="auto";for(var n=0;n<i.mask.length;n++)if(i.mask[n].charAt(0)!==i.mask[0].charAt(0)){i.keepStatic=true;break}}var r=i.groupmarker[0];se.each(i.isRTL?i.mask.reverse():i.mask,function(e,t){if(r.length>1)r+=i.groupmarker[1]+i.alternatormarker+i.groupmarker[0];if(t.mask!==ae&&!se.isFunction(t.mask))r+=t.mask;else r+=t});r+=i.groupmarker[1];return e(r,i.mask,i)}else i.mask=i.mask.pop();if(i.mask&&i.mask.mask!==ae&&!se.isFunction(i.mask.mask))t=e(i.mask.mask,i.mask,i);else t=e(i.mask,i.mask,i);return t}function pe(e){var t=le.createElement("input"),i="on"+e,n=i in t;if(!n){t.setAttribute(i,"return;");n=typeof t[i]==="function"}t=null;return n}function me(e,t,$){t=t||this.maskset;$=$||this.opts;var u=this,c=this.el,g=this.isRTL,m,s,o=false,d=false,y=false,v,n=false,p,a;var f=function(e,t,i,n,r){var s=$.greedy;if(r)$.greedy=false;t=t||0;var o=[],a,l=0,c,u,d=k();do{if(e===true&&B().validPositions[l]){u=r&&B().validPositions[l].match.optionality===true&&B().validPositions[l+1]===ae&&(B().validPositions[l].generatedInput===true||B().validPositions[l].input==$.skipOptionalPartCharacter&&l>0)?b(l,x(l,a,l-1)):B().validPositions[l];c=u.match;a=u.locator.slice();o.push(i===true?u.input:i===false?c.nativeDef:j(l,c))}else{u=_(l,a,l-1);c=u.match;a=u.locator.slice();var h=n===true?false:$.jitMasking!==false?$.jitMasking:c.jit;if(h===false||h===ae||typeof h==="number"&&isFinite(h)&&h>l)o.push(i===false?c.nativeDef:j(l,c))}if($.keepStatic==="auto")if(c.newBlockMarker&&c.fn!==null)$.keepStatic=l-1;l++}while((v===ae||l<v)&&(c.fn!==null||c.def!=="")||t>l);if(o[o.length-1]==="")o.pop();if(i!==false||B().maskLength===ae)B().maskLength=l-1;$.greedy=s;return o};function B(){return t}function w(e){var t=B();t.buffer=ae;if(e!==true){t.validPositions={};t.p=0}}function k(e,t,i){var n=-1,r=-1,s=i||B().validPositions;if(e===ae)e=-1;for(var o in s){var a=parseInt(o);if(s[a]&&(t||s[a].generatedInput!==true)){if(a<=e)n=a;if(a>=e)r=a}}return n===-1||n==e?r:r==-1?n:e-n<r-e?n:r}function H(e){var t=e.locator[e.alternation];if(typeof t=="string"&&t.length>0)t=t.split(",")[0];return t!==ae?t.toString():""}function F(e,t){var i=(e.alternation!=ae?e.mloc[H(e)]:e.locator).join("");if(i!=="")while(i.length<t)i+="0";return i}function b(e,t){e=e>0?e-1:0;var i=S(e),n=F(i),r,s,o;for(var a=0;a<t.length;a++){var l=t[a];r=F(l,n.length);var c=Math.abs(r-n);if(s===ae||r!==""&&c<s||o&&!$.greedy&&o.match.optionality&&o.match.newBlockMarker==="master"&&(!l.match.optionality||!l.match.newBlockMarker)||o&&o.match.optionalQuantifier&&!l.match.optionalQuantifier){s=c;o=l}}return o}function _(e,t,i){return B().validPositions[e]||b(e,x(e,t?t.slice():t,i))}function S(e,t){if(B().validPositions[e])return B().validPositions[e];return(t||x(e))[0]}function R(e,t){var i=false,n=x(e);for(var r=0;r<n.length;r++)if(n[r].match&&n[r].match.def===t){i=true;break}return i}function x(Y,e,t){var i=B().maskToken,I=e?t:0,n=e?e.slice():[0],N=[],H=false,F,R=e?e.join(""):"";function z(j,O,e,t){function P(e,t,i){function s(i,n){var r=se.inArray(i,n.matches)===0;if(!r)se.each(n.matches,function(e,t){if(t.isQuantifier===true)r=s(i,n.matches[e-1]);else if(t.hasOwnProperty("matches"))r=s(i,t);if(r)return false});return r}function n(e,r,s){var o,a;if(B().tests[e]||B().validPositions[e])se.each(B().tests[e]||[B().validPositions[e]],function(e,t){if(t.mloc[r]){o=t;return false}var i=s!==ae?s:t.alternation,n=t.locator[i]!==ae?t.locator[i].toString().indexOf(r):-1;if((a===ae||n<a)&&n!==-1){o=t;a=n}});if(o){var t=o.locator[o.alternation];var i=o.mloc[r]||o.mloc[t]||o.locator;return i.slice((s!==ae?s:o.alternation)+1)}else return s!==ae?n(e,r):ae}function r(e,t){function i(e){var t=[],i,n;for(var r=0,s=e.length;r<s;r++)if(e.charAt(r)==="-"){n=e.charCodeAt(r+1);while(++i<n)t.push(String.fromCharCode(i))}else{i=e.charCodeAt(r);t.push(e.charAt(r))}return t.join("")}if($.regex&&e.match.fn!==null&&t.match.fn!==null)return i(t.match.def.replace(/[\[\]]/g,"")).indexOf(i(e.match.def.replace(/[\[\]]/g,"")))!==-1;return e.match.def===t.match.nativeDef}function o(e,t){var i=e.locator.slice(e.alternation).join(""),n=t.locator.slice(t.alternation).join(""),r=i==n;r=r&&e.match.fn===null&&t.match.fn!==null?t.match.fn.test(e.match.def,B(),Y,false,$,false):false;return r}function a(e,t){if(t===ae||e.alternation===t.alternation&&e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])===-1){e.mloc=e.mloc||{};var i=e.locator[e.alternation];if(i===ae)e.alternation=ae;else{if(typeof i==="string")i=i.split(",")[0];if(e.mloc[i]===ae)e.mloc[i]=e.locator.slice();if(t!==ae){for(var n in t.mloc){if(typeof n==="string")n=n.split(",")[0];if(e.mloc[n]===ae)e.mloc[n]=t.mloc[n]}e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return true}}return false}if(I>500&&i!==ae)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+B().mask;if(I===Y&&e.matches===ae){N.push({match:e,locator:t.reverse(),cd:R,mloc:{}});return true}else if(e.matches!==ae)if(e.isGroup&&i!==e){e=P(j.matches[se.inArray(e,j.matches)+1],t,i);if(e)return true}else if(e.isOptional){var l=e;e=z(e,O,t,i);if(e){se.each(N,function(e,t){t.match.optionality=true});F=N[N.length-1].match;if(i===ae&&s(F,l)){H=true;I=Y}else return true}}else if(e.isAlternator){var c=e,u=[],d,h=N.slice(),f=t.length;var p=O.length>0?O.shift():-1;if(p===-1||typeof p==="string"){var m=I,g=O.slice(),v=[],y;if(typeof p=="string")v=p.split(",");else for(y=0;y<c.matches.length;y++)v.push(y.toString());if(B().excludes[Y]){var b=v.slice();for(var _=0,x=B().excludes[Y].length;_<x;_++)v.splice(v.indexOf(B().excludes[Y][_].toString()),1);if(v.length===0){B().excludes[Y]=ae;v=b}}if($.keepStatic===true||isFinite(parseInt($.keepStatic))&&m>=$.keepStatic)v=v.slice(0,1);var w=false;for(var k=0;k<v.length;k++){y=parseInt(v[k]);N=[];O=typeof p==="string"?n(I,y,f)||g.slice():g.slice();if(c.matches[y]&&P(c.matches[y],[y].concat(t),i))e=true;else if(k===0)w=true;d=N.slice();I=m;N=[];for(var S=0;S<d.length;S++){var M=d[S],C=false;M.match.jit=M.match.jit||w;M.alternation=M.alternation||f;a(M);for(var L=0;L<u.length;L++){var T=u[L];if(typeof p!=="string"||M.alternation!==ae&&se.inArray(M.locator[M.alternation].toString(),v)!==-1)if(M.match.nativeDef===T.match.nativeDef){C=true;a(T,M);break}else if(r(M,T)){if(a(M,T)){C=true;u.splice(u.indexOf(T),0,M)}break}else if(r(T,M)){a(T,M);break}else if(o(M,T)){if(a(M,T)){C=true;u.splice(u.indexOf(T),0,M)}break}}if(!C)u.push(M)}}N=h.concat(u);I=Y;H=N.length>0;e=u.length>0;O=g.slice()}else e=P(c.matches[p]||j.matches[p],[p].concat(t),i);if(e)return true}else if(e.isQuantifier&&i!==j.matches[se.inArray(e,j.matches)-1]){var D=e;for(var E=O.length>0?O.shift():0;E<(isNaN(D.quantifier.max)?E+1:D.quantifier.max)&&I<=Y;E++){var A=j.matches[se.inArray(D,j.matches)-1];e=P(A,[E].concat(t),A);if(e){F=N[N.length-1].match;F.optionalQuantifier=E>=D.quantifier.min;F.jit=(E||1)*A.matches.indexOf(F)>=D.quantifier.jit;if(F.optionalQuantifier&&s(F,A)){H=true;I=Y;break}if(F.jit)B().jitOffset[Y]=A.matches.indexOf(F);return true}}}else{e=z(e,O,t,i);if(e)return true}else I++}for(var i=O.length>0?O.shift():0;i<j.matches.length;i++)if(j.matches[i].isQuantifier!==true){var n=P(j.matches[i],[i].concat(e),t);if(n&&I===Y)return n;else if(I>Y)break}}function r(e,t){var n=[];if(!se.isArray(t))t=[t];if(t.length>0)if(t[0].alternation===ae){n=b(e,t.slice()).locator.slice();if(n.length===0)n=t[0].locator.slice()}else se.each(t,function(e,t){if(t.def!=="")if(n.length===0)n=t.locator.slice();else for(var i=0;i<n.length;i++)if(t.locator[i]&&n[i].toString().indexOf(t.locator[i])===-1)n[i]+=","+t.locator[i]});return n}if(Y>-1){if(e===ae){var s=Y-1,o;while((o=B().validPositions[s]||B().tests[s])===ae&&s>-1)s--;if(o!==ae&&s>-1){n=r(s,o);R=n.join("");I=s}}if(B().tests[Y]&&B().tests[Y][0].cd===R)return B().tests[Y];for(var a=n.shift();a<i.length;a++){var l=z(i[a],n,[a]);if(l&&I===Y||I>Y)break}}if(N.length===0||H)N.push({match:{fn:null,optionality:false,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:R});if(e!==ae&&B().tests[Y])return se.extend(true,[],N);B().tests[Y]=se.extend(true,[],N);return B().tests[Y]}function M(){if(B()._buffer===ae){B()._buffer=f(false,1);if(B().buffer===ae)B().buffer=B()._buffer.slice()}return B()._buffer}function C(e){if(B().buffer===ae||e===true){B().buffer=f(true,k(),true);if(B()._buffer===ae)B()._buffer=B().buffer.slice()}return B().buffer}function z(e,t,i){var n,r;if(e===true){w();e=0;t=i.length}else for(n=e;n<t;n++)delete B().validPositions[n];r=e;for(n=e;n<t;n++){w(true);if(i[n]!==$.skipOptionalPartCharacter){var s=L(r,i[n],true,true);if(s!==false){w(true);r=s.caret!==ae?s.caret:s.pos+1}}}}function q(e,t,i){switch($.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var n=B().validPositions[i-1];if(i===0||n&&n.input===String.fromCharCode(fe.keyCode.SPACE))e=e.toUpperCase();else e=e.toLowerCase();break;default:if(se.isFunction($.casing)){var r=Array.prototype.slice.call(arguments);r.push(B().validPositions);e=$.casing.apply(this,r)}}return e}function W(e,t,i){var n=$.greedy?t:t.slice(0,1),r=false,s=i!==ae?i.split(","):[],o;for(var a=0;a<s.length;a++)if((o=e.indexOf(s[a]))!==-1)e.splice(o,1);for(var l=0;l<e.length;l++)if(se.inArray(e[l],n)!==-1){r=true;break}return r}function V(e,t,i,n,r){var s=se.extend(true,{},B().validPositions),o,a,l=false,c,u,d,h,f,p=r!==ae?r:k();if(p===-1&&r===ae){o=0;u=S(o);a=u.alternation}else for(;p>=0;p--){c=B().validPositions[p];if(c&&c.alternation!==ae){if(u&&u.locator[c.alternation]!==c.locator[c.alternation])break;o=p;a=B().validPositions[o].alternation;u=c}}if(a!==ae){f=parseInt(o);B().excludes[f]=B().excludes[f]||[];if(e!==true)B().excludes[f].push(H(u));var m=[],g=0;for(d=f;d<k(ae,true)+1;d++){h=B().validPositions[d];if(h&&h.generatedInput!==true)m.push(h.input);else if(d<e)g++;delete B().validPositions[d]}while(B().excludes[f]&&B().excludes[f].length<10){var v=g*-1,y=m.slice();B().tests[f]=ae;w(true);l=true;while(y.length>0){var b=y.shift();if(!(l=L(k(ae,true)+1,b,false,n,true)))break}if(l&&t!==ae){var _=k(e)+1;for(d=f;d<k()+1;d++){h=B().validPositions[d];if((h===ae||h.match.fn==null)&&d<e+v)v++}e=e+v;l=L(e>_?_:e,t,i,n,true)}if(!l){w();u=S(f);B().validPositions=se.extend(true,{},s);if(B().excludes[f]){var x=H(u);if(B().excludes[f].indexOf(x)!==-1){l=V(e,t,i,n,f-1);break}B().excludes[f].push(x);for(d=f;d<k(ae,true)+1;d++)delete B().validPositions[d]}else{l=V(e,t,i,n,f-1);break}}else break}}B().excludes[f]=ae;return l}function L(c,e,t,u,i,n){function d(e){return g?e.begin-e.end>1||e.begin-e.end===1:e.end-e.begin>1||e.end-e.begin===1}t=t===true;var r=c;if(c.begin!==ae)r=g?c.end:c.begin;function s(s,o,a){var l=false;se.each(x(s),function(e,t){var i=t.match;C(true);l=i.fn!=null?i.fn.test(o,B(),s,a,$,d(c)):(o===i.def||o===$.skipOptionalPartCharacter)&&i.def!==""?{c:j(s,i,true)||i.def,pos:s}:false;if(l!==false){var n=l.c!==ae?l.c:o,r=s;n=n===$.skipOptionalPartCharacter&&i.fn===null?j(s,i,true)||i.def:n;if(l.remove!==ae){if(!se.isArray(l.remove))l.remove=[l.remove];se.each(l.remove.sort(function(e,t){return t-e}),function(e,t){X({begin:t,end:t+1})})}if(l.insert!==ae){if(!se.isArray(l.insert))l.insert=[l.insert];se.each(l.insert.sort(function(e,t){return e-t}),function(e,t){L(t.pos,t.c,true,u)})}if(l!==true&&l.pos!==ae&&l.pos!==s)r=l.pos;if(l!==true&&l.pos===ae&&l.c===ae)return false;if(!X(c,se.extend({},t,{input:q(n,i,r)}),u,r))l=false;return false}});return l}var o=true,a=se.extend(true,{},B().validPositions);if(se.isFunction($.preValidation)&&!t&&u!==true&&n!==true)o=$.preValidation(C(),r,e,d(c),$,B());if(o===true){U(ae,r,true);if(v===ae||r<v){o=s(r,e,t);if((!t||u===true)&&o===false&&n!==true){var l=B().validPositions[r];if(l&&l.match.fn===null&&(l.match.def===e||e===$.skipOptionalPartCharacter))o={caret:D(r)};else if(($.insertMode||B().validPositions[D(r)]===ae)&&(!T(r,true)||B().jitOffset[r]))if(B().jitOffset[r]&&B().validPositions[D(r)]===ae){o=L(r+B().jitOffset[r],e,t);if(o!==false)o.caret=r}else for(var h=r+1,f=D(r);h<=f;h++){o=s(h,e,t);if(o!==false){o=U(r,o.pos!==ae?o.pos:h)||o;r=h;break}}}}if(o===false&&$.keepStatic!==false&&($.regex==null||N(C()))&&!t&&i!==true)o=V(r,e,t,u);if(o===true)o={pos:r}}if(se.isFunction($.postValidation)&&o!==false&&!t&&u!==true&&n!==true){var p=$.postValidation(C(true),c.begin!==ae?g?c.end:c.begin:c,o,$);if(p!==ae){if(p.refreshFromBuffer&&p.buffer){var m=p.refreshFromBuffer;z(m===true?m:m.start,m.end,p.buffer)}o=p===true?o:p}}if(o&&o.pos===ae)o.pos=r;if(o===false||n===true){w(true);B().validPositions=se.extend(true,{},a)}return o}function U(e,t,i){var n;if(e===ae)for(e=t-1;e>0;e--)if(B().validPositions[e])break;for(var r=e;r<t;r++)if(B().validPositions[r]===ae&&!T(r,true)){var s=r==0?S(r):B().validPositions[r-1];if(s){var o=x(r).slice();if(o[o.length-1].match.def==="")o.pop();var a=b(r,o);a=se.extend({},a,{input:j(r,a.match,true)||a.match.def});a.generatedInput=true;X(r,a,true);if(i!==true){var l=B().validPositions[t].input;B().validPositions[t]=ae;n=L(t,l,true,true)}}}return n}function X(e,t,i,n){function r(e,t,i){var n=t[e];if(n!==ae&&(n.match.fn===null&&n.match.optionality!==true||n.input===$.radixPoint)){var r=i.begin<=e-1?t[e-1]&&t[e-1].match.fn===null&&t[e-1]:t[e-1],s=i.end>e+1?t[e+1]&&t[e+1].match.fn===null&&t[e+1]:t[e+1];return r&&s}return false}var s=e.begin!==ae?e.begin:e,o=e.end!==ae?e.end:e;if(e.begin>e.end){s=e.end;o=e.begin}n=n!==ae?n:s;if(s!==o||$.insertMode&&B().validPositions[n]!==ae&&i===ae){var a=se.extend(true,{},B().validPositions),l=k(ae,true),c;B().p=s;for(c=l;c>=s;c--){if(B().validPositions[c]&&B().validPositions[c].match.nativeDef==="+")$.isNegative=false;delete B().validPositions[c]}var u=true,d=n,h=B().validPositions,f=false,p=d,c=d;if(t){B().validPositions[n]=se.extend(true,{},t);p++;d++;if(s<o)c++}for(;c<=l;c++){var m=a[c];if(m!==ae&&(c>=o||c>=s&&m.generatedInput!==true&&r(c,a,{begin:s,end:o}))){while(S(p).match.def!==""){if(f===false&&a[p]&&a[p].match.nativeDef===m.match.nativeDef){B().validPositions[p]=se.extend(true,{},a[p]);B().validPositions[p].input=m.input;U(ae,p,true);d=p+1;u=true}else if($.shiftPositions&&R(p,m.match.def)){var g=L(p,m.input,true,true);u=g!==false;d=g.caret||g.insert?k():p+1;f=true}else u=m.generatedInput===true||m.input===$.radixPoint&&$.numericInput===true;if(u)break;if(!u&&p>o&&T(p,true)&&(m.match.fn!==null||p>B().maskLength))break;p++}if(S(p).match.def=="")u=false;p=d}if(!u)break}if(!u){B().validPositions=se.extend(true,{},a);w(true);return false}}else if(t)B().validPositions[n]=se.extend(true,{},t);w(true);return true}function T(e,t){var i=_(e).match;if(i.def==="")i=S(e).match;if(i.fn!=null)return i.fn;if(t!==true&&e>-1){var n=x(e);return n.length>1+(n[n.length-1].match.def===""?1:0)}return false}function D(e,t){var i=e+1;while(S(i).match.def!==""&&(t===true&&(S(i).match.newBlockMarker!==true||!T(i))||t!==true&&!T(i)))i++;return i}function E(e,t){var i=e,n;if(i<=0)return 0;while(--i>0&&(t===true&&S(i).match.newBlockMarker!==true||t!==true&&!T(i)&&(n=x(i),n.length<2||n.length===2&&n[1].match.def==="")));return i}function A(e,t,i,n,r){if(n&&se.isFunction($.onBeforeWrite)){var s=$.onBeforeWrite.call(u,n,t,i,$);if(s){if(s.refreshFromBuffer){var o=s.refreshFromBuffer;z(o===true?o:o.start,o.end,s.buffer||t);t=C(true)}if(i!==ae)i=s.caret!==ae?s.caret:i}}if(e!==ae){e.inputmask._valueSet(t.join(""));if(i!==ae&&(n===ae||n.type!=="blur"))Y(e,i);else J(e,i,t.length===0);if(r===true){var a=se(e),l=e.inputmask._valueGet();d=true;a.trigger("input");setTimeout(function(){if(l===M().join(""))a.trigger("cleared");else if(N(t)===true)a.trigger("complete")},0)}}}function j(e,t,i){t=t||S(e).match;if(t.placeholder!==ae||i===true)return se.isFunction(t.placeholder)?t.placeholder($):t.placeholder;else if(t.fn===null){if(e>-1&&B().validPositions[e]===ae){var n=x(e),r=[],s;if(n.length>1+(n[n.length-1].match.def===""?1:0))for(var o=0;o<n.length;o++)if(n[o].match.optionality!==true&&n[o].match.optionalQuantifier!==true&&(n[o].match.fn===null||(s===ae||n[o].match.fn.test(s.match.def,B(),e,true,$)!==false))){r.push(n[o]);if(n[o].match.fn===null)s=n[o];if(r.length>1)if(/[0-9a-bA-Z]/.test(r[0].match.def))return $.placeholder.charAt(e%$.placeholder.length)}}return t.def}return $.placeholder.charAt(e%$.placeholder.length)}function l(e,t){if(ce){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||e.placeholder==="")){var i=C().slice(),n=e.inputmask._valueGet();if(n!==t){var r=k();if(r===-1&&n===M().join(""))i=[];else if(r!==-1)I(i);A(e,i)}}}else if(e.placeholder!==t){e.placeholder=t;if(e.placeholder==="")e.removeAttribute("placeholder")}}var h={on:function(e,t,s){var i=function(e){var t=this;if(t.inputmask===ae&&this.nodeName!=="FORM"){var i=se.data(t,"_inputmask_opts");if(i)new fe(i).mask(t);else h.off(t)}else if(e.type!=="setvalue"&&this.nodeName!=="FORM"&&(t.disabled||t.readOnly&&!(e.type==="keydown"&&(e.ctrlKey&&e.keyCode===67)||$.tabThrough===false&&e.keyCode===fe.keyCode.TAB)))e.preventDefault();else{switch(e.type){case"input":if(d===true){d=false;return e.preventDefault()}if(ue){var n=arguments;setTimeout(function(){s.apply(t,n);Y(t,t.inputmask.caretPos,ae,true)},0);return false}break;case"keydown":o=false;d=false;break;case"keypress":if(o===true)return e.preventDefault();o=true;break;case"click":if(de||he){var n=arguments;setTimeout(function(){s.apply(t,n)},0);return false}break}var r=s.apply(t,arguments);if(r===false){e.preventDefault();e.stopPropagation()}return r}};e.inputmask.events[t]=e.inputmask.events[t]||[];e.inputmask.events[t].push(i);if(se.inArray(t,["submit","reset"])!==-1){if(e.form!==null)se(e.form).on(t,i)}else se(e).on(t,i)},off:function(n,e){if(n.inputmask&&n.inputmask.events){var t;if(e){t=[];t[e]=n.inputmask.events[e]}else t=n.inputmask.events;se.each(t,function(e,t){while(t.length>0){var i=t.pop();if(se.inArray(e,["submit","reset"])!==-1){if(n.form!==null)se(n.form).off(e,i)}else se(n).off(e,i)}delete n.inputmask.events[e]})}}};var O={keydownEvent:function(e){var t=this,i=se(t),n=e.keyCode,r=Y(t);if(n===fe.keyCode.BACKSPACE||n===fe.keyCode.DELETE||he&&n===fe.keyCode.BACKSPACE_SAFARI||e.ctrlKey&&n===fe.keyCode.X&&!pe("cut")){e.preventDefault();K(t,n,r);A(t,C(true),B().p,e,t.inputmask._valueGet()!==C().join(""))}else if(n===fe.keyCode.END||n===fe.keyCode.PAGE_DOWN){e.preventDefault();var s=D(k());Y(t,e.shiftKey?r.begin:s,s,true)}else if(n===fe.keyCode.HOME&&!e.shiftKey||n===fe.keyCode.PAGE_UP){e.preventDefault();Y(t,0,e.shiftKey?r.begin:0,true)}else if(($.undoOnEscape&&n===fe.keyCode.ESCAPE||n===90&&e.ctrlKey)&&e.altKey!==true){P(t,true,false,m.split(""));i.trigger("click")}else if(n===fe.keyCode.INSERT&&!(e.shiftKey||e.ctrlKey)){$.insertMode=!$.insertMode;t.setAttribute("im-insert",$.insertMode)}else if($.tabThrough===true&&n===fe.keyCode.TAB){if(e.shiftKey===true){if(S(r.begin).match.fn===null)r.begin=D(r.begin);r.end=E(r.begin,true);r.begin=E(r.end,true)}else{r.begin=D(r.begin,true);r.end=D(r.begin,true);if(r.end<B().maskLength)r.end--}if(r.begin<B().maskLength){e.preventDefault();Y(t,r.begin,r.end)}}$.onKeyDown.call(this,e,C(),Y(t).begin,$);y=se.inArray(n,$.ignorables)!==-1},keypressEvent:function(e,t,i,n,r){var s=this,o=se(s),a=e.which||e.charCode||e.keyCode;if(t!==true&&(!(e.ctrlKey&&e.altKey)&&(e.ctrlKey||e.metaKey||y))){if(a===fe.keyCode.ENTER&&m!==C().join("")){m=C().join("");setTimeout(function(){o.trigger("change")},0)}return true}else if(a){if(a===46&&e.shiftKey===false&&$.radixPoint!=="")a=$.radixPoint.charCodeAt(0);var l=t?{begin:r,end:r}:Y(s),c,u=String.fromCharCode(a),d=0;if($._radixDance&&$.numericInput){var h=C().indexOf($.radixPoint.charAt(0))+1;if(l.begin<=h){if(a===$.radixPoint.charCodeAt(0))d=1;l.begin-=1;l.end-=1}}B().writeOutBuffer=true;var f=L(l,u,n);if(f!==false){w(true);c=f.caret!==ae?f.caret:D(f.pos.begin?f.pos.begin:f.pos);B().p=c}c=($.numericInput&&f.caret===ae?E(c):c)+d;if(i!==false){setTimeout(function(){$.onKeyValidation.call(s,a,f,$)},0);if(B().writeOutBuffer&&f!==false){var p=C();A(s,p,c,e,t!==true)}}e.preventDefault();if(t){if(f!==false)f.forwardPosition=c;return f}}},pasteEvent:function(e){var t=this,i=e.originalEvent||e,n=se(t),r=t.inputmask._valueGet(true),s=Y(t),o;if(g){o=s.end;s.end=s.begin;s.begin=o}var a=r.substr(0,s.begin),l=r.substr(s.end,r.length);if(a===(g?M().reverse():M()).slice(0,s.begin).join(""))a="";if(l===(g?M().reverse():M()).slice(s.end).join(""))l="";if(oe.clipboardData&&oe.clipboardData.getData)r=a+oe.clipboardData.getData("Text")+l;else if(i.clipboardData&&i.clipboardData.getData)r=a+i.clipboardData.getData("text/plain")+l;else return true;var c=r;if(se.isFunction($.onBeforePaste)){c=$.onBeforePaste.call(u,r,$);if(c===false)return e.preventDefault();if(!c)c=r}P(t,false,false,c.toString().split(""));A(t,C(),D(k()),e,m!==C().join(""));return e.preventDefault()},inputFallBackEvent:function(e){function t(e,t,i){if(t.charAt(i.begin-1)==="."&&$.radixPoint!==""){t=t.split("");t[i.begin-1]=$.radixPoint.charAt(0);t=t.join("")}return t}function i(e,t,i){if(de){var n=t.replace(C().join(""),"");if(n.length===1){var r=t.split("");r.splice(i.begin,0,n);t=r.join("")}}return t}var n=this,r=n.inputmask._valueGet();if(C().join("")!==r){var s=Y(n);r=t(n,r,s);r=i(n,r,s);if(C().join("")!==r){var o=C().join(""),a=!$.numericInput&&r.length>o.length?-1:0,l=r.substr(0,s.begin),c=r.substr(s.begin),u=o.substr(0,s.begin+a),d=o.substr(s.begin+a);var h=s,f="",p=false;if(l!==u){var m=(p=l.length>=u.length)?l.length:u.length,g;for(g=0;l.charAt(g)===u.charAt(g)&&g<m;g++);if(p){h.begin=g-a;f+=l.slice(g,h.end)}}if(c!==d)if(c.length>d.length)f+=c.slice(0,1);else if(c.length<d.length){h.end+=d.length-c.length;if(!p&&$.radixPoint!==""&&c===""&&l.charAt(h.begin+a-1)===$.radixPoint){h.begin--;f=$.radixPoint}}A(n,C(),{begin:h.begin+a,end:h.end+a});if(f.length>0)se.each(f.split(""),function(e,t){var i=new se.Event("keypress");i.which=t.charCodeAt(0);y=false;O.keypressEvent.call(n,i)});else{if(h.begin===h.end-1){h.begin=E(h.begin+1);if(h.begin===h.end-1)Y(n,h.begin);else Y(n,h.begin,h.end)}var v=new se.Event("keydown");v.keyCode=$.numericInput?fe.keyCode.BACKSPACE:fe.keyCode.DELETE;O.keydownEvent.call(n,v)}e.preventDefault()}}},beforeInputEvent:function(e){if(e.cancelable){var n=this;switch(e.inputType){case"insertText":se.each(e.data.split(""),function(e,t){var i=new se.Event("keypress");i.which=t.charCodeAt(0);y=false;O.keypressEvent.call(n,i)});return e.preventDefault();case"deleteContentBackward":var t=new se.Event("keydown");t.keyCode=fe.keyCode.BACKSPACE;O.keydownEvent.call(n,t);return e.preventDefault();case"deleteContentForward":var t=new se.Event("keydown");t.keyCode=fe.keyCode.DELETE;O.keydownEvent.call(n,t);return e.preventDefault()}}},setValueEvent:function(e){this.inputmask.refreshValue=false;var t=this,i=e&&e.detail?e.detail[0]:arguments[1],i=i||t.inputmask._valueGet(true);if(se.isFunction($.onBeforeMask))i=$.onBeforeMask.call(u,i,$)||i;i=i.toString().split("");P(t,true,false,i);m=C().join("");if(($.clearMaskOnLostFocus||$.clearIncomplete)&&t.inputmask._valueGet()===M().join(""))t.inputmask._valueSet("")},focusEvent:function(e){var t=this,i=t.inputmask._valueGet();if($.showMaskOnFocus)if(i!==C().join(""))A(t,C(),D(k()));else if(n===false)Y(t,D(k()));if($.positionCaretOnTab===true&&n===false)O.clickEvent.apply(t,[e,true]);m=C().join("")},mouseleaveEvent:function(e){var t=this;n=false;if($.clearMaskOnLostFocus&&le.activeElement!==t)l(t,a)},clickEvent:function(e,c){function u(e){if($.radixPoint!==""){var t=B().validPositions;if(t[e]===ae||t[e].input===j(e)){if(e<D(-1))return true;var i=se.inArray($.radixPoint,C());if(i!==-1){for(var n in t)if(i<n&&t[n].input!==j(n))return false;return true}}}return false}var d=this;setTimeout(function(){if(le.activeElement===d){var e=Y(d);if(c)if(g)e.end=e.begin;else e.begin=e.end;if(e.begin===e.end)switch($.positionCaretOnClick){case"none":break;case"select":Y(d,0,C().length);break;case"ignore":Y(d,D(k()));break;case"radixFocus":if(u(e.begin)){var t=C().join("").indexOf($.radixPoint);Y(d,$.numericInput?D(t):t);break}default:var i=e.begin,n=k(i,true),r=D(n);if(i<r)Y(d,!T(i,true)&&!T(i-1,true)?D(i):i);else{var s=B().validPositions[n],o=_(r,s?s.match.locator:ae,s),a=j(r,o.match);if(a!==""&&C()[r]!==a&&o.match.optionalQuantifier!==true&&o.match.newBlockMarker!==true||!T(r,$.keepStatic)&&o.match.def===a){var l=D(r);if(i>=l||i===r)r=l}Y(d,r)}break}}},0)},cutEvent:function(e){var t=this,i=se(t),n=Y(t),r=e.originalEvent||e;var s=oe.clipboardData||r.clipboardData,o=g?C().slice(n.end,n.begin):C().slice(n.begin,n.end);s.setData("text",g?o.reverse().join(""):o.join(""));if(le.execCommand)le.execCommand("copy");K(t,fe.keyCode.DELETE,n);A(t,C(),B().p,e,m!==C().join(""))},blurEvent:function(e){var t=se(this),i=this;if(i.inputmask){l(i,a);var n=i.inputmask._valueGet(),r=C().slice();if(n!==""||p!==ae){if($.clearMaskOnLostFocus)if(k()===-1&&n===M().join(""))r=[];else I(r);if(N(r)===false){setTimeout(function(){t.trigger("incomplete")},0);if($.clearIncomplete){w();if($.clearMaskOnLostFocus)r=[];else r=M().slice()}}A(i,r,ae,e)}if(m!==C().join("")){m=r.join("");t.trigger("change")}}},mouseenterEvent:function(e){var t=this;n=true;if(le.activeElement!==t&&$.showMaskOnHover)l(t,(g?C().slice().reverse():C()).join(""))},submitEvent:function(e){if(m!==C().join(""))s.trigger("change");if($.clearMaskOnLostFocus&&k()===-1&&c.inputmask._valueGet&&c.inputmask._valueGet()===M().join(""))c.inputmask._valueSet("");if($.clearIncomplete&&N(C())===false)c.inputmask._valueSet("");if($.removeMaskOnSubmit){c.inputmask._valueSet(c.inputmask.unmaskedvalue(),true);setTimeout(function(){A(c,C())},0)}},resetEvent:function(e){c.inputmask.refreshValue=true;setTimeout(function(){s.trigger("setvalue")},0)}};function P(r,e,s,t,i){var o=this||r.inputmask,a=t.slice(),l="",c=-1,u=ae;function d(e,t){var i=f(true,0,false).slice(e,D(e)).join("").replace(/'/g,"").indexOf(t);return i!==-1&&!T(e)&&(S(e).match.nativeDef===t.charAt(0)||S(e).match.fn===null&&S(e).match.nativeDef==="'"+t.charAt(0)||S(e).match.nativeDef===" "&&(S(e+1).match.nativeDef===t.charAt(0)||S(e+1).match.fn===null&&S(e+1).match.nativeDef==="'"+t.charAt(0)))}w();if(!s&&$.autoUnmask!==true){var n=M().slice(0,D(-1)).join(""),h=a.join("").match(new RegExp("^"+fe.escapeRegex(n),"g"));if(h&&h.length>0){a.splice(0,h.length*n.length);c=D(c)}}else c=D(c);if(c===-1){B().p=D(c);c=0}else B().p=c;o.caretPos={begin:c};se.each(a,function(e,t){if(t!==ae)if(B().validPositions[e]===ae&&a[e]===j(e)&&T(e,true)&&L(e,a[e],true,ae,ae,true)===false)B().p++;else{var i=new se.Event("_checkval");i.which=t.charCodeAt(0);l+=t;var n=k(ae,true);if(!d(c,l)){u=O.keypressEvent.call(r,i,true,false,s,o.caretPos.begin);if(u){c=o.caretPos.begin+1;l=""}}else u=O.keypressEvent.call(r,i,true,false,s,n+1);if(u){A(ae,C(),u.forwardPosition,i,false);o.caretPos={begin:u.forwardPosition,end:u.forwardPosition}}}});if(e)A(r,C(),u?u.forwardPosition:ae,i||new se.Event("checkval"),i&&i.type==="input")}function r(e){if(e){if(e.inputmask===ae)return e.value;if(e.inputmask&&e.inputmask.refreshValue)O.setValueEvent.call(e)}var t=[],i=B().validPositions;for(var n in i)if(i[n].match&&i[n].match.fn!=null)t.push(i[n].input);var r=t.length===0?"":(g?t.reverse():t).join("");if(se.isFunction($.onUnMask)){var s=(g?C().slice().reverse():C()).join("");r=$.onUnMask.call(u,s,r,$)}return r}function Y(e,t,i,n){function r(e){if(g&&typeof e==="number"&&(!$.greedy||$.placeholder!=="")&&c)e=c.inputmask._valueGet().length-e;return e}var s;if(t!==ae){if(se.isArray(t)){i=g?t[0]:t[1];t=g?t[1]:t[0]}if(t.begin!==ae){i=g?t.begin:t.end;t=g?t.end:t.begin}if(typeof t==="number"){t=n?t:r(t);i=n?i:r(i);i=typeof i=="number"?i:t;var o=parseInt(((e.ownerDocument.defaultView||oe).getComputedStyle?(e.ownerDocument.defaultView||oe).getComputedStyle(e,null):e.currentStyle).fontSize)*i;e.scrollLeft=o>e.scrollWidth?o:0;e.inputmask.caretPos={begin:t,end:i};if(e===le.activeElement){if("selectionStart"in e){e.selectionStart=t;e.selectionEnd=i}else if(oe.getSelection){s=le.createRange();if(e.firstChild===ae||e.firstChild===null){var a=le.createTextNode("");e.appendChild(a)}s.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length);s.setEnd(e.firstChild,i<e.inputmask._valueGet().length?i:e.inputmask._valueGet().length);s.collapse(true);var l=oe.getSelection();l.removeAllRanges();l.addRange(s)}else if(e.createTextRange){s=e.createTextRange();s.collapse(true);s.moveEnd("character",i);s.moveStart("character",t);s.select()}J(e,{begin:t,end:i})}}}else{if("selectionStart"in e){t=e.selectionStart;i=e.selectionEnd}else if(oe.getSelection){s=oe.getSelection().getRangeAt(0);if(s.commonAncestorContainer.parentNode===e||s.commonAncestorContainer===e){t=s.startOffset;i=s.endOffset}}else if(le.selection&&le.selection.createRange){s=le.selection.createRange();t=0-s.duplicate().moveStart("character",-e.inputmask._valueGet().length);i=t+s.text.length}return{begin:n?t:r(t),end:n?i:r(i)}}}function G(e){var t=f(true,k(),true,true),i=t.length,n,r=k(),s={},o=B().validPositions[r],a=o!==ae?o.locator.slice():ae,l;for(n=r+1;n<t.length;n++){l=_(n,a,n-1);a=l.locator.slice();s[n]=se.extend(true,{},l)}var c=o&&o.alternation!==ae?o.locator[o.alternation]:ae;for(n=i-1;n>r;n--){l=s[n];if((l.match.optionality||l.match.optionalQuantifier&&l.match.newBlockMarker||c&&(c!==s[n].locator[o.alternation]&&l.match.fn!=null||l.match.fn===null&&l.locator[o.alternation]&&W(l.locator[o.alternation].toString().split(","),c.toString().split(","))&&x(n)[0].def!==""))&&t[n]===j(n,l.match))i--;else break}return e?{l:i,def:s[i]?s[i].match:ae}:i}function I(e){e.length=0;var t=f(true,0,true,ae,true),i,n;while(i=t.shift(),i!==ae)e.push(i);return e}function N(e){if(se.isFunction($.isComplete))return $.isComplete(e,$);if($.repeat==="*")return ae;var t=false,i=G(true),n=E(i.l);if(i.def===ae||i.def.newBlockMarker||i.def.optionality||i.def.optionalQuantifier){t=true;for(var r=0;r<=n;r++){var s=_(r).match;if(s.fn!==null&&B().validPositions[r]===ae&&s.optionality!==true&&s.optionalQuantifier!==true||s.fn===null&&e[r]!==j(r,s)){t=false;break}}}return t}function K(e,t,i,n,r){if($.numericInput||g){if(t===fe.keyCode.BACKSPACE)t=fe.keyCode.DELETE;else if(t===fe.keyCode.DELETE)t=fe.keyCode.BACKSPACE;if(g){var s=i.end;i.end=i.begin;i.begin=s}}if(t===fe.keyCode.BACKSPACE&&i.end-i.begin<1){i.begin=E(i.begin);if(B().validPositions[i.begin]!==ae&&B().validPositions[i.begin].input===$.groupSeparator)i.begin--}else if(t===fe.keyCode.DELETE&&i.begin===i.end){i.end=T(i.end,true)&&(B().validPositions[i.end]&&B().validPositions[i.end].input!==$.radixPoint)?i.end+1:D(i.end)+1;if(B().validPositions[i.begin]!==ae&&B().validPositions[i.begin].input===$.groupSeparator)i.end++}X(i);if(n!==true&&$.keepStatic!==false||$.regex!==null){var o=V(true);if(o){var a=o.caret!==ae?o.caret:o.pos?D(o.pos.begin?o.pos.begin:o.pos):k(-1,true);if(t!==fe.keyCode.DELETE||i.begin>a)i.begin==a}}var l=k(i.begin,true);if(l<i.begin||i.begin===-1)B().p=D(l);else if(n!==true){B().p=i.begin;if(r!==true)while(B().p<l&&B().validPositions[B().p]===ae)B().p++}}function Z(c){var u=(c.ownerDocument.defaultView||oe).getComputedStyle(c,null);function t(e){var t=le.createElement("span"),i;for(var n in u)if(isNaN(n)&&n.indexOf("font")!==-1)t.style[n]=u[n];t.style.textTransform=u.textTransform;t.style.letterSpacing=u.letterSpacing;t.style.position="absolute";t.style.height="auto";t.style.width="auto";t.style.visibility="hidden";t.style.whiteSpace="nowrap";le.body.appendChild(t);var r=c.inputmask._valueGet(),s=0,o;for(i=0,o=r.length;i<=o;i++){t.innerHTML+=r.charAt(i)||"_";if(t.offsetWidth>=e){var a=e-s;var l=t.offsetWidth-e;t.innerHTML=r.charAt(i);a-=t.offsetWidth/3;i=a<l?i-1:i;break}s=t.offsetWidth}le.body.removeChild(t);return i}var e=le.createElement("div");e.style.width=u.width;e.style.textAlign=u.textAlign;p=le.createElement("div");c.inputmask.colorMask=p;p.className="im-colormask";c.parentNode.insertBefore(p,c);c.parentNode.removeChild(c);p.appendChild(c);p.appendChild(e);c.style.left=e.offsetLeft+"px";se(p).on("mouseleave",function(e){return O.mouseleaveEvent.call(c,[e])});se(p).on("mouseenter",function(e){return O.mouseenterEvent.call(c,[e])});se(p).on("click",function(e){Y(c,t(e.clientX));return O.clickEvent.call(c,[e])})}function J(e,t,i){var n=[],r=false,s,o,a,l=0;function c(e){if(e===ae)e="";if(!r&&(s.fn===null||o.input===ae)){r=true;n.push("<span class='im-static'>"+e)}else if(r&&(s.fn!==null&&o.input!==ae||s.def==="")){r=false;var t=n.length;n[t-1]=n[t-1]+"</span>";n.push(e)}else n.push(e)}function u(){if(le.activeElement===e){n.splice(t.begin,0,t.begin===t.end||t.end>B().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">');n.splice(t.end+1,0,"</mark>")}}if(p!==ae){var d=C();if(t===ae)t=Y(e);else if(t.begin===ae)t={begin:t,end:t};if(i!==true){var h=k();do{if(B().validPositions[l]){o=B().validPositions[l];s=o.match;a=o.locator.slice();c(d[l])}else{o=_(l,a,l-1);s=o.match;a=o.locator.slice();if($.jitMasking===false||l<h||typeof $.jitMasking==="number"&&isFinite($.jitMasking)&&$.jitMasking>l)c(j(l,s));else r=false}l++}while((v===ae||l<v)&&(s.fn!==null||s.def!=="")||h>l||r);if(r)c();u()}var f=p.getElementsByTagName("div")[0];f.innerHTML=n.join("");e.inputmask.positionColorMask(e,f)}}function Q(e){function t(e,l){function t(e){var t;var i;function n(e){if(se.valHooks&&(se.valHooks[e]===ae||se.valHooks[e].inputmaskpatch!==true)){var i=se.valHooks[e]&&se.valHooks[e].get?se.valHooks[e].get:function(e){return e.value};var r=se.valHooks[e]&&se.valHooks[e].set?se.valHooks[e].set:function(e,t){e.value=t;return e};se.valHooks[e]={get:function(e){if(e.inputmask)if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();else{var t=i(e);return k(ae,ae,e.inputmask.maskset.validPositions)!==-1||l.nullable!==true?t:""}else return i(e)},set:function(e,t){var i=se(e),n;n=r(e,t);if(e.inputmask)i.trigger("setvalue",[t]);return n},inputmaskpatch:true}}}function r(){if(this.inputmask)return this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():k()!==-1||l.nullable!==true?le.activeElement===this&&l.clearMaskOnLostFocus?(g?I(C().slice()).reverse():I(C().slice())).join(""):t.call(this):"";else return t.call(this)}function s(e){i.call(this,e);if(this.inputmask)se(this).trigger("setvalue",[e])}function o(e){h.on(e,"mouseenter",function(e){var t=se(this),i=this,n=i.inputmask._valueGet();if(n!==C().join(""))t.trigger("setvalue")})}if(!e.inputmask.__valueGet){if(l.noValuePatching!==true){if(Object.getOwnPropertyDescriptor){if(typeof Object.getPrototypeOf!=="function")Object.getPrototypeOf=typeof"test".__proto__==="object"?function(e){return e.__proto__}:function(e){return e.constructor.prototype};var a=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value"):ae;if(a&&a.get&&a.set){t=a.get;i=a.set;Object.defineProperty(e,"value",{get:r,set:s,configurable:true})}else if(e.tagName!=="INPUT"){t=function(){return this.textContent};i=function(e){this.textContent=e};Object.defineProperty(e,"value",{get:r,set:s,configurable:true})}}else if(le.__lookupGetter__&&e.__lookupGetter__("value")){t=e.__lookupGetter__("value");i=e.__lookupSetter__("value");e.__defineGetter__("value",r);e.__defineSetter__("value",s)}e.inputmask.__valueGet=t;e.inputmask.__valueSet=i}e.inputmask._valueGet=function(e){return g&&e!==true?t.call(this.el).split("").reverse().join(""):t.call(this.el)};e.inputmask._valueSet=function(e,t){i.call(this.el,e===null||e===ae?"":t!==true&&g?e.split("").reverse().join(""):e)};if(t===ae){t=function(){return this.value};i=function(e){this.value=e};n(e.type);o(e)}}}var i=e.getAttribute("type");var n=e.tagName==="INPUT"&&se.inArray(i,l.supportsInputType)!==-1||e.isContentEditable||e.tagName==="TEXTAREA";if(!n)if(e.tagName==="INPUT"){var r=le.createElement("input");r.setAttribute("type",i);n=r.type==="text";r=null}else n="partial";if(n!==false)t(e);else e.inputmask=ae;return n}h.off(e);var i=t(e,$);if(i!==false){c=e;s=se(c);a=c.placeholder;v=c!==ae?c.maxLength:ae;if(v===-1)v=ae;if($.colorMask===true)Z(c);if(ue){if("inputMode"in c){c.inputmode=$.inputmode;c.setAttribute("inputmode",$.inputmode)}if($.disablePredictiveText===true)if("autocorrect"in c)c.autocorrect=false;else{if($.colorMask!==true)Z(c);c.type="password"}}if(i===true){c.setAttribute("im-insert",$.insertMode);h.on(c,"submit",O.submitEvent);h.on(c,"reset",O.resetEvent);h.on(c,"blur",O.blurEvent);h.on(c,"focus",O.focusEvent);if($.colorMask!==true){h.on(c,"click",O.clickEvent);h.on(c,"mouseleave",O.mouseleaveEvent);h.on(c,"mouseenter",O.mouseenterEvent)}h.on(c,"paste",O.pasteEvent);h.on(c,"cut",O.cutEvent);h.on(c,"complete",$.oncomplete);h.on(c,"incomplete",$.onincomplete);h.on(c,"cleared",$.oncleared);if(!ue&&$.inputEventOnly!==true){h.on(c,"keydown",O.keydownEvent);h.on(c,"keypress",O.keypressEvent)}else c.removeAttribute("maxLength");h.on(c,"input",O.inputFallBackEvent);h.on(c,"beforeinput",O.beforeInputEvent)}h.on(c,"setvalue",O.setValueEvent);m=M().join("");if(c.inputmask._valueGet(true)!==""||$.clearMaskOnLostFocus===false||le.activeElement===c){var n=se.isFunction($.onBeforeMask)?$.onBeforeMask.call(u,c.inputmask._valueGet(true),$)||c.inputmask._valueGet(true):c.inputmask._valueGet(true);if(n!=="")P(c,true,false,n.split(""));var r=C().slice();m=r.join("");if(N(r)===false)if($.clearIncomplete)w();if($.clearMaskOnLostFocus&&le.activeElement!==c)if(k()===-1)r=[];else I(r);if($.clearMaskOnLostFocus===false||$.showMaskOnFocus&&le.activeElement===c||c.inputmask._valueGet(true)!=="")A(c,r);if(le.activeElement===c)Y(c,D(k()))}}}var i;if(e!==ae)switch(e.action){case"isComplete":c=e.el;return N(C());case"unmaskedvalue":if(c===ae||e.value!==ae){i=e.value;i=(se.isFunction($.onBeforeMask)?$.onBeforeMask.call(u,i,$)||i:i).split("");P.call(this,ae,false,false,i);if(se.isFunction($.onBeforeWrite))$.onBeforeWrite.call(u,ae,C(),0,$)}return r(c);case"mask":Q(c);break;case"format":i=(se.isFunction($.onBeforeMask)?$.onBeforeMask.call(u,e.value,$)||e.value:e.value).split("");P.call(this,ae,true,false,i);if(e.metadata)return{value:g?C().slice().reverse().join(""):C().join(""),metadata:me.call(this,{action:"getmetadata"},t,$)};return g?C().slice().reverse().join(""):C().join("");case"isValid":if(e.value){i=e.value.split("");P.call(this,ae,true,true,i)}else e.value=C().join("");var ee=C();var te=G(),ie=ee.length-1;for(;ie>te;ie--)if(T(ie))break;ee.splice(te,ie+1-te);return N(ee)&&e.value===C().join("");case"getemptymask":return M().join("");case"remove":if(c&&c.inputmask){se.data(c,"_inputmask_opts",null);s=se(c);c.inputmask._valueSet($.autoUnmask?r(c):c.inputmask._valueGet(true));h.off(c);if(c.inputmask.colorMask){p=c.inputmask.colorMask;p.removeChild(c);p.parentNode.insertBefore(c,p);p.parentNode.removeChild(p)}var ne;if(Object.getOwnPropertyDescriptor&&Object.getPrototypeOf){ne=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(c),"value");if(ne)if(c.inputmask.__valueGet)Object.defineProperty(c,"value",{get:c.inputmask.__valueGet,set:c.inputmask.__valueSet,configurable:true})}else if(le.__lookupGetter__&&c.__lookupGetter__("value"))if(c.inputmask.__valueGet){c.__defineGetter__("value",c.inputmask.__valueGet);c.__defineSetter__("value",c.inputmask.__valueSet)}c.inputmask=ae}return c;break;case"getmetadata":if(se.isArray(t.metadata)){var re=f(true,0,false).join("");se.each(t.metadata,function(e,t){if(t.mask===re){re=t;return false}});return re}return t.metadata}}return fe.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:se.noop,onincomplete:se.noop,oncleared:se.noop,repeat:0,greedy:false,autoUnmask:false,removeMaskOnSubmit:false,clearMaskOnLostFocus:true,insertMode:true,clearIncomplete:false,alias:null,onKeyDown:se.noop,onBeforeMask:null,onBeforePaste:function(e,t){return se.isFunction(t.onBeforeMask)?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:true,showMaskOnHover:true,onKeyValidation:se.noop,skipOptionalPartCharacter:" ",numericInput:false,rightAlign:false,undoOnEscape:true,radixPoint:"",_radixDance:false,groupSeparator:"",keepStatic:null,positionCaretOnTab:true,tabThrough:false,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:ae,jitMasking:false,nullable:true,inputEventOnly:false,noValuePatching:false,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:false,disablePredictiveText:false,importDataAttributes:true,shiftPositions:true},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(e){var r=this;function s(i,e,n,r){if(e.importDataAttributes===true){var t=i.getAttribute(r),s,o,a,l;var c=function(e,t){t=t!==ae?t:i.getAttribute(r+"-"+e);if(t!==null){if(typeof t==="string")if(e.indexOf("on")===0)t=oe[t];else if(t==="false")t=false;else if(t==="true")t=true;n[e]=t}};if(t&&t!==""){t=t.replace(/'/g,'"');o=JSON.parse("{"+t+"}")}if(o){a=ae;for(l in o)if(l.toLowerCase()==="alias"){a=o[l];break}}c("alias",a);if(n.alias)u(n.alias,n,e);for(s in e){if(o){a=ae;for(l in o)if(l.toLowerCase()===s.toLowerCase()){a=o[l];break}}c(s,a)}}se.extend(true,e,n);if(i.dir==="rtl"||e.rightAlign)i.style.textAlign="right";if(i.dir==="rtl"||e.numericInput){i.dir="ltr";i.removeAttribute("dir");e.isRTL=true}return Object.keys(n).length}if(typeof e==="string")e=le.getElementById(e)||le.querySelectorAll(e);e=e.nodeName?[e]:e;se.each(e,function(e,t){var i=se.extend(true,{},r.opts);if(s(t,i,se.extend(true,{},r.userOptions),r.dataAttribute)){var n=o(i,r.noMasksCache);if(n!==ae){if(t.inputmask!==ae){t.inputmask.opts.autoUnmask=true;t.inputmask.remove()}t.inputmask=new fe(ae,ae,true);t.inputmask.opts=i;t.inputmask.noMasksCache=r.noMasksCache;t.inputmask.userOptions=se.extend(true,{},r.userOptions);t.inputmask.isRTL=i.isRTL||i.numericInput;t.inputmask.el=t;t.inputmask.maskset=n;se.data(t,"_inputmask_opts",i);me.call(t.inputmask,{action:"mask"})}}});return e&&e[0]?e[0].inputmask||this:this},option:function(e,t){if(typeof e==="string")return this.opts[e];else if(typeof e==="object"){se.extend(this.userOptions,e);if(this.el&&t!==true)this.mask(this.el);return this}},unmaskedvalue:function(e){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return me.call(this,{action:"remove"})},getemptymask:function(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"isComplete"})},getmetadata:function(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"getmetadata"})},isValid:function(e){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"isValid",value:e})},format:function(e,t){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"format",value:e,metadata:t})},setValue:function(e){if(this.el)se(this.el).trigger("setvalue",[e])},analyseMask:function(e,s,o){var t=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,i=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,a=false,n=new g,r,l,c=[],u=[],d,h,f,p,m;function g(e,t,i,n){this.matches=[];this.openGroup=e||false;this.alternatorGroup=false;this.isGroup=e||false;this.isOptional=t||false;this.isQuantifier=i||false;this.isAlternator=n||false;this.quantifier={min:1,max:1}}function v(i,e,n){n=n!==ae?n:i.matches.length;var r=i.matches[n-1];if(s){if(e.indexOf("[")===0||a&&/\\d|\\s|\\w]/i.test(e)||e===".")i.matches.splice(n++,0,{fn:new RegExp(e,o.casing?"i":""),optionality:false,newBlockMarker:r===ae?"master":r.def!==e,casing:null,def:e,placeholder:ae,nativeDef:e});else{if(a)e=e[e.length-1];se.each(e.split(""),function(e,t){r=i.matches[n-1];i.matches.splice(n++,0,{fn:null,optionality:false,newBlockMarker:r===ae?"master":r.def!==t&&r.fn!==null,casing:null,def:o.staticDefinitionSymbol||t,placeholder:o.staticDefinitionSymbol!==ae?t:ae,nativeDef:(a?"'":"")+t})})}a=false}else{var t=(o.definitions?o.definitions[e]:ae)||fe.prototype.definitions[e];if(t&&!a)i.matches.splice(n++,0,{fn:t.validator?typeof t.validator=="string"?new RegExp(t.validator,o.casing?"i":""):new function(){this.test=t.validator}:new RegExp("."),optionality:false,newBlockMarker:r===ae?"master":r.def!==(t.definitionSymbol||e),casing:t.casing,def:t.definitionSymbol||e,placeholder:t.placeholder,nativeDef:e});else{i.matches.splice(n++,0,{fn:null,optionality:false,newBlockMarker:r===ae?"master":r.def!==e&&r.fn!==null,casing:null,def:o.staticDefinitionSymbol||e,placeholder:o.staticDefinitionSymbol!==ae?e:ae,nativeDef:(a?"'":"")+e});a=false}}}function y(n){if(n&&n.matches)se.each(n.matches,function(e,t){var i=n.matches[e+1];if((i===ae||(i.matches===ae||i.isQuantifier===false))&&t&&t.isGroup){t.isGroup=false;if(!s){v(t,o.groupmarker[0],0);if(t.openGroup!==true)v(t,o.groupmarker[1])}}y(t)})}function b(){if(c.length>0){h=c[c.length-1];v(h,l);if(h.isAlternator){f=c.pop();for(var e=0;e<f.matches.length;e++)if(f.matches[e].isGroup)f.matches[e].isGroup=false;if(c.length>0){h=c[c.length-1];h.matches.push(f)}else n.matches.push(f)}}else v(n,l)}function _(e){function t(e){if(e===o.optionalmarker[0])e=o.optionalmarker[1];else if(e===o.optionalmarker[1])e=o.optionalmarker[0];else if(e===o.groupmarker[0])e=o.groupmarker[1];else if(e===o.groupmarker[1])e=o.groupmarker[0];return e}e.matches=e.matches.reverse();for(var i in e.matches)if(e.matches.hasOwnProperty(i)){var n=parseInt(i);if(e.matches[i].isQuantifier&&e.matches[n+1]&&e.matches[n+1].isGroup){var r=e.matches[i];e.matches.splice(i,1);e.matches.splice(n+1,0,r)}if(e.matches[i].matches!==ae)e.matches[i]=_(e.matches[i]);else e.matches[i]=t(e.matches[i])}return e}function x(e){var t=new g(true);t.openGroup=false;t.matches=e;return t}if(s){o.optionalmarker[0]=ae;o.optionalmarker[1]=ae}while(r=s?i.exec(e):t.exec(e)){l=r[0];if(s)switch(l.charAt(0)){case"?":l="{0,1}";break;case"+":case"*":l="{"+l+"}";break}if(a){b();continue}switch(l.charAt(0)){case"(?=":break;case"(?!":break;case"(?<=":break;case"(?<!":break;case o.escapeChar:a=true;if(s)b();break;case o.optionalmarker[1]:case o.groupmarker[1]:d=c.pop();d.openGroup=false;if(d!==ae)if(c.length>0){h=c[c.length-1];h.matches.push(d);if(h.isAlternator){f=c.pop();for(var w=0;w<f.matches.length;w++){f.matches[w].isGroup=false;f.matches[w].alternatorGroup=false}if(c.length>0){h=c[c.length-1];h.matches.push(f)}else n.matches.push(f)}}else n.matches.push(d);else b();break;case o.optionalmarker[0]:c.push(new g(false,true));break;case o.groupmarker[0]:c.push(new g(true));break;case o.quantifiermarker[0]:var k=new g(false,false,true);l=l.replace(/[{}]/g,"");var S=l.split("|"),M=S[0].split(","),C=isNaN(M[0])?M[0]:parseInt(M[0]),L=M.length===1?C:isNaN(M[1])?M[1]:parseInt(M[1]);if(C==="*"||C==="+")C=L==="*"?0:1;k.quantifier={min:C,max:L,jit:S[1]};var T=c.length>0?c[c.length-1].matches:n.matches;r=T.pop();if(r.isAlternator){T.push(r);T=r.matches;var m=new g(true);var D=T.pop();T.push(m);T=m.matches;r=D}if(!r.isGroup)r=x([r]);T.push(r);T.push(k);break;case o.alternatormarker:var E=function(e){var t=e.pop();if(t.isQuantifier)t=x([e.pop(),t]);return t};if(c.length>0){h=c[c.length-1];var A=h.matches[h.matches.length-1];if(h.openGroup&&(A.matches===ae||A.isGroup===false&&A.isAlternator===false))p=c.pop();else p=E(h.matches)}else p=E(n.matches);if(p.isAlternator)c.push(p);else{if(p.alternatorGroup){f=c.pop();p.alternatorGroup=false}else f=new g(false,false,false,true);f.matches.push(p);c.push(f);if(p.openGroup){p.openGroup=false;var j=new g(true);j.alternatorGroup=true;c.push(j)}}break;default:b()}}while(c.length>0){d=c.pop();n.matches.push(d)}if(n.matches.length>0){y(n);u.push(n)}if(o.numericInput||o.isRTL)_(u[0]);return u},positionColorMask:function(e,t){e.style.left=t.offsetLeft+"px"}},fe.extendDefaults=function(e){se.extend(true,fe.prototype.defaults,e)},fe.extendDefinitions=function(e){se.extend(true,fe.prototype.definitions,e)},fe.extendAliases=function(e){se.extend(true,fe.prototype.aliases,e)},fe.format=function(e,t,i){return fe(t).format(e,i)},fe.unmask=function(e,t){return fe(t).unmaskedvalue(e)},fe.isValid=function(e,t){return fe(t).isValid(e)},fe.remove=function(e){if(typeof e==="string")e=le.getElementById(e)||le.querySelectorAll(e);e=e.nodeName?[e]:e;se.each(e,function(e,t){if(t.inputmask)t.inputmask.remove()})},fe.setValue=function(e,i){if(typeof e==="string")e=le.getElementById(e)||le.querySelectorAll(e);e=e.nodeName?[e]:e;se.each(e,function(e,t){if(t.inputmask)t.inputmask.setValue(i);else se(t).trigger("setvalue",[i])})},fe.escapeRegex=function(e){var t=["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"];return e.replace(new RegExp("(\\"+t.join("|\\")+")","gim"),"\\$1")},fe.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},fe.dependencyLib=se,fe})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 11,853 bytes, line 1
1"./node_modules/inputmask/dist/inputmask/inputmask.numeric.extensions.js":function(e,t,i){var n;i=[i("./node_modules/inputmask/dist/inputmask/inputmask.js")],void 0!==(t="function"==typeof(n=function(v){var y=v.dependencyLib;function o(e,t){var i="";for(var n=0;n<e.length;n++)if(v.prototype.definitions[e.charAt(n)]||t.definitions[e.charAt(n)]||t.optionalmarker.start===e.charAt(n)||t.optionalmarker.end===e.charAt(n)||t.quantifiermarker.start===e.charAt(n)||t.quantifiermarker.end===e.charAt(n)||t.groupmarker.start===e.charAt(n)||t.groupmarker.end===e.charAt(n)||t.alternatormarker===e.charAt(n))i+="\\"+e.charAt(n);else i+=e.charAt(n);return i}function l(e,t,i){if(t>0){var n=y.inArray(i.radixPoint,e);if(n===-1){e.push(i.radixPoint);n=e.length-1}for(var r=1;r<=t;r++)e[n+r]=e[n+r]||"0"}return e}return v.extendAliases({numeric:{mask:function(e){if(e.repeat!==0&&isNaN(e.integerDigits))e.integerDigits=e.repeat;e.repeat=0;if(e.groupSeparator===e.radixPoint&&e.digits&&e.digits!=="0")if(e.radixPoint===".")e.groupSeparator=",";else if(e.radixPoint===",")e.groupSeparator=".";else e.groupSeparator="";if(e.groupSeparator===" ")e.skipOptionalPartCharacter=undefined;e.autoGroup=e.autoGroup&&e.groupSeparator!=="";if(e.autoGroup){if(typeof e.groupSize=="string"&&isFinite(e.groupSize))e.groupSize=parseInt(e.groupSize);if(isFinite(e.integerDigits)){var t=Math.floor(e.integerDigits/e.groupSize);var i=e.integerDigits%e.groupSize;e.integerDigits=parseInt(e.integerDigits)+(i===0?t-1:t);if(e.integerDigits<1)e.integerDigits="*"}}if(e.placeholder.length>1)e.placeholder=e.placeholder.charAt(0);if(e.positionCaretOnClick==="radixFocus"&&(e.placeholder===""&&e.integerOptional===false))e.positionCaretOnClick="lvp";e.definitions[";"]=e.definitions["~"];e.definitions[";"].definitionSymbol="~";if(e.numericInput===true){e.positionCaretOnClick=e.positionCaretOnClick==="radixFocus"?"lvp":e.positionCaretOnClick;e.digitsOptional=false;if(isNaN(e.digits))e.digits=2;e.decimalProtect=false}var n="[+]";n+=o(e.prefix,e);if(e.integerOptional===true)n+="~{1,"+e.integerDigits+"}";else n+="~{"+e.integerDigits+"}";if(e.digits!==undefined){var r=e.decimalProtect?":":e.radixPoint;var s=e.digits.toString().split(",");if(isFinite(s[0])&&s[1]&&isFinite(s[1]))n+=r+";{"+e.digits+"}";else if(isNaN(e.digits)||parseInt(e.digits)>0)if(e.digitsOptional)n+="["+r+";{1,"+e.digits+"}]";else n+=r+";{"+e.digits+"}"}n+=o(e.suffix,e);n+="[-]";e.greedy=false;return n},placeholder:"",greedy:false,digits:"*",digitsOptional:true,enforceDigitsOnBlur:false,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:false,allowMinus:true,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:true,prefix:"",suffix:"",rightAlign:true,decimalProtect:true,min:null,max:null,step:1,insertMode:true,autoUnmask:false,unmaskAsNumber:false,inputType:"text",inputmode:"numeric",preValidation:function(e,t,i,n,r,s){if(i==="-"||i===r.negationSymbol.front){if(r.allowMinus!==true)return false;r.isNegative=r.isNegative===undefined?true:!r.isNegative;if(e.join("")==="")return true;return{caret:s.validPositions[t]?t:undefined,dopost:true}}if(n===false&&i===r.radixPoint&&(r.digits!==undefined&&(isNaN(r.digits)||parseInt(r.digits)>0))){var o=y.inArray(r.radixPoint,e);if(o!==-1&&s.validPositions[o]!==undefined){if(r.numericInput===true)return t===o;return{caret:o+1}}}return true},postValidation:function(e,t,i,n){function r(e,t){var i="";i+="("+t.groupSeparator+"*{"+t.groupSize+"}){*}";if(t.radixPoint!==""){var n=e.join("").split(t.radixPoint);if(n[1])i+=t.radixPoint+"*{"+n[1].match(/^\d*\??\d*/)[0].length+"}"}return i}var s=n.suffix.split(""),o=n.prefix.split("");if(i.pos===undefined&&i.caret!==undefined&&i.dopost!==true)return i;var a=i.caret!==undefined?i.caret:i.pos;var l=e.slice();if(n.numericInput){a=l.length-a-1;l=l.reverse()}var c=l[a];if(c===n.groupSeparator){a+=1;c=l[a]}if(a===l.length-n.suffix.length-1&&c===n.radixPoint)return i;if(c!==undefined)if(c!==n.radixPoint&&c!==n.negationSymbol.front&&c!==n.negationSymbol.back){l[a]="?";if(n.prefix.length>0&&a>=(n.isNegative===false?1:0)&&a<n.prefix.length-1+(n.isNegative===false?1:0))o[a-(n.isNegative===false?1:0)]="?";else if(n.suffix.length>0&&a>=l.length-n.suffix.length-(n.isNegative===false?1:0))s[a-(l.length-n.suffix.length-(n.isNegative===false?1:0))]="?"}o=o.join("");s=s.join("");var u=l.join("").replace(o,"");u=u.replace(s,"");u=u.replace(new RegExp(v.escapeRegex(n.groupSeparator),"g"),"");u=u.replace(new RegExp("[-"+v.escapeRegex(n.negationSymbol.front)+"]","g"),"");u=u.replace(new RegExp(v.escapeRegex(n.negationSymbol.back)+"$"),"");if(isNaN(n.placeholder))u=u.replace(new RegExp(v.escapeRegex(n.placeholder),"g"),"");if(u.length>1&&u.indexOf(n.radixPoint)!==1){if(c==="0")u=u.replace(/^\?/g,"");u=u.replace(/^0/g,"")}if(u.charAt(0)===n.radixPoint&&n.radixPoint!==""&&n.numericInput!==true)u="0"+u;if(u!==""){u=u.split("");if((!n.digitsOptional||n.enforceDigitsOnBlur&&i.event==="blur")&&isFinite(n.digits)){var d=y.inArray(n.radixPoint,u);var h=y.inArray(n.radixPoint,l);if(d===-1){u.push(n.radixPoint);d=u.length-1}for(var f=1;f<=n.digits;f++)if((!n.digitsOptional||n.enforceDigitsOnBlur&&i.event==="blur")&&(u[d+f]===undefined||u[d+f]===n.placeholder.charAt(0)))u[d+f]=i.placeholder||n.placeholder.charAt(0);else if(h!==-1&&l[h+f]!==undefined)u[d+f]=u[d+f]||l[h+f]}if(n.autoGroup===true&&n.groupSeparator!==""&&(c!==n.radixPoint||i.pos!==undefined||i.dopost)){var p=u[u.length-1]===n.radixPoint&&i.c===n.radixPoint;u=v(r(u,n),{numericInput:true,jitMasking:true,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(u.join(""));if(p)u+=n.radixPoint;if(u.charAt(0)===n.groupSeparator)u.substr(1)}else u=u.join("")}if(n.isNegative&&i.event==="blur")n.isNegative=u!=="0";u=o+u;u+=s;if(n.isNegative){u=n.negationSymbol.front+u;u+=n.negationSymbol.back}u=u.split("");if(c!==undefined)if(c!==n.radixPoint&&c!==n.negationSymbol.front&&c!==n.negationSymbol.back){a=y.inArray("?",u);if(a>-1)u[a]=c;else a=i.caret||0}else if(c===n.radixPoint||c===n.negationSymbol.front||c===n.negationSymbol.back){var m=y.inArray(c,u);if(m!==-1)a=m}if(n.numericInput){a=u.length-a-1;u=u.reverse()}var g={caret:(c===undefined||i.pos!==undefined)&&a!==undefined?a+(n.numericInput?-1:1):a,buffer:u,refreshFromBuffer:i.dopost||e.join("")!==u.join("")};return g.refreshFromBuffer?g:i},onBeforeWrite:function(e,t,i,n){function r(e){if(e.parseMinMaxOptions===undefined){if(e.min!==null){e.min=e.min.toString().replace(new RegExp(v.escapeRegex(e.groupSeparator),"g"),"");if(e.radixPoint===",")e.min=e.min.replace(e.radixPoint,".");e.min=isFinite(e.min)?parseFloat(e.min):NaN;if(isNaN(e.min))e.min=Number.MIN_VALUE}if(e.max!==null){e.max=e.max.toString().replace(new RegExp(v.escapeRegex(e.groupSeparator),"g"),"");if(e.radixPoint===",")e.max=e.max.replace(e.radixPoint,".");e.max=isFinite(e.max)?parseFloat(e.max):NaN;if(isNaN(e.max))e.max=Number.MAX_VALUE}e.parseMinMaxOptions="done"}}if(e)switch(e.type){case"keydown":return n.postValidation(t,i,{caret:i,dopost:true},n);case"blur":case"checkval":var s;r(n);if(n.min!==null||n.max!==null){s=n.onUnMask(t.join(""),undefined,y.extend({},n,{unmaskAsNumber:true}));if(n.min!==null&&s<n.min){n.isNegative=n.min<0;return n.postValidation(n.min.toString().replace(".",n.radixPoint).split(""),i,{caret:i,dopost:true,placeholder:"0"},n)}else if(n.max!==null&&s>n.max){n.isNegative=n.max<0;return n.postValidation(n.max.toString().replace(".",n.radixPoint).split(""),i,{caret:i,dopost:true,placeholder:"0"},n)}}return n.postValidation(t,i,{caret:i,placeholder:"0",event:"blur"},n);case"_checkval":return{caret:i};default:break}},regex:{integerPart:function(e,t){return t?new RegExp("["+v.escapeRegex(e.negationSymbol.front)+"+]?"):new RegExp("["+v.escapeRegex(e.negationSymbol.front)+"+]?\\d+")},integerNPart:function(e){return new RegExp("[\\d"+v.escapeRegex(e.groupSeparator)+v.escapeRegex(e.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(e,t,i,n,r,s){var o,a;if(e==="k"||e==="m"){o={insert:[],c:0};for(var l=0,a=e==="k"?2:5;l<a;l++)o.insert.push({pos:i+l,c:0});o.pos=i+a;return o}o=n?new RegExp("[0-9"+v.escapeRegex(r.groupSeparator)+"]").test(e):new RegExp("[0-9]").test(e);if(o===true){if(r.numericInput!==true&&t.validPositions[i]!==undefined&&t.validPositions[i].match.def==="~"&&!s){var c=t.buffer.join("");c=c.replace(new RegExp("[-"+v.escapeRegex(r.negationSymbol.front)+"]","g"),"");c=c.replace(new RegExp(v.escapeRegex(r.negationSymbol.back)+"$"),"");var u=c.split(r.radixPoint);if(u.length>1)u[1]=u[1].replace(/0/g,r.placeholder.charAt(0));if(u[0]==="0")u[0]=u[0].replace(/0/g,r.placeholder.charAt(0));c=u[0]+r.radixPoint+u[1]||"";var d=t._buffer.join("");if(c===r.radixPoint)c=d;while(c.match(v.escapeRegex(d)+"$")===null)d=d.slice(1);c=c.replace(d,"");c=c.split("");if(c[i]===undefined)o={pos:i,remove:i};else o={pos:i}}}else if(!n&&e===r.radixPoint&&t.validPositions[i-1]===undefined)o={insert:{pos:i,c:0},pos:i+1};return o},cardinality:1},"+":{validator:function(e,t,i,n,r){return r.allowMinus&&(e==="-"||e===r.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(e,t,i,n,r){return r.allowMinus&&e===r.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(e,t,i,n,r){var s="["+v.escapeRegex(r.radixPoint)+"]";var o=new RegExp(s).test(e);if(o&&t.validPositions[i]&&t.validPositions[i].match.placeholder===r.radixPoint)o={caret:i+1};return o},cardinality:1,placeholder:function(e){return e.radixPoint}}},onUnMask:function(e,t,i){if(t===""&&i.nullable===true)return t;var n=e.replace(i.prefix,"");n=n.replace(i.suffix,"");n=n.replace(new RegExp(v.escapeRegex(i.groupSeparator),"g"),"");if(i.placeholder.charAt(0)!=="")n=n.replace(new RegExp(i.placeholder.charAt(0),"g"),"0");if(i.unmaskAsNumber){if(i.radixPoint!==""&&n.indexOf(i.radixPoint)!==-1)n=n.replace(v.escapeRegex.call(this,i.radixPoint),".");n=n.replace(new RegExp("^"+v.escapeRegex(i.negationSymbol.front)),"-");n=n.replace(new RegExp(v.escapeRegex(i.negationSymbol.back)+"$"),"");return Number(n)}return n},isComplete:function(e,t){var i=(t.numericInput?e.slice().reverse():e).join("");i=i.replace(new RegExp("^"+v.escapeRegex(t.negationSymbol.front)),"-");i=i.replace(new RegExp(v.escapeRegex(t.negationSymbol.back)+"$"),"");i=i.replace(t.prefix,"");i=i.replace(t.suffix,"");i=i.replace(new RegExp(v.escapeRegex(t.groupSeparator)+"([0-9]{3})","g"),"$1");if(t.radixPoint===",")i=i.replace(v.escapeRegex(t.radixPoint),".");return isFinite(i)},onBeforeMask:function(e,t){t.isNegative=undefined;var i=t.radixPoint||",";if((typeof e=="number"||t.inputType==="number")&&i!=="")e=e.toString().replace(".",i);var n=e.split(i),r=n[0].replace(/[^\-0-9]/g,""),s=n.length>1?n[1].replace(/[^0-9]/g,""):"";e=r+(s!==""?i+s:s);var o=0;if(i!==""){o=s.length;if(s!==""){var a=Math.pow(10,o||1);if(isFinite(t.digits)){o=parseInt(t.digits);a=Math.pow(10,o)}e=e.replace(v.escapeRegex(i),".");if(isFinite(e))e=Math.round(parseFloat(e)*a)/a;e=e.toString().replace(".",i)}}if(t.digits===0&&e.indexOf(v.escapeRegex(i))!==-1)e=e.substring(0,e.indexOf(v.escapeRegex(i)));return l(e.toString().split(""),o,t).join("")},onKeyDown:function(e,t,i,n){var r=y(this);if(e.ctrlKey)switch(e.keyCode){case v.keyCode.UP:r.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(n.step));r.trigger("setvalue");break;case v.keyCode.DOWN:r.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(n.step));r.trigger("setvalue");break}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:true,digits:2,digitsOptional:false,clearMaskOnLostFocus:false},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:true,radixPoint:".",placeholder:"0",autoGroup:false,min:0,max:100,suffix:" %",allowMinus:false}}),v})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 74,587 bytes, line 1
1"./node_modules/inputmask/dist/jquery.inputmask.bundle.js":function(module,exports,__webpack_require__){!function(i){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=i,r.c=n,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,i){"use strict";i(1),i(6),i(7);var n=o(i(2)),r=o(i(3)),s=o(i(4));function o(e){return e&&e.__esModule?e:{default:e}}r.default===s.default&&i(8),window.Inputmask=n.default},function(e,t,i){"use strict";var n;i=[i(2)],void 0!==(t="function"==typeof(n=function(e){return e.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),e.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:false},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function e(t,i,n,r,s){if(n-1>-1&&i.buffer[n-1]!=="."){t=i.buffer[n-1]+t;if(n-2>-1&&i.buffer[n-2]!==".")t=i.buffer[n-2]+t;else t="0"+t}else t="00"+t;return new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(t)}}},onUnMask:function e(t,i,n){return t},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:false,casing:"lower",onBeforePaste:function e(t,i){t=t.toLowerCase();return t.replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function e(t,i,n){return t},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:true,autoUnmask:true}}),e})?n.apply(t,i):n)&&(e.exports=t)},function(e,t,i){"use strict";var n,ge="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};i=[i(3),i(5)],void 0!==(t="function"==typeof(n=function(se,oe,ae){var le=oe.document,e=navigator.userAgent,ce=e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0,ue=pe("touchstart"),de=/iemobile/i.test(e),he=/iphone/i.test(e)&&!de;function fe(e,t,i){if(!(this instanceof fe))return new fe(e,t,i);this.el=ae;this.events={};this.maskset=ae;this.refreshValue=false;if(i!==true){if(se.isPlainObject(e))t=e;else{t=t||{};if(e)t.alias=e}this.opts=se.extend(true,{},this.defaults,t);this.noMasksCache=t&&t.definitions!==ae;this.userOptions=t||{};this.isRTL=this.opts.numericInput;u(this.opts.alias,t,this.opts)}}function u(e,t,i){var n=fe.prototype.aliases[e];if(n){if(n.alias)u(n.alias,ae,i);se.extend(true,i,n);se.extend(true,i,t);return true}else if(i.mask===null)i.mask=e;return false}function o(i,a){function e(e,t,i){var n=false;if(e===null||e===""){n=i.regex!==null;if(n){e=i.regex;e=e.replace(/^(\^)(.*)(\$)$/,"$2")}else{n=true;e=".*"}}if(e.length===1&&i.greedy===false&&i.repeat!==0)i.placeholder="";if(i.repeat>0||i.repeat==="*"||i.repeat==="+"){var r=i.repeat==="*"?0:i.repeat==="+"?1:i.repeat;e=i.groupmarker[0]+e+i.groupmarker[1]+i.quantifiermarker[0]+r+","+i.repeat+i.quantifiermarker[1]}var s,o=n?"regex_"+i.regex:i.numericInput?e.split("").reverse().join(""):e;if(fe.prototype.masksCache[o]===ae||a===true){s={mask:e,maskToken:fe.prototype.analyseMask(e,n,i),validPositions:{},_buffer:ae,buffer:ae,tests:{},excludes:{},metadata:t,maskLength:ae,jitOffset:{}};if(a!==true){fe.prototype.masksCache[o]=s;s=se.extend(true,{},fe.prototype.masksCache[o])}}else s=se.extend(true,{},fe.prototype.masksCache[o]);return s}var t;if(se.isFunction(i.mask))i.mask=i.mask(i);if(se.isArray(i.mask))if(i.mask.length>1){if(i.keepStatic===null){i.keepStatic="auto";for(var n=0;n<i.mask.length;n++)if(i.mask[n].charAt(0)!==i.mask[0].charAt(0)){i.keepStatic=true;break}}var r=i.groupmarker[0];se.each(i.isRTL?i.mask.reverse():i.mask,function(e,t){if(r.length>1)r+=i.groupmarker[1]+i.alternatormarker+i.groupmarker[0];if(t.mask!==ae&&!se.isFunction(t.mask))r+=t.mask;else r+=t});r+=i.groupmarker[1];return e(r,i.mask,i)}else i.mask=i.mask.pop();if(i.mask&&i.mask.mask!==ae&&!se.isFunction(i.mask.mask))t=e(i.mask.mask,i.mask,i);else t=e(i.mask,i.mask,i);return t}function pe(e){var t=le.createElement("input"),i="on"+e,n=i in t;if(!n){t.setAttribute(i,"return;");n=typeof t[i]==="function"}t=null;return n}function me(e,t,$){t=t||this.maskset;$=$||this.opts;var d=this,c=this.el,g=this.isRTL,v,s,a=false,u=false,b=false,y,r=false,p,o;var f=function e(t,i,n,r,s){var o=$.greedy;if(s)$.greedy=false;i=i||0;var a=[],l,c=0,u,d,h=k();do{if(t===true&&B().validPositions[c]){d=s&&B().validPositions[c].match.optionality===true&&B().validPositions[c+1]===ae&&(B().validPositions[c].generatedInput===true||B().validPositions[c].input==$.skipOptionalPartCharacter&&c>0)?m(c,x(c,l,c-1)):B().validPositions[c];u=d.match;l=d.locator.slice();a.push(n===true?d.input:n===false?u.nativeDef:j(c,u))}else{d=_(c,l,c-1);u=d.match;l=d.locator.slice();var f=r===true?false:$.jitMasking!==false?$.jitMasking:u.jit;if(f===false||f===ae||typeof f==="number"&&isFinite(f)&&f>c)a.push(n===false?u.nativeDef:j(c,u))}if($.keepStatic==="auto")if(u.newBlockMarker&&u.fn!==null)$.keepStatic=c-1;c++}while((y===ae||c<y)&&(u.fn!==null||u.def!=="")||i>c);if(a[a.length-1]==="")a.pop();if(n!==false||B().maskLength===ae)B().maskLength=c-1;$.greedy=o;return a};function B(){return t}function w(e){var t=B();t.buffer=ae;if(e!==true){t.validPositions={};t.p=0}}function k(e,t,i){var n=-1,r=-1,s=i||B().validPositions;if(e===ae)e=-1;for(var o in s){var a=parseInt(o);if(s[a]&&(t||s[a].generatedInput!==true)){if(a<=e)n=a;if(a>=e)r=a}}return n===-1||n==e?r:r==-1?n:e-n<r-e?n:r}function H(e){var t=e.locator[e.alternation];if(typeof t=="string"&&t.length>0)t=t.split(",")[0];return t!==ae?t.toString():""}function F(e,t){var i=(e.alternation!=ae?e.mloc[H(e)]:e.locator).join("");if(i!=="")while(i.length<t)i+="0";return i}function m(e,t){e=e>0?e-1:0;var i=S(e),n=F(i),r,s,o;for(var a=0;a<t.length;a++){var l=t[a];r=F(l,n.length);var c=Math.abs(r-n);if(s===ae||r!==""&&c<s||o&&!$.greedy&&o.match.optionality&&o.match.newBlockMarker==="master"&&(!l.match.optionality||!l.match.newBlockMarker)||o&&o.match.optionalQuantifier&&!l.match.optionalQuantifier){s=c;o=l}}return o}function _(e,t,i){return B().validPositions[e]||m(e,x(e,t?t.slice():t,i))}function S(e,t){if(B().validPositions[e])return B().validPositions[e];return(t||x(e))[0]}function R(e,t){var i=false,n=x(e);for(var r=0;r<n.length;r++)if(n[r].match&&n[r].match.def===t){i=true;break}return i}function x(Y,e,t){var i=B().maskToken,I=e?t:0,n=e?e.slice():[0],N=[],H=false,F,R=e?e.join(""):"";function z(j,O,e,t){function P(e,t,i){function s(i,n){var r=se.inArray(i,n.matches)===0;if(!r)se.each(n.matches,function(e,t){if(t.isQuantifier===true)r=s(i,n.matches[e-1]);else if(t.hasOwnProperty("matches"))r=s(i,t);if(r)return false});return r}function n(e,r,s){var o,a;if(B().tests[e]||B().validPositions[e])se.each(B().tests[e]||[B().validPositions[e]],function(e,t){if(t.mloc[r]){o=t;return false}var i=s!==ae?s:t.alternation,n=t.locator[i]!==ae?t.locator[i].toString().indexOf(r):-1;if((a===ae||n<a)&&n!==-1){o=t;a=n}});if(o){var t=o.locator[o.alternation];var i=o.mloc[r]||o.mloc[t]||o.locator;return i.slice((s!==ae?s:o.alternation)+1)}else return s!==ae?n(e,r):ae}function r(e,t){function i(e){var t=[],i,n;for(var r=0,s=e.length;r<s;r++)if(e.charAt(r)==="-"){n=e.charCodeAt(r+1);while(++i<n)t.push(String.fromCharCode(i))}else{i=e.charCodeAt(r);t.push(e.charAt(r))}return t.join("")}if($.regex&&e.match.fn!==null&&t.match.fn!==null)return i(t.match.def.replace(/[\[\]]/g,"")).indexOf(i(e.match.def.replace(/[\[\]]/g,"")))!==-1;return e.match.def===t.match.nativeDef}function o(e,t){var i=e.locator.slice(e.alternation).join(""),n=t.locator.slice(t.alternation).join(""),r=i==n;r=r&&e.match.fn===null&&t.match.fn!==null?t.match.fn.test(e.match.def,B(),Y,false,$,false):false;return r}function a(e,t){if(t===ae||e.alternation===t.alternation&&e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])===-1){e.mloc=e.mloc||{};var i=e.locator[e.alternation];if(i===ae)e.alternation=ae;else{if(typeof i==="string")i=i.split(",")[0];if(e.mloc[i]===ae)e.mloc[i]=e.locator.slice();if(t!==ae){for(var n in t.mloc){if(typeof n==="string")n=n.split(",")[0];if(e.mloc[n]===ae)e.mloc[n]=t.mloc[n]}e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return true}}return false}if(I>500&&i!==ae)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+B().mask;if(I===Y&&e.matches===ae){N.push({match:e,locator:t.reverse(),cd:R,mloc:{}});return true}else if(e.matches!==ae)if(e.isGroup&&i!==e){e=P(j.matches[se.inArray(e,j.matches)+1],t,i);if(e)return true}else if(e.isOptional){var l=e;e=z(e,O,t,i);if(e){se.each(N,function(e,t){t.match.optionality=true});F=N[N.length-1].match;if(i===ae&&s(F,l)){H=true;I=Y}else return true}}else if(e.isAlternator){var c=e,u=[],d,h=N.slice(),f=t.length;var p=O.length>0?O.shift():-1;if(p===-1||typeof p==="string"){var m=I,g=O.slice(),v=[],y;if(typeof p=="string")v=p.split(",");else for(y=0;y<c.matches.length;y++)v.push(y.toString());if(B().excludes[Y]){var b=v.slice();for(var _=0,x=B().excludes[Y].length;_<x;_++)v.splice(v.indexOf(B().excludes[Y][_].toString()),1);if(v.length===0){B().excludes[Y]=ae;v=b}}if($.keepStatic===true||isFinite(parseInt($.keepStatic))&&m>=$.keepStatic)v=v.slice(0,1);var w=false;for(var k=0;k<v.length;k++){y=parseInt(v[k]);N=[];O=typeof p==="string"?n(I,y,f)||g.slice():g.slice();if(c.matches[y]&&P(c.matches[y],[y].concat(t),i))e=true;else if(k===0)w=true;d=N.slice();I=m;N=[];for(var S=0;S<d.length;S++){var M=d[S],C=false;M.match.jit=M.match.jit||w;M.alternation=M.alternation||f;a(M);for(var L=0;L<u.length;L++){var T=u[L];if(typeof p!=="string"||M.alternation!==ae&&se.inArray(M.locator[M.alternation].toString(),v)!==-1)if(M.match.nativeDef===T.match.nativeDef){C=true;a(T,M);break}else if(r(M,T)){if(a(M,T)){C=true;u.splice(u.indexOf(T),0,M)}break}else if(r(T,M)){a(T,M);break}else if(o(M,T)){if(a(M,T)){C=true;u.splice(u.indexOf(T),0,M)}break}}if(!C)u.push(M)}}N=h.concat(u);I=Y;H=N.length>0;e=u.length>0;O=g.slice()}else e=P(c.matches[p]||j.matches[p],[p].concat(t),i);if(e)return true}else if(e.isQuantifier&&i!==j.matches[se.inArray(e,j.matches)-1]){var D=e;for(var E=O.length>0?O.shift():0;E<(isNaN(D.quantifier.max)?E+1:D.quantifier.max)&&I<=Y;E++){var A=j.matches[se.inArray(D,j.matches)-1];e=P(A,[E].concat(t),A);if(e){F=N[N.length-1].match;F.optionalQuantifier=E>=D.quantifier.min;F.jit=(E||1)*A.matches.indexOf(F)>=D.quantifier.jit;if(F.optionalQuantifier&&s(F,A)){H=true;I=Y;break}if(F.jit)B().jitOffset[Y]=A.matches.indexOf(F);return true}}}else{e=z(e,O,t,i);if(e)return true}else I++}for(var i=O.length>0?O.shift():0;i<j.matches.length;i++)if(j.matches[i].isQuantifier!==true){var n=P(j.matches[i],[i].concat(e),t);if(n&&I===Y)return n;else if(I>Y)break}}function r(e,t){var n=[];if(!se.isArray(t))t=[t];if(t.length>0)if(t[0].alternation===ae){n=m(e,t.slice()).locator.slice();if(n.length===0)n=t[0].locator.slice()}else se.each(t,function(e,t){if(t.def!=="")if(n.length===0)n=t.locator.slice();else for(var i=0;i<n.length;i++)if(t.locator[i]&&n[i].toString().indexOf(t.locator[i])===-1)n[i]+=","+t.locator[i]});return n}if(Y>-1){if(e===ae){var s=Y-1,o;while((o=B().validPositions[s]||B().tests[s])===ae&&s>-1)s--;if(o!==ae&&s>-1){n=r(s,o);R=n.join("");I=s}}if(B().tests[Y]&&B().tests[Y][0].cd===R)return B().tests[Y];for(var a=n.shift();a<i.length;a++){var l=z(i[a],n,[a]);if(l&&I===Y||I>Y)break}}if(N.length===0||H)N.push({match:{fn:null,optionality:false,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:R});if(e!==ae&&B().tests[Y])return se.extend(true,[],N);B().tests[Y]=se.extend(true,[],N);return B().tests[Y]}function M(){if(B()._buffer===ae){B()._buffer=f(false,1);if(B().buffer===ae)B().buffer=B()._buffer.slice()}return B()._buffer}function C(e){if(B().buffer===ae||e===true){B().buffer=f(true,k(),true);if(B()._buffer===ae)B()._buffer=B().buffer.slice()}return B().buffer}function z(e,t,i){var n,r;if(e===true){w();e=0;t=i.length}else for(n=e;n<t;n++)delete B().validPositions[n];r=e;for(n=e;n<t;n++){w(true);if(i[n]!==$.skipOptionalPartCharacter){var s=L(r,i[n],true,true);if(s!==false){w(true);r=s.caret!==ae?s.caret:s.pos+1}}}}function q(e,t,i){switch($.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var n=B().validPositions[i-1];if(i===0||n&&n.input===String.fromCharCode(fe.keyCode.SPACE))e=e.toUpperCase();else e=e.toLowerCase();break;default:if(se.isFunction($.casing)){var r=Array.prototype.slice.call(arguments);r.push(B().validPositions);e=$.casing.apply(this,r)}}return e}function W(e,t,i){var n=$.greedy?t:t.slice(0,1),r=false,s=i!==ae?i.split(","):[],o;for(var a=0;a<s.length;a++)if((o=e.indexOf(s[a]))!==-1)e.splice(o,1);for(var l=0;l<e.length;l++)if(se.inArray(e[l],n)!==-1){r=true;break}return r}function V(e,t,i,n,r){var s=se.extend(true,{},B().validPositions),o,a,l=false,c,u,d,h,f,p=r!==ae?r:k();if(p===-1&&r===ae){o=0;u=S(o);a=u.alternation}else for(;p>=0;p--){c=B().validPositions[p];if(c&&c.alternation!==ae){if(u&&u.locator[c.alternation]!==c.locator[c.alternation])break;o=p;a=B().validPositions[o].alternation;u=c}}if(a!==ae){f=parseInt(o);B().excludes[f]=B().excludes[f]||[];if(e!==true)B().excludes[f].push(H(u));var m=[],g=0;for(d=f;d<k(ae,true)+1;d++){h=B().validPositions[d];if(h&&h.generatedInput!==true)m.push(h.input);else if(d<e)g++;delete B().validPositions[d]}while(B().excludes[f]&&B().excludes[f].length<10){var v=g*-1,y=m.slice();B().tests[f]=ae;w(true);l=true;while(y.length>0){var b=y.shift();if(!(l=L(k(ae,true)+1,b,false,n,true)))break}if(l&&t!==ae){var _=k(e)+1;for(d=f;d<k()+1;d++){h=B().validPositions[d];if((h===ae||h.match.fn==null)&&d<e+v)v++}e=e+v;l=L(e>_?_:e,t,i,n,true)}if(!l){w();u=S(f);B().validPositions=se.extend(true,{},s);if(B().excludes[f]){var x=H(u);if(B().excludes[f].indexOf(x)!==-1){l=V(e,t,i,n,f-1);break}B().excludes[f].push(x);for(d=f;d<k(ae,true)+1;d++)delete B().validPositions[d]}else{l=V(e,t,i,n,f-1);break}}else break}}B().excludes[f]=ae;return l}function L(c,e,t,u,i,n){function d(e){return g?e.begin-e.end>1||e.begin-e.end===1:e.end-e.begin>1||e.end-e.begin===1}t=t===true;var r=c;if(c.begin!==ae)r=g?c.end:c.begin;function s(s,o,a){var l=false;se.each(x(s),function(e,t){var i=t.match;C(true);l=i.fn!=null?i.fn.test(o,B(),s,a,$,d(c)):(o===i.def||o===$.skipOptionalPartCharacter)&&i.def!==""?{c:j(s,i,true)||i.def,pos:s}:false;if(l!==false){var n=l.c!==ae?l.c:o,r=s;n=n===$.skipOptionalPartCharacter&&i.fn===null?j(s,i,true)||i.def:n;if(l.remove!==ae){if(!se.isArray(l.remove))l.remove=[l.remove];se.each(l.remove.sort(function(e,t){return t-e}),function(e,t){X({begin:t,end:t+1})})}if(l.insert!==ae){if(!se.isArray(l.insert))l.insert=[l.insert];se.each(l.insert.sort(function(e,t){return e-t}),function(e,t){L(t.pos,t.c,true,u)})}if(l!==true&&l.pos!==ae&&l.pos!==s)r=l.pos;if(l!==true&&l.pos===ae&&l.c===ae)return false;if(!X(c,se.extend({},t,{input:q(n,i,r)}),u,r))l=false;return false}});return l}var o=true,a=se.extend(true,{},B().validPositions);if(se.isFunction($.preValidation)&&!t&&u!==true&&n!==true)o=$.preValidation(C(),r,e,d(c),$,B());if(o===true){U(ae,r,true);if(y===ae||r<y){o=s(r,e,t);if((!t||u===true)&&o===false&&n!==true){var l=B().validPositions[r];if(l&&l.match.fn===null&&(l.match.def===e||e===$.skipOptionalPartCharacter))o={caret:D(r)};else if(($.insertMode||B().validPositions[D(r)]===ae)&&(!T(r,true)||B().jitOffset[r]))if(B().jitOffset[r]&&B().validPositions[D(r)]===ae){o=L(r+B().jitOffset[r],e,t);if(o!==false)o.caret=r}else for(var h=r+1,f=D(r);h<=f;h++){o=s(h,e,t);if(o!==false){o=U(r,o.pos!==ae?o.pos:h)||o;r=h;break}}}}if(o===false&&$.keepStatic!==false&&($.regex==null||N(C()))&&!t&&i!==true)o=V(r,e,t,u);if(o===true)o={pos:r}}if(se.isFunction($.postValidation)&&o!==false&&!t&&u!==true&&n!==true){var p=$.postValidation(C(true),c.begin!==ae?g?c.end:c.begin:c,o,$);if(p!==ae){if(p.refreshFromBuffer&&p.buffer){var m=p.refreshFromBuffer;z(m===true?m:m.start,m.end,p.buffer)}o=p===true?o:p}}if(o&&o.pos===ae)o.pos=r;if(o===false||n===true){w(true);B().validPositions=se.extend(true,{},a)}return o}function U(e,t,i){var n;if(e===ae)for(e=t-1;e>0;e--)if(B().validPositions[e])break;for(var r=e;r<t;r++)if(B().validPositions[r]===ae&&!T(r,true)){var s=r==0?S(r):B().validPositions[r-1];if(s){var o=x(r).slice();if(o[o.length-1].match.def==="")o.pop();var a=m(r,o);a=se.extend({},a,{input:j(r,a.match,true)||a.match.def});a.generatedInput=true;X(r,a,true);if(i!==true){var l=B().validPositions[t].input;B().validPositions[t]=ae;n=L(t,l,true,true)}}}return n}function X(e,t,i,n){function r(e,t,i){var n=t[e];if(n!==ae&&(n.match.fn===null&&n.match.optionality!==true||n.input===$.radixPoint)){var r=i.begin<=e-1?t[e-1]&&t[e-1].match.fn===null&&t[e-1]:t[e-1],s=i.end>e+1?t[e+1]&&t[e+1].match.fn===null&&t[e+1]:t[e+1];return r&&s}return false}var s=e.begin!==ae?e.begin:e,o=e.end!==ae?e.end:e;if(e.begin>e.end){s=e.end;o=e.begin}n=n!==ae?n:s;if(s!==o||$.insertMode&&B().validPositions[n]!==ae&&i===ae){var a=se.extend(true,{},B().validPositions),l=k(ae,true),c;B().p=s;for(c=l;c>=s;c--){if(B().validPositions[c]&&B().validPositions[c].match.nativeDef==="+")$.isNegative=false;delete B().validPositions[c]}var u=true,d=n,h=B().validPositions,f=false,p=d,c=d;if(t){B().validPositions[n]=se.extend(true,{},t);p++;d++;if(s<o)c++}for(;c<=l;c++){var m=a[c];if(m!==ae&&(c>=o||c>=s&&m.generatedInput!==true&&r(c,a,{begin:s,end:o}))){while(S(p).match.def!==""){if(f===false&&a[p]&&a[p].match.nativeDef===m.match.nativeDef){B().validPositions[p]=se.extend(true,{},a[p]);B().validPositions[p].input=m.input;U(ae,p,true);d=p+1;u=true}else if($.shiftPositions&&R(p,m.match.def)){var g=L(p,m.input,true,true);u=g!==false;d=g.caret||g.insert?k():p+1;f=true}else u=m.generatedInput===true||m.input===$.radixPoint&&$.numericInput===true;if(u)break;if(!u&&p>o&&T(p,true)&&(m.match.fn!==null||p>B().maskLength))break;p++}if(S(p).match.def=="")u=false;p=d}if(!u)break}if(!u){B().validPositions=se.extend(true,{},a);w(true);return false}}else if(t)B().validPositions[n]=se.extend(true,{},t);w(true);return true}function T(e,t){var i=_(e).match;if(i.def==="")i=S(e).match;if(i.fn!=null)return i.fn;if(t!==true&&e>-1){var n=x(e);return n.length>1+(n[n.length-1].match.def===""?1:0)}return false}function D(e,t){var i=e+1;while(S(i).match.def!==""&&(t===true&&(S(i).match.newBlockMarker!==true||!T(i))||t!==true&&!T(i)))i++;return i}function E(e,t){var i=e,n;if(i<=0)return 0;while(--i>0&&(t===true&&S(i).match.newBlockMarker!==true||t!==true&&!T(i)&&(n=x(i),n.length<2||n.length===2&&n[1].match.def==="")));return i}function A(e,t,i,n,r){if(n&&se.isFunction($.onBeforeWrite)){var s=$.onBeforeWrite.call(d,n,t,i,$);if(s){if(s.refreshFromBuffer){var o=s.refreshFromBuffer;z(o===true?o:o.start,o.end,s.buffer||t);t=C(true)}if(i!==ae)i=s.caret!==ae?s.caret:i}}if(e!==ae){e.inputmask._valueSet(t.join(""));if(i!==ae&&(n===ae||n.type!=="blur"))Y(e,i);else J(e,i,t.length===0);if(r===true){var a=se(e),l=e.inputmask._valueGet();u=true;a.trigger("input");setTimeout(function(){if(l===M().join(""))a.trigger("cleared");else if(N(t)===true)a.trigger("complete")},0)}}}function j(e,t,i){t=t||S(e).match;if(t.placeholder!==ae||i===true)return se.isFunction(t.placeholder)?t.placeholder($):t.placeholder;else if(t.fn===null){if(e>-1&&B().validPositions[e]===ae){var n=x(e),r=[],s;if(n.length>1+(n[n.length-1].match.def===""?1:0))for(var o=0;o<n.length;o++)if(n[o].match.optionality!==true&&n[o].match.optionalQuantifier!==true&&(n[o].match.fn===null||s===ae||n[o].match.fn.test(s.match.def,B(),e,true,$)!==false)){r.push(n[o]);if(n[o].match.fn===null)s=n[o];if(r.length>1)if(/[0-9a-bA-Z]/.test(r[0].match.def))return $.placeholder.charAt(e%$.placeholder.length)}}return t.def}return $.placeholder.charAt(e%$.placeholder.length)}function l(e,t){if(ce){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||e.placeholder==="")){var i=C().slice(),n=e.inputmask._valueGet();if(n!==t){var r=k();if(r===-1&&n===M().join(""))i=[];else if(r!==-1)I(i);A(e,i)}}}else if(e.placeholder!==t){e.placeholder=t;if(e.placeholder==="")e.removeAttribute("placeholder")}}var h={on:function e(t,i,o){var n=function e(t){var i=this;if(i.inputmask===ae&&this.nodeName!=="FORM"){var n=se.data(i,"_inputmask_opts");if(n)new fe(n).mask(i);else h.off(i)}else if(t.type!=="setvalue"&&this.nodeName!=="FORM"&&(i.disabled||i.readOnly&&!(t.type==="keydown"&&t.ctrlKey&&t.keyCode===67||$.tabThrough===false&&t.keyCode===fe.keyCode.TAB)))t.preventDefault();else{switch(t.type){case"input":if(u===true){u=false;return t.preventDefault()}if(ue){var r=arguments;setTimeout(function(){o.apply(i,r);Y(i,i.inputmask.caretPos,ae,true)},0);return false}break;case"keydown":a=false;u=false;break;case"keypress":if(a===true)return t.preventDefault();a=true;break;case"click":if(de||he){var r=arguments;setTimeout(function(){o.apply(i,r)},0);return false}break}var s=o.apply(i,arguments);if(s===false){t.preventDefault();t.stopPropagation()}return s}};t.inputmask.events[i]=t.inputmask.events[i]||[];t.inputmask.events[i].push(n);if(se.inArray(i,["submit","reset"])!==-1){if(t.form!==null)se(t.form).on(i,n)}else se(t).on(i,n)},off:function e(n,t){if(n.inputmask&&n.inputmask.events){var i;if(t){i=[];i[t]=n.inputmask.events[t]}else i=n.inputmask.events;se.each(i,function(e,t){while(t.length>0){var i=t.pop();if(se.inArray(e,["submit","reset"])!==-1){if(n.form!==null)se(n.form).off(e,i)}else se(n).off(e,i)}delete n.inputmask.events[e]})}}};var O={keydownEvent:function e(t){var i=this,n=se(i),r=t.keyCode,s=Y(i);if(r===fe.keyCode.BACKSPACE||r===fe.keyCode.DELETE||he&&r===fe.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&r===fe.keyCode.X&&!pe("cut")){t.preventDefault();K(i,r,s);A(i,C(true),B().p,t,i.inputmask._valueGet()!==C().join(""))}else if(r===fe.keyCode.END||r===fe.keyCode.PAGE_DOWN){t.preventDefault();var o=D(k());Y(i,t.shiftKey?s.begin:o,o,true)}else if(r===fe.keyCode.HOME&&!t.shiftKey||r===fe.keyCode.PAGE_UP){t.preventDefault();Y(i,0,t.shiftKey?s.begin:0,true)}else if(($.undoOnEscape&&r===fe.keyCode.ESCAPE||r===90&&t.ctrlKey)&&t.altKey!==true){P(i,true,false,v.split(""));n.trigger("click")}else if(r===fe.keyCode.INSERT&&!(t.shiftKey||t.ctrlKey)){$.insertMode=!$.insertMode;i.setAttribute("im-insert",$.insertMode)}else if($.tabThrough===true&&r===fe.keyCode.TAB){if(t.shiftKey===true){if(S(s.begin).match.fn===null)s.begin=D(s.begin);s.end=E(s.begin,true);s.begin=E(s.end,true)}else{s.begin=D(s.begin,true);s.end=D(s.begin,true);if(s.end<B().maskLength)s.end--}if(s.begin<B().maskLength){t.preventDefault();Y(i,s.begin,s.end)}}$.onKeyDown.call(this,t,C(),Y(i).begin,$);b=se.inArray(r,$.ignorables)!==-1},keypressEvent:function e(t,i,n,r,s){var o=this,a=se(o),l=t.which||t.charCode||t.keyCode;if(i!==true&&!(t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||b)){if(l===fe.keyCode.ENTER&&v!==C().join("")){v=C().join("");setTimeout(function(){a.trigger("change")},0)}return true}else if(l){if(l===46&&t.shiftKey===false&&$.radixPoint!=="")l=$.radixPoint.charCodeAt(0);var c=i?{begin:s,end:s}:Y(o),u,d=String.fromCharCode(l),h=0;if($._radixDance&&$.numericInput){var f=C().indexOf($.radixPoint.charAt(0))+1;if(c.begin<=f){if(l===$.radixPoint.charCodeAt(0))h=1;c.begin-=1;c.end-=1}}B().writeOutBuffer=true;var p=L(c,d,r);if(p!==false){w(true);u=p.caret!==ae?p.caret:D(p.pos.begin?p.pos.begin:p.pos);B().p=u}u=($.numericInput&&p.caret===ae?E(u):u)+h;if(n!==false){setTimeout(function(){$.onKeyValidation.call(o,l,p,$)},0);if(B().writeOutBuffer&&p!==false){var m=C();A(o,m,u,t,i!==true)}}t.preventDefault();if(i){if(p!==false)p.forwardPosition=u;return p}}},pasteEvent:function e(t){var i=this,n=t.originalEvent||t,r=se(i),s=i.inputmask._valueGet(true),o=Y(i),a;if(g){a=o.end;o.end=o.begin;o.begin=a}var l=s.substr(0,o.begin),c=s.substr(o.end,s.length);if(l===(g?M().reverse():M()).slice(0,o.begin).join(""))l="";if(c===(g?M().reverse():M()).slice(o.end).join(""))c="";if(oe.clipboardData&&oe.clipboardData.getData)s=l+oe.clipboardData.getData("Text")+c;else if(n.clipboardData&&n.clipboardData.getData)s=l+n.clipboardData.getData("text/plain")+c;else return true;var u=s;if(se.isFunction($.onBeforePaste)){u=$.onBeforePaste.call(d,s,$);if(u===false)return t.preventDefault();if(!u)u=s}P(i,false,false,u.toString().split(""));A(i,C(),D(k()),t,v!==C().join(""));return t.preventDefault()},inputFallBackEvent:function e(t){function i(e,t,i){if(t.charAt(i.begin-1)==="."&&$.radixPoint!==""){t=t.split("");t[i.begin-1]=$.radixPoint.charAt(0);t=t.join("")}return t}function n(e,t,i){if(de){var n=t.replace(C().join(""),"");if(n.length===1){var r=t.split("");r.splice(i.begin,0,n);t=r.join("")}}return t}var r=this,s=r.inputmask._valueGet();if(C().join("")!==s){var o=Y(r);s=i(r,s,o);s=n(r,s,o);if(C().join("")!==s){var a=C().join(""),l=!$.numericInput&&s.length>a.length?-1:0,c=s.substr(0,o.begin),u=s.substr(o.begin),d=a.substr(0,o.begin+l),h=a.substr(o.begin+l);var f=o,p="",m=false;if(c!==d){var g=(m=c.length>=d.length)?c.length:d.length,v;for(v=0;c.charAt(v)===d.charAt(v)&&v<g;v++);if(m){f.begin=v-l;p+=c.slice(v,f.end)}}if(u!==h)if(u.length>h.length)p+=u.slice(0,1);else if(u.length<h.length){f.end+=h.length-u.length;if(!m&&$.radixPoint!==""&&u===""&&c.charAt(f.begin+l-1)===$.radixPoint){f.begin--;p=$.radixPoint}}A(r,C(),{begin:f.begin+l,end:f.end+l});if(p.length>0)se.each(p.split(""),function(e,t){var i=new se.Event("keypress");i.which=t.charCodeAt(0);b=false;O.keypressEvent.call(r,i)});else{if(f.begin===f.end-1){f.begin=E(f.begin+1);if(f.begin===f.end-1)Y(r,f.begin);else Y(r,f.begin,f.end)}var y=new se.Event("keydown");y.keyCode=$.numericInput?fe.keyCode.BACKSPACE:fe.keyCode.DELETE;O.keydownEvent.call(r,y)}t.preventDefault()}}},beforeInputEvent:function e(t){if(t.cancelable){var n=this;switch(t.inputType){case"insertText":se.each(t.data.split(""),function(e,t){var i=new se.Event("keypress");i.which=t.charCodeAt(0);b=false;O.keypressEvent.call(n,i)});return t.preventDefault();case"deleteContentBackward":var i=new se.Event("keydown");i.keyCode=fe.keyCode.BACKSPACE;O.keydownEvent.call(n,i);return t.preventDefault();case"deleteContentForward":var i=new se.Event("keydown");i.keyCode=fe.keyCode.DELETE;O.keydownEvent.call(n,i);return t.preventDefault()}}},setValueEvent:function e(t){this.inputmask.refreshValue=false;var i=this,n=t&&t.detail?t.detail[0]:arguments[1],n=n||i.inputmask._valueGet(true);if(se.isFunction($.onBeforeMask))n=$.onBeforeMask.call(d,n,$)||n;n=n.toString().split("");P(i,true,false,n);v=C().join("");if(($.clearMaskOnLostFocus||$.clearIncomplete)&&i.inputmask._valueGet()===M().join(""))i.inputmask._valueSet("")},focusEvent:function e(t){var i=this,n=i.inputmask._valueGet();if($.showMaskOnFocus)if(n!==C().join(""))A(i,C(),D(k()));else if(r===false)Y(i,D(k()));if($.positionCaretOnTab===true&&r===false)O.clickEvent.apply(i,[t,true]);v=C().join("")},mouseleaveEvent:function e(t){var i=this;r=false;if($.clearMaskOnLostFocus&&le.activeElement!==i)l(i,o)},clickEvent:function e(t,c){function u(e){if($.radixPoint!==""){var t=B().validPositions;if(t[e]===ae||t[e].input===j(e)){if(e<D(-1))return true;var i=se.inArray($.radixPoint,C());if(i!==-1){for(var n in t)if(i<n&&t[n].input!==j(n))return false;return true}}}return false}var d=this;setTimeout(function(){if(le.activeElement===d){var e=Y(d);if(c)if(g)e.end=e.begin;else e.begin=e.end;if(e.begin===e.end)switch($.positionCaretOnClick){case"none":break;case"select":Y(d,0,C().length);break;case"ignore":Y(d,D(k()));break;case"radixFocus":if(u(e.begin)){var t=C().join("").indexOf($.radixPoint);Y(d,$.numericInput?D(t):t);break}default:var i=e.begin,n=k(i,true),r=D(n);if(i<r)Y(d,!T(i,true)&&!T(i-1,true)?D(i):i);else{var s=B().validPositions[n],o=_(r,s?s.match.locator:ae,s),a=j(r,o.match);if(a!==""&&C()[r]!==a&&o.match.optionalQuantifier!==true&&o.match.newBlockMarker!==true||!T(r,$.keepStatic)&&o.match.def===a){var l=D(r);if(i>=l||i===r)r=l}Y(d,r)}break}}},0)},cutEvent:function e(t){var i=this,n=se(i),r=Y(i),s=t.originalEvent||t;var o=oe.clipboardData||s.clipboardData,a=g?C().slice(r.end,r.begin):C().slice(r.begin,r.end);o.setData("text",g?a.reverse().join(""):a.join(""));if(le.execCommand)le.execCommand("copy");K(i,fe.keyCode.DELETE,r);A(i,C(),B().p,t,v!==C().join(""))},blurEvent:function e(t){var i=se(this),n=this;if(n.inputmask){l(n,o);var r=n.inputmask._valueGet(),s=C().slice();if(r!==""||p!==ae){if($.clearMaskOnLostFocus)if(k()===-1&&r===M().join(""))s=[];else I(s);if(N(s)===false){setTimeout(function(){i.trigger("incomplete")},0);if($.clearIncomplete){w();if($.clearMaskOnLostFocus)s=[];else s=M().slice()}}A(n,s,ae,t)}if(v!==C().join("")){v=s.join("");i.trigger("change")}}},mouseenterEvent:function e(t){var i=this;r=true;if(le.activeElement!==i&&$.showMaskOnHover)l(i,(g?C().slice().reverse():C()).join(""))},submitEvent:function e(t){if(v!==C().join(""))s.trigger("change");if($.clearMaskOnLostFocus&&k()===-1&&c.inputmask._valueGet&&c.inputmask._valueGet()===M().join(""))c.inputmask._valueSet("");if($.clearIncomplete&&N(C())===false)c.inputmask._valueSet("");if($.removeMaskOnSubmit){c.inputmask._valueSet(c.inputmask.unmaskedvalue(),true);setTimeout(function(){A(c,C())},0)}},resetEvent:function e(t){c.inputmask.refreshValue=true;setTimeout(function(){s.trigger("setvalue")},0)}};function P(r,e,s,t,i){var o=this||r.inputmask,a=t.slice(),l="",c=-1,u=ae;function d(e,t){var i=f(true,0,false).slice(e,D(e)).join("").replace(/'/g,"").indexOf(t);return i!==-1&&!T(e)&&(S(e).match.nativeDef===t.charAt(0)||S(e).match.fn===null&&S(e).match.nativeDef==="'"+t.charAt(0)||S(e).match.nativeDef===" "&&(S(e+1).match.nativeDef===t.charAt(0)||S(e+1).match.fn===null&&S(e+1).match.nativeDef==="'"+t.charAt(0)))}w();if(!s&&$.autoUnmask!==true){var n=M().slice(0,D(-1)).join(""),h=a.join("").match(new RegExp("^"+fe.escapeRegex(n),"g"));if(h&&h.length>0){a.splice(0,h.length*n.length);c=D(c)}}else c=D(c);if(c===-1){B().p=D(c);c=0}else B().p=c;o.caretPos={begin:c};se.each(a,function(e,t){if(t!==ae)if(B().validPositions[e]===ae&&a[e]===j(e)&&T(e,true)&&L(e,a[e],true,ae,ae,true)===false)B().p++;else{var i=new se.Event("_checkval");i.which=t.charCodeAt(0);l+=t;var n=k(ae,true);if(!d(c,l)){u=O.keypressEvent.call(r,i,true,false,s,o.caretPos.begin);if(u){c=o.caretPos.begin+1;l=""}}else u=O.keypressEvent.call(r,i,true,false,s,n+1);if(u){A(ae,C(),u.forwardPosition,i,false);o.caretPos={begin:u.forwardPosition,end:u.forwardPosition}}}});if(e)A(r,C(),u?u.forwardPosition:ae,i||new se.Event("checkval"),i&&i.type==="input")}function n(e){if(e){if(e.inputmask===ae)return e.value;if(e.inputmask&&e.inputmask.refreshValue)O.setValueEvent.call(e)}var t=[],i=B().validPositions;for(var n in i)if(i[n].match&&i[n].match.fn!=null)t.push(i[n].input);var r=t.length===0?"":(g?t.reverse():t).join("");if(se.isFunction($.onUnMask)){var s=(g?C().slice().reverse():C()).join("");r=$.onUnMask.call(d,s,r,$)}return r}function Y(e,t,i,n){function r(e){if(g&&typeof e==="number"&&(!$.greedy||$.placeholder!=="")&&c)e=c.inputmask._valueGet().length-e;return e}var s;if(t!==ae){if(se.isArray(t)){i=g?t[0]:t[1];t=g?t[1]:t[0]}if(t.begin!==ae){i=g?t.begin:t.end;t=g?t.end:t.begin}if(typeof t==="number"){t=n?t:r(t);i=n?i:r(i);i=typeof i=="number"?i:t;var o=parseInt(((e.ownerDocument.defaultView||oe).getComputedStyle?(e.ownerDocument.defaultView||oe).getComputedStyle(e,null):e.currentStyle).fontSize)*i;e.scrollLeft=o>e.scrollWidth?o:0;e.inputmask.caretPos={begin:t,end:i};if(e===le.activeElement){if("selectionStart"in e){e.selectionStart=t;e.selectionEnd=i}else if(oe.getSelection){s=le.createRange();if(e.firstChild===ae||e.firstChild===null){var a=le.createTextNode("");e.appendChild(a)}s.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length);s.setEnd(e.firstChild,i<e.inputmask._valueGet().length?i:e.inputmask._valueGet().length);s.collapse(true);var l=oe.getSelection();l.removeAllRanges();l.addRange(s)}else if(e.createTextRange){s=e.createTextRange();s.collapse(true);s.moveEnd("character",i);s.moveStart("character",t);s.select()}J(e,{begin:t,end:i})}}}else{if("selectionStart"in e){t=e.selectionStart;i=e.selectionEnd}else if(oe.getSelection){s=oe.getSelection().getRangeAt(0);if(s.commonAncestorContainer.parentNode===e||s.commonAncestorContainer===e){t=s.startOffset;i=s.endOffset}}else if(le.selection&&le.selection.createRange){s=le.selection.createRange();t=0-s.duplicate().moveStart("character",-e.inputmask._valueGet().length);i=t+s.text.length}return{begin:n?t:r(t),end:n?i:r(i)}}}function G(e){var t=f(true,k(),true,true),i=t.length,n,r=k(),s={},o=B().validPositions[r],a=o!==ae?o.locator.slice():ae,l;for(n=r+1;n<t.length;n++){l=_(n,a,n-1);a=l.locator.slice();s[n]=se.extend(true,{},l)}var c=o&&o.alternation!==ae?o.locator[o.alternation]:ae;for(n=i-1;n>r;n--){l=s[n];if((l.match.optionality||l.match.optionalQuantifier&&l.match.newBlockMarker||c&&(c!==s[n].locator[o.alternation]&&l.match.fn!=null||l.match.fn===null&&l.locator[o.alternation]&&W(l.locator[o.alternation].toString().split(","),c.toString().split(","))&&x(n)[0].def!==""))&&t[n]===j(n,l.match))i--;else break}return e?{l:i,def:s[i]?s[i].match:ae}:i}function I(e){e.length=0;var t=f(true,0,true,ae,true),i,n;while(i=t.shift(),i!==ae)e.push(i);return e}function N(e){if(se.isFunction($.isComplete))return $.isComplete(e,$);if($.repeat==="*")return ae;var t=false,i=G(true),n=E(i.l);if(i.def===ae||i.def.newBlockMarker||i.def.optionality||i.def.optionalQuantifier){t=true;for(var r=0;r<=n;r++){var s=_(r).match;if(s.fn!==null&&B().validPositions[r]===ae&&s.optionality!==true&&s.optionalQuantifier!==true||s.fn===null&&e[r]!==j(r,s)){t=false;break}}}return t}function K(e,t,i,n,r){if($.numericInput||g){if(t===fe.keyCode.BACKSPACE)t=fe.keyCode.DELETE;else if(t===fe.keyCode.DELETE)t=fe.keyCode.BACKSPACE;if(g){var s=i.end;i.end=i.begin;i.begin=s}}if(t===fe.keyCode.BACKSPACE&&i.end-i.begin<1){i.begin=E(i.begin);if(B().validPositions[i.begin]!==ae&&B().validPositions[i.begin].input===$.groupSeparator)i.begin--}else if(t===fe.keyCode.DELETE&&i.begin===i.end){i.end=T(i.end,true)&&B().validPositions[i.end]&&B().validPositions[i.end].input!==$.radixPoint?i.end+1:D(i.end)+1;if(B().validPositions[i.begin]!==ae&&B().validPositions[i.begin].input===$.groupSeparator)i.end++}X(i);if(n!==true&&$.keepStatic!==false||$.regex!==null){var o=V(true);if(o){var a=o.caret!==ae?o.caret:o.pos?D(o.pos.begin?o.pos.begin:o.pos):k(-1,true);if(t!==fe.keyCode.DELETE||i.begin>a)i.begin==a}}var l=k(i.begin,true);if(l<i.begin||i.begin===-1)B().p=D(l);else if(n!==true){B().p=i.begin;if(r!==true)while(B().p<l&&B().validPositions[B().p]===ae)B().p++}}function Z(c){var u=(c.ownerDocument.defaultView||oe).getComputedStyle(c,null);function t(e){var t=le.createElement("span"),i;for(var n in u)if(isNaN(n)&&n.indexOf("font")!==-1)t.style[n]=u[n];t.style.textTransform=u.textTransform;t.style.letterSpacing=u.letterSpacing;t.style.position="absolute";t.style.height="auto";t.style.width="auto";t.style.visibility="hidden";t.style.whiteSpace="nowrap";le.body.appendChild(t);var r=c.inputmask._valueGet(),s=0,o;for(i=0,o=r.length;i<=o;i++){t.innerHTML+=r.charAt(i)||"_";if(t.offsetWidth>=e){var a=e-s;var l=t.offsetWidth-e;t.innerHTML=r.charAt(i);a-=t.offsetWidth/3;i=a<l?i-1:i;break}s=t.offsetWidth}le.body.removeChild(t);return i}var e=le.createElement("div");e.style.width=u.width;e.style.textAlign=u.textAlign;p=le.createElement("div");c.inputmask.colorMask=p;p.className="im-colormask";c.parentNode.insertBefore(p,c);c.parentNode.removeChild(c);p.appendChild(c);p.appendChild(e);c.style.left=e.offsetLeft+"px";se(p).on("mouseleave",function(e){return O.mouseleaveEvent.call(c,[e])});se(p).on("mouseenter",function(e){return O.mouseenterEvent.call(c,[e])});se(p).on("click",function(e){Y(c,t(e.clientX));return O.clickEvent.call(c,[e])})}function J(e,t,i){var n=[],r=false,s,o,a,l=0;function c(e){if(e===ae)e="";if(!r&&(s.fn===null||o.input===ae)){r=true;n.push("<span class='im-static'>"+e)}else if(r&&(s.fn!==null&&o.input!==ae||s.def==="")){r=false;var t=n.length;n[t-1]=n[t-1]+"</span>";n.push(e)}else n.push(e)}function u(){if(le.activeElement===e){n.splice(t.begin,0,t.begin===t.end||t.end>B().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">');n.splice(t.end+1,0,"</mark>")}}if(p!==ae){var d=C();if(t===ae)t=Y(e);else if(t.begin===ae)t={begin:t,end:t};if(i!==true){var h=k();do{if(B().validPositions[l]){o=B().validPositions[l];s=o.match;a=o.locator.slice();c(d[l])}else{o=_(l,a,l-1);s=o.match;a=o.locator.slice();if($.jitMasking===false||l<h||typeof $.jitMasking==="number"&&isFinite($.jitMasking)&&$.jitMasking>l)c(j(l,s));else r=false}l++}while((y===ae||l<y)&&(s.fn!==null||s.def!=="")||h>l||r);if(r)c();u()}var f=p.getElementsByTagName("div")[0];f.innerHTML=n.join("");e.inputmask.positionColorMask(e,f)}}function Q(e){function t(e,l){function t(e){var t;var i;function n(e){if(se.valHooks&&(se.valHooks[e]===ae||se.valHooks[e].inputmaskpatch!==true)){var n=se.valHooks[e]&&se.valHooks[e].get?se.valHooks[e].get:function(e){return e.value};var s=se.valHooks[e]&&se.valHooks[e].set?se.valHooks[e].set:function(e,t){e.value=t;return e};se.valHooks[e]={get:function e(t){if(t.inputmask)if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();else{var i=n(t);return k(ae,ae,t.inputmask.maskset.validPositions)!==-1||l.nullable!==true?i:""}else return n(t)},set:function e(t,i){var n=se(t),r;r=s(t,i);if(t.inputmask)n.trigger("setvalue",[i]);return r},inputmaskpatch:true}}}function r(){if(this.inputmask)return this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():k()!==-1||l.nullable!==true?le.activeElement===this&&l.clearMaskOnLostFocus?(g?I(C().slice()).reverse():I(C().slice())).join(""):t.call(this):"";else return t.call(this)}function s(e){i.call(this,e);if(this.inputmask)se(this).trigger("setvalue",[e])}function o(e){h.on(e,"mouseenter",function(e){var t=se(this),i=this,n=i.inputmask._valueGet();if(n!==C().join(""))t.trigger("setvalue")})}if(!e.inputmask.__valueGet){if(l.noValuePatching!==true){if(Object.getOwnPropertyDescriptor){if(typeof Object.getPrototypeOf!=="function")Object.getPrototypeOf=ge("test".__proto__)==="object"?function(e){return e.__proto__}:function(e){return e.constructor.prototype};var a=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value"):ae;if(a&&a.get&&a.set){t=a.get;i=a.set;Object.defineProperty(e,"value",{get:r,set:s,configurable:true})}else if(e.tagName!=="INPUT"){t=function e(){return this.textContent};i=function e(t){this.textContent=t};Object.defineProperty(e,"value",{get:r,set:s,configurable:true})}}else if(le.__lookupGetter__&&e.__lookupGetter__("value")){t=e.__lookupGetter__("value");i=e.__lookupSetter__("value");e.__defineGetter__("value",r);e.__defineSetter__("value",s)}e.inputmask.__valueGet=t;e.inputmask.__valueSet=i}e.inputmask._valueGet=function(e){return g&&e!==true?t.call(this.el).split("").reverse().join(""):t.call(this.el)};e.inputmask._valueSet=function(e,t){i.call(this.el,e===null||e===ae?"":t!==true&&g?e.split("").reverse().join(""):e)};if(t===ae){t=function e(){return this.value};i=function e(t){this.value=t};n(e.type);o(e)}}}var i=e.getAttribute("type");var n=e.tagName==="INPUT"&&se.inArray(i,l.supportsInputType)!==-1||e.isContentEditable||e.tagName==="TEXTAREA";if(!n)if(e.tagName==="INPUT"){var r=le.createElement("input");r.setAttribute("type",i);n=r.type==="text";r=null}else n="partial";if(n!==false)t(e);else e.inputmask=ae;return n}h.off(e);var i=t(e,$);if(i!==false){c=e;s=se(c);o=c.placeholder;y=c!==ae?c.maxLength:ae;if(y===-1)y=ae;if($.colorMask===true)Z(c);if(ue){if("inputMode"in c){c.inputmode=$.inputmode;c.setAttribute("inputmode",$.inputmode)}if($.disablePredictiveText===true)if("autocorrect"in c)c.autocorrect=false;else{if($.colorMask!==true)Z(c);c.type="password"}}if(i===true){c.setAttribute("im-insert",$.insertMode);h.on(c,"submit",O.submitEvent);h.on(c,"reset",O.resetEvent);h.on(c,"blur",O.blurEvent);h.on(c,"focus",O.focusEvent);if($.colorMask!==true){h.on(c,"click",O.clickEvent);h.on(c,"mouseleave",O.mouseleaveEvent);h.on(c,"mouseenter",O.mouseenterEvent)}h.on(c,"paste",O.pasteEvent);h.on(c,"cut",O.cutEvent);h.on(c,"complete",$.oncomplete);h.on(c,"incomplete",$.onincomplete);h.on(c,"cleared",$.oncleared);if(!ue&&$.inputEventOnly!==true){h.on(c,"keydown",O.keydownEvent);h.on(c,"keypress",O.keypressEvent)}else c.removeAttribute("maxLength");h.on(c,"input",O.inputFallBackEvent);h.on(c,"beforeinput",O.beforeInputEvent)}h.on(c,"setvalue",O.setValueEvent);v=M().join("");if(c.inputmask._valueGet(true)!==""||$.clearMaskOnLostFocus===false||le.activeElement===c){var n=se.isFunction($.onBeforeMask)?$.onBeforeMask.call(d,c.inputmask._valueGet(true),$)||c.inputmask._valueGet(true):c.inputmask._valueGet(true);if(n!=="")P(c,true,false,n.split(""));var r=C().slice();v=r.join("");if(N(r)===false)if($.clearIncomplete)w();if($.clearMaskOnLostFocus&&le.activeElement!==c)if(k()===-1)r=[];else I(r);if($.clearMaskOnLostFocus===false||$.showMaskOnFocus&&le.activeElement===c||c.inputmask._valueGet(true)!=="")A(c,r);if(le.activeElement===c)Y(c,D(k()))}}}var i;if(e!==ae)switch(e.action){case"isComplete":c=e.el;return N(C());case"unmaskedvalue":if(c===ae||e.value!==ae){i=e.value;i=(se.isFunction($.onBeforeMask)?$.onBeforeMask.call(d,i,$)||i:i).split("");P.call(this,ae,false,false,i);if(se.isFunction($.onBeforeWrite))$.onBeforeWrite.call(d,ae,C(),0,$)}return n(c);case"mask":Q(c);break;case"format":i=(se.isFunction($.onBeforeMask)?$.onBeforeMask.call(d,e.value,$)||e.value:e.value).split("");P.call(this,ae,true,false,i);if(e.metadata)return{value:g?C().slice().reverse().join(""):C().join(""),metadata:me.call(this,{action:"getmetadata"},t,$)};return g?C().slice().reverse().join(""):C().join("");case"isValid":if(e.value){i=e.value.split("");P.call(this,ae,true,true,i)}else e.value=C().join("");var ee=C();var te=G(),ie=ee.length-1;for(;ie>te;ie--)if(T(ie))break;ee.splice(te,ie+1-te);return N(ee)&&e.value===C().join("");case"getemptymask":return M().join("");case"remove":if(c&&c.inputmask){se.data(c,"_inputmask_opts",null);s=se(c);c.inputmask._valueSet($.autoUnmask?n(c):c.inputmask._valueGet(true));h.off(c);if(c.inputmask.colorMask){p=c.inputmask.colorMask;p.removeChild(c);p.parentNode.insertBefore(c,p);p.parentNode.removeChild(p)}var ne;if(Object.getOwnPropertyDescriptor&&Object.getPrototypeOf){ne=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(c),"value");if(ne)if(c.inputmask.__valueGet)Object.defineProperty(c,"value",{get:c.inputmask.__valueGet,set:c.inputmask.__valueSet,configurable:true})}else if(le.__lookupGetter__&&c.__lookupGetter__("value"))if(c.inputmask.__valueGet){c.__defineGetter__("value",c.inputmask.__valueGet);c.__defineSetter__("value",c.inputmask.__valueSet)}c.inputmask=ae}return c;break;case"getmetadata":if(se.isArray(t.metadata)){var re=f(true,0,false).join("");se.each(t.metadata,function(e,t){if(t.mask===re){re=t;return false}});return re}return t.metadata}}return fe.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:se.noop,onincomplete:se.noop,oncleared:se.noop,repeat:0,greedy:false,autoUnmask:false,removeMaskOnSubmit:false,clearMaskOnLostFocus:true,insertMode:true,clearIncomplete:false,alias:null,onKeyDown:se.noop,onBeforeMask:null,onBeforePaste:function e(t,i){return se.isFunction(i.onBeforeMask)?i.onBeforeMask.call(this,t,i):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:true,showMaskOnHover:true,onKeyValidation:se.noop,skipOptionalPartCharacter:" ",numericInput:false,rightAlign:false,undoOnEscape:true,radixPoint:"",_radixDance:false,groupSeparator:"",keepStatic:null,positionCaretOnTab:true,tabThrough:false,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:ae,jitMasking:false,nullable:true,inputEventOnly:false,noValuePatching:false,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:false,disablePredictiveText:false,importDataAttributes:true,shiftPositions:true},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function e(t){var r=this;function s(n,e,r,s){if(e.importDataAttributes===true){var t=n.getAttribute(s),i,o,a,l;var c=function e(t,i){i=i!==ae?i:n.getAttribute(s+"-"+t);if(i!==null){if(typeof i==="string")if(t.indexOf("on")===0)i=oe[i];else if(i==="false")i=false;else if(i==="true")i=true;r[t]=i}};if(t&&t!==""){t=t.replace(/'/g,'"');o=JSON.parse("{"+t+"}")}if(o){a=ae;for(l in o)if(l.toLowerCase()==="alias"){a=o[l];break}}c("alias",a);if(r.alias)u(r.alias,r,e);for(i in e){if(o){a=ae;for(l in o)if(l.toLowerCase()===i.toLowerCase()){a=o[l];break}}c(i,a)}}se.extend(true,e,r);if(n.dir==="rtl"||e.rightAlign)n.style.textAlign="right";if(n.dir==="rtl"||e.numericInput){n.dir="ltr";n.removeAttribute("dir");e.isRTL=true}return Object.keys(r).length}if(typeof t==="string")t=le.getElementById(t)||le.querySelectorAll(t);t=t.nodeName?[t]:t;se.each(t,function(e,t){var i=se.extend(true,{},r.opts);if(s(t,i,se.extend(true,{},r.userOptions),r.dataAttribute)){var n=o(i,r.noMasksCache);if(n!==ae){if(t.inputmask!==ae){t.inputmask.opts.autoUnmask=true;t.inputmask.remove()}t.inputmask=new fe(ae,ae,true);t.inputmask.opts=i;t.inputmask.noMasksCache=r.noMasksCache;t.inputmask.userOptions=se.extend(true,{},r.userOptions);t.inputmask.isRTL=i.isRTL||i.numericInput;t.inputmask.el=t;t.inputmask.maskset=n;se.data(t,"_inputmask_opts",i);me.call(t.inputmask,{action:"mask"})}}});return t&&t[0]?t[0].inputmask||this:this},option:function e(t,i){if(typeof t==="string")return this.opts[t];else if((typeof t==="undefined"?"undefined":ge(t))==="object"){se.extend(this.userOptions,t);if(this.el&&i!==true)this.mask(this.el);return this}},unmaskedvalue:function e(t){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"unmaskedvalue",value:t})},remove:function e(){return me.call(this,{action:"remove"})},getemptymask:function e(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"getemptymask"})},hasMaskedValue:function e(){return!this.opts.autoUnmask},isComplete:function e(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"isComplete"})},getmetadata:function e(){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"getmetadata"})},isValid:function e(t){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"isValid",value:t})},format:function e(t,i){this.maskset=this.maskset||o(this.opts,this.noMasksCache);return me.call(this,{action:"format",value:t,metadata:i})},setValue:function e(t){if(this.el)se(this.el).trigger("setvalue",[t])},analyseMask:function e(t,s,o){var i=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,n=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,a=false,r=new v,l,c,u=[],d=[],h,f,p,m,g;function v(e,t,i,n){this.matches=[];this.openGroup=e||false;this.alternatorGroup=false;this.isGroup=e||false;this.isOptional=t||false;this.isQuantifier=i||false;this.isAlternator=n||false;this.quantifier={min:1,max:1}}function y(i,e,n){n=n!==ae?n:i.matches.length;var r=i.matches[n-1];if(s){if(e.indexOf("[")===0||a&&/\\d|\\s|\\w]/i.test(e)||e===".")i.matches.splice(n++,0,{fn:new RegExp(e,o.casing?"i":""),optionality:false,newBlockMarker:r===ae?"master":r.def!==e,casing:null,def:e,placeholder:ae,nativeDef:e});else{if(a)e=e[e.length-1];se.each(e.split(""),function(e,t){r=i.matches[n-1];i.matches.splice(n++,0,{fn:null,optionality:false,newBlockMarker:r===ae?"master":r.def!==t&&r.fn!==null,casing:null,def:o.staticDefinitionSymbol||t,placeholder:o.staticDefinitionSymbol!==ae?t:ae,nativeDef:(a?"'":"")+t})})}a=false}else{var t=(o.definitions?o.definitions[e]:ae)||fe.prototype.definitions[e];if(t&&!a)i.matches.splice(n++,0,{fn:t.validator?typeof t.validator=="string"?new RegExp(t.validator,o.casing?"i":""):new function(){this.test=t.validator}:new RegExp("."),optionality:false,newBlockMarker:r===ae?"master":r.def!==(t.definitionSymbol||e),casing:t.casing,def:t.definitionSymbol||e,placeholder:t.placeholder,nativeDef:e});else{i.matches.splice(n++,0,{fn:null,optionality:false,newBlockMarker:r===ae?"master":r.def!==e&&r.fn!==null,casing:null,def:o.staticDefinitionSymbol||e,placeholder:o.staticDefinitionSymbol!==ae?e:ae,nativeDef:(a?"'":"")+e});a=false}}}function b(n){if(n&&n.matches)se.each(n.matches,function(e,t){var i=n.matches[e+1];if((i===ae||i.matches===ae||i.isQuantifier===false)&&t&&t.isGroup){t.isGroup=false;if(!s){y(t,o.groupmarker[0],0);if(t.openGroup!==true)y(t,o.groupmarker[1])}}b(t)})}function _(){if(u.length>0){f=u[u.length-1];y(f,c);if(f.isAlternator){p=u.pop();for(var e=0;e<p.matches.length;e++)if(p.matches[e].isGroup)p.matches[e].isGroup=false;if(u.length>0){f=u[u.length-1];f.matches.push(p)}else r.matches.push(p)}}else y(r,c)}function x(e){function t(e){if(e===o.optionalmarker[0])e=o.optionalmarker[1];else if(e===o.optionalmarker[1])e=o.optionalmarker[0];else if(e===o.groupmarker[0])e=o.groupmarker[1];else if(e===o.groupmarker[1])e=o.groupmarker[0];return e}e.matches=e.matches.reverse();for(var i in e.matches)if(e.matches.hasOwnProperty(i)){var n=parseInt(i);if(e.matches[i].isQuantifier&&e.matches[n+1]&&e.matches[n+1].isGroup){var r=e.matches[i];e.matches.splice(i,1);e.matches.splice(n+1,0,r)}if(e.matches[i].matches!==ae)e.matches[i]=x(e.matches[i]);else e.matches[i]=t(e.matches[i])}return e}function w(e){var t=new v(true);t.openGroup=false;t.matches=e;return t}if(s){o.optionalmarker[0]=ae;o.optionalmarker[1]=ae}while(l=s?n.exec(t):i.exec(t)){c=l[0];if(s)switch(c.charAt(0)){case"?":c="{0,1}";break;case"+":case"*":c="{"+c+"}";break}if(a){_();continue}switch(c.charAt(0)){case"(?=":break;case"(?!":break;case"(?<=":break;case"(?<!":break;case o.escapeChar:a=true;if(s)_();break;case o.optionalmarker[1]:case o.groupmarker[1]:h=u.pop();h.openGroup=false;if(h!==ae)if(u.length>0){f=u[u.length-1];f.matches.push(h);if(f.isAlternator){p=u.pop();for(var k=0;k<p.matches.length;k++){p.matches[k].isGroup=false;p.matches[k].alternatorGroup=false}if(u.length>0){f=u[u.length-1];f.matches.push(p)}else r.matches.push(p)}}else r.matches.push(h);else _();break;case o.optionalmarker[0]:u.push(new v(false,true));break;case o.groupmarker[0]:u.push(new v(true));break;case o.quantifiermarker[0]:var S=new v(false,false,true);c=c.replace(/[{}]/g,"");var M=c.split("|"),C=M[0].split(","),L=isNaN(C[0])?C[0]:parseInt(C[0]),T=C.length===1?L:isNaN(C[1])?C[1]:parseInt(C[1]);if(L==="*"||L==="+")L=T==="*"?0:1;S.quantifier={min:L,max:T,jit:M[1]};var D=u.length>0?u[u.length-1].matches:r.matches;l=D.pop();if(l.isAlternator){D.push(l);D=l.matches;var g=new v(true);var E=D.pop();D.push(g);D=g.matches;l=E}if(!l.isGroup)l=w([l]);D.push(l);D.push(S);break;case o.alternatormarker:var A=function e(t){var i=t.pop();if(i.isQuantifier)i=w([t.pop(),i]);return i};if(u.length>0){f=u[u.length-1];var j=f.matches[f.matches.length-1];if(f.openGroup&&(j.matches===ae||j.isGroup===false&&j.isAlternator===false))m=u.pop();else m=A(f.matches)}else m=A(r.matches);if(m.isAlternator)u.push(m);else{if(m.alternatorGroup){p=u.pop();m.alternatorGroup=false}else p=new v(false,false,false,true);p.matches.push(m);u.push(p);if(m.openGroup){m.openGroup=false;var O=new v(true);O.alternatorGroup=true;u.push(O)}}break;default:_()}}while(u.length>0){h=u.pop();r.matches.push(h)}if(r.matches.length>0){b(r);d.push(r)}if(o.numericInput||o.isRTL)x(d[0]);return d},positionColorMask:function e(t,i){t.style.left=i.offsetLeft+"px"}},fe.extendDefaults=function(e){se.extend(true,fe.prototype.defaults,e)},fe.extendDefinitions=function(e){se.extend(true,fe.prototype.definitions,e)},fe.extendAliases=function(e){se.extend(true,fe.prototype.aliases,e)},fe.format=function(e,t,i){return fe(t).format(e,i)},fe.unmask=function(e,t){return fe(t).unmaskedvalue(e)},fe.isValid=function(e,t){return fe(t).isValid(e)},fe.remove=function(e){if(typeof e==="string")e=le.getElementById(e)||le.querySelectorAll(e);e=e.nodeName?[e]:e;se.each(e,function(e,t){if(t.inputmask)t.inputmask.remove()})},fe.setValue=function(e,i){if(typeof e==="string")e=le.getElementById(e)||le.querySelectorAll(e);e=e.nodeName?[e]:e;se.each(e,function(e,t){if(t.inputmask)t.inputmask.setValue(i);else se(t).trigger("setvalue",[i])})},fe.escapeRegex=function(e){var t=["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"];return e.replace(new RegExp("(\\"+t.join("|\\")+")","gim"),"\\$1")},fe.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},fe.dependencyLib=se,fe})?n.apply(t,i):n)&&(e.exports=t)},function(e,t,i){"use strict";var n;i=[i(4)],void 0!==(t="function"==typeof(n=function(e){return e})?n.apply(t,i):n)&&(e.exports=t)},function(e,t){e.exports=jQuery},function(module,exports,__webpack_require__){"use strict";var __WEBPACK_AMD_DEFINE_RESULT__,_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},__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module);void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,i){"use strict";var n,g="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};i=[i(2)],void 0!==(t="function"==typeof(n=function(c){var u=c.dependencyLib,h={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return p(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return p(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return p(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return p(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return p(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return p(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return p(Date.prototype.getMinutes.call(this),2)}],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return p(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return p(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return p(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},i={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function f(e){if(!e.tokenizer){var t=[];for(var i in h)if(t.indexOf(i[0])===-1)t.push(i[0]);e.tokenizer="("+t.join("+|")+")+?|.";e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function a(e,t){return!isFinite(e.rawday)||e.day=="29"&&!isFinite(e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day?t:false}function l(e,t){var i=true;if(t.min){if(e["rawyear"]){var n=e["rawyear"].replace(/[^0-9]/g,""),r=t.min.year.substr(0,n.length);i=r<=n}if(e["year"]===e["rawyear"])if(t.min.date.getTime()===t.min.date.getTime())i=t.min.date.getTime()<=e.date.getTime()}if(i&&t.max&&t.max.date.getTime()===t.max.date.getTime())i=t.max.date.getTime()>=e.date.getTime();return i}function d(e,t,i,n){var r="",s;while(s=f(i).exec(e))if(t===undefined)if(h[s[0]])r+="("+h[s[0]][0]+")";else switch(s[0]){case"[":r+="(";break;case"]":r+=")?";break;default:r+=c.escapeRegex(s[0])}else if(h[s[0]])if(n!==true&&h[s[0]][3]){var o=h[s[0]][3];r+=o.call(t.date)}else if(h[s[0]][2])r+=t["raw"+h[s[0]][2]];else r+=s[0];else r+=s[0];return r}function p(e,t){e=String(e);t=t||2;while(e.length<t)e="0"+e;return e}function m(e,t,s){var i={date:new Date(1,0,1)},o,n=e,r,a,l;function c(e){var t=e.replace(/[^0-9]/g,"0");if(t!=e){var i=e.replace(/[^0-9]/g,""),n=(s.min&&s.min[o]||e).toString(),r=(s.max&&s.max[o]||e).toString();t=i+(i<n.slice(0,i.length)?n.slice(i.length):i>r.slice(0,i.length)?r.slice(i.length):t.toString().slice(i.length))}return t}function u(e,t,i){e[o]=c(t);e["raw"+o]=t;if(a!==undefined)a.call(e.date,o=="month"?parseInt(e[o])-1:e[o])}if(typeof n==="string"){while(r=f(s).exec(t)){var d=n.slice(0,r[0].length);if(h.hasOwnProperty(r[0])){l=h[r[0]][0];o=h[r[0]][2];a=h[r[0]][1];u(i,d,s)}n=n.slice(d.length)}return i}else if(n&&(typeof n==="undefined"?"undefined":g(n))==="object"&&n.hasOwnProperty("date"))return n;return undefined}return c.extendAliases({datetime:{mask:function e(t){h.S=t.i18n.ordinalSuffix.join("|");t.inputFormat=i[t.inputFormat]||t.inputFormat;t.displayFormat=i[t.displayFormat]||t.displayFormat||t.inputFormat;t.outputFormat=i[t.outputFormat]||t.outputFormat||t.inputFormat;t.placeholder=t.placeholder!==""?t.placeholder:t.inputFormat.replace(/[\[\]]/,"");t.regex=d(t.inputFormat,undefined,t);return null},placeholder:"",inputFormat:"isoDateTime",displayFormat:undefined,outputFormat:undefined,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function e(t,i,n,r){r.min=m(r.min,r.inputFormat,r);r.max=m(r.max,r.inputFormat,r);var s=n,o=m(t.join(""),r.inputFormat,r);if(s&&o.date.getTime()===o.date.getTime()){s=a(o,s);s=s&&l(o,r)}if(i&&s&&n.pos!==i)return{buffer:d(r.inputFormat,o,r),refreshFromBuffer:{start:i,end:n.pos}};return s},onKeyDown:function e(t,i,n,r){var s=this;if(t.ctrlKey&&t.keyCode===c.keyCode.RIGHT){var o=new Date,a,l="";while(a=f(r).exec(r.inputFormat))if(a[0].charAt(0)==="d")l+=p(o.getDate(),a[0].length);else if(a[0].charAt(0)==="m")l+=p(o.getMonth()+1,a[0].length);else if(a[0]==="yyyy")l+=o.getFullYear().toString();else if(a[0].charAt(0)==="y")l+=p(o.getYear(),a[0].length);s.inputmask._valueSet(l);u(s).trigger("setvalue")}},onUnMask:function e(t,i,n){return d(n.outputFormat,m(t,n.inputFormat,n),n,true)},casing:function e(t,i,n,r){if(i.nativeDef.indexOf("[ap]")==0)return t.toLowerCase();if(i.nativeDef.indexOf("[AP]")==0)return t.toUpperCase();return t},insertMode:false,shiftPositions:false}}),c})?n.apply(t,i):n)&&(e.exports=t)},function(e,t,i){"use strict";var n;i=[i(2)],void 0!==(t="function"==typeof(n=function(y){var b=y.dependencyLib;function o(e,t){var i="";for(var n=0;n<e.length;n++)if(y.prototype.definitions[e.charAt(n)]||t.definitions[e.charAt(n)]||t.optionalmarker.start===e.charAt(n)||t.optionalmarker.end===e.charAt(n)||t.quantifiermarker.start===e.charAt(n)||t.quantifiermarker.end===e.charAt(n)||t.groupmarker.start===e.charAt(n)||t.groupmarker.end===e.charAt(n)||t.alternatormarker===e.charAt(n))i+="\\"+e.charAt(n);else i+=e.charAt(n);return i}function c(e,t,i){if(t>0){var n=b.inArray(i.radixPoint,e);if(n===-1){e.push(i.radixPoint);n=e.length-1}for(var r=1;r<=t;r++)e[n+r]=e[n+r]||"0"}return e}return y.extendAliases({numeric:{mask:function e(t){if(t.repeat!==0&&isNaN(t.integerDigits))t.integerDigits=t.repeat;t.repeat=0;if(t.groupSeparator===t.radixPoint&&t.digits&&t.digits!=="0")if(t.radixPoint===".")t.groupSeparator=",";else if(t.radixPoint===",")t.groupSeparator=".";else t.groupSeparator="";if(t.groupSeparator===" ")t.skipOptionalPartCharacter=undefined;t.autoGroup=t.autoGroup&&t.groupSeparator!=="";if(t.autoGroup){if(typeof t.groupSize=="string"&&isFinite(t.groupSize))t.groupSize=parseInt(t.groupSize);if(isFinite(t.integerDigits)){var i=Math.floor(t.integerDigits/t.groupSize);var n=t.integerDigits%t.groupSize;t.integerDigits=parseInt(t.integerDigits)+(n===0?i-1:i);if(t.integerDigits<1)t.integerDigits="*"}}if(t.placeholder.length>1)t.placeholder=t.placeholder.charAt(0);if(t.positionCaretOnClick==="radixFocus"&&t.placeholder===""&&t.integerOptional===false)t.positionCaretOnClick="lvp";t.definitions[";"]=t.definitions["~"];t.definitions[";"].definitionSymbol="~";if(t.numericInput===true){t.positionCaretOnClick=t.positionCaretOnClick==="radixFocus"?"lvp":t.positionCaretOnClick;t.digitsOptional=false;if(isNaN(t.digits))t.digits=2;t.decimalProtect=false}var e="[+]";e+=o(t.prefix,t);if(t.integerOptional===true)e+="~{1,"+t.integerDigits+"}";else e+="~{"+t.integerDigits+"}";if(t.digits!==undefined){var r=t.decimalProtect?":":t.radixPoint;var s=t.digits.toString().split(",");if(isFinite(s[0])&&s[1]&&isFinite(s[1]))e+=r+";{"+t.digits+"}";else if(isNaN(t.digits)||parseInt(t.digits)>0)if(t.digitsOptional)e+="["+r+";{1,"+t.digits+"}]";else e+=r+";{"+t.digits+"}"}e+=o(t.suffix,t);e+="[-]";t.greedy=false;return e},placeholder:"",greedy:false,digits:"*",digitsOptional:true,enforceDigitsOnBlur:false,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:false,allowMinus:true,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:true,prefix:"",suffix:"",rightAlign:true,decimalProtect:true,min:null,max:null,step:1,insertMode:true,autoUnmask:false,unmaskAsNumber:false,inputType:"text",inputmode:"numeric",preValidation:function e(t,i,n,r,s,o){if(n==="-"||n===s.negationSymbol.front){if(s.allowMinus!==true)return false;s.isNegative=s.isNegative===undefined?true:!s.isNegative;if(t.join("")==="")return true;return{caret:o.validPositions[i]?i:undefined,dopost:true}}if(r===false&&n===s.radixPoint&&s.digits!==undefined&&(isNaN(s.digits)||parseInt(s.digits)>0)){var a=b.inArray(s.radixPoint,t);if(a!==-1&&o.validPositions[a]!==undefined){if(s.numericInput===true)return i===a;return{caret:a+1}}}return true},postValidation:function e(t,i,n,r){function s(e,t){var i="";i+="("+t.groupSeparator+"*{"+t.groupSize+"}){*}";if(t.radixPoint!==""){var n=e.join("").split(t.radixPoint);if(n[1])i+=t.radixPoint+"*{"+n[1].match(/^\d*\??\d*/)[0].length+"}"}return i}var o=r.suffix.split(""),a=r.prefix.split("");if(n.pos===undefined&&n.caret!==undefined&&n.dopost!==true)return n;var l=n.caret!==undefined?n.caret:n.pos;var c=t.slice();if(r.numericInput){l=c.length-l-1;c=c.reverse()}var u=c[l];if(u===r.groupSeparator){l+=1;u=c[l]}if(l===c.length-r.suffix.length-1&&u===r.radixPoint)return n;if(u!==undefined)if(u!==r.radixPoint&&u!==r.negationSymbol.front&&u!==r.negationSymbol.back){c[l]="?";if(r.prefix.length>0&&l>=(r.isNegative===false?1:0)&&l<r.prefix.length-1+(r.isNegative===false?1:0))a[l-(r.isNegative===false?1:0)]="?";else if(r.suffix.length>0&&l>=c.length-r.suffix.length-(r.isNegative===false?1:0))o[l-(c.length-r.suffix.length-(r.isNegative===false?1:0))]="?"}a=a.join("");o=o.join("");var d=c.join("").replace(a,"");d=d.replace(o,"");d=d.replace(new RegExp(y.escapeRegex(r.groupSeparator),"g"),"");d=d.replace(new RegExp("[-"+y.escapeRegex(r.negationSymbol.front)+"]","g"),"");d=d.replace(new RegExp(y.escapeRegex(r.negationSymbol.back)+"$"),"");if(isNaN(r.placeholder))d=d.replace(new RegExp(y.escapeRegex(r.placeholder),"g"),"");if(d.length>1&&d.indexOf(r.radixPoint)!==1){if(u==="0")d=d.replace(/^\?/g,"");d=d.replace(/^0/g,"")}if(d.charAt(0)===r.radixPoint&&r.radixPoint!==""&&r.numericInput!==true)d="0"+d;if(d!==""){d=d.split("");if((!r.digitsOptional||r.enforceDigitsOnBlur&&n.event==="blur")&&isFinite(r.digits)){var h=b.inArray(r.radixPoint,d);var f=b.inArray(r.radixPoint,c);if(h===-1){d.push(r.radixPoint);h=d.length-1}for(var p=1;p<=r.digits;p++)if((!r.digitsOptional||r.enforceDigitsOnBlur&&n.event==="blur")&&(d[h+p]===undefined||d[h+p]===r.placeholder.charAt(0)))d[h+p]=n.placeholder||r.placeholder.charAt(0);else if(f!==-1&&c[f+p]!==undefined)d[h+p]=d[h+p]||c[f+p]}if(r.autoGroup===true&&r.groupSeparator!==""&&(u!==r.radixPoint||n.pos!==undefined||n.dopost)){var m=d[d.length-1]===r.radixPoint&&n.c===r.radixPoint;d=y(s(d,r),{numericInput:true,jitMasking:true,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(d.join(""));if(m)d+=r.radixPoint;if(d.charAt(0)===r.groupSeparator)d.substr(1)}else d=d.join("")}if(r.isNegative&&n.event==="blur")r.isNegative=d!=="0";d=a+d;d+=o;if(r.isNegative){d=r.negationSymbol.front+d;d+=r.negationSymbol.back}d=d.split("");if(u!==undefined)if(u!==r.radixPoint&&u!==r.negationSymbol.front&&u!==r.negationSymbol.back){l=b.inArray("?",d);if(l>-1)d[l]=u;else l=n.caret||0}else if(u===r.radixPoint||u===r.negationSymbol.front||u===r.negationSymbol.back){var g=b.inArray(u,d);if(g!==-1)l=g}if(r.numericInput){l=d.length-l-1;d=d.reverse()}var v={caret:(u===undefined||n.pos!==undefined)&&l!==undefined?l+(r.numericInput?-1:1):l,buffer:d,refreshFromBuffer:n.dopost||t.join("")!==d.join("")};return v.refreshFromBuffer?v:n},onBeforeWrite:function e(t,i,n,r){function s(e){if(e.parseMinMaxOptions===undefined){if(e.min!==null){e.min=e.min.toString().replace(new RegExp(y.escapeRegex(e.groupSeparator),"g"),"");if(e.radixPoint===",")e.min=e.min.replace(e.radixPoint,".");e.min=isFinite(e.min)?parseFloat(e.min):NaN;if(isNaN(e.min))e.min=Number.MIN_VALUE}if(e.max!==null){e.max=e.max.toString().replace(new RegExp(y.escapeRegex(e.groupSeparator),"g"),"");if(e.radixPoint===",")e.max=e.max.replace(e.radixPoint,".");e.max=isFinite(e.max)?parseFloat(e.max):NaN;if(isNaN(e.max))e.max=Number.MAX_VALUE}e.parseMinMaxOptions="done"}}if(t)switch(t.type){case"keydown":return r.postValidation(i,n,{caret:n,dopost:true},r);case"blur":case"checkval":var o;s(r);if(r.min!==null||r.max!==null){o=r.onUnMask(i.join(""),undefined,b.extend({},r,{unmaskAsNumber:true}));if(r.min!==null&&o<r.min){r.isNegative=r.min<0;return r.postValidation(r.min.toString().replace(".",r.radixPoint).split(""),n,{caret:n,dopost:true,placeholder:"0"},r)}else if(r.max!==null&&o>r.max){r.isNegative=r.max<0;return r.postValidation(r.max.toString().replace(".",r.radixPoint).split(""),n,{caret:n,dopost:true,placeholder:"0"},r)}}return r.postValidation(i,n,{caret:n,placeholder:"0",event:"blur"},r);case"_checkval":return{caret:n};default:break}},regex:{integerPart:function e(t,i){return i?new RegExp("["+y.escapeRegex(t.negationSymbol.front)+"+]?"):new RegExp("["+y.escapeRegex(t.negationSymbol.front)+"+]?\\d+")},integerNPart:function e(t){return new RegExp("[\\d"+y.escapeRegex(t.groupSeparator)+y.escapeRegex(t.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function e(t,i,n,r,s,o){var a,l;if(t==="k"||t==="m"){a={insert:[],c:0};for(var c=0,l=t==="k"?2:5;c<l;c++)a.insert.push({pos:n+c,c:0});a.pos=n+l;return a}a=r?new RegExp("[0-9"+y.escapeRegex(s.groupSeparator)+"]").test(t):new RegExp("[0-9]").test(t);if(a===true){if(s.numericInput!==true&&i.validPositions[n]!==undefined&&i.validPositions[n].match.def==="~"&&!o){var u=i.buffer.join("");u=u.replace(new RegExp("[-"+y.escapeRegex(s.negationSymbol.front)+"]","g"),"");u=u.replace(new RegExp(y.escapeRegex(s.negationSymbol.back)+"$"),"");var d=u.split(s.radixPoint);if(d.length>1)d[1]=d[1].replace(/0/g,s.placeholder.charAt(0));if(d[0]==="0")d[0]=d[0].replace(/0/g,s.placeholder.charAt(0));u=d[0]+s.radixPoint+d[1]||"";var h=i._buffer.join("");if(u===s.radixPoint)u=h;while(u.match(y.escapeRegex(h)+"$")===null)h=h.slice(1);u=u.replace(h,"");u=u.split("");if(u[n]===undefined)a={pos:n,remove:n};else a={pos:n}}}else if(!r&&t===s.radixPoint&&i.validPositions[n-1]===undefined)a={insert:{pos:n,c:0},pos:n+1};return a},cardinality:1},"+":{validator:function e(t,i,n,r,s){return s.allowMinus&&(t==="-"||t===s.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function e(t,i,n,r,s){return s.allowMinus&&t===s.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function e(t,i,n,r,s){var o="["+y.escapeRegex(s.radixPoint)+"]";var a=new RegExp(o).test(t);if(a&&i.validPositions[n]&&i.validPositions[n].match.placeholder===s.radixPoint)a={caret:n+1};return a},cardinality:1,placeholder:function e(t){return t.radixPoint}}},onUnMask:function e(t,i,n){if(i===""&&n.nullable===true)return i;var r=t.replace(n.prefix,"");r=r.replace(n.suffix,"");r=r.replace(new RegExp(y.escapeRegex(n.groupSeparator),"g"),"");if(n.placeholder.charAt(0)!=="")r=r.replace(new RegExp(n.placeholder.charAt(0),"g"),"0");if(n.unmaskAsNumber){if(n.radixPoint!==""&&r.indexOf(n.radixPoint)!==-1)r=r.replace(y.escapeRegex.call(this,n.radixPoint),".");r=r.replace(new RegExp("^"+y.escapeRegex(n.negationSymbol.front)),"-");r=r.replace(new RegExp(y.escapeRegex(n.negationSymbol.back)+"$"),"");return Number(r)}return r},isComplete:function e(t,i){var n=(i.numericInput?t.slice().reverse():t).join("");n=n.replace(new RegExp("^"+y.escapeRegex(i.negationSymbol.front)),"-");n=n.replace(new RegExp(y.escapeRegex(i.negationSymbol.back)+"$"),"");n=n.replace(i.prefix,"");n=n.replace(i.suffix,"");n=n.replace(new RegExp(y.escapeRegex(i.groupSeparator)+"([0-9]{3})","g"),"$1");if(i.radixPoint===",")n=n.replace(y.escapeRegex(i.radixPoint),".");return isFinite(n)},onBeforeMask:function e(t,i){i.isNegative=undefined;var n=i.radixPoint||",";if((typeof t=="number"||i.inputType==="number")&&n!=="")t=t.toString().replace(".",n);var r=t.split(n),s=r[0].replace(/[^\-0-9]/g,""),o=r.length>1?r[1].replace(/[^0-9]/g,""):"";t=s+(o!==""?n+o:o);var a=0;if(n!==""){a=o.length;if(o!==""){var l=Math.pow(10,a||1);if(isFinite(i.digits)){a=parseInt(i.digits);l=Math.pow(10,a)}t=t.replace(y.escapeRegex(n),".");if(isFinite(t))t=Math.round(parseFloat(t)*l)/l;t=t.toString().replace(".",n)}}if(i.digits===0&&t.indexOf(y.escapeRegex(n))!==-1)t=t.substring(0,t.indexOf(y.escapeRegex(n)));return c(t.toString().split(""),a,i).join("")},onKeyDown:function e(t,i,n,r){var s=b(this);if(t.ctrlKey)switch(t.keyCode){case y.keyCode.UP:s.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(r.step));s.trigger("setvalue");break;case y.keyCode.DOWN:s.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(r.step));s.trigger("setvalue");break}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:true,digits:2,digitsOptional:false,clearMaskOnLostFocus:false},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:true,radixPoint:".",placeholder:"0",autoGroup:false,min:0,max:100,suffix:" %",allowMinus:false}}),y})?n.apply(t,i):n)&&(e.exports=t)},function(e,t,i){"use strict";var n,o="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};i=[i(4),i(2)],void 0!==(t="function"==typeof(n=function(r,s){if(r.fn.inputmask===undefined)r.fn.inputmask=function(e,t){var i,n=this[0];if(t===undefined)t={};if(typeof e==="string")switch(e){case"unmaskedvalue":return n&&n.inputmask?n.inputmask.unmaskedvalue():r(n).val();case"remove":return this.each(function(){if(this.inputmask)this.inputmask.remove()});case"getemptymask":return n&&n.inputmask?n.inputmask.getemptymask():"";case"hasMaskedValue":return n&&n.inputmask?n.inputmask.hasMaskedValue():false;case"isComplete":return n&&n.inputmask?n.inputmask.isComplete():true;case"getmetadata":return n&&n.inputmask?n.inputmask.getmetadata():undefined;case"setvalue":s.setValue(n,t);break;case"option":if(typeof t==="string"){if(n&&n.inputmask!==undefined)return n.inputmask.option(t)}else return this.each(function(){if(this.inputmask!==undefined)return this.inputmask.option(t)});break;default:t.alias=e;i=new s(t);return this.each(function(){i.mask(this)})}else if(Array.isArray(e)){t.alias=e;i=new s(t);return this.each(function(){i.mask(this)})}else if((typeof e==="undefined"?"undefined":o(e))=="object"){i=new s(e);if(e.mask===undefined&&e.alias===undefined)return this.each(function(){if(this.inputmask!==undefined)return this.inputmask.option(e);else i.mask(this)});else return this.each(function(){i.mask(this)})}else if(e===undefined)return this.each(function(){i=new s(t);i.mask(this)})};return r.fn.inputmask})?n.apply(t,i):n)&&(e.exports=t)}])},
vendor: 41,097 bytes, line 1
1"./node_modules/ion-rangeslider/js/ion.rangeSlider.js":function(e,t,i){var n;n=function(o,a,l,e,c){"use strict";function t(e,t,i){this.VERSION="2.3.1",this.input=e,this.plugin_count=i,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,t=t||{},this.$cache={win:o(l),body:o(a.body),input:o(e),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var n,r,e=(i=this.$cache.input).prop("value"),s={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null};for(r in"INPUT"!==i[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",i[0]),(n={skin:i.data("skin"),type:i.data("type"),min:i.data("min"),max:i.data("max"),from:i.data("from"),to:i.data("to"),step:i.data("step"),min_interval:i.data("minInterval"),max_interval:i.data("maxInterval"),drag_interval:i.data("dragInterval"),values:i.data("values"),from_fixed:i.data("fromFixed"),from_min:i.data("fromMin"),from_max:i.data("fromMax"),from_shadow:i.data("fromShadow"),to_fixed:i.data("toFixed"),to_min:i.data("toMin"),to_max:i.data("toMax"),to_shadow:i.data("toShadow"),prettify_enabled:i.data("prettifyEnabled"),prettify_separator:i.data("prettifySeparator"),force_edges:i.data("forceEdges"),keyboard:i.data("keyboard"),grid:i.data("grid"),grid_margin:i.data("gridMargin"),grid_num:i.data("gridNum"),grid_snap:i.data("gridSnap"),hide_min_max:i.data("hideMinMax"),hide_from_to:i.data("hideFromTo"),prefix:i.data("prefix"),postfix:i.data("postfix"),max_postfix:i.data("maxPostfix"),decorate_both:i.data("decorateBoth"),values_separator:i.data("valuesSeparator"),input_values_separator:i.data("inputValuesSeparator"),disable:i.data("disable"),block:i.data("block"),extra_classes:i.data("extraClasses")}).values=n.values&&n.values.split(","),n)!n.hasOwnProperty(r)||n[r]!==c&&""!==n[r]||delete n[r];e!==c&&""!==e&&((e=e.split(n.input_values_separator||t.input_values_separator||";"))[0]&&e[0]==+e[0]&&(e[0]=+e[0]),e[1]&&e[1]==+e[1]&&(e[1]=+e[1]),t&&t.values&&t.values.length?(s.from=e[0]&&t.values.indexOf(e[0]),s.to=e[1]&&t.values.indexOf(e[1])):(s.from=e[0]&&+e[0],s.to=e[1]&&+e[1])),o.extend(s,t),o.extend(s,n),this.options=s,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}var i,n=0,r=(e=e.userAgent,i=/msie\s\d+/i,0<e.search(i)&&i.exec(e).toString().split(" ")[1]<9&&(o("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(i){var n=this,r=[].slice;if("function"!=typeof n)throw new TypeError;var s=r.call(arguments,1),o=function(){var e,t;return this instanceof o?((e=function(){}).prototype=n.prototype,e=new e,t=n.apply(e,s.concat(r.call(arguments))),Object(t)===t?t:e):n.apply(i,s.concat(r.call(arguments)))};return o}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0==r)return-1;t=+t||0;if(r<=(t=Math.abs(t)===1/0?0:t))return-1;for(i=Math.max(0<=t?t:r-Math.abs(t),0);i<r;){if(i in n&&n[i]===e)return i;i++}return-1});t.prototype={init:function(e){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),e?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var e='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(e),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var e=this.options.min,t=this.options.max,i=this.options.from,n=this.options.to;e<i&&n===t?this.$cache.s_from.addClass("type_last"):n<t&&this.$cache.s_to.addClass("type_last")},changeLevel:function(e){switch(e){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),r&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),r&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(e){var t,i;this.target||(i=(t="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,i+=t.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:i}))},pointerMove:function(e){this.dragging&&(e=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX,this.coords.x_pointer=e-this.coords.x_gap,this.calc())},pointerUp:function(e){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,r&&o("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(o.contains(this.$cache.cont[0],e.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(e,t){t.preventDefault();var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;2!==t.button&&("both"===e&&this.setTempMinInterval(),e=e||this.target||"from",this.current_plugin=this.plugin_count,this.target=e,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=i-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(e),r&&o("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(e,t){t.preventDefault();var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;2!==t.button&&(this.current_plugin=this.plugin_count,this.target=e,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(e,t){if(!(this.current_plugin!==this.plugin_count||t.altKey||t.ctrlKey||t.shiftKey||t.metaKey)){switch(t.which){case 83:case 65:case 40:case 37:t.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:t.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(e){var t=this.coords.p_pointer,i=(this.options.max-this.options.min)/100,i=this.options.step/i;e?t+=i:t-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*t),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");var e,t;this.options.values.length?(this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]))):(e=this._prettify(this.options.min),t=this._prettify(this.options.max),this.result.min_pretty=e,this.result.max_pretty=t,this.$cache.min.html(this.decorate(e,this.options.min)),this.$cache.max.html(this.decorate(t,this.options.max))),this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var e=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=e},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(e){if(this.options&&(this.calc_count++,10!==this.calc_count&&!e||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var t=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,t=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,t=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(t)),this.target){case"base":var i=(this.options.max-this.options.min)/100,n=(this.result.from-this.options.min)/i,i=(this.result.to-this.options.min)/i;this.coords.p_single_real=this.toFixed(n),this.coords.p_from_real=this.toFixed(n),this.coords.p_to_real=this.toFixed(i),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(t),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(t),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(t),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;t=this.toFixed(t+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(t)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(t)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var n=this.convertToRealPercent(t),i=this.result.from_percent,i=this.result.to_percent-i,r=i/2,s=n-r,n=n+r;100<(n=s<0?(s=0)+i:n)&&(s=(n=100)-i),this.coords.p_from_real=this.calcWithStep(s),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(n),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(e){return e/(100-this.coords.p_handle)*100},convertToFakePercent:function(e){return e/100*(100-this.coords.p_handle)},getHandleX:function(){var e=100-this.coords.p_handle,t=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return t<0?t=0:e<t&&(t=e),t},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(e){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=e?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){var e,t,i,n,r;this.options&&(i=this.options.values.length,e=this.options.p_values,this.options.hide_from_to||("single"===this.options.type?(n=i?this.decorate(e[this.result.from]):(t=this._prettify(this.result.from),this.decorate(t,this.result.from)),this.$cache.single.html(n),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"):(e=i?(n=this.options.decorate_both?(n=this.decorate(e[this.result.from]),(n+=this.options.values_separator)+this.decorate(e[this.result.to])):this.decorate(e[this.result.from]+this.options.values_separator+e[this.result.to]),r=this.decorate(e[this.result.from]),this.decorate(e[this.result.to])):(t=this._prettify(this.result.from),i=this._prettify(this.result.to),n=this.options.decorate_both?(n=this.decorate(t,this.result.from),(n+=this.options.values_separator)+this.decorate(i,this.result.to)):this.decorate(t+this.options.values_separator+i,this.result.to),r=this.decorate(t,this.result.from),this.decorate(i,this.result.to)),this.$cache.single.html(n),this.$cache.from.html(r),this.$cache.to.html(e),this.calcLabels(),t=Math.min(this.labels.p_single_left,this.labels.p_from_left),i=this.labels.p_single_left+this.labels.p_single_fake,n=this.labels.p_to_left+this.labels.p_to_fake,r=Math.max(i,n),this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",r=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",n):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(i,n))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),t<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",r>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible")))},drawShadow:function(){var e,t,i=this.options,n=this.$cache,r="number"==typeof i.from_min&&!isNaN(i.from_min),s="number"==typeof i.from_max&&!isNaN(i.from_max),o="number"==typeof i.to_min&&!isNaN(i.to_min),a="number"==typeof i.to_max&&!isNaN(i.to_max);"single"===i.type?i.from_shadow&&(r||s)?(e=this.convertToPercent(r?i.from_min:i.min),t=this.convertToPercent(s?i.from_max:i.max)-e,e=this.toFixed(e-this.coords.p_handle/100*e),t=this.toFixed(t-this.coords.p_handle/100*t),e+=this.coords.p_handle/2,n.shad_single[0].style.display="block",n.shad_single[0].style.left=e+"%",n.shad_single[0].style.width=t+"%"):n.shad_single[0].style.display="none":(i.from_shadow&&(r||s)?(e=this.convertToPercent(r?i.from_min:i.min),t=this.convertToPercent(s?i.from_max:i.max)-e,e=this.toFixed(e-this.coords.p_handle/100*e),t=this.toFixed(t-this.coords.p_handle/100*t),e+=this.coords.p_handle/2,n.shad_from[0].style.display="block",n.shad_from[0].style.left=e+"%",n.shad_from[0].style.width=t+"%"):n.shad_from[0].style.display="none",i.to_shadow&&(o||a)?(r=this.convertToPercent(o?i.to_min:i.min),s=this.convertToPercent(a?i.to_max:i.max)-r,r=this.toFixed(r-this.coords.p_handle/100*r),s=this.toFixed(s-this.coords.p_handle/100*s),r+=this.coords.p_handle/2,n.shad_to[0].style.display="block",n.shad_to[0].style.left=r+"%",n.shad_to[0].style.width=s+"%"):n.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(e,t){var i=this.options.max-this.options.min;return i?(t=t?e:e-this.options.min,this.toFixed(t/(i/100))):(this.no_diapason=!0,0)},convertToValue:function(e){var t,i=this.options.min,n=this.options.max,r=i.toString().split(".")[1],s=n.toString().split(".")[1],o=0,a=0;if(0===e)return this.options.min;if(100===e)return this.options.max;r&&(o=l=r.length),s&&(o=t=s.length),l&&t&&(o=t<=l?l:t),i<0&&(i=+(i+(a=Math.abs(i))).toFixed(o),n=+(n+a).toFixed(o));var l,r=(n-i)/100*e+i,s=this.options.step.toString().split(".")[1],r=s?+r.toFixed(s.length):+(r=(r/=this.options.step)*this.options.step).toFixed(0);return a&&(r-=a),(l=s?+r.toFixed(s.length):this.toFixed(r))<this.options.min?l=this.options.min:l>this.options.max&&(l=this.options.max),l},calcWithStep:function(e){var t=Math.round(e/this.coords.p_step)*this.coords.p_step;return 100<t&&(t=100),this.toFixed(t=100===e?100:t)},checkMinInterval:function(e,t,i){var n,r=this.options;return r.min_interval?(n=this.convertToValue(e),t=this.convertToValue(t),"from"===i?t-n<r.min_interval&&(n=t-r.min_interval):n-t<r.min_interval&&(n=t+r.min_interval),this.convertToPercent(n)):e},checkMaxInterval:function(e,t,i){var n,r=this.options;return r.max_interval?(n=this.convertToValue(e),t=this.convertToValue(t),"from"===i?t-n>r.max_interval&&(n=t-r.max_interval):n-t>r.max_interval&&(n=t+r.max_interval),this.convertToPercent(n)):e},checkDiapason:function(e,t,i){var e=this.convertToValue(e),n=this.options;return"number"!=typeof t&&(t=n.min),(i="number"!=typeof i?n.max:i)<(e=e<t?t:e)&&(e=i),this.convertToPercent(e)},toFixed:function(e){return+(e=e.toFixed(20))},_prettify:function(e){return this.options.prettify_enabled?(this.options.prettify&&"function"==typeof this.options.prettify?this.options:this).prettify(e):e},prettify:function(e){return e.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(e,t){return this.options.force_edges&&(e<0?e=0:100-t<e&&(e=100-t)),this.toFixed(e)},validate:function(){var e,t,i=this.options,n=this.result,r=i.values,s=r.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),s)for(i.p_values=[],i.min=0,i.max=s-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,t=0;t<s;t++)e=+r[t],e=isNaN(e)?r[t]:(r[t]=e,this._prettify(e)),i.p_values.push(e);"number"==typeof i.from&&!isNaN(i.from)||(i.from=i.min),"number"==typeof i.to&&!isNaN(i.to)||(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(e,t){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=e,n.max_postfix&&(n.values.length&&e===n.p_values[n.max]||t===n.max)&&(i+=n.max_postfix,n.postfix&&(i+=" ")),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var e,t,i,n,r,s,o=this.options,a=o.max-o.min,l=o.grid_num,c=0,u=4,d="";for(this.calcGridMargin(),o.grid_snap&&(l=a/o.step),i=this.toFixed(100/(l=50<l?50:l)),4<l&&(u=3),7<l&&(u=2),14<l&&(u=1),28<l&&(u=0),e=0;e<l+1;e++){for(n=u,100<(c=this.toFixed(i*e))&&(c=100),r=((this.coords.big[e]=c)-i*(e-1))/(n+1),t=1;t<=n&&0!==c;t++)d+='<span class="irs-grid-pol small" style="left: '+this.toFixed(c-r*t)+'%"></span>';d+='<span class="irs-grid-pol" style="left: '+c+'%"></span>',s=this.convertToValue(c),d+='<span class="irs-grid-text js-grid-text-'+e+'" style="left: '+c+'%">'+(s=o.values.length?o.p_values[s]:this._prettify(s))+"</span>"}this.coords.big_num=Math.ceil(l+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(d),this.cacheGridLabels()}},cacheGridLabels:function(){for(var e,t=this.coords.big_num,i=0;i<t;i++)e=this.$cache.grid.find(".js-grid-text-"+i),this.$cache.grid_labels.push(e);this.calcGridLabels()},calcGridLabels:function(){for(var e,t=[],i=[],n=this.coords.big_num,r=0;r<n;r++)this.coords.big_w[r]=this.$cache.grid_labels[r].outerWidth(!1),this.coords.big_p[r]=this.toFixed(this.coords.big_w[r]/this.coords.w_rs*100),this.coords.big_x[r]=this.toFixed(this.coords.big_p[r]/2),t[r]=this.toFixed(this.coords.big[r]-this.coords.big_x[r]),i[r]=this.toFixed(t[r]+this.coords.big_p[r]);for(this.options.force_edges&&(t[0]<-this.coords.grid_gap&&(t[0]=-this.coords.grid_gap,i[0]=this.toFixed(t[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),i[n-1]>100+this.coords.grid_gap&&(i[n-1]=100+this.coords.grid_gap,t[n-1]=this.toFixed(i[n-1]-this.coords.big_p[n-1]),this.coords.big_x[n-1]=this.toFixed(this.coords.big_p[n-1]-this.coords.grid_gap))),this.calcGridCollision(2,t,i),this.calcGridCollision(4,t,i),r=0;r<n;r++)e=this.$cache.grid_labels[r][0],this.coords.big_x[r]!==Number.POSITIVE_INFINITY&&(e.style.marginLeft=-this.coords.big_x[r]+"%")},calcGridCollision:function(e,t,i){for(var n,r,s=this.coords.big_num,o=0;o<s&&!(s<=(n=o+e/2));o+=e)r=this.$cache.grid_labels[n][0],i[o]<=t[n]?r.style.visibility="visible":r.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(e){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=o.extend(this.options,e),this.validate(),this.updateResult(e),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),o.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},o.fn.ionRangeSlider=function(e){return this.each(function(){o.data(this,"ionRangeSlider")||o.data(this,"ionRangeSlider",new t(this,e,n++))})};for(var s=0,u=["ms","moz","webkit","o"],d=0;d<u.length&&!l.requestAnimationFrame;++d)l.requestAnimationFrame=l[u[d]+"RequestAnimationFrame"],l.cancelAnimationFrame=l[u[d]+"CancelAnimationFrame"]||l[u[d]+"CancelRequestAnimationFrame"];l.requestAnimationFrame||(l.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-s)),r=l.setTimeout(function(){e(i+n)},n);return s=i+n,r}),l.cancelAnimationFrame||(l.cancelAnimationFrame=function(e){clearTimeout(e)})},"undefined"!=typeof jQuery&&jQuery||!i("./node_modules/webpack/buildin/amd-options.js")?"undefined"!=typeof jQuery&&jQuery||"object"!=typeof t?n(jQuery,document,window,navigator):n(i("./node_modules/jquery/src/jquery.js"),document,window,navigator):(i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(e){return n(e,document,window,navigator)}.apply(t,i))&&(e.exports=t))},
vendor: 139 bytes, line 1
1"./node_modules/isarray/index.js":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},
vendor: 7,427 bytes, line 1
1"./node_modules/jquery-mask-plugin/dist/jquery.mask.js":function(e,t,i){var n;window.jQuery,window.Zepto,i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t="function"==typeof(n=function(a){"use strict";var l=function(h,x,w){var k={invalid:[],getCaret:function(){try{var e,t=0,i=h.get(0),n=document.selection,r=i.selectionStart;if(n&&navigator.appVersion.indexOf("MSIE 10")===-1){e=n.createRange();e.moveStart("character",-k.val().length);t=e.text.length}else if(r||r==="0")t=r;return t}catch(e){}},setCaret:function(e){try{if(h.is(":focus")){var t,i=h.get(0);if(i.setSelectionRange)i.setSelectionRange(e,e);else{t=i.createTextRange();t.collapse(true);t.moveEnd("character",e);t.moveStart("character",e);t.select()}}}catch(e){}},events:function(){h.on("keydown.mask",function(e){h.data("mask-keycode",e.keyCode||e.which);h.data("mask-previus-value",h.val());h.data("mask-previus-caret-pos",k.getCaret());k.maskDigitPosMapOld=k.maskDigitPosMap}).on(a.jMaskGlobals.useInput?"input.mask":"keyup.mask",k.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){h.keydown().keyup()},100)}).on("change.mask",function(){h.data("changed",true)}).on("blur.mask",function(){if(s!==k.val()&&!h.data("changed"))h.trigger("change");h.data("changed",false)}).on("blur.mask",function(){s=k.val()}).on("focus.mask",function(e){if(w.selectOnFocus===true)a(e.target).select()}).on("focusout.mask",function(){if(w.clearIfNotMatch&&!o.test(k.val()))k.val("")})},getRegexMask:function(){var e=[],t,i,n,r,s,o;for(var a=0;a<x.length;a++){t=S.translation[x.charAt(a)];if(t){i=t.pattern.toString().replace(/.{1}$|^.{1}/g,"");n=t.optional;r=t.recursive;if(r){e.push(x.charAt(a));s={digit:x.charAt(a),pattern:i}}else e.push(!n&&!r?i:i+"?")}else e.push(x.charAt(a).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))}o=e.join("");if(s)o=o.replace(new RegExp("("+s.digit+"(.*"+s.digit+")?)"),"($1)?").replace(new RegExp(s.digit,"g"),s.pattern);return new RegExp(o)},destroyEvents:function(){h.off(["input","keydown","keyup","paste","drop","blur","focusout",""].join(".mask "))},val:function(e){var t=h.is("input"),i=t?"val":"text",n;if(arguments.length>0){if(h[i]()!==e)h[i](e);n=h}else n=h[i]();return n},calculateCaretPosition:function(e){var t=k.getMasked(),i=k.getCaret();if(e!==t){var n=h.data("mask-previus-caret-pos")||0,r=t.length,s=e.length,o=0,a=0,l=0,c=0,u=0;for(u=i;u<r;u++){if(!k.maskDigitPosMap[u])break;a++}for(u=i-1;u>=0;u--){if(!k.maskDigitPosMap[u])break;o++}for(u=i-1;u>=0;u--)if(k.maskDigitPosMap[u])l++;for(u=n-1;u>=0;u--)if(k.maskDigitPosMapOld[u])c++;if(i>s)i=r*10;else if(n>=i&&n!==s){if(!k.maskDigitPosMapOld[i]){var d=i;i-=c-l;i-=o;if(k.maskDigitPosMap[i])i=d}}else if(i>n){i+=l-c;i+=a}}return i},behaviour:function(e){e=e||window.event;k.invalid=[];var t=h.data("mask-keycode");if(a.inArray(t,S.byPassKeys)===-1){var i=k.getMasked(),n=k.getCaret(),r=h.data("mask-previus-value")||"";setTimeout(function(){k.setCaret(k.calculateCaretPosition(r))},a.jMaskGlobals.keyStrokeCompensation);k.val(i);k.setCaret(n);return k.callbacks(e)}},getMasked:function(e,t){var i=[],n=t===undefined?k.val():t+"",r=0,s=x.length,o=0,a=n.length,l=1,c="push",u=-1,d=0,h=[],f,p;if(w.reverse){c="unshift";l=-1;f=0;r=s-1;o=a-1;p=function(){return r>-1&&o>-1}}else{f=s-1;p=function(){return r<s&&o<a}}var m;while(p()){var g=x.charAt(r),v=n.charAt(o),y=S.translation[g];if(y){if(v.match(y.pattern)){i[c](v);if(y.recursive){if(u===-1)u=r;else if(r===f&&r!==u)r=u-l;if(f===u)r-=l}r+=l}else if(v===m){d--;m=undefined}else if(y.optional){r+=l;o-=l}else if(y.fallback){i[c](y.fallback);r+=l;o-=l}else k.invalid.push({p:o,v:v,e:y.pattern});o+=l}else{if(!e)i[c](g);if(v===g){h.push(o);o+=l}else{m=g;h.push(o+d);d++}r+=l}}var b=x.charAt(f);if(s===a+1&&!S.translation[b])i.push(b);var _=i.join("");k.mapMaskdigitPositions(_,h,a);return _},mapMaskdigitPositions:function(e,t,i){var n=w.reverse?e.length-i:0;k.maskDigitPosMap={};for(var r=0;r<t.length;r++)k.maskDigitPosMap[t[r]+n]=1},callbacks:function(e){var t=k.val(),i=t!==s,n=[t,e,h,w],r=function(e,t,i){if(typeof w[e]==="function"&&t)w[e].apply(this,i)};r("onChange",i===true,n);r("onKeyPress",i===true,n);r("onComplete",t.length===x.length,n);r("onInvalid",k.invalid.length>0,[t,e,h,k.invalid,w])}};h=a(h);var S=this,s=k.val(),o;x=typeof x==="function"?x(k.val(),undefined,h,w):x;S.mask=x;S.options=w;S.remove=function(){var e=k.getCaret();if(S.options.placeholder)h.removeAttr("placeholder");if(h.data("mask-maxlength"))h.removeAttr("maxlength");k.destroyEvents();k.val(S.getCleanVal());k.setCaret(e);return h};S.getCleanVal=function(){return k.getMasked(true)};S.getMaskedVal=function(e){return k.getMasked(false,e)};S.init=function(e){e=e||false;w=w||{};S.clearIfNotMatch=a.jMaskGlobals.clearIfNotMatch;S.byPassKeys=a.jMaskGlobals.byPassKeys;S.translation=a.extend({},a.jMaskGlobals.translation,w.translation);S=a.extend(true,{},S,w);o=k.getRegexMask();if(e){k.events();k.val(k.getMasked())}else{if(w.placeholder)h.attr("placeholder",w.placeholder);if(h.data("mask"))h.attr("autocomplete","off");for(var t=0,i=true;t<x.length;t++){var n=S.translation[x.charAt(t)];if(n&&n.recursive){i=false;break}}if(i)h.attr("maxlength",x.length).data("mask-maxlength",true);k.destroyEvents();k.events();var r=k.getCaret();k.val(k.getMasked());k.setCaret(r)}};S.init(!h.is("input"))},i=(a.maskWatchers={},function(){var e=a(this),t={},i="data-mask-",n=e.attr("data-mask");if(e.attr(i+"reverse"))t.reverse=true;if(e.attr(i+"clearifnotmatch"))t.clearIfNotMatch=true;if(e.attr(i+"selectonfocus")==="true")t.selectOnFocus=true;if(c(e,n,t))return e.data("mask",new l(this,n,t))}),c=function(e,t,i){i=i||{};var n=a(e).data("mask"),r=JSON.stringify,s=a(e).val()||a(e).text();try{if(typeof t==="function")t=t(s);return typeof n!=="object"||r(n.options)!==r(i)||n.mask!==t}catch(e){}},e=function(e){var t=document.createElement("div"),i;e="on"+e;i=e in t;if(!i){t.setAttribute(e,"return;");i=typeof t[e]==="function"}t=null;return i},t=(a.fn.mask=function(e,t){t=t||{};var i=this.selector,n=a.jMaskGlobals,r=n.watchInterval,s=t.watchInputs||n.watchInputs,o=function(){if(c(this,e,t))return a(this).data("mask",new l(this,e,t))};a(this).each(o);if(i&&i!==""&&s){clearInterval(a.maskWatchers[i]);a.maskWatchers[i]=setInterval(function(){a(document).find(i).each(o)},r)}return this},a.fn.masked=function(e){return this.data("mask").getMaskedVal(e)},a.fn.unmask=function(){clearInterval(a.maskWatchers[this.selector]);delete a.maskWatchers[this.selector];return this.each(function(){var e=a(this).data("mask");if(e)e.remove().removeData("mask")})},a.fn.cleanVal=function(){return this.data("mask").getCleanVal()},a.applyDataMask=function(e){e=e||a.jMaskGlobals.maskElements;var t=e instanceof a?e:a(e);t.filter(a.jMaskGlobals.dataMaskAttr).each(i)},{maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:true,watchInterval:300,watchInputs:true,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&e("input"),watchDataMask:false,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:true},"#":{pattern:/\d/,recursive:true},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}});if(a.jMaskGlobals=a.jMaskGlobals||{},(t=a.jMaskGlobals=a.extend(true,{},t,a.jMaskGlobals)).dataMask)a.applyDataMask();setInterval(function(){if(a.jMaskGlobals.watchDataMask)a.applyDataMask()},t.watchInterval)})?n.apply(t,i):n)&&(e.exports=t)},
vendor: 10,154 bytes, line 1
1"./node_modules/jquery.repeater/jquery.repeater.js":function(e,t){!function(v){"use strict";function y(e){return e}function a(e){return!b(e)&&e instanceof Object}function n(e,i,n){return k(e,function(e,t){return e[i].apply(e,n||[])})}var l,r,s,o,c,b=function(e){return v.isArray(e)},u=function(e,t){return v.inArray(t,e)},_=function(e,t){for(var i in e)e.hasOwnProperty(i)&&t(e[i],i,e)},x=function(e){return e[e.length-1]},w=function(e){return Array.prototype.slice.call(e)},d=function(e,n){var r=[];return _(e,function(e,t,i){r.push(n(e,t,i))}),r},h=function(e,n,r){var s={};return _(e,function(e,t,i){t=r?r(t,e):t,s[t]=n(e,t,i)}),s},k=function(e,t,i){return b(e)?d(e,t):h(e,t,i)};function f(e){var t={};return(e=s(e,t)).getType=function(){return"button"},e.$().on("change",function(e){t.publishChange(e,this)}),e}function p(e){var t={},i=s(e,t);return i.getType=function(){return"checkbox"},i.get=function(){var e=[];return i.$().filter(":checked").each(function(){e.push(l(this).val())}),e},i.set=function(e){e=b(e)?e:[e],i.$().each(function(){l(this).prop("checked",!1)}),_(e,function(e){i.$().filter('[value="'+e+'"]').prop("checked",!0)})},t.equalTo=o,i.$().change(function(e){t.publishChange(e,this)}),i}function m(e){return(e=c(e,{})).getType=function(){return"email"},e}function g(e){var t={},i=r(e,t);return i.getType=function(){return"file"},i.get=function(){return x(i.$().val().split("\\"))},i.clear=function(){this.$().each(function(){l(this).wrap("<form>").closest("form").get(0).reset(),l(this).unwrap()})},i.$().change(function(e){t.publishChange(e,this)}),i}function S(e){var t={};return(e=s(e,t)).getType=function(){return"hidden"},e.$().change(function(e){t.publishChange(e,this)}),e}function M(e){var t={},n=r(e,t);return n.getType=function(){return"file[multiple]"},n.get=function(){for(var e=n.$().get(0).files||[],t=[],i=0;i<(e.length||0);i+=1)t.push(e[i].name);return t},n.clear=function(){this.$().each(function(){l(this).wrap("<form>").closest("form").get(0).reset(),l(this).unwrap()})},n.$().change(function(e){t.publishChange(e,this)}),n}function C(e){var t={},i=s(e,t);return i.getType=function(){return"select[multiple]"},i.get=function(){return i.$().val()||[]},i.set=function(e){i.$().val(""===e?[]:b(e)?e:[e])},t.equalTo=o,i.$().change(function(e){t.publishChange(e,this)}),i}function L(e){return(e=c(e,{})).getType=function(){return"password"},e}function T(e){var t={},i=s(e,t);return i.getType=function(){return"radio"},i.get=function(){return i.$().filter(":checked").val()||null},i.set=function(e){e?i.$().filter('[value="'+e+'"]').prop("checked",!0):i.$().each(function(){l(this).prop("checked",!1)})},i.$().change(function(e){t.publishChange(e,this)}),i}function D(e){var t={};return(e=s(e,t)).getType=function(){return"range"},e.$().change(function(e){t.publishChange(e,this)}),e}function E(e){var t={};return(e=s(e,t)).getType=function(){return"select"},e.$().change(function(e){t.publishChange(e,this)}),e}function A(e){var t={};return(e=s(e,t)).getType=function(){return"textarea"},e.$().on("change keyup keydown",function(e){t.publishChange(e,this)}),e}function j(e){return(e=c(e,{})).getType=function(){return"url"},e}function O(e){function t(t,e){(a(e)?e:s.find(e)).each(function(){var e=l(this).attr("name");r[e]=o[t]({$:l(this)})})}function i(t,e){var i=[],n=a(e)?e:s.find(e);a(e)?r[n.attr("name")]=o[t]({$:n}):(n.each(function(){-1===u(i,l(this).attr("name"))&&i.push(l(this).attr("name"))}),_(i,function(e){r[e]=o[t]({$:s.find('input[name="'+e+'"]')})}))}var r={},s=e.$,o=e.constructorOverride||{button:f,text:c,url:j,email:m,password:L,range:D,textarea:A,select:E,"select[multiple]":C,radio:T,checkbox:p,file:g,"file[multiple]":M,hidden:S};return s.is("input, select, textarea")?s.is('input[type="button"], button, input[type="submit"]')?t("button",s):s.is("textarea")?t("textarea",s):s.is('input[type="text"]')||s.is("input")&&!s.attr("type")?t("text",s):s.is('input[type="password"]')?t("password",s):s.is('input[type="email"]')?t("email",s):s.is('input[type="url"]')?t("url",s):s.is('input[type="range"]')?t("range",s):s.is("select")?s.is("[multiple]")?t("select[multiple]",s):t("select",s):s.is('input[type="file"]')?s.is("[multiple]")?t("file[multiple]",s):t("file",s):s.is('input[type="hidden"]')?t("hidden",s):s.is('input[type="radio"]')?i("radio",s):s.is('input[type="checkbox"]')?i("checkbox",s):t("text",s):(t("button",'input[type="button"], button, input[type="submit"]'),t("text",'input[type="text"]'),t("password",'input[type="password"]'),t("email",'input[type="email"]'),t("url",'input[type="url"]'),t("range",'input[type="range"]'),t("textarea","textarea"),t("select","select:not([multiple])"),t("select[multiple]","select[multiple]"),t("file",'input[type="file"]:not([multiple])'),t("file[multiple]",'input[type="file"][multiple]'),t("hidden",'input[type="hidden"]'),i("radio",'input[type="radio"]'),i("checkbox",'input[type="checkbox"]')),r}l=jQuery,r=function(e,n){r={},(t=t||{}).publish=function(e,t){_(r[e],function(e){e(t)})},t.subscribe=function(e,t){r[e]=r[e]||[],r[e].push(t)},t.unsubscribe=function(i){_(r,function(e){var t=u(e,i);-1!==t&&e.splice(t,1)})};var t,r,s,o=t,i=e.$;return o.getType=function(){throw'implement me (return type. "text", "radio", etc.)'},o.$=function(e){return e?i.find(e):i},o.disable=function(){o.$().prop("disabled",!0),o.publish("isEnabled",!1)},o.enable=function(){o.$().prop("disabled",!1),o.publish("isEnabled",!0)},n.equalTo=function(e,t){return e===t},n.publishChange=function(e,t){var i=o.get();n.equalTo(i,s)||o.publish("change",{e:e,domElement:t}),s=i},o},s=function(e,t){var i=r(e,t);return i.get=function(){return i.$().val()},i.set=function(e){i.$().val(e)},i.clear=function(){i.set("")},t.buildSetter=function(t){return function(e){t.call(i,e)}},i},o=function(e,t){e=b(e)?e:[e],t=b(t)?t:[t];var i=!0;return e.length!==t.length?i=!1:_(e,function(e){-1===u(t,e)&&(i=!1)}),i},c=function(e){var t={},e=s(e,t);return e.getType=function(){return"text"},e.$().on("change keyup keydown",function(e){t.publishChange(e,this)}),e},l.fn.inputVal=function(e){var t=l(this),i=O({$:t});return t.is("input, textarea, select")?void 0===e?i[t.attr("name")].get():(i[t.attr("name")].set(e),t):void 0===e?n(i,"get"):(_(e,function(e,t){i[t].set(e)}),t)},l.fn.inputOnChange=function(t){var e=l(this),i=O({$:e});return _(i,function(e){e.subscribe("change",function(e){t.call(e.domElement,e.e)})}),e},l.fn.inputDisable=function(){var e=l(this);return n(O({$:e}),"disable"),e},l.fn.inputEnable=function(){var e=l(this);return n(O({$:e}),"enable"),e},l.fn.inputClear=function(){var e=l(this);return n(O({$:e}),"clear"),e},v.fn.repeaterVal=function(){var e,n,r=function(e){if(1===e.length&&(0===e[0].key.length||1===e[0].key.length&&!e[0].key[0]))return e[0].val;_(e,function(e){e.head=e.key.shift()});t={},_(e,function(e){t[e.head]||(t[e.head]=[]),t[e.head].push(e)});var t,i,n=t;return/^[0-9]+$/.test(e[0].head)?(i=[],_(n,function(e){i.push(r(e))})):(i={},_(n,function(e,t){i[t]=r(e)})),i};return r((e=v(this).inputVal(),n=[],_(e,function(e,t){var i=[];"undefined"!==t&&(i.push(t.match(/^[^\[]*/)[0]),i=i.concat(k(t.match(/\[[^\]]*\]/g),function(e){return e.replace(/[\[\]]/g,"")})),n.push({val:e,key:i}))}),n))},v.fn.repeater=function(m){var g;return m=m||{},v(this).each(function(){function i(){var e=o.data("repeater-list");return m.$parent?m.$parent.data("item-name")+"["+e+"]":e}var e=v(this),n=m.show||function(){v(this).show()},t=m.hide||function(e){e()},o=e.find("[data-repeater-list]").first(),a=function(e,i){return e.filter(function(){return!i||0===v(this).closest((t="selector",k(i,function(e){return e[t]}).join(","))).length;var t})},r=function(){return a(o.find("[data-repeater-item]"),m.repeaters)},s=o.find("[data-repeater-item]").first().clone().hide(),l=a(a(v(this).find("[data-repeater-item]"),m.repeaters).first().find("[data-repeater-delete]"),m.repeaters),c=(m.isFirstItemUndeletable&&l&&l.remove(),function(e){m.repeaters&&e.each(function(){var t=v(this);_(m.repeaters,function(e){t.find(e.selector).repeater(function(){var i={};return _(w(arguments),function(e){_(e,function(e,t){i[t]=e})}),i}(e,{$parent:t}))})})}),u=function(e,t,i){e&&_(e,function(e){i.call(t.find(e.selector)[0],e)})},d=function(e,r,s){e.each(function(i){var n=v(this);n.data("item-name",r+"["+i+"]"),a(n.find("[name]"),s).each(function(){var e=v(this),t=e.attr("name").match(/\[[^\]]+\]/g),t=t?x(t).replace(/\[|\]/g,""):e.attr("name"),t=r+"["+i+"]["+t+"]"+(e.is(":checkbox")||e.attr("multiple")?"[]":"");e.attr("name",t),u(s,n,function(e){var t=v(this);d(a(t.find("[data-repeater-item]"),e.repeaters||[]),r+"["+i+"]["+t.find("[data-repeater-list]").first().data("repeater-list")+"]",e.repeaters)})})}),o.find("input[name][checked]").removeAttr("checked").prop("checked",!0)},h=(d(r(),i(),m.repeaters),c(r()),m.initEmpty&&r().remove(),m.ready&&m.ready(function(){d(r(),i(),m.repeaters)}),function(e,t){o.append(e),d(r(),i(),m.repeaters),e.find("[name]").each(function(){v(this).inputClear()}),f(e,t||m.defaultValues,m.repeaters)});function f(e,t,i){var n,r,s,o;(t||m.defaultValues)&&(n={},a(e.find("[name]"),i).each(function(){var e=v(this).attr("name").match(/\[([^\]]*)(\]|\]\[\])$/)[1];n[e]=v(this).attr("name")}),e.inputVal(k((r=t||m.defaultValues,s=function(e,t){return n[t]},b(r)?(o=[],_(r,function(e,t,i){s(e,t,i)&&o.push(e)})):(o={},_(r,function(e,t,i){s(e,t,i)&&(o[t]=e)})),o),y,function(e){return n[e]}))),u(i,e,function(n){var r=v(this);a(r.find("[data-repeater-item]"),n.repeaters).each(function(){var i,e=r.find("[data-repeater-list]").data("repeater-list");t&&t[e]?(i=v(this).clone(),r.find("[data-repeater-item]").remove(),_(t[e],function(e){var t=i.clone();f(t,e,n.repeaters||[]),r.find("[data-repeater-list]").append(t)})):f(v(this),n.defaultValues,n.repeaters||[])})})}var p=function(e){var t=s.clone();h(t,e),m.repeaters&&c(t),n.call(t.get(0))};g=function(e){r().remove(),_(e,p)},a(e.find("[data-repeater-create]"),m.repeaters).click(function(){p()}),o.on("click","[data-repeater-delete]",function(){var e=v(this).closest("[data-repeater-item]").get(0);t.call(e,function(){v(e).remove(),d(r(),i(),m.repeaters)})})}),this.setList=g,this}}(jQuery)},
vendor: 19,522 bytes, line 1
1"./node_modules/jquery/external/sizzle/dist/sizzle.js":function(I,N,H){var i=window;function d(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function F(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function R(){w()}var e,h,_,s,z,f,$,B,x,l,c,w,k,n,S,p,r,o,m,M="sizzle"+ +new Date,g=i.document,C=0,q=0,W=j(),V=j(),U=j(),v=j(),X=function(e,t){return e===t&&(c=!0),0},G={}.hasOwnProperty,t=[],K=t.pop,Z=t.push,L=t.push,J=t.slice,y=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",u="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ee="\\["+a+"*("+u+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+u+"))|)"+a+"*\\]",te=":("+u+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ee+")*)|.*)\\)|)",ie=new RegExp(a+"+","g"),b=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),ne=new RegExp("^"+a+"*,"+a+"*"),re=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),se=new RegExp(a+"|>"),oe=new RegExp(te),ae=new RegExp("^"+u+"$"),T={ID:new RegExp("^#("+u+")"),CLASS:new RegExp("^\\.("+u+")"),TAG:new RegExp("^("+u+"|[*])"),ATTR:new RegExp("^"+ee),PSEUDO:new RegExp("^"+te),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},le=/HTML$/i,ce=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,D=/^[^{]+\{\s*\[native \w/,de=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,he=/[+~]/,E=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig"),fe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pe=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(t=J.call(g.childNodes),g.childNodes),t[g.childNodes.length].nodeType}catch(e){L={apply:t.length?function(e,t){Z.apply(e,J.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function A(t,e,i,n){var r,s,o,a,l,c,u=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&((e?e.ownerDocument||e:g)!==k&&w(e),e=e||k,S)){if(11!==d&&(a=de.exec(t)))if(r=a[1]){if(9===d){if(!(c=e.getElementById(r)))return i;if(c.id===r)return i.push(c),i}else if(u&&(c=u.getElementById(r))&&m(e,c)&&c.id===r)return i.push(c),i}else{if(a[2])return L.apply(i,e.getElementsByTagName(t)),i;if((r=a[3])&&h.getElementsByClassName&&e.getElementsByClassName)return L.apply(i,e.getElementsByClassName(r)),i}if(h.qsa&&!v[t+" "]&&(!p||!p.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,u=e,1===d&&se.test(t)){for((o=e.getAttribute("id"))?o=o.replace(fe,F):e.setAttribute("id",o=M),s=(l=f(t)).length;s--;)l[s]="#"+o+" "+_e(l[s]);c=l.join(","),u=he.test(t)&&ye(e.parentNode)||e}try{return L.apply(i,u.querySelectorAll(c)),i}catch(e){v(t,!0)}finally{o===M&&e.removeAttribute("id")}}}return B(t.replace(b,"$1"),e,i,n)}function j(){var i=[];function n(e,t){return i.push(e+" ")>_.cacheLength&&delete n[i.shift()],n[e+" "]=t}return n}function O(e){return e[M]=!0,e}function P(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function me(e,t){for(var i=e.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=t}function ge(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function ve(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&pe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Y(o){return O(function(s){return s=+s,O(function(e,t){for(var i,n=o([],e.length,s),r=n.length;r--;)e[i=n[r]]&&(e[i]=!(t[i]=e[i]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=A.support={},z=A.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!le.test(t||e&&e.nodeName||"HTML")},w=A.setDocument=function(e){var e=e?e.ownerDocument||e:g;return e!==k&&9===e.nodeType&&e.documentElement&&(n=(k=e).documentElement,S=!z(k),g!==k&&(e=k.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",R,!1):e.attachEvent&&e.attachEvent("onunload",R)),h.attributes=P(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=P(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=D.test(k.getElementsByClassName),h.getById=P(function(e){return n.appendChild(e).id=M,!k.getElementsByName||!k.getElementsByName(M).length}),h.getById?(_.filter.ID=function(e){var t=e.replace(E,d);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&S)return(t=t.getElementById(e))?[t]:[]}):(_.filter.ID=function(e){var t=e.replace(E,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var i,n,r,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(r=t.getElementsByName(e),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),_.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,s=t.getElementsByTagName(e);if("*"!==e)return s;for(;i=s[r++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},r=[],p=[],(h.qsa=D.test(k.querySelectorAll))&&(P(function(e){n.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+a+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+M+"-]").length||p.push("~="),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||p.push(".#.+[+~]")}),P(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+a+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&p.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")})),(h.matchesSelector=D.test(o=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&P(function(e){h.disconnectedMatch=o.call(e,"*"),o.call(e,"[s!='']:x"),r.push("!=",te)}),p=p.length&&new RegExp(p.join("|")),r=r.length&&new RegExp(r.join("|")),e=D.test(n.compareDocumentPosition),m=e||D.test(n.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(i.contains?i.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=e?function(e,t){if(e===t)return c=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===i?e===k||e.ownerDocument===g&&m(g,e)?-1:t===k||t.ownerDocument===g&&m(g,t)?1:l?y(l,e)-y(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,r=e.parentNode,s=t.parentNode,o=[e],a=[t];if(!r||!s)return e===k?-1:t===k?1:r?-1:s?1:l?y(l,e)-y(l,t):0;if(r===s)return ge(e,t);for(i=e;i=i.parentNode;)o.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?ge(o[n],a[n]):o[n]===g?-1:a[n]===g?1:0}),k},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==k&&w(e),h.matchesSelector&&S&&!v[t+" "]&&(!r||!r.test(t))&&(!p||!p.test(t)))try{var i=o.call(e,t);if(i||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){v(t,!0)}return 0<A(t,k,null,[e]).length},A.contains=function(e,t){return(e.ownerDocument||e)!==k&&w(e),m(e,t)},A.attr=function(e,t){(e.ownerDocument||e)!==k&&w(e);var i=_.attrHandle[t.toLowerCase()],i=i&&G.call(_.attrHandle,t.toLowerCase())?i(e,t,!S):void 0;return void 0!==i?i:h.attributes||!S?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},A.escape=function(e){return(e+"").replace(fe,F)},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,i=[],n=0,r=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(X),c){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)e.splice(i[n],1)}return l=null,e},s=A.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=s(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)i+=s(t);return i},(_=A.selectors={cacheLength:50,createPseudo:O,match:T,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(E,d),e[3]=(e[3]||e[4]||e[5]||"").replace(E,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return T.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&oe.test(i)&&(t=f(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(E,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){e=A.attr(e,t);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(ie," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(p,e,t,m,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,i){var n,r,s,o,a,l,c=v!=y?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),h=!i&&!b,f=!1;if(u){if(v){for(;c;){for(o=e;o=o[c];)if(b?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(f=(a=(n=(r=(s=(o=u)[M]||(o[M]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]||[])[0]===C&&n[1])&&n[2],o=a&&u.childNodes[a];o=++a&&o&&o[c]||(f=a=0)||l.pop();)if(1===o.nodeType&&++f&&o===e){r[p]=[C,a,f];break}}else if(!1===(f=h?a=(n=(r=(s=(o=e)[M]||(o[M]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]||[])[0]===C&&n[1]:f))for(;(o=++a&&o&&o[c]||(f=a=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++f||(h&&((r=(s=o[M]||(o[M]={}))[o.uniqueID]||(s[o.uniqueID]={}))[p]=[C,f]),o!==e)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(e,s){var t,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||A.error("unsupported pseudo: "+e);return o[M]?o(s):1<o.length?(t=[e,e,"",s],_.setFilters.hasOwnProperty(e.toLowerCase())?O(function(e,t){for(var i,n=o(e,s),r=n.length;r--;)e[i=y(e,n[r])]=!(t[i]=n[r])}):function(e){return o(e,0,t)}):o}},pseudos:{not:O(function(e){var n=[],r=[],a=$(e.replace(b,"$1"));return a[M]?O(function(e,t,i,n){for(var r,s=a(e,null,n,[]),o=e.length;o--;)(r=s[o])&&(e[o]=!(t[o]=r))}):function(e,t,i){return n[0]=e,a(n,null,i,r),n[0]=null,!r.pop()}}),has:O(function(t){return function(e){return 0<A(t,e).length}}),contains:O(function(t){return t=t.replace(E,d),function(e){return-1<(e.textContent||s(e)).indexOf(t)}}),lang:O(function(i){return ae.test(i||"")||A.error("unsupported lang: "+i),i=i.replace(E,d).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return ue.test(e.nodeName)},input:function(e){return ce.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:Y(function(){return[0]}),last:Y(function(e,t){return[t-1]}),eq:Y(function(e,t,i){return[i<0?i+t:i]}),even:Y(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:Y(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:Y(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:Y(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=function(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}(e);function be(){}function _e(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function xe(o,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,d=q++;return e.first?function(e,t,i){for(;e=e[a];)if(1===e.nodeType||u)return o(e,t,i);return!1}:function(e,t,i){var n,r,s=[C,d];if(i){for(;e=e[a];)if((1===e.nodeType||u)&&o(e,t,i))return!0}else for(;e=e[a];)if(1===e.nodeType||u)if(r=(r=e[M]||(e[M]={}))[e.uniqueID]||(r[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[a]||e;else{if((n=r[c])&&n[0]===C&&n[1]===d)return s[2]=n[2];if((r[c]=s)[2]=o(e,t,i))return!0}return!1}}function we(r){return 1<r.length?function(e,t,i){for(var n=r.length;n--;)if(!r[n](e,t,i))return!1;return!0}:r[0]}function ke(e,t,i,n,r){for(var s,o=[],a=0,l=e.length,c=null!=t;a<l;a++)!(s=e[a])||i&&!i(s,n,r)||(o.push(s),c&&t.push(a));return o}function Se(f,p,m,g,v,e){return g&&!g[M]&&(g=Se(g)),v&&!v[M]&&(v=Se(v,e)),O(function(e,t,i,n){var r,s,o,a=[],l=[],c=t.length,u=e||function(e,t,i){for(var n=0,r=t.length;n<r;n++)A(e,t[n],i);return i}(p||"*",i.nodeType?[i]:i,[]),d=!f||!e&&p?u:ke(u,a,f,i,n),h=m?v||(e?f:c||g)?[]:t:d;if(m&&m(d,h,i,n),g)for(r=ke(h,l),g(r,[],i,n),s=r.length;s--;)(o=r[s])&&(h[l[s]]=!(d[l[s]]=o));if(e){if(v||f){if(v){for(r=[],s=h.length;s--;)(o=h[s])&&r.push(d[s]=o);v(null,h=[],r,n)}for(s=h.length;s--;)(o=h[s])&&-1<(r=v?y(e,o):a[s])&&(e[r]=!(t[r]=o))}}else h=ke(h===t?h.splice(c,h.length):h),v?v(null,t,h,n):L.apply(t,h)})}function Me(g,v){function e(e,t,i,n,r){var s,o,a,l=0,c="0",u=e&&[],d=[],h=x,f=e||b&&_.find.TAG("*",r),p=C+=null==h?1:Math.random()||.1,m=f.length;for(r&&(x=t===k||t||r);c!==m&&null!=(s=f[c]);c++){if(b&&s){for(o=0,t||s.ownerDocument===k||(w(s),i=!S);a=g[o++];)if(a(s,t||k,i)){n.push(s);break}r&&(C=p)}y&&((s=!a&&s)&&l--,e&&u.push(s))}if(l+=c,y&&c!==l){for(o=0;a=v[o++];)a(u,d,t,i);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=K.call(n));d=ke(d)}L.apply(n,d),r&&!e&&0<d.length&&1<l+v.length&&A.uniqueSort(n)}return r&&(C=p,x=h),u}var y=0<v.length,b=0<g.length;return y?O(e):e}be.prototype=_.filters=_.pseudos,_.setFilters=new be,f=A.tokenize=function(e,t){var i,n,r,s,o,a,l,c=V[e+" "];if(c)return t?0:c.slice(0);for(o=e,a=[],l=_.preFilter;o;){for(s in i&&!(n=ne.exec(o))||(n&&(o=o.slice(n[0].length)||o),a.push(r=[])),i=!1,(n=re.exec(o))&&(i=n.shift(),r.push({value:i,type:n[0].replace(b," ")}),o=o.slice(i.length)),_.filter)!(n=T[s].exec(o))||l[s]&&!(n=l[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),o=o.slice(i.length));if(!i)break}return t?o.length:o?A.error(e):V(e,a).slice(0)},$=A.compile=function(e,t){var i,n=[],r=[],s=U[e+" "];if(!s){for(i=(t=t||f(e)).length;i--;)((s=function e(t){for(var n,i,r,s=t.length,o=_.relative[t[0].type],a=o||_.relative[" "],l=o?1:0,c=xe(function(e){return e===n},a,!0),u=xe(function(e){return-1<y(n,e)},a,!0),d=[function(e,t,i){return e=!o&&(i||t!==x)||((n=t).nodeType?c:u)(e,t,i),n=null,e}];l<s;l++)if(i=_.relative[t[l].type])d=[xe(we(d),i)];else{if((i=_.filter[t[l].type].apply(null,t[l].matches))[M]){for(r=++l;r<s&&!_.relative[t[r].type];r++);return Se(1<l&&we(d),1<l&&_e(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(b,"$1"),i,l<r&&e(t.slice(l,r)),r<s&&e(t=t.slice(r)),r<s&&_e(t))}d.push(i)}return we(d)}(t[i]))[M]?n:r).push(s);(s=U(e,Me(r,n))).selector=e}return s},B=A.select=function(e,t,i,n){var r,s,o,a,l,c="function"==typeof e&&e,u=!n&&f(e=c.selector||e);if(i=i||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(o=s[0]).type&&9===t.nodeType&&S&&_.relative[s[1].type]){if(!(t=(_.find.ID(o.matches[0].replace(E,d),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=T.needsContext.test(e)?0:s.length;r--&&(o=s[r],!_.relative[a=o.type]);)if((l=_.find[a])&&(n=l(o.matches[0].replace(E,d),he.test(s[0].type)&&ye(t.parentNode)||t))){if(s.splice(r,1),e=n.length&&_e(s))break;return L.apply(i,n),i}}return(c||$(e,u))(n,t,!S,i,!t||he.test(e)&&ye(t.parentNode)||t),i},h.sortStable=M.split("").sort(X).join("")===M,h.detectDuplicates=!!c,w(),h.sortDetached=P(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),P(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||me("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&P(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||me("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),P(function(e){return null==e.getAttribute("disabled")})||me(Q,function(e,t,i){if(!i)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null});var Ce=i.Sizzle;A.noConflict=function(){return i.Sizzle===A&&(i.Sizzle=Ce),A},void 0!==(u=function(){return A}.call(N,H,N,I))&&(I.exports=u)},
vendor: 6,795 bytes, line 1
1"./node_modules/jquery/src/ajax.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/ajax/var/location.js"),i("./node_modules/jquery/src/ajax/var/nonce.js"),i("./node_modules/jquery/src/ajax/var/rquery.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/ajax/parseXML.js"),i("./node_modules/jquery/src/event/trigger.js"),i("./node_modules/jquery/src/deferred.js"),i("./node_modules/jquery/src/serialize.js")],t=function(x,w,o,k,S,M,C){"use strict";var L=/%20/g,T=/#.*$/,D=/([?&])_=[^&]*/,E=/^(.*?):[ \t]*([^\r\n]*)$/gm,A=/^(?:GET|HEAD)$/,j=/^\/\//,O={},P={},Y="*/".concat("*"),I=w.createElement("a");function e(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,r=e.toLowerCase().match(k)||[];if(o(t))for(;i=r[n++];)"+"===i[0]?(i=i.slice(1)||"*",(s[i]=s[i]||[]).unshift(t)):(s[i]=s[i]||[]).push(t)}}function N(t,n,r,s){var o={},a=t===P;function l(e){var i;return o[e]=!0,x.each(t[e]||[],function(e,t){t=t(n,r,s);return"string"!=typeof t||a||o[t]?a?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!o["*"]&&l("*")}function i(e,t){var i,n,r=x.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n=n||{})[i]=t[i]);return n&&x.extend(!0,e,n),e}return I.href=S.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:S.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(S.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Y,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?i(i(e,x.ajaxSettings),t):i(x.ajaxSettings,e)},ajaxPrefilter:e(O),ajaxTransport:e(P),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,i,d,h,f,n,p=x.ajaxSetup({},t=t||{}),m=p.context||p,g=p.context&&(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),b=p.statusCode||{},r={},s={},o="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(h){if(!i)for(i={};t=E.exec(u);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,r[e]=t),this},overrideMimeType:function(e){return null==h&&(p.mimeType=e),this},statusCode:function(e){if(e)if(h)_.always(e[_.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||o;return l&&l.abort(e),a(0,e),this}};if(v.promise(_),p.url=((e||p.url||S.href)+"").replace(j,S.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(k)||[""],null==p.crossDomain){e=w.createElement("a");try{e.href=p.url,e.href=e.href,p.crossDomain=I.protocol+"//"+I.host!=e.protocol+"//"+e.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),N(O,p,t,_),h)return _;for(n in(f=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!A.test(p.type),c=p.url.replace(T,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(L,"+")):(e=p.url.slice(c.length),p.data&&(p.processData||"string"==typeof p.data)&&(c+=(C.test(c)?"&":"?")+p.data,delete p.data),!1===p.cache&&(c=c.replace(D,"$1"),e=(C.test(c)?"&":"?")+"_="+M+++e),p.url=c+e),p.ifModified&&(x.lastModified[c]&&_.setRequestHeader("If-Modified-Since",x.lastModified[c]),x.etag[c]&&_.setRequestHeader("If-None-Match",x.etag[c])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Y+"; q=0.01":""):p.accepts["*"]),p.headers)_.setRequestHeader(n,p.headers[n]);if(p.beforeSend&&(!1===p.beforeSend.call(m,_,p)||h))return _.abort();if(o="abort",y.add(p.complete),_.done(p.success),_.fail(p.error),l=N(P,p,t,_)){if(_.readyState=1,f&&g.trigger("ajaxSend",[_,p]),h)return _;p.async&&0<p.timeout&&(d=window.setTimeout(function(){_.abort("timeout")},p.timeout));try{h=!1,l.send(r,a)}catch(e){if(h)throw e;a(-1,e)}}else a(-1,"No Transport");function a(e,t,i,n){var r,s,o,a=t;h||(h=!0,d&&window.clearTimeout(d),l=void 0,u=n||"",_.readyState=0<e?4:0,n=200<=e&&e<300||304===e,i&&(o=function(e,t,i){for(var n,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o=o||r}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]}(p,_,i)),o=function(e,t,i,n){var r,s,o,a,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(s=u.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,o,_,n),n?(p.ifModified&&((i=_.getResponseHeader("Last-Modified"))&&(x.lastModified[c]=i),(i=_.getResponseHeader("etag"))&&(x.etag[c]=i)),204===e||"HEAD"===p.type?a="nocontent":304===e?a="notmodified":(a=o.state,r=o.data,n=!(s=o.error))):(s=a,!e&&a||(a="error",e<0&&(e=0))),_.status=e,_.statusText=(t||a)+"",n?v.resolveWith(m,[r,a,_]):v.rejectWith(m,[_,a,s]),_.statusCode(b),b=void 0,f&&g.trigger(n?"ajaxSuccess":"ajaxError",[_,p,n?r:s]),y.fireWith(m,[_,a]),f&&(g.trigger("ajaxComplete",[_,p]),--x.active||x.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,i){return x.get(e,t,i,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,r){x[r]=function(e,t,i,n){return o(t)&&(n=n||i,i=t,t=void 0),x.ajax(x.extend({url:e,type:r,dataType:n,data:t,success:i},x.isPlainObject(e)&&e))}}),x}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,223 bytes, line 1
1"./node_modules/jquery/src/ajax/jsonp.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/ajax/var/nonce.js"),i("./node_modules/jquery/src/ajax/var/rquery.js"),i("./node_modules/jquery/src/ajax.js")],t=function(a,l,t,c){"use strict";var u=[],d=/(=)\?(?=&|$)|\?\?/;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=u.pop()||a.expando+"_"+t++;return this[e]=!0,e}}),a.ajaxPrefilter("json jsonp",function(e,t,i){var n,r,s,o=!1!==e.jsonp&&(d.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&d.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=l(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(d,"$1"+n):!1!==e.jsonp&&(e.url+=(c.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return s||a.error(n+" was not called"),s[0]},e.dataTypes[0]="json",r=window[n],window[n]=function(){s=arguments},i.always(function(){void 0===r?a(window).removeProp(n):window[n]=r,e[n]&&(e.jsonpCallback=t.jsonpCallback,u.push(n)),s&&l(r)&&r(s[0]),s=r=void 0}),"script"})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 897 bytes, line 1
1"./node_modules/jquery/src/ajax/load.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/stripAndCollapse.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/core/parseHTML.js"),i("./node_modules/jquery/src/ajax.js"),i("./node_modules/jquery/src/traversing.js"),i("./node_modules/jquery/src/manipulation.js"),i("./node_modules/jquery/src/selector.js")],t=function(l,c,u){"use strict";l.fn.load=function(e,t,i){var n,r,s,o=this,a=e.indexOf(" ");return-1<a&&(n=c(e.slice(a)),e=e.slice(0,a)),u(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<o.length&&l.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){s=arguments,o.html(n?l("<div>").append(l.parseHTML(e)).find(n):e)}).always(i&&function(e,t){o.each(function(){i.apply(this,s||[e.responseText,t,e])})}),this}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 419 bytes, line 1
1"./node_modules/jquery/src/ajax/parseXML.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js")],t=function(i){"use strict";return i.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new window.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+e),t},i.parseXML}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 984 bytes, line 1
1"./node_modules/jquery/src/ajax/script.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/ajax.js")],t=function(s,o){"use strict";s.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return s.globalEval(e),e}}}),s.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),s.ajaxTransport("script",function(i){var n,r;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=s("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",r=function(e){n.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),o.head.appendChild(n[0])},abort:function(){r&&r()}}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 156 bytes, line 1
1"./node_modules/jquery/src/ajax/var/location.js":function(e,t,i){i=function(){"use strict";return window.location}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 148 bytes, line 1
1"./node_modules/jquery/src/ajax/var/nonce.js":function(e,t,i){i=function(){"use strict";return Date.now()}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 142 bytes, line 1
1"./node_modules/jquery/src/ajax/var/rquery.js":function(e,t,i){i=function(){"use strict";return/\?/}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 1,471 bytes, line 1
1"./node_modules/jquery/src/ajax/xhr.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/support.js"),i("./node_modules/jquery/src/ajax.js")],t=function(e,t){"use strict";e.ajaxSettings.xhr=function(){try{return new window.XMLHttpRequest}catch(e){}};var a={0:200,1223:204},i=e.ajaxSettings.xhr();t.cors=!!i&&"withCredentials"in i,t.ajax=i=!!i,e.ajaxTransport(function(r){var s,o;if(t.cors||i&&!r.crossDomain)return{send:function(e,t){var i,n=r.xhr();if(n.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(i in r.xhrFields)n[i]=r.xhrFields[i];for(i in r.mimeType&&n.overrideMimeType&&n.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);s=function(e){return function(){s&&(s=o=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(a[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=s(),o=n.onerror=n.ontimeout=s("error"),void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&window.setTimeout(function(){s&&o()})},s=s("abort");try{n.send(r.hasContent&&r.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 378 bytes, line 1
1"./node_modules/jquery/src/attributes.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/attributes/attr.js"),i("./node_modules/jquery/src/attributes/prop.js"),i("./node_modules/jquery/src/attributes/classes.js"),i("./node_modules/jquery/src/attributes/val.js")],t=function(e){"use strict";return e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,536 bytes, line 1
1"./node_modules/jquery/src/attributes/attr.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/attributes/support.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/selector.js")],t=function(a,i,n,r,s){"use strict";var o,l=a.expr.attrHandle;a.fn.extend({attr:function(e,t){return i(this,a.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){a.removeAttr(this,e)})}}),a.extend({attr:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?a.prop(e,t,i):(1===s&&a.isXMLDoc(e)||(r=a.attrHooks[t.toLowerCase()]||(a.expr.match.bool.test(t)?o:void 0)),void 0!==i?null===i?void a.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):!(r&&"get"in r&&null!==(n=r.get(e,t)))&&null==(n=a.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){var i;if(!r.radioValue&&"radio"===t&&n(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match(s);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),o={set:function(e,t,i){return!1===t?a.removeAttr(e,i):e.setAttribute(i,i),i}},a.each(a.expr.match.bool.source.match(/\w+/g),function(e,t){var o=l[t]||a.find.attr;l[t]=function(e,t,i){var n,r,s=t.toLowerCase();return i||(r=l[s],l[s]=n,n=null!=o(e,t,i)?s:null,l[s]=r),n}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,916 bytes, line 1
1"./node_modules/jquery/src/attributes/classes.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/stripAndCollapse.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/core/init.js")],t=function(l,c,u,t,a){"use strict";function d(e){return e.getAttribute&&e.getAttribute("class")||""}function h(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(t)||[]}l.fn.extend({addClass:function(t){var e,i,n,r,s,o,a=0;if(u(t))return this.each(function(e){l(this).addClass(t.call(this,e,d(this)))});if((e=h(t)).length)for(;i=this[a++];)if(o=d(i),n=1===i.nodeType&&" "+c(o)+" "){for(s=0;r=e[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o!==(o=c(n))&&i.setAttribute("class",o)}return this},removeClass:function(t){var e,i,n,r,s,o,a=0;if(u(t))return this.each(function(e){l(this).removeClass(t.call(this,e,d(this)))});if(!arguments.length)return this.attr("class","");if((e=h(t)).length)for(;i=this[a++];)if(o=d(i),n=1===i.nodeType&&" "+c(o)+" "){for(s=0;r=e[s++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");o!==(o=c(n))&&i.setAttribute("class",o)}return this},toggleClass:function(r,t){var s=typeof r,o="string"==s||Array.isArray(r);return"boolean"==typeof t&&o?t?this.addClass(r):this.removeClass(r):u(r)?this.each(function(e){l(this).toggleClass(r.call(this,e,d(this),t),t)}):this.each(function(){var e,t,i,n;if(o)for(t=0,i=l(this),n=h(r);e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==r&&"boolean"!=s||((e=d(this))&&a.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==r&&a.get(this,"__className__")||""))})},hasClass:function(e){for(var t,i=0,n=" "+e+" ";t=this[i++];)if(1===t.nodeType&&-1<(" "+c(d(t))+" ").indexOf(n))return!0;return!1}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,382 bytes, line 1
1"./node_modules/jquery/src/attributes/prop.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/attributes/support.js"),i("./node_modules/jquery/src/selector.js")],t=function(o,i,e){"use strict";var n=/^(?:input|select|textarea|button)$/i,r=/^(?:a|area)$/i;o.fn.extend({prop:function(e,t){return i(this,o.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[o.propFix[e]||e]})}}),o.extend({prop:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&o.isXMLDoc(e)||(t=o.propFix[t]||t,r=o.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=o.find.attr(e,"tabindex");return t?parseInt(t,10):n.test(e.nodeName)||r.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),e.optSelected||(o.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 489 bytes, line 1
1"./node_modules/jquery/src/attributes/support.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/support.js")],t=function(e,t){"use strict";var i,n;return i=e.createElement("input"),n=e.createElement("select").appendChild(e.createElement("option")),i.type="checkbox",t.checkOn=""!==i.value,t.optSelected=n.selected,(i=e.createElement("input")).value="t",i.type="radio",t.radioValue="t"===i.value,t}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,821 bytes, line 1
1"./node_modules/jquery/src/attributes/val.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/stripAndCollapse.js"),i("./node_modules/jquery/src/attributes/support.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/core/init.js")],t=function(l,i,e,c,s){"use strict";var o=/\r/g;l.fn.extend({val:function(t){var i,e,n,r=this[0];return arguments.length?(n=s(t),this.each(function(e){1===this.nodeType&&(null==(e=n?t.call(this,e,l(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=l.map(e,function(e){return null==e?"":e+""})),(i=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):r?(i=l.valHooks[r.type]||l.valHooks[r.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(o,""):null==e?"":e:void 0}}),l.extend({valHooks:{option:{get:function(e){var t=l.find.attr(e,"value");return null!=t?t:i(l.text(e))}},select:{get:function(e){for(var t,i=e.options,n=e.selectedIndex,r="select-one"===e.type,s=r?null:[],o=r?n+1:i.length,a=n<0?o:r?n:0;a<o;a++)if(((t=i[a]).selected||a===n)&&!t.disabled&&(!t.parentNode.disabled||!c(t.parentNode,"optgroup"))){if(t=l(t).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var i,n,r=e.options,s=l.makeArray(t),o=r.length;o--;)((n=r[o]).selected=-1<l.inArray(l.valHooks.option.get(n),s))&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<l.inArray(l(e).val(),t)}},e.checkOn||(l.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,419 bytes, line 1
1"./node_modules/jquery/src/callbacks.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/toType.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js")],t=function(h,f,p,m){"use strict";return h.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},h.each(e.match(m)||[],function(e,t){i[t]=!0}),i):h.extend({},n);function r(){for(a=a||n.once,o=s=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&n.stopOnFalse&&(u=l.length,t=!1);n.memory||(t=!1),s=!1,a&&(l=t?[]:"")}var s,t,o,a,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!s&&(u=l.length-1,c.push(t)),function i(e){h.each(e,function(e,t){p(t)?n.unique&&d.has(t)||l.push(t):t&&t.length&&"string"!==f(t)&&i(t)})}(arguments),t&&!s&&r()),this},remove:function(){return h.each(arguments,function(e,t){for(var i;-1<(i=h.inArray(t,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(e){return e?-1<h.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||s||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),s||r()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},h}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 3,712 bytes, line 1
1"./node_modules/jquery/src/core.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/arr.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/getProto.js"),i("./node_modules/jquery/src/var/slice.js"),i("./node_modules/jquery/src/var/concat.js"),i("./node_modules/jquery/src/var/push.js"),i("./node_modules/jquery/src/var/indexOf.js"),i("./node_modules/jquery/src/var/class2type.js"),i("./node_modules/jquery/src/var/toString.js"),i("./node_modules/jquery/src/var/hasOwn.js"),i("./node_modules/jquery/src/var/fnToString.js"),i("./node_modules/jquery/src/var/ObjectFunctionString.js"),i("./node_modules/jquery/src/var/support.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/isWindow.js"),i("./node_modules/jquery/src/core/DOMEval.js"),i("./node_modules/jquery/src/core/toType.js")],t=function(e,t,i,n,a,r,s,o,l,c,u,d,h,f,p,m,g){"use strict";function v(e,t){return new v.fn.init(e,t)}var y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function b(e){var t=!!e&&"length"in e&&e.length,i=g(e);return!f(e)&&!p(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}return v.fn=v.prototype={jquery:"3.4.1",constructor:v,length:0,toArray:function(){return n.call(this)},get:function(e){return null==e?n.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=v.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return v.each(this,e)},map:function(i){return this.pushStack(v.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(n.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:r,sort:e.sort,splice:e.splice},v.extend=v.fn.extend=function(){var e,t,i,n,r,s=arguments[0]||{},o=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[o]||{},o++),"object"==typeof s||f(s)||(s={}),o===a&&(s=this,o--);o<a;o++)if(null!=(e=arguments[o]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(l&&i&&(v.isPlainObject(i)||(n=Array.isArray(i)))?(r=s[t],r=n&&!Array.isArray(r)?[]:n||v.isPlainObject(r)?r:{},n=!1,s[t]=v.extend(l,r,i)):void 0!==i&&(s[t]=i));return s},v.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==l.call(e))&&(!(e=i(e))||"function"==typeof(e=c.call(e,"constructor")&&e.constructor)&&u.call(e)===d)},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t){m(e,{nonce:t&&t.nonce})},each:function(e,t){var i,n=0;if(b(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(y,"")},makeArray:function(e,t){t=t||[];return null!=e&&(b(Object(e))?v.merge(t,"string"==typeof e?[e]:e):r.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,s=e.length,o=!i;r<s;r++)!t(e[r],r)!=o&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,o=[];if(b(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&o.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&o.push(r);return a.apply([],o)},guid:1,support:h}),"function"==typeof Symbol&&(v.fn[Symbol.iterator]=e[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){o["[object "+t+"]"]=t.toLowerCase()}),v}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 426 bytes, line 1
1"./node_modules/jquery/src/core/DOMEval.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js")],t=function(o){"use strict";var a={type:!0,src:!0,nonce:!0,noModule:!0};return function(e,t,i){var n,r,s=(i=i||o).createElement("script");if(s.text=e,t)for(n in a)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 588 bytes, line 1
1"./node_modules/jquery/src/core/access.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/toType.js"),i("./node_modules/jquery/src/var/isFunction.js")],t=function(u,d,h){"use strict";function f(e,t,i,n,r,s,o){var a=0,l=e.length,c=null==i;if("object"===d(i))for(a in r=!0,i)f(e,t,a,i[a],!0,s,o);else if(void 0!==n&&(r=!0,h(n)||(o=!0),t=c?o?(t.call(e,n),null):(c=t,function(e,t,i){return c.call(u(e),i)}):t))for(;a<l;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return r?e:c?t.call(e):l?t(e[0],i):s}return f}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 254 bytes, line 1
1"./node_modules/jquery/src/core/camelCase.js":function(e,t,i){t=function(){"use strict";var t=/^-ms-/,i=/-([a-z])/g;function n(e,t){return t.toUpperCase()}return function(e){return e.replace(t,"ms-").replace(i,n)}}.apply(t,[]);void 0!==t&&(e.exports=t)},
vendor: 1,055 bytes, line 1
1"./node_modules/jquery/src/core/init.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/core/var/rsingleTag.js"),i("./node_modules/jquery/src/traversing/findFilter.js")],t=function(r,s,o,a){"use strict";var l,c=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,e=r.fn.init=function(e,t,i){if(!e)return this;if(i=i||l,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):o(e)?void 0!==i.ready?i.ready(e):e(r):r.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:c.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof r?t[0]:t,r.merge(this,r.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:s,!0)),a.test(n[1])&&r.isPlainObject(t))for(var n in t)o(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=s.getElementById(n[2]))&&(this[0]=i,this.length=1),this};return e.prototype=r.fn,l=r(s),e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 454 bytes, line 1
1"./node_modules/jquery/src/core/isAttached.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/documentElement.js"),i("./node_modules/jquery/src/selector.js")],t=function(t,e){"use strict";var i=function(e){return t.contains(e.ownerDocument,e)},n={composed:!0};return i=e.getRootNode?function(e){return t.contains(e.ownerDocument,e)||e.getRootNode(n)===e.ownerDocument}:i}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 213 bytes, line 1
1"./node_modules/jquery/src/core/nodeName.js":function(e,t,i){i=function(){"use strict";return function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 763 bytes, line 1
1"./node_modules/jquery/src/core/parseHTML.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/core/var/rsingleTag.js"),i("./node_modules/jquery/src/manipulation/buildFragment.js"),i("./node_modules/jquery/src/core/support.js")],t=function(r,s,o,a,l){"use strict";return r.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(l.createHTMLDocument?((n=(t=s.implementation.createHTMLDocument("")).createElement("base")).href=s.location.href,t.head.appendChild(n)):t=s),n=!i&&[],(i=o.exec(e))?[t.createElement(i[1])]:(i=a([e],t,n),n&&n.length&&r(n).remove(),r.merge([],i.childNodes)));var n},r.parseHTML}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 873 bytes, line 1
1"./node_modules/jquery/src/core/ready.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/core/readyException.js"),i("./node_modules/jquery/src/deferred.js")],t=function(t,i){"use strict";var n=t.Deferred();function e(){i.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),t.ready()}t.fn.ready=function(e){return n.then(e).catch(function(e){t.readyException(e)}),this},t.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--t.readyWait:t.isReady)||(t.isReady=!0)!==e&&0<--t.readyWait||n.resolveWith(i,[t])}}),t.ready.then=n.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?window.setTimeout(t.ready):(i.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 245 bytes, line 1
1"./node_modules/jquery/src/core/readyException.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js")],t=function(e){"use strict";e.readyException=function(e){window.setTimeout(function(){throw e})}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 244 bytes, line 1
1"./node_modules/jquery/src/core/stripAndCollapse.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/rnothtmlwhite.js")],t=function(t){"use strict";return function(e){return(e.match(t)||[]).join(" ")}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 369 bytes, line 1
1"./node_modules/jquery/src/core/support.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/support.js")],t=function(e,t){"use strict";return t.createHTMLDocument=((e=e.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),t}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 340 bytes, line 1
1"./node_modules/jquery/src/core/toType.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/class2type.js"),i("./node_modules/jquery/src/var/toString.js")],t=function(t,i){"use strict";return function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?t[i.call(e)]||"object":typeof e}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 207 bytes, line 1
1"./node_modules/jquery/src/core/var/rsingleTag.js":function(e,t,i){i=function(){"use strict";return/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 4,451 bytes, line 1
1"./node_modules/jquery/src/css.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/core/camelCase.js"),i("./node_modules/jquery/src/var/rcssNum.js"),i("./node_modules/jquery/src/css/var/rnumnonpx.js"),i("./node_modules/jquery/src/css/var/cssExpand.js"),i("./node_modules/jquery/src/css/var/getStyles.js"),i("./node_modules/jquery/src/css/var/swap.js"),i("./node_modules/jquery/src/css/curCSS.js"),i("./node_modules/jquery/src/css/adjustCSS.js"),i("./node_modules/jquery/src/css/addGetHookIf.js"),i("./node_modules/jquery/src/css/support.js"),i("./node_modules/jquery/src/css/finalPropName.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/core/ready.js"),i("./node_modules/jquery/src/selector.js")],t=function(u,i,d,h,l,c,f,n,p,m,e,g,v){"use strict";var r=/^(none|table(?!-c[ea]).+)/,y=/^--/,s={position:"absolute",visibility:"hidden",display:"block"},o={letterSpacing:"0",fontWeight:"400"};function a(e,t,i){var n=h.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function b(e,t,i,n,r,s){var o="width"===t?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=u.css(e,i+c[o],!0,r)),n?("content"===i&&(l-=u.css(e,"padding"+c[o],!0,r)),"margin"!==i&&(l-=u.css(e,"border"+c[o]+"Width",!0,r))):(l+=u.css(e,"padding"+c[o],!0,r),"padding"!==i?l+=u.css(e,"border"+c[o]+"Width",!0,r):a+=u.css(e,"border"+c[o]+"Width",!0,r));return!n&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l}function _(e,t,i){var n=f(e),r=(!g.boxSizingReliable()||i)&&"border-box"===u.css(e,"boxSizing",!1,n),s=r,o=p(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(l.test(o)){if(!i)return o;o="auto"}return(!g.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===u.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===u.css(e,"boxSizing",!1,n),(s=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+b(e,t,i||(r?"border":"content"),s,n,o)+"px"}return u.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=p(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=d(t),l=y.test(t),c=e.style;if(l||(t=v(a)),o=u.cssHooks[t]||u.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(e,!1,n))?r:c[t];"string"===(s=typeof i)&&(r=h.exec(i))&&r[1]&&(i=m(e,t,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(u.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var r,s=d(t);return y.test(t)||(t=v(s)),"normal"===(r=void 0===(r=(s=u.cssHooks[t]||u.cssHooks[s])&&"get"in s?s.get(e,!0,i):r)?p(e,t,n):r)&&t in o&&(r=o[t]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),u.each(["height","width"],function(e,o){u.cssHooks[o]={get:function(e,t,i){if(t)return!r.test(u.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?_(e,o,i):n(e,s,function(){return _(e,o,i)})},set:function(e,t,i){var n=f(e),r=!g.scrollboxSize()&&"absolute"===n.position,s=(r||i)&&"border-box"===u.css(e,"boxSizing",!1,n),i=i?b(e,o,i,s,n):0;return s&&r&&(i-=Math.ceil(e["offset"+o[0].toUpperCase()+o.slice(1)]-parseFloat(n[o])-b(e,o,"border",!1,n)-.5)),i&&(s=h.exec(t))&&"px"!==(s[3]||"px")&&(e.style[o]=t,t=u.css(e,o)),a(0,t,i)}}}),u.cssHooks.marginLeft=e(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(p(e,"marginLeft"))||e.getBoundingClientRect().left-n(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),u.each({margin:"",padding:"",border:"Width"},function(r,s){u.cssHooks[r+s]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[r+c[t]+s]=n[t]||n[t-2]||n[0];return i}},"margin"!==r&&(u.cssHooks[r+s].set=a)}),u.fn.extend({css:function(e,t){return i(this,function(e,t,i){var n,r,s={},o=0;if(Array.isArray(t)){for(n=f(e),r=t.length;o<r;o++)s[t[o]]=u.css(e,t[o],!1,n);return s}return void 0!==i?u.style(e,t,i):u.css(e,t)},e,t,1<arguments.length)}}),u}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 243 bytes, line 1
1"./node_modules/jquery/src/css/addGetHookIf.js":function(e,t,i){i=function(){"use strict";return function(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 649 bytes, line 1
1"./node_modules/jquery/src/css/adjustCSS.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/rcssNum.js")],t=function(d,h){"use strict";return function(e,t,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return d.css(e,t,"")},l=a(),c=i&&i[3]||(d.cssNumber[t]?"":"px"),u=e.nodeType&&(d.cssNumber[t]||"px"!==c&&+l)&&h.exec(d.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;o--;)d.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),u/=s;d.style(e,t,(u*=2)+c),i=i||[]}return i&&(u=+u||+l||0,r=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=u,n.end=r)),r}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 730 bytes, line 1
1"./node_modules/jquery/src/css/curCSS.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/isAttached.js"),i("./node_modules/jquery/src/css/var/rboxStyle.js"),i("./node_modules/jquery/src/css/var/rnumnonpx.js"),i("./node_modules/jquery/src/css/var/getStyles.js"),i("./node_modules/jquery/src/css/support.js")],t=function(o,a,l,c,u,d){"use strict";return function(e,t,i){var n,r,s=e.style;return(i=i||u(e))&&(""!==(r=i.getPropertyValue(t)||i[t])||a(e)||(r=o.style(e,t)),!d.pixelBoxStyles()&&c.test(r)&&l.test(t)&&(e=s.width,t=s.minWidth,n=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=i.width,s.width=e,s.minWidth=t,s.maxWidth=n)),void 0!==r?r+"":r}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 461 bytes, line 1
1"./node_modules/jquery/src/css/finalPropName.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/core.js")],t=function(e,i){"use strict";var n=["Webkit","Moz","ms"],r=e.createElement("div").style,s={};return function(e){var t=i.cssProps[e]||s[e];return t||(e in r?e:s[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=n.length;i--;)if((e=n[i]+t)in r)return e}(e)||e)}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 397 bytes, line 1
1"./node_modules/jquery/src/css/hiddenVisibleSelectors.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/selector.js")],t=function(t){"use strict";t.expr.pseudos.hidden=function(e){return!t.expr.pseudos.visible(e)},t.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,015 bytes, line 1
1"./node_modules/jquery/src/css/showHide.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/css/var/isHiddenWithinTree.js")],t=function(u,d,h){"use strict";var f={};function e(e,t){for(var i,n,r,s,o,a=[],l=0,c=e.length;l<c;l++)(n=e[l]).style&&(i=n.style.display,t?("none"===i&&(a[l]=d.get(n,"display")||null,a[l]||(n.style.display="")),""===n.style.display&&h(n)&&(a[l]=(o=s=void 0,s=(r=n).ownerDocument,r=r.nodeName,(o=f[r])||(s=s.body.appendChild(s.createElement(r)),o=u.css(s,"display"),s.parentNode.removeChild(s),f[r]=o="none"===o?"block":o)))):"none"!==i&&(a[l]="none",d.set(n,"display",i)));for(l=0;l<c;l++)null!=a[l]&&(e[l].style.display=a[l]);return e}return u.fn.extend({show:function(){return e(this,!0)},hide:function(){return e(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){h(this)?u(this).show():u(this).hide()})}}),e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,301 bytes, line 1
1"./node_modules/jquery/src/css/support.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/documentElement.js"),i("./node_modules/jquery/src/var/support.js")],t=function(e,t,i,n){"use strict";function r(){var e;h&&(d.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",h.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",i.appendChild(d).appendChild(h),e=window.getComputedStyle(h),o="1%"!==e.top,u=12===s(e.marginLeft),h.style.right="60%",c=36===s(e.right),a=36===s(e.width),h.style.position="absolute",l=12===s(h.offsetWidth/3),i.removeChild(d),h=null)}function s(e){return Math.round(parseFloat(e))}var o,a,l,c,u,d,h;return d=t.createElement("div"),(h=t.createElement("div")).style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",n.clearCloneStyle="content-box"===h.style.backgroundClip,e.extend(n,{boxSizingReliable:function(){return r(),a},pixelBoxStyles:function(){return r(),c},pixelPosition:function(){return r(),o},reliableMarginLeft:function(){return r(),u},scrollboxSize:function(){return r(),l}})),n}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 171 bytes, line 1
1"./node_modules/jquery/src/css/var/cssExpand.js":function(e,t,i){i=function(){"use strict";return["Top","Right","Bottom","Left"]}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 238 bytes, line 1
1"./node_modules/jquery/src/css/var/getStyles.js":function(e,t,i){i=function(){"use strict";return function(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:window).getComputedStyle(e)}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 352 bytes, line 1
1"./node_modules/jquery/src/css/var/isHiddenWithinTree.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/isAttached.js")],t=function(i,n){"use strict";return function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&n(e)&&"none"===i.css(e,"display")}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 222 bytes, line 1
1"./node_modules/jquery/src/css/var/rboxStyle.js":function(e,t,i){i=[i("./node_modules/jquery/src/css/var/cssExpand.js")],t=function(e){"use strict";return new RegExp(e.join("|"),"i")}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 226 bytes, line 1
1"./node_modules/jquery/src/css/var/rnumnonpx.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/pnum.js")],t=function(e){"use strict";return new RegExp("^("+e+")(?!px)[a-z%]+$","i")}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 263 bytes, line 1
1"./node_modules/jquery/src/css/var/swap.js":function(e,t,i){i=function(){"use strict";return function(e,t,i,n){var r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in i=i.apply(e,n||[]),t)e.style[r]=s[r];return i}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 1,541 bytes, line 1
1"./node_modules/jquery/src/data.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/core/camelCase.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/data/var/dataUser.js")],t=function(e,a,l,c,u){"use strict";var s=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,o=/[A-Z]/g;function d(e,t,i){var n,r;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(o,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:s.test(r)?JSON.parse(r):r)}catch(e){}u.set(e,t,i)}else i=void 0;return i}return e.extend({hasData:function(e){return u.hasData(e)||c.hasData(e)},data:function(e,t,i){return u.access(e,t,i)},removeData:function(e,t){u.remove(e,t)},_data:function(e,t,i){return c.access(e,t,i)},_removeData:function(e,t){c.remove(e,t)}}),e.fn.extend({data:function(i,e){var t,n,r,s=this[0],o=s&&s.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){u.set(this,i)}):a(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=u.get(s,i))||void 0!==(t=d(s,i))?t:void 0;this.each(function(){u.set(this,i,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=u.get(s),1===s.nodeType&&!c.get(s,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(n=o[t].name).indexOf("data-")&&(n=l(n.slice(5)),d(s,n,r[n]));c.set(s,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){u.remove(this,e)})}}),e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,233 bytes, line 1
1"./node_modules/jquery/src/data/Data.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/camelCase.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/data/var/acceptData.js")],t=function(r,s,o,i){"use strict";function e(){this.expando=r.expando+e.uid++}return e.uid=1,e.prototype={cache:function(e){var t=e[this.expando];return t||(t={},i(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[s(t)]=i;else for(n in t)r[s(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][s(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(s):(t=s(t))in n?[t]:t.match(o)||[]).length;for(;i--;)delete n[t[i]]}void 0!==t&&!r.isEmptyObject(n)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!r.isEmptyObject(e)}},e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 207 bytes, line 1
1"./node_modules/jquery/src/data/var/acceptData.js":function(e,t,i){i=function(){"use strict";return function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 192 bytes, line 1
1"./node_modules/jquery/src/data/var/dataPriv.js":function(e,t,i){i=[i("./node_modules/jquery/src/data/Data.js")],t=function(e){"use strict";return new e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 192 bytes, line 1
1"./node_modules/jquery/src/data/var/dataUser.js":function(e,t,i){i=[i("./node_modules/jquery/src/data/Data.js")],t=function(e){"use strict";return new e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 2,780 bytes, line 1
1"./node_modules/jquery/src/deferred.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/slice.js"),i("./node_modules/jquery/src/callbacks.js")],t=function(u,d,a){"use strict";function h(e){return e}function f(e){throw e}function l(e,t,i,n){var r;try{e&&d(r=e.promise)?r.call(e).done(t).fail(i):e&&d(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}return u.extend({Deferred:function(e){var s=[["notify","progress",u.Callbacks("memory"),u.Callbacks("memory"),2],["resolve","done",u.Callbacks("once memory"),u.Callbacks("once memory"),0,"resolved"],["reject","fail",u.Callbacks("once memory"),u.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var r=arguments;return u.Deferred(function(n){u.each(s,function(e,t){var i=d(r[t[4]])&&r[t[4]];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&d(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),r=null}).promise()},then:function(t,i,n){var l=0;function c(r,s,o,a){return function(){function e(){var e,t;if(!(r<l)){if((e=o.apply(i,n))===s.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,d(t)?a?t.call(e,c(l,s,h,a),c(l,s,f,a)):(l++,t.call(e,c(l,s,h,a),c(l,s,f,a),c(l,s,h,s.notifyWith))):(o!==h&&(i=void 0,n=[e]),(a||s.resolveWith)(i,n))}}var i=this,n=arguments,t=a?e:function(){try{e()}catch(e){u.Deferred.exceptionHook&&u.Deferred.exceptionHook(e,t.stackTrace),l<=r+1&&(o!==f&&(i=void 0,n=[e]),s.rejectWith(i,n))}};r?t():(u.Deferred.getStackHook&&(t.stackTrace=u.Deferred.getStackHook()),window.setTimeout(t))}}return u.Deferred(function(e){s[0][3].add(c(0,e,d(n)?n:h,e.notifyWith)),s[1][3].add(c(0,e,d(t)?t:h)),s[2][3].add(c(0,e,d(i)?i:f))}).promise()},promise:function(e){return null!=e?u.extend(e,o):o}},a={};return u.each(s,function(e,t){var i=t[2],n=t[5];o[t[1]]=i.add,n&&i.add(function(){r=n},s[3-e][2].disable,s[3-e][3].disable,s[0][2].lock,s[0][3].lock),i.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=i.fireWith}),o.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){r[t]=this,s[t]=1<arguments.length?a.call(arguments):e,--i||o.resolveWith(r,s)}}var i=arguments.length,n=i,r=Array(n),s=a.call(arguments),o=u.Deferred();if(i<=1&&(l(e,o.done(t(n)).resolve,o.reject,!i),"pending"===o.state()||d(s[n]&&s[n].then)))return o.then();for(;n--;)l(s[n],t(n),o.reject);return o.promise()}}),u}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 452 bytes, line 1
1"./node_modules/jquery/src/deferred/exceptionHook.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/deferred.js")],t=function(e){"use strict";var i=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;e.Deferred.exceptionHook=function(e,t){window.console&&window.console.warn&&e&&i.test(e.name)&&window.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,251 bytes, line 1
1"./node_modules/jquery/src/deprecated.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/core/camelCase.js"),i("./node_modules/jquery/src/core/toType.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/isWindow.js"),i("./node_modules/jquery/src/var/slice.js"),i("./node_modules/jquery/src/event/alias.js")],t=function(r,e,t,i,s,n,o){"use strict";r.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),r.proxy=function(e,t){var i,n;if("string"==typeof t&&(n=e[t],t=e,e=n),s(e))return i=o.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(o.call(arguments)))}).guid=e.guid=e.guid||r.guid++,n},r.holdReady=function(e){e?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=e,r.isFunction=s,r.isWindow=n,r.camelCase=t,r.type=i,r.now=Date.now,r.isNumeric=function(e){var t=r.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 852 bytes, line 1
1"./node_modules/jquery/src/dimensions.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/var/isWindow.js"),i("./node_modules/jquery/src/css.js")],t=function(l,c,u){"use strict";return l.each({Height:"height",Width:"width"},function(o,a){l.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,s){l.fn[s]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),r=n||(!0===e||!0===t?"margin":"border");return c(this,function(e,t,i){var n;return u(e)?0===s.indexOf("outer")?e["inner"+o]:e.document.documentElement["client"+o]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+o],n["scroll"+o],e.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?l.css(e,t,r):l.style(e,t,i,r)},a,i?e:void 0,i)}})}),l}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 7,063 bytes, line 1
1"./node_modules/jquery/src/effects.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/camelCase.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/rcssNum.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/css/var/cssExpand.js"),i("./node_modules/jquery/src/css/var/isHiddenWithinTree.js"),i("./node_modules/jquery/src/css/var/swap.js"),i("./node_modules/jquery/src/css/adjustCSS.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/css/showHide.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/queue.js"),i("./node_modules/jquery/src/deferred.js"),i("./node_modules/jquery/src/traversing.js"),i("./node_modules/jquery/src/manipulation.js"),i("./node_modules/jquery/src/css.js"),i("./node_modules/jquery/src/effects/Tween.js")],t=function(y,b,e,_,n,s,o,g,t,r,v,x){"use strict";var w,i,k=/^(?:toggle|show|hide)$/,a=/queueHooks$/;function l(){i&&(!1===e.hidden&&window.requestAnimationFrame?window.requestAnimationFrame(l):window.setTimeout(l,y.fx.interval),y.fx.tick())}function S(){return window.setTimeout(function(){w=void 0}),w=Date.now()}function c(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=o[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function M(e,t,i){for(var n,r=(C.tweeners[t]||[]).concat(C.tweeners["*"]),s=0,o=r.length;s<o;s++)if(n=r[s].call(i,t,e))return n}function C(r,e,t){var i,s,n,o,a,l,c,u=0,d=C.prefilters.length,h=y.Deferred().always(function(){delete f.elem}),f=function(){if(s)return!1;for(var e=w||S(),e=Math.max(0,p.startTime+p.duration-e),t=1-(e/p.duration||0),i=0,n=p.tweens.length;i<n;i++)p.tweens[i].run(t);return h.notifyWith(r,[p,t,e]),t<1&&n?e:(n||h.notifyWith(r,[p,1,0]),h.resolveWith(r,[p]),!1)},p=h.promise({elem:r,props:y.extend({},e),opts:y.extend(!0,{specialEasing:{},easing:y.easing._default},t),originalProperties:e,originalOptions:t,startTime:w||S(),duration:t.duration,tweens:[],createTween:function(e,t){t=y.Tween(r,p.opts,e,t,p.opts.specialEasing[e]||p.opts.easing);return p.tweens.push(t),t},stop:function(e){var t=0,i=e?p.tweens.length:0;if(s)return this;for(s=!0;t<i;t++)p.tweens[t].run(1);return e?(h.notifyWith(r,[p,1,0]),h.resolveWith(r,[p,e])):h.rejectWith(r,[p,e]),this}}),m=p.props,g=m,v=p.opts.specialEasing;for(n in g)if(a=v[o=b(n)],l=g[n],Array.isArray(l)&&(a=l[1],l=g[n]=l[0]),n!==o&&(g[o]=l,delete g[n]),(c=y.cssHooks[o])&&"expand"in c)for(n in l=c.expand(l),delete g[o],l)n in g||(g[n]=l[n],v[n]=a);else v[o]=a;for(;u<d;u++)if(i=C.prefilters[u].call(p,r,m,p.opts))return _(i.stop)&&(y._queueHooks(p.elem,p.opts.queue).stop=i.stop.bind(i)),i;return y.map(m,M,p),_(p.opts.start)&&p.opts.start.call(r,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),y.fx.timer(y.extend(f,{elem:r,anim:p,queue:p.opts.queue})),p}return y.Animation=y.extend(C,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return r(i.elem,e,n.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,r=(e=_(e)?(t=e,["*"]):e.match(s)).length;n<r;n++)i=e[n],C.tweeners[i]=C.tweeners[i]||[],C.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,r,s,o,a,l,c,u="width"in t||"height"in t,d=this,h={},f=e.style,p=e.nodeType&&g(e),m=v.get(e,"fxshow");for(n in i.queue||(null==(o=y._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,d.always(function(){d.always(function(){o.unqueued--,y.queue(e,"fx").length||o.empty.fire()})})),t)if(r=t[n],k.test(r)){if(delete t[n],s=s||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;p=!0}h[n]=m&&m[n]||y.style(e,n)}if((l=!y.isEmptyObject(t))||!y.isEmptyObject(h))for(n in u&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=v.get(e,"display")),"none"===(u=y.css(e,"display"))&&(c?u=c:(x([e],!0),c=e.style.display||c,u=y.css(e,"display"),x([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===y.css(e,"float")&&(l||(d.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(p=m.hidden):m=v.access(e,"fxshow",{display:c}),s&&(m.hidden=!p),p&&x([e],!0),d.done(function(){for(n in p||x([e]),v.remove(e,"fxshow"),h)y.style(e,n,h[n])})),l=M(p?m[n]:0,n,d),n in m||(m[n]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?C.prefilters.unshift(e):C.prefilters.push(e)}}),y.speed=function(e,t,i){var n=e&&"object"==typeof e?y.extend({},e):{complete:i||!i&&t||_(e)&&e,duration:e,easing:i&&t||t&&!_(t)&&t};return y.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in y.fx.speeds?n.duration=y.fx.speeds[n.duration]:n.duration=y.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){_(n.old)&&n.old.call(this),n.queue&&y.dequeue(this,n.queue)},n},y.fn.extend({fadeTo:function(e,t,i,n){return this.filter(g).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function r(){var e=C(this,y.extend({},t),o);(s||v.get(this,"finish"))&&e.stop(!0)}var s=y.isEmptyObject(t),o=y.speed(e,i,n);return r.finish=r,s||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(r,e,s){function o(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof r&&(s=e,e=r,r=void 0),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",i=y.timers,n=v.get(this);if(t)n[t]&&n[t].stop&&o(n[t]);else for(t in n)n[t]&&n[t].stop&&a.test(t)&&o(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=r&&i[t].queue!==r||(i[t].anim.stop(s),e=!1,i.splice(t,1));!e&&s||y.dequeue(this,r)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=v.get(this),i=t[o+"queue"],n=t[o+"queueHooks"],r=y.timers,s=i?i.length:0;for(t.finish=!0,y.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===o&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),y.each(["toggle","show","hide"],function(e,n){var r=y.fn[n];y.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(c(n,!0),e,t,i)}}),y.each({slideDown:c("show"),slideUp:c("hide"),slideToggle:c("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){y.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),y.timers=[],y.fx.tick=function(){var e,t=0,i=y.timers;for(w=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||y.fx.stop(),w=void 0},y.fx.timer=function(e){y.timers.push(e),y.fx.start()},y.fx.interval=13,y.fx.start=function(){i||(i=!0,l())},y.fx.stop=function(){i=null},y.fx.speeds={slow:600,fast:200,_default:400},y}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,619 bytes, line 1
1"./node_modules/jquery/src/effects/Tween.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/css/finalPropName.js"),i("./node_modules/jquery/src/css.js")],t=function(o,t){"use strict";function s(e,t,i,n,r){return new s.prototype.init(e,t,i,n,r)}((o.Tween=s).prototype={constructor:s,init:function(e,t,i,n,r,s){this.elem=e,this.prop=i,this.easing=r||o.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(o.cssNumber[i]?"":"px")},cur:function(){var e=s.propHooks[this.prop];return(e&&e.get?e:s.propHooks._default).get(this)},run:function(e){var t,i=s.propHooks[this.prop];return this.options.duration?this.pos=t=o.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:s.propHooks._default).set(this),this}}).init.prototype=s.prototype,(s.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=o.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){o.fx.step[e.prop]?o.fx.step[e.prop](e):1!==e.elem.nodeType||!o.cssHooks[e.prop]&&null==e.elem.style[t(e.prop)]?e.elem[e.prop]=e.now:o.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=s.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},o.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},o.fx=s.prototype.init,o.fx.step={}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 365 bytes, line 1
1"./node_modules/jquery/src/effects/animatedSelector.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/selector.js"),i("./node_modules/jquery/src/effects.js")],t=function(e){"use strict";e.expr.pseudos.animated=function(t){return e.grep(e.timers,function(e){return t===e.elem}).length}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 8,234 bytes, line 1
1"./node_modules/jquery/src/event.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/documentElement.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/rnothtmlwhite.js"),i("./node_modules/jquery/src/var/rcheckableType.js"),i("./node_modules/jquery/src/var/slice.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/selector.js")],t=function(v,i,m,n,y,t,o,b,r){"use strict";var s=/^key/,a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_=/^([^.]*)(?:\.(.+)|)/;function l(){return!0}function c(){return!1}function u(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function d(e,t,i,n,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)d(e,a,i,n,t[a],s);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=c;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return v().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=v.guid++)),e.each(function(){v.event.add(this,t,r,n,i)})}function h(e,r,s){s?(b.set(e,r,!1),v.event.add(e,r,{namespace:!1,handler:function(e){var t,i,n=b.get(this,r);if(1&e.isTrigger&&this[r]){if(n.length)(v.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=o.call(arguments),b.set(this,r,n),t=s(this,r),this[r](),n!==(i=b.get(this,r))||t?b.set(this,r,!1):i={},n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else n.length&&(b.set(this,r,{value:v.event.trigger(v.extend(n[0],v.Event.prototype),n.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===b.get(e,r)&&v.event.add(e,r,l)}return v.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,c,u,d,h,f,p=b.get(t);if(p)for(i.handler&&(i=(s=i).handler,r=s.selector),r&&v.find.matchesSelector(m,r),i.guid||(i.guid=v.guid++),(a=p.events)||(a=p.events={}),(o=p.handle)||(o=p.handle=function(e){return void 0!==v&&v.event.triggered!==e.type?v.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(y)||[""]).length;l--;)d=f=(h=_.exec(e[l])||[])[1],h=(h[2]||"").split(".").sort(),d&&(c=v.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,c=v.event.special[d]||{},f=v.extend({type:d,origType:f,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:h.join(".")},s),(u=a[d])||((u=a[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,h,o)||t.addEventListener&&t.addEventListener(d,o)),c.add&&(c.add.call(t,f),f.handler.guid||(f.handler.guid=i.guid)),r?u.splice(u.delegateCount++,0,f):u.push(f),v.event.global[d]=!0)},remove:function(e,t,i,n,r){var s,o,a,l,c,u,d,h,f,p,m,g=b.hasData(e)&&b.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(y)||[""]).length;c--;)if(f=m=(a=_.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=v.event.special[f]||{},h=l[f=(n?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)u=h[s],!r&&m!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||v.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)v.event.remove(e,f+t[c],i,n,!0);v.isEmptyObject(l)&&b.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,s,o=v.event.fix(e),a=new Array(arguments.length),e=(b.get(this,"events")||{})[o.type]||[],l=v.event.special[o.type]||{};for(a[0]=o,t=1;t<arguments.length;t++)a[t]=arguments[t];if(o.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,o)){for(s=v.event.handlers.call(this,o,e),t=0;(n=s[t++])&&!o.isPropagationStopped();)for(o.currentTarget=n.elem,i=0;(r=n.handlers[i++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!1!==r.namespace&&!o.rnamespace.test(r.namespace)||(o.handleObj=r,o.data=r.data,void 0!==(r=((v.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,a))&&!1===(o.result=r)&&(o.preventDefault(),o.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,o),o.result}},handlers:function(e,t){var i,n,r,s,o,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],o={},i=0;i<l;i++)void 0===o[r=(n=t[i]).selector+" "]&&(o[r]=n.needsContext?-1<v(r,this).index(c):v.find(r,this,null,[c]).length),o[r]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(v.Event.prototype,t,{enumerable:!0,configurable:!0,get:n(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[v.expando]?e:new v.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return t.test(e.type)&&e.click&&r(e,"input")&&h(e,"click",l),!1},trigger:function(e){e=this||e;return t.test(e.type)&&e.click&&r(e,"input")&&h(e,"click"),!0},_default:function(e){e=e.target;return t.test(e.type)&&e.click&&r(e,"input")&&b.get(e,"click")||r(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},v.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},v.Event=function(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?l:c,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=l,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=l,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=l,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},v.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&s.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&a.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},v.event.addProp),v.each({focus:"focusin",blur:"focusout"},function(e,t){v.event.special[e]={setup:function(){return h(this,e,u),!1},trigger:function(){return h(this,e),!0},delegateType:t}}),v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){v.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||v.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=r),t}}}),v.fn.extend({on:function(e,t,i,n){return d(this,e,t,i,n)},one:function(e,t,i,n){return d(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,v(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=c),this.each(function(){v.event.remove(this,e,i,t)});for(r in e)this.off(r,t,e[r]);return this}}),v}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 348 bytes, line 1
1"./node_modules/jquery/src/event/ajax.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/event.js")],t=function(i){"use strict";i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(e){return this.on(t,e)}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 638 bytes, line 1
1"./node_modules/jquery/src/event/alias.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/event.js"),i("./node_modules/jquery/src/event/trigger.js")],t=function(t){"use strict";t.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){t.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),t.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 770 bytes, line 1
1"./node_modules/jquery/src/event/focusin.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/event/support.js"),i("./node_modules/jquery/src/event.js"),i("./node_modules/jquery/src/event/trigger.js")],t=function(t,s,e){"use strict";return e.focusin||t.each({focus:"focusin",blur:"focusout"},function(i,n){function r(e){t.event.simulate(n,e.target,t.event.fix(e))}t.event.special[n]={setup:function(){var e=this.ownerDocument||this,t=s.access(e,n);t||e.addEventListener(i,r,!0),s.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=s.access(e,n)-1;t?s.access(e,n,t):(e.removeEventListener(i,r,!0),s.remove(e,n))}}}),t}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 217 bytes, line 1
1"./node_modules/jquery/src/event/support.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/support.js")],t=function(e){"use strict";return e.focusin="onfocusin"in window,e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 2,247 bytes, line 1
1"./node_modules/jquery/src/event/trigger.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/data/var/acceptData.js"),i("./node_modules/jquery/src/var/hasOwn.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/isWindow.js"),i("./node_modules/jquery/src/event.js")],t=function(m,g,v,y,b,_,x){"use strict";function w(e){e.stopPropagation()}var k=/^(?:focusinfocus|focusoutblur)$/;return m.extend(m.event,{trigger:function(e,t,i,n){var r,s,o,a,l,c,u,d=[i||g],h=b.call(e,"type")?e.type:e,f=b.call(e,"namespace")?e.namespace.split("."):[],p=u=s=i=i||g;if(3!==i.nodeType&&8!==i.nodeType&&!k.test(h+m.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[m.expando]?e:new m.Event(h,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:m.makeArray(t,[e]),c=m.event.special[h]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!x(i)){for(o=c.delegateType||h,k.test(o+h)||(p=p.parentNode);p;p=p.parentNode)d.push(p),s=p;s===(i.ownerDocument||g)&&d.push(s.defaultView||s.parentWindow||window)}for(r=0;(p=d[r++])&&!e.isPropagationStopped();)u=p,e.type=1<r?o:c.bindType||h,(l=(v.get(p,"events")||{})[e.type]&&v.get(p,"handle"))&&l.apply(p,t),(l=a&&p[a])&&l.apply&&y(p)&&(e.result=l.apply(p,t),!1===e.result&&e.preventDefault());return e.type=h,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!y(i)||a&&_(i[h])&&!x(i)&&((s=i[a])&&(i[a]=null),m.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,w),i[h](),e.isPropagationStopped()&&u.removeEventListener(h,w),m.event.triggered=void 0,s&&(i[a]=s)),e.result}},simulate:function(e,t,i){i=m.extend(new m.Event,i,{type:e,isSimulated:!0});m.event.trigger(i,null,t)}}),m.fn.extend({trigger:function(e,t){return this.each(function(){m.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return m.event.trigger(e,t,i,!0)}}),m}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 241 bytes, line 1
1"./node_modules/jquery/src/exports/amd.js":function(t,i,e){var n,r;n=[e("./node_modules/jquery/src/core.js")],void 0!==(r=function(e){"use strict";n=[],void 0!==(r=function(){return e}.apply(i,n))&&(t.exports=r)}.apply(i,n))&&(t.exports=r)},
vendor: 336 bytes, line 1
1"./node_modules/jquery/src/exports/global.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js")],t=function(t,e){"use strict";var i=window.jQuery,n=window.$;t.noConflict=function(e){return window.$===t&&(window.$=n),e&&window.jQuery===t&&(window.jQuery=i),t},e||(window.jQuery=window.$=t)}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,581 bytes, line 1
1"./node_modules/jquery/src/jquery.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/selector.js"),i("./node_modules/jquery/src/traversing.js"),i("./node_modules/jquery/src/callbacks.js"),i("./node_modules/jquery/src/deferred.js"),i("./node_modules/jquery/src/deferred/exceptionHook.js"),i("./node_modules/jquery/src/core/ready.js"),i("./node_modules/jquery/src/data.js"),i("./node_modules/jquery/src/queue.js"),i("./node_modules/jquery/src/queue/delay.js"),i("./node_modules/jquery/src/attributes.js"),i("./node_modules/jquery/src/event.js"),i("./node_modules/jquery/src/event/focusin.js"),i("./node_modules/jquery/src/manipulation.js"),i("./node_modules/jquery/src/manipulation/_evalUrl.js"),i("./node_modules/jquery/src/wrap.js"),i("./node_modules/jquery/src/css.js"),i("./node_modules/jquery/src/css/hiddenVisibleSelectors.js"),i("./node_modules/jquery/src/serialize.js"),i("./node_modules/jquery/src/ajax.js"),i("./node_modules/jquery/src/ajax/xhr.js"),i("./node_modules/jquery/src/ajax/script.js"),i("./node_modules/jquery/src/ajax/jsonp.js"),i("./node_modules/jquery/src/ajax/load.js"),i("./node_modules/jquery/src/event/ajax.js"),i("./node_modules/jquery/src/effects.js"),i("./node_modules/jquery/src/effects/animatedSelector.js"),i("./node_modules/jquery/src/offset.js"),i("./node_modules/jquery/src/dimensions.js"),i("./node_modules/jquery/src/deprecated.js"),i("./node_modules/jquery/src/exports/amd.js"),i("./node_modules/jquery/src/exports/global.js")],t=function(e){"use strict";return e}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 5,724 bytes, line 1
1"./node_modules/jquery/src/manipulation.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/isAttached.js"),i("./node_modules/jquery/src/var/concat.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/var/push.js"),i("./node_modules/jquery/src/var/rcheckableType.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/manipulation/var/rtagName.js"),i("./node_modules/jquery/src/manipulation/var/rscriptType.js"),i("./node_modules/jquery/src/manipulation/wrapMap.js"),i("./node_modules/jquery/src/manipulation/getAll.js"),i("./node_modules/jquery/src/manipulation/setGlobalEval.js"),i("./node_modules/jquery/src/manipulation/buildFragment.js"),i("./node_modules/jquery/src/manipulation/support.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/data/var/dataUser.js"),i("./node_modules/jquery/src/data/var/acceptData.js"),i("./node_modules/jquery/src/core/DOMEval.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/traversing.js"),i("./node_modules/jquery/src/selector.js"),i("./node_modules/jquery/src/event.js")],t=function(m,h,g,v,a,f,t,r,y,s,b,p,_,x,w,l,o,k,i){"use strict";var n=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,c=/<script|<style|<link/i,S=/checked\s*(?:[^=]|=\s*.checked.)/i,M=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function u(e,t){return i(e,"table")&&i(11!==t.nodeType?t:t.firstChild,"tr")&&m(e).children("tbody")[0]||e}function C(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function L(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function T(e,t){var i,n,r,s,o,a;if(1===t.nodeType){if(w.hasData(e)&&(s=w.access(e),o=w.set(t,s),a=s.events))for(r in delete o.handle,o.events={},a)for(i=0,n=a[r].length;i<n;i++)m.event.add(t,r,a[r][i]);l.hasData(e)&&(s=l.access(e),o=m.extend({},s),l.set(t,o))}}function D(i,n,r,s){n=g.apply([],n);var e,t,o,a,l,c,u=0,d=i.length,h=d-1,f=n[0],p=v(f);if(p||1<d&&"string"==typeof f&&!x.checkClone&&S.test(f))return i.each(function(e){var t=i.eq(e);p&&(n[0]=f.call(this,e,t.html())),D(t,n,r,s)});if(d&&(t=(e=_(n,i[0].ownerDocument,!1,i,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(a=(o=m.map(b(e,"script"),C)).length;u<d;u++)l=e,u!==h&&(l=m.clone(l,!0,!0),a&&m.merge(o,b(l,"script"))),r.call(i[u],l,u);if(a)for(c=o[o.length-1].ownerDocument,m.map(o,L),u=0;u<a;u++)l=o[u],y.test(l.type||"")&&!w.access(l,"globalEval")&&m.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?m._evalUrl&&!l.noModule&&m._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):k(l.textContent.replace(M,""),l,c))}return i}function d(e,t,i){for(var n,r=t?m.filter(t,e):e,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||m.cleanData(b(n)),n.parentNode&&(i&&h(n)&&p(b(n,"script")),n.parentNode.removeChild(n));return e}return m.extend({htmlPrefilter:function(e){return e.replace(n,"<$1></$2>")},clone:function(e,t,i){var n,r,s,o,a,l,c,u=e.cloneNode(!0),d=h(e);if(!(x.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||m.isXMLDoc(e)))for(o=b(u),n=0,r=(s=b(e)).length;n<r;n++)a=s[n],l=o[n],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&f.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(i)for(s=s||b(e),o=o||b(u),n=0,r=s.length;n<r;n++)T(s[n],o[n]);else T(e,u);return 0<(o=b(u,"script")).length&&p(o,!d&&b(e,"script")),u},cleanData:function(e){for(var t,i,n,r=m.event.special,s=0;void 0!==(i=e[s]);s++)if(o(i)){if(t=i[w.expando]){if(t.events)for(n in t.events)r[n]?m.event.remove(i,n):m.removeEvent(i,n,t.handle);i[w.expando]=void 0}i[l.expando]&&(i[l.expando]=void 0)}}}),m.fn.extend({detach:function(e){return d(this,e,!0)},remove:function(e){return d(this,e)},text:function(e){return t(this,function(e){return void 0===e?m.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return D(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||u(this,e).appendChild(e)})},prepend:function(){return D(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=u(this,e)).insertBefore(e,t.firstChild)})},before:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(m.cleanData(b(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return m.clone(this,e,t)})},html:function(e){return t(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!c.test(e)&&!s[(r.exec(e)||["",""])[1].toLowerCase()]){e=m.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(m.cleanData(b(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return D(this,arguments,function(e){var t=this.parentNode;m.inArray(this,i)<0&&(m.cleanData(b(this)),t&&t.replaceChild(e,this))},i)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){m.fn[e]=function(e){for(var t,i=[],n=m(e),r=n.length-1,s=0;s<=r;s++)t=s===r?this:this.clone(!0),m(n[s])[o](t),a.apply(i,t.get());return this.pushStack(i)}}),m}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 384 bytes, line 1
1"./node_modules/jquery/src/manipulation/_evalUrl.js":function(e,t,i){i=[i("./node_modules/jquery/src/ajax.js")],t=function(i){"use strict";return i._evalUrl=function(e,t){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){i.globalEval(e,t)}})},i._evalUrl}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,239 bytes, line 1
1"./node_modules/jquery/src/manipulation/buildFragment.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/toType.js"),i("./node_modules/jquery/src/core/isAttached.js"),i("./node_modules/jquery/src/manipulation/var/rtagName.js"),i("./node_modules/jquery/src/manipulation/var/rscriptType.js"),i("./node_modules/jquery/src/manipulation/wrapMap.js"),i("./node_modules/jquery/src/manipulation/getAll.js"),i("./node_modules/jquery/src/manipulation/setGlobalEval.js")],t=function(p,m,g,v,y,b,_,x){"use strict";var w=/<|&#?\w+;/;return function(e,t,i,n,r){for(var s,o,a,l,c,u=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((s=e[h])||0===s)if("object"===m(s))p.merge(d,s.nodeType?[s]:s);else if(w.test(s)){for(o=o||u.appendChild(t.createElement("div")),a=(v.exec(s)||["",""])[1].toLowerCase(),a=b[a]||b._default,o.innerHTML=a[1]+p.htmlPrefilter(s)+a[2],c=a[0];c--;)o=o.lastChild;p.merge(d,o.childNodes),(o=u.firstChild).textContent=""}else d.push(t.createTextNode(s));for(u.textContent="",h=0;s=d[h++];)if(n&&-1<p.inArray(s,n))r&&r.push(s);else if(l=g(s),o=_(u.appendChild(s),"script"),l&&x(o),i)for(c=0;s=o[c++];)y.test(s.type||"")&&i.push(s);return u}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 421 bytes, line 1
1"./node_modules/jquery/src/manipulation/getAll.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/nodeName.js")],t=function(n,r){"use strict";return function(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&r(e,t)?n.merge([e],i):i}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 303 bytes, line 1
1"./node_modules/jquery/src/manipulation/setGlobalEval.js":function(e,t,i){i=[i("./node_modules/jquery/src/data/var/dataPriv.js")],t=function(r){"use strict";return function(e,t){for(var i=0,n=e.length;i<n;i++)r.set(e[i],"globalEval",!t||r.get(t[i],"globalEval"))}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 607 bytes, line 1
1"./node_modules/jquery/src/manipulation/support.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/support.js")],t=function(e,t){"use strict";var i;return i=e.createDocumentFragment().appendChild(e.createElement("div")),(e=e.createElement("input")).setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),i.appendChild(e),t.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,i.innerHTML="<textarea>x</textarea>",t.noCloneChecked=!!i.cloneNode(!0).lastChild.defaultValue,t}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 187 bytes, line 1
1"./node_modules/jquery/src/manipulation/var/rscriptType.js":function(e,t,i){i=function(){"use strict";return/^$|^module$|\/(?:java|ecma)script/i}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 180 bytes, line 1
1"./node_modules/jquery/src/manipulation/var/rtagName.js":function(e,t,i){i=function(){"use strict";return/<([a-z][^\/\0>\x20\t\r\n\f]*)/i}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 477 bytes, line 1
1"./node_modules/jquery/src/manipulation/wrapMap.js":function(e,t,i){i=function(){"use strict";var e={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};return e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,e}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 2,629 bytes, line 1
1"./node_modules/jquery/src/offset.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/access.js"),i("./node_modules/jquery/src/var/document.js"),i("./node_modules/jquery/src/var/documentElement.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/css/var/rnumnonpx.js"),i("./node_modules/jquery/src/css/curCSS.js"),i("./node_modules/jquery/src/css/addGetHookIf.js"),i("./node_modules/jquery/src/css/support.js"),i("./node_modules/jquery/src/var/isWindow.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/css.js"),i("./node_modules/jquery/src/selector.js")],t=function(u,i,e,t,d,n,r,s,o,a){"use strict";return u.offset={setOffset:function(e,t,i){var n,r,s,o,a=u.css(e,"position"),l=u(e),c={};"static"===a&&(e.style.position="relative"),s=l.offset(),n=u.css(e,"top"),o=u.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(n+o).indexOf("auto")?(r=(a=l.position()).top,a.left):(r=parseFloat(n)||0,parseFloat(o)||0),null!=(t=d(t)?t.call(e,i,u.extend({},s)):t).top&&(c.top=t.top-s.top+r),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):l.css(c)}},u.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){u.offset.setOffset(this,t,e)});var e,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===u.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===u.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=u(e).offset()).top+=u.css(e,"borderTopWidth",!0),r.left+=u.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-u.css(n,"marginTop",!0),left:t.left-r.left-u.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===u.css(e,"position");)e=e.offsetParent;return e||t})}}),u.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var s="pageYOffset"===r;u.fn[t]=function(e){return i(this,function(e,t,i){var n;if(a(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[r]:e[t];n?n.scrollTo(s?n.pageXOffset:i,s?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),u.each(["top","left"],function(e,i){u.cssHooks[i]=s(o.pixelPosition,function(e,t){if(t)return t=r(e,i),n.test(t)?u(e).position()[i]+"px":t})}),u}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,504 bytes, line 1
1"./node_modules/jquery/src/queue.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/data/var/dataPriv.js"),i("./node_modules/jquery/src/deferred.js"),i("./node_modules/jquery/src/callbacks.js")],t=function(l,c){"use strict";return l.extend({queue:function(e,t,i){var n;if(e)return n=c.get(e,t=(t||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=c.access(e,t,l.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=l.queue(e,t),n=i.length,r=i.shift(),s=l._queueHooks(e,t);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete s.stop,r.call(e,function(){l.dequeue(e,t)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return c.get(e,i)||c.access(e,i,{empty:l.Callbacks("once memory").add(function(){c.remove(e,[t+"queue",i])})})}}),l.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?l.queue(this[0],t):void 0===i?this:this.each(function(){var e=l.queue(this,t,i);l._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&l.dequeue(this,t)})},dequeue:function(e){return this.each(function(){l.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--r||s.resolveWith(o,[o])}var n,r=1,s=l.Deferred(),o=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=c.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(i));return i(),s.promise(t)}}),l}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 435 bytes, line 1
1"./node_modules/jquery/src/queue/delay.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/queue.js"),i("./node_modules/jquery/src/effects.js")],t=function(t){"use strict";return t.fn.delay=function(n,e){return n=t.fx&&t.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=window.setTimeout(e,n);t.stop=function(){window.clearTimeout(i)}})},t.fn.delay}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 406 bytes, line 1
1"./node_modules/jquery/src/selector-sizzle.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/external/sizzle/dist/sizzle.js")],t=function(e,t){"use strict";e.find=t,e.expr=t.selectors,e.expr[":"]=e.expr.pseudos,e.uniqueSort=e.unique=t.uniqueSort,e.text=t.getText,e.isXMLDoc=t.isXML,e.contains=t.contains,e.escapeSelector=t.escape}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 163 bytes, line 1
1"./node_modules/jquery/src/selector.js":function(e,t,i){i=[i("./node_modules/jquery/src/selector-sizzle.js")],t=function(){}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,614 bytes, line 1
1"./node_modules/jquery/src/serialize.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/core/toType.js"),i("./node_modules/jquery/src/var/rcheckableType.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/traversing.js"),i("./node_modules/jquery/src/attributes/prop.js")],t=function(o,a,t,s){"use strict";var l=/\[\]$/,n=/\r?\n/g,i=/^(?:submit|button|image|reset|file)$/i,r=/^(?:input|select|textarea|keygen)/i;return o.param=function(e,t){function i(e,t){t=s(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var n,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!o.isPlainObject(e))o.each(e,function(){i(this.name,this.value)});else for(n in e)!function i(n,e,r,s){if(Array.isArray(e))o.each(e,function(e,t){r||l.test(n)?s(n,t):i(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,s)});else if(r||"object"!==a(e))s(n,e);else for(var t in e)i(n+"["+t+"]",e[t],r,s)}(n,e[n],t,i);return r.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=o.prop(this,"elements");return e?o.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!o(this).is(":disabled")&&r.test(this.nodeName)&&!i.test(e)&&(this.checked||!t.test(e))}).map(function(e,t){var i=o(this).val();return null==i?null:Array.isArray(i)?o.map(i,function(e){return{name:t.name,value:e.replace(n,"\r\n")}}):{name:t.name,value:i.replace(n,"\r\n")}}).get()}}),o}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 2,448 bytes, line 1
1"./node_modules/jquery/src/traversing.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/indexOf.js"),i("./node_modules/jquery/src/traversing/var/dir.js"),i("./node_modules/jquery/src/traversing/var/siblings.js"),i("./node_modules/jquery/src/traversing/var/rneedsContext.js"),i("./node_modules/jquery/src/core/nodeName.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/traversing/findFilter.js"),i("./node_modules/jquery/src/selector.js")],t=function(a,t,n,i,l,r){"use strict";var s=/^(?:parents|prev(?:Until|All))/,o={children:!0,contents:!0,next:!0,prev:!0};function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}return a.fn.extend({has:function(e){var t=a(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(a.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,r=this.length,s=[],o="string"!=typeof e&&a(e);if(!l.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&a.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(1<s.length?a.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?t.call(a(e),this[0]):t.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(a.uniqueSort(a.merge(this.get(),a(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),a.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return n(e,"parentNode")},parentsUntil:function(e,t,i){return n(e,"parentNode",i)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return n(e,"nextSibling")},prevAll:function(e){return n(e,"previousSibling")},nextUntil:function(e,t,i){return n(e,"nextSibling",i)},prevUntil:function(e,t,i){return n(e,"previousSibling",i)},siblings:function(e){return i((e.parentNode||{}).firstChild,e)},children:function(e){return i(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(r(e,"template")&&(e=e.content||e),a.merge([],e.childNodes))}},function(n,r){a.fn[n]=function(e,t){var i=a.map(this,r,e);return(t="Until"!==n.slice(-5)?e:t)&&"string"==typeof t&&(i=a.filter(t,i)),1<this.length&&(o[n]||a.uniqueSort(i),s.test(n)&&i.reverse()),this.pushStack(i)}}),a}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,257 bytes, line 1
1"./node_modules/jquery/src/traversing/findFilter.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/indexOf.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/traversing/var/rneedsContext.js"),i("./node_modules/jquery/src/selector.js")],t=function(s,t,r,i){"use strict";function n(e,i,n){return r(i)?s.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?s.grep(e,function(e){return e===i!==n}):"string"!=typeof i?s.grep(e,function(e){return-1<t.call(i,e)!==n}):s.filter(i,e,n)}s.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?s.find.matchesSelector(n,e)?[n]:[]:s.find.matches(e,s.grep(t,function(e){return 1===e.nodeType}))},s.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(s(e).filter(function(){for(t=0;t<n;t++)if(s.contains(r[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)s.find(e,r[t],i);return 1<n?s.uniqueSort(i):i},filter:function(e){return this.pushStack(n(this,e||[],!1))},not:function(e){return this.pushStack(n(this,e||[],!0))},is:function(e){return!!n(this,"string"==typeof e&&i.test(e)?s(e):e||[],!1).length}})}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 312 bytes, line 1
1"./node_modules/jquery/src/traversing/var/dir.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js")],t=function(s){"use strict";return function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&s(e).is(i))break;n.push(e)}return n}}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 261 bytes, line 1
1"./node_modules/jquery/src/traversing/var/rneedsContext.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/selector.js")],t=function(e){"use strict";return e.expr.match.needsContext}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 234 bytes, line 1
1"./node_modules/jquery/src/traversing/var/siblings.js":function(e,t,i){i=function(){"use strict";return function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 213 bytes, line 1
1"./node_modules/jquery/src/var/ObjectFunctionString.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/fnToString.js")],t=function(e){"use strict";return e.call(Object)}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 132 bytes, line 1
1"./node_modules/jquery/src/var/arr.js":function(e,t,i){i=function(){"use strict";return[]}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 139 bytes, line 1
1"./node_modules/jquery/src/var/class2type.js":function(e,t,i){i=function(){"use strict";return{}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 186 bytes, line 1
1"./node_modules/jquery/src/var/concat.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/arr.js")],t=function(e){"use strict";return e.concat}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 151 bytes, line 1
1"./node_modules/jquery/src/var/document.js":function(e,t,i){i=function(){"use strict";return window.document}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 209 bytes, line 1
1"./node_modules/jquery/src/var/documentElement.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/document.js")],t=function(e){"use strict";return e.documentElement}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 195 bytes, line 1
1"./node_modules/jquery/src/var/fnToString.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/hasOwn.js")],t=function(e){"use strict";return e.toString}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 157 bytes, line 1
1"./node_modules/jquery/src/var/getProto.js":function(e,t,i){i=function(){"use strict";return Object.getPrototypeOf}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 201 bytes, line 1
1"./node_modules/jquery/src/var/hasOwn.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/class2type.js")],t=function(e){"use strict";return e.hasOwnProperty}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 188 bytes, line 1
1"./node_modules/jquery/src/var/indexOf.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/arr.js")],t=function(e){"use strict";return e.indexOf}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 206 bytes, line 1
1"./node_modules/jquery/src/var/isFunction.js":function(e,t,i){i=function(){"use strict";return function(e){return"function"==typeof e&&"number"!=typeof e.nodeType}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 177 bytes, line 1
1"./node_modules/jquery/src/var/isWindow.js":function(e,t,i){i=function(){"use strict";return function(e){return null!=e&&e===e.window}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 175 bytes, line 1
1"./node_modules/jquery/src/var/pnum.js":function(e,t,i){i=function(){"use strict";return/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 182 bytes, line 1
1"./node_modules/jquery/src/var/push.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/arr.js")],t=function(e){"use strict";return e.push}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 164 bytes, line 1
1"./node_modules/jquery/src/var/rcheckableType.js":function(e,t,i){i=function(){"use strict";return/^(?:checkbox|radio)$/i}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 228 bytes, line 1
1"./node_modules/jquery/src/var/rcssNum.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/pnum.js")],t=function(e){"use strict";return new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i")}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 159 bytes, line 1
1"./node_modules/jquery/src/var/rnothtmlwhite.js":function(e,t,i){i=function(){"use strict";return/[^\x20\t\r\n\f]+/g}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 184 bytes, line 1
1"./node_modules/jquery/src/var/slice.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/arr.js")],t=function(e){"use strict";return e.slice}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 136 bytes, line 1
1"./node_modules/jquery/src/var/support.js":function(e,t,i){i=function(){"use strict";return{}}.call(t,i,t,e);void 0!==i&&(e.exports=i)},
vendor: 197 bytes, line 1
1"./node_modules/jquery/src/var/toString.js":function(e,t,i){i=[i("./node_modules/jquery/src/var/class2type.js")],t=function(e){"use strict";return e.toString}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 1,019 bytes, line 1
1"./node_modules/jquery/src/wrap.js":function(e,t,i){i=[i("./node_modules/jquery/src/core.js"),i("./node_modules/jquery/src/var/isFunction.js"),i("./node_modules/jquery/src/core/init.js"),i("./node_modules/jquery/src/manipulation.js"),i("./node_modules/jquery/src/traversing.js")],t=function(n,r){"use strict";return n.fn.extend({wrapAll:function(e){return this[0]&&(r(e)&&(e=e.call(this[0])),e=n(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return r(i)?this.each(function(e){n(this).wrapInner(i.call(this,e))}):this.each(function(){var e=n(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=r(t);return this.each(function(e){n(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){n(this).replaceWith(this.childNodes)}),this}}),n}.apply(t,i);void 0!==t&&(e.exports=t)},
vendor: 29,135 bytes, line 1
1"./node_modules/markdown/lib/markdown.js":function(e,t,i){function r(){return"Markdown.mk_block( "+uneval(this.toString())+", "+uneval(this.trailing)+", "+uneval(this.lineNumber)+" )"}function s(){var e=i("./node_modules/util/util.js");return"Markdown.mk_block( "+e.inspect(this.toString())+", "+e.inspect(this.trailing)+", "+e.inspect(this.lineNumber)+" )"}function o(e){for(var t=0,i=-1;-1!==(i=e.indexOf("\n",i+1));)t++;return t}function y(e,t,i,n){if(t)e.push(["para"].concat(i));else{var r=e[e.length-1]instanceof Array&&"para"==e[e.length-1][0]?e[e.length-1]:e;n&&1<e.length&&i.unshift(n);for(var s=0;s<i.length;s++){var o=i[s];"string"==typeof o&&1<r.length&&"string"==typeof r[r.length-1]?r[r.length-1]+=o:r.push(o)}}}function b(e,t,i){e=e.list,e=e[e.length-1];e[1]instanceof Array&&"para"==e[1][0]||(t+1==i.length?e.push(["para"].concat(e.splice(1,e.length-1))):(t=e.pop(),e.push(["para"].concat(e.splice(1,e.length-1)),t)))}function n(o,a){var l=o+"_state",c="strong"==o?"em_state":"strong_state";function u(e){this.len_after=e,this.name="close_"+a}return function(e,t){var i,n,r,s;return this[l][0]==a?(this[l].shift(),[e.length,new u(e.length-a.length)]):(i=this[c].slice(),n=this[l].slice(),this[l].unshift(a),s=(r=this.processInline(e.substr(a.length)))[r.length-1],this[l].shift(),s instanceof u?(r.pop(),[e.length-s.len_after,[o].concat(r)]):(this[c]=i,this[l]=n,[a.length,a]))}}function u(e){return f(e)&&1<e.length&&"object"==typeof e[1]&&!f(e[1])?e[1]:void 0}function l(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function c(e){if("string"==typeof e)return l(e);var t=e.shift(),i={},n=[];for(!e.length||"object"!=typeof e[0]||e[0]instanceof Array||(i=e.shift());e.length;)n.push(c(e.shift()));var r,s="";for(r in i)s+=" "+r+'="'+l(i[r])+'"';return"img"==t||"br"==t||"hr"==t?"<"+t+s+"/>":"<"+t+s+">"+n.join("")+"</"+t+">"}var d,h,_,x,w,k,S,f,M,m;h=(d=t).Markdown=function(e){switch(typeof e){case"undefined":this.dialect=h.dialects.Gruber;break;case"object":this.dialect=e;break;default:if(!(e in h.dialects))throw new Error("Unknown Markdown dialect '"+String(e)+"'");this.dialect=h.dialects[e]}this.em_state=[],this.strong_state=[],this.debug_indent=""},d.parse=function(e,t){return new h(t).toTree(e)},d.toHTML=function(e,t,i){e=d.toHTMLTree(e,t,i);return d.renderJsonML(e)},d.toHTMLTree=function(e,t,i){var t=u(e="string"==typeof e?this.parse(e,t):e),n={},e=function e(t,i,n){n=n||{};var r=t.slice(0);"function"==typeof n.preprocessTreeNode&&(r=n.preprocessTreeNode(r,i));var s=u(r);if(s){for(var o in r[1]={},s)r[1][o]=s[o];s=r[1]}if("string"==typeof r)return r;switch(r[0]){case"header":r[0]="h"+r[1].level,delete r[1].level;break;case"bulletlist":r[0]="ul";break;case"numberlist":r[0]="ol";break;case"listitem":r[0]="li";break;case"para":r[0]="p";break;case"markdown":r[0]="html",s&&delete s.references;break;case"code_block":r[0]="pre",o=s?2:1;var a=["code"];a.push.apply(a,r.splice(o,r.length-o)),r[o]=a;break;case"inlinecode":r[0]="code";break;case"img":r[1].src=r[1].href,delete r[1].href;break;case"linebreak":r[0]="br";break;case"link":r[0]="a";break;case"link_ref":if(r[0]="a",!(l=i[s.ref]))return s.original;delete s.ref,s.href=l.href,l.title&&(s.title=l.title),delete s.original;break;case"img_ref":var l;if(r[0]="img",!(l=i[s.ref]))return s.original;delete s.ref,s.src=l.href,l.title&&(s.title=l.title),delete s.original}o=1;if(s){for(var c in r[1]){o=2;break}1===o&&r.splice(o,1)}for(;o<r.length;++o)r[o]=e(r[o],i,n);return r}(e,n=t&&t.references?t.references:n,i);return function e(t){var i=u(t)?2:1;for(;i<t.length;)"string"==typeof t[i]?i+1<t.length&&"string"==typeof t[i+1]?t[i]+=t.splice(i+1,1)[0]:++i:(e(t[i]),++i)}(e),e},S=h.mk_block=function(e,t,i){1==arguments.length&&(t="\n\n");var n=new String(e);return n.trailing=t,n.inspect=s,n.toSource=r,null!=i&&(n.lineNumber=i),n},h.prototype.split_blocks=function(e,t){e=e.replace(/(\r\n|\n|\r)/g,"\n");var i,n=/([\s\S]+?)($|\n#|\n(?:\s*\n|$)+)/g,r=[],s=1;for(null!=(i=/^(\s*\n)/.exec(e))&&(s+=o(i[0]),n.lastIndex=i[0].length);null!==(i=n.exec(e));)"\n#"==i[2]&&(i[2]="\n",n.lastIndex--),r.push(S(i[1],i[2],s)),s+=o(i[0]);return r},h.prototype.processBlock=function(e,t){var i=this.dialect.block,n=i.__order__;if("__call__"in i)return i.__call__.call(this,e,t);for(var r=0;r<n.length;r++){var s=i[n[r]].call(this,e,t);if(s)return(!f(s)||0<s.length&&!f(s[0]))&&this.debug(n[r],"didn't return a proper array"),s}return[]},h.prototype.processInline=function(e){return this.dialect.inline.__call__.call(this,String(e))},h.prototype.toTree=function(e,t){var i=e instanceof Array?e:this.split_blocks(e),e=this.tree;try{for(this.tree=t||this.tree||["markdown"];i.length;){var n=this.processBlock(i.shift(),i);n.length&&this.tree.push.apply(this.tree,n)}return this.tree}finally{t&&(this.tree=e)}},h.prototype.debug=function(){var e=Array.prototype.slice.call(arguments);e.unshift(this.debug_indent),"undefined"!=typeof print&&print.apply(print,e),"undefined"!=typeof console&&void 0!==console.log&&console.log.apply(null,e)},h.prototype.loop_re_over_block=function(e,t,i){for(var n,r=t.valueOf();r.length&&null!=(n=e.exec(r));)r=r.substr(n[0].length),i.call(this,n);return r},h.dialects={},h.dialects.Gruber={block:{atxHeader:function(e,t){var i,n=e.match(/^(#{1,6})\s*(.*?)\s*#*\s*(?:\n|$)/);if(n)return i=["header",{level:n[1].length}],Array.prototype.push.apply(i,this.processInline(n[2])),n[0].length<e.length&&t.unshift(S(e.substr(n[0].length),e.trailing,e.lineNumber+2)),[i]},setextHeader:function(e,t){var i,n=e.match(/^(.*)\n([-=])\2\2+(?:\n|$)/);if(n)return i=["header",{level:"="===n[2]?1:2},n[1]],n[0].length<e.length&&t.unshift(S(e.substr(n[0].length),e.trailing,e.lineNumber+2)),[i]},code:function(e,t){var i=[],n=/^(?: {0,3}\t| {4})(.*)\n?/;if(e.match(n)){for(;;){var r=this.loop_re_over_block(n,e.valueOf(),function(e){i.push(e[1])});if(r.length){t.unshift(S(r,e.trailing));break}if(!t.length)break;if(!t[0].match(n))break;i.push(e.trailing.replace(/[^\n]/g,"").substring(2)),e=t.shift()}return[["code_block",i.join("\n")]]}},horizRule:function(e,t){var i,e=e.match(/^(?:([\s\S]*?)\n)?[ \t]*([-_*])(?:[ \t]*\2){2,}[ \t]*(?:\n([\s\S]*))?$/);if(e)return i=[["hr"]],e[1]&&i.unshift.apply(i,this.processBlock(e[1],[])),e[3]&&t.unshift(S(e[3])),i},lists:(_="[*+-]|\\d+\\.",x=/[*+-]/,w=new RegExp("^( {0,3})("+_+")[ \t]+"),k="(?: {0,3}\\t| {4})",function(e,t){if(u=e.match(w)){for(var i,n=[],r=v(u),s=!1,o=[n[0].list];;){for(var a=e.split(/(?=\n)/),l="",c=0;c<a.length;c++){var u,d="",h=a[c].replace(/^\n/,function(e){return d=e,""}),f=(f=n.length,new RegExp("(?:^("+k+"{0,"+f+"} {0,3})("+_+")\\s+)|(^"+k+"{0,"+(f-1)+"}[ ]{0,4})"));if(void 0!==(u=h.match(f))[1]){l.length&&(y(i,s,this.processInline(l),d),s=!1,l=""),u[1]=u[1].replace(/ {0,3}\t/g,"    ");f=Math.floor(u[1].length/4)+1;if(f>n.length)r=v(u),i.push(r),i=r[1]=["listitem"];else{for(var p=!1,m=0;m<n.length;m++)if(n[m].indent==u[1]){r=n[m].list,n.splice(m+1,n.length-(m+1)),p=!0;break}p||(++f<=n.length?(n.splice(f,n.length-f),r=n[f-1].list):(r=v(u),i.push(r))),r.push(i=["listitem"])}d=""}h.length>u[0].length&&(l+=d+h.substr(u[0].length))}l.length&&(y(i,s,this.processInline(l),d),s=!1,l="");var g=function(e,t){for(var i=new RegExp("^("+k+"{"+e+"}.*?\\n?)*$"),n=new RegExp("^"+k+"{"+e+"}","gm"),r=[];0<t.length&&i.exec(t[0]);){var s=t.shift(),o=s.replace(n,"");r.push(S(o,s.trailing,s.lineNumber))}return r}(n.length,t),g=(0<g.length&&(M(n,b,this),i.push.apply(i,this.toTree(g,[]))),t[0]&&t[0].valueOf()||"");if(!g.match(w)&&!g.match(/^ /))break;e=t.shift();g=this.dialect.block.horizRule(e,t);if(g){o.push.apply(o,g);break}M(n,b,this),s=!0}return o}function v(e){var t=x.exec(e[2])?["bulletlist"]:["numberlist"];return n.push({list:t,indent:e[1]}),t}}),blockquote:function(e,t){if(e.match(/^>/m)){var i=[];if(">"!=e[0]){for(var n=e.split(/\n/),r=[],s=e.lineNumber;n.length&&">"!=n[0][0];)r.push(n.shift()),s++;var o=S(r.join("\n"),"\n",e.lineNumber);i.push.apply(i,this.processBlock(o,[])),e=S(n.join("\n"),e.trailing,s)}for(;t.length&&">"==t[0][0];){var a=t.shift();e=S(e+e.trailing+a,a.trailing,e.lineNumber)}var o=e.replace(/^> ?/gm,""),o=(this.tree,this.toTree(o,["blockquote"])),l=u(o);return l&&l.references&&(delete l.references,m(l)&&o.splice(1,1)),i.push(o),i}},referenceDefn:function(e,t){var i,n=/^\s*\[(.*?)\]:\s*(\S+)(?:\s+(?:(['"])(.*?)\3|\((.*?)\)))?\n?/;if(e.match(n))return u(this.tree)||this.tree.splice(1,0,{}),i=u(this.tree),void 0===i.references&&(i.references={}),n=this.loop_re_over_block(n,e,function(e){e[2]&&"<"==e[2][0]&&">"==e[2][e[2].length-1]&&(e[2]=e[2].substring(1,e[2].length-1));var t=i.references[e[1].toLowerCase()]={href:e[2]};void 0!==e[4]?t.title=e[4]:void 0!==e[5]&&(t.title=e[5])}),n.length&&t.unshift(S(n,e.trailing)),[]},para:function(e,t){return[["para"].concat(this.processInline(e))]}}},h.dialects.Gruber.inline={__oneElement__:function(e,t,i){var n;return t=t||this.dialect.inline.__patterns__,(t=new RegExp("([\\s\\S]*?)("+(t.source||t)+")").exec(e))?t[1]?[t[1].length,t[1]]:(n=t[2]in this.dialect.inline?this.dialect.inline[t[2]].call(this,e.substr(t.index),t,i||[]):n)||[t[2].length,t[2]]:[e.length,e]},__call__:function(e,t){var i,n=[];function r(e){"string"==typeof e&&"string"==typeof n[n.length-1]?n[n.length-1]+=e:n.push(e)}for(;0<e.length;)i=this.dialect.inline.__oneElement__.call(this,e,t,n),e=e.substr(i.shift()),M(i,r);return n},"]":function(){},"}":function(){},__escape__:/^\\[\\`\*_{}\[\]()#\+.!\-]/,"\\":function(e){return this.dialect.inline.__escape__.exec(e)?[2,e.charAt(1)]:[1,"\\"]},"![":function(e){var t,i=e.match(/^!\[(.*?)\][ \t]*\([ \t]*([^")]*?)(?:[ \t]+(["'])(.*?)\3)?[ \t]*\)/);return i?(i[2]&&"<"==i[2][0]&&">"==i[2][i[2].length-1]&&(i[2]=i[2].substring(1,i[2].length-1)),i[2]=this.dialect.inline.__call__.call(this,i[2],/\\/)[0],t={alt:i[1],href:i[2]||""},void 0!==i[4]&&(t.title=i[4]),[i[0].length,["img",t]]):(i=e.match(/^!\[(.*?)\][ \t]*\[(.*?)\]/))?[i[0].length,["img_ref",{alt:i[1],ref:i[2].toLowerCase(),original:i[0]}]]:[2,"!["]},"[":function(e){var t=String(e),i=h.DialectHelpers.inline_until_char.call(this,e.substr(1),"]");if(!i)return[1,"["];var n,r=1+i[0],i=i[1],s=(e=e.substr(r)).match(/^\s*\([ \t]*([^"']*)(?:[ \t]+(["'])(.*?)\2)?[ \t]*\)/);if(s){var o=s[1];if(r+=s[0].length,o&&"<"==o[0]&&">"==o[o.length-1]&&(o=o.substring(1,o.length-1)),!s[3])for(var a=1,l=0;l<o.length;l++)switch(o[l]){case"(":a++;break;case")":0==--a&&(r-=o.length-l,o=o.substring(0,l))}return n={href:(o=this.dialect.inline.__call__.call(this,o,/\\/)[0])||""},void 0!==s[3]&&(n.title=s[3]),[r,["link",n].concat(i)]}return(s=e.match(/^\s*\[(.*?)\]/))?[r+=s[0].length,["link_ref",n={ref:(s[1]||String(i)).toLowerCase(),original:t.substr(0,r)}].concat(i)]:1==i.length&&"string"==typeof i[0]?[r,["link_ref",n={ref:i[0].toLowerCase(),original:t.substr(0,r)},i[0]]]:[1,"["]},"<":function(e){return null!=(e=e.match(/^<(?:((https?|ftp|mailto):[^>]+)|(.*?@.*?\.[a-zA-Z]+))>/))?e[3]?[e[0].length,["link",{href:"mailto:"+e[3]},e[3]]]:"mailto"==e[2]?[e[0].length,["link",{href:e[1]},e[1].substr("mailto:".length)]]:[e[0].length,["link",{href:e[1]},e[1]]]:[1,"<"]},"`":function(e){e=e.match(/(`+)(([\s\S]*?)\1)/);return e&&e[2]?[e[1].length+e[2].length,["inlinecode",e[3]]]:[1,"`"]},"  \n":function(e){return[3,["linebreak"]]}},h.dialects.Gruber.inline["**"]=n("strong","**"),h.dialects.Gruber.inline.__=n("strong","__"),h.dialects.Gruber.inline["*"]=n("em","*"),h.dialects.Gruber.inline._=n("em","_"),h.buildBlockOrder=function(e){var t,i=[];for(t in e)"__order__"!=t&&"__call__"!=t&&i.push(t);e.__order__=i},h.buildInlinePatterns=function(e){var t,i,n=[];for(t in e)t.match(/^__.*__$/)||(i=t.replace(/([\\.*+?|()\[\]{}])/g,"\\$1").replace(/\n/,"\\n"),n.push(1==t.length?i:"(?:"+i+")"));n=n.join("|"),e.__patterns__=n;var r=e.__call__;e.__call__=function(e,t){return null!=t?r.call(this,e,t):r.call(this,e,n)}},h.DialectHelpers={},h.DialectHelpers.inline_until_char=function(e,t){for(var i=0,n=[];;){if(e.charAt(i)==t)return[++i,n];if(i>=e.length)return null;var r=this.dialect.inline.__oneElement__.call(this,e.substr(i));i+=r[0],n.push.apply(n,r.slice(1))}},h.subclassDialect=function(e){function t(){}function i(){}return t.prototype=e.block,i.prototype=e.inline,{block:new t,inline:new i}},h.buildBlockOrder(h.dialects.Gruber.block),h.buildInlinePatterns(h.dialects.Gruber.inline),h.dialects.Maruku=h.subclassDialect(h.dialects.Gruber),h.dialects.Maruku.processMetaHash=function(e){for(var t,i=function(e){var t=e.split(""),i=[""],n=!1;for(;t.length;){var r=t.shift();switch(r){case" ":n?i[i.length-1]+=r:i.push("");break;case"'":case'"':n=!n;break;case"\\":r=t.shift();default:i[i.length-1]+=r}}return i}(e),n={},r=0;r<i.length;++r)/^#/.test(i[r])?n.id=i[r].substring(1):/^\./.test(i[r])?n.class?n.class=n.class+i[r].replace(/./," "):n.class=i[r].substring(1):/\=/.test(i[r])&&(n[(t=i[r].split(/\=/))[0]]=t[1]);return n},h.dialects.Maruku.block.document_meta=function(e,t){if(!(1<e.lineNumber)&&e.match(/^(?:\w+:.*\n)*\w+:.*$/)){u(this.tree)||this.tree.splice(1,0,{});var i=e.split(/\n/);for(p in i){var n=i[p].match(/(\w+):\s*(.*)$/),r=n[1].toLowerCase(),n=n[2];this.tree[1][r]=n}return[]}},h.dialects.Maruku.block.block_meta=function(e,t){var i=e.match(/(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/);if(i){var n=this.dialect.processMetaHash(i[2]);if(""===i[1]){var i=this.tree[this.tree.length-1],r=u(i);if("string"==typeof i)return;for(a in r||i.splice(1,0,r={}),n)r[a]=n[a];return[]}i=e.replace(/\n.*$/,""),e=this.processBlock(i,[]);for(a in(r=u(e[0]))||e[0].splice(1,0,r={}),n)r[a]=n[a];return e}},h.dialects.Maruku.block.definition_list=function(e,t){var i=/^((?:[^\s:].*\n)+):\s+([\s\S]+)$/,n=["dl"];if(o=e.match(i)){for(var r=[e];t.length&&i.exec(t[0]);)r.push(t.shift());for(var s=0;s<r.length;++s){for(var o,a=(o=r[s].match(i))[1].replace(/\n$/,"").split(/\n/),l=o[2].split(/\n:\s+/),c=0;c<a.length;++c)n.push(["dt",a[c]]);for(c=0;c<l.length;++c)n.push(["dd"].concat(this.processInline(l[c].replace(/(\n)\s+/,"$1"))))}return[n]}},h.dialects.Maruku.block.table=function(e,t){function i(e,t){(t=t||"\\s").match(/^[\\|\[\]{}?*.+^$]$/)&&(t="\\"+t);for(var i,n=[],r=new RegExp("^((?:\\\\.|[^\\\\"+t+"])*)"+t+"(.*)");i=e.match(r);)n.push(i[1]),e=i[2];return n.push(e),n}var n,r;if(r=e.match(/^ {0,3}\|(.+)\n {0,3}\|\s*([\-:]+[\-| :]*)\n((?:\s*\|.*(?:\n|$))*)(?=\n|$)/))r[3]=r[3].replace(/^\s*\|/gm,"");else if(!(r=e.match(/^ {0,3}(\S(?:\\.|[^\\|])*\|.*)\n {0,3}([\-:]+\s*\|[\-| :]*)\n((?:(?:\\.|[^\\|])*\|.*(?:\n|$))*)(?=\n|$)/)))return;var s=["table",["thead",["tr"]],["tbody"]],o=(r[2]=r[2].replace(/\|\s*$/,"").split("|"),[]);for(M(r[2],function(e){e.match(/^\s*-+:\s*$/)?o.push({align:"right"}):e.match(/^\s*:-+\s*$/)?o.push({align:"left"}):e.match(/^\s*:-+:\s*$/)?o.push({align:"center"}):o.push({})}),r[1]=i(r[1].replace(/\|\s*$/,""),"|"),n=0;n<r[1].length;n++)s[1][1].push(["th",o[n]||{}].concat(this.processInline(r[1][n].trim())));return M(r[3].replace(/\|\s*$/gm,"").split("\n"),function(e){var t=["tr"];for(e=i(e,"|"),n=0;n<e.length;n++)t.push(["td",o[n]||{}].concat(this.processInline(e[n].trim())));s[2].push(t)},this),[s]},h.dialects.Maruku.inline["{:"]=function(e,t,i){if(!i.length)return[2,"{:"];i=i[i.length-1];if("string"==typeof i)return[2,"{:"];e=e.match(/^\{:\s*((?:\\\}|[^\}])*)\s*\}/);if(!e)return[2,"{:"];var n,r=this.dialect.processMetaHash(e[1]),s=u(i);for(n in s||i.splice(1,0,s={}),r)s[n]=r[n];return[e[0].length,""]},h.dialects.Maruku.inline.__escape__=/^\\[\\`\*_{}\[\]()#\+.!\-|:]/,h.buildBlockOrder(h.dialects.Maruku.block),h.buildInlinePatterns(h.dialects.Maruku.inline),f=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},M=Array.prototype.forEach?function(e,t,i){return e.forEach(t,i)}:function(e,t,i){for(var n=0;n<e.length;n++)t.call(i||e,e[n],n,e)},m=function(e){for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0},d.renderJsonML=function(e,t){(t=t||{}).root=t.root||!1;var i=[];if(t.root)i.push(c(e));else for(e.shift(),!e.length||"object"!=typeof e[0]||e[0]instanceof Array||e.shift();e.length;)i.push(c(e.shift()));return i.join("\n\n")}},"./node_modules/moment/locale sync recursive ^\\.\\/.*$":function(e,t,i){var n={"./af":"./node_modules/moment/locale/af.js","./af.js":"./node_modules/moment/locale/af.js","./ar":"./node_modules/moment/locale/ar.js","./ar-dz":"./node_modules/moment/locale/ar-dz.js","./ar-dz.js":"./node_modules/moment/locale/ar-dz.js","./ar-kw":"./node_modules/moment/locale/ar-kw.js","./ar-kw.js":"./node_modules/moment/locale/ar-kw.js","./ar-ly":"./node_modules/moment/locale/ar-ly.js","./ar-ly.js":"./node_modules/moment/locale/ar-ly.js","./ar-ma":"./node_modules/moment/locale/ar-ma.js","./ar-ma.js":"./node_modules/moment/locale/ar-ma.js","./ar-sa":"./node_modules/moment/locale/ar-sa.js","./ar-sa.js":"./node_modules/moment/locale/ar-sa.js","./ar-tn":"./node_modules/moment/locale/ar-tn.js","./ar-tn.js":"./node_modules/moment/locale/ar-tn.js","./ar.js":"./node_modules/moment/locale/ar.js","./az":"./node_modules/moment/locale/az.js","./az.js":"./node_modules/moment/locale/az.js","./be":"./node_modules/moment/locale/be.js","./be.js":"./node_modules/moment/locale/be.js","./bg":"./node_modules/moment/locale/bg.js","./bg.js":"./node_modules/moment/locale/bg.js","./bm":"./node_modules/moment/locale/bm.js","./bm.js":"./node_modules/moment/locale/bm.js","./bn":"./node_modules/moment/locale/bn.js","./bn.js":"./node_modules/moment/locale/bn.js","./bo":"./node_modules/moment/locale/bo.js","./bo.js":"./node_modules/moment/locale/bo.js","./br":"./node_modules/moment/locale/br.js","./br.js":"./node_modules/moment/locale/br.js","./bs":"./node_modules/moment/locale/bs.js","./bs.js":"./node_modules/moment/locale/bs.js","./ca":"./node_modules/moment/locale/ca.js","./ca.js":"./node_modules/moment/locale/ca.js","./cs":"./node_modules/moment/locale/cs.js","./cs.js":"./node_modules/moment/locale/cs.js","./cv":"./node_modules/moment/locale/cv.js","./cv.js":"./node_modules/moment/locale/cv.js","./cy":"./node_modules/moment/locale/cy.js","./cy.js":"./node_modules/moment/locale/cy.js","./da":"./node_modules/moment/locale/da.js","./da.js":"./node_modules/moment/locale/da.js","./de":"./node_modules/moment/locale/de.js","./de-at":"./node_modules/moment/locale/de-at.js","./de-at.js":"./node_modules/moment/locale/de-at.js","./de-ch":"./node_modules/moment/locale/de-ch.js","./de-ch.js":"./node_modules/moment/locale/de-ch.js","./de.js":"./node_modules/moment/locale/de.js","./dv":"./node_modules/moment/locale/dv.js","./dv.js":"./node_modules/moment/locale/dv.js","./el":"./node_modules/moment/locale/el.js","./el.js":"./node_modules/moment/locale/el.js","./en-au":"./node_modules/moment/locale/en-au.js","./en-au.js":"./node_modules/moment/locale/en-au.js","./en-ca":"./node_modules/moment/locale/en-ca.js","./en-ca.js":"./node_modules/moment/locale/en-ca.js","./en-gb":"./node_modules/moment/locale/en-gb.js","./en-gb.js":"./node_modules/moment/locale/en-gb.js","./en-ie":"./node_modules/moment/locale/en-ie.js","./en-ie.js":"./node_modules/moment/locale/en-ie.js","./en-il":"./node_modules/moment/locale/en-il.js","./en-il.js":"./node_modules/moment/locale/en-il.js","./en-in":"./node_modules/moment/locale/en-in.js","./en-in.js":"./node_modules/moment/locale/en-in.js","./en-nz":"./node_modules/moment/locale/en-nz.js","./en-nz.js":"./node_modules/moment/locale/en-nz.js","./en-sg":"./node_modules/moment/locale/en-sg.js","./en-sg.js":"./node_modules/moment/locale/en-sg.js","./eo":"./node_modules/moment/locale/eo.js","./eo.js":"./node_modules/moment/locale/eo.js","./es":"./node_modules/moment/locale/es.js","./es-do":"./node_modules/moment/locale/es-do.js","./es-do.js":"./node_modules/moment/locale/es-do.js","./es-us":"./node_modules/moment/locale/es-us.js","./es-us.js":"./node_modules/moment/locale/es-us.js","./es.js":"./node_modules/moment/locale/es.js","./et":"./node_modules/moment/locale/et.js","./et.js":"./node_modules/moment/locale/et.js","./eu":"./node_modules/moment/locale/eu.js","./eu.js":"./node_modules/moment/locale/eu.js","./fa":"./node_modules/moment/locale/fa.js","./fa.js":"./node_modules/moment/locale/fa.js","./fi":"./node_modules/moment/locale/fi.js","./fi.js":"./node_modules/moment/locale/fi.js","./fil":"./node_modules/moment/locale/fil.js","./fil.js":"./node_modules/moment/locale/fil.js","./fo":"./node_modules/moment/locale/fo.js","./fo.js":"./node_modules/moment/locale/fo.js","./fr":"./node_modules/moment/locale/fr.js","./fr-ca":"./node_modules/moment/locale/fr-ca.js","./fr-ca.js":"./node_modules/moment/locale/fr-ca.js","./fr-ch":"./node_modules/moment/locale/fr-ch.js","./fr-ch.js":"./node_modules/moment/locale/fr-ch.js","./fr.js":"./node_modules/moment/locale/fr.js","./fy":"./node_modules/moment/locale/fy.js","./fy.js":"./node_modules/moment/locale/fy.js","./ga":"./node_modules/moment/locale/ga.js","./ga.js":"./node_modules/moment/locale/ga.js","./gd":"./node_modules/moment/locale/gd.js","./gd.js":"./node_modules/moment/locale/gd.js","./gl":"./node_modules/moment/locale/gl.js","./gl.js":"./node_modules/moment/locale/gl.js","./gom-deva":"./node_modules/moment/locale/gom-deva.js","./gom-deva.js":"./node_modules/moment/locale/gom-deva.js","./gom-latn":"./node_modules/moment/locale/gom-latn.js","./gom-latn.js":"./node_modules/moment/locale/gom-latn.js","./gu":"./node_modules/moment/locale/gu.js","./gu.js":"./node_modules/moment/locale/gu.js","./he":"./node_modules/moment/locale/he.js","./he.js":"./node_modules/moment/locale/he.js","./hi":"./node_modules/moment/locale/hi.js","./hi.js":"./node_modules/moment/locale/hi.js","./hr":"./node_modules/moment/locale/hr.js","./hr.js":"./node_modules/moment/locale/hr.js","./hu":"./node_modules/moment/locale/hu.js","./hu.js":"./node_modules/moment/locale/hu.js","./hy-am":"./node_modules/moment/locale/hy-am.js","./hy-am.js":"./node_modules/moment/locale/hy-am.js","./id":"./node_modules/moment/locale/id.js","./id.js":"./node_modules/moment/locale/id.js","./is":"./node_modules/moment/locale/is.js","./is.js":"./node_modules/moment/locale/is.js","./it":"./node_modules/moment/locale/it.js","./it-ch":"./node_modules/moment/locale/it-ch.js","./it-ch.js":"./node_modules/moment/locale/it-ch.js","./it.js":"./node_modules/moment/locale/it.js","./ja":"./node_modules/moment/locale/ja.js","./ja.js":"./node_modules/moment/locale/ja.js","./jv":"./node_modules/moment/locale/jv.js","./jv.js":"./node_modules/moment/locale/jv.js","./ka":"./node_modules/moment/locale/ka.js","./ka.js":"./node_modules/moment/locale/ka.js","./kk":"./node_modules/moment/locale/kk.js","./kk.js":"./node_modules/moment/locale/kk.js","./km":"./node_modules/moment/locale/km.js","./km.js":"./node_modules/moment/locale/km.js","./kn":"./node_modules/moment/locale/kn.js","./kn.js":"./node_modules/moment/locale/kn.js","./ko":"./node_modules/moment/locale/ko.js","./ko.js":"./node_modules/moment/locale/ko.js","./ku":"./node_modules/moment/locale/ku.js","./ku.js":"./node_modules/moment/locale/ku.js","./ky":"./node_modules/moment/locale/ky.js","./ky.js":"./node_modules/moment/locale/ky.js","./lb":"./node_modules/moment/locale/lb.js","./lb.js":"./node_modules/moment/locale/lb.js","./lo":"./node_modules/moment/locale/lo.js","./lo.js":"./node_modules/moment/locale/lo.js","./lt":"./node_modules/moment/locale/lt.js","./lt.js":"./node_modules/moment/locale/lt.js","./lv":"./node_modules/moment/locale/lv.js","./lv.js":"./node_modules/moment/locale/lv.js","./me":"./node_modules/moment/locale/me.js","./me.js":"./node_modules/moment/locale/me.js","./mi":"./node_modules/moment/locale/mi.js","./mi.js":"./node_modules/moment/locale/mi.js","./mk":"./node_modules/moment/locale/mk.js","./mk.js":"./node_modules/moment/locale/mk.js","./ml":"./node_modules/moment/locale/ml.js","./ml.js":"./node_modules/moment/locale/ml.js","./mn":"./node_modules/moment/locale/mn.js","./mn.js":"./node_modules/moment/locale/mn.js","./mr":"./node_modules/moment/locale/mr.js","./mr.js":"./node_modules/moment/locale/mr.js","./ms":"./node_modules/moment/locale/ms.js","./ms-my":"./node_modules/moment/locale/ms-my.js","./ms-my.js":"./node_modules/moment/locale/ms-my.js","./ms.js":"./node_modules/moment/locale/ms.js","./mt":"./node_modules/moment/locale/mt.js","./mt.js":"./node_modules/moment/locale/mt.js","./my":"./node_modules/moment/locale/my.js","./my.js":"./node_modules/moment/locale/my.js","./nb":"./node_modules/moment/locale/nb.js","./nb.js":"./node_modules/moment/locale/nb.js","./ne":"./node_modules/moment/locale/ne.js","./ne.js":"./node_modules/moment/locale/ne.js","./nl":"./node_modules/moment/locale/nl.js","./nl-be":"./node_modules/moment/locale/nl-be.js","./nl-be.js":"./node_modules/moment/locale/nl-be.js","./nl.js":"./node_modules/moment/locale/nl.js","./nn":"./node_modules/moment/locale/nn.js","./nn.js":"./node_modules/moment/locale/nn.js","./oc-lnc":"./node_modules/moment/locale/oc-lnc.js","./oc-lnc.js":"./node_modules/moment/locale/oc-lnc.js","./pa-in":"./node_modules/moment/locale/pa-in.js","./pa-in.js":"./node_modules/moment/locale/pa-in.js","./pl":"./node_modules/moment/locale/pl.js","./pl.js":"./node_modules/moment/locale/pl.js","./pt":"./node_modules/moment/locale/pt.js","./pt-br":"./node_modules/moment/locale/pt-br.js","./pt-br.js":"./node_modules/moment/locale/pt-br.js","./pt.js":"./node_modules/moment/locale/pt.js","./ro":"./node_modules/moment/locale/ro.js","./ro.js":"./node_modules/moment/locale/ro.js","./ru":"./node_modules/moment/locale/ru.js","./ru.js":"./node_modules/moment/locale/ru.js","./sd":"./node_modules/moment/locale/sd.js","./sd.js":"./node_modules/moment/locale/sd.js","./se":"./node_modules/moment/locale/se.js","./se.js":"./node_modules/moment/locale/se.js","./si":"./node_modules/moment/locale/si.js","./si.js":"./node_modules/moment/locale/si.js","./sk":"./node_modules/moment/locale/sk.js","./sk.js":"./node_modules/moment/locale/sk.js","./sl":"./node_modules/moment/locale/sl.js","./sl.js":"./node_modules/moment/locale/sl.js","./sq":"./node_modules/moment/locale/sq.js","./sq.js":"./node_modules/moment/locale/sq.js","./sr":"./node_modules/moment/locale/sr.js","./sr-cyrl":"./node_modules/moment/locale/sr-cyrl.js","./sr-cyrl.js":"./node_modules/moment/locale/sr-cyrl.js","./sr.js":"./node_modules/moment/locale/sr.js","./ss":"./node_modules/moment/locale/ss.js","./ss.js":"./node_modules/moment/locale/ss.js","./sv":"./node_modules/moment/locale/sv.js","./sv.js":"./node_modules/moment/locale/sv.js","./sw":"./node_modules/moment/locale/sw.js","./sw.js":"./node_modules/moment/locale/sw.js","./ta":"./node_modules/moment/locale/ta.js","./ta.js":"./node_modules/moment/locale/ta.js","./te":"./node_modules/moment/locale/te.js","./te.js":"./node_modules/moment/locale/te.js","./tet":"./node_modules/moment/locale/tet.js","./tet.js":"./node_modules/moment/locale/tet.js","./tg":"./node_modules/moment/locale/tg.js","./tg.js":"./node_modules/moment/locale/tg.js","./th":"./node_modules/moment/locale/th.js","./th.js":"./node_modules/moment/locale/th.js","./tk":"./node_modules/moment/locale/tk.js","./tk.js":"./node_modules/moment/locale/tk.js","./tl-ph":"./node_modules/moment/locale/tl-ph.js","./tl-ph.js":"./node_modules/moment/locale/tl-ph.js","./tlh":"./node_modules/moment/locale/tlh.js","./tlh.js":"./node_modules/moment/locale/tlh.js","./tr":"./node_modules/moment/locale/tr.js","./tr.js":"./node_modules/moment/locale/tr.js","./tzl":"./node_modules/moment/locale/tzl.js","./tzl.js":"./node_modules/moment/locale/tzl.js","./tzm":"./node_modules/moment/locale/tzm.js","./tzm-latn":"./node_modules/moment/locale/tzm-latn.js","./tzm-latn.js":"./node_modules/moment/locale/tzm-latn.js","./tzm.js":"./node_modules/moment/locale/tzm.js","./ug-cn":"./node_modules/moment/locale/ug-cn.js","./ug-cn.js":"./node_modules/moment/locale/ug-cn.js","./uk":"./node_modules/moment/locale/uk.js","./uk.js":"./node_modules/moment/locale/uk.js","./ur":"./node_modules/moment/locale/ur.js","./ur.js":"./node_modules/moment/locale/ur.js","./uz":"./node_modules/moment/locale/uz.js","./uz-latn":"./node_modules/moment/locale/uz-latn.js","./uz-latn.js":"./node_modules/moment/locale/uz-latn.js","./uz.js":"./node_modules/moment/locale/uz.js","./vi":"./node_modules/moment/locale/vi.js","./vi.js":"./node_modules/moment/locale/vi.js","./x-pseudo":"./node_modules/moment/locale/x-pseudo.js","./x-pseudo.js":"./node_modules/moment/locale/x-pseudo.js","./yo":"./node_modules/moment/locale/yo.js","./yo.js":"./node_modules/moment/locale/yo.js","./zh-cn":"./node_modules/moment/locale/zh-cn.js","./zh-cn.js":"./node_modules/moment/locale/zh-cn.js","./zh-hk":"./node_modules/moment/locale/zh-hk.js","./zh-hk.js":"./node_modules/moment/locale/zh-hk.js","./zh-mo":"./node_modules/moment/locale/zh-mo.js","./zh-mo.js":"./node_modules/moment/locale/zh-mo.js","./zh-tw":"./node_modules/moment/locale/zh-tw.js","./zh-tw.js":"./node_modules/moment/locale/zh-tw.js"};function r(e){e=s(e);return i(e)}function s(e){if(i.o(n,e))return n[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}r.keys=function(){return Object.keys(n)},r.resolve=s,(e.exports=r).id="./node_modules/moment/locale sync recursive ^\\.\\/.*$"},
vendor: 1,274 bytes, line 1
1"./node_modules/moment/locale/af.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,i){if(e<12)return i?"vm":"VM";else return i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,276 bytes, line 1
1"./node_modules/moment/locale/ar-dz.js":function(e,t,i){!function(e){"use strict";var a=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},t=function(o){return function(e,t,i,n){var r=a(e),s=l[o][a(e)];if(r===2)s=s[t?0:1];return s.replace(/%d/i,e)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],n;e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:t("s"),ss:t("s"),m:t("m"),mm:t("m"),h:t("h"),hh:t("h"),d:t("d"),dd:t("d"),M:t("M"),MM:t("M"),y:t("y"),yy:t("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,358 bytes, line 1
1"./node_modules/moment/locale/ar-kw.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,439 bytes, line 1
1"./node_modules/moment/locale/ar-ly.js":function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(o){return function(e,t,i,n){var r=a(e),s=l[o][a(e)];if(r===2)s=s[t?0:1];return s.replace(/%d/i,e)}},n=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r;e.defineLocale("ar-ly",{months:n,monthsShort:n,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,358 bytes, line 1
1"./node_modules/moment/locale/ar-ma.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,863 bytes, line 1
1"./node_modules/moment/locale/ar-sa.js":function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n;e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,361 bytes, line 1
1"./node_modules/moment/locale/ar-tn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,597 bytes, line 1
1"./node_modules/moment/locale/ar.js":function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(o){return function(e,t,i,n){var r=a(e),s=l[o][a(e)];if(r===2)s=s[t?0:1];return s.replace(/%d/i,e)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s;e.defineLocale("ar",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,732 bytes, line 1
1"./node_modules/moment/locale/az.js":function(e,t,i){!function(e){"use strict";var r={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},t;e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,i){if(e<4)return"gecə";else if(e<12)return"səhər";else if(e<17)return"gündüz";else return"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(e===0)return e+"-ıncı";var t=e%10,i=e%100-t,n=e>=100?100:null;return e+(r[t]||r[i]||r[n])},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,983 bytes, line 1
1"./node_modules/moment/locale/be.js":function(e,t,i){!function(e){"use strict";function r(e,t){var i=e.split("_");return t%10===1&&t%100!==11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(e,t,i){var n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};if(i==="m")return t?"хвіліна":"хвіліну";else if(i==="h")return t?"гадзіна":"гадзіну";else return e+" "+r(n[i],+e)}var i;e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,i){if(e<4)return"ночы";else if(e<12)return"раніцы";else if(e<17)return"дня";else return"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return(e%10===2||e%10===3)&&e%100!==12&&e%100!==13?e+"-і":e+"-ы";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,735 bytes, line 1
1"./node_modules/moment/locale/bg.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;if(e===0)return e+"-ев";else if(i===0)return e+"-ен";else if(i>10&&i<20)return e+"-ти";else if(t===1)return e+"-ви";else if(t===2)return e+"-ри";else if(t===7||t===8)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,173 bytes, line 1
1"./node_modules/moment/locale/bm.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,492 bytes, line 1
1"./node_modules/moment/locale/bn.js":function(e,t,i){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n;e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="রাত"&&e>=4||t==="দুপুর"&&e<5||t==="বিকাল")return e+12;else return e},meridiem:function(e,t,i){if(e<4)return"রাত";else if(e<10)return"সকাল";else if(e<17)return"দুপুর";else if(e<20)return"বিকাল";else return"রাত"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,949 bytes, line 1
1"./node_modules/moment/locale/bo.js":function(e,t,i){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},n;e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:true,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="མཚན་མོ"&&e>=4||t==="ཉིན་གུང"&&e<5||t==="དགོང་དག")return e+12;else return e},meridiem:function(e,t,i){if(e<4)return"མཚན་མོ";else if(e<10)return"ཞོགས་ཀས";else if(e<17)return"ཉིན་གུང";else if(e<20)return"དགོང་དག";else return"མཚན་མོ"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,435 bytes, line 1
1"./node_modules/moment/locale/br.js":function(e,t,i){!function(e){"use strict";function t(e,t,i){var n={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+r(n[i],e)}function i(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function n(e){if(e>9)return n(e%10);return e}function r(e,t){if(t===2)return s(e);return e}function s(e){var t={m:"v",b:"v",d:"z"};if(t[e.charAt(0)]===undefined)return e;return t[e.charAt(0)]+e.substring(1)}var o=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],f;e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:i},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=e===1?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return e==="g.m."},meridiem:function(e,t,i){return e<12?"a.m.":"g.m."}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,039 bytes, line 1
1"./node_modules/moment/locale/bs.js":function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":if(e===1)n+="sekunda";else if(e===2||e===3||e===4)n+="sekunde";else n+="sekundi";return n;case"m":return t?"jedna minuta":"jedne minute";case"mm":if(e===1)n+="minuta";else if(e===2||e===3||e===4)n+="minute";else n+="minuta";return n;case"h":return t?"jedan sat":"jednog sata";case"hh":if(e===1)n+="sat";else if(e===2||e===3||e===4)n+="sata";else n+="sati";return n;case"dd":if(e===1)n+="dan";else n+="dana";return n;case"MM":if(e===1)n+="mjesec";else if(e===2||e===3||e===4)n+="mjeseca";else n+="mjeseci";return n;case"yy":if(e===1)n+="godina";else if(e===2||e===3||e===4)n+="godine";else n+="godina";return n}}var i;e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,755 bytes, line 1
1"./node_modules/moment/locale/ca.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:true,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";if(t==="w"||t==="W")i="a";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,896 bytes, line 1
1"./node_modules/moment/locale/cs.js":function(e,t,i){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,s;function o(e){return e>1&&e<5&&~~(e/10)!==1}function a(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":if(t||n)return r+(o(e)?"sekundy":"sekund");else return r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":if(t||n)return r+(o(e)?"minuty":"minut");else return r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":if(t||n)return r+(o(e)?"hodiny":"hodin");else return r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":if(t||n)return r+(o(e)?"dny":"dní");else return r+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":if(t||n)return r+(o(e)?"měsíce":"měsíců");else return r+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":if(t||n)return r+(o(e)?"roky":"let");else return r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,626 bytes, line 1
1"./node_modules/moment/locale/cv.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,374 bytes, line 1
1"./node_modules/moment/locale/cy.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,i="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];if(t>20)if(t===40||t===50||t===60||t===80||t===100)i="fed";else i="ain";else if(t>0)i=n[t];return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,092 bytes, line 1
1"./node_modules/moment/locale/da.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,449 bytes, line 1
1"./node_modules/moment/locale/de-at.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}var i;e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,440 bytes, line 1
1"./node_modules/moment/locale/de-ch.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}var i;e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,441 bytes, line 1
1"./node_modules/moment/locale/de.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}var i;e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,510 bytes, line 1
1"./node_modules/moment/locale/dv.js":function(e,t,i){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],i=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],n;e.defineLocale("dv",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,i){if(e<12)return"މކ";else return"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,510 bytes, line 1
1"./node_modules/moment/locale/el.js":function(e,t,i){!function(e){"use strict";function r(e){return typeof Function!=="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}var t;e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){if(!e)return this._monthsNominativeEl;else if(typeof t==="string"&&/D/.test(t.substring(0,t.indexOf("MMMM"))))return this._monthsGenitiveEl[e.month()];else return this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,i){if(e>11)return i?"μμ":"ΜΜ";else return i?"πμ":"ΠΜ"},isPM:function(e){return(e+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i=this._calendarEl[e],n=t&&t.hours();if(r(i))i=i.apply(t);return i.replace("{}",n%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,183 bytes, line 1
1"./node_modules/moment/locale/en-au.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:0,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,167 bytes, line 1
1"./node_modules/moment/locale/en-ca.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,179 bytes, line 1
1"./node_modules/moment/locale/en-gb.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,178 bytes, line 1
1"./node_modules/moment/locale/en-ie.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,160 bytes, line 1
1"./node_modules/moment/locale/en-il.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,183 bytes, line 1
1"./node_modules/moment/locale/en-in.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,183 bytes, line 1
1"./node_modules/moment/locale/en-nz.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,179 bytes, line 1
1"./node_modules/moment/locale/en-sg.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,373 bytes, line 1
1"./node_modules/moment/locale/eo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return e.charAt(0).toLowerCase()==="p"},meridiem:function(e,t,i){if(e>11)return i?"p.t.m.":"P.T.M.";else return i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,162 bytes, line 1
1"./node_modules/moment/locale/es-do.js":function(e,t,i){!function(e){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,162 bytes, line 1
1"./node_modules/moment/locale/es-us.js":function(e,t,i){!function(e){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,177 bytes, line 1
1"./node_modules/moment/locale/es.js":function(e,t,i){!function(e){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha invalida"})}(i("./node_modules/moment/moment.js"))},
vendor: 1,435 bytes, line 1
1"./node_modules/moment/locale/et.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};if(t)return r[i][2]?r[i][2]:r[i][1];return n?r[i][0]:r[i][1]}var i;e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,308 bytes, line 1
1"./node_modules/moment/locale/eu.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:true,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,972 bytes, line 1
1"./node_modules/moment/locale/fa.js":function(e,t,i){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},n;e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,i){if(e<12)return"قبل از ظهر";else return"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,917 bytes, line 1
1"./node_modules/moment/locale/fi.js":function(e,t,i){!function(e){"use strict";var i="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",i[7],i[8],i[9]],t;function r(e,t,i,n){var r="";switch(i){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":r=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":r=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":r=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":r=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":r=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":r=n?"vuoden":"vuotta";break}r=s(e,n)+" "+r;return r}function s(e,t){return e<10?t?n[e]:i[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,138 bytes, line 1
1"./node_modules/moment/locale/fil.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,132 bytes, line 1
1"./node_modules/moment/locale/fo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,282 bytes, line 1
1"./node_modules/moment/locale/fr-ca.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:true,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,301 bytes, line 1
1"./node_modules/moment/locale/fr-ch.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:true,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,898 bytes, line 1
1"./node_modules/moment/locale/fr.js":function(e,t,i){!function(e){"use strict";var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],s;e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:t,monthsShortStrictRegex:i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,369 bytes, line 1
1"./node_modules/moment/locale/fy.js":function(e,t,i){!function(e){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),t;e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsParseExact:true,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,301 bytes, line 1
1"./node_modules/moment/locale/ga.js":function(e,t,i){!function(e){"use strict";var t,i,n,r,s,o;e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:true,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=e===1?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,323 bytes, line 1
1"./node_modules/moment/locale/gd.js":function(e,t,i){!function(e){"use strict";var t,i,n,r,s,o;e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:true,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=e===1?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,458 bytes, line 1
1"./node_modules/moment/locale/gl.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:true,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){if(e.indexOf("un")===0)return"n"+e;return"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 3,522 bytes, line 1
1"./node_modules/moment/locale/gom-deva.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?r[i][0]:r[i][1]}var i;e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:true,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="राती")return e<4?e:e+12;else if(t==="सकाळीं")return e;else if(t==="दनपारां")return e>12?e:e+12;else if(t==="सांजे")return e+12},meridiem:function(e,t,i){if(e<4)return"राती";else if(e<12)return"सकाळीं";else if(e<16)return"दनपारां";else if(e<20)return"सांजे";else return"राती"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,180 bytes, line 1
1"./node_modules/moment/locale/gom-latn.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?r[i][0]:r[i][1]}var i;e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="rati")return e<4?e:e+12;else if(t==="sokallim")return e;else if(t==="donparam")return e>12?e:e+12;else if(t==="sanje")return e+12},meridiem:function(e,t,i){if(e<4)return"rati";else if(e<12)return"sokallim";else if(e<16)return"donparam";else if(e<20)return"sanje";else return"rati"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,522 bytes, line 1
1"./node_modules/moment/locale/gu.js":function(e,t,i){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},n;e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:true,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="રાત")return e<4?e:e+12;else if(t==="સવાર")return e;else if(t==="બપોર")return e>=10?e:e+12;else if(t==="સાંજ")return e+12},meridiem:function(e,t,i){if(e<4)return"રાત";else if(e<10)return"સવાર";else if(e<17)return"બપોર";else if(e<20)return"સાંજ";else return"રાત"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,976 bytes, line 1
1"./node_modules/moment/locale/he.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){if(e===2)return"שעתיים";return e+" שעות"},d:"יום",dd:function(e){if(e===2)return"יומיים";return e+" ימים"},M:"חודש",MM:function(e){if(e===2)return"חודשיים";return e+" חודשים"},y:"שנה",yy:function(e){if(e===2)return"שנתיים";else if(e%10===0&&e!==10)return e+" שנה";return e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,i){if(e<5)return"לפנות בוקר";else if(e<10)return"בבוקר";else if(e<12)return i?'לפנה"צ':"לפני הצהריים";else if(e<18)return i?'אחה"צ':"אחרי הצהריים";else return"בערב"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,388 bytes, line 1
1"./node_modules/moment/locale/hi.js":function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n;e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:true,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="रात")return e<4?e:e+12;else if(t==="सुबह")return e;else if(t==="दोपहर")return e>=10?e:e+12;else if(t==="शाम")return e+12},meridiem:function(e,t,i){if(e<4)return"रात";else if(e<10)return"सुबह";else if(e<17)return"दोपहर";else if(e<20)return"शाम";else return"रात"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,230 bytes, line 1
1"./node_modules/moment/locale/hr.js":function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":if(e===1)n+="sekunda";else if(e===2||e===3||e===4)n+="sekunde";else n+="sekundi";return n;case"m":return t?"jedna minuta":"jedne minute";case"mm":if(e===1)n+="minuta";else if(e===2||e===3||e===4)n+="minute";else n+="minuta";return n;case"h":return t?"jedan sat":"jednog sata";case"hh":if(e===1)n+="sat";else if(e===2||e===3||e===4)n+="sata";else n+="sati";return n;case"dd":if(e===1)n+="dan";else n+="dana";return n;case"MM":if(e===1)n+="mjesec";else if(e===2||e===3||e===4)n+="mjeseca";else n+="mjeseci";return n;case"yy":if(e===1)n+="godina";else if(e===2||e===3||e===4)n+="godine";else n+="godina";return n}}var i;e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,966 bytes, line 1
1"./node_modules/moment/locale/hu.js":function(e,t,i){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i;function n(e,t,i,n){var r=e;switch(i){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return r+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return r+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return r+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return r+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return r+(n||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return e.charAt(1).toLowerCase()==="u"},meridiem:function(e,t,i){if(e<12)return i===true?"de":"DE";else return i===true?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,true)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,false)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,112 bytes, line 1
1"./node_modules/moment/locale/hy-am.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){if(e<4)return"գիշերվա";else if(e<12)return"առավոտվա";else if(e<17)return"ցերեկվա";else return"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":if(e===1)return e+"-ին";return e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,344 bytes, line 1
1"./node_modules/moment/locale/id.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="siang")return e>=11?e:e+12;else if(t==="sore"||t==="malam")return e+12},meridiem:function(e,t,i){if(e<11)return"pagi";else if(e<15)return"siang";else if(e<19)return"sore";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,039 bytes, line 1
1"./node_modules/moment/locale/is.js":function(e,t,i){!function(e){"use strict";function s(e){if(e%100===11)return true;else if(e%10===1)return false;return true}function t(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":if(s(e))return r+(t||n?"sekúndur":"sekúndum");return r+"sekúnda";case"m":return t?"mínúta":"mínútu";case"mm":if(s(e))return r+(t||n?"mínútur":"mínútum");else if(t)return r+"mínúta";return r+"mínútu";case"hh":if(s(e))return r+(t||n?"klukkustundir":"klukkustundum");return r+"klukkustund";case"d":if(t)return"dagur";return n?"dag":"degi";case"dd":if(s(e)){if(t)return r+"dagar";return r+(n?"daga":"dögum")}else if(t)return r+"dagur";return r+(n?"dag":"degi");case"M":if(t)return"mánuður";return n?"mánuð":"mánuði";case"MM":if(s(e)){if(t)return r+"mánuðir";return r+(n?"mánuði":"mánuðum")}else if(t)return r+"mánuður";return r+(n?"mánuð":"mánuði");case"y":return t||n?"ár":"ári";case"yy":if(s(e))return r+(t||n?"ár":"árum");return r+(t||n?"ár":"ári")}}var i;e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,ss:t,m:t,mm:t,h:"klukkustund",hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,236 bytes, line 1
1"./node_modules/moment/locale/it-ch.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,553 bytes, line 1
1"./node_modules/moment/locale/it.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,211 bytes, line 1
1"./node_modules/moment/locale/ja.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return t[1]==="元"?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return e==="午後"},meridiem:function(e,t,i){if(e<12)return"午前";else return"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){if(e.week()!==this.week())return"[来週]dddd LT";else return"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){if(this.week()!==e.week())return"[先週]dddd LT";else return"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return e===1?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,409 bytes, line 1
1"./node_modules/moment/locale/jv.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="enjing")return e;else if(t==="siyang")return e>=11?e:e+12;else if(t==="sonten"||t==="ndalu")return e+12},meridiem:function(e,t,i){if(e<11)return"enjing";else if(e<15)return"siyang";else if(e<19)return"sonten";else return"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,452 bytes, line 1
1"./node_modules/moment/locale/ka.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,i){return i==="ი"?t+"ში":t+i+"ში"})},past:function(e){if(/(წამი|წუთი|საათი|დღე|თვე)/.test(e))return e.replace(/(ი|ე)$/,"ის წინ");if(/წელი/.test(e))return e.replace(/წელი$/,"წლის წინ");return e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){if(e===0)return e;if(e===1)return e+"-ლი";if(e<20||e<=100&&e%20===0||e%100===0)return"მე-"+e;return e+"-ე"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,697 bytes, line 1
1"./node_modules/moment/locale/kk.js":function(e,t,i){!function(e){"use strict";var n={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},t;e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,i=e>=100?100:null;return e+(n[e]||n[t]||n[i])},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,257 bytes, line 1
1"./node_modules/moment/locale/km.js":function(e,t,i){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},n;e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return e==="ល្ងាច"},meridiem:function(e,t,i){if(e<12)return"ព្រឹក";else return"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,772 bytes, line 1
1"./node_modules/moment/locale/kn.js":function(e,t,i){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n;e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:true,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="ರಾತ್ರಿ")return e<4?e:e+12;else if(t==="ಬೆಳಿಗ್ಗೆ")return e;else if(t==="ಮಧ್ಯಾಹ್ನ")return e>=10?e:e+12;else if(t==="ಸಂಜೆ")return e+12},meridiem:function(e,t,i){if(e<4)return"ರಾತ್ರಿ";else if(e<10)return"ಬೆಳಿಗ್ಗೆ";else if(e<17)return"ಮಧ್ಯಾಹ್ನ";else if(e<20)return"ಸಂಜೆ";else return"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,411 bytes, line 1
1"./node_modules/moment/locale/ko.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return e==="오후"},meridiem:function(e,t,i){return e<12?"오전":"오후"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,025 bytes, line 1
1"./node_modules/moment/locale/ku.js":function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r;e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,i){if(e<12)return"به‌یانی";else return"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,708 bytes, line 1
1"./node_modules/moment/locale/ky.js":function(e,t,i){!function(e){"use strict";var n={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},t;e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var t=e%10,i=e>=100?100:null;return e+(n[e]||n[t]||n[i])},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,852 bytes, line 1
1"./node_modules/moment/locale/lb.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function i(e){var t=e.substr(0,e.indexOf(" "));if(r(t))return"a "+e;return"an "+e}function n(e){var t=e.substr(0,e.indexOf(" "));if(r(t))return"viru "+e;return"virun "+e}function r(e){e=parseInt(e,10);if(isNaN(e))return false;if(e<0)return true;else if(e<10){if(4<=e&&e<=7)return true;return false}else if(e<100){var t=e%10,i=e/10;if(t===0)return r(i);return r(t)}else if(e<1e4){while(e>=10)e=e/10;return r(e)}else{e=e/1e3;return r(e)}}var s;e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:i,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,987 bytes, line 1
1"./node_modules/moment/locale/lo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return e==="ຕອນແລງ"},meridiem:function(e,t,i){if(e<12)return"ຕອນເຊົ້າ";else return"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,308 bytes, line 1
1"./node_modules/moment/locale/lt.js":function(e,t,i){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},i;function n(e,t,i,n){if(t)return"kelios sekundės";else return n?"kelių sekundžių":"kelias sekundes"}function s(e,t,i,n){return t?a(i)[0]:n?a(i)[1]:a(i)[2]}function o(e){return e%10===0||e>10&&e<20}function a(e){return t[e].split("_")}function r(e,t,i,n){var r=e+" ";if(e===1)return r+s(e,t,i[0],n);else if(t)return r+(o(e)?a(i)[1]:a(i)[0]);else if(n)return r+a(i)[1];else return r+(o(e)?a(i)[1]:a(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:r,m:s,mm:r,h:s,hh:r,d:s,dd:r,M:s,MM:r,y:s,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,842 bytes, line 1
1"./node_modules/moment/locale/lv.js":function(e,t,i){!function(e){"use strict";var n={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},t;function r(e,t,i){if(i)return t%10===1&&t%100!==11?e[2]:e[3];else return t%10===1&&t%100!==11?e[0]:e[1]}function i(e,t,i){return e+" "+r(n[i],e,t)}function s(e,t,i){return r(n[i],e,t)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,ss:i,m:s,mm:i,h:s,hh:i,d:s,dd:i,M:s,MM:i,y:s,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,996 bytes, line 1
1"./node_modules/moment/locale/me.js":function(e,t,i){!function(e){"use strict";var r={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return e===1?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,i){var n=r.words[i];if(i.length===1)return t?n[0]:n[1];else return e+" "+r.correctGrammaticalCase(e,n)}},t;e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:r.translate,m:r.translate,mm:r.translate,h:r.translate,hh:r.translate,d:"dan",dd:r.translate,M:"mjesec",MM:r.translate,y:"godinu",yy:r.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,405 bytes, line 1
1"./node_modules/moment/locale/mi.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,806 bytes, line 1
1"./node_modules/moment/locale/mk.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;if(e===0)return e+"-ев";else if(i===0)return e+"-ен";else if(i>10&&i<20)return e+"-ти";else if(t===1)return e+"-ви";else if(t===2)return e+"-ри";else if(t===7||t===8)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,404 bytes, line 1
1"./node_modules/moment/locale/ml.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:true,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){if(e===12)e=0;if(t==="രാത്രി"&&e>=4||t==="ഉച്ച കഴിഞ്ഞ്"||t==="വൈകുന്നേരം")return e+12;else return e},meridiem:function(e,t,i){if(e<4)return"രാത്രി";else if(e<12)return"രാവിലെ";else if(e<17)return"ഉച്ച കഴിഞ്ഞ്";else if(e<20)return"വൈകുന്നേരം";else return"രാത്രി"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,132 bytes, line 1
1"./node_modules/moment/locale/mn.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var i;e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:true,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return e==="ҮХ"},meridiem:function(e,t,i){if(e<12)return"ҮӨ";else return"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(i("./node_modules/moment/moment.js"))},
vendor: 3,464 bytes, line 1
1"./node_modules/moment/locale/mr.js":function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n;function r(e,t,i,n){var r="";if(t)switch(i){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(i){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:true,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="पहाटे"||t==="सकाळी")return e;else if(t==="दुपारी"||t==="सायंकाळी"||t==="रात्री")return e>=12?e:e+12},meridiem:function(e,t,i){if(e>=0&&e<6)return"पहाटे";else if(e<12)return"सकाळी";else if(e<17)return"दुपारी";else if(e<20)return"सायंकाळी";else return"रात्री"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,363 bytes, line 1
1"./node_modules/moment/locale/ms-my.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="tengahari")return e>=11?e:e+12;else if(t==="petang"||t==="malam")return e+12},meridiem:function(e,t,i){if(e<11)return"pagi";else if(e<15)return"tengahari";else if(e<19)return"petang";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,357 bytes, line 1
1"./node_modules/moment/locale/ms.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="tengahari")return e>=11?e:e+12;else if(t==="petang"||t==="malam")return e+12},meridiem:function(e,t,i){if(e<11)return"pagi";else if(e<15)return"tengahari";else if(e<19)return"petang";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,102 bytes, line 1
1"./node_modules/moment/locale/mt.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,059 bytes, line 1
1"./node_modules/moment/locale/my.js":function(e,t,i){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},n;e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,155 bytes, line 1
1"./node_modules/moment/locale/nb.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:true,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,596 bytes, line 1
1"./node_modules/moment/locale/ne.js":function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n;e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:true,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="राति")return e<4?e:e+12;else if(t==="बिहान")return e;else if(t==="दिउँसो")return e>=10?e:e+12;else if(t==="साँझ")return e+12},meridiem:function(e,t,i){if(e<3)return"राति";else if(e<12)return"बिहान";else if(e<16)return"दिउँसो";else if(e<20)return"साँझ";else return"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,955 bytes, line 1
1"./node_modules/moment/locale/nl-be.js":function(e,t,i){!function(e){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,s;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,949 bytes, line 1
1"./node_modules/moment/locale/nl.js":function(e,t,i){!function(e){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,s;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){if(!e)return i;else if(/-MMM-/.test(t))return n[e.month()];else return i[e.month()]},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,170 bytes, line 1
1"./node_modules/moment/locale/nn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:true,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,504 bytes, line 1
1"./node_modules/moment/locale/oc-lnc.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:true,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";if(t==="w"||t==="W")i="a";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,473 bytes, line 1
1"./node_modules/moment/locale/pa-in.js":function(e,t,i){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},n;e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="ਰਾਤ")return e<4?e:e+12;else if(t==="ਸਵੇਰ")return e;else if(t==="ਦੁਪਹਿਰ")return e>=10?e:e+12;else if(t==="ਸ਼ਾਮ")return e+12},meridiem:function(e,t,i){if(e<4)return"ਰਾਤ";else if(e<10)return"ਸਵੇਰ";else if(e<17)return"ਦੁਪਹਿਰ";else if(e<20)return"ਸ਼ਾਮ";else return"ਰਾਤ"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,036 bytes, line 1
1"./node_modules/moment/locale/pl.js":function(e,t,i){!function(e){"use strict";var i="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),t;function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function s(e,t,i){var n=e+" ";switch(i){case"ss":return n+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(r(e)?"godziny":"godzin");case"MM":return n+(r(e)?"miesiące":"miesięcy");case"yy":return n+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,t){if(!e)return i;else if(t==="")return"("+n[e.month()]+"|"+i[e.month()]+")";else if(/D MMMM/.test(t))return n[e.month()];else return i[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,242 bytes, line 1
1"./node_modules/moment/locale/pt-br.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(i("./node_modules/moment/moment.js"))},
vendor: 1,236 bytes, line 1
1"./node_modules/moment/locale/pt.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,157 bytes, line 1
1"./node_modules/moment/locale/ro.js":function(e,t,i){!function(e){"use strict";function t(e,t,i){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";if(e%100>=20||e>=100&&e%100===0)r=" de ";return e+r+n[i]}var i;e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:true,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 4,590 bytes, line 1
1"./node_modules/moment/locale/ru.js":function(e,t,i){!function(e){"use strict";function r(e,t){var i=e.split("_");return t%10===1&&t%100!==11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(e,t,i){var n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};if(i==="m")return t?"минута":"минуту";else return e+" "+r(n[i],+e)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],n;e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}else if(this.day()===2)return"[Во] dddd, [в] LT";else return"[В] dddd, [в] LT"},lastWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}else if(this.day()===2)return"[Во] dddd, [в] LT";else return"[В] dddd, [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,i){if(e<4)return"ночи";else if(e<12)return"утра";else if(e<17)return"дня";else return"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,287 bytes, line 1
1"./node_modules/moment/locale/sd.js":function(e,t,i){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],i=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],n;e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){if(e<12)return"صبح";return"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,254 bytes, line 1
1"./node_modules/moment/locale/se.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,005 bytes, line 1
1"./node_modules/moment/locale/si.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return e==="ප.ව."||e==="පස් වරු"},meridiem:function(e,t,i){if(e>11)return i?"ප.ව.":"පස් වරු";else return i?"පෙ.ව.":"පෙර වරු"}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,163 bytes, line 1
1"./node_modules/moment/locale/sk.js":function(e,t,i){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),n;function s(e){return e>1&&e<5}function r(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"pár sekúnd":"pár sekundami";case"ss":if(t||n)return r+(s(e)?"sekundy":"sekúnd");else return r+"sekundami";case"m":return t?"minúta":n?"minútu":"minútou";case"mm":if(t||n)return r+(s(e)?"minúty":"minút");else return r+"minútami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":if(t||n)return r+(s(e)?"hodiny":"hodín");else return r+"hodinami";case"d":return t||n?"deň":"dňom";case"dd":if(t||n)return r+(s(e)?"dni":"dní");else return r+"dňami";case"M":return t||n?"mesiac":"mesiacom";case"MM":if(t||n)return r+(s(e)?"mesiace":"mesiacov");else return r+"mesiacmi";case"y":return t||n?"rok":"rokom";case"yy":if(t||n)return r+(s(e)?"roky":"rokov");else return r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,594 bytes, line 1
1"./node_modules/moment/locale/sl.js":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":if(e===1)r+=t?"sekundo":"sekundi";else if(e===2)r+=t||n?"sekundi":"sekundah";else if(e<5)r+=t||n?"sekunde":"sekundah";else r+="sekund";return r;case"m":return t?"ena minuta":"eno minuto";case"mm":if(e===1)r+=t?"minuta":"minuto";else if(e===2)r+=t||n?"minuti":"minutama";else if(e<5)r+=t||n?"minute":"minutami";else r+=t||n?"minut":"minutami";return r;case"h":return t?"ena ura":"eno uro";case"hh":if(e===1)r+=t?"ura":"uro";else if(e===2)r+=t||n?"uri":"urama";else if(e<5)r+=t||n?"ure":"urami";else r+=t||n?"ur":"urami";return r;case"d":return t||n?"en dan":"enim dnem";case"dd":if(e===1)r+=t||n?"dan":"dnem";else if(e===2)r+=t||n?"dni":"dnevoma";else r+=t||n?"dni":"dnevi";return r;case"M":return t||n?"en mesec":"enim mesecem";case"MM":if(e===1)r+=t||n?"mesec":"mesecem";else if(e===2)r+=t||n?"meseca":"mesecema";else if(e<5)r+=t||n?"mesece":"meseci";else r+=t||n?"mesecev":"meseci";return r;case"y":return t||n?"eno leto":"enim letom";case"yy":if(e===1)r+=t||n?"leto":"letom";else if(e===2)r+=t||n?"leti":"letoma";else if(e<5)r+=t||n?"leta":"leti";else r+=t||n?"let":"leti";return r}}var i;e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,222 bytes, line 1
1"./node_modules/moment/locale/sq.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:true,meridiemParse:/PD|MD/,isPM:function(e){return e.charAt(0)==="M"},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,464 bytes, line 1
1"./node_modules/moment/locale/sr-cyrl.js":function(e,t,i){!function(e){"use strict";var r={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return e===1?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,i){var n=r.words[i];if(i.length===1)return t?n[0]:n[1];else return e+" "+r.correctGrammaticalCase(e,n)}},t;e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:true,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:r.translate,m:r.translate,mm:r.translate,h:r.translate,hh:r.translate,d:"дан",dd:r.translate,M:"месец",MM:r.translate,y:"годину",yy:r.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,978 bytes, line 1
1"./node_modules/moment/locale/sr.js":function(e,t,i){!function(e){"use strict";var r={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return e===1?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,i){var n=r.words[i];if(i.length===1)return t?n[0]:n[1];else return e+" "+r.correctGrammaticalCase(e,n)}},t;e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:r.translate,m:r.translate,mm:r.translate,h:r.translate,hh:r.translate,d:"dan",dd:r.translate,M:"mesec",MM:r.translate,y:"godinu",yy:r.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,527 bytes, line 1
1"./node_modules/moment/locale/ss.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,i){if(e<11)return"ekuseni";else if(e<15)return"emini";else if(e<19)return"entsambama";else return"ebusuku"},meridiemHour:function(e,t){if(e===12)e=0;if(t==="ekuseni")return e;else if(t==="emini")return e>=11?e:e+12;else if(t==="entsambama"||t==="ebusuku"){if(e===0)return 0;return e+12}},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,231 bytes, line 1
1"./node_modules/moment/locale/sv.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?":e":t===1?":a":t===2?":a":t===3?":e":":e";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,090 bytes, line 1
1"./node_modules/moment/locale/sw.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 3,077 bytes, line 1
1"./node_modules/moment/locale/ta.js":function(e,t,i){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},n;e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,i){if(e<2)return" யாமம்";else if(e<6)return" வைகறை";else if(e<10)return" காலை";else if(e<14)return" நண்பகல்";else if(e<18)return" எற்பாடு";else if(e<22)return" மாலை";else return" யாமம்"},meridiemHour:function(e,t){if(e===12)e=0;if(t==="யாமம்")return e<2?e:e+12;else if(t==="வைகறை"||t==="காலை")return e;else if(t==="நண்பகல்")return e>=10?e:e+12;else return e+12},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,312 bytes, line 1
1"./node_modules/moment/locale/te.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:true,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="రాత్రి")return e<4?e:e+12;else if(t==="ఉదయం")return e;else if(t==="మధ్యాహ్నం")return e>=10?e:e+12;else if(t==="సాయంత్రం")return e+12},meridiem:function(e,t,i){if(e<4)return"రాత్రి";else if(e<10)return"ఉదయం";else if(e<17)return"మధ్యాహ్నం";else if(e<20)return"సాయంత్రం";else return"రాత్రి"},week:{dow:0,doy:6}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,194 bytes, line 1
1"./node_modules/moment/locale/tet.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,084 bytes, line 1
1"./node_modules/moment/locale/tg.js":function(e,t,i){!function(e){"use strict";var n={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},t;e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="шаб")return e<4?e:e+12;else if(t==="субҳ")return e;else if(t==="рӯз")return e>=11?e:e+12;else if(t==="бегоҳ")return e+12},meridiem:function(e,t,i){if(e<4)return"шаб";else if(e<11)return"субҳ";else if(e<16)return"рӯз";else if(e<19)return"бегоҳ";else return"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var t=e%10,i=e>=100?100:null;return e+(n[e]||n[t]||n[i])},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,052 bytes, line 1
1"./node_modules/moment/locale/th.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:true,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return e==="หลังเที่ยง"},meridiem:function(e,t,i){if(e<12)return"ก่อนเที่ยง";else return"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,417 bytes, line 1
1"./node_modules/moment/locale/tk.js":function(e,t,i){!function(e){"use strict";var s={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},t;e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'unjy";var i=e%10,n=e%100-i,r=e>=100?100:null;return e+(s[i]||s[n]||s[r])}},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,142 bytes, line 1
1"./node_modules/moment/locale/tl-ph.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,080 bytes, line 1
1"./node_modules/moment/locale/tlh.js":function(e,t,i){!function(e){"use strict";var s="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),t;function i(e){var t=e;t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq";return t}function n(e){var t=e;t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret";return t}function r(e,t,i,n){var r=o(e);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function o(e){var t=Math.floor(e%1e3/100),i=Math.floor(e%100/10),n=e%10,r="";if(t>0)r+=s[t]+"vatlh";if(i>0)r+=(r!==""?" ":"")+s[i]+"maH";if(n>0)r+=(r!==""?" ":"")+s[n];return r===""?"pagh":r}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:true,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:i,past:n,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,581 bytes, line 1
1"./node_modules/moment/locale/tr.js":function(e,t,i){!function(e){"use strict";var s={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},t;e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){if(e<12)return i?"öö":"ÖÖ";else return i?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return e==="ös"||e==="ÖS"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'ıncı";var i=e%10,n=e%100-i,r=e>=100?100:null;return e+(s[i]||s[n]||s[r])}},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,596 bytes, line 1
1"./node_modules/moment/locale/tzl.js":function(e,t,i){!function(e){"use strict";var t;function i(e,t,i,n){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return n?r[i][0]:t?r[i][0]:r[i][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){if(e>11)return i?"d'o":"D'O";else return i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,110 bytes, line 1
1"./node_modules/moment/locale/tzm-latn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,747 bytes, line 1
1"./node_modules/moment/locale/tzm.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(i("./node_modules/moment/moment.js"))},
vendor: 2,389 bytes, line 1
1"./node_modules/moment/locale/ug-cn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="يېرىم كېچە"||t==="سەھەر"||t==="چۈشتىن بۇرۇن")return e;else if(t==="چۈشتىن كېيىن"||t==="كەچ")return e+12;else return e>=11?e:e+12},meridiem:function(e,t,i){var n=e*100+t;if(n<600)return"يېرىم كېچە";else if(n<900)return"سەھەر";else if(n<1130)return"چۈشتىن بۇرۇن";else if(n<1230)return"چۈش";else if(n<1800)return"چۈشتىن كېيىن";else return"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 3,313 bytes, line 1
1"./node_modules/moment/locale/uk.js":function(e,t,i){!function(e){"use strict";function r(e,t){var i=e.split("_");return t%10===1&&t%100!==11?i[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?i[1]:i[2]}function t(e,t,i){var n={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};if(i==="m")return t?"хвилина":"хвилину";else if(i==="h")return t?"година":"годину";else return e+" "+r(n[i],+e)}function i(e,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},n;if(e===true)return i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1));if(!e)return i["nominative"];n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return i[n][e.day()]}function n(e){return function(){return e+"о"+(this.hours()===11?"б":"")+"] LT"}}var s;e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,i){if(e<4)return"ночі";else if(e<12)return"ранку";else if(e<17)return"дня";else return"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,288 bytes, line 1
1"./node_modules/moment/locale/ur.js":function(e,t,i){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],n;e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){if(e<12)return"صبح";return"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,079 bytes, line 1
1"./node_modules/moment/locale/uz-latn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,358 bytes, line 1
1"./node_modules/moment/locale/uz.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,505 bytes, line 1
1"./node_modules/moment/locale/vi.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:true,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:true,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,i){if(e<12)return i?"sa":"SA";else return i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,461 bytes, line 1
1"./node_modules/moment/locale/x-pseudo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:true,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,i=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,329 bytes, line 1
1"./node_modules/moment/locale/yo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,918 bytes, line 1
1"./node_modules/moment/locale/zh-cn.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="下午"||t==="晚上")return e+12;else return e>=11?e:e+12},meridiem:function(e,t,i){var n=e*100+t;if(n<600)return"凌晨";else if(n<900)return"早上";else if(n<1130)return"上午";else if(n<1230)return"中午";else if(n<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){if(e.week()!==this.week())return"[下]dddLT";else return"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){if(this.week()!==e.week())return"[上]dddLT";else return"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,773 bytes, line 1
1"./node_modules/moment/locale/zh-hk.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,i){var n=e*100+t;if(n<600)return"凌晨";else if(n<900)return"早上";else if(n<1200)return"上午";else if(n===1200)return"中午";else if(n<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,776 bytes, line 1
1"./node_modules/moment/locale/zh-mo.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,i){var n=e*100+t;if(n<600)return"凌晨";else if(n<900)return"早上";else if(n<1130)return"上午";else if(n<1230)return"中午";else if(n<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i("./node_modules/moment/moment.js"))},
vendor: 1,776 bytes, line 1
1"./node_modules/moment/locale/zh-tw.js":function(e,t,i){!function(e){"use strict";var t;e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,i){var n=e*100+t;if(n<600)return"凌晨";else if(n<900)return"早上";else if(n<1130)return"上午";else if(n<1230)return"中午";else if(n<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i("./node_modules/moment/moment.js"))},
vendor: 62,033 bytes, line 1
1"./node_modules/moment/moment.js":function(e,t,uo){!function(lo){var co;lo.exports=function(){"use strict";var I,N;function u(){return I.apply(null,arguments)}function H(e){I=e}function o(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function F(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;else{var t;for(t in e)if(a(e,t))return false;return true}}function s(e){return e===void 0}function l(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function z(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function $(e,t){var i=[],n;for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function B(e,t){for(var i in t)if(a(t,i))e[i]=t[i];if(a(t,"toString"))e.toString=t.toString;if(a(t,"valueOf"))e.valueOf=t.valueOf;return e}function d(e,t,i,n){return Ki(e,t,i,n,true).utc()}function q(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function h(e){if(e._pf==null)e._pf=q();return e._pf}if(Array.prototype.some)N=Array.prototype.some;else N=function(e){var t=Object(this),i=t.length>>>0,n;for(n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return true;return false};function W(e){if(e._isValid==null){var t=h(e),i=N.call(t.parsedDateParts,function(e){return e!=null}),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&&i);if(e._strict)n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined;if(Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function V(e){var t=d(NaN);if(e!=null)B(h(t),e);else h(t).userInvalidated=true;return t}var U=u.momentProperties=[],X=false;function G(e,t){var i,n,r;if(!s(t._isAMomentObject))e._isAMomentObject=t._isAMomentObject;if(!s(t._i))e._i=t._i;if(!s(t._f))e._f=t._f;if(!s(t._l))e._l=t._l;if(!s(t._strict))e._strict=t._strict;if(!s(t._tzm))e._tzm=t._tzm;if(!s(t._isUTC))e._isUTC=t._isUTC;if(!s(t._offset))e._offset=t._offset;if(!s(t._pf))e._pf=h(t);if(!s(t._locale))e._locale=t._locale;if(U.length>0)for(i=0;i<U.length;i++){n=U[i];r=t[n];if(!s(r))e[n]=r}return e}function K(e){G(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid())this._d=new Date(NaN);if(X===false){X=true;u.updateOffset(this);X=false}}function c(e){return e instanceof K||e!=null&&e._isAMomentObject!=null}function Z(e){if(u.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn)console.warn("Deprecation warning: "+e)}function e(r,s){var o=true;return B(function(){if(u.deprecationHandler!=null)u.deprecationHandler(null,r);if(o){var e=[],t,i,n;for(i=0;i<arguments.length;i++){t="";if(typeof arguments[i]==="object"){t+="\n["+i+"] ";for(n in arguments[0])if(a(arguments[0],n))t+=n+": "+arguments[0][n]+", ";t=t.slice(0,-2)}else t=arguments[i];e.push(t)}Z(r+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);o=false}return s.apply(this,arguments)},s)}var J={},Q;function ee(e,t){if(u.deprecationHandler!=null)u.deprecationHandler(e,t);if(!J[e]){Z(t);J[e]=true}}function f(e){return typeof Function!=="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function te(e){var t,i;for(i in e)if(a(e,i)){t=e[i];if(f(t))this[i]=t;else this["_"+i]=t}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ie(e,t){var i=B({},e),n;for(n in t)if(a(t,n))if(F(e[n])&&F(t[n])){i[n]={};B(i[n],e[n]);B(i[n],t[n])}else if(t[n]!=null)i[n]=t[n];else delete i[n];for(n in e)if(a(e,n)&&!a(t,n)&&F(e[n]))i[n]=B({},i[n]);return i}function ne(e){if(e!=null)this.set(e)}if(u.suppressDeprecationWarnings=false,u.deprecationHandler=null,Object.keys)Q=Object.keys;else Q=function(e){var t,i=[];for(t in e)if(a(e,t))i.push(t);return i};var re={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function se(e,t,i){var n=this._calendar[e]||this._calendar["sameElse"];return f(n)?n.call(t,i):n}function p(e,t,i){var n=""+Math.abs(e),r=t-n.length,s=e>=0;return(s?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var oe=/(\[[^\[]*\])|(\\)?([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,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,le={},ce={};function n(e,t,i,n){var r=n;if(typeof n==="string")r=function(){return this[n]()};if(e)ce[e]=r;if(t)ce[t[0]]=function(){return p(r.apply(this,arguments),t[1],t[2])};if(i)ce[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)}}function ue(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|\]$/g,"");return e.replace(/\\/g,"")}function de(n){var r=n.match(oe),e,s;for(e=0,s=r.length;e<s;e++)if(ce[r[e]])r[e]=ce[r[e]];else r[e]=ue(r[e]);return function(e){var t="",i;for(i=0;i<s;i++)t+=f(r[i])?r[i].call(e,n):r[i];return t}}function he(e,t){if(!e.isValid())return e.localeData().invalidDate();t=fe(t,e.localeData());le[t]=le[t]||de(t);return le[t](e)}function fe(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}ae.lastIndex=0;while(i>=0&&ae.test(e)){e=e.replace(ae,n);ae.lastIndex=0;i-=1}return e}var pe={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"};function me(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];if(t||!i)return t;this._longDateFormat[e]=i.match(oe).map(function(e){if(e==="MMMM"||e==="MM"||e==="DD"||e==="dddd")return e.slice(1);return e}).join("");return this._longDateFormat[e]}var ge="Invalid date";function ve(){return this._invalidDate}var ye="%d",be=/\d{1,2}/;function _e(e){return this._ordinal.replace("%d",e)}var xe={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"};function we(e,t,i,n){var r=this._relativeTime[i];return f(r)?r(e,t,i,n):r.replace(/%d/i,e)}function ke(e,t){var i=this._relativeTime[e>0?"future":"past"];return f(i)?i(t):i.replace(/%s/i,t)}var Se={};function t(e,t){var i=e.toLowerCase();Se[i]=Se[i+"s"]=Se[t]=e}function m(e){return typeof e==="string"?Se[e]||Se[e.toLowerCase()]:undefined}function Me(e){var t={},i,n;for(n in e)if(a(e,n)){i=m(n);if(i)t[i]=e[n]}return t}var Ce={};function i(e,t){Ce[e]=t}function Le(e){var t=[],i;for(i in e)if(a(e,i))t.push({unit:i,priority:Ce[i]});t.sort(function(e,t){return e.priority-t.priority});return t}function Te(e){return e%4===0&&e%100!==0||e%400===0}function g(e){if(e<0)return Math.ceil(e)||0;else return Math.floor(e)}function v(e){var t=+e,i=0;if(t!==0&&isFinite(t))i=g(t);return i}function De(t,i){return function(e){if(e!=null){Ae(this,t,e);u.updateOffset(this,i);return this}else return Ee(this,t)}}function Ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ae(e,t,i){if(e.isValid()&&!isNaN(i))if(t==="FullYear"&&Te(e.year())&&e.month()===1&&e.date()===29){i=v(i);e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),st(i,e.month()))}else e._d["set"+(e._isUTC?"UTC":"")+t](i)}function je(e){e=m(e);if(f(this[e]))return this[e]();return this}function Oe(e,t){if(typeof e==="object"){e=Me(e);var i=Le(e),n;for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else{e=m(e);if(f(this[e]))return this[e](t)}return this}var Pe=/\d/,r=/\d\d/,Ye=/\d{3}/,Ie=/\d{4}/,Ne=/[+-]?\d{6}/,y=/\d\d?/,He=/\d\d\d\d?/,Fe=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,ze=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Be=/\d+/,qe=/[+-]?\d+/,We=/Z|[+-]\d\d:?\d\d/gi,Ve=/Z|[+-]\d\d(?::?\d\d)?/gi,Ue=/[+-]?\d+(\.\d{1,3})?/,Xe=/[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,Ge;function b(e,i,n){Ge[e]=f(i)?i:function(e,t){return e&&n?n:i}}function Ke(e,t){if(!a(Ge,e))return new RegExp(Ze(e));return Ge[e](t._strict,t._locale)}function Ze(e){return _(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r}))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ge={},Je={};function x(e,i){var t,n=i;if(typeof e==="string")e=[e];if(l(i))n=function(e,t){t[i]=v(e)};for(t=0;t<e.length;t++)Je[e[t]]=n}function Qe(e,r){x(e,function(e,t,i,n){i._w=i._w||{};r(e,i._w,i,n)})}function et(e,t,i){if(t!=null&&a(Je,e))Je[e](t,i._a,i,e)}var w=0,k=1,S=2,M=3,C=4,L=5,tt=6,it=7,nt=8,T;function rt(e,t){return(e%t+t)%t}if(Array.prototype.indexOf)T=Array.prototype.indexOf;else T=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function st(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=rt(t,12);e+=(t-i)/12;return i===1?Te(e)?29:28:31-i%7%2}n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),n("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),i("month",8),b("M",y),b("MM",y,r),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[k]=v(e)-1}),x(["MMM","MMMM"],function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);if(r!=null)t[k]=r;else h(i).invalidMonth=e});var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ct=Xe,ut=Xe;function dt(e,t){if(!e)return o(this._months)?this._months:this._months["standalone"];return o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||lt).test(t)?"format":"standalone"][e.month()]}function ht(e,t){if(!e)return o(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"];return o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[lt.test(t)?"format":"standalone"][e.month()]}function ft(e,t,i){var n,r,s,o=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(n=0;n<12;++n){s=d([2e3,n]);this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase();this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase()}}if(i)if(t==="MMM"){r=T.call(this._shortMonthsParse,o);return r!==-1?r:null}else{r=T.call(this._longMonthsParse,o);return r!==-1?r:null}else if(t==="MMM"){r=T.call(this._shortMonthsParse,o);if(r!==-1)return r;r=T.call(this._longMonthsParse,o);return r!==-1?r:null}else{r=T.call(this._longMonthsParse,o);if(r!==-1)return r;r=T.call(this._shortMonthsParse,o);return r!==-1?r:null}}function pt(e,t,i){var n,r,s;if(this._monthsParseExact)return ft.call(this,e,t,i);if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(n=0;n<12;n++){r=d([2e3,n]);if(i&&!this._longMonthsParse[n]){this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i");this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")}if(!i&&!this._monthsParse[n]){s="^"+this.months(r,"")+"|^"+this.monthsShort(r,"");this._monthsParse[n]=new RegExp(s.replace(".",""),"i")}if(i&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;else if(i&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;else if(!i&&this._monthsParse[n].test(e))return n}}function mt(e,t){var i;if(!e.isValid())return e;if(typeof t==="string")if(/^\d+$/.test(t))t=v(t);else{t=e.localeData().monthsParse(t);if(!l(t))return e}i=Math.min(e.date(),st(e.year(),t));e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i);return e}function gt(e){if(e!=null){mt(this,e);u.updateOffset(this,true);return this}else return Ee(this,"Month")}function vt(){return st(this.year(),this.month())}function yt(e){if(this._monthsParseExact){if(!a(this,"_monthsRegex"))_t.call(this);if(e)return this._monthsShortStrictRegex;else return this._monthsShortRegex}else{if(!a(this,"_monthsShortRegex"))this._monthsShortRegex=ct;return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}}function bt(e){if(this._monthsParseExact){if(!a(this,"_monthsRegex"))_t.call(this);if(e)return this._monthsStrictRegex;else return this._monthsRegex}else{if(!a(this,"_monthsRegex"))this._monthsRegex=ut;return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}}function _t(){function e(e,t){return t.length-e.length}var t=[],i=[],n=[],r,s;for(r=0;r<12;r++){s=d([2e3,r]);t.push(this.monthsShort(s,""));i.push(this.months(s,""));n.push(this.months(s,""));n.push(this.monthsShort(s,""))}t.sort(e);i.sort(e);n.sort(e);for(r=0;r<12;r++){t[r]=_(t[r]);i[r]=_(i[r])}for(r=0;r<24;r++)n[r]=_(n[r]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xt(e){return Te(e)?366:365}n("Y",0,0,function(){var e=this.year();return e<=9999?p(e,4):"+"+e}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,true],0,"year"),t("year","y"),i("year",1),b("Y",qe),b("YY",y,r),b("YYYY",ze,Ie),b("YYYYY",$e,Ne),b("YYYYYY",$e,Ne),x(["YYYYY","YYYYYY"],w),x("YYYY",function(e,t){t[w]=e.length===2?u.parseTwoDigitYear(e):v(e)}),x("YY",function(e,t){t[w]=u.parseTwoDigitYear(e)}),x("Y",function(e,t){t[w]=parseInt(e,10)}),u.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var wt=De("FullYear",true);function kt(){return Te(this.year())}function St(e,t,i,n,r,s,o){var a;if(e<100&&e>=0){a=new Date(e+400,t,i,n,r,s,o);if(isFinite(a.getFullYear()))a.setFullYear(e)}else a=new Date(e,t,i,n,r,s,o);return a}function Mt(e){var t,i;if(e<100&&e>=0){i=Array.prototype.slice.call(arguments);i[0]=e+400;t=new Date(Date.UTC.apply(null,i));if(isFinite(t.getUTCFullYear()))t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ct(e,t,i){var n=7+t-i,r=(7+Mt(e,0,n).getUTCDay()-t)%7;return-r+n-1}function Lt(e,t,i,n,r){var s=(7+i-n)%7,o=Ct(e,n,r),a=1+7*(t-1)+s+o,l,c;if(a<=0){l=e-1;c=xt(l)+a}else if(a>xt(e)){l=e+1;c=a-xt(e)}else{l=e;c=a}return{year:l,dayOfYear:c}}function Tt(e,t,i){var n=Ct(e.year(),t,i),r=Math.floor((e.dayOfYear()-n-1)/7)+1,s,o;if(r<1){o=e.year()-1;s=r+D(o,t,i)}else if(r>D(e.year(),t,i)){s=r-D(e.year(),t,i);o=e.year()+1}else{o=e.year();s=r}return{week:s,year:o}}function D(e,t,i){var n=Ct(e,t,i),r=Ct(e+1,t,i);return(xt(e)-n+r)/7}function Dt(e){return Tt(e,this._week.dow,this._week.doy).week}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),i("week",5),i("isoWeek",5),b("w",y),b("ww",y,r),b("W",y),b("WW",y,r),Qe(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=v(e)});var Et={dow:0,doy:6};function At(){return this._week.dow}function jt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Pt(e){var t=Tt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Yt(e,t){if(typeof e!=="string")return e;if(!isNaN(e))return parseInt(e,10);e=t.weekdaysParse(e);if(typeof e==="number")return e;return null}function It(e,t){if(typeof e==="string")return t.weekdaysParse(e)%7||7;return isNaN(e)?null:e}function Nt(e,t){return e.slice(t,7).concat(e.slice(0,t))}n("d",0,"do","day"),n("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),n("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),n("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),i("day",11),i("weekday",11),i("isoWeekday",11),b("d",y),b("e",y),b("E",y),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Qe(["dd","ddd","dddd"],function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);if(r!=null)t.d=r;else h(i).invalidWeekday=e}),Qe(["d","e","E"],function(e,t,i,n){t[n]=v(e)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zt=Xe,$t=Xe,Bt=Xe;function qt(e,t){var i=o(this._weekdays)?this._weekdays:this._weekdays[e&&e!==true&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===true?Nt(i,this._week.dow):e?i[e.day()]:i}function Wt(e){return e===true?Nt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return e===true?Nt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,i){var n,r,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(n=0;n<7;++n){s=d([2e3,1]).day(n);this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase();this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase();this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase()}}if(i)if(t==="dddd"){r=T.call(this._weekdaysParse,o);return r!==-1?r:null}else if(t==="ddd"){r=T.call(this._shortWeekdaysParse,o);return r!==-1?r:null}else{r=T.call(this._minWeekdaysParse,o);return r!==-1?r:null}else if(t==="dddd"){r=T.call(this._weekdaysParse,o);if(r!==-1)return r;r=T.call(this._shortWeekdaysParse,o);if(r!==-1)return r;r=T.call(this._minWeekdaysParse,o);return r!==-1?r:null}else if(t==="ddd"){r=T.call(this._shortWeekdaysParse,o);if(r!==-1)return r;r=T.call(this._weekdaysParse,o);if(r!==-1)return r;r=T.call(this._minWeekdaysParse,o);return r!==-1?r:null}else{r=T.call(this._minWeekdaysParse,o);if(r!==-1)return r;r=T.call(this._weekdaysParse,o);if(r!==-1)return r;r=T.call(this._shortWeekdaysParse,o);return r!==-1?r:null}}function Xt(e,t,i){var n,r,s;if(this._weekdaysParseExact)return Ut.call(this,e,t,i);if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(n=0;n<7;n++){r=d([2e3,1]).day(n);if(i&&!this._fullWeekdaysParse[n]){this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[n]){s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,"");this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")}if(i&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;else if(i&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;else if(i&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;else if(!i&&this._weekdaysParse[n].test(e))return n}}function Gt(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();if(e!=null){e=Yt(e,this.localeData());return this.add(e-t,"d")}else return t}function Kt(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Zt(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Jt(e){if(this._weekdaysParseExact){if(!a(this,"_weekdaysRegex"))ti.call(this);if(e)return this._weekdaysStrictRegex;else return this._weekdaysRegex}else{if(!a(this,"_weekdaysRegex"))this._weekdaysRegex=zt;return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}}function Qt(e){if(this._weekdaysParseExact){if(!a(this,"_weekdaysRegex"))ti.call(this);if(e)return this._weekdaysShortStrictRegex;else return this._weekdaysShortRegex}else{if(!a(this,"_weekdaysShortRegex"))this._weekdaysShortRegex=$t;return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}function ei(e){if(this._weekdaysParseExact){if(!a(this,"_weekdaysRegex"))ti.call(this);if(e)return this._weekdaysMinStrictRegex;else return this._weekdaysMinRegex}else{if(!a(this,"_weekdaysMinRegex"))this._weekdaysMinRegex=Bt;return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function ti(){function e(e,t){return t.length-e.length}var t=[],i=[],n=[],r=[],s,o,a,l,c;for(s=0;s<7;s++){o=d([2e3,1]).day(s);a=_(this.weekdaysMin(o,""));l=_(this.weekdaysShort(o,""));c=_(this.weekdays(o,""));t.push(a);i.push(l);n.push(c);r.push(a);r.push(l);r.push(c)}t.sort(e);i.sort(e);n.sort(e);r.sort(e);this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ii(){return this.hours()%12||12}function ni(){return this.hours()||24}function ri(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function si(e,t){return t._meridiemParse}function oi(e){return(e+"").toLowerCase().charAt(0)==="p"}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,ii),n("k",["kk",2],0,ni),n("hmm",0,0,function(){return""+ii.apply(this)+p(this.minutes(),2)}),n("hmmss",0,0,function(){return""+ii.apply(this)+p(this.minutes(),2)+p(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+p(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+p(this.minutes(),2)+p(this.seconds(),2)}),ri("a",true),ri("A",false),t("hour","h"),i("hour",13),b("a",si),b("A",si),b("H",y),b("h",y),b("k",y),b("HH",y,r),b("hh",y,r),b("kk",y,r),b("hmm",He),b("hmmss",Fe),b("Hmm",He),b("Hmmss",Fe),x(["H","HH"],M),x(["k","kk"],function(e,t,i){var n=v(e);t[M]=n===24?0:n}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e);i._meridiem=e}),x(["h","hh"],function(e,t,i){t[M]=v(e);h(i).bigHour=true}),x("hmm",function(e,t,i){var n=e.length-2;t[M]=v(e.substr(0,n));t[C]=v(e.substr(n));h(i).bigHour=true}),x("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[M]=v(e.substr(0,n));t[C]=v(e.substr(n,2));t[L]=v(e.substr(r));h(i).bigHour=true}),x("Hmm",function(e,t,i){var n=e.length-2;t[M]=v(e.substr(0,n));t[C]=v(e.substr(n))}),x("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[M]=v(e.substr(0,n));t[C]=v(e.substr(n,2));t[L]=v(e.substr(r))});var ai,li=De("Hours",true);function ci(e,t,i){if(e>11)return i?"pm":"PM";else return i?"am":"AM"}var ui={calendar:re,longDateFormat:pe,invalidDate:ge,ordinal:ye,dayOfMonthOrdinalParse:be,relativeTime:xe,months:ot,monthsShort:at,week:Et,weekdays:Ht,weekdaysMin:Rt,weekdaysShort:Ft,meridiemParse:/[ap]\.?m?\.?/i},E={},di={},hi;function fi(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function pi(e){return e?e.toLowerCase().replace("_","-"):e}function mi(e){var t=0,i,n,r,s;while(t<e.length){s=pi(e[t]).split("-");i=s.length;n=pi(e[t+1]);n=n?n.split("-"):null;while(i>0){r=gi(s.slice(0,i).join("-"));if(r)return r;if(n&&n.length>=i&&fi(s,n)>=i-1)break;i--}t++}return hi}function gi(t){var e=null,i;if(E[t]===undefined&&typeof lo!=="undefined"&&lo&&lo.exports)try{e=hi._abbr;i=co;uo("./node_modules/moment/locale sync recursive ^\\.\\/.*$")("./"+t);vi(e)}catch(e){E[t]=null}return E[t]}function vi(e,t){var i;if(e){if(s(t))i=_i(e);else i=yi(e,t);if(i)hi=i;else if(typeof console!=="undefined"&&console.warn)console.warn("Locale "+e+" not found. Did you forget to load it?")}return hi._abbr}function yi(e,t){if(t!==null){var i,n=ui;t.abbr=e;if(E[e]!=null){ee("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.");n=E[e]._config}else if(t.parentLocale!=null)if(E[t.parentLocale]!=null)n=E[t.parentLocale]._config;else{i=gi(t.parentLocale);if(i!=null)n=i._config;else{if(!di[t.parentLocale])di[t.parentLocale]=[];di[t.parentLocale].push({name:e,config:t});return null}}E[e]=new ne(ie(n,t));if(di[e])di[e].forEach(function(e){yi(e.name,e.config)});vi(e);return E[e]}else{delete E[e];return null}}function bi(e,t){if(t!=null){var i,n,r=ui;if(E[e]!=null&&E[e].parentLocale!=null)E[e].set(ie(E[e]._config,t));else{n=gi(e);if(n!=null)r=n._config;t=ie(r,t);if(n==null)t.abbr=e;i=new ne(t);i.parentLocale=E[e];E[e]=i}vi(e)}else if(E[e]!=null)if(E[e].parentLocale!=null){E[e]=E[e].parentLocale;if(e===vi())vi(e)}else if(E[e]!=null)delete E[e];return E[e]}function _i(e){var t;if(e&&e._locale&&e._locale._abbr)e=e._locale._abbr;if(!e)return hi;if(!o(e)){t=gi(e);if(t)return t;e=[e]}return mi(e)}function xi(){return Q(E)}function wi(e){var t,i=e._a;if(i&&h(e).overflow===-2){t=i[k]<0||i[k]>11?k:i[S]<1||i[S]>st(i[w],i[k])?S:i[M]<0||i[M]>24||i[M]===24&&(i[C]!==0||i[L]!==0||i[tt]!==0)?M:i[C]<0||i[C]>59?C:i[L]<0||i[L]>59?L:i[tt]<0||i[tt]>999?tt:-1;if(h(e)._overflowDayOfYear&&(t<w||t>S))t=S;if(h(e)._overflowWeeks&&t===-1)t=it;if(h(e)._overflowWeekday&&t===-1)t=nt;h(e).overflow=t}return e}var ki=/^\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)?)?$/,Si=/^\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)?)?$/,Mi=/Z|[+-]\d\d(?::?\d\d)?/,Ci=[["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/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,false],["YYYY",/\d{4}/,false]],Li=[["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/]],Ti=/^\/?Date\((-?\d+)/i,Di=/^(?:(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}))$/,Ei={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ai(e){var t,i,n=e._i,r=ki.exec(n)||Si.exec(n),s,o,a,l;if(r){h(e).iso=true;for(t=0,i=Ci.length;t<i;t++)if(Ci[t][1].exec(r[1])){o=Ci[t][0];s=Ci[t][2]!==false;break}if(o==null){e._isValid=false;return}if(r[3]){for(t=0,i=Li.length;t<i;t++)if(Li[t][1].exec(r[3])){a=(r[2]||" ")+Li[t][0];break}if(a==null){e._isValid=false;return}}if(!s&&a!=null){e._isValid=false;return}if(r[4])if(Mi.exec(r[4]))l="Z";else{e._isValid=false;return}e._f=o+(a||"")+(l||"");Bi(e)}else e._isValid=false}function ji(e,t,i,n,r,s){var o=[Oi(e),at.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];if(s)o.push(parseInt(s,10));return o}function Oi(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;else if(t<=999)return 1900+t;return t}function Pi(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Yi(e,t,i){if(e){var n=Ft.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(n!==r){h(i).weekdayMismatch=true;i._isValid=false;return false}}return true}function Ii(e,t,i){if(e)return Ei[e];else if(t)return 0;else{var n=parseInt(i,10),r=n%100,s=(n-r)/100;return s*60+r}}function Ni(e){var t=Di.exec(Pi(e._i)),i;if(t){i=ji(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Yi(t[1],i,e))return;e._a=i;e._tzm=Ii(t[8],t[9],t[10]);e._d=Mt.apply(null,e._a);e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);h(e).rfc2822=true}else e._isValid=false}function Hi(e){var t=Ti.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}Ai(e);if(e._isValid===false)delete e._isValid;else return;Ni(e);if(e._isValid===false)delete e._isValid;else return;if(e._strict)e._isValid=false;else u.createFromInputFallback(e)}function Fi(e,t,i){if(e!=null)return e;if(t!=null)return t;return i}function Ri(e){var t=new Date(u.now());if(e._useUTC)return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()];return[t.getFullYear(),t.getMonth(),t.getDate()]}function zi(e){var t,i,n=[],r,s,o;if(e._d)return;r=Ri(e);if(e._w&&e._a[S]==null&&e._a[k]==null)$i(e);if(e._dayOfYear!=null){o=Fi(e._a[w],r[w]);if(e._dayOfYear>xt(o)||e._dayOfYear===0)h(e)._overflowDayOfYear=true;i=Mt(o,0,e._dayOfYear);e._a[k]=i.getUTCMonth();e._a[S]=i.getUTCDate()}for(t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=r[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];if(e._a[M]===24&&e._a[C]===0&&e._a[L]===0&&e._a[tt]===0){e._nextDay=true;e._a[M]=0}e._d=(e._useUTC?Mt:St).apply(null,n);s=e._useUTC?e._d.getUTCDay():e._d.getDay();if(e._tzm!=null)e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);if(e._nextDay)e._a[M]=24;if(e._w&&typeof e._w.d!=="undefined"&&e._w.d!==s)h(e).weekdayMismatch=true}function $i(e){var t,i,n,r,s,o,a,l,c;t=e._w;if(t.GG!=null||t.W!=null||t.E!=null){s=1;o=4;i=Fi(t.GG,e._a[w],Tt(A(),1,4).year);n=Fi(t.W,1);r=Fi(t.E,1);if(r<1||r>7)l=true}else{s=e._locale._week.dow;o=e._locale._week.doy;c=Tt(A(),s,o);i=Fi(t.gg,e._a[w],c.year);n=Fi(t.w,c.week);if(t.d!=null){r=t.d;if(r<0||r>6)l=true}else if(t.e!=null){r=t.e+s;if(t.e<0||t.e>6)l=true}else r=s}if(n<1||n>D(i,s,o))h(e)._overflowWeeks=true;else if(l!=null)h(e)._overflowWeekday=true;else{a=Lt(i,n,r,s,o);e._a[w]=a.year;e._dayOfYear=a.dayOfYear}}function Bi(e){if(e._f===u.ISO_8601){Ai(e);return}if(e._f===u.RFC_2822){Ni(e);return}e._a=[];h(e).empty=true;var t=""+e._i,i,n,r,s,o,a=t.length,l=0,c;r=fe(e._f,e._locale).match(oe)||[];for(i=0;i<r.length;i++){s=r[i];n=(t.match(Ke(s,e))||[])[0];if(n){o=t.substr(0,t.indexOf(n));if(o.length>0)h(e).unusedInput.push(o);t=t.slice(t.indexOf(n)+n.length);l+=n.length}if(ce[s]){if(n)h(e).empty=false;else h(e).unusedTokens.push(s);et(s,n,e)}else if(e._strict&&!n)h(e).unusedTokens.push(s)}h(e).charsLeftOver=a-l;if(t.length>0)h(e).unusedInput.push(t);if(e._a[M]<=12&&h(e).bigHour===true&&e._a[M]>0)h(e).bigHour=undefined;h(e).parsedDateParts=e._a.slice(0);h(e).meridiem=e._meridiem;e._a[M]=qi(e._locale,e._a[M],e._meridiem);c=h(e).era;if(c!==null)e._a[w]=e._locale.erasConvertYear(c,e._a[w]);zi(e);wi(e)}function qi(e,t,i){var n;if(i==null)return t;if(e.meridiemHour!=null)return e.meridiemHour(t,i);else if(e.isPM!=null){n=e.isPM(i);if(n&&t<12)t+=12;if(!n&&t===12)t=0;return t}else return t}function Wi(e){var t,i,n,r,s,o,a=false;if(e._f.length===0){h(e).invalidFormat=true;e._d=new Date(NaN);return}for(r=0;r<e._f.length;r++){s=0;o=false;t=G({},e);if(e._useUTC!=null)t._useUTC=e._useUTC;t._f=e._f[r];Bi(t);if(W(t))o=true;s+=h(t).charsLeftOver;s+=h(t).unusedTokens.length*10;h(t).score=s;if(!a){if(n==null||s<n||o){n=s;i=t;if(o)a=true}}else if(s<n){n=s;i=t}}B(e,i||t)}function Vi(e){if(e._d)return;var t=Me(e._i),i=t.day===undefined?t.date:t.day;e._a=$([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)});zi(e)}function Ui(e){var t=new K(wi(Xi(e)));if(t._nextDay){t.add(1,"d");t._nextDay=undefined}return t}function Xi(e){var t=e._i,i=e._f;e._locale=e._locale||_i(e._l);if(t===null||i===undefined&&t==="")return V({nullInput:true});if(typeof t==="string")e._i=t=e._locale.preparse(t);if(c(t))return new K(wi(t));else if(z(t))e._d=t;else if(o(i))Wi(e);else if(i)Bi(e);else Gi(e);if(!W(e))e._d=null;return e}function Gi(e){var t=e._i;if(s(t))e._d=new Date(u.now());else if(z(t))e._d=new Date(t.valueOf());else if(typeof t==="string")Hi(e);else if(o(t)){e._a=$(t.slice(0),function(e){return parseInt(e,10)});zi(e)}else if(F(t))Vi(e);else if(l(t))e._d=new Date(t);else u.createFromInputFallback(e)}function Ki(e,t,i,n,r){var s={};if(t===true||t===false){n=t;t=undefined}if(i===true||i===false){n=i;i=undefined}if(F(e)&&R(e)||o(e)&&e.length===0)e=undefined;s._isAMomentObject=true;s._useUTC=s._isUTC=r;s._l=i;s._i=e;s._f=t;s._strict=n;return Ui(s)}function A(e,t,i,n){return Ki(e,t,i,n,false)}u.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 and will be removed in an upcoming major release. Please refer to "+"http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),u.ISO_8601=function(){},u.RFC_2822=function(){};var Zi=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);if(this.isValid()&&e.isValid())return e<this?this:e;else return V()}),Ji=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);if(this.isValid()&&e.isValid())return e>this?this:e;else return V()});function Qi(e,t){var i,n;if(t.length===1&&o(t[0]))t=t[0];if(!t.length)return A();i=t[0];for(n=1;n<t.length;++n)if(!t[n].isValid()||t[n][e](i))i=t[n];return i}function en(){var e=[].slice.call(arguments,0);return Qi("isBefore",e)}function tn(){var e=[].slice.call(arguments,0);return Qi("isAfter",e)}var nn=function(){return Date.now?Date.now():+new Date},rn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function sn(e){var t,i=false,n;for(t in e)if(a(e,t)&&!(T.call(rn,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return false;for(n=0;n<rn.length;++n)if(e[rn[n]]){if(i)return false;if(parseFloat(e[rn[n]])!==v(e[rn[n]]))i=true}return true}function on(){return this._isValid}function an(){return j(NaN)}function ln(e){var t=Me(e),i=t.year||0,n=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=sn(t);this._milliseconds=+u+c*1e3+l*6e4+a*1e3*60*60;this._days=+o+s*7;this._months=+r+n*3+i*12;this._data={};this._locale=_i();this._bubble()}function cn(e){return e instanceof ln}function un(e){if(e<0)return Math.round(-1*e)*-1;else return Math.round(e)}function dn(e,t,i){var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0,o;for(o=0;o<n;o++)if(i&&e[o]!==t[o]||!i&&v(e[o])!==v(t[o]))s++;return s+r}function hn(e,i){n(e,0,0,function(){var e=this.utcOffset(),t="+";if(e<0){e=-e;t="-"}return t+p(~~(e/60),2)+i+p(~~e%60,2)})}hn("Z",":"),hn("ZZ",""),b("Z",Ve),b("ZZ",Ve),x(["Z","ZZ"],function(e,t,i){i._useUTC=true;i._tzm=pn(Ve,e)});var fn=/([\+\-]|\d\d)/gi;function pn(e,t){var i=(t||"").match(e),n,r,s;if(i===null)return null;n=i[i.length-1]||[];r=(n+"").match(fn)||["-",0,0];s=+(r[1]*60)+v(r[2]);return s===0?0:r[0]==="+"?s:-s}function mn(e,t){var i,n;if(t._isUTC){i=t.clone();n=(c(e)||z(e)?e.valueOf():A(e).valueOf())-i.valueOf();i._d.setTime(i._d.valueOf()+n);u.updateOffset(i,false);return i}else return A(e).local()}function gn(e){return-Math.round(e._d.getTimezoneOffset())}function vn(e,t,i){var n=this._offset||0,r;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e==="string"){e=pn(Ve,e);if(e===null)return this}else if(Math.abs(e)<16&&!i)e=e*60;if(!this._isUTC&&t)r=gn(this);this._offset=e;this._isUTC=true;if(r!=null)this.add(r,"m");if(n!==e)if(!t||this._changeInProgress)Pn(this,j(e-n,"m"),1,false);else if(!this._changeInProgress){this._changeInProgress=true;u.updateOffset(this,true);this._changeInProgress=null}return this}else return this._isUTC?n:gn(this)}function yn(e,t){if(e!=null){if(typeof e!=="string")e=-e;this.utcOffset(e,t);return this}else return-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function _n(e){if(this._isUTC){this.utcOffset(0,e);this._isUTC=false;if(e)this.subtract(gn(this),"m")}return this}function xn(){if(this._tzm!=null)this.utcOffset(this._tzm,false,true);else if(typeof this._i==="string"){var e=pn(We,this._i);if(e!=null)this.utcOffset(e);else this.utcOffset(0,true)}return this}function wn(e){if(!this.isValid())return false;e=e?A(e).utcOffset():0;return(this.utcOffset()-e)%60===0}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sn(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={},t;G(e,this);e=Xi(e);if(e._a){t=e._isUTC?d(e._a):A(e._a);this._isDSTShifted=this.isValid()&&dn(e._a,t.toArray())>0}else this._isDSTShifted=false;return this._isDSTShifted}function Mn(){return this.isValid()?!this._isUTC:false}function Cn(){return this.isValid()?this._isUTC:false}function Ln(){return this.isValid()?this._isUTC&&this._offset===0:false}u.updateOffset=function(){};var Tn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Dn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function j(e,t){var i=e,n=null,r,s,o;if(cn(e))i={ms:e._milliseconds,d:e._days,M:e._months};else if(l(e)||!isNaN(+e)){i={};if(t)i[t]=+e;else i.milliseconds=+e}else if(n=Tn.exec(e)){r=n[1]==="-"?-1:1;i={y:0,d:v(n[S])*r,h:v(n[M])*r,m:v(n[C])*r,s:v(n[L])*r,ms:v(un(n[tt]*1e3))*r}}else if(n=Dn.exec(e)){r=n[1]==="-"?-1:1;i={y:En(n[2],r),M:En(n[3],r),w:En(n[4],r),d:En(n[5],r),h:En(n[6],r),m:En(n[7],r),s:En(n[8],r)}}else if(i==null)i={};else if(typeof i==="object"&&("from"in i||"to"in i)){o=jn(A(i.from),A(i.to));i={};i.ms=o.milliseconds;i.M=o.months}s=new ln(i);if(cn(e)&&a(e,"_locale"))s._locale=e._locale;if(cn(e)&&a(e,"_isValid"))s._isValid=e._isValid;return s}function En(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function An(e,t){var i={};i.months=t.month()-e.month()+(t.year()-e.year())*12;if(e.clone().add(i.months,"M").isAfter(t))--i.months;i.milliseconds=+t-+e.clone().add(i.months,"M");return i}function jn(e,t){var i;if(!(e.isValid()&&t.isValid()))return{milliseconds:0,months:0};t=mn(t,e);if(e.isBefore(t))i=An(e,t);else{i=An(t,e);i.milliseconds=-i.milliseconds;i.months=-i.months}return i}function On(r,s){return function(e,t){var i,n;if(t!==null&&!isNaN(+t)){ee(s,"moment()."+s+"(period, number) is deprecated. Please use moment()."+s+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");n=e;e=t;t=n}i=j(e,t);Pn(this,i,r);return this}}function Pn(e,t,i,n){var r=t._milliseconds,s=un(t._days),o=un(t._months);if(!e.isValid())return;n=n==null?true:n;if(o)mt(e,Ee(e,"Month")+o*i);if(s)Ae(e,"Date",Ee(e,"Date")+s*i);if(r)e._d.setTime(e._d.valueOf()+r*i);if(n)u.updateOffset(e,s||o)}j.fn=ln.prototype,j.invalid=an;var Yn=On(1,"add"),In=On(-1,"subtract");function Nn(e){return typeof e==="string"||e instanceof String}function Hn(e){return c(e)||z(e)||Nn(e)||l(e)||Rn(e)||Fn(e)||e===null||e===undefined}function Fn(e){var t=F(e)&&!R(e),i=false,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,s;for(r=0;r<n.length;r+=1){s=n[r];i=i||a(e,s)}return t&&i}function Rn(t){var e=o(t),i=false;if(e)i=t.filter(function(e){return!l(e)&&Nn(t)}).length===0;return e&&i}function zn(e){var t=F(e)&&!R(e),i=false,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,s;for(r=0;r<n.length;r+=1){s=n[r];i=i||a(e,s)}return t&&i}function $n(e,t){var i=e.diff(t,"days",true);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Bn(e,t){if(arguments.length===1)if(Hn(arguments[0])){e=arguments[0];t=undefined}else if(zn(arguments[0])){t=arguments[0];e=undefined}var i=e||A(),n=mn(i,this).startOf("day"),r=u.calendarFormat(this,n)||"sameElse",s=t&&(f(t[r])?t[r].call(this,i):t[r]);return this.format(s||this.localeData().calendar(r,this,A(i)))}function qn(){return new K(this)}function Wn(e,t){var i=c(e)?e:A(e);if(!(this.isValid()&&i.isValid()))return false;t=m(t)||"millisecond";if(t==="millisecond")return this.valueOf()>i.valueOf();else return i.valueOf()<this.clone().startOf(t).valueOf()}function Vn(e,t){var i=c(e)?e:A(e);if(!(this.isValid()&&i.isValid()))return false;t=m(t)||"millisecond";if(t==="millisecond")return this.valueOf()<i.valueOf();else return this.clone().endOf(t).valueOf()<i.valueOf()}function Un(e,t,i,n){var r=c(e)?e:A(e),s=c(t)?t:A(t);if(!(this.isValid()&&r.isValid()&&s.isValid()))return false;n=n||"()";return(n[0]==="("?this.isAfter(r,i):!this.isBefore(r,i))&&(n[1]===")"?this.isBefore(s,i):!this.isAfter(s,i))}function Xn(e,t){var i=c(e)?e:A(e),n;if(!(this.isValid()&&i.isValid()))return false;t=m(t)||"millisecond";if(t==="millisecond")return this.valueOf()===i.valueOf();else{n=i.valueOf();return this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()}}function Gn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zn(e,t,i){var n,r,s;if(!this.isValid())return NaN;n=mn(e,this);if(!n.isValid())return NaN;r=(n.utcOffset()-this.utcOffset())*6e4;t=m(t);switch(t){case"year":s=Jn(this,n)/12;break;case"month":s=Jn(this,n);break;case"quarter":s=Jn(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:g(s)}function Jn(e,t){if(e.date()<t.date())return-Jn(t,e);var i=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(i,"months"),r,s;if(t-n<0){r=e.clone().add(i-1,"months");s=(t-n)/(n-r)}else{r=e.clone().add(i+1,"months");s=(t-n)/(r-n)}return-(i+s)||0}function Qn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(e){if(!this.isValid())return null;var t=e!==true,i=t?this.clone().utc():this;if(i.year()<0||i.year()>9999)return he(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(f(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",he(i,"Z"));return he(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,n,r,s;if(!this.isLocal()){e=this.utcOffset()===0?"moment.utc":"moment.parseZone";t="Z"}i="["+e+'("]';n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";r="-MM-DD[T]HH:mm:ss.SSS";s=t+'[")]';return this.format(i+n+r+s)}function ir(e){if(!e)e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat;var t=he(this,e);return this.localeData().postformat(t)}function nr(e,t){if(this.isValid()&&(c(e)&&e.isValid()||A(e).isValid()))return j({to:this,from:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function rr(e){return this.from(A(),e)}function sr(e,t){if(this.isValid()&&(c(e)&&e.isValid()||A(e).isValid()))return j({from:this,to:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function or(e){return this.to(A(),e)}function ar(e){var t;if(e===undefined)return this._locale._abbr;else{t=_i(e);if(t!=null)this._locale=t;return this}}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){if(e===undefined)return this.localeData();else return this.locale(e)});function cr(){return this._locale}var ur=1e3,dr=60*ur,hr=60*dr,fr=(365*400+97)*24*hr;function pr(e,t){return(e%t+t)%t}function mr(e,t,i){if(e<100&&e>=0)return new Date(e+400,t,i)-fr;else return new Date(e,t,i).valueOf()}function gr(e,t,i){if(e<100&&e>=0)return Date.UTC(e+400,t,i)-fr;else return Date.UTC(e,t,i)}function vr(e){var t,i;e=m(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;i=this._isUTC?gr:mr;switch(e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf();t-=pr(t+(this._isUTC?0:this.utcOffset()*dr),hr);break;case"minute":t=this._d.valueOf();t-=pr(t,dr);break;case"second":t=this._d.valueOf();t-=pr(t,ur);break}this._d.setTime(t);u.updateOffset(this,true);return this}function yr(e){var t,i;e=m(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;i=this._isUTC?gr:mr;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf();t+=hr-pr(t+(this._isUTC?0:this.utcOffset()*dr),hr)-1;break;case"minute":t=this._d.valueOf();t+=dr-pr(t,dr)-1;break;case"second":t=this._d.valueOf();t+=ur-pr(t,ur)-1;break}this._d.setTime(t);u.updateOffset(this,true);return this}function br(){return this._d.valueOf()-(this._offset||0)*6e4}function _r(){return Math.floor(this.valueOf()/1e3)}function xr(){return new Date(this.valueOf())}function wr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function kr(){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()}}function Sr(){return this.isValid()?this.toISOString():null}function Mr(){return W(this)}function Cr(){return B({},h(this))}function Lr(){return h(this).overflow}function Tr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dr(e,t){var i,n,r,s=this._eras||_i("en")._eras;for(i=0,n=s.length;i<n;++i){switch(typeof s[i].since){case"string":r=u(s[i].since).startOf("day");s[i].since=r.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=+Infinity;break;case"string":r=u(s[i].until).startOf("day").valueOf();s[i].until=r.valueOf();break}}return s}function Er(e,t,i){var n,r,s=this.eras(),o,a,l;e=e.toUpperCase();for(n=0,r=s.length;n<r;++n){o=s[n].name.toUpperCase();a=s[n].abbr.toUpperCase();l=s[n].narrow.toUpperCase();if(i)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[n];break;case"NNNN":if(o===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([o,a,l].indexOf(e)>=0)return s[n]}}function Ar(e,t){var i=e.since<=e.until?+1:-1;if(t===undefined)return u(e.since).year();else return u(e.since).year()+(t-e.offset)*i}function jr(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){i=this.startOf("day").valueOf();if(n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""}function Or(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){i=this.startOf("day").valueOf();if(n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function Pr(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){i=this.startOf("day").valueOf();if(n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function Yr(){var e,t,i,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){i=r[e].since<=r[e].until?+1:-1;n=this.startOf("day").valueOf();if(r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-u(r[e].since).year())*i+r[e].offset}return this.year()}function Ir(e){if(!a(this,"_erasNameRegex"))Br.call(this);return e?this._erasNameRegex:this._erasRegex}function Nr(e){if(!a(this,"_erasAbbrRegex"))Br.call(this);return e?this._erasAbbrRegex:this._erasRegex}function Hr(e){if(!a(this,"_erasNarrowRegex"))Br.call(this);return e?this._erasNarrowRegex:this._erasRegex}function Fr(e,t){return t.erasAbbrRegex(e)}function Rr(e,t){return t.erasNameRegex(e)}function zr(e,t){return t.erasNarrowRegex(e)}function $r(e,t){return t._eraYearOrdinalRegex||Be}function Br(){var e=[],t=[],i=[],n=[],r,s,o=this.eras();for(r=0,s=o.length;r<s;++r){t.push(_(o[r].name));e.push(_(o[r].abbr));i.push(_(o[r].narrow));n.push(_(o[r].name));n.push(_(o[r].abbr));n.push(_(o[r].narrow))}this._erasRegex=new RegExp("^("+n.join("|")+")","i");this._erasNameRegex=new RegExp("^("+t.join("|")+")","i");this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i");this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function qr(e,t){n(0,[e,e.length],0,t)}function Wr(e){return Zr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return Zr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ur(){return D(this.year(),1,4)}function Xr(){return D(this.isoWeekYear(),1,4)}function Gr(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)}function Kr(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)}function Zr(e,t,i,n,r){var s;if(e==null)return Tt(this,n,r).year;else{s=D(e,n,r);if(t>s)t=s;return Jr.call(this,e,t,i,n,r)}}function Jr(e,t,i,n,r){var s=Lt(e,t,i,n,r),o=Mt(s.year,0,s.dayOfYear);this.year(o.getUTCFullYear());this.month(o.getUTCMonth());this.date(o.getUTCDate());return this}function Qr(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}n("N",0,0,"eraAbbr"),n("NN",0,0,"eraAbbr"),n("NNN",0,0,"eraAbbr"),n("NNNN",0,0,"eraName"),n("NNNNN",0,0,"eraNarrow"),n("y",["y",1],"yo","eraYear"),n("y",["yy",2],0,"eraYear"),n("y",["yyy",3],0,"eraYear"),n("y",["yyyy",4],0,"eraYear"),b("N",Fr),b("NN",Fr),b("NNN",Fr),b("NNNN",Rr),b("NNNNN",zr),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);if(r)h(i).era=r;else h(i).invalidEra=e}),b("y",Be),b("yy",Be),b("yyy",Be),b("yyyy",Be),b("yo",$r),x(["y","yy","yyy","yyyy"],w),x(["yo"],function(e,t,i,n){var r;if(i._locale._eraYearOrdinalRegex)r=e.match(i._locale._eraYearOrdinalRegex);if(i._locale.eraYearOrdinalParse)t[w]=i._locale.eraYearOrdinalParse(e,r);else t[w]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qr("gggg","weekYear"),qr("ggggg","weekYear"),qr("GGGG","isoWeekYear"),qr("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),i("weekYear",1),i("isoWeekYear",1),b("G",qe),b("g",qe),b("GG",y,r),b("gg",y,r),b("GGGG",ze,Ie),b("gggg",ze,Ie),b("GGGGG",$e,Ne),b("ggggg",$e,Ne),Qe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=v(e)}),Qe(["gg","GG"],function(e,t,i,n){t[n]=u.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),t("quarter","Q"),i("quarter",7),b("Q",Pe),x("Q",function(e,t){t[k]=(v(e)-1)*3}),n("D",["DD",2],"Do","date"),t("date","D"),i("date",9),b("D",y),b("DD",y,r),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],S),x("Do",function(e,t){t[S]=v(e.match(y)[0])});var es=De("Date",true);function ts(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}n("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),i("dayOfYear",4),b("DDD",Re),b("DDDD",Ye),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=v(e)}),n("m",["mm",2],0,"minute"),t("minute","m"),i("minute",14),b("m",y),b("mm",y,r),x(["m","mm"],C);var is=De("Minutes",false),ns=(n("s",["ss",2],0,"second"),t("second","s"),i("second",15),b("s",y),b("ss",y,r),x(["s","ss"],L),De("Seconds",false)),rs,ss;for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return this.millisecond()*10}),n(0,["SSSSS",5],0,function(){return this.millisecond()*100}),n(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),n(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),n(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),n(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),t("millisecond","ms"),i("millisecond",16),b("S",Re,Pe),b("SS",Re,r),b("SSS",Re,Ye),rs="SSSS";rs.length<=9;rs+="S")b(rs,Be);function os(e,t){t[tt]=v(("0."+e)*1e3)}for(rs="S";rs.length<=9;rs+="S")x(rs,os);function as(){return this._isUTC?"UTC":""}function ls(){return this._isUTC?"Coordinated Universal Time":""}ss=De("Milliseconds",false),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName");var O=K.prototype;if(O.add=Yn,O.calendar=Bn,O.clone=qn,O.diff=Zn,O.endOf=yr,O.format=ir,O.from=nr,O.fromNow=rr,O.to=sr,O.toNow=or,O.get=je,O.invalidAt=Lr,O.isAfter=Wn,O.isBefore=Vn,O.isBetween=Un,O.isSame=Xn,O.isSameOrAfter=Gn,O.isSameOrBefore=Kn,O.isValid=Mr,O.lang=lr,O.locale=ar,O.localeData=cr,O.max=Ji,O.min=Zi,O.parsingFlags=Cr,O.set=Oe,O.startOf=vr,O.subtract=In,O.toArray=wr,O.toObject=kr,O.toDate=xr,O.toISOString=er,O.inspect=tr,typeof Symbol!=="undefined"&&Symbol.for!=null)O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"};function cs(e){return A(e*1e3)}function us(){return A.apply(null,arguments).parseZone()}function ds(e){return e}O.toJSON=Sr,O.toString=Qn,O.unix=_r,O.valueOf=br,O.creationData=Tr,O.eraName=jr,O.eraNarrow=Or,O.eraAbbr=Pr,O.eraYear=Yr,O.year=wt,O.isLeapYear=kt,O.weekYear=Wr,O.isoWeekYear=Vr,O.quarter=O.quarters=Qr,O.month=gt,O.daysInMonth=vt,O.week=O.weeks=Ot,O.isoWeek=O.isoWeeks=Pt,O.weeksInYear=Gr,O.weeksInWeekYear=Kr,O.isoWeeksInYear=Ur,O.isoWeeksInISOWeekYear=Xr,O.date=es,O.day=O.days=Gt,O.weekday=Kt,O.isoWeekday=Zt,O.dayOfYear=ts,O.hour=O.hours=li,O.minute=O.minutes=is,O.second=O.seconds=ns,O.millisecond=O.milliseconds=ss,O.utcOffset=vn,O.utc=bn,O.local=_n,O.parseZone=xn,O.hasAlignedHourOffset=wn,O.isDST=kn,O.isLocal=Mn,O.isUtcOffset=Cn,O.isUtc=Ln,O.isUTC=Ln,O.zoneAbbr=as,O.zoneName=ls,O.dates=e("dates accessor is deprecated. Use date instead.",es),O.months=e("months accessor is deprecated. Use month instead",gt),O.years=e("years accessor is deprecated. Use year instead",wt),O.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),O.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sn);var P=ne.prototype;function hs(e,t,i,n){var r=_i(),s=d().set(n,t);return r[i](s,e)}function fs(e,t,i){if(l(e)){t=e;e=undefined}e=e||"";if(t!=null)return hs(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=hs(e,n,i,"month");return r}function ps(e,t,i,n){if(typeof e==="boolean"){if(l(t)){i=t;t=undefined}t=t||""}else{t=e;i=t;e=false;if(l(t)){i=t;t=undefined}t=t||""}var r=_i(),s=e?r._week.dow:0,o,a=[];if(i!=null)return hs(t,(i+s)%7,n,"day");for(o=0;o<7;o++)a[o]=hs(t,(o+s)%7,n,"day");return a}function ms(e,t){return fs(e,t,"months")}function gs(e,t){return fs(e,t,"monthsShort")}function vs(e,t,i){return ps(e,t,i,"weekdays")}function ys(e,t,i){return ps(e,t,i,"weekdaysShort")}function bs(e,t,i){return ps(e,t,i,"weekdaysMin")}P.calendar=se,P.longDateFormat=me,P.invalidDate=ve,P.ordinal=_e,P.preparse=ds,P.postformat=ds,P.relativeTime=we,P.pastFuture=ke,P.set=te,P.eras=Dr,P.erasParse=Er,P.erasConvertYear=Ar,P.erasAbbrRegex=Nr,P.erasNameRegex=Ir,P.erasNarrowRegex=Hr,P.months=dt,P.monthsShort=ht,P.monthsParse=pt,P.monthsRegex=bt,P.monthsShortRegex=yt,P.week=Dt,P.firstDayOfYear=jt,P.firstDayOfWeek=At,P.weekdays=qt,P.weekdaysMin=Vt,P.weekdaysShort=Wt,P.weekdaysParse=Xt,P.weekdaysRegex=Jt,P.weekdaysShortRegex=Qt,P.weekdaysMinRegex=ei,P.isPM=oi,P.meridiem=ci,vi("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,i=v(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}}),u.lang=e("moment.lang is deprecated. Use moment.locale instead.",vi),u.langData=e("moment.langData is deprecated. Use moment.localeData instead.",_i);var _s=Math.abs;function xs(){var e=this._data;this._milliseconds=_s(this._milliseconds);this._days=_s(this._days);this._months=_s(this._months);e.milliseconds=_s(e.milliseconds);e.seconds=_s(e.seconds);e.minutes=_s(e.minutes);e.hours=_s(e.hours);e.months=_s(e.months);e.years=_s(e.years);return this}function ws(e,t,i,n){var r=j(t,i);e._milliseconds+=n*r._milliseconds;e._days+=n*r._days;e._months+=n*r._months;return e._bubble()}function ks(e,t){return ws(this,e,t,1)}function Ss(e,t){return ws(this,e,t,-1)}function Ms(e){if(e<0)return Math.floor(e);else return Math.ceil(e)}function Cs(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data,r,s,o,a,l;if(!(e>=0&&t>=0&&i>=0||e<=0&&t<=0&&i<=0)){e+=Ms(Ts(i)+t)*864e5;t=0;i=0}n.milliseconds=e%1e3;r=g(e/1e3);n.seconds=r%60;s=g(r/60);n.minutes=s%60;o=g(s/60);n.hours=o%24;t+=g(o/24);l=g(Ls(t));i+=l;t-=Ms(Ts(l));a=g(i/12);i%=12;n.days=t;n.months=i;n.years=a;return this}function Ls(e){return e*4800/146097}function Ts(e){return e*146097/4800}function Ds(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;e=m(e);if(e==="month"||e==="quarter"||e==="year"){t=this._days+n/864e5;i=this._months+Ls(t);switch(e){case"month":return i;case"quarter":return i/3;case"year":return i/12}}else{t=this._days+Math.round(Ts(this._months));switch(e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}}function Es(){if(!this.isValid())return NaN;return this._milliseconds+this._days*864e5+this._months%12*2592e6+v(this._months/12)*31536e6}function As(e){return function(){return this.as(e)}}var js=As("ms"),Os=As("s"),Ps=As("m"),Ys=As("h"),Is=As("d"),Ns=As("w"),Hs=As("M"),Fs=As("Q"),Rs=As("y");function zs(){return j(this)}function $s(e){e=m(e);return this.isValid()?this[e+"s"]():NaN}function Bs(e){return function(){return this.isValid()?this._data[e]:NaN}}var qs=Bs("milliseconds"),Ws=Bs("seconds"),Vs=Bs("minutes"),Us=Bs("hours"),Xs=Bs("days"),Gs=Bs("months"),Ks=Bs("years");function Zs(){return g(this.days()/7)}var Js=Math.round,Qs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function eo(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}function to(e,t,i,n){var r=j(e).abs(),s=Js(r.as("s")),o=Js(r.as("m")),a=Js(r.as("h")),l=Js(r.as("d")),c=Js(r.as("M")),u=Js(r.as("w")),d=Js(r.as("y")),h=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||o<=1&&["m"]||o<i.m&&["mm",o]||a<=1&&["h"]||a<i.h&&["hh",a]||l<=1&&["d"]||l<i.d&&["dd",l];if(i.w!=null)h=h||u<=1&&["w"]||u<i.w&&["ww",u];h=h||c<=1&&["M"]||c<i.M&&["MM",c]||d<=1&&["y"]||["yy",d];h[2]=t;h[3]=+e>0;h[4]=n;return eo.apply(null,h)}function io(e){if(e===undefined)return Js;if(typeof e==="function"){Js=e;return true}return false}function no(e,t){if(Qs[e]===undefined)return false;if(t===undefined)return Qs[e];Qs[e]=t;if(e==="s")Qs.ss=t-1;return true}function ro(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=false,n=Qs,r,s;if(typeof e==="object"){t=e;e=false}if(typeof e==="boolean")i=e;if(typeof t==="object"){n=Object.assign({},Qs,t);if(t.s!=null&&t.ss==null)n.ss=t.s-1}r=this.localeData();s=to(this,!i,n,r);if(i)s=r.pastFuture(+this,s);return r.postformat(s)}var so=Math.abs;function oo(e){return(e>0)-(e<0)||+e}function ao(){if(!this.isValid())return this.localeData().invalidDate();var e=so(this._milliseconds)/1e3,t=so(this._days),i=so(this._months),n,r,s,o,a=this.asSeconds(),l,c,u,d;if(!a)return"P0D";n=g(e/60);r=g(n/60);e%=60;n%=60;s=g(i/12);i%=12;o=e?e.toFixed(3).replace(/\.?0+$/,""):"";l=a<0?"-":"";c=oo(this._months)!==oo(a)?"-":"";u=oo(this._days)!==oo(a)?"-":"";d=oo(this._milliseconds)!==oo(a)?"-":"";return l+"P"+(s?c+s+"Y":"")+(i?c+i+"M":"")+(t?u+t+"D":"")+(r||n||e?"T":"")+(r?d+r+"H":"")+(n?d+n+"M":"")+(e?d+o+"S":"")}var Y=ln.prototype;return Y.isValid=on,Y.abs=xs,Y.add=ks,Y.subtract=Ss,Y.as=Ds,Y.asMilliseconds=js,Y.asSeconds=Os,Y.asMinutes=Ps,Y.asHours=Ys,Y.asDays=Is,Y.asWeeks=Ns,Y.asMonths=Hs,Y.asQuarters=Fs,Y.asYears=Rs,Y.valueOf=Es,Y._bubble=Cs,Y.clone=zs,Y.get=$s,Y.milliseconds=qs,Y.seconds=Ws,Y.minutes=Vs,Y.hours=Us,Y.days=Xs,Y.weeks=Zs,Y.months=Gs,Y.years=Ks,Y.humanize=ro,Y.toISOString=ao,Y.toString=ao,Y.toJSON=ao,Y.locale=ar,Y.localeData=cr,Y.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ao),Y.lang=lr,n("X",0,0,"unix"),n("x",0,0,"valueOf"),b("x",qe),b("X",Ue),x("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)}),x("x",function(e,t,i){i._d=new Date(v(e))}),u.version="2.27.0",H(A),u.fn=O,u.min=en,u.max=tn,u.now=nn,u.utc=d,u.unix=cs,u.months=ms,u.isDate=z,u.locale=vi,u.invalid=V,u.duration=j,u.isMoment=c,u.weekdays=vs,u.parseZone=us,u.localeData=_i,u.isDuration=cn,u.monthsShort=gs,u.weekdaysMin=bs,u.defineLocale=yi,u.updateLocale=bi,u.locales=xi,u.weekdaysShort=ys,u.normalizeUnits=m,u.relativeTimeRounding=io,u.relativeTimeThreshold=no,u.calendarFormat=$n,u.prototype=O,u.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"},u}()}.call(this,uo("./node_modules/webpack/buildin/module.js")(e))},
vendor: 27,199 bytes, line 1
1"./node_modules/nouislider/distribute/nouislider.js":function(e,t,i){var n;void 0!==(t="function"==typeof(n=function(){"use strict";var ke="14.6.1";function t(e){return typeof e==="object"&&typeof e.to==="function"&&typeof e.from==="function"}function Se(e){e.parentElement.removeChild(e)}function l(e){return e!==null&&e!==undefined}function Me(e){e.preventDefault()}function Ce(e){return e.filter(function(e){return!this[e]?this[e]=true:false},{})}function a(e,t){return Math.round(e/t)*t}function Le(e,t){var i=e.getBoundingClientRect();var n=e.ownerDocument;var r=n.documentElement;var s=Pe(n);if(/webkit.*Chrome.*Mobile/i.test(navigator.userAgent))s.x=0;return t?i.top+s.y-r.clientTop:i.left+s.x-r.clientLeft}function o(e){return typeof e==="number"&&!isNaN(e)&&isFinite(e)}function Te(e,t,i){if(i>0){Ae(e,t);setTimeout(function(){je(e,t)},i)}}function De(e){return Math.max(Math.min(e,100),0)}function Ee(e){return Array.isArray(e)?e:[e]}function i(e){e=String(e);var t=e.split(".");return t.length>1?t[1].length:0}function Ae(e,t){if(e.classList&&!/\s/.test(t))e.classList.add(t);else e.className+=" "+t}function je(e,t){if(e.classList&&!/\s/.test(t))e.classList.remove(t);else e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function Oe(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function Pe(e){var t=window.pageXOffset!==undefined;var i=(e.compatMode||"")==="CSS1Compat";var n=t?window.pageXOffset:i?e.documentElement.scrollLeft:e.body.scrollLeft;var r=t?window.pageYOffset:i?e.documentElement.scrollTop:e.body.scrollTop;return{x:n,y:r}}function Ye(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function Ie(){var e=false;try{var t=Object.defineProperty({},"passive",{get:function(){e=true}});window.addEventListener("test",null,t)}catch(e){}return e}function Ne(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function c(e,t){return 100/(t-e)}function u(e,t,i){return t*100/(e[i+1]-e[i])}function d(e,t){return u(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}function h(e,t){return t*(e[1]-e[0])/100+e[0]}function f(e,t){var i=1;while(e>=t[i])i+=1;return i}function n(e,t,i){if(i>=e.slice(-1)[0])return 100;var n=f(i,e);var r=e[n-1];var s=e[n];var o=t[n-1];var a=t[n];return o+d([r,s],i)/c(o,a)}function r(e,t,i){if(i>=100)return e.slice(-1)[0];var n=f(i,t);var r=e[n-1];var s=e[n];var o=t[n-1];var a=t[n];return h([r,s],(i-o)*c(o,a))}function s(e,t,i,n){if(n===100)return n;var r=f(n,e);var s=e[r-1];var o=e[r];if(i){if(n-s>(o-s)/2)return o;return s}if(!t[r-1])return n;return e[r-1]+a(n-e[r-1],t[r-1])}function p(e,t,i){var n;if(typeof t==="number")t=[t];if(!Array.isArray(t))throw new Error("noUiSlider ("+ke+"): 'range' contains invalid value.");if(e==="min")n=0;else if(e==="max")n=100;else n=parseFloat(e);if(!o(n)||!o(t[0]))throw new Error("noUiSlider ("+ke+"): 'range' value isn't numeric.");i.xPct.push(n);i.xVal.push(t[0]);if(!n){if(!isNaN(t[1]))i.xSteps[0]=t[1]}else i.xSteps.push(isNaN(t[1])?false:t[1]);i.xHighestCompleteStep.push(0)}function m(e,t,i){if(!t)return;if(i.xVal[e]===i.xVal[e+1]){i.xSteps[e]=i.xHighestCompleteStep[e]=i.xVal[e];return}i.xSteps[e]=u([i.xVal[e],i.xVal[e+1]],t,0)/c(i.xPct[e],i.xPct[e+1]);var n=(i.xVal[e+1]-i.xVal[e])/i.xNumSteps[e];var r=Math.ceil(Number(n.toFixed(3))-1);var s=i.xVal[e]+i.xNumSteps[e]*r;i.xHighestCompleteStep[e]=s}function g(e,t,i){this.xPct=[];this.xVal=[];this.xSteps=[i||false];this.xNumSteps=[false];this.xHighestCompleteStep=[];this.snap=t;var n;var r=[];for(n in e)if(e.hasOwnProperty(n))r.push([e[n],n]);if(r.length&&typeof r[0][0]==="object")r.sort(function(e,t){return e[0][0]-t[0][0]});else r.sort(function(e,t){return e[0]-t[0]});for(n=0;n<r.length;n++)p(r[n][1],r[n][0],this);this.xNumSteps=this.xSteps.slice(0);for(n=0;n<this.xNumSteps.length;n++)m(n,this.xNumSteps[n],this)}g.prototype.getDistance=function(e){var t;var i=[];for(t=0;t<this.xNumSteps.length-1;t++){var n=this.xNumSteps[t];if(n&&e/n%1!==0)throw new Error("noUiSlider ("+ke+"): 'limit', 'margin' and 'padding' of "+this.xPct[t]+"% range must be divisible by step.");i[t]=u(this.xVal,e,t)}return i},g.prototype.getAbsoluteDistance=function(e,t,i){var n=0;if(e<this.xPct[this.xPct.length-1])while(e>this.xPct[n+1])n++;else if(e===this.xPct[this.xPct.length-1])n=this.xPct.length-2;if(!i&&e===this.xPct[n+1])n++;var r;var s=1;var o=t[n];var a=0;var l=0;var c=0;var u=0;if(i)r=(e-this.xPct[n])/(this.xPct[n+1]-this.xPct[n]);else r=(this.xPct[n+1]-e)/(this.xPct[n+1]-this.xPct[n]);while(o>0){a=this.xPct[n+1+u]-this.xPct[n+u];if(t[n+u]*s+100-r*100>100){l=a*r;s=(o-100*r)/t[n+u];r=1}else{l=t[n+u]*a/100*s;s=0}if(i){c=c-l;if(this.xPct.length+u>=1)u--}else{c=c+l;if(this.xPct.length-u>=1)u++}o=t[n+u]*s}return e+c},g.prototype.toStepping=function(e){e=n(this.xVal,this.xPct,e);return e},g.prototype.fromStepping=function(e){return r(this.xVal,this.xPct,e)},g.prototype.getStep=function(e){e=s(this.xPct,this.xSteps,this.snap,e);return e},g.prototype.getDefaultStep=function(e,t,i){var n=f(e,this.xPct);if(e===100||t&&e===this.xPct[n-1])n=Math.max(n-1,1);return(this.xVal[n]-this.xVal[n-1])/i},g.prototype.getNearbySteps=function(e){var t=f(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},g.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(i);return Math.max.apply(null,e)},g.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var v={to:function(e){return e!==undefined&&e.toFixed(2)},from:Number},y={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"};function b(e){if(t(e))return true;throw new Error("noUiSlider ("+ke+"): 'format' requires 'to' and 'from' methods.")}function x(e,t){if(!o(t))throw new Error("noUiSlider ("+ke+"): 'step' is not numeric.");e.singleStep=t}function w(e,t){if(!o(t))throw new Error("noUiSlider ("+ke+"): 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function k(e,t){if(!o(t))throw new Error("noUiSlider ("+ke+"): 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function S(e,t){if(typeof t!=="object"||Array.isArray(t))throw new Error("noUiSlider ("+ke+"): 'range' is not an object.");if(t.min===undefined||t.max===undefined)throw new Error("noUiSlider ("+ke+"): Missing 'min' or 'max' in 'range'.");if(t.min===t.max)throw new Error("noUiSlider ("+ke+"): 'range' 'min' and 'max' cannot be equal.");e.spectrum=new g(t,e.snap,e.singleStep)}function M(e,t){t=Ee(t);if(!Array.isArray(t)||!t.length)throw new Error("noUiSlider ("+ke+"): 'start' option is incorrect.");e.handles=t.length;e.start=t}function C(e,t){e.snap=t;if(typeof t!=="boolean")throw new Error("noUiSlider ("+ke+"): 'snap' option must be a boolean.")}function L(e,t){e.animate=t;if(typeof t!=="boolean")throw new Error("noUiSlider ("+ke+"): 'animate' option must be a boolean.")}function T(e,t){e.animationDuration=t;if(typeof t!=="number")throw new Error("noUiSlider ("+ke+"): 'animationDuration' option must be a number.")}function D(e,t){var i=[false];var n;if(t==="lower")t=[true,false];else if(t==="upper")t=[false,true];if(t===true||t===false){for(n=1;n<e.handles;n++)i.push(t);i.push(false)}else if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider ("+ke+"): 'connect' option doesn't match handle count.");else i=t;e.connect=i}function E(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider ("+ke+"): 'orientation' option is invalid.")}}function _(e,t){if(!o(t))throw new Error("noUiSlider ("+ke+"): 'margin' option must be numeric.");if(t===0)return;e.margin=e.spectrum.getDistance(t)}function A(e,t){if(!o(t))throw new Error("noUiSlider ("+ke+"): 'limit' option must be numeric.");e.limit=e.spectrum.getDistance(t);if(!e.limit||e.handles<2)throw new Error("noUiSlider ("+ke+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function j(e,t){var i;if(!o(t)&&!Array.isArray(t))throw new Error("noUiSlider ("+ke+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&!(t.length===2||o(t[0])||o(t[1])))throw new Error("noUiSlider ("+ke+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(t===0)return;if(!Array.isArray(t))t=[t,t];e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])];for(i=0;i<e.spectrum.xNumSteps.length-1;i++)if(e.padding[0][i]<0||e.padding[1][i]<0)throw new Error("noUiSlider ("+ke+"): 'padding' option must be a positive number(s).");var n=t[0]+t[1];var r=e.spectrum.xVal[0];var s=e.spectrum.xVal[e.spectrum.xVal.length-1];if(n/(s-r)>1)throw new Error("noUiSlider ("+ke+"): 'padding' option must not exceed 100% of the range.")}function O(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider ("+ke+"): 'direction' option was not recognized.")}}function P(e,t){if(typeof t!=="string")throw new Error("noUiSlider ("+ke+"): 'behaviour' must be a string containing options.");var i=t.indexOf("tap")>=0;var n=t.indexOf("drag")>=0;var r=t.indexOf("fixed")>=0;var s=t.indexOf("snap")>=0;var o=t.indexOf("hover")>=0;var a=t.indexOf("unconstrained")>=0;if(r){if(e.handles!==2)throw new Error("noUiSlider ("+ke+"): 'fixed' behaviour must be used with 2 handles");_(e,e.start[1]-e.start[0])}if(a&&(e.margin||e.limit))throw new Error("noUiSlider ("+ke+"): 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:i||s,drag:n,fixed:r,snap:s,hover:o,unconstrained:a}}function Y(e,t){if(t===false)return;if(t===true){e.tooltips=[];for(var i=0;i<e.handles;i++)e.tooltips.push(true)}else{e.tooltips=Ee(t);if(e.tooltips.length!==e.handles)throw new Error("noUiSlider ("+ke+"): must pass a formatter for all handles.");e.tooltips.forEach(function(e){if(typeof e!=="boolean"&&(typeof e!=="object"||typeof e.to!=="function"))throw new Error("noUiSlider ("+ke+"): 'tooltips' must be passed a formatter or 'false'.")})}}function I(e,t){e.ariaFormat=t;b(t)}function N(e,t){e.format=t;b(t)}function H(e,t){e.keyboardSupport=t;if(typeof t!=="boolean")throw new Error("noUiSlider ("+ke+"): 'keyboardSupport' option must be a boolean.")}function F(e,t){e.documentElement=t}function R(e,t){if(typeof t!=="string"&&t!==false)throw new Error("noUiSlider ("+ke+"): 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function z(e,t){if(typeof t!=="object")throw new Error("noUiSlider ("+ke+"): 'cssClasses' must be an object.");if(typeof e.cssPrefix==="string"){e.cssClasses={};for(var i in t){if(!t.hasOwnProperty(i))continue;e.cssClasses[i]=e.cssPrefix+t[i]}}else e.cssClasses=t}function He(t){var i={margin:0,limit:0,padding:0,animate:true,animationDuration:300,ariaFormat:v,format:v};var n={step:{r:false,t:x},keyboardPageMultiplier:{r:false,t:w},keyboardDefaultStep:{r:false,t:k},start:{r:true,t:M},connect:{r:true,t:D},direction:{r:true,t:O},snap:{r:false,t:C},animate:{r:false,t:L},animationDuration:{r:false,t:T},range:{r:true,t:S},orientation:{r:false,t:E},margin:{r:false,t:_},limit:{r:false,t:A},padding:{r:false,t:j},behaviour:{r:true,t:P},ariaFormat:{r:false,t:I},format:{r:false,t:N},tooltips:{r:false,t:Y},keyboardSupport:{r:true,t:H},documentElement:{r:false,t:F},cssPrefix:{r:true,t:R},cssClasses:{r:true,t:z}};var r={connect:false,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:true,cssPrefix:"noUi-",cssClasses:y,keyboardPageMultiplier:5,keyboardDefaultStep:10};if(t.format&&!t.ariaFormat)t.ariaFormat=t.format;Object.keys(n).forEach(function(e){if(!l(t[e])&&r[e]===undefined){if(n[e].r)throw new Error("noUiSlider ("+ke+"): '"+e+"' is required.");return true}n[e].t(i,!l(t[e])?r[e]:t[e])});i.pips=t.pips;var e=document.createElement("div");var s=e.style.msTransform!==undefined;var o=e.style.transform!==undefined;i.transformRule=o?"transform":s?"msTransform":"webkitTransform";var a=[["left","top"],["right","bottom"]];i.style=a[i.dir][i.ort];return i}function $(t,y,s){var l=Ye();var i=Ne();var H=i&&Ie();var c=t;var n;var u;var o;var d;var r;var k=y.spectrum;var b=[];var _=[];var h=[];var f=0;var a={};var p;var m=t.ownerDocument;var g=y.documentElement||m.documentElement;var v=m.body;var F=-1;var S=0;var M=1;var C=2;var R=m.dir==="rtl"||y.ort===1?0:100;function x(e,t){var i=m.createElement("div");if(t)Ae(i,t);e.appendChild(i);return i}function z(e,t){var i=x(e,y.cssClasses.origin);var n=x(i,y.cssClasses.handle);x(n,y.cssClasses.touchArea);n.setAttribute("data-handle",t);if(y.keyboardSupport){n.setAttribute("tabindex","0");n.addEventListener("keydown",function(e){return oe(e,t)})}n.setAttribute("role","slider");n.setAttribute("aria-orientation",y.ort?"vertical":"horizontal");if(t===0)Ae(n,y.cssClasses.handleLower);else if(t===y.handles-1)Ae(n,y.cssClasses.handleUpper);return i}function $(e,t){if(!t)return false;return x(e,y.cssClasses.connect)}function B(e,t){var i=x(t,y.cssClasses.connects);u=[];o=[];o.push($(i,e[0]));for(var n=0;n<y.handles;n++){u.push(z(t,n));h[n]=n;o.push($(i,e[n+1]))}}function q(e){Ae(e,y.cssClasses.target);if(y.dir===0)Ae(e,y.cssClasses.ltr);else Ae(e,y.cssClasses.rtl);if(y.ort===0)Ae(e,y.cssClasses.horizontal);else Ae(e,y.cssClasses.vertical);var t=getComputedStyle(e).direction;if(t==="rtl")Ae(e,y.cssClasses.textDirectionRtl);else Ae(e,y.cssClasses.textDirectionLtr);return x(e,y.cssClasses.base)}function W(e,t){if(!y.tooltips[t])return false;return x(e.firstChild,y.cssClasses.tooltip)}function V(){return c.hasAttribute("disabled")}function w(e){var t=u[e];return t.hasAttribute("disabled")}function L(){if(r){le("update.tooltips");r.forEach(function(e){if(e)Se(e)});r=null}}function U(){L();r=u.map(W);e("update.tooltips",function(e,t,i){if(!r[t])return;var n=e[t];if(y.tooltips[t]!==true)n=y.tooltips[t].to(i[t]);r[t].innerHTML=n})}function X(){e("update",function(e,t,o,i,a){h.forEach(function(e){var t=u[e];var i=P(_,e,0,true,true,true);var n=P(_,e,100,true,true,true);var r=a[e];var s=y.ariaFormat.to(o[e]);i=k.fromStepping(i).toFixed(1);n=k.fromStepping(n).toFixed(1);r=k.fromStepping(r).toFixed(1);t.children[0].setAttribute("aria-valuemin",i);t.children[0].setAttribute("aria-valuemax",n);t.children[0].setAttribute("aria-valuenow",r);t.children[0].setAttribute("aria-valuetext",s)})})}function G(e,t,i){if(e==="range"||e==="steps")return k.xVal;if(e==="count"){if(t<2)throw new Error("noUiSlider ("+ke+"): 'values' (>= 2) required for mode 'count'.");var n=t-1;var r=100/n;t=[];while(n--)t[n]=n*r;t.push(100);e="positions"}if(e==="positions")return t.map(function(e){return k.fromStepping(i?k.getStep(e):e)});if(e==="values"){if(i)return t.map(function(e){return k.fromStepping(k.getStep(k.toStepping(e)))});return t}}function K(m,g,v){function y(e,t){return(e+t).toFixed(7)/1}var b={};var e=k.xVal[0];var t=k.xVal[k.xVal.length-1];var _=false;var x=false;var w=0;v=Ce(v.slice().sort(function(e,t){return e-t}));if(v[0]!==e){v.unshift(e);_=true}if(v[v.length-1]!==t){v.push(t);x=true}v.forEach(function(e,t){var i;var n;var r;var s=e;var o=v[t+1];var a;var l;var c;var u;var d;var h;var f;var p=g==="steps";if(p)i=k.xNumSteps[t];if(!i)i=o-s;if(s===false)return;if(o===undefined)o=s;i=Math.max(i,1e-7);for(n=s;n<=o;n=y(n,i)){a=k.toStepping(n);l=a-w;d=l/m;h=Math.round(d);f=l/h;for(r=1;r<=h;r+=1){c=w+r*f;b[c.toFixed(5)]=[k.fromStepping(c),0]}u=v.indexOf(n)>-1?M:p?C:S;if(!t&&_&&n!==o)u=0;if(!(n===o&&x))b[a.toFixed(5)]=[n,u];w=a}});return b}function Z(t,r,s){var o=m.createElement("div");var a=[];a[S]=y.cssClasses.valueNormal;a[M]=y.cssClasses.valueLarge;a[C]=y.cssClasses.valueSub;var l=[];l[S]=y.cssClasses.markerNormal;l[M]=y.cssClasses.markerLarge;l[C]=y.cssClasses.markerSub;var c=[y.cssClasses.valueHorizontal,y.cssClasses.valueVertical];var u=[y.cssClasses.markerHorizontal,y.cssClasses.markerVertical];Ae(o,y.cssClasses.pips);Ae(o,y.ort===0?y.cssClasses.pipsHorizontal:y.cssClasses.pipsVertical);function d(e,t){var i=t===y.cssClasses.value;var n=i?c:u;var r=i?a:l;return t+" "+n[y.ort]+" "+r[e]}function i(e,t,i){i=r?r(t,i):i;if(i===F)return;var n=x(o,false);n.className=d(i,y.cssClasses.marker);n.style[y.style]=e+"%";if(i>S){n=x(o,false);n.className=d(i,y.cssClasses.value);n.setAttribute("data-value",t);n.style[y.style]=e+"%";n.innerHTML=s.to(t)}}Object.keys(t).forEach(function(e){i(e,t[e][0],t[e][1])});return o}function T(){if(d){Se(d);d=null}}function D(e){T();var t=e.mode;var i=e.density||1;var n=e.filter||false;var r=e.values||false;var s=e.stepped||false;var o=G(t,r,s);var a=K(i,t,o);var l=e.format||{to:Math.round};d=c.appendChild(Z(a,n,l));return d}function J(){var e=n.getBoundingClientRect();var t="offset"+["Width","Height"][y.ort];return y.ort===0?e.width||n[t]:e.height||n[t]}function E(t,i,n,r){var s=function(e){e=Q(e,r.pageOffset,r.target||i);if(!e)return false;if(V()&&!r.doNotReject)return false;if(Oe(c,y.cssClasses.tap)&&!r.doNotReject)return false;if(t===l.start&&e.buttons!==undefined&&e.buttons>1)return false;if(r.hover&&e.buttons)return false;if(!H)e.preventDefault();e.calcPoint=e.points[y.ort];n(e,r)};var o=[];t.split(" ").forEach(function(e){i.addEventListener(e,s,H?{passive:true}:false);o.push([e,s])});return o}function Q(e,t,i){var n=e.type.indexOf("touch")===0;var r=e.type.indexOf("mouse")===0;var s=e.type.indexOf("pointer")===0;var o;var a;if(e.type.indexOf("MSPointer")===0)s=true;if(n){var l=function(e){return e.target===i||i.contains(e.target)||e.target.shadowRoot&&e.target.shadowRoot.contains(i)};if(e.type==="touchstart"){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return false;o=c[0].pageX;a=c[0].pageY}else{var u=Array.prototype.find.call(e.changedTouches,l);if(!u)return false;o=u.pageX;a=u.pageY}}t=t||Pe(m);if(r||s){o=e.clientX+t.x;a=e.clientY+t.y}e.pageOffset=t;e.points=[o,a];e.cursor=r||s;return e}function ee(e){var t=e-Le(n,y.ort);var i=t*100/J();i=De(i);return y.dir?100-i:i}function te(a){var l=100;var c=false;u.forEach(function(e,t){if(w(t))return;var i=_[t];var n=Math.abs(i-a);var r=n===100&&l===100;var s=n<l;var o=n<=l&&a>i;if(s||o||r){c=t;l=n}});return c}function ie(e,t){if(e.type==="mouseout"&&e.target.nodeName==="HTML"&&e.relatedTarget===null)A(e,t)}function ne(e,t){if(navigator.appVersion.indexOf("MSIE 9")===-1&&e.buttons===0&&t.buttonsProperty!==0)return A(e,t);var i=(y.dir?-1:1)*(e.calcPoint-t.startCalcPoint);var n=i*100/t.baseSize;ce(i>0,n,t.locations,t.handleNumbers)}function A(e,t){if(t.handle){je(t.handle,y.cssClasses.active);f-=1}t.listeners.forEach(function(e){g.removeEventListener(e[0],e[1])});if(f===0){je(c,y.cssClasses.drag);he();if(e.cursor){v.style.cursor="";v.removeEventListener("selectstart",Me)}}t.handleNumbers.forEach(function(e){O("change",e);O("set",e);O("end",e)})}function j(e,t){if(t.handleNumbers.some(w))return false;var i;if(t.handleNumbers.length===1){var n=u[t.handleNumbers[0]];i=n.children[0];f+=1;Ae(i,y.cssClasses.active)}e.stopPropagation();var r=[];var s=E(l.move,g,ne,{target:e.target,handle:i,listeners:r,startCalcPoint:e.calcPoint,baseSize:J(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:_.slice()});var o=E(l.end,g,A,{target:e.target,handle:i,listeners:r,doNotReject:true,handleNumbers:t.handleNumbers});var a=E("mouseout",g,ie,{target:e.target,handle:i,listeners:r,doNotReject:true,handleNumbers:t.handleNumbers});r.push.apply(r,s.concat(o,a));if(e.cursor){v.style.cursor=getComputedStyle(e.target).cursor;if(u.length>1)Ae(c,y.cssClasses.drag);v.addEventListener("selectstart",Me,false)}t.handleNumbers.forEach(function(e){O("start",e)})}function re(e){if(!e.buttons&&!e.touches)return false;e.stopPropagation();var t=ee(e.calcPoint);var i=te(t);if(i===false)return false;if(!y.events.snap)Te(c,y.cssClasses.tap,y.animationDuration);I(i,t,true,true);he();O("slide",i,true);O("update",i,true);O("change",i,true);O("set",i,true);if(y.events.snap)j(e,{handleNumbers:[i]})}function se(e){var t=ee(e.calcPoint);var i=k.getStep(t);var n=k.fromStepping(i);Object.keys(a).forEach(function(e){if("hover"===e.split(".")[0])a[e].forEach(function(e){e.call(p,n)})})}function oe(e,t){if(V()||w(t))return false;var i=["Left","Right"];var n=["Down","Up"];var r=["PageDown","PageUp"];var s=["Home","End"];if(y.dir&&!y.ort)i.reverse();else if(y.ort&&!y.dir){n.reverse();r.reverse()}var o=e.key.replace("Arrow","");var a=o===r[0];var l=o===r[1];var c=o===n[0]||o===i[0]||a;var u=o===n[1]||o===i[1]||l;var d=o===s[0];var h=o===s[1];if(!c&&!u&&!d&&!h)return true;e.preventDefault();var f;if(u||c){var p=y.keyboardPageMultiplier;var m=c?0:1;var g=be(t);var v=g[m];if(v===null)return false;if(v===false)v=k.getDefaultStep(_[t],c,y.keyboardDefaultStep);if(l||a)v*=p;v=Math.max(v,1e-7);v=(c?-1:1)*v;f=b[t]+v}else if(h)f=y.spectrum.xVal[y.spectrum.xVal.length-1];else f=y.spectrum.xVal[0];I(t,k.toStepping(f),true,true);O("slide",t);O("update",t);O("change",t);O("set",t);return false}function ae(s){if(!s.fixed)u.forEach(function(e,t){E(l.start,e.children[0],j,{handleNumbers:[t]})});if(s.tap)E(l.start,n,re,{});if(s.hover)E(l.move,n,se,{hover:true});if(s.drag)o.forEach(function(e,t){if(e===false||t===0||t===o.length-1)return;var i=u[t-1];var n=u[t];var r=[e];Ae(e,y.cssClasses.draggable);if(s.fixed){r.push(i.children[0]);r.push(n.children[0])}r.forEach(function(e){E(l.start,e,j,{handles:[i,n],handleNumbers:[t-1,t]})})})}function e(e,t){a[e]=a[e]||[];a[e].push(t);if(e.split(".")[0]==="update")u.forEach(function(e,t){O("update",t)})}function le(e){var n=e&&e.split(".")[0];var r=n&&e.substring(n.length);Object.keys(a).forEach(function(e){var t=e.split(".")[0];var i=e.substring(t.length);if((!n||n===t)&&(!r||r===i))delete a[e]})}function O(i,n,r){Object.keys(a).forEach(function(e){var t=e.split(".")[0];if(i===t)a[e].forEach(function(e){e.call(p,b.map(y.format.to),n,b.slice(),r||false,_.slice(),p)})})}function P(e,t,i,n,r,s){var o;if(u.length>1&&!y.events.unconstrained){if(n&&t>0){o=k.getAbsoluteDistance(e[t-1],y.margin,0);i=Math.max(i,o)}if(r&&t<u.length-1){o=k.getAbsoluteDistance(e[t+1],y.margin,1);i=Math.min(i,o)}}if(u.length>1&&y.limit){if(n&&t>0){o=k.getAbsoluteDistance(e[t-1],y.limit,0);i=Math.min(i,o)}if(r&&t<u.length-1){o=k.getAbsoluteDistance(e[t+1],y.limit,1);i=Math.max(i,o)}}if(y.padding){if(t===0){o=k.getAbsoluteDistance(0,y.padding[0],0);i=Math.max(i,o)}if(t===u.length-1){o=k.getAbsoluteDistance(100,y.padding[1],1);i=Math.min(i,o)}}i=k.getStep(i);i=De(i);if(i===e[t]&&!s)return false;return i}function Y(e,t){var i=y.ort;return(i?t:e)+", "+(i?e:t)}function ce(e,n,i,t){var r=i.slice();var s=[!e,e];var o=[e,!e];t=t.slice();if(e)t.reverse();if(t.length>1)t.forEach(function(e,t){var i=P(r,e,r[e]+n,s[t],o[t],false);if(i===false)n=0;else{n=i-r[e];r[e]=i}});else s=o=[true];var a=false;t.forEach(function(e,t){a=I(e,i[e]+n,s[t],o[t])||a});if(a)t.forEach(function(e){O("update",e);O("slide",e)})}function ue(e,t){return y.dir?100-e-t:e}function de(e,t){_[e]=t;b[e]=k.fromStepping(t);var i=10*(ue(t,0)-R);var n="translate("+Y(i+"%","0")+")";u[e].style[y.transformRule]=n;fe(e);fe(e+1)}function he(){h.forEach(function(e){var t=_[e]>50?-1:1;var i=3+(u.length+t*e);u[e].style.zIndex=i})}function I(e,t,i,n){t=P(_,e,t,i,n,false);if(t===false)return false;de(e,t);return true}function fe(e){if(!o[e])return;var t=0;var i=100;if(e!==0)t=_[e-1];if(e!==o.length-1)i=_[e];var n=i-t;var r="translate("+Y(ue(t,n)+"%","0")+")";var s="scale("+Y(n/100,"1")+")";o[e].style[y.transformRule]=r+" "+s}function pe(e,t){if(e===null||e===false||e===undefined)return _[t];if(typeof e==="number")e=String(e);e=y.format.from(e);e=k.toStepping(e);if(e===false||isNaN(e))return _[t];return e}function N(e,t){var i=Ee(e);var n=_[0]===undefined;t=t===undefined?true:!!t;if(y.animate&&!n)Te(c,y.cssClasses.tap,y.animationDuration);h.forEach(function(e){I(e,pe(i[e],e),true,false)});var r=h.length===1?0:1;for(;r<h.length;++r)h.forEach(function(e){I(e,_[e],true,true)});he();h.forEach(function(e){O("update",e);if(i[e]!==null&&t)O("set",e)})}function me(e){N(y.start,e)}function ge(e,t,i){e=Number(e);if(!(e>=0&&e<h.length))throw new Error("noUiSlider ("+ke+"): invalid handle number, got: "+e);I(e,pe(t,e),true,true);O("update",e);if(i)O("set",e)}function ve(){var e=b.map(y.format.to);if(e.length===1)return e[0];return e}function ye(){for(var e in y.cssClasses){if(!y.cssClasses.hasOwnProperty(e))continue;je(c,y.cssClasses[e])}while(c.firstChild)c.removeChild(c.firstChild);delete c.noUiSlider}function be(e){var t=_[e];var i=k.getNearbySteps(t);var n=b[e];var r=i.thisStep.step;var s=null;if(y.snap)return[n-i.stepBefore.startValue||null,i.stepAfter.startValue-n||null];if(r!==false)if(n+r>i.stepAfter.startValue)r=i.stepAfter.startValue-n;if(n>i.thisStep.startValue)s=i.thisStep.step;else if(i.stepBefore.step===false)s=false;else s=n-i.stepBefore.highestStep;if(t===100)r=null;else if(t===0)s=null;var o=k.countStepDecimals();if(r!==null&&r!==false)r=Number(r.toFixed(o));if(s!==null&&s!==false)s=Number(s.toFixed(o));return[s,r]}function _e(){return h.map(be)}function xe(t,e){var i=ve();var n=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];n.forEach(function(e){if(t[e]!==undefined)s[e]=t[e]});var r=He(s);n.forEach(function(e){if(t[e]!==undefined)y[e]=r[e]});k=r.spectrum;y.margin=r.margin;y.limit=r.limit;y.padding=r.padding;if(y.pips)D(y.pips);else T();if(y.tooltips)U();else L();_=[];N(t.start||i,e)}function we(){n=q(c);B(y.connect,n);ae(y.events);N(y.start);if(y.pips)D(y.pips);if(y.tooltips)U();X()}we();p={destroy:ye,steps:_e,on:e,off:le,get:ve,set:N,setHandle:ge,reset:me,__moveHandles:function(e,t,i){ce(e,t,_,i)},options:s,updateOptions:xe,target:c,removePips:T,removeTooltips:L,getTooltips:function(){return r},getOrigins:function(){return u},pips:D};return p}function e(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider ("+ke+"): create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider ("+ke+"): Slider was already initialized.");var i=He(t,e);var n=$(e,i,t);e.noUiSlider=n;return n}return{__spectrum:g,version:ke,cssClasses:y,create:e}})?n.apply(t,[]):n)&&(e.exports=t)},
vendor: 43,874 bytes, line 1
1"./node_modules/owl.carousel/dist/owl.carousel.js":function(e,t){function l(e,t){this.settings=null,this.options=c.extend({},l.Defaults,t),this.$element=c(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},c.each(["onResize","onThrottledResize"],c.proxy(function(e,t){this._handlers[t]=c.proxy(this[t],this)},this)),c.each(l.Plugins,c.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),c.each(l.Workers,c.proxy(function(e,t){this._pipe.push({filter:t.filter,run:c.proxy(t.run,this)})},this)),this.setup(),this.initialize()}var c,i,n,a,r,s,u,o,d,h,f,p,m,g,v,y;function b(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=r.extend({},b.Defaults,this._core.options),this._core.$element.on(this._handlers)}function _(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":u.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var t=this._core.settings,i=t.center&&Math.ceil(t.items/2)||t.items,n=t.center&&-1*i||0,r=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,s=this._core.clones().length,o=u.proxy(function(e,t){this.load(t)},this);for(0<t.lazyLoadEager&&(i+=t.lazyLoadEager,t.loop&&(r-=t.lazyLoadEager,i++));n++<i;)this.load(s/2+this._core.relative(r)),s&&u.each(this._core.clones(this._core.relative(r)),o),r++}},this)},this._core.options=u.extend({},_.Defaults,this._core.options),this._core.$element.on(this._handlers)}function x(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":d.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":d.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":d.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=d.extend({},x.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var t=this;d(h).on("load",function(){t._core.settings.autoHeight&&t.update()}),d(h).resize(function(){t._core.settings.autoHeight&&(null!=t._intervalId&&clearTimeout(t._intervalId),t._intervalId=setTimeout(function(){t.update()},250))})}function w(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":f.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":f.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":f.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":f.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":f.proxy(function(e){var t;!e.namespace||(t=f(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,f(e.content)))},this)},this._core.options=f.extend({},w.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",f.proxy(function(e){this.play(e)},this))}function k(e){this.core=e,this.core.options=m.extend({},k.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":m.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":m.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":m.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}function S(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":g.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":g.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":g.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":g.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":g.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":g.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":g.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":g.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=g.extend({},S.Defaults,this._core.options)}c=window.Zepto||window.jQuery,i=window,n=document,l.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},l.Width={Default:"default",Inner:"inner",Outer:"outer"},l.Type={Event:"event",State:"state"},l.Plugins={},l.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,n={width:"auto","margin-left":n?t:"","margin-right":n?"":t};i||this.$stage.children().css(n),e.css=n}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,r=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:t};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,e.items.merge=1<i||e.items.merge,s[n]=r?t*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],t=this._items,i=this.settings,n=Math.max(2*i.items,4),r=2*Math.ceil(t.length/2),s=i.loop&&t.length?i.rewind?n:Math.max(n,r):0,o="",a="";for(s/=2;0<s;)e.push(this.normalize(e.length/2,!0)),o+=t[e[e.length-1]][0].outerHTML,e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),a=t[e[e.length-1]][0].outerHTML+a,--s;this._clones=e,c(o).addClass("cloned").appendTo(this.$stage),c(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,r=-1,s=[];++r<n;)e=s[r-1]||0,t=this._widths[this.relative(r)]+this.settings.margin,s.push(e+t*i);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,t={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],n.eq(t).css(e.css);else i&&(e.css.width=e.items.width,n.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var e,t,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,r=this.coordinates(this.current())+n,s=r+this.width()*i,o=[],a=0,l=this._coordinates.length;a<l;a++)e=this._coordinates[a-1]||0,t=Math.abs(this._coordinates[a])+n*i,(this.op(e,"<=",r)&&this.op(e,">",s)||this.op(t,"<",r)&&this.op(t,">",s))&&o.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+o.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],l.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=c("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(c("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},l.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return c(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},l.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,t=this.$element.children(t).width(),e.length&&t<=0&&this.preloadAutoWidthImages(e)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},l.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},l.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,i=-1,n=null;e?(c.each(e,function(e){e<=t&&i<e&&(i=Number(e))}),"function"==typeof(n=c.extend({},this.options,e[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=c.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},l.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},l.prototype.prepare=function(e){var t=this.trigger("prepare",{content:e});return t.data||(t.data=c("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},l.prototype.update=function(){for(var e=0,t=this._pipe.length,i=c.proxy(function(e){return this[e]},this._invalidated),n={};e<t;)(this._invalidated.all||0<c.grep(this._pipe[e].filter,i).length)&&this._pipe[e].run(n),e++;this._invalidated={},this.is("valid")||this.enter("valid")},l.prototype.width=function(e){switch(e=e||l.Width.Default){case l.Width.Inner:case l.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},l.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},l.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},l.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},l.prototype.registerEventHandlers=function(){c.support.transition&&this.$stage.on(c.support.transition.end+".owl.core",c.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",c.proxy(this.onDragEnd,this)))},l.prototype.onDragStart=function(e){var t=null;3!==e.which&&(t=c.support.transform?{x:(t=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===t.length?12:4],y:t[16===t.length?13:5]}:(t=this.$stage.position(),{x:this.settings.rtl?t.left+this.$stage.width()-this.width()+this.settings.margin:t.left,y:t.top}),this.is("animating")&&(c.support.transform?this.animate(t.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=c(e.target),this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this.pointer(e),c(n).on("mouseup.owl.core touchend.owl.core",c.proxy(this.onDragEnd,this)),c(n).one("mousemove.owl.core touchmove.owl.core",c.proxy(function(e){var t=this.difference(this._drag.pointer,this.pointer(e));c(n).on("mousemove.owl.core touchmove.owl.core",c.proxy(this.onDragMove,this)),Math.abs(t.x)<Math.abs(t.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},l.prototype.onDragMove=function(e){var t=null,i=null,n=this.difference(this._drag.pointer,this.pointer(e)),r=this.difference(this._drag.stage.start,n);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-t,r.x=((r.x-t)%i+i)%i+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*n.x/5:0,r.x=Math.max(Math.min(r.x,t+e),i+e)),this._drag.stage.current=r,this.animate(r.x))},l.prototype.onDragEnd=function(e){var e=this.difference(this._drag.pointer,this.pointer(e)),t=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";c(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(t.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},l.prototype.closest=function(i,n){var r=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||c.each(o,c.proxy(function(e,t){return"left"===n&&t-30<i&&i<t+30?r=e:"right"===n&&t-s-30<i&&i<t-s+30?r=e+1:this.op(i,"<",t)&&this.op(i,">",o[e+1]!==a?o[e+1]:t-s)&&(r="left"===n?e+1:e),-1===r},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?r=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(r=i=this.maximum())),r},l.prototype.animate=function(e){var t=0<this.speed();this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this.trigger("translate")),c.support.transform3d&&c.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):t?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,c.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},l.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},l.prototype.current=function(e){return e===a?this._current:0===this._items.length?a:(e=this.normalize(e),this._current!==e&&((t=this.trigger("change",{property:{name:"position",value:e}})).data!==a&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var t},l.prototype.invalidate=function(e){return"string"===c.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),c.map(this._invalidated,function(e,t){return t})},l.prototype.reset=function(e){(e=this.normalize(e))!==a&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},l.prototype.normalize=function(e,t){var i=this._items.length,t=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=a:(e<0||i+t<=e)&&(e=((e-t/2)%i+i)%i+t/2),e},l.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},l.prototype.maximum=function(e){var t,i,n,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!(n<(i+=this._items[t].width()+this.settings.margin)););s=t+1}else s=r.center?this._items.length-1:this._items.length-r.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},l.prototype.minimum=function(e){return e?0:this._clones.length/2},l.prototype.items=function(e){return e===a?this._items.slice():(e=this.normalize(e,!0),this._items[e])},l.prototype.mergers=function(e){return e===a?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},l.prototype.clones=function(i){function n(e){return e%2==0?r+e/2:t-(e+1)/2}var t=this._clones.length/2,r=t+this._items.length;return i===a?c.map(this._clones,function(e,t){return n(t)}):c.map(this._clones,function(e,t){return e===i?n(t):null})},l.prototype.speed=function(e){return e!==a&&(this._speed=e),this._speed},l.prototype.coordinates=function(e){var t,i=1,n=e-1;return e===a?c.map(this._coordinates,c.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[n]||0))/2*i):t=this._coordinates[n]||0,Math.ceil(t))},l.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},l.prototype.to=function(e,t){var i=this.current(),n=e-this.relative(i),r=(0<n)-(n<0),s=this._items.length,o=this.minimum(),a=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>s/2&&(n+=-1*r*s),(r=(((e=i+n)-o)%s+s)%s+o)!==e&&r-n<=a&&0<r-n&&this.reset(i=(e=r)-n)):e=this.settings.rewind?(e%(a+=1)+a)%a:Math.max(o,Math.min(a,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},l.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},l.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},l.prototype.onTransitionEnd=function(e){if(e!==a&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},l.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==i?e=c(this.options.responsiveBaseElement).width():i.innerWidth?e=i.innerWidth:n.documentElement&&n.documentElement.clientWidth?e=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},l.prototype.replace=function(e){this.$stage.empty(),this._items=[],e=e&&(e instanceof jQuery?e:c(e)),(e=this.settings.nestedItemSelector?e.find("."+this.settings.nestedItemSelector):e).filter(function(){return 1===this.nodeType}).each(c.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},l.prototype.add=function(e,t){var i=this.relative(this._current);t=t===a?this._items.length:this.normalize(t,!0),e=e instanceof jQuery?e:c(e),this.trigger("add",{content:e,position:t}),e=this.prepare(e),0===this._items.length||t===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[t-1].after(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:e,position:t})},l.prototype.remove=function(e){(e=this.normalize(e,!0))!==a&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},l.prototype.preloadAutoWidthImages=function(e){e.each(c.proxy(function(e,t){this.enter("pre-loading"),t=c(t),c(new Image).one("load",c.proxy(function(e){t.attr("src",e.target.src),t.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",t.attr("src")||t.attr("data-src")||t.attr("data-src-retina"))},this))},l.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),c(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},l.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?i<e:e<i;case">":return n?e<i:i<e;case">=":return n?e<=i:i<=e;case"<=":return n?i<=e:e<=i}},l.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},l.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},l.prototype.trigger=function(e,t,i,n,r){var s={item:{count:this._items.length,index:this.current()}},o=c.camelCase(c.grep(["on",e,i],function(e){return e}).join("-").toLowerCase()),a=c.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),c.extend({relatedTarget:this},s,t));return this._supress[e]||(c.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(a)}),this.register({type:l.Type.Event,name:e}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},l.prototype.enter=function(e){c.each([e].concat(this._states.tags[e]||[]),c.proxy(function(e,t){this._states.current[t]===a&&(this._states.current[t]=0),this._states.current[t]++},this))},l.prototype.leave=function(e){c.each([e].concat(this._states.tags[e]||[]),c.proxy(function(e,t){this._states.current[t]--},this))},l.prototype.register=function(i){var t;i.type===l.Type.Event?(c.event.special[i.name]||(c.event.special[i.name]={}),c.event.special[i.name].owl||(t=c.event.special[i.name]._default,c.event.special[i.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):t.apply(this,arguments)},c.event.special[i.name].owl=!0)):i.type===l.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=c.grep(this._states.tags[i.name],c.proxy(function(e,t){return c.inArray(e,this._states.tags[i.name])===t},this)))},l.prototype.suppress=function(e){c.each(e,c.proxy(function(e,t){this._supress[t]=!0},this))},l.prototype.release=function(e){c.each(e,c.proxy(function(e,t){delete this._supress[t]},this))},l.prototype.pointer=function(e){var t={x:null,y:null};return(e=(e=e.originalEvent||e||i.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},l.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},l.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},c.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=c(this),i=e.data("owl.carousel");i||(i=new l(this,"object"==typeof t&&t),e.data("owl.carousel",i),c.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,t){i.register({type:l.Type.Event,name:t}),i.$element.on(t+".owl.carousel.core",c.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([t]),i[t].apply(this,[].slice.call(arguments,1)),this.release([t]))},i))})),"string"==typeof t&&"_"!==t.charAt(0)&&i[t].apply(i,n)})},c.fn.owlCarousel.Constructor=l,r=window.Zepto||window.jQuery,s=window,document,b.Defaults={autoRefresh:!0,autoRefreshInterval:500},b.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=s.setInterval(r.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},b.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},b.prototype.destroy=function(){var e,t;for(e in s.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},r.fn.owlCarousel.Constructor.Plugins.AutoRefresh=b,u=window.Zepto||window.jQuery,o=window,document,_.Defaults={lazyLoad:!1,lazyLoadEager:0},_.prototype.load=function(e){var e=this._core.$stage.children().eq(e),t=e&&e.find(".owl-lazy");!t||-1<u.inArray(e.get(0),this._loaded)||(t.each(u.proxy(function(e,t){var i=u(t),n=1<o.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",u.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):i.is("source")?i.one("load.owl.lazy",u.proxy(function(){this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("srcset",n):((t=new Image).onload=u.proxy(function(){i.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),t.src=n)},this)),this._loaded.push(e.get(0)))},_.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},u.fn.owlCarousel.Constructor.Plugins.Lazy=_,d=window.Zepto||window.jQuery,h=window,document,x.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},x.prototype.update=function(){var e=this._core._current,t=e+this._core.settings.items,i=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(e,t),n=[],t=0;d.each(e,function(e,t){n.push(d(t).height())}),(t=Math.max.apply(null,n))<=1&&i&&this._previousHeight&&(t=this._previousHeight),this._previousHeight=t,this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},x.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},d.fn.owlCarousel.Constructor.Plugins.AutoHeight=x,f=window.Zepto||window.jQuery,window,p=document,w.Defaults={video:!1,videoHeight:!1,videoWidth:!1},w.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),r=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,o=e.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(n=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[o]={type:i,id:n,width:r,height:s},t.attr("data-video",o),this.thumbnail(e,this._videos[o])},w.prototype.thumbnail=function(t,e){function i(e){n=c.lazyLoad?f("<div/>",{class:"owl-video-tn "+l,srcType:e}):f("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),t.after(n),t.after('<div class="owl-video-play-icon"></div>')}var n,r,s=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",o=t.find("img"),a="src",l="",c=this._core.settings;if(t.wrap(f("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),o.length)return i(o.attr(a)),o.remove(),!1;"youtube"===e.type?(r="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",i(r)):"vimeo"===e.type?f.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e[0].thumbnail_large,i(r)}}):"vzaar"===e.type&&f.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e.framegrab_url,i(r)}})},w.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},w.prototype.play=function(e){var t,e=f(e.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],n=i.width||"100%",r=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=f('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),t.attr("width",n),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),f(t).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},w.prototype.isInFullScreen=function(){var e=p.fullscreenElement||p.mozFullScreenElement||p.webkitFullscreenElement;return e&&f(e).parent().hasClass("owl-video-frame")},w.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},f.fn.owlCarousel.Constructor.Plugins.Video=w,m=window.Zepto||window.jQuery,window,document,k.Defaults={animateOut:!1,animateIn:!1},k.prototype.swap=function(){var e,t,i,n,r,s;1===this.core.settings.items&&m.support.animation&&m.support.transition&&(this.core.speed(0),t=m.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(m.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&n.one(m.support.animation.end,t).addClass("animated owl-animated-in").addClass(r)))},k.prototype.clear=function(e){m(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},k.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},m.fn.owlCarousel.Constructor.Plugins.Animate=k,g=window.Zepto||window.jQuery,v=window,y=document,S.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},S.prototype._next=function(e){this._call=v.setTimeout(g.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||y.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},S.prototype.read=function(){return(new Date).getTime()-this._time},S.prototype.play=function(e,t){var i;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):v.clearTimeout(this._call),this._time+=this.read()%e-i,this._timeout=e,this._call=v.setTimeout(g.proxy(this._next,this,t),e-i)},S.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,v.clearTimeout(this._call),this._core.leave("rotating"))},S.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,v.clearTimeout(this._call))},S.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},g.fn.owlCarousel.Constructor.Plugins.autoplay=S,function(r){"use strict";function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+r(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":r.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)}t.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?r(i.navContainer):r("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=r("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[r('<button role="button">').addClass(i.dotClass).append(r("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?r(i.dotsContainer):r("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",r.proxy(function(e){var t=(r(e.target).parent().is(this._controls.$absolute)?r(e.target):r(e.target).parent()).index();e.preventDefault(),this.to(t,i.dotsSpeed)},this)),this._overrides)this._core[e]=r.proxy(this[e],this)},t.prototype.destroy=function(){var e,t,i,n,r=this._core.settings;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&r.navContainer?this._controls[t].html(""):this._controls[t].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.prototype.update=function(){var e,t,i=this._core.clones().length/2,n=i+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=i,t=0;e<n;e++){if(o<=t||0===t){if(this._pages.push({start:Math.min(r,e-i),end:e-i+o-1}),Math.min(r,e-i)===r)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var e=this._core.settings,t=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),n=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||t),e.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||t),e.dots&&(n=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=n?this._controls.$absolute.html(this._templates.join("")):0<n?this._controls.$absolute.append(new Array(1+n).join(this._templates[0])):n<0&&this._controls.$absolute.children().slice(n).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(r.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(e){var t=this._core.settings;e.page={index:r.inArray(this.current(),this._pages),count:this._pages.length,size:t&&(t.center||t.autoWidth||t.dotsData?1:t.dotsEach||t.items)}},t.prototype.current=function(){var i=this._core.relative(this._core.current());return r.grep(this._pages,r.proxy(function(e,t){return e.start<=i&&e.end>=i},this)).pop()},t.prototype.getPosition=function(e){var t,i,n=this._core.settings;return"page"==n.slideBy?(t=r.inArray(this.current(),this._pages),i=this._pages.length,e?++t:--t,t=this._pages[(t%i+i)%i].start):(t=this._core.relative(this._core.current()),i=this._core.items().length,e?t+=n.slideBy:t-=n.slideBy),t},t.prototype.next=function(e){r.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},t.prototype.prev=function(e){r.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},t.prototype.to=function(e,t,i){!i&&this._pages.length?(i=this._pages.length,r.proxy(this._overrides.to,this._core)(this._pages[(e%i+i)%i].start,t)):r.proxy(this._overrides.to,this._core)(e,t)},r.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,(window,document)),function(n,r){"use strict";function t(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&n(r).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(e){var t;e.namespace&&(t=n(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[t]=e.content)},this),"changed.owl.carousel":n.proxy(function(e){var i;e.namespace&&"position"===e.property.name&&(i=this._core.items(this._core.relative(this._core.current())),(e=n.map(this._hashes,function(e,t){return e===i?t:null}).join())&&r.location.hash.slice(1)!==e&&(r.location.hash=e))},this)},this._core.options=n.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),n(r).on("hashchange.owl.navigation",n.proxy(function(e){var t=r.location.hash.substring(1),i=this._core.$stage.children(),i=this._hashes[t]&&i.index(this._hashes[t]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))}t.Defaults={URLhashListener:!1},t.prototype.destroy=function(){var e,t;for(e in n(r).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=t}(window.Zepto||window.jQuery,window,document),function(r){var s=r("<support>").get(0).style,o="Webkit Moz O ms".split(" "),e={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},t=function(){return!!a("transform")},i=function(){return!!a("perspective")},n=function(){return!!a("animation")};function a(e,i){var n=!1,t=e.charAt(0).toUpperCase()+e.slice(1);return r.each((e+" "+o.join(t+" ")+t).split(" "),function(e,t){if(void 0!==s[t])return n=!i||t,!1}),n}function l(e){return a(e,!0)}!function(){return!!a("transition")}()||(r.support.transition=new String(l("transition")),r.support.transition.end=e.transition.end[r.support.transition]),n()&&(r.support.animation=new String(l("animation")),r.support.animation.end=e.animation.end[r.support.animation]),t()&&(r.support.transform=new String(l("transform")),r.support.transform3d=i())}(window.Zepto||window.jQuery,(window,document))},
vendor: 19,556 bytes, line 1
1"./node_modules/perfect-scrollbar/dist/perfect-scrollbar.js":function(e,t,i){e.exports=function(){"use strict";function g(e){return getComputedStyle(e)}function c(e,t){for(var i in t){var n=t[i];if(typeof n==="number")n=n+"px";e.style[i]=n}return e}function u(e){var t=document.createElement("div");t.className=e;return t}var i=typeof Element!=="undefined"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function n(e,t){if(!i)throw new Error("No element matching method supported");return i.call(e,t)}function r(e){if(e.remove)e.remove();else if(e.parentNode)e.parentNode.removeChild(e)}function s(e,t){return Array.prototype.filter.call(e.children,function(e){return n(e,t)})}var y={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},o={x:null,y:null};function b(e,t){var i=e.element.classList;var n=y.state.scrolling(t);if(i.contains(n))clearTimeout(o[t]);else i.add(n)}function _(e,t){o[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(y.state.scrolling(t))},e.settings.scrollingThreshold)}function h(e,t){b(e,t);_(e,t)}var a=function e(t){this.element=t;this.handlers={}},e={isEmpty:{configurable:true}},d=(a.prototype.bind=function e(t,i){if(typeof this.handlers[t]==="undefined")this.handlers[t]=[];this.handlers[t].push(i);this.element.addEventListener(t,i,false)},a.prototype.unbind=function e(t,i){var n=this;this.handlers[t]=this.handlers[t].filter(function(e){if(i&&e!==i)return true;n.element.removeEventListener(t,e,false);return false})},a.prototype.unbindAll=function e(){for(var t in this.handlers)this.unbind(t)},e.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return t.handlers[e].length===0})},Object.defineProperties(a.prototype,e),function e(){this.eventElements=[]});function f(e){if(typeof window.CustomEvent==="function")return new CustomEvent(e);else{var t=document.createEvent("CustomEvent");t.initCustomEvent(e,false,false,undefined);return t}}function l(e,t,i,n,r){if(n===void 0)n=true;if(r===void 0)r=false;var s;if(t==="top")s=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")s=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");p(e,i,s,n,r)}function p(e,t,i,n,r){var s=i[0];var o=i[1];var a=i[2];var l=i[3];var c=i[4];var u=i[5];if(n===void 0)n=true;if(r===void 0)r=false;var d=e.element;e.reach[l]=null;if(d[a]<1)e.reach[l]="start";if(d[a]>e[s]-e[o]-1)e.reach[l]="end";if(t){d.dispatchEvent(f("ps-scroll-"+l));if(t<0)d.dispatchEvent(f("ps-scroll-"+c));else if(t>0)d.dispatchEvent(f("ps-scroll-"+u));if(n)h(e,l)}if(e.reach[l]&&(t||r))d.dispatchEvent(f("ps-"+l+"-reach-"+e.reach[l]))}function m(e){return parseInt(e,10)||0}function v(e){return n(e,"input,[contenteditable]")||n(e,"select,[contenteditable]")||n(e,"textarea,[contenteditable]")||n(e,"button,[contenteditable]")}function x(e){var t=g(e);return m(t.width)+m(t.paddingLeft)+m(t.paddingRight)+m(t.borderLeftWidth)+m(t.borderRightWidth)}d.prototype.eventElement=function e(t){var i=this.eventElements.filter(function(e){return e.element===t})[0];if(!i){i=new a(t);this.eventElements.push(i)}return i},d.prototype.bind=function e(t,i,n){this.eventElement(t).bind(i,n)},d.prototype.unbind=function e(t,i,n){var r=this.eventElement(t);r.unbind(i,n);if(r.isEmpty)this.eventElements.splice(this.eventElements.indexOf(r),1)},d.prototype.unbindAll=function e(){this.eventElements.forEach(function(e){return e.unbindAll()});this.eventElements=[]},d.prototype.once=function e(t,i,n){var r=this.eventElement(t);var s=function(e){r.unbind(i,s);n(e)};r.bind(i,s)};var w={isWebKit:typeof document!=="undefined"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window!=="undefined"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator!=="undefined"&&navigator.msMaxTouchPoints,isChrome:typeof navigator!=="undefined"&&/Chrome/i.test(navigator&&navigator.userAgent)};function k(e){var t=e.element;var i=Math.floor(t.scrollTop);var n=t.getBoundingClientRect();e.containerWidth=Math.ceil(n.width);e.containerHeight=Math.ceil(n.height);e.contentWidth=t.scrollWidth;e.contentHeight=t.scrollHeight;if(!t.contains(e.scrollbarXRail)){s(t,y.element.rail("x")).forEach(function(e){return r(e)});t.appendChild(e.scrollbarXRail)}if(!t.contains(e.scrollbarYRail)){s(t,y.element.rail("y")).forEach(function(e){return r(e)});t.appendChild(e.scrollbarYRail)}if(!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth){e.scrollbarXActive=true;e.railXWidth=e.containerWidth-e.railXMarginWidth;e.railXRatio=e.containerWidth/e.railXWidth;e.scrollbarXWidth=S(e,m(e.railXWidth*e.containerWidth/e.contentWidth));e.scrollbarXLeft=m((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))}else e.scrollbarXActive=false;if(!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight){e.scrollbarYActive=true;e.railYHeight=e.containerHeight-e.railYMarginHeight;e.railYRatio=e.containerHeight/e.railYHeight;e.scrollbarYHeight=S(e,m(e.railYHeight*e.containerHeight/e.contentHeight));e.scrollbarYTop=m(i*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))}else e.scrollbarYActive=false;if(e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth)e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth;if(e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight)e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight;M(t,e);if(e.scrollbarXActive)t.classList.add(y.state.active("x"));else{t.classList.remove(y.state.active("x"));e.scrollbarXWidth=0;e.scrollbarXLeft=0;t.scrollLeft=e.isRtl===true?e.contentWidth:0}if(e.scrollbarYActive)t.classList.add(y.state.active("y"));else{t.classList.remove(y.state.active("y"));e.scrollbarYHeight=0;e.scrollbarYTop=0;t.scrollTop=0}}function S(e,t){if(e.settings.minScrollbarLength)t=Math.max(t,e.settings.minScrollbarLength);if(e.settings.maxScrollbarLength)t=Math.min(t,e.settings.maxScrollbarLength);return t}function M(e,t){var i={width:t.railXWidth};var n=Math.floor(e.scrollTop);if(t.isRtl)i.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth;else i.left=e.scrollLeft;if(t.isScrollbarXUsingBottom)i.bottom=t.scrollbarXBottom-n;else i.top=t.scrollbarXTop+n;c(t.scrollbarXRail,i);var r={top:n,height:t.railYHeight};if(t.isScrollbarYUsingRight)if(t.isRtl)r.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9;else r.right=t.scrollbarYRight-e.scrollLeft;else if(t.isRtl)r.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth;else r.left=t.scrollbarYLeft+e.scrollLeft;c(t.scrollbarYRail,r);c(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth});c(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function t(n){var e=n.element;n.event.bind(n.scrollbarY,"mousedown",function(e){return e.stopPropagation()});n.event.bind(n.scrollbarYRail,"mousedown",function(e){var t=e.pageY-window.pageYOffset-n.scrollbarYRail.getBoundingClientRect().top;var i=t>n.scrollbarYTop?1:-1;n.element.scrollTop+=i*n.containerHeight;k(n);e.stopPropagation()});n.event.bind(n.scrollbarX,"mousedown",function(e){return e.stopPropagation()});n.event.bind(n.scrollbarXRail,"mousedown",function(e){var t=e.pageX-window.pageXOffset-n.scrollbarXRail.getBoundingClientRect().left;var i=t>n.scrollbarXLeft?1:-1;n.element.scrollLeft+=i*n.containerWidth;k(n);e.stopPropagation()})}function C(e){L(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]);L(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function L(i,e){var n=e[0];var r=e[1];var s=e[2];var o=e[3];var t=e[4];var a=e[5];var l=e[6];var c=e[7];var u=e[8];var d=i.element;var h=null;var f=null;var p=null;function m(e){if(e.touches&&e.touches[0])e[s]=e.touches[0].pageY;d[l]=h+p*(e[s]-f);b(i,c);k(i);e.stopPropagation();e.preventDefault()}function g(){_(i,c);i[u].classList.remove(y.state.clicking);i.event.unbind(i.ownerDocument,"mousemove",m)}function v(e,t){h=d[l];if(t&&e.touches)e[s]=e.touches[0].pageY;f=e[s];p=(i[r]-i[n])/(i[o]-i[a]);if(!t){i.event.bind(i.ownerDocument,"mousemove",m);i.event.once(i.ownerDocument,"mouseup",g);e.preventDefault()}else i.event.bind(i.ownerDocument,"touchmove",m);i[u].classList.add(y.state.clicking);e.stopPropagation()}i.event.bind(i[t],"mousedown",function(e){v(e)});i.event.bind(i[t],"touchstart",function(e){v(e,true)})}function T(r){var s=r.element;var o=function(){return n(s,":hover")};var a=function(){return n(r.scrollbarX,":focus")||n(r.scrollbarY,":focus")};function l(e,t){var i=Math.floor(s.scrollTop);if(e===0){if(!r.scrollbarYActive)return false;if(i===0&&t>0||i>=r.contentHeight-r.containerHeight&&t<0)return!r.settings.wheelPropagation}var n=s.scrollLeft;if(t===0){if(!r.scrollbarXActive)return false;if(n===0&&e<0||n>=r.contentWidth-r.containerWidth&&e>0)return!r.settings.wheelPropagation}return true}r.event.bind(r.ownerDocument,"keydown",function(e){if(e.isDefaultPrevented&&e.isDefaultPrevented()||e.defaultPrevented)return;if(!o()&&!a())return;var t=document.activeElement?document.activeElement:r.ownerDocument.activeElement;if(t){if(t.tagName==="IFRAME")t=t.contentDocument.activeElement;else while(t.shadowRoot)t=t.shadowRoot.activeElement;if(v(t))return}var i=0;var n=0;switch(e.which){case 37:if(e.metaKey)i=-r.contentWidth;else if(e.altKey)i=-r.containerWidth;else i=-30;break;case 38:if(e.metaKey)n=r.contentHeight;else if(e.altKey)n=r.containerHeight;else n=30;break;case 39:if(e.metaKey)i=r.contentWidth;else if(e.altKey)i=r.containerWidth;else i=30;break;case 40:if(e.metaKey)n=-r.contentHeight;else if(e.altKey)n=-r.containerHeight;else n=-30;break;case 32:if(e.shiftKey)n=r.containerHeight;else n=-r.containerHeight;break;case 33:n=r.containerHeight;break;case 34:n=-r.containerHeight;break;case 36:n=r.contentHeight;break;case 35:n=-r.contentHeight;break;default:return}if(r.settings.suppressScrollX&&i!==0)return;if(r.settings.suppressScrollY&&n!==0)return;s.scrollTop-=n;s.scrollLeft+=i;k(r);if(l(i,n))e.preventDefault()})}function D(l){var c=l.element;function s(e,t){var i=Math.floor(c.scrollTop);var n=c.scrollTop===0;var r=i+c.offsetHeight===c.scrollHeight;var s=c.scrollLeft===0;var o=c.scrollLeft+c.offsetWidth===c.scrollWidth;var a;if(Math.abs(t)>Math.abs(e))a=n||r;else a=s||o;return a?!l.settings.wheelPropagation:true}function o(e){var t=e.deltaX;var i=-1*e.deltaY;if(typeof t==="undefined"||typeof i==="undefined"){t=-1*e.wheelDeltaX/6;i=e.wheelDeltaY/6}if(e.deltaMode&&e.deltaMode===1){t*=10;i*=10}if(t!==t&&i!==i){t=0;i=e.wheelDelta}if(e.shiftKey)return[-i,-t];return[t,i]}function a(e,t,i){if(!w.isWebKit&&c.querySelector("select:focus"))return true;if(!c.contains(e))return false;var n=e;while(n&&n!==c){if(n.classList.contains(y.element.consuming))return true;var r=g(n);if(i&&r.overflowY.match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0)if(n.scrollTop>0&&i<0||n.scrollTop<s&&i>0)return true}if(t&&r.overflowX.match(/(scroll|auto)/)){var o=n.scrollWidth-n.clientWidth;if(o>0)if(n.scrollLeft>0&&t<0||n.scrollLeft<o&&t>0)return true}n=n.parentNode}return false}function e(e){var t=o(e);var i=t[0];var n=t[1];if(a(e.target,i,n))return;var r=false;if(!l.settings.useBothWheelAxes){c.scrollTop-=n*l.settings.wheelSpeed;c.scrollLeft+=i*l.settings.wheelSpeed}else if(l.scrollbarYActive&&!l.scrollbarXActive){if(n)c.scrollTop-=n*l.settings.wheelSpeed;else c.scrollTop+=i*l.settings.wheelSpeed;r=true}else if(l.scrollbarXActive&&!l.scrollbarYActive){if(i)c.scrollLeft+=i*l.settings.wheelSpeed;else c.scrollLeft-=n*l.settings.wheelSpeed;r=true}k(l);r=r||s(i,n);if(r&&!e.ctrlKey){e.stopPropagation();e.preventDefault()}}if(typeof window.onwheel!=="undefined")l.event.bind(c,"wheel",e);else if(typeof window.onmousewheel!=="undefined")l.event.bind(c,"mousewheel",e)}function E(o){if(!w.supportsTouch&&!w.supportsIePointer)return;var a=o.element;function l(e,t){var i=Math.floor(a.scrollTop);var n=a.scrollLeft;var r=Math.abs(e);var s=Math.abs(t);if(s>r){if(t<0&&i===o.contentHeight-o.containerHeight||t>0&&i===0)return window.scrollY===0&&t>0&&w.isChrome}else if(r>s)if(e<0&&n===o.contentWidth-o.containerWidth||e>0&&n===0)return true;return true}function c(e,t){a.scrollTop-=t;a.scrollLeft-=e;k(o)}var u={};var d=0;var h={};var i=null;function f(e){if(e.targetTouches)return e.targetTouches[0];else return e}function p(e){if(e.pointerType&&e.pointerType==="pen"&&e.buttons===0)return false;if(e.targetTouches&&e.targetTouches.length===1)return true;if(e.pointerType&&e.pointerType!=="mouse"&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE)return true;return false}function e(e){if(!p(e))return;var t=f(e);u.pageX=t.pageX;u.pageY=t.pageY;d=(new Date).getTime();if(i!==null)clearInterval(i)}function m(e,t,i){if(!a.contains(e))return false;var n=e;while(n&&n!==a){if(n.classList.contains(y.element.consuming))return true;var r=g(n);if(i&&r.overflowY.match(/(scroll|auto)/)){var s=n.scrollHeight-n.clientHeight;if(s>0)if(n.scrollTop>0&&i<0||n.scrollTop<s&&i>0)return true}if(t&&r.overflowX.match(/(scroll|auto)/)){var o=n.scrollWidth-n.clientWidth;if(o>0)if(n.scrollLeft>0&&t<0||n.scrollLeft<o&&t>0)return true}n=n.parentNode}return false}function t(e){if(p(e)){var t=f(e);var i={pageX:t.pageX,pageY:t.pageY};var n=i.pageX-u.pageX;var r=i.pageY-u.pageY;if(m(e.target,n,r))return;c(n,r);u=i;var s=(new Date).getTime();var o=s-d;if(o>0){h.x=n/o;h.y=r/o;d=s}if(l(n,r))e.preventDefault()}}function n(){if(o.settings.swipeEasing){clearInterval(i);i=setInterval(function(){if(o.isInitialized){clearInterval(i);return}if(!h.x&&!h.y){clearInterval(i);return}if(Math.abs(h.x)<.01&&Math.abs(h.y)<.01){clearInterval(i);return}c(h.x*30,h.y*30);h.x*=.8;h.y*=.8},10)}}if(w.supportsTouch){o.event.bind(a,"touchstart",e);o.event.bind(a,"touchmove",t);o.event.bind(a,"touchend",n)}else if(w.supportsIePointer)if(window.PointerEvent){o.event.bind(a,"pointerdown",e);o.event.bind(a,"pointermove",t);o.event.bind(a,"pointerup",n)}else if(window.MSPointerEvent){o.event.bind(a,"MSPointerDown",e);o.event.bind(a,"MSPointerMove",t);o.event.bind(a,"MSPointerUp",n)}}var A=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:false,suppressScrollY:false,swipeEasing:true,useBothWheelAxes:false,wheelPropagation:true,wheelSpeed:1}},j={"click-rail":t,"drag-thumb":C,keyboard:T,wheel:D,touch:E},O=function e(i,t){var n=this;if(t===void 0)t={};if(typeof i==="string")i=document.querySelector(i);if(!i||!i.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=i;i.classList.add(y.main);this.settings=A();for(var r in t)this.settings[r]=t[r];this.containerWidth=null;this.containerHeight=null;this.contentWidth=null;this.contentHeight=null;var s=function(){return i.classList.add(y.state.focus)};var o=function(){return i.classList.remove(y.state.focus)};this.isRtl=g(i).direction==="rtl";if(this.isRtl===true)i.classList.add(y.rtl);this.isNegativeScroll=function(){var e=i.scrollLeft;var t=null;i.scrollLeft=-1;t=i.scrollLeft<0;i.scrollLeft=e;return t}();this.negativeScrollAdjustment=this.isNegativeScroll?i.scrollWidth-i.clientWidth:0;this.event=new d;this.ownerDocument=i.ownerDocument||document;this.scrollbarXRail=u(y.element.rail("x"));i.appendChild(this.scrollbarXRail);this.scrollbarX=u(y.element.thumb("x"));this.scrollbarXRail.appendChild(this.scrollbarX);this.scrollbarX.setAttribute("tabindex",0);this.event.bind(this.scrollbarX,"focus",s);this.event.bind(this.scrollbarX,"blur",o);this.scrollbarXActive=null;this.scrollbarXWidth=null;this.scrollbarXLeft=null;var a=g(this.scrollbarXRail);this.scrollbarXBottom=parseInt(a.bottom,10);if(isNaN(this.scrollbarXBottom)){this.isScrollbarXUsingBottom=false;this.scrollbarXTop=m(a.top)}else this.isScrollbarXUsingBottom=true;this.railBorderXWidth=m(a.borderLeftWidth)+m(a.borderRightWidth);c(this.scrollbarXRail,{display:"block"});this.railXMarginWidth=m(a.marginLeft)+m(a.marginRight);c(this.scrollbarXRail,{display:""});this.railXWidth=null;this.railXRatio=null;this.scrollbarYRail=u(y.element.rail("y"));i.appendChild(this.scrollbarYRail);this.scrollbarY=u(y.element.thumb("y"));this.scrollbarYRail.appendChild(this.scrollbarY);this.scrollbarY.setAttribute("tabindex",0);this.event.bind(this.scrollbarY,"focus",s);this.event.bind(this.scrollbarY,"blur",o);this.scrollbarYActive=null;this.scrollbarYHeight=null;this.scrollbarYTop=null;var l=g(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10);if(isNaN(this.scrollbarYRight)){this.isScrollbarYUsingRight=false;this.scrollbarYLeft=m(l.left)}else this.isScrollbarYUsingRight=true;this.scrollbarYOuterWidth=this.isRtl?x(this.scrollbarY):null;this.railBorderYWidth=m(l.borderTopWidth)+m(l.borderBottomWidth);c(this.scrollbarYRail,{display:"block"});this.railYMarginHeight=m(l.marginTop)+m(l.marginBottom);c(this.scrollbarYRail,{display:""});this.railYHeight=null;this.railYRatio=null;this.reach={x:i.scrollLeft<=0?"start":i.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:i.scrollTop<=0?"start":i.scrollTop>=this.contentHeight-this.containerHeight?"end":null};this.isAlive=true;this.settings.handlers.forEach(function(e){return j[e](n)});this.lastScrollTop=Math.floor(i.scrollTop);this.lastScrollLeft=i.scrollLeft;this.event.bind(this.element,"scroll",function(e){return n.onScroll(e)});k(this)};return O.prototype.update=function e(){if(!this.isAlive)return;this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0;c(this.scrollbarXRail,{display:"block"});c(this.scrollbarYRail,{display:"block"});this.railXMarginWidth=m(g(this.scrollbarXRail).marginLeft)+m(g(this.scrollbarXRail).marginRight);this.railYMarginHeight=m(g(this.scrollbarYRail).marginTop)+m(g(this.scrollbarYRail).marginBottom);c(this.scrollbarXRail,{display:"none"});c(this.scrollbarYRail,{display:"none"});k(this);l(this,"top",0,false,true);l(this,"left",0,false,true);c(this.scrollbarXRail,{display:""});c(this.scrollbarYRail,{display:""})},O.prototype.onScroll=function e(t){if(!this.isAlive)return;k(this);l(this,"top",this.element.scrollTop-this.lastScrollTop);l(this,"left",this.element.scrollLeft-this.lastScrollLeft);this.lastScrollTop=Math.floor(this.element.scrollTop);this.lastScrollLeft=this.element.scrollLeft},O.prototype.destroy=function e(){if(!this.isAlive)return;this.event.unbindAll();r(this.scrollbarX);r(this.scrollbarY);r(this.scrollbarXRail);r(this.scrollbarYRail);this.removePsClasses();this.element=null;this.scrollbarX=null;this.scrollbarY=null;this.scrollbarXRail=null;this.scrollbarYRail=null;this.isAlive=false},O.prototype.removePsClasses=function e(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")},O}()},
vendor: 20,323 bytes, line 1
1"./node_modules/popper.js/dist/esm/popper.js":function(e,ee,t){"use strict";t.r(ee),function(I){var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,N=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(i&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}();var H=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},N))}};function o(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){if(1!==e.nodeType)return[];e=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?e[t]:e}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),i=t.overflow,n=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(i+t+n)?e:u(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var t=i&&!(!window.MSInputMethodContext||!document.documentMode),F=i&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?t:10!==e&&t||F}function f(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===d(i,"position")?f(i):i:(e?e.ownerDocument:document).documentElement}function s(e){return null!==e.parentNode?s(e.parentNode):e}function p(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,i=i?t:e,r=document.createRange(),r=(r.setStart(n,0),r.setEnd(i,0),r.commonAncestorContainer);if(e!==r&&t!==r||n.contains(i))return"BODY"===(i=(n=r).nodeName)||"HTML"!==i&&f(n.firstElementChild)!==n?f(r):r;i=s(e);return i.host?p(i.host,t):p(e,s(t).host)}function m(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;return"BODY"===i||"HTML"===i?(i=e.ownerDocument.documentElement,(e.ownerDocument.scrollingElement||i)[t]):e[t]}function r(e,t){var t="x"===t?"Left":"Top",i="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"])+parseFloat(e["border"+i+"Width"])}function n(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],h(10)?parseInt(i["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function g(e){var t=e.body,e=e.documentElement,i=h(10)&&getComputedStyle(e);return{height:n("Height",t,e,i),width:n("Width",t,e,i)}}var e=function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e};function a(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function b(e){return y({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t={};try{h(10)?(t=e.getBoundingClientRect(),i=m(e,"top"),n=m(e,"left"),t.top+=i,t.left+=n,t.bottom+=i,t.right+=n):t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n="HTML"===e.nodeName?g(e.ownerDocument):{},t=n.width||e.clientWidth||i.width,n=n.height||e.clientHeight||i.height,t=e.offsetWidth-t,n=e.offsetHeight-n;return(t||n)&&(t-=r(e=d(e),"x"),n-=r(e,"y"),i.width-=t,i.height-=n),b(i)}function x(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=h(10),r="HTML"===t.nodeName,s=_(e),o=_(t),e=u(e),a=d(t),l=parseFloat(a.borderTopWidth),c=parseFloat(a.borderLeftWidth),o=(i&&r&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0)),b({top:s.top-o.top-l,left:s.left-o.left-c,width:s.width,height:s.height}));return o.marginTop=0,o.marginLeft=0,!n&&r&&(s=parseFloat(a.marginTop),r=parseFloat(a.marginLeft),o.top-=l-s,o.bottom-=l-s,o.left-=c-r,o.right-=c-r,o.marginTop=s,o.marginLeft=r),o=(n&&!i?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=m(t,"top"),t=m(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(o,t):o}function w(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,i,n,r){var s,r=4<arguments.length&&void 0!==r&&r,o={top:0,left:0},a=r?w(e):p(e,c(t)),a=("viewport"===n?o=function(e,t){var t=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,e=x(e,i),n=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=t?0:m(i),t=t?0:m(i,"left");return b({top:s-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:n,height:r})}(a,r):(s=void 0,"scrollParent"===n?"BODY"===(s=u(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n,t=x(s,a,r),"HTML"!==s.nodeName||function e(t){var i=t.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===d(t,"position"))return!0;i=l(t);return!!i&&e(i)}(a)?o=t:(r=(n=g(e.ownerDocument)).height,s=n.width,o.top+=t.top-t.marginTop,o.bottom=r+t.top,o.left+=t.left-t.marginLeft,o.right=s+t.left)),"number"==typeof(i=i||0));return o.left+=a?i:i.left||0,o.top+=a?i:i.top||0,o.right-=a?i:i.right||0,o.bottom-=a?i:i.bottom||0,o}function S(e,t,i,n,r,s){s=5<arguments.length&&void 0!==s?s:0;if(-1===e.indexOf("auto"))return e;var n=k(i,n,s,r),o={top:{width:n.width,height:t.top-n.top},right:{width:n.right-t.right,height:n.height},bottom:{width:n.width,height:n.bottom-t.bottom},left:{width:t.left-n.left,height:n.height}},s=Object.keys(o).map(function(e){return y({key:e},o[e],{area:(e=o[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),r=s.filter(function(e){var t=e.width,e=e.height;return t>=i.clientWidth&&e>=i.clientHeight}),t=(0<r.length?r:s)[0].key,n=e.split("-")[1];return t+(n?"-"+n:"")}function M(e,t,i,n){n=3<arguments.length&&void 0!==n?n:null;return x(i,n?w(t):p(t,c(i)),n)}function C(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+i}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,i){i=i.split("-")[0];var e=C(e),n={width:e.width,height:e.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",o=r?"left":"top",a=r?"height":"width",r=r?"width":"height";return n[s]=t[s]+t[a]/2-e[a]/2,n[o]=i===o?t[o]-e[r]:t[L(o)],n}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function E(e,i,t){return(void 0===t?e:e.slice(0,function(e,t,i){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===i});var n=D(e,function(e){return e[t]===i});return e.indexOf(n)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&o(t)&&(i.offsets.popper=b(i.offsets.popper),i.offsets.reference=b(i.offsets.reference),i=t(i,e))}),i}function R(e,i){return e.some(function(e){var t=e.name;return e.enabled&&t===i})}function A(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var r=t[n],r=r?""+r+i:e;if(void 0!==document.body.style[r])return r}return null}function z(e){e=e.ownerDocument;return e?e.defaultView:window}function $(e,t,i,n){i.updateBound=n,z(e).addEventListener("resize",i.updateBound,{passive:!0});n=u(e);return function e(t,i,n,r){var s="BODY"===t.nodeName,t=s?t.ownerDocument.defaultView:t;t.addEventListener(i,n,{passive:!0}),s||e(u(t.parentNode),i,n,r),r.push(t)}(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function B(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,z(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function j(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function O(i,n){Object.keys(n).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&j(n[e])&&(t="px"),i.style[e]=n[e]+t})}function q(e,t){function i(e){return e}var n=e.offsets,r=n.popper,n=n.reference,s=Math.round,o=Math.floor,n=s(n.width),a=s(r.width),l=-1!==["left","right"].indexOf(e.placement),e=-1!==e.placement.indexOf("-"),l=t?l||e||n%2==a%2?s:o:i,o=t?s:i;return{left:l(n%2==1&&a%2==1&&!e&&t?r.left-1:r.left),top:o(r.top),bottom:o(r.bottom),right:l(r.right)}}var W=i&&/Firefox/i.test(navigator.userAgent);function V(e,t,i){var n,r=D(e,function(e){return e.name===t}),e=!!r&&e.some(function(e){return e.name===i&&e.enabled&&e.order<r.order});return e||(n="`"+t+"`",console.warn("`"+i+"`"+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),e}var U=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],P=U.slice(3);function X(e,t){t=1<arguments.length&&void 0!==t&&t,e=P.indexOf(e),e=P.slice(e+1).concat(P.slice(0,e));return t?e.reverse():e}var G="flip",K="clockwise",Z="counterclockwise";function J(e,a,l,t){var r=[0,0],n=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(D(t,function(e){return-1!==e.search(/,|\s/)})),i=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(i)[0]]),[t[e].split(i)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var o=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return t=o,i=a,n=l,r=+(s=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],s=s[2],r?0===s.indexOf("%")?b("%p"===s?i:n)[t]/100*r:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r:e;var t,i,n,r,s})}).forEach(function(i,n){i.forEach(function(e,t){j(e)&&(r[n]+=e*("-"===i[t-1]?-1:1))})}),r}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,i,n,r=e.placement,s=r.split("-")[0];return(r=r.split("-")[1])&&(t=(i=e.offsets).reference,i=i.popper,n=(s=-1!==["bottom","top"].indexOf(s))?"width":"height",s={start:v({},s=s?"left":"top",t[s]),end:v({},s,t[s]+t[n]-i[n])},e.offsets.popper=y({},i,s[r])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,i=e.placement,n=(r=e.offsets).popper,r=r.reference,i=i.split("-")[0],s=void 0,s=j(+t)?[+t,0]:J(t,n,r,i);return"left"===i?(n.top+=s[0],n.left-=s[1]):"right"===i?(n.top+=s[0],n.left+=s[1]):"top"===i?(n.left+=s[0],n.top-=s[1]):"bottom"===i&&(n.left+=s[0],n.top+=s[1]),e.popper=n,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var t=n.boundariesElement||f(e.instance.popper),i=(e.instance.reference===t&&(t=f(t)),A("transform")),r=e.instance.popper.style,s=r.top,o=r.left,a=r[i],l=(r.top="",r.left="",r[i]="",k(e.instance.popper,e.instance.reference,n.padding,t,e.positionFixed)),t=(r.top=s,r.left=o,r[i]=a,n.boundaries=l,n.priority),c=e.offsets.popper,u={primary:function(e){var t=c[e];return c[e]<l[e]&&!n.escapeWithReference&&(t=Math.max(c[e],l[e])),v({},e,t)},secondary:function(e){var t="right"===e?"left":"top",i=c[t];return c[e]>l[e]&&!n.escapeWithReference&&(i=Math.min(c[t],l[e]-("right"===e?c.width:c.height))),v({},t,i)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=y({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(i=e.offsets).popper,i=i.reference,n=e.placement.split("-")[0],r=Math.floor,s=(n=-1!==["top","bottom"].indexOf(n))?"right":"bottom",o=n?"left":"top",n=n?"width":"height";return t[s]<r(i[o])&&(e.offsets.popper[o]=r(i[o])-t[n]),t[o]>r(i[s])&&(e.offsets.popper[o]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!V(e.instance.modifiers,"arrow","keepTogether"))return e;if("string"==typeof(t=t.element)){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],n=(r=e.offsets).popper,r=r.reference,s=(i=-1!==["left","right"].indexOf(i))?"height":"width",o=(u=i?"Top":"Left").toLowerCase(),a=i?"left":"top",i=i?"bottom":"right",l=C(t)[s],i=(r[i]-l<n[o]&&(e.offsets.popper[o]-=n[o]-(r[i]-l)),r[o]+l>n[i]&&(e.offsets.popper[o]+=r[o]+l-n[i]),e.offsets.popper=b(e.offsets.popper),r[o]+r[s]/2-l/2),r=d(e.instance.popper),c=parseFloat(r["margin"+u]),r=parseFloat(r["border"+u+"Width"]),u=i-e.offsets.popper[o]-c-r,u=Math.max(Math.min(n[s]-l,u),0);return e.arrowElement=t,e.offsets.arrow=(v(i={},o,Math.round(u)),v(i,a,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,u){if(R(c.instance.modifiers,"inner"))return c;if(c.flipped&&c.placement===c.originalPlacement)return c;var d=k(c.instance.popper,c.instance.reference,u.padding,u.boundariesElement,c.positionFixed),h=c.placement.split("-")[0],f=L(h),p=c.placement.split("-")[1]||"",m=[];switch(u.behavior){case G:m=[h,f];break;case K:m=X(h);break;case Z:m=X(h,!0);break;default:m=u.behavior}return m.forEach(function(e,t){if(h!==e||m.length===t+1)return c;h=c.placement.split("-")[0],f=L(h);var e=c.offsets.popper,i=c.offsets.reference,n=Math.floor,i="left"===h&&n(e.right)>n(i.left)||"right"===h&&n(e.left)<n(i.right)||"top"===h&&n(e.bottom)>n(i.top)||"bottom"===h&&n(e.top)<n(i.bottom),r=n(e.left)<n(d.left),s=n(e.right)>n(d.right),o=n(e.top)<n(d.top),e=n(e.bottom)>n(d.bottom),n="left"===h&&r||"right"===h&&s||"top"===h&&o||"bottom"===h&&e,a=-1!==["top","bottom"].indexOf(h),l=!!u.flipVariations&&(a&&"start"===p&&r||a&&"end"===p&&s||!a&&"start"===p&&o||!a&&"end"===p&&e),s=!!u.flipVariationsByContent&&(a&&"start"===p&&s||a&&"end"===p&&r||!a&&"start"===p&&e||!a&&"end"===p&&o),r=l||s;(i||n||r)&&(c.flipped=!0,(i||n)&&(h=m[t+1]),r&&(p="end"===(e=p)?"start":"start"===e?"end":e),c.placement=h+(p?"-"+p:""),c.offsets.popper=y({},c.offsets.popper,T(c.instance.popper,c.offsets.reference,c.placement)),c=E(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=(r=e.offsets).popper,r=r.reference,s=-1!==["left","right"].indexOf(i),o=-1===["top","left"].indexOf(i);return n[s?"left":"top"]=r[i]-(o?n[s?"width":"height"]:0),e.placement=L(t),e.offsets.popper=b(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=D(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var i=t.x,n=t.y,r=e.offsets.popper,s=(void 0!==(s=D(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==s?s:t.gpuAcceleration),o=_(t=f(e.instance.popper)),r={position:r.position},a=q(e,window.devicePixelRatio<2||!W),i="bottom"===i?"top":"bottom",n="right"===n?"left":"right",l=A("transform"),c=void 0,u=void 0,u="bottom"==i?"HTML"===t.nodeName?-t.clientHeight+a.bottom:-o.height+a.bottom:a.top,c="right"==n?"HTML"===t.nodeName?-t.clientWidth+a.right:-o.width+a.right:a.left,o=(s&&l?(r[l]="translate3d("+c+"px, "+u+"px, 0)",r[i]=0,r[n]=0,r.willChange="transform"):(t="right"==n?-1:1,r[i]=u*("bottom"==i?-1:1),r[n]=c*t,r.willChange=i+", "+n),{"x-placement":e.placement});return e.attributes=y({},o,e.attributes),e.styles=y({},r,e.styles),e.arrowStyles=y({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,i;return O(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEach(function(e){!1!==i[e]?t.setAttribute(e,i[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&O(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,n,r){return r=M(r,t,e,i.positionFixed),r=S(i.placement,r,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding),t.setAttribute("x-placement",r),O(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},e=(e(Y,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=S(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=E(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,R(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[A("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=$(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return B.call(this)}}]),Y);function Y(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=this,s=Y;if(!(r instanceof s))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=H(this.update.bind(this)),this.options=y({},Y.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(y({},Y.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=y({},Y.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return y({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&o(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}e.Utils=("undefined"!=typeof window?window:I).PopperUtils,e.placements=U,e.Defaults=Q,ee.default=e}.call(this,t("./node_modules/webpack/buildin/global.js"))},
vendor: 1,672 bytes, line 1
1"./node_modules/process/browser.js":function(e,t){var i,n,e=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{i="function"==typeof setTimeout?setTimeout:r}catch(e){i=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}function o(t){if(i===setTimeout)return setTimeout(t,0);if((i===r||!i)&&setTimeout)return(i=setTimeout)(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}var a,l=[],c=!1,u=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&h())}function h(){if(!c){for(var e=o(d),t=(c=!0,l.length);t;){for(a=l,l=[];++u<t;)a&&a[u].run();u=-1,t=l.length}a=null,c=!1,!function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return(n=clearTimeout)(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function p(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];l.push(new f(e,t)),1!==l.length||c||o(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},
vendor: 209,733 bytes, line 1
1"./node_modules/quill/dist/quill.js":function(t,e,i){!function(M){var e;e=function(){return i=[function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17),r=i(18),s=i(19),o=i(45),a=i(46),l=i(47),c=i(48),u=i(49),d=i(12),h=i(32),f=i(33),p=i(31),i=i(1),i={Scope:i.Scope,create:i.create,find:i.find,query:i.query,register:i.register,Container:n.default,Format:r.default,Leaf:s.default,Embed:c.default,Scroll:o.default,Block:l.default,Inline:a.default,Text:u.default,Attributor:{Attribute:d.default,Class:h.default,Style:f.default,Store:p.default}};t.default=i},function(e,n,t){"use strict";var r,i,s=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(n,"__esModule",{value:!0}),i=Error,s(a,i),a);function a(e){var t=this;return(t=i.call(this,e="[Parchment] "+e)||this).message=e,t.name=t.constructor.name,t}n.ParchmentError=o;var l,c={},u={},d={},h={};function f(e,t){var i;if(void 0===t&&(t=l.ANY),"string"==typeof e)i=h[e]||c[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)i=h.text;else if("number"==typeof e)e&l.LEVEL&l.BLOCK?i=h.block:e&l.LEVEL&l.INLINE&&(i=h.inline);else if(e instanceof HTMLElement){var n,r=(e.getAttribute("class")||"").split(/\s+/);for(n in r)if(i=u[r[n]])break;i=i||d[e.tagName]}return null!=i&&t&l.LEVEL&i.scope&&t&l.TYPE&i.scope?i:null}n.DATA_KEY="__blot",(s=l=n.Scope||(n.Scope={}))[s.TYPE=3]="TYPE",s[s.LEVEL=12]="LEVEL",s[s.ATTRIBUTE=13]="ATTRIBUTE",s[s.BLOT=14]="BLOT",s[s.INLINE=7]="INLINE",s[s.BLOCK=11]="BLOCK",s[s.BLOCK_BLOT=10]="BLOCK_BLOT",s[s.INLINE_BLOT=6]="INLINE_BLOT",s[s.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",s[s.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",s[s.ANY=15]="ANY",n.create=function(e,t){var i=f(e);if(null==i)throw new o("Unable to create "+e+" blot");return e=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:i.create(t),new i(e,t)},n.find=function e(t,i){return void 0===i&&(i=!1),null==t?null:null!=t[n.DATA_KEY]?t[n.DATA_KEY].blot:i?e(t.parentNode,i):null},n.query=f,n.register=function t(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];if(1<e.length)return e.map(function(e){return t(e)});var n=e[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new o("Invalid definition");if("abstract"===n.blotName)throw new o("Cannot register abstract class");return"string"==typeof(h[n.blotName||n.attrName]=n).keyName?c[n.keyName]=n:(null!=n.className&&(u[n.className]=n),null!=n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(e){return e.toUpperCase()}):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach(function(e){null!=d[e]&&null!=n.className||(d[e]=n)}))),n}},function(e,t,i){function u(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}var l=i(51),d=i(11),n=i(3),h=i(20),r=String.fromCharCode(0);u.prototype.insert=function(e,t){var i={};return 0===e.length?this:(i.insert=e,null!=t&&"object"==typeof t&&0<Object.keys(t).length&&(i.attributes=t),this.push(i))},u.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},u.prototype.retain=function(e,t){if(e<=0)return this;e={retain:e};return null!=t&&"object"==typeof t&&0<Object.keys(t).length&&(e.attributes=t),this.push(e)},u.prototype.push=function(e){var t=this.ops.length,i=this.ops[t-1];if(e=n(!0,{},e),"object"==typeof i){if("number"==typeof e.delete&&"number"==typeof i.delete)return this.ops[t-1]={delete:i.delete+e.delete},this;if("number"==typeof i.delete&&null!=e.insert&&"object"!=typeof(i=this.ops[--t-1]))return this.ops.unshift(e),this;if(d(e.attributes,i.attributes)){if("string"==typeof e.insert&&"string"==typeof i.insert)return this.ops[t-1]={insert:i.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof i.retain)return this.ops[t-1]={retain:i.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},u.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},u.prototype.filter=function(e){return this.ops.filter(e)},u.prototype.forEach=function(e){this.ops.forEach(e)},u.prototype.map=function(e){return this.ops.map(e)},u.prototype.partition=function(t){var i=[],n=[];return this.forEach(function(e){(t(e)?i:n).push(e)}),[i,n]},u.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},u.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+h.length(t):t.delete?e-t.delete:e},0)},u.prototype.length=function(){return this.reduce(function(e,t){return e+h.length(t)},0)},u.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var i,n=[],r=h.iterator(this.ops),s=0;s<t&&r.hasNext();)s<e?i=r.next(e-s):(i=r.next(t-s),n.push(i)),s+=h.length(i);return new u(n)},u.prototype.compose=function(e){var t=h.iterator(this.ops),i=h.iterator(e.ops),n=[],e=i.peek();if(null!=e&&"number"==typeof e.retain&&null==e.attributes){for(var r=e.retain;"insert"===t.peekType()&&t.peekLength()<=r;)r-=t.peekLength(),n.push(t.next());0<e.retain-r&&i.next(e.retain-r)}for(var s=new u(n);t.hasNext()||i.hasNext();)if("insert"===i.peekType())s.push(i.next());else if("delete"===t.peekType())s.push(t.next());else{var o=Math.min(t.peekLength(),i.peekLength()),a=t.next(o),l=i.next(o);if("number"==typeof l.retain){var c={},o=("number"==typeof a.retain?c.retain=o:c.insert=a.insert,h.attributes.compose(a.attributes,l.attributes,"number"==typeof a.retain));if(o&&(c.attributes=o),s.push(c),!i.hasNext()&&d(s.ops[s.ops.length-1],c))return o=new u(t.rest()),s.concat(o).chop()}else"number"==typeof l.delete&&"number"==typeof a.retain&&s.push(l)}return s.chop()},u.prototype.concat=function(e){var t=new u(this.ops.slice());return 0<e.ops.length&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},u.prototype.diff=function(i,e){if(this.ops===i.ops)return new u;var t=[this,i].map(function(t){return t.map(function(e){if(null!=e.insert)return"string"==typeof e.insert?e.insert:r;throw new Error("diff() called "+(t===i?"on":"with")+" non-document")}).join("")}),s=new u,t=l(t[0],t[1],e),o=h.iterator(this.ops),a=h.iterator(i.ops);return t.forEach(function(e){for(var t=e[1].length;0<t;){var i=0;switch(e[0]){case l.INSERT:i=Math.min(a.peekLength(),t),s.push(a.next(i));break;case l.DELETE:i=Math.min(t,o.peekLength()),o.next(i),s.delete(i);break;case l.EQUAL:var i=Math.min(o.peekLength(),a.peekLength(),t),n=o.next(i),r=a.next(i);d(n.insert,r.insert)?s.retain(i,h.attributes.diff(n.attributes,r.attributes)):s.push(r).delete(i)}t-=i}}),s.chop()},u.prototype.eachLine=function(e,t){t=t||"\n";for(var i=h.iterator(this.ops),n=new u,r=0;i.hasNext();){if("insert"!==i.peekType())return;var s=i.peek(),o=h.length(s)-i.peekLength(),s="string"==typeof s.insert?s.insert.indexOf(t,o)-o:-1;if(s<0)n.push(i.next());else if(0<s)n.push(i.next(s));else{if(!1===e(n,i.next(1).attributes||{},r))return;r+=1,n=new u}}0<n.length()&&e(n,{},r)},u.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var i,n,r,s=h.iterator(this.ops),o=h.iterator(e.ops),a=new u;s.hasNext()||o.hasNext();)"insert"!==s.peekType()||!t&&"insert"===o.peekType()?"insert"===o.peekType()?a.push(o.next()):(i=Math.min(s.peekLength(),o.peekLength()),n=s.next(i),r=o.next(i),n.delete||(r.delete?a.push(r):a.retain(i,h.attributes.transform(n.attributes,r.attributes,t)))):a.retain(h.length(s.next()));return a.chop()},u.prototype.transformPosition=function(e,t){t=!!t;for(var i=h.iterator(this.ops),n=0;i.hasNext()&&n<=e;){var r=i.peekLength(),s=i.peekType();i.next(),"delete"===s?e-=Math.min(r,e-n):("insert"===s&&(n<e||!t)&&(e+=r),n+=r)}return e},e.exports=u},function(e,t){"use strict";function u(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===s.call(e)}function d(e){if(e&&"[object Object]"===s.call(e)){var t,i=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(!e.constructor||i||n){for(t in e);return void 0===t||r.call(e,t)}}}function h(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue}function f(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(n)return n(e,t).value}return e[t]}var r=Object.prototype.hasOwnProperty,s=Object.prototype.toString,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor;e.exports=function e(){var t,i,n,r,s,o=arguments[0],a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[1]||{},a=2),(null==o||"object"!=typeof o&&"function"!=typeof o)&&(o={});a<l;++a)if(null!=(t=arguments[a]))for(i in t)s=f(o,i),o!==(n=f(t,i))&&(c&&n&&(d(n)||(r=u(n)))?(s=r?(r=!1,s&&u(s)?s:[]):s&&d(s)?s:{},h(o,{name:i,newValue:e(c,s,n)})):void 0!==n&&h(o,{name:i,newValue:n}));return o}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=d(i(3)),a=d(i(2)),l=d(i(0)),c=d(i(16)),u=d(i(6)),i=d(i(7));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}p(g,l.default.Embed),n(g,[{key:"attach",value:function(){s(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"attach",this).call(this),this.attributes=new l.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){e=l.default.query(e,l.default.Scope.BLOCK_ATTRIBUTE);null!=e&&this.attributes.attribute(e,t)}},{key:"formatAt",value:function(e,t,i,n){this.format(i,n)}},{key:"insertAt",value:function(e,t,i){var n;"string"==typeof t&&t.endsWith("\n")?(n=l.default.create(v.blotName),this.parent.insertBefore(n,0===e?this:this.next),n.insertAt(0,t.slice(0,-1))):s(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"insertAt",this).call(this,e,t,i)}}]);var m=g;function g(){return h(this,g),f(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}m.scope=l.default.Scope.BLOCK_BLOT;p(y,l.default.Block),n(y,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(l.default.Leaf).reduce(function(e,t){return 0===t.length()?e:e.insert(t.value(),b(t))},new a.default).insert("\n",b(this))),this.cache.delta}},{key:"deleteAt",value:function(e,t){s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"deleteAt",this).call(this,e,t),this.cache={}}},{key:"formatAt",value:function(e,t,i,n){t<=0||(l.default.query(i,l.default.Scope.BLOCK)?e+t===this.length()&&this.format(i,n):s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"formatAt",this).call(this,e,Math.min(t,this.length()-e-1),i,n),this.cache={})}},{key:"insertAt",value:function(e,t,i){if(null!=i)return s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertAt",this).call(this,e,t,i);var n;0!==t.length&&(0<(t=(i=t.split("\n")).shift()).length&&(e<this.length()-1||null==this.children.tail?s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),t):this.children.tail.insertAt(this.children.tail.length(),t),this.cache={}),n=this,i.reduce(function(e,t){return(n=n.split(e,!0)).insertAt(0,t),t.length},e+t.length))}},{key:"insertBefore",value:function(e,t){var i=this.children.head;s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertBefore",this).call(this,e,t),i instanceof c.default&&i.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,t){s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"moveChildren",this).call(this,e,t),this.cache={}}},{key:"optimize",value:function(e){s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var t,i=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return i&&(0===e||e>=this.length()-1)?(t=this.clone(),0===e?(this.parent.insertBefore(t,this),this):(this.parent.insertBefore(t,this.next),t)):(t=s(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"split",this).call(this,e,i),this.cache={},t)}}]);var v=y;function y(e){h(this,y);e=f(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,e));return e.cache={},e}function b(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,o.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:b(e.parent,t))}v.blotName="block",v.tagName="P",v.defaultChild="break",v.allowedChildren=[u.default,l.default.Embed,i.default],t.bubbleFormats=b,t.BlockEmbed=m,t.default=v},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var o="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},a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i(50);var l=v(i(2)),s=v(i(14)),c=v(i(8)),u=v(i(9)),d=v(i(0)),h=i(15),f=v(h),p=v(i(3)),m=v(i(10)),g=v(i(34));function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var b=(0,m.default)("quill"),_=(n(x,null,[{key:"debug",value:function(e){m.default.level(e=!0===e?"log":e)}},{key:"find",value:function(e){return e.__quill||d.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&b.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(t,i){var e,n=this,r=2<arguments.length&&void 0!==arguments[2]&&arguments[2];"string"!=typeof t?"string"==typeof(e=t.attrName||t.blotName)?this.register("formats/"+e,t,i):Object.keys(t).forEach(function(e){n.register(e,t[e],i)}):(null==this.imports[t]||r||b.warn("Overwriting "+t+" with",i),this.imports[t]=i,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==i.blotName?d.default.register(i):t.startsWith("modules")&&"function"==typeof i.register&&i.register())}}]),n(x,[{key:"addContainer",value:function(e){var t,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return"string"==typeof e&&(t=e,(e=document.createElement("div")).classList.add(t)),this.container.insertBefore(e,i),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,i){var n=this,r=S(e,t,i),r=a(r,4);return e=r[0],t=r[1],i=r[3],k.call(this,function(){return n.editor.deleteText(e,t)},i,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(i,n){var r=this,e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;return k.call(this,function(){var e=r.getSelection(!0),t=new l.default;if(null==e)return t;if(d.default.query(i,d.default.Scope.BLOCK))t=r.editor.formatLine(e.index,e.length,y({},i,n));else{if(0===e.length)return r.selection.format(i,n),t;t=r.editor.formatText(e.index,e.length,y({},i,n))}return r.setSelection(e,c.default.sources.SILENT),t},e)}},{key:"formatLine",value:function(e,t,i,n,r){var s,o=this,i=S(e,t,i,n,r),n=a(i,4);return e=n[0],t=n[1],s=n[2],r=n[3],k.call(this,function(){return o.editor.formatLine(e,t,s)},r,e,0)}},{key:"formatText",value:function(e,t,i,n,r){var s,o=this,i=S(e,t,i,n,r),n=a(i,4);return e=n[0],t=n[1],s=n[2],r=n[3],k.call(this,function(){return o.editor.formatText(e,t,s)},r,e,0)}},{key:"getBounds",value:function(e){var t=void 0,t="number"==typeof e?this.selection.getBounds(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(e.index,e.length),e=this.container.getBoundingClientRect();return{bottom:t.bottom-e.top,height:t.height,left:t.left-e.left,right:t.right-e.left,top:t.top-e.top,width:t.width}}},{key:"getContents",value:function(){var e=S(t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.getLength()-t),e=a(e,2),t=e[0],e=e[1];return this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return"number"==typeof e?this.editor.getFormat(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return 0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=S(t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.getLength()-t),e=a(e,2),t=e[0],e=e[1];return this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,t,i){var n=this,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:x.sources.API;return k.call(this,function(){return n.editor.insertEmbed(e,t,i)},r,e)}},{key:"insertText",value:function(e,t,i,n,r){var s,o=this,i=S(e,0,i,n,r),n=a(i,4);return e=n[0],s=n[2],r=n[3],k.call(this,function(){return o.editor.insertText(e,t,s)},r,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,i){this.clipboard.dangerouslyPasteHTML(e,t,i)}},{key:"removeFormat",value:function(e,t,i){var n=this,r=S(e,t,i),r=a(r,4);return e=r[0],t=r[1],i=r[3],k.call(this,function(){return n.editor.removeFormat(e,t)},i,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(n){var r=this,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return k.call(this,function(){n=new l.default(n);var e=r.getLength(),e=r.editor.deleteText(0,e),t=r.editor.applyDelta(n),i=t.ops[t.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(r.editor.deleteText(r.getLength()-1,1),t.delete(1)),e.compose(t)},e)}},{key:"setSelection",value:function(e,t,i){var n;null==e?this.selection.setRange(null,t||x.sources.API):(n=S(e,t,i),e=(n=a(n,4))[0],t=n[1],i=n[3],this.selection.setRange(new h.Range(e,t),i),i!==c.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer))}},{key:"setText",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:c.default.sources.API,e=(new l.default).insert(e);return this.setContents(e,t)}},{key:"update",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return k.call(this,function(){return e=new l.default(e),t.editor.applyDelta(e,i)},i,!0)}}]),x);function x(e){var r=this,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this,n=x;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");if(this.options=w(e,t),this.container=this.options.container,null==this.container)return b.error("Invalid Quill container",e);this.options.debug&&x.debug(this.options.debug);i=this.container.innerHTML.trim(),this.container.classList.add("ql-container"),this.container.innerHTML="",(this.container.__quill=this).root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new c.default,this.scroll=d.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(c.default.events.EDITOR_CHANGE,function(e){e===c.default.events.TEXT_CHANGE&&r.root.classList.toggle("ql-blank",r.editor.isBlank())}),this.emitter.on(c.default.events.SCROLL_UPDATE,function(e,t){var i=r.selection.lastRange,n=i&&0===i.length?i.index:void 0;k.call(r,function(){return r.editor.update(null,t,n)},e)}),n=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+i+"<p><br></p></div>");this.setContents(n),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}function w(e,i){if((i=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},i)).theme&&i.theme!==_.DEFAULTS.theme){if(i.theme=_.import("themes/"+i.theme),null==i.theme)throw new Error("Invalid theme "+i.theme+". Did you register it?")}else i.theme=g.default;e=(0,p.default)(!0,{},i.theme.DEFAULTS);[e,i].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var t=Object.keys(e.modules).concat(Object.keys(i.modules)).reduce(function(e,t){var i=_.import("modules/"+t);return null==i?b.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=i.DEFAULTS||{},e},{});return null!=i.modules&&i.modules.toolbar&&i.modules.toolbar.constructor!==Object&&(i.modules.toolbar={container:i.modules.toolbar}),i=(0,p.default)(!0,{},_.DEFAULTS,{modules:t},e,i),["bounds","container","scrollingContainer"].forEach(function(e){"string"==typeof i[e]&&(i[e]=document.querySelector(i[e]))}),i.modules=Object.keys(i.modules).reduce(function(e,t){return i.modules[t]&&(e[t]=i.modules[t]),e},{}),i}function k(e,t,i,n){if(this.options.strict&&!this.isEnabled()&&t===c.default.sources.USER)return new l.default;var r=null==i?null:this.getSelection(),s=this.editor.delta,e=e();return null!=r&&(!0===i&&(i=r.index),null==n?r=M(r,e,t):0!==n&&(r=M(r,i,n,t)),this.setSelection(r,c.default.sources.SILENT)),0<e.length()&&(i=[c.default.events.TEXT_CHANGE,e,s,t],(n=this.emitter).emit.apply(n,[c.default.events.EDITOR_CHANGE].concat(i)),t!==c.default.sources.SILENT&&(r=this.emitter).emit.apply(r,i)),e}function S(e,t,i,n,r){var s={};return"number"==typeof e.index&&"number"==typeof e.length?e=(t=("number"!=typeof t&&(r=n,n=i,i=t),e.length),e.index):"number"!=typeof t&&(r=n,n=i,i=t,t=0),"object"===(void 0===i?"undefined":o(i))?(s=i,r=n):"string"==typeof i&&(null!=n?s[i]=n:r=i),[e,t,s,r=r||c.default.sources.API]}function M(e,t,i,n){if(null==e)return null;var r,s=void 0,o=void 0;return o=t instanceof l.default?(r=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,n!==c.default.sources.USER)}),s=(r=a(r,2))[0],r[1]):(r=[e.index,e.index+e.length].map(function(e){return e<t||e===t&&n===c.default.sources.USER?e:0<=i?e+i:Math.max(t,e+i)}),s=(e=a(r,2))[0],e[1]),new h.Range(s,o-s)}_.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},_.events=c.default.events,_.sources=c.default.sources,_.version="1.3.7",_.imports={delta:l.default,parchment:d.default,"core/module":u.default,"core/theme":g.default},t.expandConfig=w,t.overload=S,t.default=_},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return o(n,t,i)}var s=l(i(7)),a=l(i(0));function l(e){return e&&e.__esModule?e:{default:e}}i=function(e){var t=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function s(){var e=this,t=s;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(s,[{key:"formatAt",value:function(e,t,i,n){var r;s.compare(this.statics.blotName,i)<0&&a.default.query(i,a.default.Scope.BLOT)?(r=this.isolate(e,t),n&&r.wrap(i,n)):o(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"formatAt",this).call(this,e,t,i,n)}},{key:"optimize",value:function(e){o(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,e),this.parent instanceof s&&0<s.compare(this.statics.blotName,this.parent.statics.blotName)&&(e=this.parent.isolate(this.offset(),this.length()),this.moveChildren(e),e.wrap(this))}}],[{key:"compare",value:function(e,t){var i=s.order.indexOf(e),n=s.order.indexOf(t);return 0<=i||0<=n?i-n:e===t?0:e<t?-1:1}}]),s}(a.default.Inline);i.allowedChildren=[i,a.default.Embed,s.default],i.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=i(0);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(((i=i)&&i.__esModule?i:{default:i}).default.Text);t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=a(i(54));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,a(i(10)).default)("quill:events"),i=(["selectionchange","mousedown","mouseup","click"].forEach(function(e){document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(e){e.__quill&&e.__quill.emitter&&(e=e.__quill.emitter).handleDOM.apply(e,t)})})}),function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");var e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e.listeners={},e.on("error",l.error),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"emit",value:function(){l.log.apply(l,arguments),s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(i){for(var e=arguments.length,n=Array(1<e?e-1:0),t=1;t<e;t++)n[t-1]=arguments[t];(this.listeners[i.type]||[]).forEach(function(e){var t=e.node,e=e.handler;i.target!==t&&!t.contains(i.target)||e.apply(void 0,[i].concat(n))})}},{key:"listenDOM",value:function(e,t,i){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:i})}}]),i}(o.default));i.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},i.sources={API:"api",SILENT:"silent",USER:"user"},t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this,n=r;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");this.quill=e,this.options=t}r.DEFAULTS={},t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=["error","warn","log","info"],o="warn";function n(e){if(s.indexOf(e)<=s.indexOf(o)){for(var t,i=arguments.length,n=Array(1<i?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];(t=console)[e].apply(t,n)}}function r(i){return s.reduce(function(e,t){return e[t]=n.bind(console,t,i),e},{})}n.level=r.level=function(e){o=e},t.default=r},function(e,t,i){var u=Array.prototype.slice,d=i(52),h=i(53),f=e.exports=function(e,t,i){if(i=i||{},e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return i.strict?e===t:e==t;var n,r,s=e,o=t,a=i;if(p(s)||p(o))return!1;if(s.prototype!==o.prototype)return!1;if(h(s))return!!h(o)&&(s=u.call(s),o=u.call(o),f(s,o,a));if(m(s)){if(!m(o))return!1;if(s.length!==o.length)return!1;for(n=0;n<s.length;n++)if(s[n]!==o[n])return!1;return!0}try{var l=d(s),c=d(o)}catch(e){return!1}if(l.length!=c.length)return!1;for(l.sort(),c.sort(),n=l.length-1;0<=n;n--)if(l[n]!=c[n])return!1;for(n=l.length-1;0<=n;n--)if(r=l[n],!f(s[r],o[r],a))return!1;return typeof s==typeof o};function p(e){return null==e}function m(e){return e&&"object"==typeof e&&"number"==typeof e.length&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(0<e.length&&"number"!=typeof e[0]))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1);function r(e,t,i){void 0===i&&(i={}),this.attrName=e,this.keyName=t;e=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=i.scope?this.scope=i.scope&n.Scope.LEVEL|e:this.scope=n.Scope.ATTRIBUTE,null!=i.whitelist&&(this.whitelist=i.whitelist)}r.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})},r.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},r.prototype.canAdd=function(e,t){return null!=n.query(e,n.Scope.BLOT&(this.scope|n.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?-1<this.whitelist.indexOf(t.replace(/["']/g,"")):-1<this.whitelist.indexOf(t)))},r.prototype.remove=function(e){e.removeAttribute(this.keyName)},r.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e};function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return o(n,t,i)}var a=h(i(2)),l=h(i(0)),c=h(i(4)),u=h(i(6)),d=h(i(7));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}m(g,u.default);i=g;function g(){return f(this,g),p(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}i.blotName="code",i.tagName="CODE";m(v,c.default),r(v,[{key:"delta",value:function(){var i=this,e=this.domNode.textContent;return(e=e.endsWith("\n")?e.slice(0,-1):e).split("\n").reduce(function(e,t){return e.insert(t).insert("\n",i.formats())},new a.default)}},{key:"format",value:function(e,t){var i;e===this.statics.blotName&&t||(i=this.descendant(d.default,this.length()-1),null!=(i=n(i,1)[0])&&i.deleteAt(i.length()-1,1),o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,e,t))}},{key:"formatAt",value:function(e,t,i,n){var r,s,o,a;0===t||null==l.default.query(i,l.default.Scope.BLOCK)||i===this.statics.blotName&&n===this.statics.formats(this.domNode)||((s=this.newlineIndex(e))<0||e+t<=s||(r=this.newlineIndex(e,!0)+1,a=(o=this.isolate(r,s=s-r+1)).next,o.format(i,n),a instanceof v&&a.formatAt(0,e-r+t-s,i,n)))}},{key:"insertAt",value:function(e,t,i){null==i&&(i=this.descendant(d.default,e),i=(e=n(i,2))[0],e=e[1],i.insertAt(e,t))}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t;return 1<arguments.length&&void 0!==arguments[1]&&arguments[1]?this.domNode.textContent.slice(0,e).lastIndexOf("\n"):-1<(t=this.domNode.textContent.slice(e).indexOf("\n"))?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(l.default.create("text","\n")),o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,e);var t=this.next;null!=t&&t.prev===this&&t.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===t.statics.formats(t.domNode)&&(t.optimize(e),t.moveChildren(this),t.remove())}},{key:"replace",value:function(e){o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=l.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof l.default.Embed?t.remove():t.unwrap()})}}],[{key:"create",value:function(e){e=o(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,e);return e.setAttribute("spellcheck",!1),e}},{key:"formats",value:function(){return!0}}]);u=v;function v(){return f(this,v),p(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}u.blotName="code-block",u.tagName="PRE",u.TAB="  ",t.Code=i,t.default=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u="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},d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var h=o(i(2)),f=o(i(20)),p=o(i(0)),c=o(i(13)),a=o(i(24)),m=i(4),g=o(m),s=o(i(16)),v=o(i(21)),l=o(i(11)),y=o(i(3));function o(e){return e&&e.__esModule?e:{default:e}}var b=/^[ -~]*$/,i=(n(_,[{key:"applyDelta",value:function(e){var a=this,l=!1,c=(this.scroll.update(),this.scroll.length());return this.scroll.batchStart(),(e=e.reduce(function(e,t){var i;return 1===t.insert?(delete(i=(0,v.default)(t.attributes)).image,e.insert({image:t.attributes.image},i)):(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,v.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert?(i=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.insert(i,t.attributes)):e.push(t))},new h.default)).reduce(function(t,e){var i=e.retain||e.delete||e.insert.length||1,n=e.attributes||{};if(null!=e.insert){if("string"==typeof e.insert){var r=e.insert,r=(r.endsWith("\n")&&l&&(l=!1,r=r.slice(0,-1)),c<=t&&!r.endsWith("\n")&&(l=!0),a.scroll.insertAt(t,r),a.scroll.line(t)),r=d(r,2),s=r[0],r=r[1],o=(0,y.default)({},(0,m.bubbleFormats)(s));s instanceof g.default&&(s=s.descendant(p.default.Leaf,r),r=d(s,1)[0],o=(0,y.default)(o,(0,m.bubbleFormats)(r))),n=f.default.attributes.diff(o,n)||{}}else if("object"===u(e.insert)){s=Object.keys(e.insert)[0];if(null==s)return t;a.scroll.insertAt(t,s,e.insert[s])}c+=i}return Object.keys(n).forEach(function(e){a.scroll.formatAt(t,i,e,n[e])}),t+i},0),e.reduce(function(e,t){return"number"==typeof t.delete?(a.scroll.deleteAt(e,t.delete),e):e+(t.retain||t.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new h.default).retain(e).delete(t))}},{key:"formatLine",value:function(o,t){var a=this,l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(l).forEach(function(r){var e,s;null!=a.scroll.whitelist&&!a.scroll.whitelist[r]||(e=a.scroll.lines(o,Math.max(t,1)),s=t,e.forEach(function(e){var t,i,n=e.length();e instanceof c.default?(t=o-e.offset(a.scroll),i=e.newlineIndex(t+s)-t+1,e.formatAt(t,i,r,l[r])):e.format(r,l[r]),s-=n}))}),this.scroll.optimize(),this.update((new h.default).retain(o).retain(t,(0,v.default)(l)))}},{key:"formatText",value:function(t,i){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(e){n.scroll.formatAt(t,i,e,r[e])}),this.update((new h.default).retain(t).retain(i,(0,v.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new h.default)}},{key:"getFormat",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=[],n=[],e=(0===t?this.scroll.path(e).forEach(function(e){e=d(e,1)[0];e instanceof g.default?i.push(e):e instanceof p.default.Leaf&&n.push(e)}):(i=this.scroll.lines(e,t),n=this.scroll.descendants(p.default.Leaf,e,t)),[i,n].map(function(e){if(0===e.length)return{};for(var t=(0,m.bubbleFormats)(e.shift());0<Object.keys(t).length;){var i=e.shift();if(null==i)return t;t=function(i,n){return Object.keys(n).reduce(function(e,t){return null==i[t]||(n[t]===i[t]?e[t]=n[t]:Array.isArray(n[t])?n[t].indexOf(i[t])<0&&(e[t]=n[t].concat([i[t]])):e[t]=[n[t],i[t]]),e},{})}((0,m.bubbleFormats)(i),t)}return t}));return y.default.apply(y.default,e)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter(function(e){return"string"==typeof e.insert}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function(e,t,i){return this.scroll.insertAt(e,t,i),this.update((new h.default).retain(e).insert((e=i,(i=t)in(t={})?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t)))}},{key:"insertText",value:function(t,i){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return i=i.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,i),Object.keys(r).forEach(function(e){n.scroll.formatAt(t,i.length,e,r[e])}),this.update((new h.default).retain(t).insert(i,(0,v.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(1<this.scroll.children.length)return!1;var e=this.scroll.children.head;return e.statics.blotName===g.default.blotName&&(!(1<e.children.length)&&e.children.head instanceof s.default)}},{key:"removeFormat",value:function(e,t){var i=this.getText(e,t),n=this.scroll.line(e+t),n=d(n,2),r=n[0],n=n[1],s=0,o=new h.default;null!=r&&(s=r instanceof c.default?r.newlineIndex(n)-n+1:r.length()-n,o=r.delta().slice(n,n+s-1).insert("\n"));r=this.getContents(e,t+s).diff((new h.default).insert(i).concat(o)),n=(new h.default).retain(e).concat(r);return this.applyDelta(n)}},{key:"update",value:function(e){var i,t,n,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;return 1===r.length&&"characterData"===r[0].type&&r[0].target.data.match(b)&&p.default.find(r[0].target)?(n=p.default.find(r[0].target),i=(0,m.bubbleFormats)(n),t=n.offset(this.scroll),r=r[0].oldValue.replace(a.default.CONTENTS,""),r=(new h.default).insert(r),n=(new h.default).insert(n.value()),e=(new h.default).retain(t).concat(r.diff(n,s)).reduce(function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)},new h.default),this.delta=o.compose(e)):(this.delta=this.getDelta(),e&&(0,l.default)(o.compose(e),this.delta)||(e=o.diff(this.delta,s))),e}}]),_);function _(e){if(!(this instanceof _))throw new TypeError("Cannot call a class as a function");this.scroll=e,this.delta=this.getDelta()}t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=u(i(0)),s=u(i(21)),l=u(i(11)),c=u(i(8));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;h(this,f),this.index=e,this.length=t}var p=(0,u(i(10)).default)("quill:selection"),i=(n(m,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){var e;t.composing=!1,t.cursor.parent&&(e=t.cursor.restore())&&setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)})}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(c.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var i=this.getNativeRange();if(null!=i&&i.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(i.start.node!==this.cursor.textNode){var n,r=a.default.find(i.start.node,!1);if(null==r)return;r instanceof a.default.Leaf?(n=r.split(i.start.offset),r.parent.insertBefore(this.cursor,n)):r.insertBefore(this.cursor,i.start.node),this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=this.scroll.length(),i=(e=Math.min(e,i-1),t=Math.min(e+t,i-1)-e,void 0),n=this.scroll.leaf(e),n=o(n,2),r=n[0],n=n[1];if(null==r)return null;var s=r.position(n,!0),s=o(s,2),s=(i=s[0],n=s[1],document.createRange());if(0<t){s.setStart(i,n);var e=this.scroll.leaf(e+t),t=o(e,2),r=t[0],n=t[1];if(null==r)return null;e=r.position(n,!0),t=o(e,2),i=t[0];return n=t[1],s.setEnd(i,n),s.getBoundingClientRect()}return e="left",t=void 0,i instanceof Text?(n<i.data.length?(s.setStart(i,n),s.setEnd(i,n+1)):(s.setStart(i,n-1),s.setEnd(i,n),e="right"),t=s.getBoundingClientRect()):(t=r.domNode.getBoundingClientRect(),0<n&&(e="right")),{bottom:t.top+t.height,height:t.height,left:t[e],right:t[e],top:t.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;e=e.getRangeAt(0);if(null==e)return null;e=this.normalizeNative(e);return p.info("getNativeRange",e),e}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var r=this,t=[[e.start.node,e.start.offset]],e=(e.native.collapsed||t.push([e.end.node,e.end.offset]),t.map(function(e){var e=o(e,2),t=e[0],e=e[1],i=a.default.find(t,!0),n=i.offset(r.scroll);return 0===e?n:i instanceof a.default.Container?n+i.length():n+i.index(t,e)})),t=Math.min(Math.max.apply(Math,d(e)),this.scroll.length()-1),e=Math.min.apply(Math,[t].concat(d(e)));return new f(e,t-e)}},{key:"normalizeNative",value:function(e){if(!g(this.root,e.startContainer)||!e.collapsed&&!g(this.root,e.endContainer))return null;e={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[e.start,e.end].forEach(function(e){for(var t=e.node,i=e.offset;!(t instanceof Text)&&0<t.childNodes.length;)if(t.childNodes.length>i)t=t.childNodes[i],i=0;else{if(t.childNodes.length!==i)break;i=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=i}),e}},{key:"rangeToNative",value:function(e){var n=this,e=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],s=this.scroll.length();return e.forEach(function(e,t){e=Math.min(s-1,e);var e=n.scroll.leaf(e),e=o(e,2),i=e[0],e=e[1],i=i.position(e,0!==t),t=o(i,2),i=t[0],e=t[1];r.push(i,e)}),r=r.length<2?r.concat(r):r}},{key:"scrollIntoView",value:function(e){var t,i,n,r,s=this.lastRange;null!=s&&null!=(t=this.getBounds(s.index,s.length))&&(r=this.scroll.length()-1,i=this.scroll.line(Math.min(s.index,r)),n=i=o(i,1)[0],0<s.length&&(s=this.scroll.line(Math.min(s.index+s.length,r)),n=o(s,1)[0]),null!=i&&null!=n&&(r=e.getBoundingClientRect(),t.top<r.top?e.scrollTop-=r.top-t.top:t.bottom>r.bottom&&(e.scrollTop+=t.bottom-r.bottom)))}},{key:"setNativeRange",value:function(e,t){var i,n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:e,s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:t,o=4<arguments.length&&void 0!==arguments[4]&&arguments[4];p.info("setNativeRange",e,t,r,s),null!=e&&(null==this.root.parentNode||null==e.parentNode||null==r.parentNode)||null!=(i=document.getSelection())&&(null!=e?(this.hasFocus()||this.root.focus(),null!=(n=(this.getNativeRange()||{}).native)&&!o&&e===n.startContainer&&t===n.startOffset&&r===n.endContainer&&s===n.endOffset||("BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==r.tagName&&(s=[].indexOf.call(r.parentNode.childNodes,r),r=r.parentNode),(o=document.createRange()).setStart(e,t),o.setEnd(r,s),i.removeAllRanges(),i.addRange(o))):(i.removeAllRanges(),this.root.blur(),document.body.focus()))}},{key:"setRange",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;"string"==typeof t&&(i=t,t=!1),p.info("setRange",e),null!=e?(e=this.rangeToNative(e),this.setNativeRange.apply(this,d(e).concat([t]))):this.setNativeRange(null),this.update(i)}},{key:"update",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.lastRange,i=this.getRange(),i=o(i,2),n=i[0],i=i[1];this.lastRange=n,null!=this.lastRange&&(this.savedRange=this.lastRange),(0,l.default)(t,this.lastRange)||(!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore(),n=[c.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(t),e],(i=this.emitter).emit.apply(i,[c.default.events.EDITOR_CHANGE].concat(n)),e!==c.default.sources.SILENT&&(t=this.emitter).emit.apply(t,n))}}]),m);function m(e,t){var s=this;h(this,m),this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){s.mouseDown||setTimeout(s.update.bind(s,c.default.sources.USER),1)}),this.emitter.on(c.default.events.EDITOR_CHANGE,function(e,t){e===c.default.events.TEXT_CHANGE&&0<t.length()&&s.update(c.default.sources.SILENT)}),this.emitter.on(c.default.events.SCROLL_BEFORE_UPDATE,function(){var e;!s.hasFocus()||null!=(e=s.getNativeRange())&&e.start.node!==s.cursor.textNode&&s.emitter.once(c.default.events.SCROLL_UPDATE,function(){try{s.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})}),this.emitter.on(c.default.events.SCROLL_OPTIMIZE,function(e,t){var i,n,r;t.range&&(i=(t=t.range).startNode,n=t.startOffset,r=t.endNode,t=t.endOffset,s.setNativeRange(i,n,r,t))}),this.update(c.default.sources.SILENT)}function g(e,t){try{t.parentNode}catch(e){return}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=f,t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(0);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"insertInto",value:function(e,t){0===e.children.length?s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"insertInto",this).call(this,e,t):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default.Embed);i.blotName="break",i.tagName="BR",t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(44)),a=i(30),l=i(1),i=(r=a.default,s(c,r),c.prototype.appendChild=function(e){this.insertBefore(e)},c.prototype.attach=function(){r.prototype.attach.call(this),this.children.forEach(function(e){e.attach()})},c.prototype.build=function(){var i=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var t=u(e);i.insertBefore(t,i.children.head||void 0)}catch(e){if(e instanceof l.ParchmentError)return;throw e}})},c.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,function(e,t,i){e.deleteAt(t,i)})},c.prototype.descendant=function(e,t){var t=this.children.find(t),i=t[0],t=t[1];return null==e.blotName&&e(i)||null!=e.blotName&&i instanceof e?[i,t]:i instanceof c?i.descendant(e,t):[null,-1]},c.prototype.descendants=function(n,e,t){void 0===e&&(e=0),void 0===t&&(t=Number.MAX_VALUE);var r=[],s=t;return this.children.forEachAt(e,t,function(e,t,i){(null==n.blotName&&n(e)||null!=n.blotName&&e instanceof n)&&r.push(e),e instanceof c&&(r=r.concat(e.descendants(n,t,s))),s-=i}),r},c.prototype.detach=function(){this.children.forEach(function(e){e.detach()}),r.prototype.detach.call(this)},c.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,function(e,t,i){e.formatAt(t,i,n,r)})},c.prototype.insertAt=function(e,t,i){var e=this.children.find(e),n=e[0],e=e[1];n?n.insertAt(e,t,i):(n=null==i?l.create("text",t):l.create(t,i),this.appendChild(n))},c.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new l.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},c.prototype.length=function(){return this.children.reduce(function(e,t){return e+t.length()},0)},c.prototype.moveChildren=function(t,i){this.children.forEach(function(e){t.insertBefore(e,i)})},c.prototype.optimize=function(e){var t;r.prototype.optimize.call(this,e),0===this.children.length&&(null!=this.statics.defaultChild?(t=l.create(this.statics.defaultChild),this.appendChild(t),t.optimize(e)):this.remove())},c.prototype.path=function(e,t){var i=this.children.find(e,t=void 0===t?!1:t),n=i[0],i=i[1],e=[[this,e]];return n instanceof c?e.concat(n.path(i,t)):(null!=n&&e.push([n,i]),e)},c.prototype.removeChild=function(e){this.children.remove(e)},c.prototype.replace=function(e){e instanceof c&&e.moveChildren(this),r.prototype.replace.call(this,e)},c.prototype.split=function(e,n){if(!(n=void 0===n?!1:n)){if(0===e)return this;if(e===this.length())return this.next}var r=this.clone();return this.parent.insertBefore(r,this.next),this.children.forEachAt(e,this.length(),function(e,t,i){e=e.split(t,n),r.appendChild(e)}),r},c.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},c.prototype.update=function(e,t){var i=this,n=[],r=[];e.forEach(function(e){e.target===i.domNode&&"childList"===e.type&&(n.push.apply(n,e.addedNodes),r.push.apply(r,e.removedNodes))}),r.forEach(function(e){null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY||(null==(e=l.find(e))||null!=e.domNode.parentNode&&e.domNode.parentNode!==i.domNode||e.detach())}),n.filter(function(e){return e.parentNode==i.domNode}).sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(e){var t=null,e=(null!=e.nextSibling&&(t=l.find(e.nextSibling)),u(e));e.next==t&&null!=e.next||(null!=e.parent&&e.parent.removeChild(i),i.insertBefore(e,t||void 0))})},c);function c(e){e=r.call(this,e)||this;return e.build(),e}function u(t){var i=l.find(t);if(null==i)try{i=l.create(t)}catch(e){i=l.create(l.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(e){i.domNode.appendChild(e)}),t.parentNode&&t.parentNode.replaceChild(i.domNode,t),i.attach()}return i}t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(12)),a=i(31),l=i(17),c=i(1),i=(r=l.default,s(u,r),u.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},u.prototype.format=function(e,t){var i=c.query(e);i instanceof o.default?this.attributes.attribute(i,t):!t||null==i||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t)},u.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},u.prototype.replaceWith=function(e,t){e=r.prototype.replaceWith.call(this,e,t);return this.attributes.copy(e),e},u.prototype.update=function(e,t){var i=this;r.prototype.update.call(this,e,t),e.some(function(e){return e.target===i.domNode&&"attributes"===e.type})&&this.attributes.build()},u.prototype.wrap=function(e,t){e=r.prototype.wrap.call(this,e,t);return e instanceof u&&e.statics.scope===this.statics.scope&&this.attributes.move(e),e},u);function u(e){e=r.call(this,e)||this;return e.attributes=new a.default(e.domNode),e}t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(30)),i=i(1),o=(r=o.default,s(a,r),a.value=function(e){return!0},a.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},a.prototype.position=function(e,t){var i=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return 0<e&&(i+=1),[this.parent.domNode,i]},a.prototype.value=function(){var e={};return e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},a.scope=i.Scope.INLINE_BLOT,a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=o},function(e,t,i){var r=i(11),s=i(3),o={attributes:{compose:function(e,t,i){"object"!=typeof e&&(e={});var n,r=s(!0,{},t="object"!=typeof t?{}:t);for(n in i||(r=Object.keys(r).reduce(function(e,t){return null!=r[t]&&(e[t]=r[t]),e},{})),e)void 0!==e[n]&&void 0===t[n]&&(r[n]=e[n]);return 0<Object.keys(r).length?r:void 0},diff:function(i,n){"object"!=typeof i&&(i={}),"object"!=typeof n&&(n={});var e=Object.keys(i).concat(Object.keys(n)).reduce(function(e,t){return r(i[t],n[t])||(e[t]=void 0===n[t]?null:n[t]),e},{});return 0<Object.keys(e).length?e:void 0},transform:function(i,n,e){if("object"!=typeof i)return n;if("object"==typeof n){if(!e)return n;e=Object.keys(n).reduce(function(e,t){return void 0===i[t]&&(e[t]=n[t]),e},{});return 0<Object.keys(e).length?e:void 0}}},iterator:function(e){return new n(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function n(e){this.ops=e,this.index=0,this.offset=0}n.prototype.hasNext=function(){return this.peekLength()<1/0},n.prototype.next=function(e){e=e||1/0;var t,i,n=this.ops[this.index];return n?(t=this.offset,(i=o.length(n))-t<=e?(e=i-t,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof n.delete?{delete:e}:(i={},n.attributes&&(i.attributes=n.attributes),"number"==typeof n.retain?i.retain=e:"string"==typeof n.insert?i.insert=n.insert.substr(t,e):i.insert=n.insert,i)):{retain:1/0}},n.prototype.peek=function(){return this.ops[this.index]},n.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},n.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},n.prototype.rest=function(){var e,t,i,n;return this.hasNext()?0===this.offset?this.ops.slice(this.index):(e=this.offset,t=this.index,i=this.next(),n=this.ops.slice(this.index),this.offset=e,this.index=t,[i].concat(n)):[]},e.exports=o},function(e,t){var i=function(){"use strict";function b(e,t){return null!=t&&e instanceof t}var _,x,w;try{_=Map}catch(e){_=function(){}}try{x=Set}catch(e){x=function(){}}try{w=Promise}catch(e){w=function(){}}function k(e,f,t,p,m){"object"==typeof f&&(t=f.depth,p=f.prototype,m=f.includeNonEnumerable,f=f.circular);var g=[],v=[],y=void 0!==M;return void 0===f&&(f=!0),function n(e,r){if(null===e)return null;if(0===r)return e;var i,t,s;if("object"!=typeof e)return e;if(b(e,_))i=new _;else if(b(e,x))i=new x;else if(b(e,w))i=new w(function(t,i){e.then(function(e){t(n(e,r-1))},function(e){i(n(e,r-1))})});else if(k.__isArray(e))i=[];else if(k.__isRegExp(e))i=new RegExp(e.source,S(e)),e.lastIndex&&(i.lastIndex=e.lastIndex);else if(k.__isDate(e))i=new Date(e.getTime());else{if(y&&M.isBuffer(e))return i=M.allocUnsafe?M.allocUnsafe(e.length):new M(e.length),e.copy(i),i;b(e,Error)?i=Object.create(e):void 0===p?(t=Object.getPrototypeOf(e),i=Object.create(t)):(i=Object.create(p),t=p)}if(f){var o=g.indexOf(e);if(-1!=o)return v[o];g.push(e),v.push(i)}for(l in b(e,_)&&e.forEach(function(e,t){t=n(t,r-1),e=n(e,r-1),i.set(t,e)}),b(e,x)&&e.forEach(function(e){e=n(e,r-1),i.add(e)}),e)(s=t?Object.getOwnPropertyDescriptor(t,l):s)&&null==s.set||(i[l]=n(e[l],r-1));if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(e),l=0;l<a.length;l++){var c=a[l];(d=Object.getOwnPropertyDescriptor(e,c))&&!d.enumerable&&!m||(i[c]=n(e[c],r-1),d.enumerable||Object.defineProperty(i,c,{enumerable:!1}))}if(m)for(var u=Object.getOwnPropertyNames(e),l=0;l<u.length;l++){var d,h=u[l];(d=Object.getOwnPropertyDescriptor(e,h))&&d.enumerable||(i[h]=n(e[h],r-1),Object.defineProperty(i,h,{enumerable:!1}))}return i}(e,t=void 0===t?1/0:t)}function t(e){return Object.prototype.toString.call(e)}function S(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return k.clonePrototype=function(e){if(null===e)return null;function t(){}return t.prototype=e,new t},k.__objToStr=t,k.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},k.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},k.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},k.__getRegExpFlags=S,k}();"object"==typeof e&&e.exports&&(e.exports=i)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return a(n,t,i)}var l=f(i(0)),c=f(i(8)),u=i(4),s=f(u),d=f(i(16)),h=f(i(13)),i=f(i(25));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return e instanceof s.default||e instanceof u.BlockEmbed}var m=function(e){var t=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return e.emitter=t.emitter,Array.isArray(t.whitelist)&&(e.whitelist=t.whitelist.reduce(function(e,t){return e[t]=!0,e},{})),e.domNode.addEventListener("DOMNodeInserted",function(){}),e.optimize(),e.enable(),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(s,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,t){var i=this.line(e),i=o(i,2),n=i[0],i=i[1],r=this.line(e+t),r=o(r,1)[0];if(a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"deleteAt",this).call(this,e,t),null!=r&&n!==r&&0<i){if(n instanceof u.BlockEmbed||r instanceof u.BlockEmbed)return void this.optimize();if(n instanceof h.default){e=n.newlineIndex(n.length(),!0);if(-1<e&&(n=n.split(e+1))===r)return void this.optimize()}else r instanceof h.default&&(-1<(t=r.newlineIndex(0))&&r.split(t+1));i=r.children.head instanceof d.default?null:r.children.head;n.moveChildren(r,i),n.remove()}this.optimize()}},{key:"enable",value:function(){this.domNode.setAttribute("contenteditable",!(0<arguments.length&&void 0!==arguments[0])||arguments[0])}},{key:"formatAt",value:function(e,t,i,n){null!=this.whitelist&&!this.whitelist[i]||(a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"formatAt",this).call(this,e,t,i,n),this.optimize())}},{key:"insertAt",value:function(e,t,i){var n;null!=i&&null!=this.whitelist&&!this.whitelist[t]||(e>=this.length()?null==i||null==l.default.query(t,l.default.Scope.BLOCK)?(n=l.default.create(this.statics.defaultChild),this.appendChild(n),null==i&&t.endsWith("\n")&&(t=t.slice(0,-1)),n.insertAt(0,t,i)):(n=l.default.create(t,i),this.appendChild(n)):a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"insertAt",this).call(this,e,t,i),this.optimize())}},{key:"insertBefore",value:function(e,t){var i;e.statics.scope===l.default.Scope.INLINE_BLOT&&((i=l.default.create(this.statics.defaultChild)).appendChild(e),e=i),a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"insertBefore",this).call(this,e,t)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(p,e)}},{key:"lines",value:function(){return function n(e,t,i){var r=[],s=i;return e.children.forEachAt(t,i,function(e,t,i){p(e)?r.push(e):e instanceof l.default.Container&&(r=r.concat(n(e,t,s))),s-=i}),r}(this,0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,e,t),0<e.length&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,e,t))}},{key:"path",value:function(e){return a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){var t;!0!==this.batch&&(t=c.default.sources.USER,"string"==typeof e&&(t=e),0<(e=Array.isArray(e)?e:this.observer.takeRecords()).length&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,t,e),a(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"update",this).call(this,e.concat([])),0<e.length&&this.emitter.emit(c.default.events.SCROLL_UPDATE,t,e))}}]),s}(l.default.Scroll);m.blotName="scroll",m.className="ql-editor",m.tagName="DIV",m.defaultChild="block",m.allowedChildren=[s.default,u.BlockEmbed,i.default],t.default=m},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var h="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},f=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=d(i(21)),p=d(i(11)),o=d(i(3)),a=d(i(2)),l=d(i(20)),m=d(i(0)),c=d(i(5)),u=d(i(10)),i=d(i(9));function d(e){return e&&e.__esModule?e:{default:e}}function g(e,t,i){t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}var v=(0,u.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",b=function(e){var t=d;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function d(t,e){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");var i=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,t,e));return i.bindings={},Object.keys(i.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&i.options.bindings[e]&&i.addBinding(i.options.bindings[e])}),i.addBinding({key:d.keys.ENTER,shiftKey:null},S),i.addBinding({key:d.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(i.addBinding({key:d.keys.BACKSPACE},{collapsed:!0},x),i.addBinding({key:d.keys.DELETE},{collapsed:!0},w)):(i.addBinding({key:d.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},x),i.addBinding({key:d.keys.DELETE},{collapsed:!0,suffix:/^.?$/},w)),i.addBinding({key:d.keys.BACKSPACE},{collapsed:!1},k),i.addBinding({key:d.keys.DELETE},{collapsed:!1},k),i.addBinding({key:d.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},x),i.listen(),i}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(d,null,[{key:"match",value:function(t,i){return i=L(i),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(e){return!!i[e]!==t[e]&&null!==i[e]})&&i.key===(t.which||t.keyCode)}}]),n(d,[{key:"addBinding",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e=L(e);if(null==e||null==e.key)return v.warn("Attempted to add invalid keyboard binding",e);e=(0,o.default)(e,t="function"==typeof t?{handler:t}:t,i="function"==typeof i?{handler:i}:i),this.bindings[e.key]=this.bindings[e.key]||[],this.bindings[e.key].push(e)}},{key:"listen",value:function(){var u=this;this.quill.root.addEventListener("keydown",function(t){var e,i,n,r,s,o,a,l,c;t.defaultPrevented||(e=t.which||t.keyCode,0!==(e=(u.bindings[e]||[]).filter(function(e){return d.match(t,e)})).length&&null!=(i=u.quill.getSelection())&&u.quill.hasFocus()&&(r=u.quill.getLine(i.index),n=(r=f(r,2))[0],r=r[1],l=u.quill.getLeaf(i.index),a=(l=f(l,2))[0],l=l[1],o=0===i.length?[a,l]:u.quill.getLeaf(i.index+i.length),s=(o=f(o,2))[0],o=o[1],a=a instanceof m.default.Text?a.value().slice(0,l):"",l=s instanceof m.default.Text?s.value().slice(o):"",c={collapsed:0===i.length,empty:0===i.length&&n.length()<=1,format:u.quill.getFormat(i),offset:r,prefix:a,suffix:l},e.some(function(t){if(null!=t.collapsed&&t.collapsed!==c.collapsed)return!1;if(null!=t.empty&&t.empty!==c.empty)return!1;if(null!=t.offset&&t.offset!==c.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(e){return null==c.format[e]}))return!1}else if("object"===h(t.format)&&!Object.keys(t.format).every(function(e){return!0===t.format[e]?null!=c.format[e]:!1===t.format[e]?null==c.format[e]:(0,p.default)(t.format[e],c.format[e])}))return!1;return!(null!=t.prefix&&!t.prefix.test(c.prefix))&&(!(null!=t.suffix&&!t.suffix.test(c.suffix))&&!0!==t.handler.call(u,i,c))})&&t.preventDefault()))})}}]),d}(i.default);function _(i,n){var e=i===b.keys.LEFT?"prefix":"suffix",t={key:i,shiftKey:n,altKey:null};return g(t,e,/^$/),g(t,"handler",function(e){var t=e.index,t=(i===b.keys.RIGHT&&(t+=e.length+1),this.quill.getLeaf(t));return!(f(t,1)[0]instanceof m.default.Embed)||(i===b.keys.LEFT?n?this.quill.setSelection(e.index-1,e.length+1,c.default.sources.USER):this.quill.setSelection(e.index-1,c.default.sources.USER):n?this.quill.setSelection(e.index,e.length+1,c.default.sources.USER):this.quill.setSelection(e.index+e.length+1,c.default.sources.USER),!1)}),t}function x(e,t){var i,n,r;0===e.index||this.quill.getLength()<=1||(i=this.quill.getLine(e.index),i=f(i,1)[0],n={},0===t.offset&&(r=this.quill.getLine(e.index-1),null!=(r=f(r,1)[0])&&1<r.length()&&(r=i.formats(),i=this.quill.getFormat(e.index-1,1),n=l.default.attributes.diff(r,i)||{})),r=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1,this.quill.deleteText(e.index-r,r,c.default.sources.USER),0<Object.keys(n).length&&this.quill.formatLine(e.index-r,r,n,c.default.sources.USER),this.quill.focus())}function w(e,t){var i,n,r,s,o=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;e.index>=this.quill.getLength()-o||(r={},s=0,i=this.quill.getLine(e.index),i=f(i,1)[0],t.offset>=i.length()-1&&(t=this.quill.getLine(e.index+1),(t=f(t,1)[0])&&(i=i.formats(),n=this.quill.getFormat(e.index,1),r=l.default.attributes.diff(i,n)||{},s=t.length())),this.quill.deleteText(e.index,o,c.default.sources.USER),0<Object.keys(r).length&&this.quill.formatLine(e.index+s-1,o,r,c.default.sources.USER))}function k(e){var t,i=this.quill.getLines(e),n={};1<i.length&&(t=i[0].formats(),i=i[i.length-1].formats(),n=l.default.attributes.diff(i,t)||{}),this.quill.deleteText(e,c.default.sources.USER),0<Object.keys(n).length&&this.quill.formatLine(e.index,1,n,c.default.sources.USER),this.quill.setSelection(e.index,c.default.sources.SILENT),this.quill.focus()}function S(e,i){var t=this,n=(0<e.length&&this.quill.scroll.deleteAt(e.index,e.length),Object.keys(i.format).reduce(function(e,t){return m.default.query(t,m.default.Scope.BLOCK)&&!Array.isArray(i.format[t])&&(e[t]=i.format[t]),e},{}));this.quill.insertText(e.index,"\n",n,c.default.sources.USER),this.quill.setSelection(e.index+1,c.default.sources.SILENT),this.quill.focus(),Object.keys(i.format).forEach(function(e){null!=n[e]||Array.isArray(i.format[e])||"link"!==e&&t.quill.format(e,i.format[e],c.default.sources.USER)})}function M(l){return{key:b.keys.TAB,shiftKey:!l,format:{"code-block":!0},handler:function(e){var i,n=m.default.query("code-block"),r=e.index,s=e.length,e=this.quill.scroll.descendant(n,r),e=f(e,2),o=e[0],a=e[1];null!=o&&(e=this.quill.getIndex(o),i=o.newlineIndex(a,!0)+1,e=o.newlineIndex(e+a+s),e=o.domNode.textContent.slice(i,e).split("\n"),a=0,e.forEach(function(e,t){l?(o.insertAt(i+a,n.TAB),a+=n.TAB.length,0===t?r+=n.TAB.length:s+=n.TAB.length):e.startsWith(n.TAB)&&(o.deleteAt(i+a,n.TAB.length),a-=n.TAB.length,0===t?r-=n.TAB.length:s-=n.TAB.length),a+=e.length+1}),this.quill.update(c.default.sources.USER),this.quill.setSelection(r,s,c.default.sources.SILENT))}}}function C(i){return{key:i[0].toUpperCase(),shortKey:!0,handler:function(e,t){this.quill.format(i,!t.format[i],c.default.sources.USER)}}}function L(e){if("string"==typeof e||"number"==typeof e)return L({key:e});if("string"==typeof(e="object"===(void 0===e?"undefined":h(e))?(0,s.default)(e,!1):e).key)if(null!=b.keys[e.key.toUpperCase()])e.key=b.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[y]=e.shortKey,delete e.shortKey),e}b.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},b.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:b.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",c.default.sources.USER)}},outdent:{key:b.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",c.default.sources.USER)}},"outdent backspace":{key:b.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",c.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,c.default.sources.USER)}},"indent code-block":M(!0),"outdent code-block":M(!1),"remove tab":{key:b.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,c.default.sources.USER)}},tab:{key:b.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new a.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,c.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,c.default.sources.SILENT)}},"list empty enter":{key:b.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,c.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,c.default.sources.USER)}},"checklist enter":{key:b.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),t=f(t,2),i=t[0],t=t[1],n=(0,o.default)({},i.formats(),{list:"checked"}),n=(new a.default).retain(e.index).insert("\n",n).retain(i.length()-t-1).retain(1,{list:"unchecked"});this.quill.updateContents(n,c.default.sources.USER),this.quill.setSelection(e.index+1,c.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:b.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var i=this.quill.getLine(e.index),i=f(i,2),n=i[0],i=i[1],t=(new a.default).retain(e.index).insert("\n",t.format).retain(n.length()-i-1).retain(1,{header:null});this.quill.updateContents(t,c.default.sources.USER),this.quill.setSelection(e.index+1,c.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var i=t.prefix.length,n=this.quill.getLine(e.index),n=f(n,2),r=n[0],n=n[1];if(i<n)return!0;var s=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(e.index," ",c.default.sources.USER),this.quill.history.cutoff();t=(new a.default).retain(e.index-n).delete(i+1).retain(r.length()-2-n).retain(1,{list:s});this.quill.updateContents(t,c.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-i,c.default.sources.SILENT)}},"code exit":{key:b.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),t=f(t,2),i=t[0],t=t[1],e=(new a.default).retain(e.index+i.length()-t-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(e,c.default.sources.USER)}},"embed left":_(b.keys.LEFT,!1),"embed left shift":_(b.keys.LEFT,!0),"embed right":_(b.keys.RIGHT,!1),"embed right shift":_(b.keys.RIGHT,!0)}},t.default=b,t.SHORTKEY=y},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return r(n,t,i)}var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e};function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=c(i(0)),l=c(i(7));function c(e){return e&&e.__esModule?e:{default:e}}i=function(e){var t=s;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return e.selection=t,e.textNode=document.createTextNode(s.CONTENTS),e.domNode.appendChild(e.textNode),e._length=0,e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(s,null,[{key:"value",value:function(){}}]),n(s,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,t){if(0!==this._length)return r(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"format",this).call(this,e,t);for(var i=this,n=0;null!=i&&i.statics.scope!==a.default.Scope.BLOCK_BLOT;)n+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=s.CONTENTS.length,i.optimize(),i.formatAt(n,s.CONTENTS.length,e,t),this._length=0)}},{key:"index",value:function(e,t){return e===this.textNode?0:r(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"index",this).call(this,e,t)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,t=this.selection.getNativeRange(),i=void 0,n=void 0,r=void 0;for(null!=t&&t.start.node===e&&t.end.node===e&&(e=[e,t.start.offset,t.end.offset],i=e[0],n=e[1],r=e[2]);null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);return this.textNode.data!==s.CONTENTS&&(t=this.textNode.data.split(s.CONTENTS).join(""),this.next instanceof l.default?(i=this.next.domNode,this.next.insertAt(0,t),this.textNode.data=s.CONTENTS):(this.textNode.data=t,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(s.CONTENTS),this.domNode.appendChild(this.textNode))),this.remove(),null!=n?(e=[n,r].map(function(e){return Math.max(0,Math.min(i.data.length,e-1))}),n=(t=o(e,2))[0],r=t[1],{startNode:i,startOffset:n,endNode:i,endOffset:r}):void 0}}},{key:"update",value:function(e,t){var i=this;e.some(function(e){return"characterData"===e.type&&e.target===i.textNode})&&(e=this.restore())&&(t.range=e)}},{key:"value",value:function(){return""}}]),s}(a.default.Embed);i.blotName="cursor",i.className="ql-cursor",i.tagName="span",i.CONTENTS="\ufeff",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(0)),i=i(4),r=s(i);function s(e){return e&&e.__esModule?e:{default:e}}n=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(n.default.Container);n.allowedChildren=[r.default,i.BlockEmbed,n],t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};var o=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"value",value:function(e){return(e=s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"value",this).call(this,e)).startsWith("rgb(")?"#"+(e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(function(e){return("00"+parseInt(e).toString(16)).slice(-2)}).join(""):e}}]),i}(i.default.Attributor.Style),a=new i.default.Attributor.Class("color","ql-color",{scope:i.default.Scope.INLINE}),i=new o("color","color",{scope:i.default.Scope.INLINE});t.ColorAttributor=o,t.ColorClass=a,t.ColorStyle=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(6);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"format",value:function(e,t){if(e!==this.statics.blotName||!t)return s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,e,t);t=this.constructor.sanitize(t),this.domNode.setAttribute("href",t)}}],[{key:"create",value:function(e){var t=s(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,e);return e=this.sanitize(e),t.setAttribute("href",e),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return o(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);function o(e,t){var i=document.createElement("a"),e=(i.href=e,i.href.slice(0,i.href.indexOf(":")));return-1<t.indexOf(e)}i.blotName="link",i.tagName="A",i.SANITIZED_URL="about:blank",i.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=i,t.sanitize=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},r=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e};function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=l(i(23)),a=l(i(107));function l(e){return e&&e.__esModule?e:{default:e}}var c=0;function u(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}r(d,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,i=document.createElement("span");return i.tabIndex="0",i.setAttribute("role","button"),i.classList.add("ql-picker-item"),e.hasAttribute("value")&&i.setAttribute("data-value",e.getAttribute("value")),e.textContent&&i.setAttribute("data-label",e.textContent),i.addEventListener("click",function(){t.selectItem(i,!0)}),i.addEventListener("keydown",function(e){switch(e.keyCode){case o.default.keys.ENTER:t.selectItem(i,!0),e.preventDefault();break;case o.default.keys.ESCAPE:t.escape(),e.preventDefault()}}),i}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var i=this,n=document.createElement("span");n.classList.add("ql-picker-options"),n.setAttribute("aria-hidden","true"),n.tabIndex="-1",n.id="ql-picker-options-"+c,c+=1,this.label.setAttribute("aria-controls",n.id),this.options=n,[].slice.call(this.select.options).forEach(function(e){var t=i.buildItem(e);n.appendChild(t),!0===e.selected&&i.selectItem(t)}),this.container.appendChild(n)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout(function(){return e.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=this.container.querySelector(".ql-selected");e!==i&&(null!=i&&i.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&("function"==typeof Event?this.select.dispatchEvent(new Event("change")):"object"===("undefined"==typeof Event?"undefined":n(Event))&&((i=document.createEvent("Event")).initEvent("change",!0,!0),this.select.dispatchEvent(i)),this.close())))}},{key:"update",value:function(){var e=void 0,t=(-1<this.select.selectedIndex?(t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex],e=this.select.options[this.select.selectedIndex],this.selectItem(t)):this.selectItem(null),null!=e&&e!==this.select.querySelector("option[selected]"));this.label.classList.toggle("ql-active",t)}}]);i=d;function d(e){var t=this;if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){t.togglePicker()}),this.label.addEventListener("keydown",function(e){switch(e.keyCode){case o.default.keys.ENTER:t.togglePicker();break;case o.default.keys.ESCAPE:t.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=g(i(0)),r=g(i(5)),s=i(4),o=g(s),a=g(i(16)),l=g(i(25)),c=g(i(24)),u=g(i(35)),d=g(i(6)),h=g(i(22)),f=g(i(7)),p=g(i(55)),m=g(i(42)),i=g(i(23));function g(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":o.default,"blots/block/embed":s.BlockEmbed,"blots/break":a.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":h.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":m.default,"modules/keyboard":i.default}),n.default.register(o.default,a.default,c.default,d.default,h.default,f.default),t.default=r.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(1);function n(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}Object.defineProperty(n.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),n.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");e=Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),"number"==typeof e?document.createElement(this.tagName[e-1]):-1<this.tagName.indexOf(e)?document.createElement(e):document.createElement(this.tagName[0])):document.createElement(this.tagName);return this.className&&e.classList.add(this.className),e},n.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},n.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},n.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},n.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},n.prototype.formatAt=function(e,t,i,n){e=this.isolate(e,t);null!=r.query(i,r.Scope.BLOT)&&n?e.wrap(i,n):null!=r.query(i,r.Scope.ATTRIBUTE)&&(t=r.create(this.statics.scope),e.wrap(t),t.format(i,n))},n.prototype.insertAt=function(e,t,i){t=null==i?r.create("text",t):r.create(t,i),i=this.split(e);this.parent.insertBefore(t,i)},n.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var i=null;e.children.insertBefore(this,t),null!=t&&(i=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==i||e.domNode.insertBefore(this.domNode,i),this.parent=e,this.attach()},n.prototype.isolate=function(e,t){e=this.split(e);return e.split(t),e},n.prototype.length=function(){return 1},n.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},n.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},n.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},n.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},n.prototype.replaceWith=function(e,t){t="string"==typeof e?r.create(e,t):e;return t.replace(this),t},n.prototype.split=function(e,t){return 0===e?this:this.next},n.prototype.update=function(e,t){},n.prototype.wrap=function(e,t){t="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(t,this.next),t.appendChild(this),t},n.blotName="abstract",t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(12),s=i(32),o=i(33),a=i(1);function n(e){this.attributes={},this.domNode=e,this.build()}n.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},n.prototype.build=function(){var t=this,e=(this.attributes={},r.default.keys(this.domNode)),i=s.default.keys(this.domNode),n=o.default.keys(this.domNode);e.concat(i).concat(n).forEach(function(e){e=a.query(e,a.Scope.ATTRIBUTE);e instanceof r.default&&(t.attributes[e.attrName]=e)})},n.prototype.copy=function(i){var n=this;Object.keys(this.attributes).forEach(function(e){var t=n.attributes[e].value(n.domNode);i.format(e,t)})},n.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},n.prototype.values=function(){var i=this;return Object.keys(this.attributes).reduce(function(e,t){return e[t]=i.attributes[t].value(i.domNode),e},{})},t.default=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=(Object.defineProperty(t,"__esModule",{value:!0}),i(12));function s(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(function(e){return 0===e.indexOf(t+"-")})}o=i.default,r(a,o),a.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})},a.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},a.prototype.remove=function(t){s(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},a.prototype.value=function(e){var t=(s(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""};var o,i=a;function a(){return null!==o&&o.apply(this,arguments)||this}t.default=i},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=(Object.defineProperty(t,"__esModule",{value:!0}),i(12));function s(e){var e=e.split("-"),t=e.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return e[0]+t}o=i.default,r(a,o),a.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){return e.split(":")[0].trim()})},a.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[s(this.keyName)]=t,!0)},a.prototype.remove=function(e){e.style[s(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},a.prototype.value=function(e){var t=e.style[s(this.keyName)];return this.canAdd(e,t)?t:""};var o,i=a;function a(){return null!==o&&o.apply(this,arguments)||this}t.default=i},function(e,t,i){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0});(function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)})(s,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]);var r=s;function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");this.quill=e,this.options=t,this.modules={}}r.DEFAULTS={modules:{}},r.themes={default:r},t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=l(i(0)),a=l(i(7));function l(e){return e&&e.__esModule?e:{default:e}}var c="\ufeff",i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(e){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");var t=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return t.contentNode=document.createElement("span"),t.contentNode.setAttribute("contenteditable",!1),[].slice.call(t.domNode.childNodes).forEach(function(e){t.contentNode.appendChild(e)}),t.leftGuard=document.createTextNode(c),t.rightGuard=document.createTextNode(c),t.domNode.appendChild(t.leftGuard),t.domNode.appendChild(t.contentNode),t.domNode.appendChild(t.rightGuard),t}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"index",value:function(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"index",this).call(this,e,t)}},{key:"restore",value:function(e){var t,i=void 0,n=void 0,r=e.data.split(c).join("");return e===this.leftGuard?i=this.prev instanceof a.default?(t=this.prev.length(),this.prev.insertAt(t,r),{startNode:this.prev.domNode,startOffset:t+r.length}):(n=document.createTextNode(r),this.parent.insertBefore(o.default.create(n),this),{startNode:n,startOffset:r.length}):e===this.rightGuard&&(i=this.next instanceof a.default?(this.next.insertAt(0,r),{startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(o.default.create(n),this.next),{startNode:n,startOffset:r.length})),e.data=c,i}},{key:"update",value:function(e,t){var i=this;e.forEach(function(e){"characterData"!==e.type||e.target!==i.leftGuard&&e.target!==i.rightGuard||(e=i.restore(e.target))&&(t.range=e)})}}]),i}(o.default.Embed);t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};var n={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},r=new i.default.Attributor.Attribute("align","align",n),s=new i.default.Attributor.Class("align","ql-align",n),i=new i.default.Attributor.Style("align","text-align",n);t.AlignAttribute=r,t.AlignClass=s,t.AlignStyle=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var n=i(0),n=(n=n)&&n.__esModule?n:{default:n},i=i(26);var r=new n.default.Attributor.Class("background","ql-bg",{scope:n.default.Scope.INLINE}),i=new i.ColorAttributor("background","background-color",{scope:n.default.Scope.INLINE});t.BackgroundClass=r,t.BackgroundStyle=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};var n={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},r=new i.default.Attributor.Attribute("direction","dir",n),s=new i.default.Attributor.Class("direction","ql-direction",n),i=new i.default.Attributor.Style("direction","direction",n);t.DirectionAttribute=r,t.DirectionClass=s,t.DirectionStyle=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};var o={scope:i.default.Scope.INLINE,whitelist:["serif","monospace"]},a=new i.default.Attributor.Class("font","ql-font",o),i=new(function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"value",value:function(e){return s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),i}(i.default.Attributor.Style))("font","font-family",o);t.FontStyle=i,t.FontClass=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};var n=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),i=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=n,t.SizeStyle=i},function(e,t,i){"use strict";e.exports={align:{"":i(76),center:i(77),right:i(78),justify:i(79)},background:i(80),blockquote:i(81),bold:i(82),clean:i(83),code:i(58),"code-block":i(58),color:i(84),direction:{"":i(85),rtl:i(86)},float:{center:i(87),full:i(88),left:i(89),right:i(90)},formula:i(91),header:{1:i(92),2:i(93)},italic:i(94),image:i(95),indent:{"+1":i(96),"-1":i(97)},link:i(98),list:{ordered:i(99),bullet:i(100),check:i(101)},script:{sub:i(102),super:i(103)},strike:i(104),underline:i(105),video:i(106)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=a(i(0)),o=a(i(5));function a(e){return e&&e.__esModule?e:{default:e}}i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");var r=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e,t));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(o.default.events.EDITOR_CHANGE,function(e,t,i,n){e!==o.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&n!==o.default.sources.USER?r.transform(t):r.record(t,i))}),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"change",value:function(e,t){var i;0!==this.stack[e].length&&(i=this.stack[e].pop(),this.stack[t].push(i),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(i[e],o.default.sources.USER),this.ignoreChange=!1,t=l(i[e]),this.quill.setSelection(t))}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){var i,n;0!==e.ops.length&&(this.stack.redo=[],t=this.quill.getContents().diff(t),i=Date.now(),this.lastRecorded+this.options.delay>i&&0<this.stack.undo.length?(n=this.stack.undo.pop(),t=t.compose(n.undo),e=n.redo.compose(e)):this.lastRecorded=i,this.stack.undo.push({redo:e,undo:t}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),i}(a(i(9)).default);function l(e){var t=e.reduce(function(e,t){return e+=t.delete||0},0),t=e.length()-t;return null!=(e=(e=e).ops[e.ops.length-1])&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(e){return null!=s.default.query(e,s.default.Scope.BLOCK)}))&&--t,t}i.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=i,t.getLastChangeIndex=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=p(i(3)),a=p(i(2)),l=p(i(8)),c=p(i(23)),u=p(i(34)),d=p(i(59)),h=p(i(60)),f=p(i(28)),i=p(i(61));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],_=[!1,"serif","monospace"],x=["1","2","3",!1],w=["small",!1,"large","huge"],k=(v(S,u.default),n(S,[{key:"addModule",value:function(e){var t=s(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(t),t}},{key:"buildButtons",value:function(e,n){e.forEach(function(i){(i.getAttribute("class")||"").split(/\s+/).forEach(function(e){var t;e.startsWith("ql-")&&(e=e.slice("ql-".length),null!=n[e]&&("direction"===e?i.innerHTML=n[e][""]+n[e].rtl:"string"==typeof n[e]?i.innerHTML=n[e]:null!=(t=i.value||"")&&n[e][t]&&(i.innerHTML=n[e][t])))})})}},{key:"buildPickers",value:function(e,i){var t=this;this.pickers=e.map(function(e){var t;return e.classList.contains("ql-align")?(null==e.querySelector("option")&&C(e,y),new h.default(e,i.align)):e.classList.contains("ql-background")||e.classList.contains("ql-color")?(t=e.classList.contains("ql-background")?"background":"color",null==e.querySelector("option")&&C(e,b,"background"==t?"#ffffff":"#000000"),new d.default(e,i[t])):(null==e.querySelector("option")&&(e.classList.contains("ql-font")?C(e,_):e.classList.contains("ql-header")?C(e,x):e.classList.contains("ql-size")&&C(e,w)),new f.default(e))});this.quill.on(l.default.events.EDITOR_CHANGE,function(){t.pickers.forEach(function(e){e.update()})})}}]),S);function S(i,e){m(this,S);var n=g(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,i,e));return i.emitter.listenDOM("click",document.body,function e(t){if(!document.body.contains(i.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(t.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach(function(e){e.container.contains(t.target)||e.close()})}),n}k.DEFAULTS=(0,o.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var i=this,n=this.container.querySelector("input.ql-image[type=file]");null==n&&((n=document.createElement("input")).setAttribute("type","file"),n.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),n.classList.add("ql-image"),n.addEventListener("change",function(){var e;null!=n.files&&null!=n.files[0]&&((e=new FileReader).onload=function(e){var t=i.quill.getSelection(!0);i.quill.updateContents((new a.default).retain(t.index).delete(t.length).insert({image:e.target.result}),l.default.sources.USER),i.quill.setSelection(t.index+1,l.default.sources.SILENT),n.value=""},e.readAsDataURL(n.files[0]))}),this.container.appendChild(n)),n.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});v(M,i.default),n(M,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){c.default.match(e,"enter")?(t.save(),e.preventDefault()):c.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"link",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,l.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,l.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(t)return(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0";if(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))return(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/";return e}(e);case"formula":if(!e)break;var t=this.quill.getSelection(!0);null!=t&&(t=t.index+t.length,this.quill.insertEmbed(t,this.root.getAttribute("data-mode"),e,l.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(t+1," ",l.default.sources.USER),this.quill.setSelection(t+2,l.default.sources.USER))}this.textbox.value="",this.hide()}}]);o=M;function M(e,t){m(this,M);e=g(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,e,t));return e.textbox=e.root.querySelector('input[type="text"]'),e.listen(),e}function C(i,e,t){var n=2<arguments.length&&void 0!==t&&t;e.forEach(function(e){var t=document.createElement("option");e===n?t.setAttribute("selected","selected"):t.setAttribute("value",e),i.appendChild(t)})}t.BaseTooltip=o,t.default=k},function(e,t,i){"use strict";function n(){this.head=this.tail=null,this.length=0}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),1<e.length&&this.append.apply(this,e.slice(1))},n.prototype.contains=function(e){for(var t,i=this.iterator();t=i();)if(t===e)return!0;return!1},n.prototype.insertBefore=function(e,t){e&&(null!=(e.next=t)?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?((this.tail.next=e).prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},n.prototype.offset=function(e){for(var t=0,i=this.head;null!=i;){if(i===e)return t;t+=i.length(),i=i.next}return-1},n.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),--this.length)},n.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},n.prototype.find=function(e,t){void 0===t&&(t=!1);for(var i,n=this.iterator();i=n();){var r=i.length();if(e<r||t&&e===r&&(null==i.next||0!==i.next.length()))return[i,e];e-=r}return[null,0]},n.prototype.forEach=function(e){for(var t,i=this.iterator();t=i();)e(t)},n.prototype.forEachAt=function(e,t,i){if(!(t<=0))for(var n,r=this.find(e),s=r[0],o=e-r[1],a=this.iterator(s);(n=a())&&o<e+t;){var l=n.length();o<e?i(n,e-o,Math.min(t,o+l-e)):i(n,0,Math.min(l,e+t-o)),o+=l}},n.prototype.map=function(i){return this.reduce(function(e,t){return e.push(i(t)),e},[])},n.prototype.reduce=function(e,t){for(var i,n=this.iterator();i=n();)t=e(t,i);return t},t.default=n},function(e,t,i){"use strict";var n,l,r=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),c=(Object.defineProperty(t,"__esModule",{value:!0}),i(17)),u=i(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},i=(l=c.default,r(o,l),o.prototype.detach=function(){l.prototype.detach.call(this),this.observer.disconnect()},o.prototype.deleteAt=function(e,t){this.update(),0===e&&t===this.length()?this.children.forEach(function(e){e.remove()}):l.prototype.deleteAt.call(this,e,t)},o.prototype.formatAt=function(e,t,i,n){this.update(),l.prototype.formatAt.call(this,e,t,i,n)},o.prototype.insertAt=function(e,t,i){this.update(),l.prototype.insertAt.call(this,e,t,i)},o.prototype.optimize=function(e,t){for(var i=this,n=(void 0===e&&(e=[]),void 0===t&&(t={}),l.prototype.optimize.call(this,t),[].slice.call(this.observer.takeRecords()));0<n.length;)e.push(n.pop());for(var r=function(e,t){void 0===t&&(t=!0),null!=e&&e!==i&&null!=e.domNode.parentNode&&(null==e.domNode[u.DATA_KEY].mutations&&(e.domNode[u.DATA_KEY].mutations=[]),t&&r(e.parent))},s=function(e){null!=e.domNode[u.DATA_KEY]&&null!=e.domNode[u.DATA_KEY].mutations&&(e instanceof c.default&&e.children.forEach(s),e.optimize(t))},o=e,a=0;0<o.length;a+=1){if(100<=a)throw new Error("[Parchment] Maximum optimize iterations reached");for(o.forEach(function(e){var t=u.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(r(u.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,function(e){e=u.find(e,!1);r(e,!1),e instanceof c.default&&e.children.forEach(function(e){r(e,!1)})})):"attributes"===e.type&&r(t.prev)),r(t))}),this.children.forEach(s),n=(o=[].slice.call(this.observer.takeRecords())).slice();0<n.length;)e.push(n.pop())}},o.prototype.update=function(e,t){var i=this;void 0===t&&(t={}),(e=e||this.observer.takeRecords()).map(function(e){var t=u.find(e.target,!0);return null==t?null:null==t.domNode[u.DATA_KEY].mutations?(t.domNode[u.DATA_KEY].mutations=[e],t):(t.domNode[u.DATA_KEY].mutations.push(e),null)}).forEach(function(e){null!=e&&e!==i&&null!=e.domNode[u.DATA_KEY]&&e.update(e.domNode[u.DATA_KEY].mutations||[],t)}),null!=this.domNode[u.DATA_KEY].mutations&&l.prototype.update.call(this,this.domNode[u.DATA_KEY].mutations,t),this.optimize(e,t)},o.blotName="scroll",o.defaultChild="block",o.scope=u.Scope.BLOCK_BLOT,o.tagName="DIV",o);function o(e){var t=l.call(this,e)||this;return(t.scroll=t).observer=new MutationObserver(function(e){t.update(e)}),t.observer.observe(t.domNode,s),t.attach(),t}t.default=i},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),i(18)),o=i(1);a=s.default,r(l,a),l.formats=function(e){if(e.tagName!==l.tagName)return a.formats.call(this,e)},l.prototype.format=function(e,t){var i=this;e!==this.statics.blotName||t?a.prototype.format.call(this,e,t):(this.children.forEach(function(e){e instanceof s.default||(e=e.wrap(l.blotName,!0)),i.attributes.copy(e)}),this.unwrap())},l.prototype.formatAt=function(e,t,i,n){null!=this.formats()[i]||o.query(i,o.Scope.ATTRIBUTE)?this.isolate(e,t).format(i,n):a.prototype.formatAt.call(this,e,t,i,n)},l.prototype.optimize=function(e){a.prototype.optimize.call(this,e);e=this.formats();if(0===Object.keys(e).length)return this.unwrap();var t=this.next;t instanceof l&&t.prev===this&&function(e,t){if(Object.keys(e).length===Object.keys(t).length){for(var i in e)if(e[i]!==t[i])return;return 1}}(e,t.formats())&&(t.moveChildren(this),t.remove())},l.blotName="inline",l.scope=o.Scope.INLINE_BLOT,l.tagName="SPAN";var a,i=l;function l(){return null!==a&&a.apply(this,arguments)||this}t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(18)),a=i(1),i=(r=o.default,s(l,r),l.formats=function(e){var t=a.query(l.blotName).tagName;if(e.tagName!==t)return r.formats.call(this,e)},l.prototype.format=function(e,t){null!=a.query(e,a.Scope.BLOCK)&&(e!==this.statics.blotName||t?r.prototype.format.call(this,e,t):this.replaceWith(l.blotName))},l.prototype.formatAt=function(e,t,i,n){null!=a.query(i,a.Scope.BLOCK)?this.format(i,n):r.prototype.formatAt.call(this,e,t,i,n)},l.prototype.insertAt=function(e,t,i){null==i||null!=a.query(t,a.Scope.INLINE)?r.prototype.insertAt.call(this,e,t,i):(e=this.split(e),t=a.create(t,i),e.parent.insertBefore(t,e))},l.prototype.update=function(e,t){navigator.userAgent.match(/Trident/)?this.build():r.prototype.update.call(this,e,t)},l.blotName="block",l.scope=a.Scope.BLOCK_BLOT,l.tagName="P",l);function l(){return null!==r&&r.apply(this,arguments)||this}t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),i=(Object.defineProperty(t,"__esModule",{value:!0}),i(19)),i=(r=i.default,s(o,r),o.formats=function(e){},o.prototype.format=function(e,t){r.prototype.formatAt.call(this,0,this.length(),e,t)},o.prototype.formatAt=function(e,t,i,n){0===e&&t===this.length()?this.format(i,n):r.prototype.formatAt.call(this,e,t,i,n)},o.prototype.formats=function(){return this.statics.formats(this.domNode)},o);function o(){return null!==r&&r.apply(this,arguments)||this}t.default=i},function(e,t,i){"use strict";var n,r,s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),i(19)),a=i(1),i=(r=o.default,s(l,r),l.create=function(e){return document.createTextNode(e)},l.value=function(e){e=e.data;return e=e.normalize?e.normalize():e},l.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},l.prototype.index=function(e,t){return this.domNode===e?t:-1},l.prototype.insertAt=function(e,t,i){null==i?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):r.prototype.insertAt.call(this,e,t,i)},l.prototype.length=function(){return this.text.length},l.prototype.optimize=function(e){r.prototype.optimize.call(this,e),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof l&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},l.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},l.prototype.split=function(e,t){if(!(t=void 0===t?!1:t)){if(0===e)return this;if(e===this.length())return this.next}t=a.create(this.domNode.splitText(e));return this.parent.insertBefore(t,this.next),this.text=this.statics.value(this.domNode),t},l.prototype.update=function(e,t){var i=this;e.some(function(e){return"characterData"===e.type&&e.target===i.domNode})&&(this.text=this.statics.value(this.domNode))},l.prototype.value=function(){return this.text},l.blotName="text",l.scope=a.Scope.INLINE_BLOT,l);function l(e){e=r.call(this,e)||this;return e.text=e.statics.value(e.domNode),e}t.default=i},function(e,t,i){"use strict";var n,r=document.createElement("div");r.classList.toggle("test-class",!1),r.classList.contains("test-class")&&(n=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1<arguments.length&&!this.contains(e)==!t?t:n.call(this,e)}),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return this.substr(t=t||0,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var i=this.toString(),i=(("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>i.length)&&(t=i.length),t-=e.length,i.indexOf(e,t));return-1!==i&&i===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,i=Object(this),n=i.length>>>0,r=arguments[1],s=0;s<n;s++)if(t=i[s],e.call(r,t,s,i))return t}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(e,t){var M=-1,C=1,c=0;function a(e,t,i){if(e==t)return e?[[c,e]]:[];(i<0||e.length<i)&&(i=null);var n=h(e,t),r=e.substring(0,n),s=(n=f(e=e.substring(n),t=t.substring(n)),e.substring(e.length-n)),e=function(e,t){if(!e)return[[C,t]];if(!t)return[[M,e]];var i=e.length>t.length?e:t,n=e.length>t.length?t:e,r=i.indexOf(n);if(-1!=r)return i=[[C,i.substring(0,r)],[c,n],[C,i.substring(r+n.length)]],e.length>t.length&&(i[0][0]=i[2][0]=M),i;if(1==n.length)return[[M,e],[C,t]];r=function(e,t){var i=e.length>t.length?e:t,n=e.length>t.length?t:e;if(i.length<4||2*n.length<i.length)return null;function r(e,t,i){for(var n,r,s,o,a=e.substring(i,i+Math.floor(e.length/4)),l=-1,c="";-1!=(l=t.indexOf(a,l+1));){var u=h(e.substring(i),t.substring(l)),d=f(e.substring(0,i),t.substring(0,l));c.length<d+u&&(c=t.substring(l-d,l)+t.substring(l,l+u),n=e.substring(0,i-d),r=e.substring(i+u),s=t.substring(0,l-d),o=t.substring(l+u))}return 2*c.length>=e.length?[n,r,s,o,c]:null}var s,o,a,l,c=r(i,n,Math.ceil(i.length/4)),n=r(i,n,Math.ceil(i.length/2));{if(!c&&!n)return null;i=!n||c&&c[4].length>n[4].length?c:n}e.length>t.length?(s=i[0],o=i[1],a=i[2],l=i[3]):(a=i[0],l=i[1],s=i[2],o=i[3]);c=i[4];return[s,o,a,l,c]}(e,t);{var s,o;if(r)return i=r[0],n=r[1],o=r[2],s=r[3],r=r[4],i=a(i,o),o=a(n,s),i.concat([[c,r]],o)}return function(e,t){for(var i=e.length,n=t.length,r=Math.ceil((i+n)/2),s=r,o=2*r,a=new Array(o),l=new Array(o),c=0;c<o;c++)a[c]=-1,l[c]=-1;a[s+1]=0,l[s+1]=0;for(var u=i-n,d=u%2!=0,h=0,f=0,p=0,m=0,g=0;g<r;g++){for(var v=-g+h;v<=g-f;v+=2){for(var y=s+v,b=(S=v==-g||v!=g&&a[y-1]<a[y+1]?a[y+1]:a[y-1]+1)-v;S<i&&b<n&&e.charAt(S)==t.charAt(b);)S++,b++;if(a[y]=S,i<S)f+=2;else if(n<b)h+=2;else if(d){var _,x=s+u-v;if(0<=x&&x<o&&-1!=l[x])if((_=i-l[x])<=S)return L(e,t,S,b)}}for(var w=-g+p;w<=g-m;w+=2){for(var x=s+w,k=(_=w==-g||w!=g&&l[x-1]<l[x+1]?l[x+1]:l[x-1]+1)-w;_<i&&k<n&&e.charAt(i-_-1)==t.charAt(n-k-1);)_++,k++;if(l[x]=_,i<_)m+=2;else if(n<k)p+=2;else if(!d)if(0<=(y=s+u-w)&&y<o&&-1!=a[y]){var S=a[y],b=s+S-y;if((_=i-_)<=S)return L(e,t,S,b)}}}return[[M,e],[C,t]]}(e,t)}(e=e.substring(0,e.length-n),t=t.substring(0,t.length-n));return r&&e.unshift([c,r]),s&&e.push([c,s]),function e(t){t.push([c,""]);var i=0;var n=0;var r=0;var s="";var o="";var a;for(;i<t.length;)switch(t[i][0]){case C:r++,o+=t[i][1],i++;break;case M:n++,s+=t[i][1],i++;break;case c:1<n+r?(0!==n&&0!==r&&(0!==(a=h(o,s))&&(0<i-n-r&&t[i-n-r-1][0]==c?t[i-n-r-1][1]+=o.substring(0,a):(t.splice(0,0,[c,o.substring(0,a)]),i++),o=o.substring(a),s=s.substring(a)),0!==(a=f(o,s))&&(t[i][1]=o.substring(o.length-a)+t[i][1],o=o.substring(0,o.length-a),s=s.substring(0,s.length-a))),0===n?t.splice(i-r,n+r,[C,o]):0===r?t.splice(i-n,n+r,[M,s]):t.splice(i-n-r,n+r,[M,s],[C,o]),i=i-n-r+(n?1:0)+(r?1:0)+1):0!==i&&t[i-1][0]==c?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,n=r=0,o=s=""}""===t[t.length-1][1]&&t.pop();var l=!1;i=1;for(;i<t.length-1;)t[i-1][0]==c&&t[i+1][0]==c&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),l=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),l=!0)),i++;l&&e(t)}(e),null!=i&&(t=function(e,t){if(0===t)return[c,e];for(var i=0,n=0;n<e.length;n++){var r=e[n];if(r[0]===M||r[0]===c){var s,o,a=i+r[1].length;if(t===a)return[n+1,e];if(t<a)return e=e.slice(),s=t-i,o=[r[0],r[1].slice(0,s)],r=[r[0],r[1].slice(s)],e.splice(n,1,o,r),[n+1,e];i=a}}throw new Error("cursor_pos is out of bounds!")}(n=e,t=i),r=t[1],t=t[0],s=r[t],i=r[t+1],e=null==s||s[0]!==c?n:null!=i&&s[1]+i[1]===i[1]+s[1]?(r.splice(t,2,i,s),o(r,t,2)):null!=i&&0===i[1].indexOf(s[1])?(r.splice(t,2,[i[0],s[1]],[0,s[1]]),0<(s=i[1].slice(s[1].length)).length&&r.splice(t+2,0,[i[0],s]),o(r,t,3)):n),e=function(e){function t(e){return 56320<=e.charCodeAt(0)&&e.charCodeAt(0)<=57343}for(var i=!1,n=2;n<e.length;n+=1)e[n-2][0]===c&&function(e){return 55296<=e.charCodeAt(e.length-1)&&e.charCodeAt(e.length-1)<=56319}(e[n-2][1])&&e[n-1][0]===M&&t(e[n-1][1])&&e[n][0]===C&&t(e[n][1])&&(i=!0,e[n-1][1]=e[n-2][1].slice(-1)+e[n-1][1],e[n][1]=e[n-2][1].slice(-1)+e[n][1],e[n-2][1]=e[n-2][1].slice(0,-1));if(!i)return e;for(var r=[],n=0;n<e.length;n+=1)0<e[n][1].length&&r.push(e[n]);return r}(e)}function L(e,t,i,n){var r=e.substring(0,i),s=t.substring(0,n),e=e.substring(i),i=t.substring(n),t=a(r,s),n=a(e,i);return t.concat(n)}function h(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var i=0,n=Math.min(e.length,t.length),r=n,s=0;i<r;)e.substring(s,r)==t.substring(s,r)?s=i=r:n=r,r=Math.floor((n-i)/2+i);return r}function f(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var i=0,n=Math.min(e.length,t.length),r=n,s=0;i<r;)e.substring(e.length-r,e.length-s)==t.substring(t.length-r,t.length-s)?s=i=r:n=r,r=Math.floor((n-i)/2+i);return r}var i=a;function o(e,t,i){for(var n,r,s=t+i-1;0<=s&&t-1<=s;s--)s+1<e.length&&(n=e[s],r=e[s+1],n[0]===r[1]&&e.splice(s,2,[n[0],n[1]+r[1]]));return e}i.INSERT=C,i.DELETE=M,i.EQUAL=c,e.exports=i},function(e,t){function i(e){var t,i=[];for(t in e)i.push(t);return i}(e.exports="function"==typeof Object.keys?Object.keys:i).shim=i},function(e,t){var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=i?n:r).supported=n,t.unsupported=r},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,f="~";function l(){}function r(e,t,i){this.fn=e,this.context=t,this.once=i||!1}function i(){this._events=new l,this._eventsCount=0}Object.create&&(l.prototype=Object.create(null),(new l).__proto__||(f=!1)),i.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)n.call(e,t)&&i.push(f?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},i.prototype.listeners=function(e,t){var e=f?f+e:e,i=this._events[e];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var n=0,r=i.length,s=new Array(r);n<r;n++)s[n]=i[n].fn;return s},i.prototype.emit=function(e,t,i,n,r,s){var o=f?f+e:e;if(!this._events[o])return!1;var a,l=this._events[o],c=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),c){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,i),!0;case 4:return l.fn.call(l.context,t,i,n),!0;case 5:return l.fn.call(l.context,t,i,n,r),!0;case 6:return l.fn.call(l.context,t,i,n,r,s),!0}for(h=1,a=new Array(c-1);h<c;h++)a[h-1]=arguments[h];l.fn.apply(l.context,a)}else for(var u,d=l.length,h=0;h<d;h++)switch(l[h].once&&this.removeListener(e,l[h].fn,void 0,!0),c){case 1:l[h].fn.call(l[h].context);break;case 2:l[h].fn.call(l[h].context,t);break;case 3:l[h].fn.call(l[h].context,t,i);break;case 4:l[h].fn.call(l[h].context,t,i,n);break;default:if(!a)for(u=1,a=new Array(c-1);u<c;u++)a[u-1]=arguments[u];l[h].fn.apply(l[h].context,a)}return!0},i.prototype.on=function(e,t,i){t=new r(t,i||this),i=f?f+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],t]:this._events[i].push(t):(this._events[i]=t,this._eventsCount++),this},i.prototype.once=function(e,t,i){t=new r(t,i||this,!0),i=f?f+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],t]:this._events[i].push(t):(this._events[i]=t,this._eventsCount++),this},i.prototype.removeListener=function(e,t,i,n){e=f?f+e:e;if(!this._events[e])return this;if(!t)return 0==--this._eventsCount?this._events=new l:delete this._events[e],this;var r=this._events[e];if(r.fn)r.fn!==t||n&&!r.once||i&&r.context!==i||(0==--this._eventsCount?this._events=new l:delete this._events[e]);else{for(var s=0,o=[],a=r.length;s<a;s++)(r[s].fn!==t||n&&!r[s].once||i&&r[s].context!==i)&&o.push(r[s]);o.length?this._events[e]=1===o.length?o[0]:o:0==--this._eventsCount?this._events=new l:delete this._events[e]}return this},i.prototype.removeAllListeners=function(e){return e?(e=f?f+e:e,this._events[e]&&(0==--this._eventsCount?this._events=new l:delete this._events[e])):(this._events=new l,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=f,i.EventEmitter=i,void 0!==e&&(e.exports=i)},function(Y,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e};function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=y(t(3)),a=y(t(2)),l=y(t(0)),c=y(t(5)),u=y(t(10)),d=y(t(9)),h=t(36),f=t(37),p=y(t(13)),m=t(26),g=t(38),v=t(39),t=t(40);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var _=(0,u.default)("quill:clipboard"),x="__ql-matcher",w=[[Node.TEXT_NODE,P],[Node.TEXT_NODE,j],["br",function(e,t){L(t,"\n")||t.insert("\n");return t}],[Node.ELEMENT_NODE,j],[Node.ELEMENT_NODE,A],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,E],[Node.ELEMENT_NODE,function(e,t){var i={},n=e.style||{};n.fontStyle&&"italic"===C(e).fontStyle&&(i.italic=!0);n.fontWeight&&(C(e).fontWeight.startsWith("bold")||700<=parseInt(C(e).fontWeight))&&(i.bold=!0);0<Object.keys(i).length&&(t=M(t,i));0<parseFloat(n.textIndent||0)&&(t=(new a.default).insert("\t").concat(t));return t}],["li",function(e,t){var i=l.default.query(e);if(null==i||"list-item"!==i.blotName||!L(t,"\n"))return t;var n=-1,r=e.parentNode;for(;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(n+=1),r=r.parentNode;return n<=0?t:t.compose((new a.default).retain(t.length()-1).retain(1,{indent:n}))}],["b",D.bind(D,"bold")],["i",D.bind(D,"italic")],["style",function(){return new a.default}]],k=[h.AlignAttribute,g.DirectionAttribute].reduce(function(e,t){return e[t.keyName]=t,e},{}),S=[h.AlignStyle,f.BackgroundStyle,m.ColorStyle,g.DirectionStyle,v.FontStyle,t.SizeStyle].reduce(function(e,t){return e[t.keyName]=t,e},{}),u=function(e){var t=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function r(e,i){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");var n=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,i));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],w.concat(n.options.matchers).forEach(function(e){var e=o(e,2),t=e[0],e=e[1];!i.matchVisual&&e===O||n.addMatcher(t,e)}),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(r,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[p.default.blotName])return t=this.container.innerText,this.container.innerHTML="",(new a.default).insert(t,b({},p.default.blotName,e[p.default.blotName]));var t=this.prepareMatching(),e=o(t,2),t=e[0],e=e[1],t=function n(r,s,o){return r.nodeType===r.TEXT_NODE?o.reduce(function(e,t){return t(r,e)},new a.default):r.nodeType===r.ELEMENT_NODE?[].reduce.call(r.childNodes||[],function(e,i){var t=n(i,s,o);return i.nodeType===r.ELEMENT_NODE&&(t=s.reduce(function(e,t){return t(i,e)},t),t=(i[x]||[]).reduce(function(e,t){return t(i,e)},t)),e.concat(t)},new a.default):new a.default}(this.container,t,e);return L(t,"\n")&&null==t.ops[t.ops.length-1].attributes&&(t=t.compose((new a.default).retain(t.length()-1).delete(1))),_.log("convert",this.container.innerHTML,t),this.container.innerHTML="",t}},{key:"dangerouslyPasteHTML",value:function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;"string"==typeof e?(this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT)):(t=this.convert(t),this.quill.updateContents((new a.default).retain(e).concat(t),i),this.quill.setSelection(e+t.length(),c.default.sources.SILENT))}},{key:"onPaste",value:function(e){var t,i,n,r=this;!e.defaultPrevented&&this.quill.isEnabled()&&(t=this.quill.getSelection(),i=(new a.default).retain(t.index),n=this.quill.scrollingContainer.scrollTop,this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout(function(){i=i.concat(r.convert()).delete(t.length),r.quill.updateContents(i,c.default.sources.USER),r.quill.setSelection(i.length()-t.length,c.default.sources.SILENT),r.quill.scrollingContainer.scrollTop=n,r.quill.focus()},1))}},{key:"prepareMatching",value:function(){var n=this,r=[],s=[];return this.matchers.forEach(function(e){var e=o(e,2),t=e[0],i=e[1];switch(t){case Node.TEXT_NODE:s.push(i);break;case Node.ELEMENT_NODE:r.push(i);break;default:[].forEach.call(n.container.querySelectorAll(t),function(e){e[x]=e[x]||[],e[x].push(i)})}}),[r,s]}}]),r}(d.default);function M(e,i,n){return"object"===(void 0===i?"undefined":r(i))?Object.keys(i).reduce(function(e,t){return M(e,t,i[t])},e):e.reduce(function(e,t){return t.attributes&&t.attributes[i]?e.push(t):e.insert(t.insert,(0,s.default)({},b({},i,n),t.attributes))},new a.default)}function C(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function L(e,t){for(var i="",n=e.ops.length-1;0<=n&&i.length<t.length;--n){var r=e.ops[n];if("string"!=typeof r.insert)break;i=r.insert+i}return i.slice(-1*t.length)===t}function T(e){if(0!==e.childNodes.length)return e=C(e),-1<["block","list-item"].indexOf(e.display)}function D(e,t,i){return M(i,e,!0)}function E(i,e){var t=l.default.Attributor.Attribute.keys(i),n=l.default.Attributor.Class.keys(i),r=l.default.Attributor.Style.keys(i),s={};return t.concat(n).concat(r).forEach(function(e){var t=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=t&&(s[t.attrName]=t.value(i),s[t.attrName])||(null==(t=k[e])||t.attrName!==e&&t.keyName!==e||(s[t.attrName]=t.value(i)||void 0),null==(t=S[e])||t.attrName!==e&&t.keyName!==e||(t=S[e],s[t.attrName]=t.value(i)||void 0))}),e=0<Object.keys(s).length?M(e,s):e}function A(e,t){var i,n,r=l.default.query(e);return null==r||(r.prototype instanceof l.default.Embed?(i={},null!=(n=r.value(e))&&(i[r.blotName]=n,t=(new a.default).insert(i,r.formats(e)))):"function"==typeof r.formats&&(t=M(t,r.blotName,r.formats(e)))),t}function j(e,t){return L(t,"\n")||(T(e)||0<t.length()&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function O(e,t){var i;return T(e)&&null!=e.nextElementSibling&&!L(t,"\n\n")&&(i=e.offsetHeight+parseFloat(C(e).marginTop)+parseFloat(C(e).marginBottom),e.nextElementSibling.offsetTop>e.offsetTop+1.5*i&&t.insert("\n")),t}function P(e,t){var i,n=e.data;return"O:P"===e.parentNode.tagName?t.insert(n.trim()):0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard")?t:(C(e.parentNode).whiteSpace.startsWith("pre")||(i=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t},n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,i.bind(i,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))),t.insert(n))}u.DEFAULTS={matchers:[],matchVisual:!0},e.default=u,e.matchAttributor=E,e.matchBlot=A,e.matchNewline=j,e.matchSpacing=O,e.matchText=P},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(6);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"optimize",value:function(e){s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return s(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="bold",i.tagName=["STRONG","B"],t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e};function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=o(i(2)),u=o(i(0)),d=o(i(5)),s=o(i(10)),i=o(i(9));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var h=(0,s.default)("quill:toolbar"),s=function(e){var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");var i=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return Array.isArray(i.options.container)?(p(t=document.createElement("div"),i.options.container),e.container.parentNode.insertBefore(t,e.container),i.container=t):"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container,i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach(function(e){i.addHandler(e,i.options.handlers[e])}),[].forEach.call(i.container.querySelectorAll("button, select"),function(e){i.attach(e)}),i.quill.on(d.default.events.EDITOR_CHANGE,function(e,t){e===d.default.events.SELECTION_CHANGE&&i.update(t)}),i.quill.on(d.default.events.SCROLL_OPTIMIZE,function(){var e=i.quill.selection.getRange(),e=l(e,1)[0];i.update(e)}),i):(e=h.error("Container required for toolbar",i.options),a(i,e))}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(n,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(s){var o=this,a=[].find.call(s.classList,function(e){return 0===e.indexOf("ql-")});if(a){if(a=a.slice("ql-".length),"BUTTON"===s.tagName&&s.setAttribute("type","button"),null==this.handlers[a]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[a])return void h.warn("ignoring attaching to disabled format",a,s);if(null==u.default.query(a))return void h.warn("ignoring attaching to nonexistent format",a,s)}var e="SELECT"===s.tagName?"change":"click";s.addEventListener(e,function(e){var t=void 0;if("SELECT"===s.tagName){if(s.selectedIndex<0)return;var i=s.options[s.selectedIndex],t=!i.hasAttribute("selected")&&i.value||!1}else t=!s.classList.contains("ql-active")&&(s.value||!s.hasAttribute("value")),e.preventDefault();o.quill.focus();var n,r,i=o.quill.selection.getRange(),e=l(i,1)[0];if(null!=o.handlers[a])o.handlers[a].call(o,t);else if(u.default.query(a).prototype instanceof u.default.Embed){if(!(t=prompt("Enter "+a)))return;o.quill.updateContents((new c.default).retain(e.index).delete(e.length).insert((i=t,(r=a)in(n={})?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n)),d.default.sources.USER)}else o.quill.format(a,t,d.default.sources.USER);o.update(e)}),this.controls.push([a,s])}}},{key:"update",value:function(r){var s=null==r?{}:this.quill.getFormat(r);this.controls.forEach(function(e){var t,i,e=l(e,2),n=e[0],e=e[1];"SELECT"===e.tagName?(t=void 0,null==r?t=null:null==s[n]?t=e.querySelector("option[selected]"):Array.isArray(s[n])||("string"==typeof(i=s[n])&&(i=i.replace(/\"/g,'\\"')),t=e.querySelector('option[value="'+i+'"]')),null==t?(e.value="",e.selectedIndex=-1):t.selected=!0):null==r?e.classList.remove("ql-active"):e.hasAttribute("value")?(i=s[n]===e.getAttribute("value")||null!=s[n]&&s[n].toString()===e.getAttribute("value")||null==s[n]&&!e.getAttribute("value"),e.classList.toggle("ql-active",i)):e.classList.toggle("ql-active",null!=s[n])})}}]),n}(i.default);function f(e,t,i){var n=document.createElement("button");n.setAttribute("type","button"),n.classList.add("ql-"+t),null!=i&&(n.value=i),e.appendChild(n)}function p(t,e){(e=Array.isArray(e[0])?e:[e]).forEach(function(e){var o=document.createElement("span");o.classList.add("ql-formats"),e.forEach(function(e){var t,i,n,r,s;"string"==typeof e?f(o,e):(t=e[e=Object.keys(e)[0]],Array.isArray(t)?(i=o,n=e,r=t,(s=document.createElement("select")).classList.add("ql-"+n),r.forEach(function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),s.appendChild(t)}),i.appendChild(s)):f(o,e,t))}),t.appendChild(o)})}s.DEFAULTS={},s.DEFAULTS={container:null,handlers:{clean:function(){var e,t=this,i=this.quill.getSelection();null!=i&&(0==i.length?(e=this.quill.getFormat(),Object.keys(e).forEach(function(e){null!=u.default.query(e,u.default.Scope.INLINE)&&t.quill.format(e,!1)})):this.quill.removeFormat(i,d.default.sources.USER))},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",d.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,d.default.sources.USER),this.quill.format("direction",e,d.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),t=this.quill.getFormat(t),i=parseInt(t.indent||0);"+1"!==e&&"-1"!==e||(e="+1"===e?1:-1,"rtl"===t.direction&&(e*=-1),this.quill.format("indent",i+e,d.default.sources.USER))},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,d.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),t=this.quill.getFormat(t);"check"===e?"checked"===t.list||"unchecked"===t.list?this.quill.format("list",!1,d.default.sources.USER):this.quill.format("list","unchecked",d.default.sources.USER):this.quill.format("list",e,d.default.sources.USER)}}},t.default=s,t.addControls=p},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(28);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return e.label.innerHTML=t,e.container.classList.add("ql-color-picker"),[].slice.call(e.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(e){e.classList.add("ql-primary")}),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"buildItem",value:function(e){var t=s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"buildItem",this).call(this,e);return t.style.backgroundColor=e.getAttribute("value")||"",t}},{key:"selectItem",value:function(e,t){s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"selectItem",this).call(this,e,t);t=this.label.querySelector(".ql-color-label"),e=e&&e.getAttribute("data-value")||"";t&&("line"===t.tagName?t.style.stroke=e:t.style.fill=e)}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(28);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return e.container.classList.add("ql-icon-picker"),[].forEach.call(e.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=t[e.getAttribute("data-value")||""]}),e.defaultItem=e.container.querySelector(".ql-selected"),e.selectItem(e.defaultItem),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"selectItem",value:function(e,t){s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"selectItem",this).call(this,e,t),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);t.default=i},function(e,t,i){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){var i=this;if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){i.root.style.marginTop=-1*i.quill.root.scrollTop+"px"}),this.hide()}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(r,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,i=e.bottom+this.quill.root.scrollTop,n=(this.root.style.left=t+"px",this.root.style.top=i+"px",this.root.classList.remove("ql-flip"),this.boundsContainer.getBoundingClientRect()),r=this.root.getBoundingClientRect(),s=0;return r.right>n.right&&(s=n.right-r.right,this.root.style.left=t+s+"px"),r.left<n.left&&(s=n.left-r.left,this.root.style.left=t+s+"px"),r.bottom>n.bottom&&(t=r.bottom-r.top,n=e.bottom-e.top+t,this.root.style.top=i-n+"px",this.root.classList.add("ql-flip")),s}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var i=t,n=[],r=!0,t=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(e){t=!0,s=e}finally{try{!r&&a.return&&a.return()}finally{if(t)throw s}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=p(i(3)),l=p(i(8)),c=i(43),u=p(c),d=p(i(27)),h=i(15),f=p(i(41));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],i=(v(b,u.default),n(b,[{key:"extendToolbar",value:function(i){i.container.classList.add("ql-snow"),this.buildButtons([].slice.call(i.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(i.container.querySelectorAll("select")),f.default),this.tooltip=new _(this.quill,this.options.bounds),i.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,t){i.handlers.link.call(i,!t.format.link)})}}]),b);function b(e,t){m(this,b),null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=y);e=g(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e,t));return e.quill.container.classList.add("ql-snow"),e}i.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?null!=(e=this.quill.getSelection())&&0!=e.length&&(e=this.quill.getText(e),/^\S+@\S+\.\S+$/.test(e)&&0!==e.indexOf("mailto:")&&(e="mailto:"+e),this.quill.theme.tooltip.edit("link",e)):this.quill.format("link",!1)}}}}});v(x,c.BaseTooltip),n(x,[{key:"listen",value:function(){var r=this;s(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){r.root.classList.contains("ql-editing")?r.save():r.edit("link",r.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){var t;null!=r.linkRange&&(t=r.linkRange,r.restoreFocus(),r.quill.formatText(t,"link",!1,l.default.sources.USER),delete r.linkRange),e.preventDefault(),r.hide()}),this.quill.on(l.default.events.SELECTION_CHANGE,function(e,t,i){if(null!=e){if(0===e.length&&i===l.default.sources.USER){var i=r.quill.scroll.descendant(d.default,e.index),i=o(i,2),n=i[0],i=i[1];if(null!=n)return r.linkRange=new h.Range(e.index-i,n.length()),e=d.default.formats(n.domNode),r.preview.textContent=e,r.preview.setAttribute("href",e),r.show(),void r.position(r.quill.getBounds(r.linkRange))}else delete r.linkRange;r.hide()}})}},{key:"show",value:function(){s(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]);var _=x;function x(e,t){m(this,x);e=g(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,e,t));return e.preview=e.root.querySelector("a.ql-preview"),e}_.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=P(i(29)),r=i(36),s=i(38),o=i(64),a=P(i(65)),l=P(i(66)),c=i(67),u=P(c),d=i(37),h=i(26),f=i(39),p=i(40),m=P(i(56)),g=P(i(68)),v=P(i(27)),y=P(i(69)),b=P(i(70)),_=P(i(71)),x=P(i(72)),w=P(i(73)),k=i(13),S=P(k),M=P(i(74)),C=P(i(75)),L=P(i(57)),T=P(i(41)),D=P(i(28)),E=P(i(59)),A=P(i(60)),j=P(i(61)),O=P(i(108)),i=P(i(62));function P(e){return e&&e.__esModule?e:{default:e}}n.default.register({"attributors/attribute/direction":s.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":s.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":s.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),n.default.register({"formats/align":r.AlignClass,"formats/direction":s.DirectionClass,"formats/indent":o.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":p.SizeClass,"formats/blockquote":a.default,"formats/code-block":S.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":m.default,"formats/code":k.Code,"formats/italic":g.default,"formats/link":v.default,"formats/script":y.default,"formats/strike":b.default,"formats/underline":_.default,"formats/image":x.default,"formats/video":w.default,"formats/list/item":c.ListItem,"modules/formula":M.default,"modules/syntax":C.default,"modules/toolbar":L.default,"themes/bubble":O.default,"themes/snow":i.default,"ui/icons":T.default,"ui/picker":D.default,"ui/icon-picker":A.default,"ui/color-picker":E.default,"ui/tooltip":j.default},!0),t.default=n.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e};function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(0),i=(i=i)&&i.__esModule?i:{default:i};i=new(function(e){var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(n,[{key:"add",value:function(e,t){var i;return"+1"!==t&&"-1"!==t||(i=this.value(e)||0,t="+1"===t?i+1:i-1),0===t?(this.remove(e),!0):s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"add",this).call(this,e,t)}},{key:"canAdd",value:function(e,t){return s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"canAdd",this).call(this,e,t)||s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"canAdd",this).call(this,e,parseInt(t))}},{key:"value",value:function(e){return parseInt(s(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"value",this).call(this,e))||void 0}}]),n}(i.default.Attributor.Class))("indent","ql-indent",{scope:i.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=i(4);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="blockquote",i.tagName="blockquote",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=i(4);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=l(i(0)),a=l(i(4)),i=l(i(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}d(f,a.default),n(f,[{key:"format",value:function(e,t){e!==p.blotName||t?s(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"format",this).call(this,e,t):this.replaceWith(o.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():s(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,t){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,t),this):(this.parent.unwrap(),s(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replaceWith",this).call(this,e,t))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:s(f.__proto__||Object.getPrototypeOf(f),"formats",this).call(this,e)}}]);var h=f;function f(){return c(this,f),u(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}h.blotName="list-item",h.tagName="LI";d(m,i.default),n(m,null,[{key:"create",value:function(e){var t="ordered"===e?"OL":"UL",t=s(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,t);return"checked"!==e&&"unchecked"!==e||t.setAttribute("data-checked","checked"===e),t}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),n(m,[{key:"format",value:function(e,t){0<this.children.length&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,i=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e;var e,t,i}},{key:"insertBefore",value:function(e,t){e instanceof h?s(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"insertBefore",this).call(this,e,t):(t=null==t?this.length():t.offset(this),(t=this.split(t)).parent.insertBefore(e,t))}},{key:"optimize",value:function(e){s(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"optimize",this).call(this,e);e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(e){var t;e.statics.blotName!==this.statics.blotName&&(t=o.default.create(this.statics.defaultChild),e.moveChildren(t),this.appendChild(t)),s(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"replace",this).call(this,e)}}]);var p=m;function m(i){c(this,m);function e(e){var t;e.target.parentNode===i&&(t=n.statics.formats(i),e=o.default.find(e.target),"checked"===t?e.format("list","unchecked"):"unchecked"===t&&e.format("list","checked"))}var n=u(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,i));return i.addEventListener("touchstart",e),i.addEventListener("mousedown",e),n}p.blotName="list",p.scope=o.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[h],t.ListItem=h,t.default=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=i(56);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="italic",i.tagName=["EM","I"],t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var i=i(6);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):s(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="script",i.tagName=["SUB","SUP"],t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=i(6);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="strike",i.tagName="S",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=i(6);i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i}(((i=i)&&i.__esModule?i:{default:i}).default);i.blotName="underline",i.tagName="U",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=i(0),o=(o=o)&&o.__esModule?o:{default:o},a=i(27);var l=["alt","height","width"],i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"format",value:function(e,t){-1<l.indexOf(e)?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,e,t)}}],[{key:"create",value:function(e){var t=s(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,e);return"string"==typeof e&&t.setAttribute("src",this.sanitize(e)),t}},{key:"formats",value:function(i){return l.reduce(function(e,t){return i.hasAttribute(t)&&(e[t]=i.getAttribute(t)),e},{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,a.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),i}(o.default.Embed);i.blotName="image",i.tagName="IMG",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=i(4),i=i(27),a=(i=i)&&i.__esModule?i:{default:i};var l=["height","width"],i=function(e){var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");e=this,t=(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments);if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(i,[{key:"format",value:function(e,t){-1<l.indexOf(e)?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):s(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,e,t)}}],[{key:"create",value:function(e){var t=s(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen",!0),t.setAttribute("src",this.sanitize(e)),t}},{key:"formats",value:function(i){return l.reduce(function(e,t){return i.hasAttribute(t)&&(e[t]=i.getAttribute(t)),e},{})}},{key:"sanitize",value:function(e){return a.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),i}(o.BlockEmbed);i.blotName="video",i.className="ql-video",i.tagName="IFRAME",t.default=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=l(i(35)),a=l(i(5)),i=l(i(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}d(f,o.default),n(f,null,[{key:"create",value:function(e){var t=s(f.__proto__||Object.getPrototypeOf(f),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]);var h=f;function f(){return c(this,f),u(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";d(p,i.default),n(p,null,[{key:"register",value:function(){a.default.register(h,!0)}}]);o=p;function p(){c(this,p);var e=u(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}t.FormulaBlot=h,t.default=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var n=function(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e};function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return s(n,t,i)}var o=c(i(0)),a=c(i(5)),l=c(i(9));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}h(p,c(i(13)).default),n(p,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),s(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((0<t.trim().length||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]);var f=p;function p(){return u(this,p),d(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}f.className="ql-syntax";var m=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),i=(h(g,l.default),n(g,null,[{key:"register",value:function(){a.default.register(m,!0),a.default.register(f,!0)}}]),n(g,[{key:"highlight",value:function(){var e,t=this;this.quill.selection.composing||(this.quill.update(a.default.sources.USER),e=this.quill.getSelection(),this.quill.scroll.descendants(f).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(a.default.sources.SILENT),null!=e&&this.quill.setSelection(e,a.default.sources.SILENT))}}]),g);function g(e,t){u(this,g);var i=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,e,t));if("function"!=typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var n=null;return i.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(n),n=setTimeout(function(){i.highlight(),n=null},i.options.interval)}),i.highlight(),i}i.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=f,t.CodeToken=m,t.default=i},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;function r(e,t,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,t);if(void 0!==n){if("value"in n)return n.value;n=n.get;return void 0!==n?n.call(i):void 0}if(null!==(n=Object.getPrototypeOf(e)))return r(n,t,i)}var n=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e};function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=h(i(3)),a=h(i(8)),l=i(43),c=h(l),u=i(15),d=h(i(41));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],i=(m(v,c.default),n(v,[{key:"extendToolbar",value:function(e){this.tooltip=new y(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),d.default)}}]),v);function v(e,t){f(this,v),null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=g);e=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,e,t));return e.quill.container.classList.add("ql-bubble"),e}i.DEFAULTS=(0,o.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});m(b,l.BaseTooltip),n(b,[{key:"listen",value:function(){var t=this;r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){var e;t.root.classList.contains("ql-hidden")||null!=(e=t.quill.getSelection())&&t.position(t.quill.getBounds(e))},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var e=r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"position",this).call(this,e),t=this.root.querySelector(".ql-tooltip-arrow");if(t.style.marginLeft="",0===e)return e;t.style.marginLeft=-1*e-t.offsetWidth/2+"px"}}]);var y=b;function b(e,t){f(this,b);var r=p(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e,t));return r.quill.on(a.default.events.EDITOR_CHANGE,function(e,t,i,n){e===a.default.events.SELECTION_CHANGE&&(null!=t&&0<t.length&&n===a.default.sources.USER?(r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px",1===(e=r.quill.getLines(t.index,t.length)).length?r.position(r.quill.getBounds(t)):(n=e[e.length-1],e=r.quill.getIndex(n),n=Math.min(n.length()-1,t.index+t.length-e),t=r.quill.getBounds(new u.Range(e,n)),r.position(t))):document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide())}),r}y.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=y,t.default=i},function(e,t,i){e.exports=i(63)}],r={},n.m=i,n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109).default;function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r},t.exports=e()}.call(this,i("./node_modules/buffer/index.js").Buffer)},
vendor: 81,834 bytes, line 1
1"./node_modules/select2/dist/js/select2.full.js":function(n,e,t){var i;t=[t("./node_modules/jquery/src/jquery.js")],void 0!==(e="function"==typeof(i=function(i){var e=function(){if(i&&i.fn&&i.fn.select2&&i.fn.select2.amd)var t=i.fn.select2.amd;var t;(function(){if(!t||!t.requirejs){if(!t)t={};else r=t;var e,r,u;(function(f){var s,o,p,m,g={},v={},y={},b={},i=Object.prototype.hasOwnProperty,n=[].slice,_=/\.js$/;function x(e,t){return i.call(e,t)}function a(e,t){var i,n,r,s,o,a,l,c,u,d,h,f,p=t&&t.split("/"),m=y.map,g=m&&m["*"]||{};if(e){e=e.split("/");o=e.length-1;if(y.nodeIdCompat&&_.test(e[o]))e[o]=e[o].replace(_,"");if(e[0].charAt(0)==="."&&p){f=p.slice(0,p.length-1);e=f.concat(e)}for(u=0;u<e.length;u++){h=e[u];if(h==="."){e.splice(u,1);u-=1}else if(h==="..")if(u===0||u===1&&e[2]===".."||e[u-1]==="..")continue;else if(u>0){e.splice(u-1,2);u-=2}}e=e.join("/")}if((p||g)&&m){i=e.split("/");for(u=i.length;u>0;u-=1){n=i.slice(0,u).join("/");if(p)for(d=p.length;d>0;d-=1){r=m[p.slice(0,d).join("/")];if(r){r=r[n];if(r){s=r;a=u;break}}}if(s)break;if(!l&&g&&g[n]){l=g[n];c=u}}if(!s&&l){s=l;a=c}if(s){i.splice(0,a,s);e=i.join("/")}}return e}function w(t,i){return function(){var e=n.call(arguments,0);if(typeof e[0]!=="string"&&e.length===1)e.push(null);return o.apply(f,e.concat([t,i]))}}function l(t){return function(e){return a(e,t)}}function k(t){return function(e){g[t]=e}}function S(e){if(x(v,e)){var t=v[e];delete v[e];b[e]=true;s.apply(f,t)}if(!x(g,e)&&!x(b,e))throw new Error("No "+e);return g[e]}function c(e){var t,i=e?e.indexOf("!"):-1;if(i>-1){t=e.substring(0,i);e=e.substring(i+1,e.length)}return[t,e]}function M(e){return e?c(e):[]}p=function(e,t){var i,n=c(e),r=n[0],s=t[1];e=n[1];if(r){r=a(r,s);i=S(r)}if(r)if(i&&i.normalize)e=i.normalize(e,l(s));else e=a(e,s);else{e=a(e,s);n=c(e);r=n[0];e=n[1];if(r)i=S(r)}return{f:r?r+"!"+e:e,n:e,pr:r,p:i}};function t(e){return function(){return y&&y.config&&y.config[e]||{}}}m={require:function(e){return w(e)},exports:function(e){var t=g[e];if(typeof t!=="undefined")return t;else return g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:t(e)}}};s=function(e,t,i,n){var r,s,o,a,l,c,u=[],d=typeof i,h;n=n||e;c=M(n);if(d==="undefined"||d==="function"){t=!t.length&&i.length?["require","exports","module"]:t;for(l=0;l<t.length;l+=1){a=p(t[l],c);s=a.f;if(s==="require")u[l]=m.require(e);else if(s==="exports"){u[l]=m.exports(e);h=true}else if(s==="module")r=u[l]=m.module(e);else if(x(g,s)||x(v,s)||x(b,s))u[l]=S(s);else if(a.p){a.p.load(a.n,w(n,true),k(s),{});u[l]=g[s]}else throw new Error(e+" missing "+s)}o=i?i.apply(g[e],u):undefined;if(e)if(r&&r.exports!==f&&r.exports!==g[e])g[e]=r.exports;else if(o!==f||!h)g[e]=o}else if(e)g[e]=i};e=r=o=function(e,t,i,n,r){if(typeof e==="string"){if(m[e])return m[e](t);return S(p(e,M(t)).f)}else if(!e.splice){y=e;if(y.deps)o(y.deps,y.callback);if(!t)return;if(t.splice){e=t;t=i;i=null}else e=f}t=t||function(){};if(typeof i==="function"){i=n;n=r}if(n)s(f,e,t,i);else setTimeout(function(){s(f,e,t,i)},4);return o};o.config=function(e){return o(e)};e._defined=g;u=function(e,t,i){if(typeof e!=="string")throw new Error("See almond README: incorrect module build, no module name");if(!t.splice){i=t;t=[]}if(!x(g,e)&&!x(v,e))v[e]=[e,t,i]};u.amd={jQuery:true}})();t.requirejs=e;t.require=r;t.define=u}})();t.define("almond",function(){});t.define("jquery",[],function(){var e=i||$;if(e==null&&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.");return e});t.define("select2/utils",["jquery"],function(s){var r={};r.Extend=function(e,t){var i={}.hasOwnProperty;function n(){this.constructor=e}for(var r in t)if(i.call(t,r))e[r]=t[r];n.prototype=t.prototype;e.prototype=new n;e.__super__=t.prototype;return e};function d(e){var t=e.prototype;var i=[];for(var n in t){var r=t[n];if(typeof r!=="function")continue;if(n==="constructor")continue;i.push(n)}return i}r.Decorate=function(n,r){var e=d(r);var t=d(n);function s(){var e=Array.prototype.unshift;var t=r.prototype.constructor.length;var i=n.prototype.constructor;if(t>0){e.call(arguments,n.prototype.constructor);i=r.prototype.constructor}i.apply(this,arguments)}r.displayName=n.displayName;function i(){this.constructor=s}s.prototype=new i;for(var o=0;o<t.length;o++){var a=t[o];s.prototype[a]=n.prototype[a]}var l=function(e){var t=function(){};if(e in s.prototype)t=s.prototype[e];var i=r.prototype[e];return function(){var e=Array.prototype.unshift;e.call(arguments,t);return i.apply(this,arguments)}};for(var c=0;c<e.length;c++){var u=e[c];s.prototype[u]=l(u)}return s};var e=function(){this.listeners={}};e.prototype.on=function(e,t){this.listeners=this.listeners||{};if(e in this.listeners)this.listeners[e].push(t);else this.listeners[e]=[t]};e.prototype.trigger=function(e){var t=Array.prototype.slice;var i=t.call(arguments,1);this.listeners=this.listeners||{};if(i==null)i=[];if(i.length===0)i.push({});i[0]._type=e;if(e in this.listeners)this.invoke(this.listeners[e],t.call(arguments,1));if("*"in this.listeners)this.invoke(this.listeners["*"],arguments)};e.prototype.invoke=function(e,t){for(var i=0,n=e.length;i<n;i++)e[i].apply(this,t)};r.Observable=e;r.generateChars=function(e){var t="";for(var i=0;i<e;i++){var n=Math.floor(Math.random()*36);t+=n.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 i=t.split("-");var n=e;if(i.length===1)continue;for(var r=0;r<i.length;r++){var s=i[r];s=s.substring(0,1).toLowerCase()+s.substring(1);if(!(s in n))n[s]={};if(r==i.length-1)n[s]=e[t];n=n[s]}delete e[t]}return e};r.hasScroll=function(e,t){var i=s(t);var n=t.style.overflowX;var r=t.style.overflowY;if(n===r&&(r==="hidden"||r==="visible"))return false;if(n==="scroll"||r==="scroll")return true;return i.innerHeight()<t.scrollHeight||i.innerWidth()<t.scrollWidth};r.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};if(typeof e!=="string")return e;return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})};r.appendMany=function(e,t){if(s.fn.jquery.substr(0,3)==="1.7"){var i=s();s.map(t,function(e){i=i.add(e)});t=i}e.append(t)};r.__cache={};var i=0;r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");if(t==null)if(e.id){t=e.id;e.setAttribute("data-select2-id",t)}else{e.setAttribute("data-select2-id",++i);t=i.toString()}return t};r.StoreData=function(e,t,i){var n=r.GetUniqueElementId(e);if(!r.__cache[n])r.__cache[n]={};r.__cache[n][t]=i};r.GetData=function(e,t){var i=r.GetUniqueElementId(e);if(t){if(r.__cache[i]){if(r.__cache[i][t]!=null)return r.__cache[i][t];return s(e).data(t)}return s(e).data(t)}else return r.__cache[i]};r.RemoveData=function(e){var t=r.GetUniqueElementId(e);if(r.__cache[t]!=null)delete r.__cache[t];e.removeAttribute("data-select2-id")};return r});t.define("select2/results",["jquery","./utils"],function(p,m){function n(e,t,i){this.$element=e;this.data=i;this.options=t;n.__super__.constructor.call(this)}m.Extend(n,m.Observable);n.prototype.render=function(){var e=p('<ul class="select2-results__options" role="listbox"></ul>');if(this.options.get("multiple"))e.attr("aria-multiselectable","true");this.$results=e;return e};n.prototype.clear=function(){this.$results.empty()};n.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear();this.hideLoading();var i=p('<li role="alert" aria-live="assertive"'+' class="select2-results__option"></li>');var n=this.options.get("translations").get(e.message);i.append(t(n(e.args)));i[0].className+=" select2-results__message";this.$results.append(i)};n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()};n.prototype.append=function(e){this.hideLoading();var t=[];if(e.results==null||e.results.length===0){if(this.$results.children().length===0)this.trigger("results:message",{message:"noResults"});return}e.results=this.sort(e.results);for(var i=0;i<e.results.length;i++){var n=e.results[i];var r=this.option(n);t.push(r)}this.$results.append(t)};n.prototype.position=function(e,t){var i=t.find(".select2-results");i.append(e)};n.prototype.sort=function(e){var t=this.options.get("sorter");return t(e)};n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]");var t=e.filter("[aria-selected=true]");if(t.length>0)t.first().trigger("mouseenter");else e.first().trigger("mouseenter");this.ensureHighlightVisible()};n.prototype.setClasses=function(){var i=this;this.data.current(function(e){var n=p.map(e,function(e){return e.id.toString()});var t=i.$results.find(".select2-results__option[aria-selected]");t.each(function(){var e=p(this);var t=m.GetData(this,"data");var i=""+t.id;if(t.element!=null&&t.element.selected||t.element==null&&p.inArray(i,n)>-1)e.attr("aria-selected","true");else e.attr("aria-selected","false")})})};n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching");var i={disabled:true,loading:true,text:t(e)};var n=this.option(i);n.className+=" loading-results";this.$results.prepend(n)};n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()};n.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var i={role:"option","aria-selected":"false"};var n=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;if(e.element!=null&&n.call(e.element,":disabled")||e.element==null&&e.disabled){delete i["aria-selected"];i["aria-disabled"]="true"}if(e.id==null)delete i["aria-selected"];if(e._resultId!=null)t.id=e._resultId;if(e.title)t.title=e.title;if(e.children){i.role="group";i["aria-label"]=e.text;delete i["aria-selected"]}for(var r in i){var s=i[r];t.setAttribute(r,s)}if(e.children){var o=p(t);var a=document.createElement("strong");a.className="select2-results__group";var l=p(a);this.template(e,a);var c=[];for(var u=0;u<e.children.length;u++){var d=e.children[u];var h=this.option(d);c.push(h)}var f=p("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(c);o.append(a);o.append(f)}else this.template(e,t);m.StoreData(t,"data",e);return t};n.prototype.bind=function(t,e){var l=this;var i=t.id+"-results";this.$results.attr("id",i);t.on("results:all",function(e){l.clear();l.append(e.data);if(t.isOpen()){l.setClasses();l.highlightFirstItem()}});t.on("results:append",function(e){l.append(e.data);if(t.isOpen())l.setClasses()});t.on("query",function(e){l.hideMessages();l.showLoading(e)});t.on("select",function(){if(!t.isOpen())return;l.setClasses();if(l.options.get("scrollAfterSelect"))l.highlightFirstItem()});t.on("unselect",function(){if(!t.isOpen())return;l.setClasses();if(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();if(e.length===0)return;e.trigger("mouseup")});t.on("results:select",function(){var e=l.getHighlightedResults();if(e.length===0)return;var t=m.GetData(e[0],"data");if(e.attr("aria-selected")=="true")l.trigger("close",{});else l.trigger("select",{data:t})});t.on("results:previous",function(){var e=l.getHighlightedResults();var t=l.$results.find("[aria-selected]");var i=t.index(e);if(i<=0)return;var n=i-1;if(e.length===0)n=0;var r=t.eq(n);r.trigger("mouseenter");var s=l.$results.offset().top;var o=r.offset().top;var a=l.$results.scrollTop()+(o-s);if(n===0)l.$results.scrollTop(0);else if(o-s<0)l.$results.scrollTop(a)});t.on("results:next",function(){var e=l.getHighlightedResults();var t=l.$results.find("[aria-selected]");var i=t.index(e);var n=i+1;if(n>=t.length)return;var r=t.eq(n);r.trigger("mouseenter");var s=l.$results.offset().top+l.$results.outerHeight(false);var o=r.offset().top+r.outerHeight(false);var a=l.$results.scrollTop()+o-s;if(n===0)l.$results.scrollTop(0);else if(o>s)l.$results.scrollTop(a)});t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")});t.on("results:message",function(e){l.displayMessage(e)});if(p.fn.mousewheel)this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop();var i=l.$results.get(0).scrollHeight-t+e.deltaY;var n=e.deltaY>0&&t-e.deltaY<=0;var r=e.deltaY<0&&i<=l.$results.height();if(n){l.$results.scrollTop(0);e.preventDefault();e.stopPropagation()}else if(r){l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height());e.preventDefault();e.stopPropagation()}});this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=p(this);var i=m.GetData(this,"data");if(t.attr("aria-selected")==="true"){if(l.options.get("multiple"))l.trigger("unselect",{originalEvent:e,data:i});else l.trigger("close",{});return}l.trigger("select",{originalEvent:e,data:i})});this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=m.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted");l.trigger("results:focus",{data:t,element:p(this)})})};n.prototype.getHighlightedResults=function(){var e=this.$results.find(".select2-results__option--highlighted");return e};n.prototype.destroy=function(){this.$results.remove()};n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(e.length===0)return;var t=this.$results.find("[aria-selected]");var i=t.index(e);var n=this.$results.offset().top;var r=e.offset().top;var s=this.$results.scrollTop()+(r-n);var o=r-n;s-=e.outerHeight(false)*2;if(i<=2)this.$results.scrollTop(0);else if(o>this.$results.outerHeight()||o<0)this.$results.scrollTop(s)};n.prototype.template=function(e,t){var i=this.options.get("templateResult");var n=this.options.get("escapeMarkup");var r=i(e,t);if(r==null)t.style.display="none";else if(typeof r==="string")t.innerHTML=n(r);else p(t).append(r)};return n});t.define("select2/keys",[],function(){var e={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};return e});t.define("select2/selection/base",["jquery","../utils","../keys"],function(r,s,o){function i(e,t){this.$element=e;this.options=t;i.__super__.constructor.call(this)}s.Extend(i,s.Observable);i.prototype.render=function(){var e=r('<span class="select2-selection" role="combobox" '+' aria-haspopup="true" aria-expanded="false">'+"</span>");this._tabindex=0;if(s.GetData(this.$element[0],"old-tabindex")!=null)this._tabindex=s.GetData(this.$element[0],"old-tabindex");else if(this.$element.attr("tabindex")!=null)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;return e};i.prototype.bind=function(e,t){var i=this;var n=e.id+"-results";this.container=e;this.$selection.on("focus",function(e){i.trigger("focus",e)});this.$selection.on("blur",function(e){i._handleBlur(e)});this.$selection.on("keydown",function(e){i.trigger("keypress",e);if(e.which===o.SPACE)e.preventDefault()});e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)});e.on("selection:update",function(e){i.update(e.data)});e.on("open",function(){i.$selection.attr("aria-expanded","true");i.$selection.attr("aria-owns",n);i._attachCloseHandler(e)});e.on("close",function(){i.$selection.attr("aria-expanded","false");i.$selection.removeAttr("aria-activedescendant");i.$selection.removeAttr("aria-owns");i.$selection.trigger("focus");i._detachCloseHandler(e)});e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex);i.$selection.attr("aria-disabled","false")});e.on("disable",function(){i.$selection.attr("tabindex","-1");i.$selection.attr("aria-disabled","true")})};i.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){if(document.activeElement==t.$selection[0]||r.contains(t.$selection[0],document.activeElement))return;t.trigger("blur",e)},1)};i.prototype._attachCloseHandler=function(e){r(document.body).on("mousedown.select2."+e.id,function(e){var t=r(e.target);var i=t.closest(".select2");var n=r(".select2.select2-container--open");n.each(function(){if(this==i[0])return;var e=s.GetData(this,"element");e.select2("close")})})};i.prototype._detachCloseHandler=function(e){r(document.body).off("mousedown.select2."+e.id)};i.prototype.position=function(e,t){var i=t.find(".selection");i.append(e)};i.prototype.destroy=function(){this._detachCloseHandler(this.container)};i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")};i.prototype.isEnabled=function(){return!this.isDisabled()};i.prototype.isDisabled=function(){return this.options.get("disabled")};return i});t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,i,n){function r(){r.__super__.constructor.apply(this,arguments)}i.Extend(r,t);r.prototype.render=function(){var e=r.__super__.render.call(this);e.addClass("select2-selection--single");e.html('<span class="select2-selection__rendered"></span>'+'<span class="select2-selection__arrow" role="presentation">'+'<b role="presentation"></b>'+"</span>");return e};r.prototype.bind=function(t,e){var i=this;r.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true");this.$selection.attr("aria-labelledby",n);this.$selection.on("mousedown",function(e){if(e.which!==1)return;i.trigger("toggle",{originalEvent:e})});this.$selection.on("focus",function(e){});this.$selection.on("blur",function(e){});t.on("focus",function(e){if(!t.isOpen())i.$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 i=this.options.get("templateSelection");var n=this.options.get("escapeMarkup");return n(i(e,t))};r.prototype.selectionContainer=function(){return e("<span></span>")};r.prototype.update=function(e){if(e.length===0){this.clear();return}var t=e[0];var i=this.$selection.find(".select2-selection__rendered");var n=this.display(t,i);i.empty().append(n);var r=t.title||t.text;if(r)i.attr("title",r);else i.removeAttr("title")};return r});t.define("select2/selection/multiple",["jquery","./base","../utils"],function(s,e,l){function i(e,t){i.__super__.constructor.apply(this,arguments)}l.Extend(i,e);i.prototype.render=function(){var e=i.__super__.render.call(this);e.addClass("select2-selection--multiple");e.html('<ul class="select2-selection__rendered"></ul>');return e};i.prototype.bind=function(e,t){var r=this;i.__super__.bind.apply(this,arguments);this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})});this.$selection.on("click",".select2-selection__choice__remove",function(e){if(r.isDisabled())return;var t=s(this);var i=t.parent();var n=l.GetData(i[0],"data");r.trigger("unselect",{originalEvent:e,data:n})})};i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty();e.removeAttr("title")};i.prototype.display=function(e,t){var i=this.options.get("templateSelection");var n=this.options.get("escapeMarkup");return n(i(e,t))};i.prototype.selectionContainer=function(){var e=s('<li class="select2-selection__choice">'+'<span class="select2-selection__choice__remove" role="presentation">'+"&times;"+"</span>"+"</li>");return e};i.prototype.update=function(e){this.clear();if(e.length===0)return;var t=[];for(var i=0;i<e.length;i++){var n=e[i];var r=this.selectionContainer();var s=this.display(n,r);r.append(s);var o=n.title||n.text;if(o)r.attr("title",o);l.StoreData(r[0],"data",n);t.push(r)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)};return i});t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));e.call(this,t,i)}t.prototype.normalizePlaceholder=function(e,t){if(typeof t==="string")t={id:"",text:t};return t};t.prototype.createPlaceholder=function(e,t){var i=this.selectionContainer();i.html(this.display(t));i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice");return i};t.prototype.update=function(e,t){var i=t.length==1&&t[0].id!=this.placeholder.id;var n=t.length>1;if(n||i)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)};return t});t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,n,a){function e(){}e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);if(this.placeholder==null)if(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){n._handleClear(e)});t.on("keypress",function(e){n._handleKeyboardClear(e,t)})};e.prototype._handleClear=function(e,t){if(this.isDisabled())return;var i=this.$selection.find(".select2-selection__clear");if(i.length===0)return;t.stopPropagation();var n=a.GetData(i[0],"data");var r=this.$element.val();this.$element.val(this.placeholder.id);var s={data:n};this.trigger("clear",s);if(s.prevented){this.$element.val(r);return}for(var o=0;o<n.length;o++){s={data:n[o]};this.trigger("unselect",s);if(s.prevented){this.$element.val(r);return}}this.$element.trigger("input").trigger("change");this.trigger("toggle",{})};e.prototype._handleKeyboardClear=function(e,t,i){if(i.isOpen())return;if(t.which==n.DELETE||t.which==n.BACKSPACE)this._handleClear(t)};e.prototype.update=function(e,t){e.call(this,t);if(this.$selection.find(".select2-selection__placeholder").length>0||t.length===0)return;var i=this.options.get("translations").get("removeAllItems");var n=r('<span class="select2-selection__clear" title="'+i()+'">'+"&times;"+"</span>");a.StoreData(n[0],"data",t);this.$selection.find(".select2-selection__rendered").prepend(n)};return e});t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,a,l){function e(e,t,i){e.call(this,t,i)}e.prototype.render=function(e){var t=n('<li class="select2-search select2-search--inline">'+'<input class="select2-search__field" type="search" tabindex="-1"'+' autocomplete="off" autocorrect="off" autocapitalize="none"'+' spellcheck="false" role="searchbox" aria-autocomplete="list" />'+"</li>");this.$searchContainer=t;this.$search=t.find("input");var i=e.call(this);this._transferTabIndex();return i};e.prototype.bind=function(e,t,i){var r=this;var n=t.id+"-results";e.call(this,t,i);t.on("open",function(){r.$search.attr("aria-controls",n);r.$search.trigger("focus")});t.on("close",function(){r.$search.val("");r.$search.removeAttr("aria-controls");r.$search.removeAttr("aria-activedescendant");r.$search.trigger("focus")});t.on("enable",function(){r.$search.prop("disabled",false);r._transferTabIndex()});t.on("disable",function(){r.$search.prop("disabled",true)});t.on("focus",function(e){r.$search.trigger("focus")});t.on("results:focus",function(e){if(e.data._resultId)r.$search.attr("aria-activedescendant",e.data._resultId);else r.$search.removeAttr("aria-activedescendant")});this.$selection.on("focusin",".select2-search--inline",function(e){r.trigger("focus",e)});this.$selection.on("focusout",".select2-search--inline",function(e){r._handleBlur(e)});this.$selection.on("keydown",".select2-search--inline",function(e){e.stopPropagation();r.trigger("keypress",e);r._keyUpPrevented=e.isDefaultPrevented();var t=e.which;if(t===l.BACKSPACE&&r.$search.val()===""){var i=r.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var n=a.GetData(i[0],"data");r.searchRemoveChoice(n);e.preventDefault()}}});this.$selection.on("click",".select2-search--inline",function(e){if(r.$search.val())e.stopPropagation()});var s=document.documentMode;var o=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){if(o){r.$selection.off("input.search input.searchcheck");return}r.$selection.off("keyup.search")});this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(o&&e.type==="input"){r.$selection.off("input.search input.searchcheck");return}var t=e.which;if(t==l.SHIFT||t==l.CTRL||t==l.ALT)return;if(t==l.TAB)return;r.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 i=this.$search[0]==document.activeElement;this.$search.attr("placeholder","");e.call(this,t);this.$selection.find(".select2-selection__rendered").append(this.$searchContainer);this.resizeSearch();if(i)this.$search.trigger("focus")};e.prototype.handleSearch=function(){this.resizeSearch();if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=false};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="";if(this.$search.attr("placeholder")!=="")e=this.$selection.find(".select2-selection__rendered").width();else{var t=this.$search.val().length+1;e=t*.75+"em"}this.$search.css("width",e)};return e});t.define("select2/selection/eventRelay",["jquery"],function(o){function e(){}e.prototype.bind=function(e,t,i){var n=this;var r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"];var s=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,i);t.on("*",function(e,t){if(o.inArray(e,r)===-1)return;t=t||{};var i=o.Event("select2:"+e,{params:t});n.$element.trigger(i);if(o.inArray(e,s)===-1)return;t.prevented=i.isDefaultPrevented()})};return e});t.define("select2/translation",["jquery","require"],function(t,i){function n(e){this.dict=e||{}}n.prototype.all=function(){return this.dict};n.prototype.get=function(e){return this.dict[e]};n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)};n._cache={};n.loadPath=function(e){if(!(e in n._cache)){var t=i(e);n._cache[e]=t}return new n(n._cache[e])};return n});t.define("select2/diacritics",[],function(){var e={"Ⓐ":"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","Ɓ":"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","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"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","Ꝼ":"F","Ⓖ":"G","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","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","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","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","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","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","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","Ỿ":"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","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","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","ꝺ":"d","dz":"dz","dž":"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","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","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","ɥ":"h","ƕ":"hv","ⓘ":"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","ɉ":"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","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"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","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","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","ẛ":"s","ⓣ":"t","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","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"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","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"};return e});t.define("select2/data/base",["../utils"],function(n){function i(e,t){i.__super__.constructor.call(this)}n.Extend(i,n.Observable);i.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")};i.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")};i.prototype.bind=function(e,t){};i.prototype.destroy=function(){};i.prototype.generateResultId=function(e,t){var i=e.id+"-result-";i+=n.generateChars(4);if(t.id!=null)i+="-"+t.id.toString();else i+="-"+n.generateChars(4);return i};return i});t.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function i(e,t){this.$element=e;this.options=t;i.__super__.constructor.call(this)}a.Extend(i,e);i.prototype.current=function(e){var i=[];var n=this;this.$element.find(":selected").each(function(){var e=l(this);var t=n.item(e);i.push(t)});e(i)};i.prototype.select=function(r){var s=this;r.selected=true;if(l(r.element).is("option")){r.element.selected=true;this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple"))this.current(function(e){var t=[];r=[r];r.push.apply(r,e);for(var i=0;i<r.length;i++){var n=r[i].id;if(l.inArray(n,t)===-1)t.push(n)}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")}};i.prototype.unselect=function(r){var s=this;if(!this.$element.prop("multiple"))return;r.selected=false;if(l(r.element).is("option")){r.element.selected=false;this.$element.trigger("input").trigger("change");return}this.current(function(e){var t=[];for(var i=0;i<e.length;i++){var n=e[i].id;if(n!==r.id&&l.inArray(n,t)===-1)t.push(n)}s.$element.val(t);s.$element.trigger("input").trigger("change")})};i.prototype.bind=function(e,t){var i=this;this.container=e;e.on("select",function(e){i.select(e.data)});e.on("unselect",function(e){i.unselect(e.data)})};i.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})};i.prototype.query=function(n,e){var r=[];var s=this;var t=this.$element.children();t.each(function(){var e=l(this);if(!e.is("option")&&!e.is("optgroup"))return;var t=s.item(e);var i=s.matches(n,t);if(i!==null)r.push(i)});e({results:r})};i.prototype.addOptions=function(e){a.appendMany(this.$element,e)};i.prototype.option=function(e){var t;if(e.children){t=document.createElement("optgroup");t.label=e.text}else{t=document.createElement("option");if(t.textContent!==undefined)t.textContent=e.text;else t.innerText=e.text}if(e.id!==undefined)t.value=e.id;if(e.disabled)t.disabled=true;if(e.selected)t.selected=true;if(e.title)t.title=e.title;var i=l(t);var n=this._normalizeItem(e);n.element=t;a.StoreData(t,"data",n);return i};i.prototype.item=function(e){var t={};t=a.GetData(e[0],"data");if(t!=null)return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};var i=e.children("option");var n=[];for(var r=0;r<i.length;r++){var s=l(i[r]);var o=this.item(s);n.push(o)}t.children=n}t=this._normalizeItem(t);t.element=e[0];a.StoreData(e[0],"data",t);return t};i.prototype._normalizeItem=function(e){if(e!==Object(e))e={id:e,text:e};e=l.extend({},{text:""},e);var t={selected:false,disabled:false};if(e.id!=null)e.id=e.id.toString();if(e.text!=null)e.text=e.text.toString();if(e._resultId==null&&e.id&&this.container!=null)e._resultId=this.generateResultId(this.container,e);return l.extend({},t,e)};i.prototype.matches=function(e,t){var i=this.options.get("matcher");return i(e,t)};return i});t.define("select2/data/array",["./select","../utils","jquery"],function(e,p,m){function n(e,t){this._dataToConvert=t.get("data")||[];n.__super__.constructor.call(this,e,t)}p.Extend(n,e);n.prototype.bind=function(e,t){n.__super__.bind.call(this,e,t);this.addOptions(this.convertToOptions(this._dataToConvert))};n.prototype.select=function(i){var e=this.$element.find("option").filter(function(e,t){return t.value==i.id.toString()});if(e.length===0){e=this.option(i);this.addOptions(e)}n.__super__.select.call(this,i)};n.prototype.convertToOptions=function(e){var t=this;var i=this.$element.find("option");var n=i.map(function(){return t.item(m(this)).id}).get();var r=[];function s(e){return function(){return m(this).val()==e.id}}for(var o=0;o<e.length;o++){var a=this._normalizeItem(e[o]);if(m.inArray(a.id,n)>=0){var l=i.filter(s(a));var c=this.item(l);var u=m.extend(true,{},a,c);var d=this.option(u);l.replaceWith(d);continue}var h=this.option(a);if(a.children){var f=this.convertToOptions(a.children);p.appendMany(h,f)}r.push(h)}return r};return n});t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax"));if(this.ajaxOptions.processResults!=null)this.processResults=this.ajaxOptions.processResults;i.__super__.constructor.call(this,e,t)}t.Extend(i,e);i.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,i){var n=o.ajax(e);n.then(t);n.fail(i);return n}};return o.extend({},t,e,true)};i.prototype.processResults=function(e){return e};i.prototype.query=function(i,n){var e=[];var r=this;if(this._request!=null){if(o.isFunction(this._request.abort))this._request.abort();this._request=null}var t=o.extend({type:"GET"},this.ajaxOptions);if(typeof t.url==="function")t.url=t.url.call(this.$element,i);if(typeof t.data==="function")t.data=t.data.call(this.$element,i);function s(){var e=t.transport(t,function(e){var t=r.processResults(e,i);if(r.options.get("debug")&&window.console&&console.error)if(!t||!t.results||!o.isArray(t.results))console.error("Select2: The AJAX results did not return an array in the "+"`results` key of the response.");n(t)},function(){if("status"in e&&(e.status===0||e.status==="0"))return;r.trigger("results:message",{message:"errorLoading"})});r._request=e}if(this.ajaxOptions.delay&&i.term!=null){if(this._queryTimeout)window.clearTimeout(this._queryTimeout);this._queryTimeout=window.setTimeout(s,this.ajaxOptions.delay)}else s()};return i});t.define("select2/data/tags",["jquery"],function(u){function e(e,t,i){var n=i.get("tags");var r=i.get("createTag");if(r!==undefined)this.createTag=r;var s=i.get("insertTag");if(s!==undefined)this.insertTag=s;e.call(this,t,i);if(u.isArray(n))for(var o=0;o<n.length;o++){var a=n[o];var l=this._normalizeItem(a);var c=this.option(l);this.$element.append(c)}}e.prototype.query=function(e,d,h){var f=this;this._removeOldTags();if(d.term==null||d.page!=null){e.call(this,d,h);return}function p(e,t){var i=e.results;for(var n=0;n<i.length;n++){var r=i[n];var s=r.children!=null&&!p({results:r.children},true);var o=(r.text||"").toUpperCase();var a=(d.term||"").toUpperCase();var l=o===a;if(l||s){if(t)return false;e.data=i;h(e);return}}if(t)return true;var c=f.createTag(d);if(c!=null){var u=f.option(c);u.attr("data-select2-tag",true);f.addOptions([u]);f.insertTag(i,c)}e.results=i;h(e)}e.call(this,d,p)};e.prototype.createTag=function(e,t){var i=u.trim(t.term);if(i==="")return null;return{id:i,text:i}};e.prototype.insertTag=function(e,t,i){t.unshift(i)};e.prototype._removeOldTags=function(e){var t=this.$element.find("option[data-select2-tag]");t.each(function(){if(this.selected)return;u(this).remove()})};return e});t.define("select2/data/tokenizer",["jquery"],function(h){function e(e,t,i){var n=i.get("tokenizer");if(n!==undefined)this.tokenizer=n;e.call(this,t,i)}e.prototype.bind=function(e,t,i){e.call(this,t,i);this.$search=t.dropdown.$search||t.selection.$search||i.find(".select2-search__field")};e.prototype.query=function(e,t,i){var r=this;function n(e){var t=r._normalizeItem(e);var i=r.$element.find("option").filter(function(){return h(this).val()===t.id});if(!i.length){var n=r.option(t);n.attr("data-select2-tag",true);r._removeOldTags();r.addOptions([n])}s(t)}function s(e){r.trigger("select",{data:e})}t.term=t.term||"";var o=this.tokenizer(t,this.options,n);if(o.term!==t.term){if(this.$search.length){this.$search.val(o.term);this.$search.trigger("focus")}t.term=o.term}e.call(this,t,i)};e.prototype.tokenizer=function(e,t,i,n){var r=i.get("tokenSeparators")||[];var s=t.term;var o=0;var a=this.createTag||function(e){return{id:e.term,text:e.term}};while(o<s.length){var l=s[o];if(h.inArray(l,r)===-1){o++;continue}var c=s.substr(0,o);var u=h.extend({},t,{term:c});var d=a(u);if(d==null){o++;continue}n(d);s=s.substr(o+1)||"";o=0}return{term:s}};return e});t.define("select2/data/minimumInputLength",[],function(){function e(e,t,i){this.minimumInputLength=i.get("minimumInputLength");e.call(this,t,i)}e.prototype.query=function(e,t,i){t.term=t.term||"";if(t.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}});return}e.call(this,t,i)};return e});t.define("select2/data/maximumInputLength",[],function(){function e(e,t,i){this.maximumInputLength=i.get("maximumInputLength");e.call(this,t,i)}e.prototype.query=function(e,t,i){t.term=t.term||"";if(this.maximumInputLength>0&&t.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}e.call(this,t,i)};return e});t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,i){this.maximumSelectionLength=i.get("maximumSelectionLength");e.call(this,t,i)}e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);t.on("select",function(){n._checkIfMaximumSelected()})};e.prototype.query=function(e,t,i){var n=this;this._checkIfMaximumSelected(function(){e.call(n,t,i)})};e.prototype._checkIfMaximumSelected=function(e,i){var n=this;this.current(function(e){var t=e!=null?e.length:0;if(n.maximumSelectionLength>0&&t>=n.maximumSelectionLength){n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}});return}if(i)i()})};return e});t.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(e,t){this.$element=e;this.options=t;i.__super__.constructor.call(this)}e.Extend(i,e.Observable);i.prototype.render=function(){var e=t('<span class="select2-dropdown">'+'<span class="select2-results"></span>'+"</span>");e.attr("dir",this.options.get("dir"));this.$dropdown=e;return e};i.prototype.bind=function(){};i.prototype.position=function(e,t){};i.prototype.destroy=function(){this.$dropdown.remove()};return i});t.define("select2/dropdown/search",["jquery","../utils"],function(s,e){function t(){}t.prototype.render=function(e){var t=e.call(this);var i=s('<span class="select2-search select2-search--dropdown">'+'<input class="select2-search__field" type="search" tabindex="-1"'+' autocomplete="off" autocorrect="off" autocapitalize="none"'+' spellcheck="false" role="searchbox" aria-autocomplete="list" />'+"</span>");this.$searchContainer=i;this.$search=i.find("input");t.prepend(i);return t};t.prototype.bind=function(e,t,i){var n=this;var r=t.id+"-results";e.call(this,t,i);this.$search.on("keydown",function(e){n.trigger("keypress",e);n._keyUpPrevented=e.isDefaultPrevented()});this.$search.on("input",function(e){s(this).off("keyup")});this.$search.on("keyup input",function(e){n.handleSearch(e)});t.on("open",function(){n.$search.attr("tabindex",0);n.$search.attr("aria-controls",r);n.$search.trigger("focus");window.setTimeout(function(){n.$search.trigger("focus")},0)});t.on("close",function(){n.$search.attr("tabindex",-1);n.$search.removeAttr("aria-controls");n.$search.removeAttr("aria-activedescendant");n.$search.val("");n.$search.trigger("blur")});t.on("focus",function(){if(!t.isOpen())n.$search.trigger("focus")});t.on("results:all",function(e){if(e.query.term==null||e.query.term===""){var t=n.showSearch(e);if(t)n.$searchContainer.removeClass("select2-search--hide");else n.$searchContainer.addClass("select2-search--hide")}});t.on("results:focus",function(e){if(e.data._resultId)n.$search.attr("aria-activedescendant",e.data._resultId);else n.$search.removeAttr("aria-activedescendant")})};t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=false};t.prototype.showSearch=function(e,t){return true};return t});t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));e.call(this,t,i,n)}e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results);e.call(this,t)};e.prototype.normalizePlaceholder=function(e,t){if(typeof t==="string")t={id:"",text:t};return t};e.prototype.removePlaceholder=function(e,t){var i=t.slice(0);for(var n=t.length-1;n>=0;n--){var r=t[n];if(this.placeholder.id===r.id)i.splice(n,1)}return i};return e});t.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,i,n){this.lastParams={};e.call(this,t,i,n);this.$loadingMore=this.createLoadingMore();this.loading=false}e.prototype.append=function(e,t){this.$loadingMore.remove();this.loading=false;e.call(this,t);if(this.showLoadingMore(t)){this.$results.append(this.$loadingMore);this.loadMoreIfNeeded()}};e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);t.on("query",function(e){n.lastParams=e;n.loading=true});t.on("query:append",function(e){n.lastParams=e;n.loading=true});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)return;var t=this.$results.offset().top+this.$results.outerHeight(false);var i=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(false);if(t+50>=i)this.loadMore()};e.prototype.loadMore=function(){this.loading=true;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>');var t=this.options.get("translations").get("loadingMore");e.html(t(this.lastParams));return e};return e});t.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,i){this.$dropdownParent=f(i.get("dropdownParent")||document.body);e.call(this,t,i)}e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);t.on("open",function(){n._showDropdown();n._attachPositioningHandler(t);n._bindContainerResultHandlers(t)});t.on("close",function(){n._hideDropdown();n._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,i){t.attr("class",i.attr("class"));t.removeClass("select2");t.addClass("select2-container--open");t.css({position:"absolute",top:-999999});this.$container=i};e.prototype.render=function(e){var t=f("<span></span>");var i=e.call(this);t.append(i);this.$dropdownContainer=t;return t};e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()};e.prototype._bindContainerResultHandlers=function(e,t){if(this._containerResultsHandlersBound)return;var i=this;t.on("results:all",function(){i._positionDropdown();i._resizeDropdown()});t.on("results:append",function(){i._positionDropdown();i._resizeDropdown()});t.on("results:message",function(){i._positionDropdown();i._resizeDropdown()});t.on("select",function(){i._positionDropdown();i._resizeDropdown()});t.on("unselect",function(){i._positionDropdown();i._resizeDropdown()});this._containerResultsHandlersBound=true};e.prototype._attachPositioningHandler=function(e,t){var i=this;var n="scroll.select2."+t.id;var r="resize.select2."+t.id;var s="orientationchange.select2."+t.id;var 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(n,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)});f(window).on(n+" "+r+" "+s,function(e){i._positionDropdown();i._resizeDropdown()})};e.prototype._detachPositioningHandler=function(e,t){var i="scroll.select2."+t.id;var n="resize.select2."+t.id;var r="orientationchange.select2."+t.id;var s=this.$container.parents().filter(a.hasScroll);s.off(i);f(window).off(i+" "+n+" "+r)};e.prototype._positionDropdown=function(){var e=f(window);var t=this.$dropdown.hasClass("select2-dropdown--above");var i=this.$dropdown.hasClass("select2-dropdown--below");var n=null;var r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(false);var s={height:this.$container.outerHeight(false)};s.top=r.top;s.bottom=r.top+s.height;var o={height:this.$dropdown.outerHeight(false)};var a={top:e.scrollTop(),bottom:e.scrollTop()+e.height()};var l=a.top<r.top-o.height;var c=a.bottom>r.bottom+o.height;var u={left:r.left,top:s.bottom};var d=this.$dropdownParent;if(d.css("position")==="static")d=d.offsetParent();var h={top:0,left:0};if(f.contains(document.body,d[0])||d[0].isConnected)h=d.offset();u.top-=h.top;u.left-=h.left;if(!t&&!i)n="below";if(!c&&l&&!t)n="above";else if(!l&&c&&t)n="below";if(n=="above"||t&&n!=="below")u.top=s.top-h.top-o.height;if(n!=null){this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+n);this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+n)}this.$dropdownContainer.css(u)};e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(false)+"px"};if(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()};return e});t.define("select2/dropdown/minimumResultsForSearch",[],function(){function r(e){var t=0;for(var i=0;i<e.length;i++){var n=e[i];if(n.children)t+=r(n.children);else t++}return t}function e(e,t,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch");if(this.minimumResultsForSearch<0)this.minimumResultsForSearch=Infinity;e.call(this,t,i,n)}e.prototype.showSearch=function(e,t){if(r(t.data.results)<this.minimumResultsForSearch)return false;return e.call(this,t)};return e});t.define("select2/dropdown/selectOnClose",["../utils"],function(s){function e(){}e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);t.on("close",function(e){n._handleSelectOnClose(e)})};e.prototype._handleSelectOnClose=function(e,t){if(t&&t.originalSelect2Event!=null){var i=t.originalSelect2Event;if(i._type==="select"||i._type==="unselect")return}var n=this.getHighlightedResults();if(n.length<1)return;var r=s.GetData(n[0],"data");if(r.element!=null&&r.element.selected||r.element==null&&r.selected)return;this.trigger("select",{data:r})};return e});t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i);t.on("select",function(e){n._selectTriggered(e)});t.on("unselect",function(e){n._selectTriggered(e)})};e.prototype._selectTriggered=function(e,t){var i=t.originalEvent;if(i&&(i.ctrlKey||i.metaKey))return;this.trigger("close",{originalEvent:i,originalSelect2Event:t})};return e});t.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;var i="Please delete "+t+" character";if(t!=1)i+="s";return i},inputTooShort:function(e){var t=e.minimum-e.input.length;var i="Please enter "+t+" or more characters";return i},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";if(e.maximum!=1)t+="s";return t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}});t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./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","./i18n/en"],function(u,c,d,h,f,p,m,g,v,y,o,i,b,_,x,w,k,S,M,C,L,T,D,E,A,j,O,P,e){function t(){this.reset()}t.prototype.apply=function(e){e=u.extend(true,{},this.defaults,e);if(e.dataAdapter==null){if(e.ajax!=null)e.dataAdapter=x;else if(e.data!=null)e.dataAdapter=_;else e.dataAdapter=b;if(e.minimumInputLength>0)e.dataAdapter=y.Decorate(e.dataAdapter,S);if(e.maximumInputLength>0)e.dataAdapter=y.Decorate(e.dataAdapter,M);if(e.maximumSelectionLength>0)e.dataAdapter=y.Decorate(e.dataAdapter,C);if(e.tags)e.dataAdapter=y.Decorate(e.dataAdapter,w);if(e.tokenSeparators!=null||e.tokenizer!=null)e.dataAdapter=y.Decorate(e.dataAdapter,k);if(e.query!=null){var t=c(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(e.initSelection!=null){var i=c(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,i)}}if(e.resultsAdapter==null){e.resultsAdapter=d;if(e.ajax!=null)e.resultsAdapter=y.Decorate(e.resultsAdapter,E);if(e.placeholder!=null)e.resultsAdapter=y.Decorate(e.resultsAdapter,D);if(e.selectOnClose)e.resultsAdapter=y.Decorate(e.resultsAdapter,O)}if(e.dropdownAdapter==null){if(e.multiple)e.dropdownAdapter=L;else{var n=y.Decorate(L,T);e.dropdownAdapter=n}if(e.minimumResultsForSearch!==0)e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j);if(e.closeOnSelect)e.dropdownAdapter=y.Decorate(e.dropdownAdapter,P);if(e.dropdownCssClass!=null||e.dropdownCss!=null||e.adaptDropdownCssClass!=null){var r=c(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,A)}if(e.selectionAdapter==null){if(e.multiple)e.selectionAdapter=f;else e.selectionAdapter=h;if(e.placeholder!=null)e.selectionAdapter=y.Decorate(e.selectionAdapter,p);if(e.allowClear)e.selectionAdapter=y.Decorate(e.selectionAdapter,m);if(e.multiple)e.selectionAdapter=y.Decorate(e.selectionAdapter,g);if(e.containerCssClass!=null||e.containerCss!=null||e.adaptContainerCssClass!=null){var s=c(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,s)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language);e.language.push("en");var o=[];for(var a=0;a<e.language.length;a++){var l=e.language[a];if(o.indexOf(l)===-1)o.push(l)}e.language=o;e.translations=this._processTranslations(e.language,e.debug);return e};t.prototype.reset=function(){function l(e){function t(e){return i[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function c(e,t){if(u.trim(e.term)==="")return t;if(t.children&&t.children.length>0){var i=u.extend(true,{},t);for(var n=t.children.length-1;n>=0;n--){var r=t.children[n];var s=c(e,r);if(s==null)i.children.splice(n,1)}if(i.children.length>0)return i;return c(e,i)}var o=l(t.text).toUpperCase();var a=l(e.term).toUpperCase();if(o.indexOf(a)>-1)return t;return null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:true,debug:false,dropdownAutoWidth:false,escapeMarkup:y.escapeMarkup,language:{},matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:false,scrollAfterSelect:false,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}};t.prototype.applyFromElement=function(e,t){var i=e.language;var n=this.defaults.language;var r=t.prop("lang");var s=t.closest("[lang]").prop("lang");var o=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(s));e.language=o;return e};t.prototype._resolveLanguage=function(e){if(!e)return[];if(u.isEmptyObject(e))return[];if(u.isPlainObject(e))return[e];var t;if(!u.isArray(e))t=[e];else t=e;var i=[];for(var n=0;n<t.length;n++){i.push(t[n]);if(typeof t[n]==="string"&&t[n].indexOf("-")>0){var r=t[n].split("-");var s=r[0];i.push(s)}}return i};t.prototype._processTranslations=function(e,t){var i=new o;for(var n=0;n<e.length;n++){var r=new o;var s=e[n];if(typeof s==="string")try{r=o.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s;r=o.loadPath(s)}catch(e){if(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 if(u.isPlainObject(s))r=new o(s);else r=s;i.extend(r)}return i};t.prototype.set=function(e,t){var i=u.camelCase(e);var n={};n[i]=t;var r=y._convertData(n);u.extend(true,this.defaults,r)};var n=new t;return n});t.define("select2/options",["require","jquery","./defaults","./utils"],function(n,h,r,f){function e(e,t){this.options=e;if(t!=null)this.fromElement(t);if(t!=null)this.options=r.applyFromElement(this.options,t);this.options=r.apply(this.options);if(t&&t.is("input")){var i=n(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=f.Decorate(this.options.dataAdapter,i)}}e.prototype.fromElement=function(e){var t=["select2"];if(this.options.multiple==null)this.options.multiple=e.prop("multiple");if(this.options.disabled==null)this.options.disabled=e.prop("disabled");if(this.options.dir==null)if(e.prop("dir"))this.options.dir=e.prop("dir");else if(e.closest("[dir]").prop("dir"))this.options.dir=e.closest("[dir]").prop("dir");else this.options.dir="ltr";e.prop("disabled",this.options.disabled);e.prop("multiple",this.options.multiple);if(f.GetData(e[0],"select2Tags")){if(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.");f.StoreData(e[0],"data",f.GetData(e[0],"select2Tags"));f.StoreData(e[0],"tags",true)}if(f.GetData(e[0],"ajaxUrl")){if(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",f.GetData(e[0],"ajaxUrl"));f.StoreData(e[0],"ajax-Url",f.GetData(e[0],"ajaxUrl"))}var i={};function n(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var s=e[0].attributes[r].name;var o="data-";if(s.substr(0,o.length)==o){var a=s.substring(o.length);var l=f.GetData(e[0],a);var c=a.replace(/-([a-z])/g,n);i[c]=l}}if(h.fn.jquery&&h.fn.jquery.substr(0,2)=="1."&&e[0].dataset)i=h.extend(true,{},e[0].dataset,i);var u=h.extend(true,{},f.GetData(e[0]),i);u=f._convertData(u);for(var d in u){if(h.inArray(d,t)>-1)continue;if(h.isPlainObject(this.options[d]))h.extend(this.options[d],u[d]);else this.options[d]=u[d]}return this};e.prototype.get=function(e){return this.options[e]};e.prototype.set=function(e,t){this.options[e]=t};return e});t.define("select2/core",["jquery","./options","./utils","./keys"],function(o,c,u,n){var d=function(e,t){if(u.GetData(e[0],"select2")!=null)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 i=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",i);e.attr("tabindex","-1");var n=this.options.get("dataAdapter");this.dataAdapter=new n(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.addClass("select2-hidden-accessible");e.attr("aria-hidden","true");this._syncAttributes();u.StoreData(e[0],"select2",this);e.data("select2",this)};u.Extend(d,u.Observable);d.prototype._generateId=function(e){var t="";if(e.attr("id")!=null)t=e.attr("id");else if(e.attr("name")!=null)t=e.attr("name")+"-"+u.generateChars(2);else t=u.generateChars(4);t=t.replace(/(:|\.|\[|\]|,)/g,"");t="select2-"+t;return t};d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));if(t!=null)e.css("width",t)};d.prototype._resolveWidth=function(e,t){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(t=="resolve"){var n=this._resolveWidth(e,"style");if(n!=null)return n;return this._resolveWidth(e,"element")}if(t=="element"){var r=e.outerWidth(false);if(r<=0)return"auto";return r+"px"}if(t=="style"){var s=e.attr("style");if(typeof s!=="string")return null;var o=s.split(";");for(var a=0,l=o.length;a<l;a=a+1){var c=o[a].replace(/\s/g,"");var u=c.match(i);if(u!==null&&u.length>=1)return u[1]}return null}if(t=="computedstyle"){var d=window.getComputedStyle(e[0]);return d.width}return t};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);if(this.$element[0].attachEvent)this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(e!=null){this._observer=new e(function(e){t._syncA();t._syncS(null,e)});this._observer.observe(this.$element[0],{attributes:true,childList:true,subtree:false})}else if(this.$element[0].addEventListener){this.$element[0].addEventListener("DOMAttrModified",t._syncA,false);this.$element[0].addEventListener("DOMNodeInserted",t._syncS,false);this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,false)}};d.prototype._registerDataEvents=function(){var i=this;this.dataAdapter.on("*",function(e,t){i.trigger(e,t)})};d.prototype._registerSelectionEvents=function(){var i=this;var n=["toggle","focus"];this.selection.on("toggle",function(){i.toggleDropdown()});this.selection.on("focus",function(e){i.focus(e)});this.selection.on("*",function(e,t){if(o.inArray(e,n)!==-1)return;i.trigger(e,t)})};d.prototype._registerDropdownEvents=function(){var i=this;this.dropdown.on("*",function(e,t){i.trigger(e,t)})};d.prototype._registerResultsEvents=function(){var i=this;this.results.on("*",function(e,t){i.trigger(e,t)})};d.prototype._registerEvents=function(){var i=this;this.on("open",function(){i.$container.addClass("select2-container--open")});this.on("close",function(){i.$container.removeClass("select2-container--open")});this.on("enable",function(){i.$container.removeClass("select2-container--disabled")});this.on("disable",function(){i.$container.addClass("select2-container--disabled")});this.on("blur",function(){i.$container.removeClass("select2-container--focus")});this.on("query",function(t){if(!i.isOpen())i.trigger("open",{});this.dataAdapter.query(t,function(e){i.trigger("results:all",{data:e,query:t})})});this.on("query:append",function(t){this.dataAdapter.query(t,function(e){i.trigger("results:append",{data:e,query:t})})});this.on("keypress",function(e){var t=e.which;if(i.isOpen()){if(t===n.ESC||t===n.TAB||t===n.UP&&e.altKey){i.close(e);e.preventDefault()}else if(t===n.ENTER){i.trigger("results:select",{});e.preventDefault()}else if(t===n.SPACE&&e.ctrlKey){i.trigger("results:toggle",{});e.preventDefault()}else if(t===n.UP){i.trigger("results:previous",{});e.preventDefault()}else if(t===n.DOWN){i.trigger("results:next",{});e.preventDefault()}}else if(t===n.ENTER||t===n.SPACE||t===n.DOWN&&e.altKey){i.open();e.preventDefault()}})};d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled"));if(this.isDisabled()){if(this.isOpen())this.close();this.trigger("disable",{})}else this.trigger("enable",{})};d.prototype._isChangeMutation=function(e,t){var i=false;var n=this;if(e&&e.target&&(e.target.nodeName!=="OPTION"&&e.target.nodeName!=="OPTGROUP"))return;if(!t)i=true;else if(t.addedNodes&&t.addedNodes.length>0)for(var r=0;r<t.addedNodes.length;r++){var s=t.addedNodes[r];if(s.selected)i=true}else if(t.removedNodes&&t.removedNodes.length>0)i=true;else if(o.isArray(t))o.each(t,function(e,t){if(n._isChangeMutation(e,t)){i=true;return false}});return i};d.prototype._syncSubtree=function(e,t){var i=this._isChangeMutation(e,t);var n=this;if(i)this.dataAdapter.current(function(e){n.trigger("selection:update",{data:e})})};d.prototype.trigger=function(e,t){var i=d.__super__.trigger;var n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(t===undefined)t={};if(e in n){var r=n[e];var s={prevented:false,name:e,args:t};i.call(this,r,s);if(s.prevented){t.prevented=true;return}}i.call(this,e,t)};d.prototype.toggleDropdown=function(){if(this.isDisabled())return;if(this.isOpen())this.close();else this.open()};d.prototype.open=function(){if(this.isOpen())return;if(this.isDisabled())return;this.trigger("query",{})};d.prototype.close=function(e){if(!this.isOpen())return;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.hasClass("select2-container--open")};d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")};d.prototype.focus=function(e){if(this.hasFocus())return;this.$container.addClass("select2-container--focus");this.trigger("focus",{})};d.prototype.enable=function(e){if(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.");if(e==null||e.length===0)e=[true];var t=!e[0];this.$element.prop("disabled",t)};d.prototype.data=function(){if(this.options.get("debug")&&arguments.length>0&&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=[];this.dataAdapter.current(function(e){t=e});return 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.");if(e==null||e.length===0)return this.$element.val();var t=e[0];if(o.isArray(t))t=o.map(t,function(e){return e.toString()});this.$element.val(t).trigger("input").trigger("change")};d.prototype.destroy=function(){this.$container.remove();if(this.$element[0].detachEvent)this.$element[0].detachEvent("onpropertychange",this._syncA);if(this._observer!=null){this._observer.disconnect();this._observer=null}else if(this.$element[0].removeEventListener){this.$element[0].removeEventListener("DOMAttrModified",this._syncA,false);this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,false);this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,false)}this._syncA=null;this._syncS=null;this.$element.off(".select2");this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex"));this.$element.removeClass("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=o('<span class="select2 select2-container">'+'<span class="selection"></span>'+'<span class="dropdown-wrapper" aria-hidden="true"></span>'+"</span>");e.attr("dir",this.options.get("dir"));this.$container=e;this.$container.addClass("select2-container--"+this.options.get("theme"));u.StoreData(e[0],"element",this.$element);return e};return d});t.define("select2/compat/utils",["jquery"],function(o){function e(e,t,i){var n,r=[],s;n=o.trim(e.attr("class"));if(n){n=""+n;o(n.split(/\s+/)).each(function(){if(this.indexOf("select2-")===0)r.push(this)})}n=o.trim(t.attr("class"));if(n){n=""+n;o(n.split(/\s+/)).each(function(){if(this.indexOf("select2-")!==0){s=i(this);if(s!=null)r.push(s)}})}e.attr("class",r.join(" "))}return{syncCssClasses:e}});t.define("select2/compat/containerCss",["jquery","./utils"],function(o,a){function l(e){return null}function e(){}e.prototype.render=function(e){var t=e.call(this);var i=this.options.get("containerCssClass")||"";if(o.isFunction(i))i=i(this.$element);var n=this.options.get("adaptContainerCssClass");n=n||l;if(i.indexOf(":all:")!==-1){i=i.replace(":all:","");var r=n;n=function(e){var t=r(e);if(t!=null)return t+" "+e;return e}}var s=this.options.get("containerCss")||{};if(o.isFunction(s))s=s(this.$element);a.syncCssClasses(t,this.$element,n);t.css(s);t.addClass(i);return t};return e});t.define("select2/compat/dropdownCss",["jquery","./utils"],function(o,a){function l(e){return null}function e(){}e.prototype.render=function(e){var t=e.call(this);var i=this.options.get("dropdownCssClass")||"";if(o.isFunction(i))i=i(this.$element);var n=this.options.get("adaptDropdownCssClass");n=n||l;if(i.indexOf(":all:")!==-1){i=i.replace(":all:","");var r=n;n=function(e){var t=r(e);if(t!=null)return t+" "+e;return e}}var s=this.options.get("dropdownCss")||{};if(o.isFunction(s))s=s(this.$element);a.syncCssClasses(t,this.$element,n);t.css(s);t.addClass(i);return t};return e});t.define("select2/compat/initSelection",["jquery"],function(n){function e(e,t,i){if(i.get("debug")&&window.console&&console.warn)console.warn("Select2: The `initSelection` option has been deprecated in favor"+" of a custom data adapter that overrides the `current` method. "+"This method is now called multiple times instead of a single "+"time when the instance is initialized. Support will be removed "+"for the `initSelection` option in future versions of Select2");this.initSelection=i.get("initSelection");this._isInitialized=false;e.call(this,t,i)}e.prototype.current=function(e,t){var i=this;if(this._isInitialized){e.call(this,t);return}this.initSelection.call(null,this.$element,function(e){i._isInitialized=true;if(!n.isArray(e))e=[e];t(e)})};return e});t.define("select2/compat/inputData",["jquery","../utils"],function(o,n){function e(e,t,i){this._currentData=[];this._valueSeparator=i.get("valueSeparator")||",";if(t.prop("type")==="hidden")if(i.get("debug")&&console&&console.warn)console.warn("Select2: Using a hidden input with Select2 is no longer "+"supported and may stop working in the future. It is recommended "+"to use a `<select>` element instead.");e.call(this,t,i)}e.prototype.current=function(e,t){function n(e,t){var i=[];if(e.selected||o.inArray(e.id,t)!==-1){e.selected=true;i.push(e)}else e.selected=false;if(e.children)i.push.apply(i,n(e.children,t));return i}var i=[];for(var r=0;r<this._currentData.length;r++){var s=this._currentData[r];i.push.apply(i,n(s,this.$element.val().split(this._valueSeparator)))}t(i)};e.prototype.select=function(e,t){if(!this.options.get("multiple")){this.current(function(e){o.map(e,function(e){e.selected=false})});this.$element.val(t.id);this.$element.trigger("input").trigger("change")}else{var i=this.$element.val();i+=this._valueSeparator+t.id;this.$element.val(i);this.$element.trigger("input").trigger("change")}};e.prototype.unselect=function(e,r){var s=this;r.selected=false;this.current(function(e){var t=[];for(var i=0;i<e.length;i++){var n=e[i];if(r.id==n.id)continue;t.push(n.id)}s.$element.val(t.join(s._valueSeparator));s.$element.trigger("input").trigger("change")})};e.prototype.query=function(e,t,i){var n=[];for(var r=0;r<this._currentData.length;r++){var s=this._currentData[r];var o=this.matches(t,s);if(o!==null)n.push(o)}i({results:n})};e.prototype.addOptions=function(e,t){var i=o.map(t,function(e){return n.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,i)};return e});t.define("select2/compat/matcher",["jquery"],function(a){function e(o){function e(e,t){var i=a.extend(true,{},t);if(e.term==null||a.trim(e.term)==="")return i;if(t.children){for(var n=t.children.length-1;n>=0;n--){var r=t.children[n];var s=o(e.term,r.text,r);if(!s)i.children.splice(n,1)}if(i.children.length>0)return i}if(o(e.term,t.text,t))return i;return null}return e}return e});t.define("select2/compat/query",[],function(){function e(e,t,i){if(i.get("debug")&&window.console&&console.warn)console.warn("Select2: The `query` option has been deprecated in favor of a "+"custom data adapter that overrides the `query` method. Support "+"will be removed for the `query` option in future versions of "+"Select2.");e.call(this,t,i)}e.prototype.query=function(e,t,i){t.callback=i;var n=this.options.get("query");n.call(null,t)};return e});t.define("select2/dropdown/attachContainer",[],function(){function e(e,t,i){e.call(this,t,i)}e.prototype.position=function(e,t,i){var n=i.find(".dropdown-wrapper");n.append(t);t.addClass("select2-dropdown--below");i.addClass("select2-container--below")};return e});t.define("select2/dropdown/stopPropagation",[],function(){function e(){}e.prototype.bind=function(e,t,i){e.call(this,t,i);var n=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(n.join(" "),function(e){e.stopPropagation()})};return e});t.define("select2/selection/stopPropagation",[],function(){function e(){}e.prototype.bind=function(e,t,i){e.call(this,t,i);var n=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(n.join(" "),function(e){e.stopPropagation()})};return e});(function(e){if(typeof t.define==="function"&&t.define.amd)t.define("jquery-mousewheel",["jquery"],e);else if(true)n.exports=e;else;})(function(h){var e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],f=Array.prototype.slice,p,m;if(h.event.fixHooks)for(var i=e.length;i;)h.event.fixHooks[e[--i]]=h.event.mouseHooks;var g=h.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],n,false);else this.onmousewheel=n;h.data(this,"mousewheel-line-height",g.getLineHeight(this));h.data(this,"mousewheel-page-height",g.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],n,false);else this.onmousewheel=null;h.removeData(this,"mousewheel-line-height");h.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=h(e),i=t["offsetParent"in h.fn?"offsetParent":"parent"]();if(!i.length)i=h("body");return parseInt(i.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return h(e).height()},settings:{adjustOldDeltas:true,normalizeOffset:true}};h.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}});function n(e){var t=e||window.event,i=f.call(arguments,1),n=0,r=0,s=0,o=0,a=0,l=0;e=h.event.fix(t);e.type="mousewheel";if("detail"in t)s=t.detail*-1;if("wheelDelta"in t)s=t.wheelDelta;if("wheelDeltaY"in t)s=t.wheelDeltaY;if("wheelDeltaX"in t)r=t.wheelDeltaX*-1;if("axis"in t&&t.axis===t.HORIZONTAL_AXIS){r=s*-1;s=0}n=s===0?r:s;if("deltaY"in t){s=t.deltaY*-1;n=s}if("deltaX"in t){r=t.deltaX;if(s===0)n=r*-1}if(s===0&&r===0)return;if(t.deltaMode===1){var c=h.data(this,"mousewheel-line-height");n*=c;s*=c;r*=c}else if(t.deltaMode===2){var u=h.data(this,"mousewheel-page-height");n*=u;s*=u;r*=u}o=Math.max(Math.abs(s),Math.abs(r));if(!m||o<m){m=o;if(y(t,o))m/=40}if(y(t,o)){n/=40;r/=40;s/=40}n=Math[n>=1?"floor":"ceil"](n/m);r=Math[r>=1?"floor":"ceil"](r/m);s=Math[s>=1?"floor":"ceil"](s/m);if(g.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();a=e.clientX-d.left;l=e.clientY-d.top}e.deltaX=r;e.deltaY=s;e.deltaFactor=m;e.offsetX=a;e.offsetY=l;e.deltaMode=0;i.unshift(e,n,r,s);if(p)clearTimeout(p);p=setTimeout(v,200);return(h.event.dispatch||h.event.handle).apply(this,i)}function v(){m=null}function y(e,t){return g.settings.adjustOldDeltas&&e.type==="mousewheel"&&t%120===0}});t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,s,t,o){if(r.fn.select2==null){var a=["open","close","destroy"];r.fn.select2=function(i){i=i||{};if(typeof i==="object"){this.each(function(){var e=r.extend(true,{},i);var t=new s(r(this),e)});return this}else if(typeof i==="string"){var t;var n=Array.prototype.slice.call(arguments,1);this.each(function(){var e=o.GetData(this,"select2");if(e==null&&window.console&&console.error)console.error("The select2('"+i+"') method was called on an "+"element that is not using Select2.");t=e[i].apply(e,n)});if(r.inArray(i,a)>-1)return this;return t}else throw new Error("Invalid arguments for Select2: "+i)}}if(r.fn.select2.defaults==null)r.fn.select2.defaults=t;return s});return{define:t.define,require:t.require}}(),t=e.require("jquery.select2");return i.fn.select2.amd=e,t})?i.apply(e,t):i)&&(n.exports=e)},
vendor: 1,780 bytes, line 1
1"./node_modules/setimmediate/setImmediate.js":function(e,t,i){!function(e,f){!function(i,s){"use strict";var n,o,a,r,l,c,t,e;function u(e){delete o[e]}function d(e){if(a)setTimeout(d,0,e);else{var t=o[e];if(t){a=!0;try{var i=t,n=i.callback,r=i.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(s,r)}}finally{u(e),a=!1}}}}function h(){function e(e){e.source===i&&"string"==typeof e.data&&0===e.data.indexOf(t)&&d(+e.data.slice(t.length))}var t="setImmediate$"+Math.random()+"$";i.addEventListener?i.addEventListener("message",e,!1):i.attachEvent("onmessage",e),l=function(e){i.postMessage(t+e,"*")}}i.setImmediate||(n=1,a=!(o={}),r=i.document,e=(e=Object.getPrototypeOf&&Object.getPrototypeOf(i))&&e.setTimeout?e:i,"[object process]"==={}.toString.call(i.process)?l=function(e){f.nextTick(function(){d(e)})}:!function(){var e,t;if(i.postMessage&&!i.importScripts)return e=!0,t=i.onmessage,i.onmessage=function(){e=!1},i.postMessage("","*"),i.onmessage=t,e}()?l=i.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){t.port2.postMessage(e)}):r&&"onreadystatechange"in r.createElement("script")?(c=r.documentElement,function(e){var t=r.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,c.removeChild(t),t=null},c.appendChild(t)}):function(e){setTimeout(d,0,e)}:h(),e.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];return o[n]={callback:e,args:t},l(n),n++},e.clearImmediate=u)}("undefined"==typeof self?void 0===e?this:e:self)}.call(this,i("./node_modules/webpack/buildin/global.js"),i("./node_modules/process/browser.js"))},
vendor: 6,828 bytes, line 1
1"./node_modules/sticky-js/dist/sticky.compile.js":function(e,t,i){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var r=function(){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this,n=r;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");this.selector=e,this.elements=[],this.version="1.3.0",this.vp=this.getViewportSize(),this.body=document.querySelector("body"),this.options={wrap:t.wrap||!1,wrapWith:t.wrapWith||"<span></span>",marginTop:t.marginTop||0,marginBottom:t.marginBottom||0,stickyFor:t.stickyFor||0,stickyClass:t.stickyClass||null,stickyContainer:t.stickyContainer||"body"},this.updateScrollTopPosition=this.updateScrollTopPosition.bind(this),this.updateScrollTopPosition(),window.addEventListener("load",this.updateScrollTopPosition),window.addEventListener("scroll",this.updateScrollTopPosition),this.run()}var e,t,i;return e=r,(t=[{key:"run",value:function(){var t=this,i=setInterval(function(){var e;"complete"===document.readyState&&(clearInterval(i),e=document.querySelectorAll(t.selector),t.forEach(e,function(e){return t.renderElement(e)}))},10)}},{key:"renderElement",value:function(e){var t=this;e.sticky={},e.sticky.active=!1,e.sticky.marginTop=parseInt(e.getAttribute("data-margin-top"))||this.options.marginTop,e.sticky.marginBottom=parseInt(e.getAttribute("data-margin-bottom"))||this.options.marginBottom,e.sticky.stickyFor=parseInt(e.getAttribute("data-sticky-for"))||this.options.stickyFor,e.sticky.stickyClass=e.getAttribute("data-sticky-class")||this.options.stickyClass,e.sticky.wrap=!!e.hasAttribute("data-sticky-wrap")||this.options.wrap,e.sticky.stickyContainer=this.options.stickyContainer,e.sticky.container=this.getStickyContainer(e),e.sticky.container.rect=this.getRectangle(e.sticky.container),e.sticky.rect=this.getRectangle(e),"img"===e.tagName.toLowerCase()&&(e.onload=function(){return e.sticky.rect=t.getRectangle(e)}),e.sticky.wrap&&this.wrapElement(e),this.activate(e)}},{key:"wrapElement",value:function(e){e.insertAdjacentHTML("beforebegin",e.getAttribute("data-sticky-wrapWith")||this.options.wrapWith),e.previousSibling.appendChild(e)}},{key:"activate",value:function(e){e.sticky.rect.top+e.sticky.rect.height<e.sticky.container.rect.top+e.sticky.container.rect.height&&e.sticky.stickyFor<this.vp.width&&!e.sticky.active&&(e.sticky.active=!0),this.elements.indexOf(e)<0&&this.elements.push(e),e.sticky.resizeEvent||(this.initResizeEvents(e),e.sticky.resizeEvent=!0),e.sticky.scrollEvent||(this.initScrollEvents(e),e.sticky.scrollEvent=!0),this.setPosition(e)}},{key:"initResizeEvents",value:function(e){var t=this;e.sticky.resizeListener=function(){return t.onResizeEvents(e)},window.addEventListener("resize",e.sticky.resizeListener)}},{key:"destroyResizeEvents",value:function(e){window.removeEventListener("resize",e.sticky.resizeListener)}},{key:"onResizeEvents",value:function(e){this.vp=this.getViewportSize(),e.sticky.rect=this.getRectangle(e),e.sticky.container.rect=this.getRectangle(e.sticky.container),e.sticky.rect.top+e.sticky.rect.height<e.sticky.container.rect.top+e.sticky.container.rect.height&&e.sticky.stickyFor<this.vp.width&&!e.sticky.active?e.sticky.active=!0:(e.sticky.rect.top+e.sticky.rect.height>=e.sticky.container.rect.top+e.sticky.container.rect.height||e.sticky.stickyFor>=this.vp.width&&e.sticky.active)&&(e.sticky.active=!1),this.setPosition(e)}},{key:"initScrollEvents",value:function(e){var t=this;e.sticky.scrollListener=function(){return t.onScrollEvents(e)},window.addEventListener("scroll",e.sticky.scrollListener)}},{key:"destroyScrollEvents",value:function(e){window.removeEventListener("scroll",e.sticky.scrollListener)}},{key:"onScrollEvents",value:function(e){e.sticky&&e.sticky.active&&this.setPosition(e)}},{key:"setPosition",value:function(e){this.css(e,{position:"",width:"",top:"",left:""}),this.vp.height<e.sticky.rect.height||!e.sticky.active||(e.sticky.rect.width||(e.sticky.rect=this.getRectangle(e)),e.sticky.wrap&&this.css(e.parentNode,{display:"block",width:e.sticky.rect.width+"px",height:e.sticky.rect.height+"px"}),0===e.sticky.rect.top&&e.sticky.container===this.body?(this.css(e,{position:"fixed",top:e.sticky.rect.top+"px",left:e.sticky.rect.left+"px",width:e.sticky.rect.width+"px"}),e.sticky.stickyClass&&e.classList.add(e.sticky.stickyClass)):this.scrollTop>e.sticky.rect.top-e.sticky.marginTop?(this.css(e,{position:"fixed",width:e.sticky.rect.width+"px",left:e.sticky.rect.left+"px"}),this.scrollTop+e.sticky.rect.height+e.sticky.marginTop>e.sticky.container.rect.top+e.sticky.container.offsetHeight-e.sticky.marginBottom?(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{top:e.sticky.container.rect.top+e.sticky.container.offsetHeight-(this.scrollTop+e.sticky.rect.height+e.sticky.marginBottom)+"px"})):(e.sticky.stickyClass&&e.classList.add(e.sticky.stickyClass),this.css(e,{top:e.sticky.marginTop+"px"}))):(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{position:"",width:"",top:"",left:""}),e.sticky.wrap&&this.css(e.parentNode,{display:"",width:"",height:""})))}},{key:"update",value:function(){var t=this;this.forEach(this.elements,function(e){e.sticky.rect=t.getRectangle(e),e.sticky.container.rect=t.getRectangle(e.sticky.container),t.activate(e),t.setPosition(e)})}},{key:"destroy",value:function(){var t=this;window.removeEventListener("load",this.updateScrollTopPosition),window.removeEventListener("scroll",this.updateScrollTopPosition),this.forEach(this.elements,function(e){t.destroyResizeEvents(e),t.destroyScrollEvents(e),delete e.sticky})}},{key:"getStickyContainer",value:function(e){for(var t=e.parentNode;!t.hasAttribute("data-sticky-container")&&!t.parentNode.querySelector(e.sticky.stickyContainer)&&t!==this.body;)t=t.parentNode;return t}},{key:"getRectangle",value:function(e){this.css(e,{position:"",width:"",top:"",left:""});for(var t=Math.max(e.offsetWidth,e.clientWidth,e.scrollWidth),i=Math.max(e.offsetHeight,e.clientHeight,e.scrollHeight),n=0,r=0;n+=e.offsetTop||0,r+=e.offsetLeft||0,e=e.offsetParent;);return{top:n,left:r,width:t,height:i}}},{key:"getViewportSize",value:function(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}},{key:"updateScrollTopPosition",value:function(){this.scrollTop=(window.pageYOffset||document.scrollTop)-(document.clientTop||0)||0}},{key:"forEach",value:function(e,t){for(var i=0,n=e.length;i<n;i++)t(e[i])}},{key:"css",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e.style[i]=t[i])}}])&&n(e.prototype,t),i&&n(e,i),r}();e.exports=r},
vendor: 120 bytes, line 1
1"./node_modules/sticky-js/index.js":function(e,t,i){i=i("./node_modules/sticky-js/dist/sticky.compile.js");e.exports=i},
vendor: 148,256 bytes, line 1
1"./node_modules/summernote/dist/summernote.js":function(e,t,i){var n;window,n=function(i){return n={0:function(e,t){e.exports=i},1:function(e,t,i){"use strict";var n=i(0),s=i.n(n);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function r(e,t,i,n){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");this.markup=e,this.children=t,this.options=i,this.callback=n}var e,t,i;return e=r,(t=[{key:"render",value:function(e){var t,i=s()(this.markup);return this.options&&this.options.contents&&i.html(this.options.contents),this.options&&this.options.className&&i.addClass(this.options.className),this.options&&this.options.data&&s.a.each(this.options.data,function(e,t){i.attr("data-"+e,t)}),this.options&&this.options.click&&i.on("click",this.options.click),this.children&&(t=i.find(".note-children-container"),this.children.forEach(function(e){e.render(t.length?t:i)})),this.callback&&this.callback(i,this.options),this.options&&this.options.callback&&this.options.callback(i),e&&e.append(i),i}}])&&o(e.prototype,t),i&&o(e,i),r}();t.a={create:function(i,n){return function(){var e="object"===r(arguments[1])?arguments[1]:arguments[0],t=Array.isArray(arguments[0])?arguments[0]:[];return e&&e.children&&(t=e.children),new a(i,t,e,n)}}}},2:function(t,e){!function(e){t.exports=e}.call(this,{})},3:function(I,N,e){"use strict";var t=e(0),b=e.n(t),t=(b.a.summernote=b.a.summernote||{lang:{}},b.a.extend(b.a.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size",sizeunit:"Font Size Unit"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize full",resizeHalf:"Resize half",resizeQuarter:"Resize quarter",resizeNone:"Original size",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Remove float",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window",useProtocol:"Use default protocol"},table:{table:"Table",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",p:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"},color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Text Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default",cpSelect:"Select"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{escape:"Escape",insertParagraph:"Insert Paragraph",undo:"Undo the last command",redo:"Redo the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"},output:{noSelection:"No Selection Made!"}}}),e(2)),H=["sans-serif","serif","monospace","cursive","fantasy"];function F(e){return-1===b.a.inArray(e.toLowerCase(),H)?"'".concat(e,"'"):e}var e=navigator.userAgent,i=/MSIE|Trident/i.test(e),n=(i&&((n=/MSIE (\d+[.]\d+)/.exec(e))&&(Y=parseFloat(n[1])),(n=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.exec(e))&&(Y=parseFloat(n[1]))),/Edge\/\d+/.test(e)),r="ontouchstart"in window||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints,s=i?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input",c={isMac:-1<navigator.appVersion.indexOf("Mac"),isMSIE:i,isEdge:n,isFF:!n&&/firefox/i.test(e),isPhantom:/PhantomJS/i.test(e),isWebkit:!n&&/webkit/i.test(e),isChrome:!n&&/chrome/i.test(e),isSafari:!n&&/safari/i.test(e)&&!/chrome/i.test(e),browserVersion:Y,jqueryVersion:parseFloat(b.a.fn.jquery),isSupportAmd:t,isSupportTouch:r,isFontInstalled:function(e){var t="Comic Sans MS"===e?"Courier New":"Comic Sans MS",i="mmmmmmmmmmwwwww",n=document.createElement("canvas").getContext("2d"),r=(n.font="200px '"+t+"'",n.measureText(i).width);return n.font="200px "+F(e)+', "'+t+'"',r!==n.measureText(i).width},isW3CRangeSupport:!!document.createRange,inputEventName:s,genericFontFamilies:H,validFontName:F};var R=0;var u={eq:function(t){return function(e){return t===e}},eq2:function(e,t){return e===t},peq2:function(i){return function(e,t){return e[i]===t[i]}},ok:function(){return!0},fail:function(){return!1},self:function(e){return e},not:function(e){return function(){return!e.apply(e,arguments)}},and:function(t,i){return function(e){return t(e)&&i(e)}},invoke:function(e,t){return function(){return e[t].apply(e,arguments)}},resetUniqueId:function(){R=0},uniqueId:function(e){var t=++R+"";return e?e+t:t},rect2bnd:function(e){var t=b()(document);return{top:e.top+t.scrollTop(),left:e.left+t.scrollLeft(),width:e.right-e.left,height:e.bottom-e.top}},invertObject:function(e){var t,i={};for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[e[t]]=t);return i},namespaceToCamel:function(e,t){return(t=t||"")+e.split(".").map(function(e){return e.substring(0,1).toUpperCase()+e.substring(1)}).join("")},debounce:function(n,r,s){var o;return function(){var e=this,t=arguments,i=s&&!o;clearTimeout(o),o=setTimeout(function(){o=null,s||n.apply(e,t)},r),i&&n.apply(e,t)}},isValidUrl:function(e){return/[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/gi.test(e)}};function z(e){return e[0]}function o(e){return e[e.length-1]}function $(e){return e.slice(1)}function B(e,t){if(e&&e.length&&t){if(e.indexOf)return-1!==e.indexOf(t);if(e.contains)return e.contains(t)}return!1}var d={head:z,last:o,initial:function(e){return e.slice(0,e.length-1)},tail:$,prev:function(e,t){return!(e&&e.length&&t)||-1===(t=e.indexOf(t))?null:e[t-1]},next:function(e,t){return!(e&&e.length&&t)||-1===(t=e.indexOf(t))?null:e[t+1]},find:function(e,t){for(var i=0,n=e.length;i<n;i++){var r=e[i];if(t(r))return r}},contains:B,all:function(e,t){for(var i=0,n=e.length;i<n;i++)if(!t(e[i]))return!1;return!0},sum:function(e,i){return i=i||u.self,e.reduce(function(e,t){return e+i(t)},0)},from:function(e){for(var t=[],i=e.length,n=-1;++n<i;)t[n]=e[n];return t},isEmpty:function(e){return!e||!e.length},clusterBy:function(e,n){return e.length?$(e).reduce(function(e,t){var i=o(e);return n(o(i),t)?i[i.length]=t:e[e.length]=[t],e},[[e[0]]]):[]},compact:function(e){for(var t=[],i=0,n=e.length;i<n;i++)e[i]&&t.push(e[i]);return t},unique:function(e){for(var t=[],i=0,n=e.length;i<n;i++)B(t,e[i])||t.push(e[i]);return t}},a=String.fromCharCode(160);function l(e){return e&&b()(e).hasClass("note-editable")}function h(t){return t=t.toUpperCase(),function(e){return e&&e.nodeName.toUpperCase()===t}}function f(e){return e&&3===e.nodeType}function p(e){return e&&/^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^AUDIO|^VIDEO|^EMBED/.test(e.nodeName.toUpperCase())}function m(e){return!l(e)&&(e&&/^DIV|^P|^LI|^H[1-7]/.test(e.nodeName.toUpperCase()))}var i=h("PRE"),q=h("LI");var W=h("TABLE"),V=h("DATA");function g(e){return!(K(e)||U(e)||X(e)||m(e)||W(e)||v(e)||V(e))}function U(e){return e&&/^UL|^OL/.test(e.nodeName.toUpperCase())}var X=h("HR");function G(e){return e&&/^TD|^TH/.test(e.nodeName.toUpperCase())}var v=h("BLOCKQUOTE");function K(e){return G(e)||v(e)||l(e)}n=h("A");e=h("BODY");var y=c.isMSIE&&c.browserVersion<11?"&nbsp;":"<br>";function _(e){return f(e)?e.nodeValue.length:e?e.childNodes.length:0}function x(e){var t=_(e);return 0===t||(!f(e)&&1===t&&e.innerHTML===y||!(!d.all(e.childNodes,f)||""!==e.innerHTML))}function Z(e){p(e)||_(e)||(e.innerHTML=y)}function w(e,t){for(;e;){if(t(e))return e;if(l(e))break;e=e.parentNode}return null}function k(e,t){t=t||u.fail;var i=[];return w(e,function(e){return l(e)||i.push(e),t(e)}),i}function J(e,t){t=t||u.fail;for(var i=[];e&&!t(e);)i.push(e),e=e.nextSibling;return i}function Q(e,t){var i=t.nextSibling,t=t.parentNode;return i?t.insertBefore(e,i):t.appendChild(e),e}function ee(i,e){return b.a.each(e,function(e,t){i.appendChild(t)}),i}function S(e){return 0===e.offset}function M(e){return e.offset===_(e.node)}function te(e){return S(e)||M(e)}function ie(e,t){for(;e&&e!==t;){if(0!==C(e))return!1;e=e.parentNode}return!0}function ne(e,t){if(!t)return!1;for(;e&&e!==t;){if(C(e)!==_(e.parentNode)-1)return!1;e=e.parentNode}return!0}function C(e){for(var t=0;e=e.previousSibling;)t+=1;return t}function L(e){return!!(e&&e.childNodes&&e.childNodes.length)}function re(e,t){var i,n;if(0===e.offset){if(l(e.node))return null;i=e.node.parentNode,n=C(e.node)}else n=L(e.node)?_(i=e.node.childNodes[e.offset-1]):(i=e.node,t?0:e.offset-1);return{node:i,offset:n}}function se(e,t){var i;if(_(e.node)===e.offset){if(l(e.node))return null;var n=ae(e.node),n=n?(i=n,0):(i=e.node.parentNode,C(e.node)+1)}else n=L(e.node)?(i=e.node.childNodes[e.offset],0):(i=e.node,t?_(e.node):e.offset+1);return{node:i,offset:n}}function oe(e,t){var i;if(x(e.node))return{node:i=e.node.nextSibling,offset:r=0};if(_(e.node)===e.offset){if(l(e.node))return null;var n=ae(e.node),r=n?(i=n,0):(i=e.node.parentNode,C(e.node)+1);l(i)&&(i=e.node.nextSibling,r=0)}else if(L(e.node)){if(r=0,x(i=e.node.childNodes[e.offset]))return null}else if(i=e.node,r=t?_(e.node):e.offset+1,x(i))return null;return{node:i,offset:r}}function ae(e){if(e.nextSibling&&e.parent===e.nextSibling.parent)return f(e.nextSibling)?e.nextSibling:ae(e.nextSibling)}function le(e,t){return e.node===t.node&&e.offset===t.offset}function ce(e,t){var i,n=t&&t.isSkipPaddingBlankHTML,r=t&&t.isNotSplitEdgePoint,t=t&&t.isDiscardEmptySplits;if(t&&(n=!0),te(e)&&(f(e.node)||r)){if(S(e))return e.node;if(M(e))return e.node.nextSibling}return f(e.node)?e.node.splitText(e.offset):(r=e.node.childNodes[e.offset],ee(i=Q(e.node.cloneNode(!1),e.node),J(r)),n||(Z(e.node),Z(i)),t&&(x(e.node)&&T(e.node),x(i))?(T(i),e.node.nextSibling):i)}function ue(e,i,n){e=k(i.node,u.eq(e));return e.length?1===e.length?ce(i,n):e.reduce(function(e,t){return e===i.node&&(e=ce(i,n)),ce({node:t,offset:e?C(e):_(t)},n)}):null}function de(e){return document.createElement(e)}function T(e,t){if(e&&e.parentNode){if(e.removeNode)return e.removeNode(t);var i=e.parentNode;if(!t){for(var n=[],r=0,s=e.childNodes.length;r<s;r++)n.push(e.childNodes[r]);for(var o=0,a=n.length;o<a;o++)i.insertBefore(n[o],e)}i.removeChild(e)}}var he=h("TEXTAREA");function fe(e,t){e=he(e[0])?e.val():e.html();return t?e.replace(/[\n\r]/g,""):e}var D={NBSP_CHAR:a,ZERO_WIDTH_NBSP_CHAR:"\ufeff",blank:y,emptyPara:"<p>".concat(y,"</p>"),makePredByNodeName:h,isEditable:l,isControlSizing:function(e){return e&&b()(e).hasClass("note-control-sizing")},isText:f,isElement:function(e){return e&&1===e.nodeType},isVoid:p,isPara:m,isPurePara:function(e){return m(e)&&!q(e)},isHeading:function(e){return e&&/^H[1-7]/.test(e.nodeName.toUpperCase())},isInline:g,isBlock:u.not(g),isBodyInline:function(e){return g(e)&&!w(e,m)},isBody:e,isParaInline:function(e){return g(e)&&!!w(e,m)},isPre:i,isList:U,isTable:W,isData:V,isCell:G,isBlockquote:v,isBodyContainer:K,isAnchor:n,isDiv:h("DIV"),isLi:q,isBR:h("BR"),isSpan:h("SPAN"),isB:h("B"),isU:h("U"),isS:h("S"),isI:h("I"),isImg:h("IMG"),isTextarea:he,deepestChildIsEmpty:function(e){do{if(null===e.firstElementChild||""===e.firstElementChild.innerHTML)break}while(e=e.firstElementChild);return x(e)},isEmpty:x,isEmptyAnchor:u.and(n,x),isClosestSibling:function(e,t){return e.nextSibling===t||e.previousSibling===t},withClosestSiblings:function(e,t){t=t||u.ok;var i=[];return e.previousSibling&&t(e.previousSibling)&&i.push(e.previousSibling),i.push(e),e.nextSibling&&t(e.nextSibling)&&i.push(e.nextSibling),i},nodeLength:_,isLeftEdgePoint:S,isRightEdgePoint:M,isEdgePoint:te,isLeftEdgeOf:ie,isRightEdgeOf:ne,isLeftEdgePointOf:function(e,t){return S(e)&&ie(e.node,t)},isRightEdgePointOf:function(e,t){return M(e)&&ne(e.node,t)},prevPoint:re,nextPoint:se,nextPointWithEmptyNode:oe,isSamePoint:le,isVisiblePoint:function(e){if(f(e.node)||!L(e.node)||x(e.node))return!0;var t=e.node.childNodes[e.offset-1],e=e.node.childNodes[e.offset];return!(t&&!p(t)||e&&!p(e))},prevPointUntil:function(e,t){for(;e;){if(t(e))return e;e=re(e)}return null},nextPointUntil:function(e,t){for(;e;){if(t(e))return e;e=se(e)}return null},isCharPoint:function(e){return!!f(e.node)&&((e=e.node.nodeValue.charAt(e.offset-1))&&" "!==e&&e!==a)},isSpacePoint:function(e){return!!f(e.node)&&(" "===(e=e.node.nodeValue.charAt(e.offset-1))||e===a)},walkPoint:function(e,t,i,n){for(var r=e;r&&(i(r),!le(r,t));)r=oe(r,n&&e.node!==r.node&&t.node!==r.node)},ancestor:w,singleChildAncestor:function(e,t){for(e=e.parentNode;e&&1===_(e);){if(t(e))return e;if(l(e))break;e=e.parentNode}return null},listAncestor:k,lastAncestor:function(e,t){return e=k(e),d.last(e.filter(t))},listNext:J,listPrev:function(e,t){t=t||u.fail;for(var i=[];e&&!t(e);)i.push(e),e=e.previousSibling;return i},listDescendant:function(r,s){var o=[];return s=s||u.ok,function e(t){r!==t&&s(t)&&o.push(t);for(var i=0,n=t.childNodes.length;i<n;i++)e(t.childNodes[i])}(r),o},commonAncestor:function(e,t){for(var i=k(e),n=t;n;n=n.parentNode)if(-1<i.indexOf(n))return n;return null},wrap:function(e,t){var i=e.parentNode,t=b()("<"+t+">")[0];return i.insertBefore(t,e),t.appendChild(e),t},insertAfter:Q,appendChildNodes:ee,position:C,hasChildren:L,makeOffsetPath:function(e,t){return k(t,u.eq(e)).map(C).reverse()},fromOffsetPath:function(e,t){for(var i=e,n=0,r=t.length;n<r;n++)i=i.childNodes.length<=t[n]?i.childNodes[i.childNodes.length-1]:i.childNodes[t[n]];return i},splitTree:ue,splitPoint:function(e,t){var i,n=t?m:K,r=k(e.node,n),s=d.last(r)||e.node,n=n(s)?(i=r[r.length-2],s):(i=s).parentNode;return{rightNode:r=(r=i&&ue(i,e,{isSkipPaddingBlankHTML:t,isNotSplitEdgePoint:t}))||n!==e.node?r:e.node.childNodes[e.offset],container:n}},create:de,createText:function(e){return document.createTextNode(e)},remove:T,removeWhile:function(e,t){for(;e&&!l(e)&&t(e);){var i=e.parentNode;T(e),e=i}},replace:function(e,t){return e.nodeName.toUpperCase()===t.toUpperCase()?e:(t=de(t),e.style.cssText&&(t.style.cssText=e.style.cssText),ee(t,d.from(e.childNodes)),Q(t,e),T(e),t)},html:function(e,t){return e=fe(e),e=t?(e=e.replace(/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g,function(e,t,i){i=i.toUpperCase();t=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(i)&&!!t,i=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(i);return e+(t||i?"\n":"")})).trim():e},value:fe,posFromPlaceholder:function(e){var t=(e=b()(e)).offset(),e=e.outerHeight(!0);return{left:t.left,top:t.top+e}},attachEvents:function(t,i){Object.keys(i).forEach(function(e){t.on(e,i[e])})},detachEvents:function(t,i){Object.keys(i).forEach(function(e){t.off(e,i[e])})},isCustomStyleTag:function(e){return e&&!f(e)&&d.contains(e.classList,"note-styletag")}};function pe(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var me=function(){function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.$note=e,this.memos={},this.modules={},this.layoutInfo={},this.options=b.a.extend(!0,{},t),b.a.summernote.ui=b.a.summernote.ui_template(this.options),this.ui=b.a.summernote.ui,this.initialize()}var e,t,n;return e=i,(t=[{key:"initialize",value:function(){return this.layoutInfo=this.ui.createLayout(this.$note),this._initialize(),this.$note.hide(),this}},{key:"destroy",value:function(){this._destroy(),this.$note.removeData("summernote"),this.ui.removeLayout(this.$note,this.layoutInfo)}},{key:"reset",value:function(){var e=this.isDisabled();this.code(D.emptyPara),this._destroy(),this._initialize(),e&&this.disable()}},{key:"_initialize",value:function(){var t=this,i=(this.options.id=u.uniqueId(b.a.now()),this.options.container=this.options.container||this.layoutInfo.editor,b.a.extend({},this.options.buttons)),n=(Object.keys(i).forEach(function(e){t.memo("button."+e,i[e])}),b.a.extend({},this.options.modules,b.a.summernote.plugins||{}));Object.keys(n).forEach(function(e){t.module(e,n[e],!0)}),Object.keys(this.modules).forEach(function(e){t.initializeModule(e)})}},{key:"_destroy",value:function(){var t=this;Object.keys(this.modules).reverse().forEach(function(e){t.removeModule(e)}),Object.keys(this.memos).forEach(function(e){t.removeMemo(e)}),this.triggerEvent("destroy",this)}},{key:"code",value:function(e){var t=this.invoke("codeview.isActivated");if(void 0===e)return this.invoke("codeview.sync"),t?this.layoutInfo.codable.val():this.layoutInfo.editable.html();t?this.invoke("codeview.sync",e):this.layoutInfo.editable.html(e),this.$note.val(e),this.triggerEvent("change",e,this.layoutInfo.editable)}},{key:"isDisabled",value:function(){return"false"===this.layoutInfo.editable.attr("contenteditable")}},{key:"enable",value:function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0),this.triggerEvent("disable",!1),this.options.editing=!0}},{key:"disable",value:function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.options.editing=!1,this.invoke("toolbar.deactivate",!0),this.triggerEvent("disable",!0)}},{key:"triggerEvent",value:function(){var e=d.head(arguments),t=d.tail(d.from(arguments)),i=this.options.callbacks[u.namespaceToCamel(e,"on")];i&&i.apply(this.$note[0],t),this.$note.trigger("summernote."+e,t)}},{key:"initializeModule",value:function(e){e=this.modules[e];e.shouldInitialize=e.shouldInitialize||u.ok,e.shouldInitialize()&&(e.initialize&&e.initialize(),e.events&&D.attachEvents(this.$note,e.events))}},{key:"module",value:function(e,t,i){if(1===arguments.length)return this.modules[e];this.modules[e]=new t(this),i||this.initializeModule(e)}},{key:"removeModule",value:function(e){var t=this.modules[e];t.shouldInitialize()&&(t.events&&D.detachEvents(this.$note,t.events),t.destroy&&t.destroy()),delete this.modules[e]}},{key:"memo",value:function(e,t){if(1===arguments.length)return this.memos[e];this.memos[e]=t}},{key:"removeMemo",value:function(e){this.memos[e]&&this.memos[e].destroy&&this.memos[e].destroy(),delete this.memos[e]}},{key:"createInvokeHandlerAndUpdateState",value:function(t,i){var n=this;return function(e){n.createInvokeHandler(t,i)(e),n.invoke("buttons.updateCurrentStyle")}}},{key:"createInvokeHandler",value:function(t,i){var n=this;return function(e){e.preventDefault();e=b()(e.target);n.invoke(t,i||e.closest("[data-value]").data("value"),e)}}},{key:"invoke",value:function(){var e=d.head(arguments),t=d.tail(d.from(arguments)),e=e.split("."),i=1<e.length,n=i&&d.head(e),i=i?d.last(e):d.head(e),e=this.modules[n||"editor"];return!n&&this[i]?this[i].apply(this,t):e&&e[i]&&e.shouldInitialize()?e[i].apply(e,t):void 0}}])&&pe(e.prototype,t),n&&pe(e,n),i}();function ge(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ve(e,t){for(var i,n=e.parentElement(),r=document.body.createTextRange(),s=d.from(n.childNodes),o=0;o<s.length;o++)if(!D.isText(s[o])){if(r.moveToElementText(s[o]),0<=r.compareEndPoints("StartToStart",e))break;i=s[o]}if(0!==o&&D.isText(s[o-1])){for(var a=document.body.createTextRange(),l=null,c=(a.moveToElementText(i||n),a.collapse(!i),l=i?i.nextSibling:n.firstChild,e.duplicate()),u=(c.setEndPoint("StartToStart",a),c.text.replace(/[\r\n]/g,"").length);u>l.nodeValue.length&&l.nextSibling;)u-=l.nodeValue.length,l=l.nextSibling;l.nodeValue;t&&l.nextSibling&&D.isText(l.nextSibling)&&u===l.nodeValue.length&&(u-=l.nodeValue.length,l=l.nextSibling),n=l,o=u}return{cont:n,offset:o}}function ye(e){function s(e,t){if(D.isText(e)){var i=D.listPrev(e,u.not(D.isText)),n=d.last(i).previousSibling,r=n||e.parentNode;t+=d.sum(d.tail(i),D.nodeLength),i=!n}else{if(r=e.childNodes[t]||e,D.isText(r))return s(r,0);t=0,i=!1}return{node:r,collapseToStart:i,offset:t}}var t=document.body.createTextRange(),e=s(e.node,e.offset);return t.moveToElementText(e.node),t.collapse(e.collapseToStart),t.moveStart("character",e.offset),t}b.a.fn.extend({summernote:function(){var e=b.a.type(d.head(arguments)),t="string"===e,n=b.a.extend({},b.a.summernote.options,"object"===e?d.head(arguments):{}),e=(n.langInfo=b.a.extend(!0,{},b.a.summernote.lang["en-US"],b.a.summernote.lang[n.lang]),n.icons=b.a.extend(!0,{},b.a.summernote.options.icons,n.icons),n.tooltip="auto"===n.tooltip?!c.isSupportTouch:n.tooltip,this.each(function(e,t){var i,t=b()(t);t.data("summernote")||(i=new me(t,n),t.data("summernote",i),t.data("summernote").triggerEvent("init",i.layoutInfo))}),this.first());if(e.length){e=e.data("summernote");if(t)return e.invoke.apply(e,d.from(arguments));n.focus&&e.invoke("editor.focus")}return this}});var E=function(){function s(e,t,i,n){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");this.sc=e,this.so=t,this.ec=i,this.eo=n,this.isOnEditable=this.makeIsOn(D.isEditable),this.isOnList=this.makeIsOn(D.isList),this.isOnAnchor=this.makeIsOn(D.isAnchor),this.isOnCell=this.makeIsOn(D.isCell),this.isOnData=this.makeIsOn(D.isData)}var e,t,i;return e=s,(t=[{key:"nativeRange",value:function(){var e;return c.isW3CRangeSupport?((e=document.createRange()).setStart(this.sc,this.so),e.setEnd(this.ec,this.eo),e):((e=ye({node:this.sc,offset:this.so})).setEndPoint("EndToEnd",ye({node:this.ec,offset:this.eo})),e)}},{key:"getPoints",value:function(){return{sc:this.sc,so:this.so,ec:this.ec,eo:this.eo}}},{key:"getStartPoint",value:function(){return{node:this.sc,offset:this.so}}},{key:"getEndPoint",value:function(){return{node:this.ec,offset:this.eo}}},{key:"select",value:function(){var e,t=this.nativeRange();return c.isW3CRangeSupport?(0<(e=document.getSelection()).rangeCount&&e.removeAllRanges(),e.addRange(t)):t.select(),this}},{key:"scrollIntoView",value:function(e){var t=b()(e).height();return e.scrollTop+t<this.sc.offsetTop&&(e.scrollTop+=Math.abs(e.scrollTop+t-this.sc.offsetTop)),this}},{key:"normalize",value:function(){function e(e,t){if(!e)return e;if(D.isVisiblePoint(e)&&(!D.isEdgePoint(e)||D.isRightEdgePoint(e)&&!t||D.isLeftEdgePoint(e)&&t||D.isRightEdgePoint(e)&&t&&D.isVoid(e.node.nextSibling)||D.isLeftEdgePoint(e)&&!t&&D.isVoid(e.node.previousSibling)||D.isBlock(e.node)&&D.isEmpty(e.node)))return e;var i,n=D.ancestor(e.node,D.isBlock),r=!1,s=(r||(s=D.prevPoint(e)||{node:null},r=(D.isLeftEdgePointOf(e,n)||D.isVoid(s.node))&&!t),!1);if(s||(i=D.nextPoint(e)||{node:null},s=(D.isRightEdgePointOf(e,n)||D.isVoid(i.node))&&t),r||s){if(D.isVisiblePoint(e))return e;t=!t}return(t?D.nextPointUntil(D.nextPoint(e),D.isVisiblePoint):D.prevPointUntil(D.prevPoint(e),D.isVisiblePoint))||e}var t=e(this.getEndPoint(),!1),i=this.isCollapsed()?t:e(this.getStartPoint(),!0);return new s(i.node,i.offset,t.node,t.offset)}},{key:"nodes",value:function(i,e){i=i||u.ok;var n=e&&e.includeAncestor,r=e&&e.fullyContains,e=this.getStartPoint(),t=this.getEndPoint(),s=[],o=[];return D.walkPoint(e,t,function(e){var t;D.isEditable(e.node)||(r?(D.isLeftEdgePoint(e)&&o.push(e.node),D.isRightEdgePoint(e)&&d.contains(o,e.node)&&(t=e.node)):t=n?D.ancestor(e.node,i):e.node,t&&i(t)&&s.push(t))},!0),d.unique(s)}},{key:"commonAncestor",value:function(){return D.commonAncestor(this.sc,this.ec)}},{key:"expand",value:function(e){var t=D.ancestor(this.sc,e),e=D.ancestor(this.ec,e);if(!t&&!e)return new s(this.sc,this.so,this.ec,this.eo);var i=this.getPoints();return t&&(i.sc=t,i.so=0),e&&(i.ec=e,i.eo=D.nodeLength(e)),new s(i.sc,i.so,i.ec,i.eo)}},{key:"collapse",value:function(e){return e?new s(this.sc,this.so,this.sc,this.so):new s(this.ec,this.eo,this.ec,this.eo)}},{key:"splitText",value:function(){var e=this.sc===this.ec,t=this.getPoints();return D.isText(this.ec)&&!D.isEdgePoint(this.getEndPoint())&&this.ec.splitText(this.eo),D.isText(this.sc)&&!D.isEdgePoint(this.getStartPoint())&&(t.sc=this.sc.splitText(this.so),t.so=0,e&&(t.ec=t.sc,t.eo=this.eo-this.so)),new s(t.sc,t.so,t.ec,t.eo)}},{key:"deleteContents",value:function(){if(this.isCollapsed())return this;var e=this.splitText(),t=e.nodes(null,{fullyContains:!0}),n=D.prevPointUntil(e.getStartPoint(),function(e){return!d.contains(t,e.node)}),r=[];return b.a.each(t,function(e,t){var i=t.parentNode;n.node!==i&&1===D.nodeLength(i)&&r.push(i),D.remove(t,!1)}),b.a.each(r,function(e,t){D.remove(t,!1)}),new s(n.node,n.offset,n.node,n.offset).normalize()}},{key:"makeIsOn",value:function(t){return function(){var e=D.ancestor(this.sc,t);return!!e&&e===D.ancestor(this.ec,t)}}},{key:"isLeftEdgeOf",value:function(e){if(!D.isLeftEdgePoint(this.getStartPoint()))return!1;e=D.ancestor(this.sc,e);return e&&D.isLeftEdgeOf(this.sc,e)}},{key:"isCollapsed",value:function(){return this.sc===this.ec&&this.so===this.eo}},{key:"wrapBodyInlineWithPara",value:function(){if(D.isBodyContainer(this.sc)&&D.isEmpty(this.sc))return this.sc.innerHTML=D.emptyPara,new s(this.sc.firstChild,0,this.sc.firstChild,0);var e,t,i=this.normalize();return D.isParaInline(this.sc)||D.isPara(this.sc)?i:(D.isInline(i.sc)?(t=D.listAncestor(i.sc,u.not(D.isInline)),e=d.last(t),D.isInline(e)||(e=t[t.length-2]||i.sc.childNodes[i.so])):e=i.sc.childNodes[0<i.so?i.so-1:0],e&&(t=(t=D.listPrev(e,D.isParaInline).reverse()).concat(D.listNext(e.nextSibling,D.isParaInline))).length&&(i=D.wrap(d.head(t),"p"),D.appendChildNodes(i,d.tail(t))),this.normalize())}},{key:"insertNode",value:function(e){var t=this,t=((D.isText(e)||D.isInline(e))&&(t=this.wrapBodyInlineWithPara().deleteContents()),D.splitPoint(t.getStartPoint(),D.isInline(e)));return t.rightNode?(t.rightNode.parentNode.insertBefore(e,t.rightNode),D.isEmpty(t.rightNode)&&D.isPara(e)&&t.rightNode.parentNode.removeChild(t.rightNode)):t.container.appendChild(e),e}},{key:"pasteHTML",value:function(e){e=b.a.trim(e);var e=b()("<div></div>").html(e)[0],e=d.from(e.childNodes),t=this,i=!1;return 0<=t.so&&(e=e.reverse(),i=!0),e=e.map(function(e){return t.insertNode(e)}),e=i?e.reverse():e}},{key:"toString",value:function(){var e=this.nativeRange();return c.isW3CRangeSupport?e.toString():e.text}},{key:"getWordRange",value:function(e){var t=this.getEndPoint();if(!D.isCharPoint(t))return this;var i=D.prevPointUntil(t,function(e){return!D.isCharPoint(e)});return e&&(t=D.nextPointUntil(t,function(e){return!D.isCharPoint(e)})),new s(i.node,i.offset,t.node,t.offset)}},{key:"getWordsRange",value:function(e){function t(e){return!D.isCharPoint(e)&&!D.isSpacePoint(e)}var i=this.getEndPoint();if(t(i))return this;var n=D.prevPointUntil(i,t);return e&&(i=D.nextPointUntil(i,t)),new s(n.node,n.offset,i.node,i.offset)}},{key:"getWordsMatchRange",value:function(t){var i=this.getEndPoint(),e=D.prevPointUntil(i,function(e){if(!D.isCharPoint(e)&&!D.isSpacePoint(e))return!0;e=new s(e.node,e.offset,i.node,i.offset),e=t.exec(e.toString());return e&&0===e.index}),e=new s(e.node,e.offset,i.node,i.offset),n=e.toString(),r=t.exec(n);return r&&r[0].length===n.length?e:null}},{key:"bookmark",value:function(e){return{s:{path:D.makeOffsetPath(e,this.sc),offset:this.so},e:{path:D.makeOffsetPath(e,this.ec),offset:this.eo}}}},{key:"paraBookmark",value:function(e){return{s:{path:d.tail(D.makeOffsetPath(d.head(e),this.sc)),offset:this.so},e:{path:d.tail(D.makeOffsetPath(d.last(e),this.ec)),offset:this.eo}}}},{key:"getClientRects",value:function(){return this.nativeRange().getClientRects()}}])&&ge(e.prototype,t),i&&ge(e,i),s}(),A={create:function(e,t,i,n){return 4===arguments.length?new E(e,t,i,n):2===arguments.length?new E(i=e,n=t,i,n):(t=this.createFromSelection())||1!==arguments.length?t:(D.isEditable(i=e)&&(i=i.lastChild),this.createFromBodyElement(i,D.emptyPara===e.innerHTML))},createFromBodyElement:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return this.createFromNode(e).collapse(t)},createFromSelection:function(){if(c.isW3CRangeSupport){var e=document.getSelection();if(!e||0===e.rangeCount)return null;if(D.isBody(e.anchorNode))return null;var e=e.getRangeAt(0),t=e.startContainer,i=e.startOffset,n=e.endContainer,e=e.endOffset}else{var r=document.selection.createRange(),s=r.duplicate(),r=(s.collapse(!1),r.collapse(!0),ve(r,!0)),s=ve(s,!1);t=(r=D.isText(r.node)&&D.isLeftEdgePoint(r)&&D.isTextNode(s.node)&&D.isRightEdgePoint(s)&&s.node.nextSibling===r.node?s:r).cont,i=r.offset,n=s.cont,e=s.offset}return new E(t,i,n,e)},createFromNode:function(e){var t=e,i=0,n=D.nodeLength(e);return D.isVoid(t)&&(i=D.listPrev(t).length-1,t=t.parentNode),D.isBR(e)?(n=D.listPrev(e).length-1,e=e.parentNode):D.isVoid(e)&&(n=D.listPrev(e).length,e=e.parentNode),this.create(t,i,e,n)},createFromNodeBefore:function(e){return this.createFromNode(e).collapse(!0)},createFromNodeAfter:function(e){return this.createFromNode(e).collapse()},createFromBookmark:function(e,t){var i=D.fromOffsetPath(e,t.s.path),n=t.s.offset,e=D.fromOffsetPath(e,t.e.path),t=t.e.offset;return new E(i,n,e,t)},createFromParaBookmark:function(e,t){var i=e.s.offset,n=e.e.offset,r=D.fromOffsetPath(d.head(t),e.s.path),t=D.fromOffsetPath(d.last(t),e.e.path);return new E(r,i,t,n)}},j={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,SPACE:32,DELETE:46,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221,HOME:36,END:35,PAGEUP:33,PAGEDOWN:34},O={isEdit:function(e){return d.contains([j.BACKSPACE,j.TAB,j.ENTER,j.SPACE,j.DELETE],e)},isMove:function(e){return d.contains([j.LEFT,j.UP,j.RIGHT,j.DOWN],e)},isNavigation:function(e){return d.contains([j.HOME,j.END,j.PAGEUP,j.PAGEDOWN],e)},nameFromCode:u.invertObject(j),code:j};function be(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var _e=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.stack=[],this.stackOffset=-1,this.context=e,this.$editable=e.layoutInfo.editable,this.editable=this.$editable[0]}var e,i,n;return e=t,(i=[{key:"makeSnapshot",value:function(){var e=A.create(this.editable);return{contents:this.$editable.html(),bookmark:e&&e.isOnEditable()?e.bookmark(this.editable):{s:{path:[],offset:0},e:{path:[],offset:0}}}}},{key:"applySnapshot",value:function(e){null!==e.contents&&this.$editable.html(e.contents),null!==e.bookmark&&A.createFromBookmark(this.editable,e.bookmark).select()}},{key:"rewind",value:function(){this.$editable.html()!==this.stack[this.stackOffset].contents&&this.recordUndo(),this.stackOffset=0,this.applySnapshot(this.stack[this.stackOffset])}},{key:"commit",value:function(){this.stack=[],this.stackOffset=-1,this.recordUndo()}},{key:"reset",value:function(){this.stack=[],this.stackOffset=-1,this.$editable.html(""),this.recordUndo()}},{key:"undo",value:function(){this.$editable.html()!==this.stack[this.stackOffset].contents&&this.recordUndo(),0<this.stackOffset&&(this.stackOffset--,this.applySnapshot(this.stack[this.stackOffset]))}},{key:"redo",value:function(){this.stack.length-1>this.stackOffset&&(this.stackOffset++,this.applySnapshot(this.stack[this.stackOffset]))}},{key:"recordUndo",value:function(){this.stackOffset++,this.stack.length>this.stackOffset&&(this.stack=this.stack.slice(0,this.stackOffset)),this.stack.push(this.makeSnapshot()),this.stack.length>this.context.options.historyLimit&&(this.stack.shift(),--this.stackOffset)}}])&&be(e.prototype,i),n&&be(e,n),t}();function xe(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var we=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,i,n;return t=e,(i=[{key:"jQueryCSS",value:function(i,e){var n;return c.jqueryVersion<1.9?(n={},b.a.each(e,function(e,t){n[t]=i.css(t)}),n):i.css(e)}},{key:"fromNode",value:function(e){var t=this.jQueryCSS(e,["font-family","font-size","text-align","list-style-type","line-height"])||{},e=e[0].style.fontSize||t["font-size"];return t["font-size"]=parseInt(e,10),t["font-size-unit"]=e.match(/[a-z%]+$/),t}},{key:"stylePara",value:function(e,i){b.a.each(e.nodes(D.isPara,{includeAncestor:!0}),function(e,t){b()(t).css(i)})}},{key:"styleNodes",value:function(e,t){e=e.splitText();var i=t&&t.nodeName||"SPAN",n=!(!t||!t.expandClosestSibling),t=!(!t||!t.onlyPartialContains);if(e.isCollapsed())return[e.insertNode(D.create(i))];var r,s=D.makePredByNodeName(i),o=e.nodes(D.isText,{fullyContains:!0}).map(function(e){return D.singleChildAncestor(e,s)||D.wrap(e,i)});return n?(t&&(r=e.nodes(),s=u.and(s,function(e){return d.contains(r,e)})),o.map(function(e){var e=D.withClosestSiblings(e,s),i=d.head(e),t=d.tail(e);return b.a.each(t,function(e,t){D.appendChildNodes(i,t.childNodes),D.remove(t)}),d.head(e)})):o}},{key:"current",value:function(e){var t=b()(D.isElement(e.sc)?e.sc:e.sc.parentNode),t=this.fromNode(t);try{t=b.a.extend(t,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal","font-family":document.queryCommandValue("fontname")||t["font-family"]})}catch(e){}e.isOnList()?(i=-1<["circle","disc","disc-leading-zero","square"].indexOf(t["list-style-type"]),t["list-style"]=i?"unordered":"ordered"):t["list-style"]="none";var i=D.ancestor(e.sc,D.isPara);return i&&i.style["line-height"]?t["line-height"]=i.style.lineHeight:(i=parseInt(t["line-height"],10)/parseInt(t["font-size"],10),t["line-height"]=i.toFixed(1)),t.anchor=e.isOnAnchor()&&D.ancestor(e.sc,D.isAnchor),t.ancestors=D.listAncestor(e.sc,D.isEditable),t.range=e,t}}])&&xe(t.prototype,i),n&&xe(t,n),e}();function ke(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Se=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,i,n;return t=e,(i=[{key:"insertOrderedList",value:function(e){this.toggleList("OL",e)}},{key:"insertUnorderedList",value:function(e){this.toggleList("UL",e)}},{key:"indent",value:function(e){var r=this,e=A.create(e).wrapBodyInlineWithPara(),t=e.nodes(D.isPara,{includeAncestor:!0}),t=d.clusterBy(t,u.peq2("parentNode"));b.a.each(t,function(e,t){var i,n=d.head(t);D.isLi(n)?(i=r.findList(n.previousSibling))?t.map(function(e){return i.appendChild(e)}):(r.wrapList(t,n.parentNode.nodeName),t.map(function(e){return e.parentNode}).map(function(e){return r.appendToPrevious(e)})):b.a.each(t,function(e,t){b()(t).css("marginLeft",function(e,t){return(parseInt(t,10)||0)+25})})}),e.select()}},{key:"outdent",value:function(e){var n=this,e=A.create(e).wrapBodyInlineWithPara(),t=e.nodes(D.isPara,{includeAncestor:!0}),t=d.clusterBy(t,u.peq2("parentNode"));b.a.each(t,function(e,t){var i=d.head(t);D.isLi(i)?n.releaseList([t]):b.a.each(t,function(e,t){b()(t).css("marginLeft",function(e,t){return 25<(t=parseInt(t,10)||0)?t-25:""})})}),e.select()}},{key:"toggleList",value:function(i,e){var n,r=this,e=A.create(e).wrapBodyInlineWithPara(),t=e.nodes(D.isPara,{includeAncestor:!0}),s=e.paraBookmark(t),o=d.clusterBy(t,u.peq2("parentNode"));d.find(t,D.isPurePara)?(n=[],b.a.each(o,function(e,t){n=n.concat(r.wrapList(t,i))}),t=n):(e=e.nodes(D.isList,{includeAncestor:!0}).filter(function(e){return!b.a.nodeName(e,i)})).length?b.a.each(e,function(e,t){D.replace(t,i)}):t=this.releaseList(o,!0),A.createFromParaBookmark(s,t).select()}},{key:"wrapList",value:function(e,t){var i=d.head(e),n=d.last(e),i=D.isList(i.previousSibling)&&i.previousSibling,r=D.isList(n.nextSibling)&&n.nextSibling,i=i||D.insertAfter(D.create(t||"UL"),n);return e=e.map(function(e){return D.isPurePara(e)?D.replace(e,"LI"):e}),D.appendChildNodes(i,e),r&&(D.appendChildNodes(i,d.from(r.childNodes)),D.remove(r)),e}},{key:"releaseList",value:function(e,o){var a=this,l=[];return b.a.each(e,function(e,t){var i=d.head(t),n=d.last(t),r=o?D.lastAncestor(i,D.isList):i.parentNode,s=r.parentNode;"LI"===r.parentNode.nodeName?(t.map(function(e){var t=a.findNextSiblings(e);s.nextSibling?s.parentNode.insertBefore(e,s.nextSibling):s.parentNode.appendChild(e),t.length&&(a.wrapList(t,r.nodeName),e.appendChild(t[0].parentNode))}),0===r.children.length&&s.removeChild(r),0===s.childNodes.length&&s.parentNode.removeChild(s)):(n=1<r.childNodes.length?D.splitTree(r,{node:n.parentNode,offset:D.position(n)+1},{isSkipPaddingBlankHTML:!0}):null,i=D.splitTree(r,{node:i.parentNode,offset:D.position(i)},{isSkipPaddingBlankHTML:!0}),t=o?D.listDescendant(i,D.isLi):d.from(i.childNodes).filter(D.isLi),!o&&D.isList(r.parentNode)||(t=t.map(function(e){return D.replace(e,"P")})),b.a.each(d.from(t).reverse(),function(e,t){D.insertAfter(t,r)}),i=d.compact([r,i,n]),b.a.each(i,function(e,t){t=[t].concat(D.listDescendant(t,D.isList));b.a.each(t.reverse(),function(e,t){D.nodeLength(t)||D.remove(t,!0)})})),l=l.concat(t)}),l}},{key:"appendToPrevious",value:function(e){return e.previousSibling?D.appendChildNodes(e.previousSibling,[e]):this.wrapList([e],"LI")}},{key:"findList",value:function(e){return e?d.find(e.children,function(e){return-1<["OL","UL"].indexOf(e.nodeName)}):null}},{key:"findNextSiblings",value:function(e){for(var t=[];e.nextSibling;)t.push(e.nextSibling),e=e.nextSibling;return t}}])&&ke(t.prototype,i),n&&ke(t,n),e}();function Me(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ce=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.bullet=new Se,this.options=e.options}var e,i,n;return e=t,(i=[{key:"insertTab",value:function(e,t){var i=D.createText(new Array(t+1).join(D.NBSP_CHAR));(e=e.deleteContents()).insertNode(i,!0),(e=A.create(i,t)).select()}},{key:"insertParagraph",value:function(e,t){t=(t=(t=t||A.create(e)).deleteContents()).wrapBodyInlineWithPara();var i=D.ancestor(t.sc,D.isPara);if(i){if(D.isLi(i)&&(D.isEmpty(i)||D.deepestChildIsEmpty(i)))return void this.bullet.toggleList(i.parentNode.nodeName);var n,r,s=null;1===this.options.blockquoteBreakingLevel?s=D.ancestor(i,D.isBlockquote):2===this.options.blockquoteBreakingLevel&&(s=D.lastAncestor(i,D.isBlockquote)),s?(n=b()(D.emptyPara)[0],D.isRightEdgePoint(t.getStartPoint())&&D.isBR(t.sc.nextSibling)&&b()(t.sc.nextSibling).remove(),(r=D.splitTree(s,t.getStartPoint(),{isDiscardEmptySplits:!0}))?r.parentNode.insertBefore(n,r):D.insertAfter(n,s)):(n=D.splitTree(i,t.getStartPoint()),r=(r=D.listDescendant(i,D.isEmptyAnchor)).concat(D.listDescendant(n,D.isEmptyAnchor)),b.a.each(r,function(e,t){D.remove(t)}),(D.isHeading(n)||D.isPre(n)||D.isCustomStyleTag(n))&&D.isEmpty(n)&&(n=D.replace(n,"p")))}else{s=t.sc.childNodes[t.so];n=b()(D.emptyPara)[0],s?t.sc.insertBefore(n,s):t.sc.appendChild(n)}A.create(n,0).normalize().select().scrollIntoView(e)}}])&&Me(e.prototype,i),n&&Me(e,n),t}();function Le(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P(e,c,u,g){var v={colPos:0,rowPos:0},d=[],h=[];function y(e,t,i,n,r,s,o){i={baseRow:i,baseCell:n,isRowSpan:r,isColSpan:s,isVirtual:o};d[e]||(d[e]=[]),d[e][t]=i}function b(e,t){if(!d[e])return t;if(!d[e][t])return t;for(var i=t;d[e][i];)if(!d[e][++i])return i}function _(e,t,i,n){e===v.rowPos&&v.colPos>=i.cellIndex&&i.cellIndex<=t&&!n&&v.colPos++}function t(){for(var e=g.rows,t=0;t<e.length;t++)for(var i=e[t].cells,n=0;n<i.length;n++){m=p=f=h=d=u=c=l=a=o=s=r=void 0;var r=e[t],s=i[n],o=b(r.rowIndex,s.cellIndex),a=1<s.colSpan,l=1<s.rowSpan,c=r.rowIndex===v.rowPos&&s.cellIndex===v.colPos,u=(y(r.rowIndex,o,r,s,l,a,!1),s.attributes.rowSpan?parseInt(s.attributes.rowSpan.value,10):0);if(1<u)for(var d=1;d<u;d++){var h=r.rowIndex+d;_(h,o,s,c),y(h,o,r,s,!0,a,!0)}var f=s.attributes.colSpan?parseInt(s.attributes.colSpan.value,10):0;if(1<f)for(var p=1;p<f;p++){var m=b(r.rowIndex,o+p);_(r.rowIndex,m,s,c),y(r.rowIndex,m,r,s,l,!0,!0)}}}this.getActionList=function(){for(var e=c===P.where.Row?v.rowPos:-1,t=c===P.where.Column?v.colPos:-1,i=0,n=!0;n;){var r=0<=e?e:i,s=0<=t?t:i,o=d[r];if(!o)return n=!1,h;var a=o[s];if(!a)return n=!1,h;var l=P.resultAction.Ignore;switch(u){case P.requestAction.Add:l=function(e){switch(c){case P.where.Column:if(e.isColSpan)return P.resultAction.SumSpanCount;if(e.isRowSpan&&e.isVirtual)return P.resultAction.Ignore;break;case P.where.Row:if(e.isRowSpan)return P.resultAction.SumSpanCount;if(e.isColSpan&&e.isVirtual)return P.resultAction.Ignore}return P.resultAction.AddCell}(a);break;case P.requestAction.Delete:l=function(e){switch(c){case P.where.Column:if(e.isColSpan)return P.resultAction.SubtractSpanCount;break;case P.where.Row:if(!e.isVirtual&&e.isRowSpan)return P.resultAction.AddCell;if(e.isRowSpan)return P.resultAction.SubtractSpanCount}return P.resultAction.RemoveCell}(a)}h.push((o=l,{baseCell:a.baseCell,action:o,virtualTable:{rowIndex:r,cellIndex:s}})),i++}return h},e&&e.tagName&&("td"===e.tagName.toLowerCase()||"th"===e.tagName.toLowerCase())&&(v.colPos=e.cellIndex,e.parentElement&&e.parentElement.tagName&&"tr"===e.parentElement.tagName.toLowerCase()&&(v.rowPos=e.parentElement.rowIndex)),t()}P.where={Row:0,Column:1},P.requestAction={Add:0,Delete:1},P.resultAction={Ignore:0,SubtractSpanCount:1,RemoveCell:2,AddCell:3,SumSpanCount:4};var Te=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")}var t,i,n;return t=e,(i=[{key:"tab",value:function(e,t){var e=D.ancestor(e.commonAncestor(),D.isCell),i=D.ancestor(e,D.isTable),i=D.listDescendant(i,D.isCell),t=d[t?"prev":"next"](i,e);t&&A.create(t,0).select()}},{key:"addRow",value:function(e,t){for(var e=D.ancestor(e.commonAncestor(),D.isCell),i=b()(e).closest("tr"),n=this.recoverAttributes(i),r=b()("<tr"+n+"></tr>"),s=new P(e,P.where.Row,P.requestAction.Add,b()(i).closest("table")[0]).getActionList(),o=0;o<s.length;o++){var a=s[o],l=this.recoverAttributes(a.baseCell);switch(a.action){case P.resultAction.AddCell:r.append("<td"+l+">"+D.blank+"</td>");break;case P.resultAction.SumSpanCount:if("top"===t)if((a.baseCell.parent?a.baseCell.closest("tr").rowIndex:0)<=i[0].rowIndex){var c=b()("<div></div>").append(b()("<td"+l+">"+D.blank+"</td>").removeAttr("rowspan")).html();r.append(c);break}c=parseInt(a.baseCell.rowSpan,10);c++,a.baseCell.setAttribute("rowSpan",c)}}if("top"===t)i.before(r);else{if(1<e.rowSpan)return n=i[0].rowIndex+(e.rowSpan-2),void b()(b()(i).parent().find("tr")[n]).after(b()(r));i.after(r)}}},{key:"addCol",value:function(e,t){var e=D.ancestor(e.commonAncestor(),D.isCell),i=b()(e).closest("tr");b()(i).siblings().push(i);for(var n=new P(e,P.where.Column,P.requestAction.Add,b()(i).closest("table")[0]).getActionList(),r=0;r<n.length;r++){var s,o=n[r],a=this.recoverAttributes(o.baseCell);switch(o.action){case P.resultAction.AddCell:"right"===t?b()(o.baseCell).after("<td"+a+">"+D.blank+"</td>"):b()(o.baseCell).before("<td"+a+">"+D.blank+"</td>");break;case P.resultAction.SumSpanCount:"right"===t?(s=parseInt(o.baseCell.colSpan,10),s++,o.baseCell.setAttribute("colSpan",s)):b()(o.baseCell).before("<td"+a+">"+D.blank+"</td>")}}}},{key:"recoverAttributes",value:function(e){var t="";if(!e)return t;for(var i=e.attributes||[],n=0;n<i.length;n++)"id"!==i[n].name.toLowerCase()&&i[n].specified&&(t+=" "+i[n].name+"='"+i[n].value+"'");return t}},{key:"deleteRow",value:function(e){for(var e=D.ancestor(e.commonAncestor(),D.isCell),t=b()(e).closest("tr"),i=t.children("td, th").index(b()(e)),n=t[0].rowIndex,r=new P(e,P.where.Row,P.requestAction.Delete,b()(t).closest("table")[0]).getActionList(),s=0;s<r.length;s++)if(r[s]){var o=r[s].baseCell,a=r[s].virtualTable,l=o.rowSpan&&1<o.rowSpan,c=l?parseInt(o.rowSpan,10):0;switch(r[s].action){case P.resultAction.Ignore:continue;case P.resultAction.AddCell:var u=t.next("tr")[0];if(!u)continue;var d=t[0].cells[i];l&&(2<c?(c--,u.insertBefore(d,u.cells[i]),u.cells[i].setAttribute("rowSpan",c),u.cells[i].innerHTML=""):2===c&&(u.insertBefore(d,u.cells[i]),u.cells[i].removeAttribute("rowSpan"),u.cells[i].innerHTML=""));continue;case P.resultAction.SubtractSpanCount:l&&(2<c?(c--,o.setAttribute("rowSpan",c),a.rowIndex!==n&&o.cellIndex===i&&(o.innerHTML="")):2===c&&(o.removeAttribute("rowSpan"),a.rowIndex!==n&&o.cellIndex===i&&(o.innerHTML="")));continue;case P.resultAction.RemoveCell:continue}}t.remove()}},{key:"deleteCol",value:function(e){for(var e=D.ancestor(e.commonAncestor(),D.isCell),t=b()(e).closest("tr"),i=t.children("td, th").index(b()(e)),n=new P(e,P.where.Column,P.requestAction.Delete,b()(t).closest("table")[0]).getActionList(),r=0;r<n.length;r++)if(n[r])switch(n[r].action){case P.resultAction.Ignore:continue;case P.resultAction.SubtractSpanCount:var s,o=n[r].baseCell;o.colSpan&&1<o.colSpan&&(2<(s=o.colSpan?parseInt(o.colSpan,10):0)?(s--,o.setAttribute("colSpan",s),o.cellIndex===i&&(o.innerHTML="")):2===s&&(o.removeAttribute("colSpan"),o.cellIndex===i&&(o.innerHTML="")));continue;case P.resultAction.RemoveCell:D.remove(n[r].baseCell,!0);continue}}},{key:"createTable",value:function(e,t,i){for(var n=[],r=0;r<e;r++)n.push("<td>"+D.blank+"</td>");for(var s=n.join(""),o=[],a=0;a<t;a++)o.push("<tr>"+s+"</tr>");var l=o.join(""),l=b()("<table>"+l+"</table>");return i&&i.tableClassName&&l.addClass(i.tableClassName),l[0]}},{key:"deleteTable",value:function(e){e=D.ancestor(e.commonAncestor(),D.isCell);b()(e).closest("table").remove()}}])&&Le(t.prototype,i),n&&Le(t,n),e}();function De(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Y=function(){function s(e){var o=this;if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");this.context=e,this.$note=e.layoutInfo.note,this.$editor=e.layoutInfo.editor,this.$editable=e.layoutInfo.editable,this.options=e.options,this.lang=this.options.langInfo,this.editable=this.$editable[0],this.lastRange=null,this.snapshot=null,this.style=new we,this.table=new Te,this.typing=new Ce(e),this.bullet=new Se,this.history=new _e(e),this.context.memo("help.escape",this.lang.help.escape),this.context.memo("help.undo",this.lang.help.undo),this.context.memo("help.redo",this.lang.help.redo),this.context.memo("help.tab",this.lang.help.tab),this.context.memo("help.untab",this.lang.help.untab),this.context.memo("help.insertParagraph",this.lang.help.insertParagraph),this.context.memo("help.insertOrderedList",this.lang.help.insertOrderedList),this.context.memo("help.insertUnorderedList",this.lang.help.insertUnorderedList),this.context.memo("help.indent",this.lang.help.indent),this.context.memo("help.outdent",this.lang.help.outdent),this.context.memo("help.formatPara",this.lang.help.formatPara),this.context.memo("help.insertHorizontalRule",this.lang.help.insertHorizontalRule),this.context.memo("help.fontName",this.lang.help.fontName);for(var t=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor"],i=0,n=t.length;i<n;i++)this[t[i]]=function(t){return function(e){o.beforeCommand(),document.execCommand(t,!1,e),o.afterCommand(!0)}}(t[i]),this.context.memo("help."+t[i],this.lang.help[t[i]]);this.fontName=this.wrapCommand(function(e){return o.fontStyling("font-family",c.validFontName(e))}),this.fontSize=this.wrapCommand(function(e){var t=o.currentStyle()["font-size-unit"];return o.fontStyling("font-size",e+t)}),this.fontSizeUnit=this.wrapCommand(function(e){var t=o.currentStyle()["font-size"];return o.fontStyling("font-size",t+e)});for(var r=1;r<=6;r++)this["formatH"+r]=function(e){return function(){o.formatBlock("H"+e)}}(r),this.context.memo("help.formatH"+r,this.lang.help["formatH"+r]);this.insertParagraph=this.wrapCommand(function(){o.typing.insertParagraph(o.editable)}),this.insertOrderedList=this.wrapCommand(function(){o.bullet.insertOrderedList(o.editable)}),this.insertUnorderedList=this.wrapCommand(function(){o.bullet.insertUnorderedList(o.editable)}),this.indent=this.wrapCommand(function(){o.bullet.indent(o.editable)}),this.outdent=this.wrapCommand(function(){o.bullet.outdent(o.editable)}),this.insertNode=this.wrapCommand(function(e){o.isLimited(b()(e).text().length)||(o.getLastRange().insertNode(e),o.setLastRange(A.createFromNodeAfter(e).select()))}),this.insertText=this.wrapCommand(function(e){o.isLimited(e.length)||(e=o.getLastRange().insertNode(D.createText(e)),o.setLastRange(A.create(e,D.nodeLength(e)).select()))}),this.pasteHTML=this.wrapCommand(function(e){o.isLimited(e.length)||(e=o.context.invoke("codeview.purify",e),e=o.getLastRange().pasteHTML(e),o.setLastRange(A.createFromNodeAfter(d.last(e)).select()))}),this.formatBlock=this.wrapCommand(function(e,t){var i=o.options.callbacks.onApplyCustomStyle;i?i.call(o,t,o.context,o.onFormatBlock):o.onFormatBlock(e,t)}),this.insertHorizontalRule=this.wrapCommand(function(){var e=o.getLastRange().insertNode(D.create("HR"));e.nextSibling&&o.setLastRange(A.create(e.nextSibling,0).normalize().select())}),this.lineHeight=this.wrapCommand(function(e){o.style.stylePara(o.getLastRange(),{lineHeight:e})}),this.createLink=this.wrapCommand(function(e){var i=e.url,t=e.text,n=e.isNewWindow,r=e.checkProtocol,e=e.range||o.getLastRange(),s=t.length-e.toString().length;0<s&&o.isLimited(s)||(s=e.toString()!==t,"string"==typeof i&&(i=i.trim()),o.options.onCreateLink?i=o.options.onCreateLink(i):r&&(i=/^([A-Za-z][A-Za-z0-9+-.]*\:|#|\/)/.test(i)?i:o.options.defaultProtocol+i),r=[],s?(s=(e=e.deleteContents()).insertNode(b()("<A>"+t+"</A>")[0]),r.push(s)):r=o.style.styleNodes(e,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0}),b.a.each(r,function(e,t){b()(t).attr("href",i),n?b()(t).attr("target","_blank"):b()(t).removeAttr("target")}),o.setLastRange(o.createRangeFromList(r).select()))}),this.color=this.wrapCommand(function(e){var t=e.foreColor,e=e.backColor;t&&document.execCommand("foreColor",!1,t),e&&document.execCommand("backColor",!1,e)}),this.foreColor=this.wrapCommand(function(e){document.execCommand("foreColor",!1,e)}),this.insertTable=this.wrapCommand(function(e){e=e.split("x");o.getLastRange().deleteContents().insertNode(o.table.createTable(e[0],e[1],o.options))}),this.removeMedia=this.wrapCommand(function(){var e=b()(o.restoreTarget()).parent();e.closest("figure").length?e.closest("figure").remove():e=b()(o.restoreTarget()).detach(),o.context.triggerEvent("media.delete",e,o.$editable)}),this.floatMe=this.wrapCommand(function(e){var t=b()(o.restoreTarget());t.toggleClass("note-float-left","left"===e),t.toggleClass("note-float-right","right"===e),t.css("float","none"===e?"":e)}),this.resize=this.wrapCommand(function(e){var t=b()(o.restoreTarget());0===(e=parseFloat(e))?t.css("width",""):t.css({width:100*e+"%",height:""})})}var e,t,i;return e=s,(t=[{key:"initialize",value:function(){var t=this;this.$editable.on("keydown",function(e){if(e.keyCode===O.code.ENTER&&t.context.triggerEvent("enter",e),t.context.triggerEvent("keydown",e),t.snapshot=t.history.makeSnapshot(),t.hasKeyShortCut=!1,e.isDefaultPrevented()||(t.options.shortcuts?t.hasKeyShortCut=t.handleKeyMap(e):t.preventDefaultEditableShortCuts(e)),t.isLimited(1,e)){e=t.getLastRange();if(e.eo-e.so==0)return!1}t.setLastRange(),t.options.recordEveryKeystroke&&!1===t.hasKeyShortCut&&t.history.recordUndo()}).on("keyup",function(e){t.setLastRange(),t.context.triggerEvent("keyup",e)}).on("focus",function(e){t.setLastRange(),t.context.triggerEvent("focus",e)}).on("blur",function(e){t.context.triggerEvent("blur",e)}).on("mousedown",function(e){t.context.triggerEvent("mousedown",e)}).on("mouseup",function(e){t.setLastRange(),t.history.recordUndo(),t.context.triggerEvent("mouseup",e)}).on("scroll",function(e){t.context.triggerEvent("scroll",e)}).on("paste",function(e){t.setLastRange(),t.context.triggerEvent("paste",e)}).on("input",function(){t.isLimited(0)&&t.snapshot&&t.history.applySnapshot(t.snapshot)}),this.$editable.attr("spellcheck",this.options.spellCheck),this.$editable.attr("autocorrect",this.options.spellCheck),this.options.disableGrammar&&this.$editable.attr("data-gramm",!1),this.$editable.html(D.html(this.$note)||D.emptyPara),this.$editable.on(c.inputEventName,u.debounce(function(){t.context.triggerEvent("change",t.$editable.html(),t.$editable)},10)),this.$editable.on("focusin",function(e){t.context.triggerEvent("focusin",e)}).on("focusout",function(e){t.context.triggerEvent("focusout",e)}),this.options.airMode?this.options.overrideContextMenu&&this.$editor.on("contextmenu",function(e){return t.context.triggerEvent("contextmenu",e),!1}):(this.options.width&&this.$editor.outerWidth(this.options.width),this.options.height&&this.$editable.outerHeight(this.options.height),this.options.maxHeight&&this.$editable.css("max-height",this.options.maxHeight),this.options.minHeight&&this.$editable.css("min-height",this.options.minHeight)),this.history.recordUndo(),this.setLastRange()}},{key:"destroy",value:function(){this.$editable.off()}},{key:"handleKeyMap",value:function(e){var t=this.options.keyMap[c.isMac?"mac":"pc"],i=[],n=(e.metaKey&&i.push("CMD"),e.ctrlKey&&!e.altKey&&i.push("CTRL"),e.shiftKey&&i.push("SHIFT"),O.nameFromCode[e.keyCode]),t=(n&&i.push(n),t[i.join("+")]);if("TAB"!==n||this.options.tabDisable)if(t){if(!1!==this.context.invoke(t))return e.preventDefault(),!0}else O.isEdit(e.keyCode)&&this.afterCommand();else this.afterCommand();return!1}},{key:"preventDefaultEditableShortCuts",value:function(e){(e.ctrlKey||e.metaKey)&&d.contains([66,73,85],e.keyCode)&&e.preventDefault()}},{key:"isLimited",value:function(e,t){return e=e||0,(void 0===t||!(O.isMove(t.keyCode)||O.isNavigation(t.keyCode)||t.ctrlKey||t.metaKey||d.contains([O.code.BACKSPACE,O.code.DELETE],t.keyCode)))&&(0<this.options.maxTextLength&&this.$editable.text().length+e>this.options.maxTextLength)}},{key:"createRange",value:function(){return this.focus(),this.setLastRange(),this.getLastRange()}},{key:"createRangeFromList",value:function(e){var t=A.createFromNodeBefore(d.head(e)).getStartPoint(),e=A.createFromNodeAfter(d.last(e)).getEndPoint();return A.create(t.node,t.offset,e.node,e.offset)}},{key:"setLastRange",value:function(e){e?this.lastRange=e:(this.lastRange=A.create(this.editable),0===b()(this.lastRange.sc).closest(".note-editable").length&&(this.lastRange=A.createFromBodyElement(this.editable)))}},{key:"getLastRange",value:function(){return this.lastRange||this.setLastRange(),this.lastRange}},{key:"saveRange",value:function(e){e&&this.getLastRange().collapse().select()}},{key:"restoreRange",value:function(){this.lastRange&&(this.lastRange.select(),this.focus())}},{key:"saveTarget",value:function(e){this.$editable.data("target",e)}},{key:"clearTarget",value:function(){this.$editable.removeData("target")}},{key:"restoreTarget",value:function(){return this.$editable.data("target")}},{key:"currentStyle",value:function(){var e=A.create();return(e=e&&e.normalize())?this.style.current(e):this.style.fromNode(this.$editable)}},{key:"styleFromNode",value:function(e){return this.style.fromNode(e)}},{key:"undo",value:function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.undo(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)}},{key:"commit",value:function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.commit(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)}},{key:"redo",value:function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.redo(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)}},{key:"beforeCommand",value:function(){this.context.triggerEvent("before.command",this.$editable.html()),document.execCommand("styleWithCSS",!1,this.options.styleWithCSS),this.focus()}},{key:"afterCommand",value:function(e){this.normalizeContent(),this.history.recordUndo(),e||this.context.triggerEvent("change",this.$editable.html(),this.$editable)}},{key:"tab",value:function(){var e=this.getLastRange();if(e.isCollapsed()&&e.isOnCell())this.table.tab(e);else{if(0===this.options.tabSize)return!1;this.isLimited(this.options.tabSize)||(this.beforeCommand(),this.typing.insertTab(e,this.options.tabSize),this.afterCommand())}}},{key:"untab",value:function(){var e=this.getLastRange();if(e.isCollapsed()&&e.isOnCell())this.table.tab(e,!0);else if(0===this.options.tabSize)return!1}},{key:"wrapCommand",value:function(e){return function(){this.beforeCommand(),e.apply(this,arguments),this.afterCommand()}}},{key:"insertImage",value:function(e,t){var i,n=this;return i=e,b.a.Deferred(function(e){var t=b()("<img>");t.one("load",function(){t.off("error abort"),e.resolve(t)}).one("error abort",function(){t.off("load").detach(),e.reject(t)}).css({display:"none"}).appendTo(document.body).attr("src",i)}).promise().then(function(e){n.beforeCommand(),"function"==typeof t?t(e):("string"==typeof t&&e.attr("data-filename",t),e.css("width",Math.min(n.$editable.width(),e.width()))),e.show(),n.getLastRange().insertNode(e[0]),n.setLastRange(A.createFromNodeAfter(e[0]).select()),n.afterCommand()}).fail(function(e){n.context.triggerEvent("image.upload.error",e)})}},{key:"insertImagesAsDataURL",value:function(e){var r=this;b.a.each(e,function(e,t){var i,n=t.name;r.options.maximumImageFileSize&&r.options.maximumImageFileSize<t.size?r.context.triggerEvent("image.upload.error",r.lang.image.maximumFileSizeError):(i=t,b.a.Deferred(function(t){b.a.extend(new FileReader,{onload:function(e){e=e.target.result;t.resolve(e)},onerror:function(e){t.reject(e)}}).readAsDataURL(i)}).promise().then(function(e){return r.insertImage(e,n)}).fail(function(){r.context.triggerEvent("image.upload.error")}))})}},{key:"insertImagesOrCallback",value:function(e){this.options.callbacks.onImageUpload?this.context.triggerEvent("image.upload",e):this.insertImagesAsDataURL(e)}},{key:"getSelectedText",value:function(){var e=this.getLastRange();return(e=e.isOnAnchor()?A.createFromNode(D.ancestor(e.sc,D.isAnchor)):e).toString()}},{key:"onFormatBlock",value:function(e,t){var i;document.execCommand("FormatBlock",!1,c.isMSIE?"<"+e+">":e),t&&t.length&&(t=t[0].tagName.toUpperCase()!==e.toUpperCase()?t.find(e):t)&&t.length&&((t=t[0].className||"")&&(i=this.createRange(),b()([i.sc,i.ec]).closest(e).addClass(t)))}},{key:"formatPara",value:function(){this.formatBlock("P")}},{key:"fontStyling",value:function(e,t){var i,n,r=this.getLastRange();""!==r?(i=this.style.styleNodes(r),this.$editor.find(".note-status-output").html(""),b()(i).css(e,t),r.isCollapsed()?(e=d.head(i))&&!D.nodeLength(e)&&(e.innerHTML=D.ZERO_WIDTH_NBSP_CHAR,A.createFromNode(e.firstChild).select(),this.setLastRange(),this.$editable.data("bogus",e)):this.setLastRange(this.createRangeFromList(i).select())):(n=b.a.now(),this.$editor.find(".note-status-output").html('<div id="note-status-output-'+n+'" class="alert alert-info">'+this.lang.output.noSelection+"</div>"),setTimeout(function(){b()("#note-status-output-"+n).remove()},5e3))}},{key:"unlink",value:function(){var e,t=this.getLastRange();t.isOnAnchor()&&(e=D.ancestor(t.sc,D.isAnchor),(t=A.createFromNode(e)).select(),this.setLastRange(),this.beforeCommand(),document.execCommand("unlink"),this.afterCommand())}},{key:"getLinkInfo",value:function(){var e=this.getLastRange().expand(D.isAnchor),t=b()(d.head(e.nodes(D.isAnchor))),e={range:e,text:e.toString(),url:t.length?t.attr("href"):""};return t.length&&(e.isNewWindow="_blank"===t.attr("target")),e}},{key:"addRow",value:function(e){var t=this.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.addRow(t,e),this.afterCommand())}},{key:"addCol",value:function(e){var t=this.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.addCol(t,e),this.afterCommand())}},{key:"deleteRow",value:function(){var e=this.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.deleteRow(e),this.afterCommand())}},{key:"deleteCol",value:function(){var e=this.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.deleteCol(e),this.afterCommand())}},{key:"deleteTable",value:function(){var e=this.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.deleteTable(e),this.afterCommand())}},{key:"resizeTo",value:function(e,t,i){var n;i=i?{width:(i=e.y/e.x)<(n=t.data("ratio"))?e.x:e.y/n,height:i<n?e.x*n:e.y}:{width:e.x,height:e.y},t.css(i)}},{key:"hasFocus",value:function(){return this.$editable.is(":focus")}},{key:"focus",value:function(){this.hasFocus()||this.$editable.focus()}},{key:"isEmpty",value:function(){return D.isEmpty(this.$editable[0])||D.emptyPara===this.$editable.html()}},{key:"empty",value:function(){this.context.invoke("code",D.emptyPara)}},{key:"normalizeContent",value:function(){this.$editable[0].normalize()}}])&&De(e.prototype,t),i&&De(e,i),s}();function Ee(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.$editable=e.layoutInfo.editable}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){this.$editable.on("paste",this.pasteByEvent.bind(this))}},{key:"pasteByEvent",value:function(e){var t,i=this,n=e.originalEvent.clipboardData;n&&n.items&&n.items.length?"file"===(t=1<n.items.length?n.items[1]:d.head(n.items)).kind&&-1!==t.type.indexOf("image/")?(this.context.invoke("editor.insertImagesOrCallback",[t.getAsFile()]),e.preventDefault()):"string"===t.kind&&this.context.invoke("editor.isLimited",n.getData("Text").length)&&e.preventDefault():window.clipboardData&&(t=window.clipboardData.getData("text"),this.context.invoke("editor.isLimited",t.length)&&e.preventDefault()),setTimeout(function(){i.context.invoke("editor.afterCommand")},10)}}])&&Ee(e.prototype,i),n&&Ee(e,n),t}();function Ae(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.$eventListener=b()(document),this.$editor=e.layoutInfo.editor,this.$editable=e.layoutInfo.editable,this.options=e.options,this.lang=this.options.langInfo,this.documentEventHandlers={},this.$dropzone=b()(['<div class="note-dropzone">','<div class="note-dropzone-message"></div>',"</div>"].join("")).prependTo(this.$editor)}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){this.options.disableDragAndDrop?(this.documentEventHandlers.onDrop=function(e){e.preventDefault()},this.$eventListener=this.$dropzone,this.$eventListener.on("drop",this.documentEventHandlers.onDrop)):this.attachDragAndDropEvent()}},{key:"attachDragAndDropEvent",value:function(){var r=this,n=b()(),s=this.$dropzone.find(".note-dropzone-message");this.documentEventHandlers.onDragenter=function(e){var t=r.context.invoke("codeview.isActivated"),i=0<r.$editor.width()&&0<r.$editor.height();t||n.length||!i||(r.$editor.addClass("dragover"),r.$dropzone.width(r.$editor.width()),r.$dropzone.height(r.$editor.height()),s.text(r.lang.image.dragImageHere)),n=n.add(e.target)},this.documentEventHandlers.onDragleave=function(e){(n=n.not(e.target)).length&&"BODY"!==e.target.nodeName||(n=b()(),r.$editor.removeClass("dragover"))},this.documentEventHandlers.onDrop=function(){n=b()(),r.$editor.removeClass("dragover")},this.$eventListener.on("dragenter",this.documentEventHandlers.onDragenter).on("dragleave",this.documentEventHandlers.onDragleave).on("drop",this.documentEventHandlers.onDrop),this.$dropzone.on("dragenter",function(){r.$dropzone.addClass("hover"),s.text(r.lang.image.dropImage)}).on("dragleave",function(){r.$dropzone.removeClass("hover"),s.text(r.lang.image.dragImageHere)}),this.$dropzone.on("drop",function(e){var n=e.originalEvent.dataTransfer;e.preventDefault(),n&&n.files&&n.files.length?(r.$editable.focus(),r.context.invoke("editor.insertImagesOrCallback",n.files)):b.a.each(n.types,function(e,t){var i;-1<t.toLowerCase().indexOf("_moz_")||(i=n.getData(t),-1<t.toLowerCase().indexOf("text")?r.context.invoke("editor.pasteHTML",i):b()(i).each(function(e,t){r.context.invoke("editor.insertNode",t)}))})}).on("dragover",!1)}},{key:"destroy",value:function(){var t=this;Object.keys(this.documentEventHandlers).forEach(function(e){t.$eventListener.off(e.substr(2).toLowerCase(),t.documentEventHandlers[e])}),this.documentEventHandlers={}}}])&&Ae(e.prototype,i),n&&Ae(e,n),t}();function je(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){var t,i;if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return Oe(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(i="Object"===i&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Oe(e,t):void 0}}(e)))return t=0,{s:i=function(){},n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,s=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,r=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw r}}}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function Pe(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}s=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.$editor=e.layoutInfo.editor,this.$editable=e.layoutInfo.editable,this.$codable=e.layoutInfo.codable,this.options=e.options,this.CodeMirrorConstructor=window.CodeMirror,this.options.codemirror.CodeMirrorConstructor&&(this.CodeMirrorConstructor=this.options.codemirror.CodeMirrorConstructor)}var e,i,n;return e=t,(i=[{key:"sync",value:function(e){var t=this.isActivated(),i=this.CodeMirrorConstructor;t&&(e?i?this.$codable.data("cmEditor").getDoc().setValue(e):this.$codable.val(e):i&&this.$codable.data("cmEditor").save())}},{key:"initialize",value:function(){var t=this;this.$codable.on("keyup",function(e){e.keyCode===O.code.ESCAPE&&t.deactivate()})}},{key:"isActivated",value:function(){return this.$editor.hasClass("codeview")}},{key:"toggle",value:function(){this.isActivated()?this.deactivate():this.activate(),this.context.triggerEvent("codeview.toggled")}},{key:"purify",value:function(e){var r;return this.options.codeviewFilter&&(e=e.replace(this.options.codeviewFilterRegex,""),this.options.codeviewIframeFilter&&(r=this.options.codeviewIframeWhitelistSrc.concat(this.options.codeviewIframeWhitelistSrcBase),e=e.replace(/(<iframe.*?>.*?(?:<\/iframe>)?)/gi,function(e){if(/<.+src(?==?('|"|\s)?)[\s\S]+src(?=('|"|\s)?)[^>]*?>/i.test(e))return"";var t,i=je(r);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(new RegExp('src="(https?:)?//'+n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+'/(.+)"').test(e))return e}}catch(e){i.e(e)}finally{i.f()}return""}))),e}},{key:"activate",value:function(){var t,i,n=this,e=this.CodeMirrorConstructor;this.$codable.val(D.html(this.$editable,this.options.prettifyHtml)),this.$codable.height(this.$editable.height()),this.context.invoke("toolbar.updateCodeview",!0),this.context.invoke("airPopover.updateCodeview",!0),this.$editor.addClass("codeview"),this.$codable.focus(),e?(t=e.fromTextArea(this.$codable[0],this.options.codemirror),this.options.codemirror.tern&&(i=new e.TernServer(this.options.codemirror.tern),t.ternServer=i,t.on("cursorActivity",function(e){i.updateArgHints(e)})),t.on("blur",function(e){n.context.triggerEvent("blur.codeview",t.getValue(),e)}),t.on("change",function(){n.context.triggerEvent("change.codeview",t.getValue(),t)}),t.setSize(null,this.$editable.outerHeight()),this.$codable.data("cmEditor",t)):(this.$codable.on("blur",function(e){n.context.triggerEvent("blur.codeview",n.$codable.val(),e)}),this.$codable.on("input",function(){n.context.triggerEvent("change.codeview",n.$codable.val(),n.$codable)}))}},{key:"deactivate",value:function(){this.CodeMirrorConstructor&&(e=this.$codable.data("cmEditor"),this.$codable.val(e.getValue()),e.toTextArea());var e=this.purify(D.value(this.$codable,this.options.prettifyHtml)||D.emptyPara),t=this.$editable.html()!==e;this.$editable.html(e),this.$editable.height(this.options.height?this.$codable.height():"auto"),this.$editor.removeClass("codeview"),t&&this.context.triggerEvent("change",this.$editable.html(),this.$editable),this.$editable.focus(),this.context.invoke("toolbar.updateCodeview",!1),this.context.invoke("airPopover.updateCodeview",!1)}},{key:"destroy",value:function(){this.isActivated()&&this.deactivate()}}])&&Pe(e.prototype,i),n&&Pe(e,n),t}();function Ye(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$document=b()(document),this.$statusbar=e.layoutInfo.statusbar,this.$editable=e.layoutInfo.editable,this.options=e.options}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var n=this;this.options.airMode||this.options.disableResizeEditor?this.destroy():this.$statusbar.on("mousedown",function(e){e.preventDefault(),e.stopPropagation();function t(e){e=e.clientY-(24+i),e=0<n.options.minheight?Math.max(e,n.options.minheight):e,e=0<n.options.maxHeight?Math.min(e,n.options.maxHeight):e,n.$editable.height(e)}var i=n.$editable.offset().top-n.$document.scrollTop();n.$document.on("mousemove",t).one("mouseup",function(){n.$document.off("mousemove",t)})})}},{key:"destroy",value:function(){this.$statusbar.off(),this.$statusbar.addClass("locked")}}])&&Ye(e.prototype,i),n&&Ye(e,n),t}();function Ie(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i=function(){function i(e){var t=this;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.context=e,this.$editor=e.layoutInfo.editor,this.$toolbar=e.layoutInfo.toolbar,this.$editable=e.layoutInfo.editable,this.$codable=e.layoutInfo.codable,this.$window=b()(window),this.$scrollbar=b()("html, body"),this.onResize=function(){t.resizeTo({h:t.$window.height()-t.$toolbar.outerHeight()})}}var e,t,n;return e=i,(t=[{key:"resizeTo",value:function(e){this.$editable.css("height",e.h),this.$codable.css("height",e.h),this.$codable.data("cmeditor")&&this.$codable.data("cmeditor").setsize(null,e.h)}},{key:"toggle",value:function(){this.$editor.toggleClass("fullscreen"),this.isFullscreen()?(this.$editable.data("orgHeight",this.$editable.css("height")),this.$editable.data("orgMaxHeight",this.$editable.css("maxHeight")),this.$editable.css("maxHeight",""),this.$window.on("resize",this.onResize).trigger("resize"),this.$scrollbar.css("overflow","hidden")):(this.$window.off("resize",this.onResize),this.resizeTo({h:this.$editable.data("orgHeight")}),this.$editable.css("maxHeight",this.$editable.css("orgMaxHeight")),this.$scrollbar.css("overflow","visible")),this.context.invoke("toolbar.updateFullscreen",this.isFullscreen())}},{key:"isFullscreen",value:function(){return this.$editor.hasClass("fullscreen")}}])&&Ie(e.prototype,t),n&&Ie(e,n),i}();function Ne(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}n=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.$document=b()(document),this.$editingArea=e.layoutInfo.editingArea,this.options=e.options,this.lang=this.options.langInfo,this.events={"summernote.mousedown":function(e,t){i.update(t.target,t)&&t.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){i.update()},"summernote.disable summernote.blur":function(){i.hide()},"summernote.codeview.toggled":function(){i.update()}}}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var s=this;this.$handle=b()(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>','<div class="',this.options.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',this.options.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(this.$editingArea),this.$handle.on("mousedown",function(e){var t,i,n,r;D.isControlSizing(e.target)&&(e.preventDefault(),e.stopPropagation(),t=s.$handle.find(".note-control-selection").data("target"),i=t.offset(),n=s.$document.scrollTop(),s.$document.on("mousemove",r=function(e){s.context.invoke("editor.resizeTo",{x:e.clientX-i.left,y:e.clientY-(i.top-n)},t,!e.shiftKey),s.update(t[0],e)}).one("mouseup",function(e){e.preventDefault(),s.$document.off("mousemove",r),s.context.invoke("editor.afterCommand")}),t.data("ratio")||t.data("ratio",t.height()/t.width()))}),this.$handle.on("wheel",function(e){e.preventDefault(),s.update()})}},{key:"destroy",value:function(){this.$handle.remove()}},{key:"update",value:function(e,t){if(this.context.isDisabled())return!1;var i,n,r=D.isImg(e),s=this.$handle.find(".note-control-selection");return this.context.invoke("imagePopover.update",e,t),r?(n={left:(n=(t=b()(e)).position()).left+parseInt(t.css("marginLeft"),10),top:n.top+parseInt(t.css("marginTop"),10)},i={w:t.outerWidth(!1),h:t.outerHeight(!1)},s.css({display:"block",left:n.left,top:n.top,width:i.w,height:i.h}).data("target",t),(n=new Image).src=t.attr("src"),t=i.w+"x"+i.h+" ("+this.lang.image.original+": "+n.width+"x"+n.height+")",s.find(".note-control-selection-info").text(t),this.context.invoke("editor.saveTarget",e)):this.hide(),r}},{key:"hide",value:function(){this.context.invoke("editor.clearTarget"),this.$handle.children().hide()}}])&&Ne(e.prototype,i),n&&Ne(e,n),t}();function He(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Fe=/^([A-Za-z][A-Za-z0-9+-.]*\:[\/]{2}|tel:|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i,Re=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.options=e.options,this.events={"summernote.keyup":function(e,t){t.isDefaultPrevented()||i.handleKeyup(t)},"summernote.keydown":function(e,t){i.handleKeydown(t)}}}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){this.lastWordRange=null}},{key:"destroy",value:function(){this.lastWordRange=null}},{key:"replace",value:function(){var e,t;!this.lastWordRange||(e=(t=this.lastWordRange.toString()).match(Fe))&&(e[1]||e[2])&&(e=e[1]?t:"http://"+t,t=this.options.showDomainOnlyForAutolink?t.replace(/^(?:https?:\/\/)?(?:tel?:?)?(?:mailto?:?)?(?:www\.)?/i,"").split("/")[0]:t,t=b()("<a />").html(t).attr("href",e)[0],this.context.options.linkTargetBlank&&b()(t).attr("target","_blank"),this.lastWordRange.insertNode(t),this.lastWordRange=null,this.context.invoke("editor.focus"))}},{key:"handleKeydown",value:function(e){d.contains([O.code.ENTER,O.code.SPACE],e.keyCode)&&(e=this.context.invoke("editor.createRange").getWordRange(),this.lastWordRange=e)}},{key:"handleKeyup",value:function(e){d.contains([O.code.ENTER,O.code.SPACE],e.keyCode)&&this.replace()}}])&&He(e.prototype,i),n&&He(e,n),t}();function ze(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var $e=function(){function i(e){var t=this;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.$note=e.layoutInfo.note,this.events={"summernote.change":function(){t.$note.val(e.invoke("code"))}}}var e,t,n;return e=i,(t=[{key:"shouldInitialize",value:function(){return D.isTextarea(this.$note[0])}}])&&ze(e.prototype,t),n&&ze(e,n),i}();function Be(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var qe=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.options=e.options.replace||{},this.keys=[O.code.ENTER,O.code.SPACE,O.code.PERIOD,O.code.COMMA,O.code.SEMICOLON,O.code.SLASH],this.previousKeydownCode=null,this.events={"summernote.keyup":function(e,t){t.isDefaultPrevented()||i.handleKeyup(t)},"summernote.keydown":function(e,t){i.handleKeydown(t)}}}var e,i,n;return e=t,(i=[{key:"shouldInitialize",value:function(){return!!this.options.match}},{key:"initialize",value:function(){this.lastWord=null}},{key:"destroy",value:function(){this.lastWord=null}},{key:"replace",value:function(){var i,e;this.lastWord&&(e=(i=this).lastWord.toString(),this.options.match(e,function(e){var t;e&&(t="","string"==typeof e?t=D.createText(e):e instanceof jQuery?t=e[0]:e instanceof Node&&(t=e),t&&(i.lastWord.insertNode(t),i.lastWord=null,i.context.invoke("editor.focus")))}))}},{key:"handleKeydown",value:function(e){var t;this.previousKeydownCode&&d.contains(this.keys,this.previousKeydownCode)||d.contains(this.keys,e.keyCode)&&(t=this.context.invoke("editor.createRange").getWordRange(),this.lastWord=t),this.previousKeydownCode=e.keyCode}},{key:"handleKeyup",value:function(e){d.contains(this.keys,e.keyCode)&&this.replace()}}])&&Be(e.prototype,i),n&&Be(e,n),t}();function We(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ve=function(){function i(e){var t=this;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.context=e,this.$editingArea=e.layoutInfo.editingArea,this.options=e.options,!0===this.options.inheritPlaceholder&&(this.options.placeholder=this.context.$note.attr("placeholder")||this.options.placeholder),this.events={"summernote.init summernote.change":function(){t.update()},"summernote.codeview.toggled":function(){t.update()}}}var e,t,n;return e=i,(t=[{key:"shouldInitialize",value:function(){return!!this.options.placeholder}},{key:"initialize",value:function(){var e=this;this.$placeholder=b()('<div class="note-placeholder">'),this.$placeholder.on("click",function(){e.context.invoke("focus")}).html(this.options.placeholder).prependTo(this.$editingArea),this.update()}},{key:"destroy",value:function(){this.$placeholder.remove()}},{key:"update",value:function(){var e=!this.context.invoke("codeview.isActivated")&&this.context.invoke("editor.isEmpty");this.$placeholder.toggle(e)}}])&&We(e.prototype,t),n&&We(e,n),i}();function Ue(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Xe=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.ui=b.a.summernote.ui,this.context=e,this.$toolbar=e.layoutInfo.toolbar,this.options=e.options,this.lang=this.options.langInfo,this.invertedKeyMap=u.invertObject(this.options.keyMap[c.isMac?"mac":"pc"])}var e,i,n;return e=t,(i=[{key:"representShortcut",value:function(e){e=this.invertedKeyMap[e];return this.options.shortcuts&&e?" ("+(e=(e=c.isMac?e.replace("CMD","⌘").replace("SHIFT","⇧"):e).replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]"))+")":""}},{key:"button",value:function(e){return!this.options.tooltip&&e.tooltip&&delete e.tooltip,e.container=this.options.container,this.ui.button(e)}},{key:"initialize",value:function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.addTablePopoverButtons(),this.fontInstalledMap={}}},{key:"destroy",value:function(){delete this.fontInstalledMap}},{key:"isFontInstalled",value:function(e){return Object.prototype.hasOwnProperty.call(this.fontInstalledMap,e)||(this.fontInstalledMap[e]=c.isFontInstalled(e)||d.contains(this.options.fontNamesIgnoreCheck,e)),this.fontInstalledMap[e]}},{key:"isFontDeservedToAdd",value:function(e){return""!==(e=e.toLowerCase())&&this.isFontInstalled(e)&&-1===c.genericFontFamilies.indexOf(e)}},{key:"colorPalette",value:function(a,e,i,n){var l=this;return this.ui.buttonGroup({className:"note-color "+a,children:[this.button({className:"note-current-color-button",contents:this.ui.icon(this.options.icons.font+" note-recent-color"),tooltip:e,click:function(e){e=b()(e.currentTarget);i&&n?l.context.invoke("editor.color",{backColor:e.attr("data-backColor"),foreColor:e.attr("data-foreColor")}):i?l.context.invoke("editor.color",{backColor:e.attr("data-backColor")}):n&&l.context.invoke("editor.color",{foreColor:e.attr("data-foreColor")})},callback:function(e){var t=e.find(".note-recent-color");i&&(t.css("background-color",l.options.colorButton.backColor),e.attr("data-backColor",l.options.colorButton.backColor)),n?(t.css("color",l.options.colorButton.foreColor),e.attr("data-foreColor",l.options.colorButton.foreColor)):t.css("color","transparent")}}),this.button({className:"dropdown-toggle",contents:this.ui.dropdownButtonContents("",this.options),tooltip:this.lang.color.more,data:{toggle:"dropdown"}}),this.ui.dropdown({items:(i?['<div class="note-palette">','<div class="note-palette-title">'+this.lang.color.background+"</div>","<div>",'<button type="button" class="note-color-reset btn btn-light btn-default" data-event="backColor" data-value="transparent">',this.lang.color.transparent,"</button>","</div>",'<div class="note-holder" data-event="backColor">\x3c!-- back colors --\x3e</div>',"<div>",'<button type="button" class="note-color-select btn btn-light btn-default" data-event="openPalette" data-value="backColorPicker">',this.lang.color.cpSelect,"</button>",'<input type="color" id="backColorPicker" class="note-btn note-color-select-btn" value="'+this.options.colorButton.backColor+'" data-event="backColorPalette">',"</div>",'<div class="note-holder-custom" id="backColorPalette" data-event="backColor"></div>',"</div>"].join(""):"")+(n?['<div class="note-palette">','<div class="note-palette-title">'+this.lang.color.foreground+"</div>","<div>",'<button type="button" class="note-color-reset btn btn-light btn-default" data-event="removeFormat" data-value="foreColor">',this.lang.color.resetToDefault,"</button>","</div>",'<div class="note-holder" data-event="foreColor">\x3c!-- fore colors --\x3e</div>',"<div>",'<button type="button" class="note-color-select btn btn-light btn-default" data-event="openPalette" data-value="foreColorPicker">',this.lang.color.cpSelect,"</button>",'<input type="color" id="foreColorPicker" class="note-btn note-color-select-btn" value="'+this.options.colorButton.foreColor+'" data-event="foreColorPalette">',"</div>",'<div class="note-holder-custom" id="foreColorPalette" data-event="foreColor"></div>',"</div>"].join(""):""),callback:function(i){i.find(".note-holder").each(function(e,t){t=b()(t);t.append(l.ui.palette({colors:l.options.colors,colorsName:l.options.colorsName,eventName:t.data("event"),container:l.options.container,tooltip:l.options.tooltip}).render())});var n=[["#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF"]];i.find(".note-holder-custom").each(function(e,t){t=b()(t);t.append(l.ui.palette({colors:n,colorsName:n,eventName:t.data("event"),container:l.options.container,tooltip:l.options.tooltip}).render())}),i.find("input[type=color]").each(function(e,t){b()(t).change(function(){var e=i.find("#"+b()(this).data("event")).find(".note-color-btn").first(),t=this.value.toUpperCase();e.css("background-color",t).attr("aria-label",t).attr("data-value",t).attr("data-original-title",t),e.click()})})},click:function(e){e.stopPropagation();var t,i,n,r=b()("."+a).find(".note-dropdown-menu"),e=b()(e.target),s=e.data("event"),o=e.attr("data-value");"openPalette"===s?(t=r.find("#"+o),n=(r=b()(r.find("#"+t.data("event")).find(".note-color-row")[0])).find(".note-color-btn").last().detach(),i=t.val(),n.css("background-color",i).attr("aria-label",i).attr("data-value",i).attr("data-original-title",i),r.prepend(n),t.click()):(d.contains(["backColor","foreColor"],s)&&(i="backColor"===s?"background-color":"color",r=e.closest(".note-color").find(".note-recent-color"),n=e.closest(".note-color").find(".note-current-color-button"),r.css(i,o),n.attr("data-"+s,o)),l.context.invoke("editor."+s,o))}})]}).render()}},{key:"addToolbarButtons",value:function(){for(var n=this,e=(this.context.memo("button.style",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents(n.ui.icon(n.options.icons.magic),n.options),tooltip:n.lang.style.style,data:{toggle:"dropdown"}}),n.ui.dropdown({className:"dropdown-style",items:n.options.styleTags,title:n.lang.style.style,template:function(e){var t=(e="string"==typeof e?{tag:e,title:Object.prototype.hasOwnProperty.call(n.lang.style,e)?n.lang.style[e]:e}:e).tag,i=e.title;return"<"+t+(e.style?' style="'+e.style+'" ':"")+(e.className?' class="'+e.className+'"':"")+">"+i+"</"+t+">"},click:n.context.createInvokeHandler("editor.formatBlock")})]).render()}),0),t=this.options.styleTags.length;e<t;e++)!function(e){var t=n.options.styleTags[e];n.context.memo("button.style."+t,function(){return n.button({className:"note-btn-style-"+t,contents:'<div data-value="'+t+'">'+t.toUpperCase()+"</div>",tooltip:n.lang.style[t],click:n.context.createInvokeHandler("editor.formatBlock")}).render()})}(e);this.context.memo("button.bold",function(){return n.button({className:"note-btn-bold",contents:n.ui.icon(n.options.icons.bold),tooltip:n.lang.font.bold+n.representShortcut("bold"),click:n.context.createInvokeHandlerAndUpdateState("editor.bold")}).render()}),this.context.memo("button.italic",function(){return n.button({className:"note-btn-italic",contents:n.ui.icon(n.options.icons.italic),tooltip:n.lang.font.italic+n.representShortcut("italic"),click:n.context.createInvokeHandlerAndUpdateState("editor.italic")}).render()}),this.context.memo("button.underline",function(){return n.button({className:"note-btn-underline",contents:n.ui.icon(n.options.icons.underline),tooltip:n.lang.font.underline+n.representShortcut("underline"),click:n.context.createInvokeHandlerAndUpdateState("editor.underline")}).render()}),this.context.memo("button.clear",function(){return n.button({contents:n.ui.icon(n.options.icons.eraser),tooltip:n.lang.font.clear+n.representShortcut("removeFormat"),click:n.context.createInvokeHandler("editor.removeFormat")}).render()}),this.context.memo("button.strikethrough",function(){return n.button({className:"note-btn-strikethrough",contents:n.ui.icon(n.options.icons.strikethrough),tooltip:n.lang.font.strikethrough+n.representShortcut("strikethrough"),click:n.context.createInvokeHandlerAndUpdateState("editor.strikethrough")}).render()}),this.context.memo("button.superscript",function(){return n.button({className:"note-btn-superscript",contents:n.ui.icon(n.options.icons.superscript),tooltip:n.lang.font.superscript,click:n.context.createInvokeHandlerAndUpdateState("editor.superscript")}).render()}),this.context.memo("button.subscript",function(){return n.button({className:"note-btn-subscript",contents:n.ui.icon(n.options.icons.subscript),tooltip:n.lang.font.subscript,click:n.context.createInvokeHandlerAndUpdateState("editor.subscript")}).render()}),this.context.memo("button.fontname",function(){var e=n.context.invoke("editor.currentStyle");return n.options.addDefaultFonts&&b.a.each(e["font-family"].split(","),function(e,t){t=t.trim().replace(/['"]+/g,""),n.isFontDeservedToAdd(t)&&-1===n.options.fontNames.indexOf(t)&&n.options.fontNames.push(t)}),n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents('<span class="note-current-fontname"></span>',n.options),tooltip:n.lang.font.name,data:{toggle:"dropdown"}}),n.ui.dropdownCheck({className:"dropdown-fontname",checkClassName:n.options.icons.menuCheck,items:n.options.fontNames.filter(n.isFontInstalled.bind(n)),title:n.lang.font.name,template:function(e){return'<span style="font-family: '+c.validFontName(e)+'">'+e+"</span>"},click:n.context.createInvokeHandlerAndUpdateState("editor.fontName")})]).render()}),this.context.memo("button.fontsize",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents('<span class="note-current-fontsize"></span>',n.options),tooltip:n.lang.font.size,data:{toggle:"dropdown"}}),n.ui.dropdownCheck({className:"dropdown-fontsize",checkClassName:n.options.icons.menuCheck,items:n.options.fontSizes,title:n.lang.font.size,click:n.context.createInvokeHandlerAndUpdateState("editor.fontSize")})]).render()}),this.context.memo("button.fontsizeunit",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents('<span class="note-current-fontsizeunit"></span>',n.options),tooltip:n.lang.font.sizeunit,data:{toggle:"dropdown"}}),n.ui.dropdownCheck({className:"dropdown-fontsizeunit",checkClassName:n.options.icons.menuCheck,items:n.options.fontSizeUnits,title:n.lang.font.sizeunit,click:n.context.createInvokeHandlerAndUpdateState("editor.fontSizeUnit")})]).render()}),this.context.memo("button.color",function(){return n.colorPalette("note-color-all",n.lang.color.recent,!0,!0)}),this.context.memo("button.forecolor",function(){return n.colorPalette("note-color-fore",n.lang.color.foreground,!1,!0)}),this.context.memo("button.backcolor",function(){return n.colorPalette("note-color-back",n.lang.color.background,!0,!1)}),this.context.memo("button.ul",function(){return n.button({contents:n.ui.icon(n.options.icons.unorderedlist),tooltip:n.lang.lists.unordered+n.representShortcut("insertUnorderedList"),click:n.context.createInvokeHandler("editor.insertUnorderedList")}).render()}),this.context.memo("button.ol",function(){return n.button({contents:n.ui.icon(n.options.icons.orderedlist),tooltip:n.lang.lists.ordered+n.representShortcut("insertOrderedList"),click:n.context.createInvokeHandler("editor.insertOrderedList")}).render()});var i=this.button({contents:this.ui.icon(this.options.icons.alignLeft),tooltip:this.lang.paragraph.left+this.representShortcut("justifyLeft"),click:this.context.createInvokeHandler("editor.justifyLeft")}),r=this.button({contents:this.ui.icon(this.options.icons.alignCenter),tooltip:this.lang.paragraph.center+this.representShortcut("justifyCenter"),click:this.context.createInvokeHandler("editor.justifyCenter")}),s=this.button({contents:this.ui.icon(this.options.icons.alignRight),tooltip:this.lang.paragraph.right+this.representShortcut("justifyRight"),click:this.context.createInvokeHandler("editor.justifyRight")}),o=this.button({contents:this.ui.icon(this.options.icons.alignJustify),tooltip:this.lang.paragraph.justify+this.representShortcut("justifyFull"),click:this.context.createInvokeHandler("editor.justifyFull")}),a=this.button({contents:this.ui.icon(this.options.icons.outdent),tooltip:this.lang.paragraph.outdent+this.representShortcut("outdent"),click:this.context.createInvokeHandler("editor.outdent")}),l=this.button({contents:this.ui.icon(this.options.icons.indent),tooltip:this.lang.paragraph.indent+this.representShortcut("indent"),click:this.context.createInvokeHandler("editor.indent")});this.context.memo("button.justifyLeft",u.invoke(i,"render")),this.context.memo("button.justifyCenter",u.invoke(r,"render")),this.context.memo("button.justifyRight",u.invoke(s,"render")),this.context.memo("button.justifyFull",u.invoke(o,"render")),this.context.memo("button.outdent",u.invoke(a,"render")),this.context.memo("button.indent",u.invoke(l,"render")),this.context.memo("button.paragraph",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents(n.ui.icon(n.options.icons.alignLeft),n.options),tooltip:n.lang.paragraph.paragraph,data:{toggle:"dropdown"}}),n.ui.dropdown([n.ui.buttonGroup({className:"note-align",children:[i,r,s,o]}),n.ui.buttonGroup({className:"note-list",children:[a,l]})])]).render()}),this.context.memo("button.height",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents(n.ui.icon(n.options.icons.textHeight),n.options),tooltip:n.lang.font.height,data:{toggle:"dropdown"}}),n.ui.dropdownCheck({items:n.options.lineHeights,checkClassName:n.options.icons.menuCheck,className:"dropdown-line-height",title:n.lang.font.height,click:n.context.createInvokeHandler("editor.lineHeight")})]).render()}),this.context.memo("button.table",function(){return n.ui.buttonGroup([n.button({className:"dropdown-toggle",contents:n.ui.dropdownButtonContents(n.ui.icon(n.options.icons.table),n.options),tooltip:n.lang.table.table,data:{toggle:"dropdown"}}),n.ui.dropdown({title:n.lang.table.table,className:"note-table",items:['<div class="note-dimension-picker">','<div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"></div>','<div class="note-dimension-picker-highlighted"></div>','<div class="note-dimension-picker-unhighlighted"></div>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(e){e.find(".note-dimension-picker-mousecatcher").css({width:n.options.insertTableMaxSize.col+"em",height:n.options.insertTableMaxSize.row+"em"}).mousedown(n.context.createInvokeHandler("editor.insertTable")).on("mousemove",n.tableMoveHandler.bind(n))}}).render()}),this.context.memo("button.link",function(){return n.button({contents:n.ui.icon(n.options.icons.link),tooltip:n.lang.link.link+n.representShortcut("linkDialog.show"),click:n.context.createInvokeHandler("linkDialog.show")}).render()}),this.context.memo("button.picture",function(){return n.button({contents:n.ui.icon(n.options.icons.picture),tooltip:n.lang.image.image,click:n.context.createInvokeHandler("imageDialog.show")}).render()}),this.context.memo("button.video",function(){return n.button({contents:n.ui.icon(n.options.icons.video),tooltip:n.lang.video.video,click:n.context.createInvokeHandler("videoDialog.show")}).render()}),this.context.memo("button.hr",function(){return n.button({contents:n.ui.icon(n.options.icons.minus),tooltip:n.lang.hr.insert+n.representShortcut("insertHorizontalRule"),click:n.context.createInvokeHandler("editor.insertHorizontalRule")}).render()}),this.context.memo("button.fullscreen",function(){return n.button({className:"btn-fullscreen note-codeview-keep",contents:n.ui.icon(n.options.icons.arrowsAlt),tooltip:n.lang.options.fullscreen,click:n.context.createInvokeHandler("fullscreen.toggle")}).render()}),this.context.memo("button.codeview",function(){return n.button({className:"btn-codeview note-codeview-keep",contents:n.ui.icon(n.options.icons.code),tooltip:n.lang.options.codeview,click:n.context.createInvokeHandler("codeview.toggle")}).render()}),this.context.memo("button.redo",function(){return n.button({contents:n.ui.icon(n.options.icons.redo),tooltip:n.lang.history.redo+n.representShortcut("redo"),click:n.context.createInvokeHandler("editor.redo")}).render()}),this.context.memo("button.undo",function(){return n.button({contents:n.ui.icon(n.options.icons.undo),tooltip:n.lang.history.undo+n.representShortcut("undo"),click:n.context.createInvokeHandler("editor.undo")}).render()}),this.context.memo("button.help",function(){return n.button({contents:n.ui.icon(n.options.icons.question),tooltip:n.lang.options.help,click:n.context.createInvokeHandler("helpDialog.show")}).render()})}},{key:"addImagePopoverButtons",value:function(){var e=this;this.context.memo("button.resizeFull",function(){return e.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:e.lang.image.resizeFull,click:e.context.createInvokeHandler("editor.resize","1")}).render()}),this.context.memo("button.resizeHalf",function(){return e.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:e.lang.image.resizeHalf,click:e.context.createInvokeHandler("editor.resize","0.5")}).render()}),this.context.memo("button.resizeQuarter",function(){return e.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:e.lang.image.resizeQuarter,click:e.context.createInvokeHandler("editor.resize","0.25")}).render()}),this.context.memo("button.resizeNone",function(){return e.button({contents:e.ui.icon(e.options.icons.rollback),tooltip:e.lang.image.resizeNone,click:e.context.createInvokeHandler("editor.resize","0")}).render()}),this.context.memo("button.floatLeft",function(){return e.button({contents:e.ui.icon(e.options.icons.floatLeft),tooltip:e.lang.image.floatLeft,click:e.context.createInvokeHandler("editor.floatMe","left")}).render()}),this.context.memo("button.floatRight",function(){return e.button({contents:e.ui.icon(e.options.icons.floatRight),tooltip:e.lang.image.floatRight,click:e.context.createInvokeHandler("editor.floatMe","right")}).render()}),this.context.memo("button.floatNone",function(){return e.button({contents:e.ui.icon(e.options.icons.rollback),tooltip:e.lang.image.floatNone,click:e.context.createInvokeHandler("editor.floatMe","none")}).render()}),this.context.memo("button.removeMedia",function(){return e.button({contents:e.ui.icon(e.options.icons.trash),tooltip:e.lang.image.remove,click:e.context.createInvokeHandler("editor.removeMedia")}).render()})}},{key:"addLinkPopoverButtons",value:function(){var e=this;this.context.memo("button.linkDialogShow",function(){return e.button({contents:e.ui.icon(e.options.icons.link),tooltip:e.lang.link.edit,click:e.context.createInvokeHandler("linkDialog.show")}).render()}),this.context.memo("button.unlink",function(){return e.button({contents:e.ui.icon(e.options.icons.unlink),tooltip:e.lang.link.unlink,click:e.context.createInvokeHandler("editor.unlink")}).render()})}},{key:"addTablePopoverButtons",value:function(){var e=this;this.context.memo("button.addRowUp",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.rowAbove),tooltip:e.lang.table.addRowAbove,click:e.context.createInvokeHandler("editor.addRow","top")}).render()}),this.context.memo("button.addRowDown",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.rowBelow),tooltip:e.lang.table.addRowBelow,click:e.context.createInvokeHandler("editor.addRow","bottom")}).render()}),this.context.memo("button.addColLeft",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.colBefore),tooltip:e.lang.table.addColLeft,click:e.context.createInvokeHandler("editor.addCol","left")}).render()}),this.context.memo("button.addColRight",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.colAfter),tooltip:e.lang.table.addColRight,click:e.context.createInvokeHandler("editor.addCol","right")}).render()}),this.context.memo("button.deleteRow",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.rowRemove),tooltip:e.lang.table.delRow,click:e.context.createInvokeHandler("editor.deleteRow")}).render()}),this.context.memo("button.deleteCol",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.colRemove),tooltip:e.lang.table.delCol,click:e.context.createInvokeHandler("editor.deleteCol")}).render()}),this.context.memo("button.deleteTable",function(){return e.button({className:"btn-md",contents:e.ui.icon(e.options.icons.trash),tooltip:e.lang.table.delTable,click:e.context.createInvokeHandler("editor.deleteTable")}).render()})}},{key:"build",value:function(e,t){for(var i=0,n=t.length;i<n;i++){for(var r=t[i],s=Array.isArray(r)?r[0]:r,o=Array.isArray(r)?1===r.length?[r[0]]:r[1]:[r],a=this.ui.buttonGroup({className:"note-"+s}).render(),l=0,c=o.length;l<c;l++){var u=this.context.memo("button."+o[l]);u&&a.append("function"==typeof u?u(this.context):u)}a.appendTo(e)}}},{key:"updateCurrentStyle",value:function(e){var t,n,r,s,i,o=this,e=e||this.$toolbar,a=this.context.invoke("editor.currentStyle");this.updateBtnStates(e,{".note-btn-bold":function(){return"bold"===a["font-bold"]},".note-btn-italic":function(){return"italic"===a["font-italic"]},".note-btn-underline":function(){return"underline"===a["font-underline"]},".note-btn-subscript":function(){return"subscript"===a["font-subscript"]},".note-btn-superscript":function(){return"superscript"===a["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===a["font-strikethrough"]}}),a["font-family"]&&(t=a["font-family"].split(",").map(function(e){return e.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")}),n=d.find(t,this.isFontInstalled.bind(this)),e.find(".dropdown-fontname a").each(function(e,t){var t=b()(t),i=t.data("value")+""==n+"";t.toggleClass("checked",i)}),e.find(".note-current-fontname").text(n).css("font-family",n)),a["font-size"]&&(r=a["font-size"],e.find(".dropdown-fontsize a").each(function(e,t){var t=b()(t),i=t.data("value")+""==r+"";t.toggleClass("checked",i)}),e.find(".note-current-fontsize").text(r),s=a["font-size-unit"],e.find(".dropdown-fontsizeunit a").each(function(e,t){var t=b()(t),i=t.data("value")+""==s+"";t.toggleClass("checked",i)}),e.find(".note-current-fontsizeunit").text(s)),a["line-height"]&&(i=a["line-height"],e.find(".dropdown-line-height li a").each(function(e,t){t=b()(t).data("value")+""==i+"";o.className=t?"checked":""}))}},{key:"updateBtnStates",value:function(i,e){var n=this;b.a.each(e,function(e,t){n.ui.toggleBtnActive(i.find(e),t())})}},{key:"tableMoveHandler",value:function(e){var t=b()(e.target.parentNode),i=t.next(),n=t.find(".note-dimension-picker-mousecatcher"),r=t.find(".note-dimension-picker-highlighted"),t=t.find(".note-dimension-picker-unhighlighted");s=void 0===e.offsetX?(s=b()(e.target).offset(),{x:e.pageX-s.left,y:e.pageY-s.top}):{x:e.offsetX,y:e.offsetY};var e=Math.ceil(s.x/18)||1,s=Math.ceil(s.y/18)||1;r.css({width:e+"em",height:s+"em"}),n.data("value",e+"x"+s),3<e&&e<this.options.insertTableMaxSize.col&&t.css({width:e+1+"em"}),3<s&&s<this.options.insertTableMaxSize.row&&t.css({height:s+1+"em"}),i.html(e+" x "+s)}}])&&Ue(e.prototype,i),n&&Ue(e,n),t}();function Ge(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ke=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.$window=b()(window),this.$document=b()(document),this.ui=b.a.summernote.ui,this.$note=e.layoutInfo.note,this.$editor=e.layoutInfo.editor,this.$toolbar=e.layoutInfo.toolbar,this.$editable=e.layoutInfo.editable,this.$statusbar=e.layoutInfo.statusbar,this.options=e.options,this.isFollowing=!1,this.followScroll=this.followScroll.bind(this)}var e,i,n;return e=t,(i=[{key:"shouldInitialize",value:function(){return!this.options.airMode}},{key:"initialize",value:function(){var e=this;this.options.toolbar=this.options.toolbar||[],this.options.toolbar.length?this.context.invoke("buttons.build",this.$toolbar,this.options.toolbar):this.$toolbar.hide(),this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.changeContainer(!1),this.$note.on("summernote.keyup summernote.mouseup summernote.change",function(){e.context.invoke("buttons.updateCurrentStyle")}),this.context.invoke("buttons.updateCurrentStyle"),this.options.followingToolbar&&this.$window.on("scroll resize",this.followScroll)}},{key:"destroy",value:function(){this.$toolbar.children().remove(),this.options.followingToolbar&&this.$window.off("scroll resize",this.followScroll)}},{key:"followScroll",value:function(){if(this.$editor.hasClass("fullscreen"))return!1;var e=this.$editor.outerHeight(),t=this.$editor.width(),i=this.$toolbar.height(),n=this.$statusbar.height(),r=0,s=(this.options.otherStaticBar&&(r=b()(this.options.otherStaticBar).outerHeight()),this.$document.scrollTop()),o=this.$editor.offset().top,a=o-r,o=o+e-r-i-n;!this.isFollowing&&a<s&&s<o-i?(this.isFollowing=!0,this.$editable.css({marginTop:this.$toolbar.outerHeight()}),this.$toolbar.css({position:"fixed",top:r,width:t,zIndex:1e3})):this.isFollowing&&(s<a||o<s)&&(this.isFollowing=!1,this.$toolbar.css({position:"relative",top:0,width:"100%",zIndex:"auto"}),this.$editable.css({marginTop:""}))}},{key:"changeContainer",value:function(e){e?this.$toolbar.prependTo(this.$editor):this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.options.followingToolbar&&this.followScroll()}},{key:"updateFullscreen",value:function(e){this.ui.toggleBtnActive(this.$toolbar.find(".btn-fullscreen"),e),this.changeContainer(e)}},{key:"updateCodeview",value:function(e){this.ui.toggleBtnActive(this.$toolbar.find(".btn-codeview"),e),e?this.deactivate():this.activate()}},{key:"activate",value:function(e){var t=this.$toolbar.find("button");e||(t=t.not(".note-codeview-keep")),this.ui.toggleBtn(t,!0)}},{key:"deactivate",value:function(e){var t=this.$toolbar.find("button");e||(t=t.not(".note-codeview-keep")),this.ui.toggleBtn(t,!1)}}])&&Ge(e.prototype,i),n&&Ge(e,n),t}();function Ze(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Je=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.$body=b()(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo,e.memo("help.linkDialog.show",this.options.langInfo.help["linkDialog.show"])}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var e=this.options.dialogsInBody?this.$body:this.options.container,t=['<div class="form-group note-form-group">','<label for="note-dialog-link-txt-'.concat(this.options.id,'" class="note-form-label">').concat(this.lang.link.textToDisplay,"</label>"),'<input id="note-dialog-link-txt-'.concat(this.options.id,'" class="note-link-text form-control note-form-control note-input" type="text"/>'),"</div>",'<div class="form-group note-form-group">','<label for="note-dialog-link-url-'.concat(this.options.id,'" class="note-form-label">').concat(this.lang.link.url,"</label>"),'<input id="note-dialog-link-url-'.concat(this.options.id,'" class="note-link-url form-control note-form-control note-input" type="text" value="http://"/>'),"</div>",this.options.disableLinkTarget?"":b()("<div/>").append(this.ui.checkbox({className:"sn-checkbox-open-in-new-window",text:this.lang.link.openInNewWindow,checked:!0}).render()).html(),b()("<div/>").append(this.ui.checkbox({className:"sn-checkbox-use-protocol",text:this.lang.link.useProtocol,checked:!0}).render()).html()].join(""),i='<input type="button" href="#" class="'.concat("btn btn-primary note-btn note-btn-primary note-link-btn",'" value="').concat(this.lang.link.insert,'" disabled>');this.$dialog=this.ui.dialog({className:"link-dialog",title:this.lang.link.insert,fade:this.options.dialogsFade,body:t,footer:i}).render().appendTo(e)}},{key:"destroy",value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:"bindEnterKey",value:function(e,t){e.on("keypress",function(e){e.keyCode===O.code.ENTER&&(e.preventDefault(),t.trigger("click"))})}},{key:"toggleLinkBtn",value:function(e,t,i){this.ui.toggleBtn(e,t.val()&&i.val())}},{key:"showLinkDialog",value:function(a){var l=this;return b.a.Deferred(function(t){var i=l.$dialog.find(".note-link-text"),n=l.$dialog.find(".note-link-url"),r=l.$dialog.find(".note-link-btn"),s=l.$dialog.find(".sn-checkbox-open-in-new-window input[type=checkbox]"),o=l.$dialog.find(".sn-checkbox-use-protocol input[type=checkbox]");l.ui.onDialogShown(l.$dialog,function(){l.context.triggerEvent("dialog.shown"),!a.url&&u.isValidUrl(a.text)&&(a.url=a.text),i.on("input paste propertychange",function(){a.text=i.val(),l.toggleLinkBtn(r,i,n)}).val(a.text),n.on("input paste propertychange",function(){a.text||i.val(n.val()),l.toggleLinkBtn(r,i,n)}).val(a.url),c.isSupportTouch||n.trigger("focus"),l.toggleLinkBtn(r,i,n),l.bindEnterKey(n,r),l.bindEnterKey(i,r);var e=void 0!==a.isNewWindow?a.isNewWindow:l.context.options.linkTargetBlank,e=(s.prop("checked",e),!a.url&&l.context.options.useProtocol);o.prop("checked",e),r.one("click",function(e){e.preventDefault(),t.resolve({range:a.range,url:n.val(),text:i.val(),isNewWindow:s.is(":checked"),checkProtocol:o.is(":checked")}),l.ui.hideDialog(l.$dialog)})}),l.ui.onDialogHidden(l.$dialog,function(){i.off(),n.off(),r.off(),"pending"===t.state()&&t.reject()}),l.ui.showDialog(l.$dialog)}).promise()}},{key:"show",value:function(){var t=this,e=this.context.invoke("editor.getLinkInfo");this.context.invoke("editor.saveRange"),this.showLinkDialog(e).then(function(e){t.context.invoke("editor.restoreRange"),t.context.invoke("editor.createLink",e)}).fail(function(){t.context.invoke("editor.restoreRange")})}}])&&Ze(e.prototype,i),n&&Ze(e,n),t}();function Qe(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var et=function(){function i(e){var t=this;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.options=e.options,this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){t.update()},"summernote.disable summernote.dialog.shown summernote.blur":function(){t.hide()}}}var e,t,n;return e=i,(t=[{key:"shouldInitialize",value:function(){return!d.isEmpty(this.options.popover.link)}},{key:"initialize",value:function(){this.$popover=this.ui.popover({className:"note-link-popover",callback:function(e){e.find(".popover-content,.note-popover-content").prepend('<span><a target="_blank"></a>&nbsp;</span>')}}).render().appendTo(this.options.container);var e=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",e,this.options.popover.link),this.$popover.on("mousedown",function(e){e.preventDefault()})}},{key:"destroy",value:function(){this.$popover.remove()}},{key:"update",value:function(){var e,t;this.context.invoke("editor.hasFocus")&&(t=this.context.invoke("editor.getLastRange")).isCollapsed()&&t.isOnAnchor()?(t=D.ancestor(t.sc,D.isAnchor),e=b()(t).attr("href"),this.$popover.find("a").attr("href",e).text(e),e=D.posFromPlaceholder(t),t=b()(this.options.container).offset(),e.top-=t.top,e.left-=t.left,this.$popover.css({display:"block",left:e.left,top:e.top})):this.hide()}},{key:"hide",value:function(){this.$popover.hide()}}])&&Qe(e.prototype,t),n&&Qe(e,n),i}();function tt(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var it=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.$body=b()(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var e="",t=(this.options.maximumImageFileSize&&(t=Math.floor(Math.log(this.options.maximumImageFileSize)/Math.log(1024)),t=+(this.options.maximumImageFileSize/Math.pow(1024,t)).toFixed(2)+" "+" KMGTP"[t]+"B",e="<small>".concat(this.lang.image.maximumFileSize+" : "+t,"</small>")),this.options.dialogsInBody?this.$body:this.options.container),e=['<div class="form-group note-form-group note-group-select-from-files">','<label for="note-dialog-image-file-'+this.options.id+'" class="note-form-label">'+this.lang.image.selectFromFiles+"</label>",'<input id="note-dialog-image-file-'+this.options.id+'" class="note-image-input form-control-file note-form-control note-input" ',' type="file" name="files" accept="image/*" multiple="multiple"/>',e,"</div>",'<div class="form-group note-group-image-url">','<label for="note-dialog-image-url-'+this.options.id+'" class="note-form-label">'+this.lang.image.url+"</label>",'<input id="note-dialog-image-url-'+this.options.id+'" class="note-image-url form-control note-form-control note-input" type="text"/>',"</div>"].join(""),i='<input type="button" href="#" class="'.concat("btn btn-primary note-btn note-btn-primary note-image-btn",'" value="').concat(this.lang.image.insert,'" disabled>');this.$dialog=this.ui.dialog({title:this.lang.image.insert,fade:this.options.dialogsFade,body:e,footer:i}).render().appendTo(t)}},{key:"destroy",value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:"bindEnterKey",value:function(e,t){e.on("keypress",function(e){e.keyCode===O.code.ENTER&&(e.preventDefault(),t.trigger("click"))})}},{key:"show",value:function(){var t=this;this.context.invoke("editor.saveRange"),this.showImageDialog().then(function(e){t.ui.hideDialog(t.$dialog),t.context.invoke("editor.restoreRange"),"string"==typeof e?t.options.callbacks.onImageLinkInsert?t.context.triggerEvent("image.link.insert",e):t.context.invoke("editor.insertImage",e):t.context.invoke("editor.insertImagesOrCallback",e)}).fail(function(){t.context.invoke("editor.restoreRange")})}},{key:"showImageDialog",value:function(){var r=this;return b.a.Deferred(function(t){var e=r.$dialog.find(".note-image-input"),i=r.$dialog.find(".note-image-url"),n=r.$dialog.find(".note-image-btn");r.ui.onDialogShown(r.$dialog,function(){r.context.triggerEvent("dialog.shown"),e.replaceWith(e.clone().on("change",function(e){t.resolve(e.target.files||e.target.value)}).val("")),i.on("input paste propertychange",function(){r.ui.toggleBtn(n,i.val())}).val(""),c.isSupportTouch||i.trigger("focus"),n.click(function(e){e.preventDefault(),t.resolve(i.val())}),r.bindEnterKey(i,n)}),r.ui.onDialogHidden(r.$dialog,function(){e.off(),i.off(),n.off(),"pending"===t.state()&&t.reject()}),r.ui.showDialog(r.$dialog)})}}])&&tt(e.prototype,i),n&&tt(e,n),t}();function nt(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var rt=function(){function i(e){var t=this;if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.editable=e.layoutInfo.editable[0],this.options=e.options,this.events={"summernote.disable summernote.blur":function(){t.hide()}}}var e,t,n;return e=i,(t=[{key:"shouldInitialize",value:function(){return!d.isEmpty(this.options.popover.image)}},{key:"initialize",value:function(){this.$popover=this.ui.popover({className:"note-image-popover"}).render().appendTo(this.options.container);var e=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",e,this.options.popover.image),this.$popover.on("mousedown",function(e){e.preventDefault()})}},{key:"destroy",value:function(){this.$popover.remove()}},{key:"update",value:function(e,t){var i,n;D.isImg(e)?(e=b()(e).offset(),i=b()(this.options.container).offset(),n={},this.options.popatmouse?(n.left=t.pageX-20,n.top=t.pageY):n=e,n.top-=i.top,n.left-=i.left,this.$popover.css({display:"block",left:n.left,top:n.top})):this.hide()}},{key:"hide",value:function(){this.$popover.hide()}}])&&nt(e.prototype,t),n&&nt(e,n),i}();function st(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ot=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.options=e.options,this.events={"summernote.mousedown":function(e,t){i.update(t.target)},"summernote.keyup summernote.scroll summernote.change":function(){i.update()},"summernote.disable summernote.blur":function(){i.hide()}}}var e,i,n;return e=t,(i=[{key:"shouldInitialize",value:function(){return!d.isEmpty(this.options.popover.table)}},{key:"initialize",value:function(){this.$popover=this.ui.popover({className:"note-table-popover"}).render().appendTo(this.options.container);var e=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",e,this.options.popover.table),c.isFF&&document.execCommand("enableInlineTableEditing",!1,!1),this.$popover.on("mousedown",function(e){e.preventDefault()})}},{key:"destroy",value:function(){this.$popover.remove()}},{key:"update",value:function(e){if(this.context.isDisabled())return!1;var t,i=D.isCell(e);return i?(e=D.posFromPlaceholder(e),t=b()(this.options.container).offset(),e.top-=t.top,e.left-=t.left,this.$popover.css({display:"block",left:e.left,top:e.top})):this.hide(),i}},{key:"hide",value:function(){this.$popover.hide()}}])&&st(e.prototype,i),n&&st(e,n),t}();function at(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var lt=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.$body=b()(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var e=this.options.dialogsInBody?this.$body:this.options.container,t=['<div class="form-group note-form-group row-fluid">','<label for="note-dialog-video-url-'.concat(this.options.id,'" class="note-form-label">').concat(this.lang.video.url,' <small class="text-muted">').concat(this.lang.video.providers,"</small></label>"),'<input id="note-dialog-video-url-'.concat(this.options.id,'" class="note-video-url form-control note-form-control note-input" type="text"/>'),"</div>"].join(""),i='<input type="button" href="#" class="'.concat("btn btn-primary note-btn note-btn-primary note-video-btn",'" value="').concat(this.lang.video.insert,'" disabled>');this.$dialog=this.ui.dialog({title:this.lang.video.insert,fade:this.options.dialogsFade,body:t,footer:i}).render().appendTo(e)}},{key:"destroy",value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:"bindEnterKey",value:function(e,t){e.on("keypress",function(e){e.keyCode===O.code.ENTER&&(e.preventDefault(),t.trigger("click"))})}},{key:"createVideoNode",value:function(e){var t=e.match(/\/\/(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))([\w|-]{11})(?:(?:[\?&]t=)(\S+))?$/),i=e.match(/(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/),n=e.match(/\/\/vine\.co\/v\/([a-zA-Z0-9]+)/),r=e.match(/\/\/(player\.)?vimeo\.com\/([a-z]*\/)*(\d+)[?]?.*/),s=e.match(/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/),o=e.match(/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/),a=e.match(/\/\/v\.qq\.com.*?vid=(.+)/),l=e.match(/\/\/v\.qq\.com\/x?\/?(page|cover).*?\/([^\/]+)\.html\??.*/),c=e.match(/^.+.(mp4|m4v)$/),u=e.match(/^.+.(ogg|ogv)$/),d=e.match(/^.+.(webm)$/),h=e.match(/(?:www\.|\/\/)facebook\.com\/([^\/]+)\/videos\/([0-9]+)/);if(t&&11===t[1].length){var f=t[1],p=0;if(void 0!==t[2]){var m=t[2].match(/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/);if(m)for(var g=[3600,60,1],v=0,y=g.length;v<y;v++)p+=void 0!==m[v+1]?g[v]*parseInt(m[v+1],10):0}f=b()("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+f+(0<p?"?start="+p:"")).attr("width","640").attr("height","360")}else if(i&&i[0].length)f=b()("<iframe>").attr("frameborder",0).attr("src","https://instagram.com/p/"+i[1]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(n&&n[0].length)f=b()("<iframe>").attr("frameborder",0).attr("src",n[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(r&&r[3].length)f=b()("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+r[3]).attr("width","640").attr("height","360");else if(s&&s[2].length)f=b()("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+s[2]).attr("width","640").attr("height","360");else if(o&&o[1].length)f=b()("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+o[1]);else if(a&&a[1].length||l&&l[2].length)t=a&&a[1].length?a[1]:l[2],f=b()("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","310").attr("width","500").attr("src","https://v.qq.com/txp/iframe/player.html?vid="+t+"&amp;auto=0");else if(c||u||d)f=b()("<video controls>").attr("src",e).attr("width","640").attr("height","360");else{if(!h||!h[0].length)return!1;f=b()("<iframe>").attr("frameborder",0).attr("src","https://www.facebook.com/plugins/video.php?href="+encodeURIComponent(h[0])+"&show_text=0&width=560").attr("width","560").attr("height","301").attr("scrolling","no").attr("allowtransparency","true")}return f.addClass("note-video-clip"),f[0]}},{key:"show",value:function(){var t=this,e=this.context.invoke("editor.getSelectedText");this.context.invoke("editor.saveRange"),this.showVideoDialog(e).then(function(e){t.ui.hideDialog(t.$dialog),t.context.invoke("editor.restoreRange");e=t.createVideoNode(e);e&&t.context.invoke("editor.insertNode",e)}).fail(function(){t.context.invoke("editor.restoreRange")})}},{key:"showVideoDialog",value:function(){var n=this;return b.a.Deferred(function(t){var i=n.$dialog.find(".note-video-url"),e=n.$dialog.find(".note-video-btn");n.ui.onDialogShown(n.$dialog,function(){n.context.triggerEvent("dialog.shown"),i.on("input paste propertychange",function(){n.ui.toggleBtn(e,i.val())}),c.isSupportTouch||i.trigger("focus"),e.click(function(e){e.preventDefault(),t.resolve(i.val())}),n.bindEnterKey(i,e)}),n.ui.onDialogHidden(n.$dialog,function(){i.off(),e.off(),"pending"===t.state()&&t.reject()}),n.ui.showDialog(n.$dialog)})}}])&&at(e.prototype,i),n&&at(e,n),t}();function ct(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ut=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.$body=b()(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}var e,i,n;return e=t,(i=[{key:"initialize",value:function(){var e=this.options.dialogsInBody?this.$body:this.options.container,t=['<p class="text-center">','<a href="http://summernote.org/" target="_blank">Summernote 0.8.18</a> · ','<a href="https://github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="https://github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=this.ui.dialog({title:this.lang.options.help,fade:this.options.dialogsFade,body:this.createShortcutList(),footer:t,callback:function(e){e.find(".modal-body,.note-modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(e)}},{key:"destroy",value:function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()}},{key:"createShortcutList",value:function(){var n=this,r=this.options.keyMap[c.isMac?"mac":"pc"];return Object.keys(r).map(function(e){var t=r[e],i=b()('<div><div class="help-list-item"></div></div>');return i.append(b()("<label><kbd>"+e+"</kdb></label>").css({width:180,"margin-right":10})).append(b()("<span/>").html(n.context.memo("help."+t)||t)),i.html()}).join("")}},{key:"showHelpDialog",value:function(){var t=this;return b.a.Deferred(function(e){t.ui.onDialogShown(t.$dialog,function(){t.context.triggerEvent("dialog.shown"),e.resolve()}),t.ui.showDialog(t.$dialog)}).promise()}},{key:"show",value:function(){var e=this;this.context.invoke("editor.saveRange"),this.showHelpDialog().then(function(){e.context.invoke("editor.restoreRange")})}}])&&ct(e.prototype,i),n&&ct(e,n),t}();function dt(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ht=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.options=e.options,this.hidable=!0,this.onContextmenu=!1,this.pageX=null,this.pageY=null,this.events={"summernote.contextmenu":function(e){i.options.editing&&(e.preventDefault(),e.stopPropagation(),i.onContextmenu=!0,i.update(!0))},"summernote.mousedown":function(e,t){i.pageX=t.pageX,i.pageY=t.pageY},"summernote.keyup summernote.mouseup summernote.scroll":function(e,t){i.options.editing&&!i.onContextmenu&&(i.pageX=t.pageX,i.pageY=t.pageY,i.update()),i.onContextmenu=!1},"summernote.disable summernote.change summernote.dialog.shown summernote.blur":function(){i.hide()},"summernote.focusout":function(){i.$popover.is(":active,:focus")||i.hide()}}}var e,i,n;return e=t,(i=[{key:"shouldInitialize",value:function(){return this.options.airMode&&!d.isEmpty(this.options.popover.air)}},{key:"initialize",value:function(){var e=this,t=(this.$popover=this.ui.popover({className:"note-air-popover"}).render().appendTo(this.options.container),this.$popover.find(".popover-content"));this.context.invoke("buttons.build",t,this.options.popover.air),this.$popover.on("mousedown",function(){e.hidable=!1}),this.$popover.on("mouseup",function(){e.hidable=!0})}},{key:"destroy",value:function(){this.$popover.remove()}},{key:"update",value:function(e){var t=this.context.invoke("editor.currentStyle");!t.range||t.range.isCollapsed()&&!e?this.hide():(t={left:this.pageX,top:this.pageY},e=b()(this.options.container).offset(),t.top-=e.top,t.left-=e.left,this.$popover.css({display:"block",left:Math.max(t.left,0)+-5,top:t.top+5}),this.context.invoke("buttons.updateCurrentStyle",this.$popover))}},{key:"updateCodeview",value:function(e){this.ui.toggleBtnActive(this.$popover.find(".btn-codeview"),e),e&&this.hide()}},{key:"hide",value:function(){this.hidable&&this.$popover.hide()}}])&&dt(e.prototype,i),n&&dt(e,n),t}();function ft(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var pt=function(){function t(e){var i=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.context=e,this.ui=b.a.summernote.ui,this.$editable=e.layoutInfo.editable,this.options=e.options,this.hint=this.options.hint||[],this.direction=this.options.hintDirection||"bottom",this.hints=Array.isArray(this.hint)?this.hint:[this.hint],this.events={"summernote.keyup":function(e,t){t.isDefaultPrevented()||i.handleKeyup(t)},"summernote.keydown":function(e,t){i.handleKeydown(t)},"summernote.disable summernote.dialog.shown summernote.blur":function(){i.hide()}}}var e,i,n;return e=t,(i=[{key:"shouldInitialize",value:function(){return 0<this.hints.length}},{key:"initialize",value:function(){var t=this;this.lastWordRange=null,this.matchingWord=null,this.$popover=this.ui.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo(this.options.container),this.$popover.hide(),this.$content=this.$popover.find(".popover-content,.note-popover-content"),this.$content.on("click",".note-hint-item",function(e){t.$content.find(".active").removeClass("active"),b()(e.currentTarget).addClass("active"),t.replace()}),this.$popover.on("mousedown",function(e){e.preventDefault()})}},{key:"destroy",value:function(){this.$popover.remove()}},{key:"selectItem",value:function(e){this.$content.find(".active").removeClass("active"),e.addClass("active"),this.$content[0].scrollTop=e[0].offsetTop-this.$content.innerHeight()/2}},{key:"moveDown",value:function(){var e=this.$content.find(".note-hint-item.active"),t=e.next();t.length?this.selectItem(t):((t=e.parent().next()).length||(t=this.$content.find(".note-hint-group").first()),this.selectItem(t.find(".note-hint-item").first()))}},{key:"moveUp",value:function(){var e=this.$content.find(".note-hint-item.active"),t=e.prev();t.length?this.selectItem(t):((t=e.parent().prev()).length||(t=this.$content.find(".note-hint-group").last()),this.selectItem(t.find(".note-hint-item").last()))}},{key:"replace",value:function(){var e,t=this.$content.find(".note-hint-item.active");t.length&&(t=this.nodeFromItem(t),null!==this.matchingWord&&0===this.matchingWord.length?this.lastWordRange.so=this.lastWordRange.eo:null!==this.matchingWord&&0<this.matchingWord.length&&!this.lastWordRange.isCollapsed()&&(0<(e=this.lastWordRange.eo-this.lastWordRange.so-this.matchingWord.length)&&(this.lastWordRange.so+=e)),this.lastWordRange.insertNode(t),"next"===this.options.hintSelect?(e=document.createTextNode(""),b()(t).after(e),A.createFromNodeBefore(e).select()):A.createFromNodeAfter(t).select(),this.lastWordRange=null,this.hide(),this.context.invoke("editor.focus"))}},{key:"nodeFromItem",value:function(e){var t=this.hints[e.data("index")],e=e.data("item"),t=t.content?t.content(e):e;return t="string"==typeof t?D.createText(t):t}},{key:"createItemTemplates",value:function(i,e){var n=this.hints[i];return e.map(function(e){var t=b()('<div class="note-hint-item"/>');return t.append(n.template?n.template(e):e+""),t.data({index:i,item:e}),t})}},{key:"handleKeydown",value:function(e){this.$popover.is(":visible")&&(e.keyCode===O.code.ENTER?(e.preventDefault(),this.replace()):e.keyCode===O.code.UP?(e.preventDefault(),this.moveUp()):e.keyCode===O.code.DOWN&&(e.preventDefault(),this.moveDown()))}},{key:"searchKeyword",value:function(e,t,i){e=this.hints[e];e&&e.match.test(t)&&e.search?(t=e.match.exec(t),this.matchingWord=t[0],e.search(t[1],i)):i()}},{key:"createGroup",value:function(t,e){var i=this,n=b()('<div class="note-hint-group note-hint-group-'+t+'"></div>');return this.searchKeyword(t,e,function(e){(e=e||[]).length&&(n.html(i.createItemTemplates(t,e)),i.show())}),n}},{key:"handleKeyup",value:function(e){var i=this;if(!d.contains([O.code.ENTER,O.code.UP,O.code.DOWN],e.keyCode)){var t,n,r,s=this.context.invoke("editor.getLastRange");if("words"===this.options.hintMode){if(t=s.getWordsRange(s),n=t.toString(),this.hints.forEach(function(e){if(e.match.test(n))return t=s.getWordsMatchRange(e.match),!1}),!t)return void this.hide();n=t.toString()}else t=s.getWordRange(),n=t.toString();this.hints.length&&n?(this.$content.empty(),e=u.rect2bnd(d.last(t.getClientRects())),r=b()(this.options.container).offset(),e&&(e.top-=r.top,e.left-=r.left,this.$popover.hide(),this.lastWordRange=t,this.hints.forEach(function(e,t){e.match.test(n)&&i.createGroup(t,n).appendTo(i.$content)}),this.$content.find(".note-hint-item:first").addClass("active"),"top"===this.direction?this.$popover.css({left:e.left,top:e.top-this.$popover.outerHeight()-5}):this.$popover.css({left:e.left,top:e.top+e.height+5}))):this.hide()}}},{key:"show",value:function(){this.$popover.show()}},{key:"hide",value:function(){this.$popover.hide()}}])&&ft(e.prototype,i),n&&ft(e,n),t}();b.a.summernote=b.a.extend(b.a.summernote,{version:"0.8.18",plugins:{},dom:D,range:A,lists:d,options:{langInfo:b.a.summernote.lang["en-US"],editing:!0,modules:{editor:Y,clipboard:t,dropzone:r,codeview:s,statusbar:e,fullscreen:i,handle:n,hintPopover:pt,autoLink:Re,autoSync:$e,autoReplace:qe,placeholder:Ve,buttons:Xe,toolbar:Ke,linkDialog:Je,linkPopover:et,imageDialog:it,imagePopover:rt,tablePopover:ot,videoDialog:lt,helpDialog:ut,airPopover:ht},buttons:{},lang:"en-US",followingToolbar:!1,toolbarPosition:"top",otherStaticBar:"",codeviewKeepButton:!1,toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popatmouse:!0,popover:{image:[["resize",["resizeFull","resizeHalf","resizeQuarter","resizeNone"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],table:[["add",["addRowDown","addRowUp","addColLeft","addColRight"]],["delete",["deleteRow","deleteCol","deleteTable"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]],["view",["fullscreen","codeview"]]]},airMode:!1,overrideContextMenu:!1,width:null,height:null,linkTargetBlank:!0,useProtocol:!0,defaultProtocol:"http://",focus:!1,tabDisabled:!1,tabSize:4,styleWithCSS:!1,shortcuts:!0,textareaAutoSync:!0,tooltip:"auto",container:null,maxTextLength:0,blockquoteBreakingLevel:2,spellCheck:!0,disableGrammar:!1,placeholder:null,inheritPlaceholder:!1,recordEveryKeystroke:!1,historyLimit:200,showDomainOnlyForAutolink:!1,hintMode:"word",hintSelect:"after",hintDirection:"bottom",styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontNamesIgnoreCheck:[],addDefaultFonts:!0,fontSizes:["8","9","10","11","12","14","18","24","36"],fontSizeUnits:["px","pt"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],colorsName:[["Black","Tundora","Dove Gray","Star Dust","Pale Slate","Gallery","Alabaster","White"],["Red","Orange Peel","Yellow","Green","Cyan","Blue","Electric Violet","Magenta"],["Azalea","Karry","Egg White","Zanah","Botticelli","Tropical Blue","Mischka","Twilight"],["Tonys Pink","Peach Orange","Cream Brulee","Sprout","Casper","Perano","Cold Purple","Careys Pink"],["Mandy","Rajah","Dandelion","Olivine","Gulf Stream","Viking","Blue Marguerite","Puce"],["Guardsman Red","Fire Bush","Golden Dream","Chelsea Cucumber","Smalt Blue","Boston Blue","Butterfly Bush","Cadillac"],["Sangria","Mai Tai","Buddha Gold","Forest Green","Eden","Venice Blue","Meteorite","Claret"],["Rosewood","Cinnamon","Olive","Parsley","Tiber","Midnight Blue","Valentino","Loulou"]],colorButton:{foreColor:"#000000",backColor:"#FFFF00"},lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onBeforeCommand:null,onBlur:null,onBlurCodeview:null,onChange:null,onChangeCodeview:null,onDialogShown:null,onEnter:null,onFocus:null,onImageLinkInsert:null,onImageUpload:null,onImageUploadError:null,onInit:null,onKeydown:null,onKeyup:null,onMousedown:null,onMouseup:null,onPaste:null,onScroll:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},codeviewFilter:!1,codeviewFilterRegex:/<\/*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|ilayer|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|t(?:itle|extarea)|xml)[^>]*?>/gi,codeviewIframeFilter:!0,codeviewIframeWhitelistSrc:[],codeviewIframeWhitelistSrcBase:["www.youtube.com","www.youtube-nocookie.com","www.facebook.com","vine.co","instagram.com","player.vimeo.com","www.dailymotion.com","player.youku.com","v.qq.com"],keyMap:{pc:{ESC:"escape",ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ESC:"escape",ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",rowBelow:"note-icon-row-below",colBefore:"note-icon-col-before",colAfter:"note-icon-col-after",rowAbove:"note-icon-row-above",rowRemove:"note-icon-row-remove",colRemove:"note-icon-col-remove",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",floatLeft:"note-icon-float-left",floatRight:"note-icon-float-right",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-menu-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",rollback:"note-icon-rollback",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})},4:function(e,t,i){},52:function(e,t,i){"use strict";i.r(t);var t=i(0),n=i.n(t),r=i(1);function s(e){return(s="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 o(e,t){return e+" "+k(t.icons.caret,"span")}function a(f){return{editor:l,toolbar:c,editingArea:u,codable:d,editable:h,statusbar:p,airEditor:m,airEditable:g,buttonGroup:v,dropdown:y,dropdownButtonContents:o,dropdownCheck:b,dialog:_,popover:x,checkbox:w,icon:k,options:f,palette:function(e,t){return r.a.create('<div class="note-color-palette"/>',function(e,t){for(var i=[],n=0,r=t.colors.length;n<r;n++){for(var s=t.eventName,o=t.colors[n],a=t.colorsName[n],l=[],c=0,u=o.length;c<u;c++){var d=o[c],h=a[c];l.push(['<button type="button" class="note-color-btn"','style="background-color:',d,'" ','data-event="',s,'" ','data-value="',d,'" ','title="',h,'" ','aria-label="',h,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}i.push('<div class="note-color-row">'+l.join("")+"</div>")}e.html(i.join("")),t.tooltip&&e.find(".note-color-btn").tooltip({container:t.container||f.container,trigger:"hover",placement:"bottom"})})(e,t)},button:function(e,t){return r.a.create('<button type="button" class="note-btn btn btn-default btn-sm" tabindex="-1">',function(e,t){t&&t.tooltip&&e.attr({title:t.tooltip,"aria-label":t.tooltip}).tooltip({container:t.container||f.container,trigger:"hover",placement:"bottom"}).on("click",function(e){n()(e.currentTarget).tooltip("hide")}),t&&t.codeviewButton&&e.addClass("note-codeview-keep")})(e,t)},toggleBtn:function(e,t){e.toggleClass("disabled",!t),e.attr("disabled",!t)},toggleBtnActive:function(e,t){e.toggleClass("active",t)},onDialogShown:function(e,t){e.one("shown.bs.modal",t)},onDialogHidden:function(e,t){e.one("hidden.bs.modal",t)},showDialog:function(e){e.modal("show")},hideDialog:function(e){e.modal("hide")},createLayout:function(e){var t=(f.airMode?m([u([d(),g()])]):"bottom"===f.toolbarPosition?l([u([d(),h()]),c(),p()]):l([c(),u([d(),h()]),p()])).render();return t.insertAfter(e),{note:e,editor:t,toolbar:t.find(".note-toolbar"),editingArea:t.find(".note-editing-area"),editable:t.find(".note-editable"),codable:t.find(".note-codable"),statusbar:t.find(".note-statusbar")}},removeLayout:function(e,t){e.html(t.editable.html()),t.editor.remove(),e.show()}}}var l=r.a.create('<div class="note-editor note-frame panel panel-default"/>'),c=r.a.create('<div class="panel-heading note-toolbar" role="toolbar"/>'),u=r.a.create('<div class="note-editing-area"/>'),d=r.a.create('<textarea class="note-codable" aria-multiline="true"/>'),h=r.a.create('<div class="note-editable" contentEditable="true" role="textbox" aria-multiline="true"/>'),p=r.a.create(['<output class="note-status-output" role="status" aria-live="polite"></output>','<div class="note-statusbar" role="status">','<div class="note-resizebar" aria-label="Resize">','<div class="note-icon-bar"></div>','<div class="note-icon-bar"></div>','<div class="note-icon-bar"></div>',"</div>","</div>"].join("")),m=r.a.create('<div class="note-editor note-airframe"/>'),g=r.a.create(['<div class="note-editable" contentEditable="true" role="textbox" aria-multiline="true"></div>','<output class="note-status-output" role="status" aria-live="polite"></output>'].join("")),v=r.a.create('<div class="note-btn-group btn-group">'),y=r.a.create('<ul class="note-dropdown-menu dropdown-menu">',function(e,n){var t=Array.isArray(n.items)?n.items.map(function(e){var t="string"==typeof e?e:e.value||"",i=n.template?n.template(e):e,e="object"===s(e)?e.option:void 0;return'<li aria-label="'+t+'"><a href="#" '+('data-value="'+t+'"')+(void 0!==e?' data-option="'+e+'"':"")+">"+i+"</a></li>"}).join(""):n.items;e.html(t).attr({"aria-label":n.title}),n&&n.codeviewKeepButton&&e.addClass("note-codeview-keep")}),b=r.a.create('<ul class="note-dropdown-menu dropdown-menu note-check">',function(e,n){var t=Array.isArray(n.items)?n.items.map(function(e){var t="string"==typeof e?e:e.value||"",i=n.template?n.template(e):e;return'<li aria-label="'+e+'"><a href="#" data-value="'+t+'">'+k(n.checkClassName)+" "+i+"</a></li>"}).join(""):n.items;e.html(t).attr({"aria-label":n.title}),n&&n.codeviewKeepButton&&e.addClass("note-codeview-keep")}),_=r.a.create('<div class="modal note-modal" aria-hidden="false" tabindex="-1" role="dialog"/>',function(e,t){t.fade&&e.addClass("fade"),e.attr({"aria-label":t.title}),e.html(['<div class="modal-dialog">','<div class="modal-content">',t.title?'<div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close" aria-hidden="true">&times;</button><h4 class="modal-title">'+t.title+"</h4></div>":"",'<div class="modal-body">'+t.body+"</div>",t.footer?'<div class="modal-footer">'+t.footer+"</div>":"","</div>","</div>"].join(""))}),x=r.a.create(['<div class="note-popover popover in">','<div class="arrow"></div>','<div class="popover-content note-children-container"></div>',"</div>"].join(""),function(e,t){var i=void 0!==t.direction?t.direction:"bottom";e.addClass(i),t.hideArrow&&e.find(".arrow").hide()}),w=r.a.create('<div class="checkbox"></div>',function(e,t){e.html(["<label"+(t.id?' for="note-'+t.id+'"':"")+">",'<input type="checkbox"'+(t.id?' id="note-'+t.id+'"':""),t.checked?" checked":"",' aria-checked="'+(t.checked?"true":"false")+'"/>',t.text||"","</label>"].join(""))}),k=function(e,t){return"<"+(t=t||"i")+' class="'+e+'"></'+t+">"};i(3),i(4);n.a.summernote=n.a.extend(n.a.summernote,{ui_template:a,interface:"bs3"})}},s={},r.m=n,r.c=s,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=52);function r(e){if(s[e])return s[e].exports;var t=s[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,s},e.exports=n(i("./node_modules/jquery/src/jquery.js"))},
vendor: 41,674 bytes, line 1
1"./node_modules/sweetalert2/dist/sweetalert2.min.js":function(e,t,i){e.exports=function(){"use strict";function s(e){return(s="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 N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t,i){return t&&H(e.prototype,t),i&&H(e,i),e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function $(e,t,i){return($=z()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return i&&R(r,i.prototype),r}).apply(null,arguments)}function B(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function q(e,t,i){return(q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,i){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(i):r.value}})(e,t,i||e)}function W(t){return Object.keys(t).map(function(e){return t[e]})}function l(e){return Array.prototype.slice.call(e)}function V(e,t){var i;i='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),-1===ue.indexOf(i)&&(ue.push(i),g(i))}function U(e){return e&&"function"==typeof e.toPromise}function c(e){return U(e)?e.toPromise():Promise.resolve(e)}function X(e){return e&&Promise.resolve(e)===e}function G(e){return e instanceof Element||"object"===s(t=e)&&t.jquery;var t}function i(e){var t={};for(var i in e)t[e[i]]="swal2-"+e[i];return t}function d(e){var t=k();return t?t.querySelector(e):null}function e(e){return d(".".concat(e))}function K(){var e=S();return l(e.querySelectorAll(".".concat(x.icon)))}function Z(){var e=K().filter(function(e){return r(e)});return e.length?e[0]:null}function J(){return e(x.title)}function v(){return e(x.content)}function Q(){return e(x.image)}function ee(){return e(x["progress-steps"])}function te(){return e(x["validation-message"])}function u(){return d(".".concat(x.actions," .").concat(x.confirm))}function h(){return d(".".concat(x.actions," .").concat(x.cancel))}function f(){return e(x.actions)}function ie(){return e(x.header)}function ne(){return e(x.footer)}function re(){return e(x["timer-progress-bar"])}function se(){return e(x.close)}function oe(){var e=l(S().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(e,t){return e=parseInt(e.getAttribute("tabindex")),(t=parseInt(t.getAttribute("tabindex")))<e?1:e<t?-1:0}),t=l(S().querySelectorAll('\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n')).filter(function(e){return"-1"!==e.getAttribute("tabindex")});return function(e){for(var t=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(e.concat(t)).filter(function(e){return r(e)})}function ae(){return!he()&&!document.body.classList.contains(x["no-backdrop"])}function le(){return S().hasAttribute("data-loading")}function y(t,e){var i;t.textContent="",e&&(i=(new DOMParser).parseFromString(e,"text/html"),l(i.querySelector("head").childNodes).forEach(function(e){t.appendChild(e)}),l(i.querySelector("body").childNodes).forEach(function(e){t.appendChild(e)}))}function p(e,t){if(t){for(var i=t.split(/\s+/),n=0;n<i.length;n++)if(!e.classList.contains(i[n]))return;return 1}}function m(e,t,i){var n,r;if(r=t,l((n=e).classList).forEach(function(e){-1===W(x).indexOf(e)&&-1===W(w).indexOf(e)&&-1===W(r.showClass).indexOf(e)&&n.classList.remove(e)}),t.customClass&&t.customClass[i]){if("string"!=typeof t.customClass[i]&&!t.customClass[i].forEach)return g("Invalid type of customClass.".concat(i,'! Expected string or iterable object, got "').concat(s(t.customClass[i]),'"'));D(e,t.customClass[i])}}var ce="SweetAlert2:",g=function(e){console.warn("".concat(ce," ").concat(e))},b=function(e){console.error("".concat(ce," ").concat(e))},ue=[],de=function(e){return"function"==typeof e?e():e},_=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),x=i(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","toast-column","show","hide","close","title","header","content","html-container","actions","confirm","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),w=i(["success","warning","info","question","error"]),k=function(){return document.body.querySelector(".".concat(x.container))},S=function(){return e(x.popup)},he=function(){return document.body.classList.contains(x["toast-shown"])},M={previousBodyPadding:null};function fe(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return A(e,x[t]);case"checkbox":return e.querySelector(".".concat(x.checkbox," input"));case"radio":return e.querySelector(".".concat(x.radio," input:checked"))||e.querySelector(".".concat(x.radio," input:first-child"));case"range":return e.querySelector(".".concat(x.range," input"));default:return A(e,x.input)}}function pe(e){var t;e.focus(),"file"!==e.type&&(t=e.value,e.value="",e.value=t)}function me(e,t,i){e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach(function(t){e.forEach?e.forEach(function(e){i?e.classList.add(t):e.classList.remove(t)}):i?e.classList.add(t):e.classList.remove(t)}))}function ge(e,t,i){i||0===parseInt(i)?e.style[t]="number"==typeof i?"".concat(i,"px"):i:e.style.removeProperty(t)}function C(e,t){var i=1<arguments.length&&void 0!==t?t:"flex";e.style.opacity="",e.style.display=i}function L(e){e.style.opacity="",e.style.display="none"}function ve(e,t,i){t?C(e,i):L(e)}function ye(e){return!!(e.scrollHeight>e.clientHeight)}function be(e){var t=window.getComputedStyle(e),i=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0<i||0<n}function _e(e,t){var i=1<arguments.length&&void 0!==t&&t,n=re();r(n)&&(i&&(n.style.transition="none",n.style.width="100%"),setTimeout(function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"},10))}function xe(){return"undefined"==typeof window||"undefined"==typeof document}function T(e){I.isVisible()&&Se!==e.target.value&&I.resetValidationMessage(),Se=e.target.value}function we(e,t){e instanceof HTMLElement?t.appendChild(e):"object"===s(e)?Le(e,t):e&&y(t,e)}function ke(e,t){var i=f(),n=u(),r=h();t.showConfirmButton||t.showCancelButton||L(i),m(i,t,"actions"),De(n,"confirm",t),De(r,"cancel",t),t.buttonsStyling?function(e,t,i){D([e,t],x.styled),i.confirmButtonColor&&(e.style.backgroundColor=i.confirmButtonColor);i.cancelButtonColor&&(t.style.backgroundColor=i.cancelButtonColor);{var n;le()||(n=window.getComputedStyle(e).getPropertyValue("background-color"),e.style.borderLeftColor=n,e.style.borderRightColor=n)}}(n,r,t):(E([n,r],x.styled),n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),t.reverseButtons&&n.parentNode.insertBefore(r,n)}var Se,D=function(e,t){me(e,t,!0)},E=function(e,t){me(e,t,!1)},A=function(e,t){for(var i=0;i<e.childNodes.length;i++)if(p(e.childNodes[i],t))return e.childNodes[i]},r=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},Me='\n <div aria-labelledby="'.concat(x.title,'" aria-describedby="').concat(x.content,'" class="').concat(x.popup,'" tabindex="-1">\n   <div class="').concat(x.header,'">\n     <ul class="').concat(x["progress-steps"],'"></ul>\n     <div class="').concat(x.icon," ").concat(w.error,'"></div>\n     <div class="').concat(x.icon," ").concat(w.question,'"></div>\n     <div class="').concat(x.icon," ").concat(w.warning,'"></div>\n     <div class="').concat(x.icon," ").concat(w.info,'"></div>\n     <div class="').concat(x.icon," ").concat(w.success,'"></div>\n     <img class="').concat(x.image,'" />\n     <h2 class="').concat(x.title,'" id="').concat(x.title,'"></h2>\n     <button type="button" class="').concat(x.close,'"></button>\n   </div>\n   <div class="').concat(x.content,'">\n     <div id="').concat(x.content,'" class="').concat(x["html-container"],'"></div>\n     <input class="').concat(x.input,'" />\n     <input type="file" class="').concat(x.file,'" />\n     <div class="').concat(x.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(x.select,'"></select>\n     <div class="').concat(x.radio,'"></div>\n     <label for="').concat(x.checkbox,'" class="').concat(x.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(x.label,'"></span>\n     </label>\n     <textarea class="').concat(x.textarea,'"></textarea>\n     <div class="').concat(x["validation-message"],'" id="').concat(x["validation-message"],'"></div>\n   </div>\n   <div class="').concat(x.actions,'">\n     <button type="button" class="').concat(x.confirm,'">OK</button>\n     <button type="button" class="').concat(x.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(x.footer,'"></div>\n   <div class="').concat(x["timer-progress-bar-container"],'">\n     <div class="').concat(x["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Ce=function(e){var t,i,n,r,s,o,a,l,c,u,d,h,f,p,m,g=!!(t=k())&&(t.parentNode.removeChild(t),E([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]]),!0);xe()?b("SweetAlert2 requires document to initialize"):((i=document.createElement("div")).className=x.container,g&&D(i,x["no-transition"]),y(i,Me),(n="string"==typeof(r=e.target)?document.querySelector(r):r).appendChild(i),s=e,(o=S()).setAttribute("role",s.toast?"alert":"dialog"),o.setAttribute("aria-live",s.toast?"polite":"assertive"),s.toast||o.setAttribute("aria-modal","true"),a=n,"rtl"===window.getComputedStyle(a).direction&&D(k(),x.rtl),l=v(),c=A(l,x.input),u=A(l,x.file),d=l.querySelector(".".concat(x.range," input")),h=l.querySelector(".".concat(x.range," output")),f=A(l,x.select),p=l.querySelector(".".concat(x.checkbox," input")),m=A(l,x.textarea),c.oninput=T,u.onchange=T,f.onchange=T,p.onchange=T,m.oninput=T,d.oninput=function(e){T(e),h.value=d.value},d.onchange=function(e){T(e),d.nextSibling.value=d.value})},Le=function(e,t){e.jquery?Te(t,e):y(t,e.toString())},Te=function(e,t){if(e.textContent="",0 in t)for(var i=0;i in t;i++)e.appendChild(t[i].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},j=function(){if(xe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&void 0!==e.style[i])return t[i];return!1}();function De(e,t,i){var n;ve(e,i["show".concat((n=t).charAt(0).toUpperCase()+n.slice(1),"Button")],"inline-block"),y(e,i["".concat(t,"ButtonText")]),e.setAttribute("aria-label",i["".concat(t,"ButtonAriaLabel")]),e.className=x[t],m(e,i,"".concat(t,"Button")),D(e,i["".concat(t,"ButtonClass")])}function Ee(e,t){var i,n,r,s,o,a,l,c,u=k();u&&(i=u,"string"==typeof(n=t.backdrop)?i.style.background=n:n||D([document.documentElement,document.body],x["no-backdrop"]),!t.backdrop&&t.allowOutsideClick&&g('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),r=u,(s=t.position)in x?D(r,x[s]):(g('The "position" parameter is not valid, defaulting to "center"'),D(r,x.center)),o=u,!(a=t.grow)||"string"!=typeof a||(l="grow-".concat(a))in x&&D(o,x[l]),m(u,t,"container"),(c=document.body.getAttribute("data-swal2-queue-step"))&&(u.setAttribute("data-queue-step",c),document.body.removeAttribute("data-swal2-queue-step")))}function Ae(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)}var O={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},je=["input","file","range","select","radio","checkbox","textarea"],Oe=function(e){if(!n[e.input])return b('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=Ie(e.input),i=n[e.input](t,e);C(i),setTimeout(function(){pe(i)})},Pe=function(e,t){var i=fe(v(),e);if(i)for(var n in!function(e){for(var t=0;t<e.attributes.length;t++){var i=e.attributes[t].name;-1===["type","value","style"].indexOf(i)&&e.removeAttribute(i)}}(i),t)"range"===e&&"placeholder"===n||i.setAttribute(n,t[n])},Ye=function(e){var t=Ie(e.input);e.customClass&&D(t,e.customClass.input)},Ie=function(e){var t=x[e]?x[e]:x.input;return A(v(),t)},n={};function Ne(e,t){var i,n,r,s,o,a=v().querySelector("#".concat(x.content));t.html?(we(t.html,a),C(a,"block")):t.text?(a.textContent=t.text,C(a,"block")):L(a),i=e,n=t,r=v(),s=O.innerParams.get(i),o=!s||n.input!==s.input,je.forEach(function(e){var t=x[e],i=A(r,t);Pe(e,n.inputAttributes),i.className=t,o&&L(i)}),n.input&&(o&&Oe(n),Ye(n)),m(v(),t,"content")}function He(){return k()&&k().getAttribute("data-queue-step")}function Fe(e,l){var c=ee();if(!l.progressSteps||0===l.progressSteps.length)return L(c),0;C(c),c.textContent="";var u=parseInt(void 0===l.currentProgressStep?He():l.currentProgressStep);u>=l.progressSteps.length&&g("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),l.progressSteps.forEach(function(e,t){var i,n,r,s,o,a=(i=e,n=document.createElement("li"),D(n,x["progress-step"]),y(n,i),n);c.appendChild(a),t===u&&D(a,x["active-progress-step"]),t!==l.progressSteps.length-1&&(s=l,o=document.createElement("li"),D(o,x["progress-step-line"]),s.progressStepsDistance&&(o.style.width=s.progressStepsDistance),r=o,c.appendChild(r))})}function Re(e,t){var i,n,r,s,o,a,l,c,u=ie();m(u,t,"header"),Fe(0,t),i=e,n=t,(s=O.innerParams.get(i))&&n.icon===s.icon&&Z()?m(Z(),n,"icon"):(Be(),n.icon&&(-1!==Object.keys(w).indexOf(n.icon)?(r=d(".".concat(x.icon,".").concat(w[n.icon])),C(r),We(r,n),qe(),m(r,n,"icon"),D(r,n.showClass.icon)):b('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(n.icon,'"')))),function(e){var t=Q();if(!e.imageUrl)return L(t);C(t,""),t.setAttribute("src",e.imageUrl),t.setAttribute("alt",e.imageAlt),ge(t,"width",e.imageWidth),ge(t,"height",e.imageHeight),t.className=x.image,m(t,e,"image")}(t),o=t,a=J(),ve(a,o.title||o.titleText),o.title&&we(o.title,a),o.titleText&&(a.innerText=o.titleText),m(a,o,"title"),l=t,c=se(),y(c,l.closeButtonHtml),m(c,l,"closeButton"),ve(c,l.showCloseButton),c.setAttribute("aria-label",l.closeButtonAriaLabel)}function ze(e,t){var i,n,r,s;i=t,n=S(),ge(n,"width",i.width),ge(n,"padding",i.padding),i.background&&(n.style.background=i.background),Ue(n,i),Ee(0,t),Re(e,t),Ne(e,t),ke(0,t),r=t,s=ne(),ve(s,r.footer),r.footer&&we(r.footer,s),m(s,r,"footer"),"function"==typeof t.onRender&&t.onRender(S())}function $e(){return u()&&u().click()}n.text=n.email=n.password=n.number=n.tel=n.url=function(e,t){return"string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:X(t.inputValue)||g('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(s(t.inputValue),'"')),Ae(e,t),e.type=t.input,e},n.file=function(e,t){return Ae(e,t),e},n.range=function(e,t){var i=e.querySelector("input"),n=e.querySelector("output");return i.value=t.inputValue,i.type=t.input,n.value=t.inputValue,e},n.select=function(e,t){var i;return e.textContent="",t.inputPlaceholder&&(i=document.createElement("option"),y(i,t.inputPlaceholder),i.value="",i.disabled=!0,i.selected=!0,e.appendChild(i)),e},n.radio=function(e){return e.textContent="",e},n.checkbox=function(e,t){var i=fe(v(),"checkbox");i.value=1,i.id=x.checkbox,i.checked=Boolean(t.inputValue);var n=e.querySelector("span");return y(n,t.inputPlaceholder),e},n.textarea=function(t,e){var i,n;return t.value=e.inputValue,Ae(t,e),"MutationObserver"in window&&(i=parseInt(window.getComputedStyle(S()).width),n=parseInt(window.getComputedStyle(S()).paddingLeft)+parseInt(window.getComputedStyle(S()).paddingRight),new MutationObserver(function(){var e=t.offsetWidth+n;S().style.width=i<e?"".concat(e,"px"):null}).observe(t,{attributes:!0,attributeFilter:["style"]})),t};var Be=function(){for(var e=K(),t=0;t<e.length;t++)L(e[t])},qe=function(){for(var e=S(),t=window.getComputedStyle(e).getPropertyValue("background-color"),i=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),n=0;n<i.length;n++)i[n].style.backgroundColor=t},We=function(e,t){e.textContent="",t.iconHtml?y(e,Ve(t.iconHtml)):"success"===t.icon?y(e,'\n      <div class="swal2-success-circular-line-left"></div>\n      <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n      <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n      <div class="swal2-success-circular-line-right"></div>\n    '):"error"===t.icon?y(e,'\n      <span class="swal2-x-mark">\n        <span class="swal2-x-mark-line-left"></span>\n        <span class="swal2-x-mark-line-right"></span>\n      </span>\n    '):y(e,Ve({question:"?",warning:"!",info:"i"}[t.icon]))},Ve=function(e){return'<div class="'.concat(x["icon-content"],'">').concat(e,"</div>")},P=[],Ue=function(e,t){e.className="".concat(x.popup," ").concat(r(e)?t.showClass.popup:""),t.toast?(D([document.documentElement,document.body],x["toast-shown"]),D(e,x.toast)):D(e,x.modal),m(e,t,"popup"),"string"==typeof t.customClass&&D(e,t.customClass),t.icon&&D(e,x["icon-".concat(t.icon)])};function Xe(){var e=S();e||I.fire(),e=S();var t=f(),i=u();C(t),C(i,"inline-block"),D([e,t],x.loading),i.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()}function Ge(){return new Promise(function(e){var t=window.scrollX,i=window.scrollY;Y.restoreFocusTimeout=setTimeout(function(){Y.previousActiveElement&&Y.previousActiveElement.focus?(Y.previousActiveElement.focus(),Y.previousActiveElement=null):document.body&&document.body.focus(),e()},100),void 0!==t&&void 0!==i&&window.scrollTo(t,i)})}function Ke(){if(Y.timeout)return function(){var e=re(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var i=parseInt(window.getComputedStyle(e).width),n=parseInt(t/i*100);e.style.removeProperty("transition"),e.style.width="".concat(n,"%")}(),Y.timeout.stop()}function Ze(){if(Y.timeout){var e=Y.timeout.start();return _e(e),e}}function Je(e){return Object.prototype.hasOwnProperty.call(tt,e)}function Qe(e){return nt[e]}function et(e){for(var t in e)Je(r=t)||g('Unknown parameter "'.concat(r,'"')),e.toast&&(n=t,-1!==rt.indexOf(n)&&g('The parameter "'.concat(n,'" is incompatible with toasts'))),Qe(i=t)&&V(i,Qe(i));var i,n,r}var Y={},tt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},it=["title","titleText","text","html","footer","icon","hideClass","customClass","allowOutsideClick","allowEscapeKey","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","showCloseButton","closeButtonHtml","closeButtonAriaLabel","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep","onClose","onAfterClose","onDestroy"],nt={animation:'showClass" and "hideClass'},rt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],st=Object.freeze({isValidParameter:Je,isUpdatableParameter:function(e){return-1!==it.indexOf(e)},isDeprecatedParameter:Qe,argsToParams:function(n){var r={};return"object"!==s(n[0])||G(n[0])?["title","html","icon"].forEach(function(e,t){var i=n[t];"string"==typeof i||G(i)?r[e]=i:void 0!==i&&b("Unexpected type of ".concat(e,'! Expected "string" or "Element", got ').concat(s(i)))}):o(r,n[0]),r},isVisible:function(){return r(S())},clickConfirm:$e,clickCancel:function(){return h()&&h().click()},getContainer:k,getPopup:S,getTitle:J,getContent:v,getHtmlContainer:function(){return e(x["html-container"])},getImage:Q,getIcon:Z,getIcons:K,getCloseButton:se,getActions:f,getConfirmButton:u,getCancelButton:h,getHeader:ie,getFooter:ne,getTimerProgressBar:re,getFocusableElements:oe,getValidationMessage:te,isLoading:le,fire:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return $(this,t)},mixin:function(s){return function(e){!function(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&&R(e,t)}(r,e);var i,n,t=(i=r,n=z(),function(){var e,t=a(i);return B(this,n?(e=a(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))});function r(){return N(this,r),t.apply(this,arguments)}return F(r,[{key:"_main",value:function(e){return q(a(r.prototype),"_main",this).call(this,o({},s,e))}}]),r}(this)},queue:function(e){var s=this;P=e;function o(e,t){P=[],e(t)}var a=[];return new Promise(function(r){!function t(i,n){i<P.length?(document.body.setAttribute("data-swal2-queue-step",i),s.fire(P[i]).then(function(e){void 0!==e.value?(a.push(e.value),t(i+1,n)):o(r,{dismiss:e.dismiss})})):o(r,{value:a})}(0)})},getQueueStep:He,insertQueueStep:function(e,t){return t&&t<P.length?P.splice(t,0,e):P.push(e)},deleteQueueStep:function(e){void 0!==P[e]&&P.splice(e,1)},showLoading:Xe,enableLoading:Xe,getTimerLeft:function(){return Y.timeout&&Y.timeout.getTimerLeft()},stopTimer:Ke,resumeTimer:Ze,toggleTimer:function(){var e=Y.timeout;return e&&(e.running?Ke:Ze)()},increaseTimer:function(e){if(Y.timeout){var t=Y.timeout.increase(e);return _e(t,!0),t}},isTimerRunning:function(){return Y.timeout&&Y.timeout.isRunning()}});function ot(){var e,t=O.innerParams.get(this);t&&(e=O.domCache.get(this),t.showConfirmButton||(L(e.confirmButton),t.showCancelButton||L(e.actions)),E([e.popup,e.actions],x.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1)}function at(){null===M.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(M.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(M.previousBodyPadding+function(){var e=document.createElement("div");e.className=x["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t}(),"px"))}function lt(){return!!window.MSInputMethodContext&&!!document.documentMode}function ct(){var e=k(),t=S();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")}var ut=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||S().scrollHeight>window.innerHeight-44&&(k().style.paddingBottom="".concat(44,"px"))},dt=function(){var t,e=k();e.ontouchstart=function(e){t=ht(e.target)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},ht=function(e){var t=k();return e===t||!(ye(t)||"INPUT"===e.tagName||ye(v())&&v().contains(e))},ft={swalPromiseResolve:new WeakMap};function pt(e,t,i,n){var r;i?vt(e,n):(Ge().then(function(){return vt(e,n)}),Y.keydownTarget.removeEventListener("keydown",Y.keydownHandler,{capture:Y.keydownListenerCapture}),Y.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),ae()&&(null!==M.previousBodyPadding&&(document.body.style.paddingRight="".concat(M.previousBodyPadding,"px"),M.previousBodyPadding=null),p(document.body,x.iosfix)&&(r=parseInt(document.body.style.top,10),E(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*r),"undefined"!=typeof window&&lt()&&window.removeEventListener("resize",ct),l(document.body.children).forEach(function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})),E([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]])}function mt(e){var t,i,n,r=S();r&&(t=O.innerParams.get(this))&&!p(r,t.hideClass.popup)&&(i=ft.swalPromiseResolve.get(this),E(r,t.showClass.popup),D(r,t.hideClass.popup),n=k(),E(n,t.showClass.backdrop),D(n,t.hideClass.backdrop),function(e,t,i){var n=k(),r=j&&be(t),s=i.onClose,o=i.onAfterClose;if(s!==null&&typeof s==="function")s(t);if(r)gt(e,t,n,o);else pt(e,n,he(),o)}(this,r,t),void 0!==e?(e.isDismissed=void 0!==e.dismiss,e.isConfirmed=void 0===e.dismiss):e={isDismissed:!0,isConfirmed:!1},i(e||{}))}var gt=function(e,t,i,n){Y.swalCloseEventFinishedCallback=pt.bind(null,e,i,he(),n),t.addEventListener(j,function(e){e.target===t&&(Y.swalCloseEventFinishedCallback(),delete Y.swalCloseEventFinishedCallback)})},vt=function(e,t){setTimeout(function(){"function"==typeof t&&t(),e._destroy()})};function yt(e,t,i){var n=O.domCache.get(e);t.forEach(function(e){n[e].disabled=i})}function bt(e,t){if(!e)return!1;if("radio"===e.type)for(var i=e.parentNode.parentNode.querySelectorAll("input"),n=0;n<i.length;n++)i[n].disabled=t;else e.disabled=t}var _t=function(){function i(e,t){N(this,i),this.callback=e,this.remaining=t,this.running=!1,this.start()}return F(i,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),i}(),xt={email:function(e,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function wt(e){var t,i;(t=e).inputValidator||Object.keys(xt).forEach(function(e){t.input===e&&(t.inputValidator=xt[e])}),e.showLoaderOnConfirm&&!e.preConfirm&&g("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),e.animation=de(e.animation),(i=e).target&&("string"!=typeof i.target||document.querySelector(i.target))&&("string"==typeof i.target||i.target.appendChild)||(g('Target parameter is not valid, defaulting to "body"'),i.target="body"),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),Ce(e)}function kt(e){var t=k(),i=S();"function"==typeof e.onBeforeOpen&&e.onBeforeOpen(i);var n=window.getComputedStyle(document.body).overflowY;Pt(t,i,e),jt(t,i),ae()&&(Ot(t,e.scrollbarPadding,n),l(document.body.children).forEach(function(e){e===k()||function(e,t){if("function"==typeof e.contains)return e.contains(t)}(e,k())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))})),he()||Y.previousActiveElement||(Y.previousActiveElement=document.activeElement),"function"==typeof e.onOpen&&setTimeout(function(){return e.onOpen(i)}),E(t,x["no-transition"])}function St(e){var t,i=S();e.target===i&&(t=k(),i.removeEventListener(j,St),t.style.overflowY="auto")}function Mt(e,t){"select"===t.input||"radio"===t.input?Ht(e,t):-1!==["text","email","number","tel","textarea"].indexOf(t.input)&&(U(t.inputValue)||X(t.inputValue))&&Ft(e,t)}function Ct(e,t){e.disableButtons(),t.input?$t(e,t):Bt(e,t,!0)}function Lt(e,t){e.disableButtons(),t(_.cancel)}function Tt(e,t){e.closePopup({value:t})}function Dt(t,e,i,n){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),i.toast||(e.keydownHandler=function(e){return Vt(t,e,n)},e.keydownTarget=i.keydownListenerCapture?window:S(),e.keydownListenerCapture=i.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)}function Et(e,t,i){var n=oe(),r=0;if(r<n.length)return(t+=i)===n.length?t=0:-1===t&&(t=n.length-1),n[t].focus();S().focus()}function At(e,t,i){O.innerParams.get(e).toast?Zt(e,t,i):(Qt(t),ei(t),ti(e,t,i))}var jt=function(e,t){j&&be(t)?(e.style.overflowY="hidden",t.addEventListener(j,St)):e.style.overflowY="auto"},Ot=function(e,t,i){var n;(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!p(document.body,x.iosfix)&&(n=document.body.scrollTop,document.body.style.top="".concat(-1*n,"px"),D(document.body,x.iosfix),dt(),ut()),"undefined"!=typeof window&&lt()&&(ct(),window.addEventListener("resize",ct)),t&&"hidden"!==i&&at(),setTimeout(function(){e.scrollTop=0})},Pt=function(e,t,i){D(e,i.showClass.backdrop),C(t),D(t,i.showClass.popup),D([document.documentElement,document.body],x.shown),i.heightAuto&&i.backdrop&&!i.toast&&D([document.documentElement,document.body],x["height-auto"])},Yt=function(e){return e.checked?1:0},It=function(e){return e.checked?e.value:null},Nt=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},Ht=function(t,i){function n(e){return Rt[i.input](r,zt(e),i)}var r=v();U(i.inputOptions)||X(i.inputOptions)?(Xe(),c(i.inputOptions).then(function(e){t.hideLoading(),n(e)})):"object"===s(i.inputOptions)?n(i.inputOptions):b("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(s(i.inputOptions)))},Ft=function(t,i){var n=t.getInput();L(n),c(i.inputValue).then(function(e){n.value="number"===i.input?parseFloat(e)||0:"".concat(e),C(n),n.focus(),t.hideLoading()}).catch(function(e){b("Error in inputValue promise: ".concat(e)),n.value="",C(n),n.focus(),t.hideLoading()})},Rt={select:function(e,t,r){function s(e,t,i){var n=document.createElement("option");n.value=i,y(n,t),r.inputValue.toString()===i.toString()&&(n.selected=!0),e.appendChild(n)}var o=A(e,x.select);t.forEach(function(e){var t,i=e[0],n=e[1];Array.isArray(n)?((t=document.createElement("optgroup")).label=i,t.disabled=!1,o.appendChild(t),n.forEach(function(e){return s(t,e[1],e[0])})):s(o,n,i)}),o.focus()},radio:function(e,t,o){var a=A(e,x.radio);t.forEach(function(e){var t=e[0],i=e[1],n=document.createElement("input"),r=document.createElement("label");n.type="radio",n.name=x.radio,n.value=t,o.inputValue.toString()===t.toString()&&(n.checked=!0);var s=document.createElement("span");y(s,i),s.className=x.label,r.appendChild(n),r.appendChild(s),a.appendChild(r)});var i=a.querySelectorAll("input");i.length&&i[0].focus()}},zt=function n(i){var r=[];return"undefined"!=typeof Map&&i instanceof Map?i.forEach(function(e,t){var i=e;"object"===s(i)&&(i=n(i)),r.push([t,i])}):Object.keys(i).forEach(function(e){var t=i[e];"object"===s(t)&&(t=n(t)),r.push([e,t])}),r},$t=function(t,i){var n=function(e,t){var i=e.getInput();if(!i)return null;switch(t.input){case"checkbox":return Yt(i);case"radio":return It(i);case"file":return Nt(i);default:return t.inputAutoTrim?i.value.trim():i.value}}(t,i);i.inputValidator?(t.disableInput(),Promise.resolve().then(function(){return c(i.inputValidator(n,i.validationMessage))}).then(function(e){t.enableButtons(),t.enableInput(),e?t.showValidationMessage(e):Bt(t,i,n)})):t.getInput().checkValidity()?Bt(t,i,n):(t.enableButtons(),t.showValidationMessage(i.validationMessage))},Bt=function(t,e,i){e.showLoaderOnConfirm&&Xe(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then(function(){return c(e.preConfirm(i,e.validationMessage))}).then(function(e){r(te())||!1===e?t.hideLoading():Tt(t,void 0===e?i:e)})):Tt(t,i)},qt=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],Wt=["Escape","Esc"],Vt=function(e,t,i){var n=O.innerParams.get(e);n.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Ut(e,t,n):"Tab"===t.key?Xt(t,n):-1!==qt.indexOf(t.key)?Gt():-1!==Wt.indexOf(t.key)&&Kt(t,n,i)},Ut=function(e,t,i){if(!t.isComposing&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(i.input))return;$e(),t.preventDefault()}},Xt=function(e){for(var t=e.target,i=oe(),n=-1,r=0;r<i.length;r++)if(t===i[r]){n=r;break}e.shiftKey?Et(0,n,-1):Et(0,n,1),e.stopPropagation(),e.preventDefault()},Gt=function(){var e=u(),t=h();document.activeElement===e&&r(t)?t.focus():document.activeElement===t&&r(e)&&e.focus()},Kt=function(e,t,i){de(t.allowEscapeKey)&&(e.preventDefault(),i(_.esc))},Zt=function(t,e,i){e.popup.onclick=function(){var e=O.innerParams.get(t);e.showConfirmButton||e.showCancelButton||e.showCloseButton||e.input||i(_.close)}},Jt=!1,Qt=function(t){t.popup.onmousedown=function(){t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(Jt=!0)}}},ei=function(t){t.container.onmousedown=function(){t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||(Jt=!0)}}},ti=function(i,n,r){n.container.onclick=function(e){var t=O.innerParams.get(i);Jt?Jt=!1:e.target===n.container&&de(t.allowOutsideClick)&&r(_.backdrop)}},ii=function(e,t,i){var n=re();L(n),t.timer&&(e.timeout=new _t(function(){i("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(C(n),setTimeout(function(){e.timeout.running&&_e(t.timer)})))},ni=function(e,t){if(!t.toast)return de(t.allowEnterKey)?t.focusCancel&&r(e.cancelButton)?e.cancelButton.focus():t.focusConfirm&&r(e.confirmButton)?e.confirmButton.focus():void Et(0,-1,1):ri()},ri=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},si,oi=function(e){for(var t in e)e[t]=new WeakMap},ai=Object.freeze({hideLoading:ot,disableLoading:ot,getInput:function(e){var t=O.innerParams.get(e||this),i=O.domCache.get(e||this);return i?fe(i.content,t.input):null},close:mt,closePopup:mt,closeModal:mt,closeToast:mt,enableButtons:function(){yt(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){yt(this,["confirmButton","cancelButton"],!0)},enableInput:function(){return bt(this.getInput(),!1)},disableInput:function(){return bt(this.getInput(),!0)},showValidationMessage:function(e){var t=O.domCache.get(this);y(t.validationMessage,e);var i=window.getComputedStyle(t.popup);t.validationMessage.style.marginLeft="-".concat(i.getPropertyValue("padding-left")),t.validationMessage.style.marginRight="-".concat(i.getPropertyValue("padding-right")),C(t.validationMessage);var n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedBy",x["validation-message"]),pe(n),D(n,x.inputerror))},resetValidationMessage:function(){var e=O.domCache.get(this);e.validationMessage&&L(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),E(t,x.inputerror))},getProgressSteps:function(){return O.domCache.get(this).progressSteps},_main:function(e){et(e),Y.currentInstance&&Y.currentInstance._destroy(),Y.currentInstance=this;var t=function(e){var t=o({},tt.showClass,e.showClass),i=o({},tt.hideClass,e.hideClass),n=o({},tt,e);if(n.showClass=t,n.hideClass=i,e.animation===false){n.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"};n.hideClass={}}return n}(e);wt(t),Object.freeze(t),Y.timeout&&(Y.timeout.stop(),delete Y.timeout),clearTimeout(Y.restoreFocusTimeout);var i=function(e){var t={popup:S(),container:k(),content:v(),actions:f(),confirmButton:u(),cancelButton:h(),closeButton:se(),validationMessage:te(),progressSteps:ee()};return O.domCache.set(e,t),t}(this);return ze(this,t),O.innerParams.set(this,t),function(i,n,r){return new Promise(function(e){var t=function e(t){i.closePopup({dismiss:t})};ft.swalPromiseResolve.set(i,e);n.confirmButton.onclick=function(){return Ct(i,r)};n.cancelButton.onclick=function(){return Lt(i,t)};n.closeButton.onclick=function(){return t(_.close)};At(i,n,t);Dt(i,Y,r,t);if(r.toast&&(r.input||r.footer||r.showCloseButton))D(document.body,x["toast-column"]);else E(document.body,x["toast-column"]);Mt(i,r);kt(r);ii(Y,r,t);ni(n,r);setTimeout(function(){n.container.scrollTop=0})})}(this,i,t)},update:function(t){var e=S(),i=O.innerParams.get(this);if(!e||p(e,i.hideClass.popup))return g("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var n={};Object.keys(t).forEach(function(e){I.isUpdatableParameter(e)?n[e]=t[e]:g('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var r=o({},i,n);ze(this,r),O.innerParams.set(this,r),Object.defineProperties(this,{params:{value:o({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){var e=O.domCache.get(this),t=O.innerParams.get(this);t&&(e.popup&&Y.swalCloseEventFinishedCallback&&(Y.swalCloseEventFinishedCallback(),delete Y.swalCloseEventFinishedCallback),Y.deferDisposalTimer&&(clearTimeout(Y.deferDisposalTimer),delete Y.deferDisposalTimer),"function"==typeof t.onDestroy&&t.onDestroy(),delete this.params,delete Y.keydownHandler,delete Y.keydownTarget,oi(O),oi(ft))}}),t=function(){function s(){if(N(this,s),"undefined"!=typeof window){"undefined"==typeof Promise&&b("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),si=this;for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=Object.freeze(this.constructor.argsToParams(t));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0,configurable:!0}});var r=this._main(this.params);O.promise.set(this,r)}}return F(s,[{key:"then",value:function(e){return O.promise.get(this).then(e)}},{key:"finally",value:function(e){return O.promise.get(this).finally(e)}}]),s}(),I=(o(t.prototype,ai),o(t,st),Object.keys(ai).forEach(function(e){t[e]=function(){if(si)return si[e].apply(si,arguments)}}),t.DismissReason=_,t.version="9.17.1",t);return I.default=I}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2)},
vendor: 56,186 bytes, line 1
1"./node_modules/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js":function(e,t){if("undefined"==typeof jQuery)throw new Error("Tempus Dominus Bootstrap4's requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4's JavaScript.");var i=jQuery.fn.jquery.split(" ")[0].split(".");if(i[0]<2&&i[1]<9||1===i[0]&&9===i[1]&&i[2]<1||4<=i[0])throw new Error("Tempus Dominus Bootstrap4's requires at least jQuery v3.0.0 but less than v4.0.0");if("undefined"==typeof moment)throw new Error("Tempus Dominus Bootstrap4's requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4's JavaScript.");var s,m,l,n,o,a,c,r,u,i=moment.version.split(".");if(i[0]<=2&&i[1]<17||3<=i[0])throw new Error("Tempus Dominus Bootstrap4's requires at least moment.js v2.17.0 but less than v3.0.0");function d(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e){var t=e.data("target"),i=void 0;return t||(t=e.attr("href")||"",t=/^#[a-z]/i.test(t)?t:null),0===(i=l(t)).length||i.data(u.DATA_KEY)||l.extend({},i.data(),l(this).data()),i}s="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},m=function(e,t,i){return t&&d(e.prototype,t),i&&d(e,i),e},u=function(r,i){var e="datetimepicker",t=e,n="."+t,s={DATA_TOGGLE:'[data-toggle="'+t+'"]'},o={INPUT:e+"-input"},a={CHANGE:"change"+n,BLUR:"blur"+n,KEYUP:"keyup"+n,KEYDOWN:"keydown"+n,FOCUS:"focus"+n,CLICK_DATA_API:"click"+n+".data-api",UPDATE:"update"+n,ERROR:"error"+n,HIDE:"hide"+n,SHOW:"show"+n},l=[{CLASS_NAME:"days",NAV_FUNCTION:"M",NAV_STEP:1},{CLASS_NAME:"months",NAV_FUNCTION:"y",NAV_STEP:1},{CLASS_NAME:"years",NAV_FUNCTION:"y",NAV_STEP:10},{CLASS_NAME:"decades",NAV_FUNCTION:"y",NAV_STEP:100}],c={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},u=["times","days","months","years","decades"],d={},h={},f={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:i.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-calendar-check-o",clear:"fa fa-delete",close:"fa fa-times"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time",selectDate:"Select Date"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",buttons:{showToday:!1,showClear:!1,showClose:!1},widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,keyBinds:{up:function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m")),!0},down:function(){if(!this.widget)return this.show(),!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m")),!0},"control up":function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h")),!0},"control down":function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h")),!0},left:function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d")),!0},right:function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d")),!0},pageUp:function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M")),!0},pageDown:function(){if(!this.widget)return!1;var e=this._dates[0]||this.getMoment();return this.widget.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M")),!0},enter:function(){return!!this.widget&&(this.hide(),!0)},escape:function(){return!!this.widget&&(this.hide(),!0)},"control space":function(){return!!this.widget&&(this.widget.find(".timepicker").is(":visible")&&this.widget.find('.btn[data-action="togglePeriod"]').click(),!0)},t:function(){return!!this.widget&&(this.date(this.getMoment()),!0)},delete:function(){return!!this.widget&&(this.clear(),!0)}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1,allowMultidate:!1,multidateSeparator:","};function p(e,t){g(this,p),this._options=this._getOptions(t),this._element=e,this._dates=[],this._datesFormatted=[],this._viewDate=null,this.unset=!0,this.component=!1,this.widget=!1,this.use24Hours=null,this.actualFormat=null,this.parseFormats=null,this.currentViewMode=null,this.MinViewModeNumber=0,this._int()}return p.prototype._int=function(){var e=this._element.data("target-input");this._element.is("input")?this.input=this._element:void 0!==e&&(this.input="nearest"===e?this._element.find("input"):r(e)),this._dates=[],this._dates[0]=this.getMoment(),this._viewDate=this.getMoment().clone(),r.extend(!0,this._options,this._dataToOptions()),this.options(this._options),this._initFormatting(),void 0!==this.input&&this.input.is("input")&&0!==this.input.val().trim().length?this._setValue(this._parseInputDate(this.input.val().trim()),0):this._options.defaultDate&&void 0!==this.input&&void 0===this.input.attr("placeholder")&&this._setValue(this._options.defaultDate,0),this._options.inline&&this.show()},p.prototype._update=function(){this.widget&&(this._fillDate(),this._fillTime())},p.prototype._setValue=function(e,t){var i=this.unset?null:this._dates[t],n="";if(!e)return this._options.allowMultidate&&1!==this._dates.length?(n=(n=this._element.data("date")+",").replace(i.format(this.actualFormat)+",","").replace(",,","").replace(/,\s*$/,""),this._dates.splice(t,1),this._datesFormatted.splice(t,1)):(this.unset=!0,this._dates=[],this._datesFormatted=[]),void 0!==this.input&&(this.input.val(n),this.input.trigger("input")),this._element.data("date",n),this._notifyEvent({type:p.Event.CHANGE,date:!1,oldDate:i}),void this._update();if(e=e.clone().locale(this._options.locale),this._hasTimeZone()&&e.tz(this._options.timeZone),1!==this._options.stepping&&e.minutes(Math.round(e.minutes()/this._options.stepping)*this._options.stepping).seconds(0),this._isValid(e)){if(this._dates[t]=e,this._datesFormatted[t]=e.format("YYYY-MM-DD"),this._viewDate=e.clone(),this._options.allowMultidate&&1<this._dates.length){for(var r=0;r<this._dates.length;r++)n+=""+this._dates[r].format(this.actualFormat)+this._options.multidateSeparator;n=n.replace(/,\s*$/,"")}else n=this._dates[t].format(this.actualFormat);void 0!==this.input&&(this.input.val(n),this.input.trigger("input")),this._element.data("date",n),this.unset=!1,this._update(),this._notifyEvent({type:p.Event.CHANGE,date:this._dates[t].clone(),oldDate:i})}else this._options.keepInvalid?this._notifyEvent({type:p.Event.CHANGE,date:e,oldDate:i}):void 0!==this.input&&(this.input.val(""+(this.unset?"":this._dates[t].format(this.actualFormat))),this.input.trigger("input")),this._notifyEvent({type:p.Event.ERROR,date:e,oldDate:i})},p.prototype._change=function(e){var t=r(e.target).val().trim(),t=t?this._parseInputDate(t):null;return this._setValue(t),e.stopImmediatePropagation(),!1},p.prototype._getOptions=function(e){return e=r.extend(!0,{},f,e)},p.prototype._hasTimeZone=function(){return void 0!==i.tz&&void 0!==this._options.timeZone&&null!==this._options.timeZone&&""!==this._options.timeZone},p.prototype._isEnabled=function(e){if("string"!=typeof e||1<e.length)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return-1!==this.actualFormat.indexOf("Y");case"M":return-1!==this.actualFormat.indexOf("M");case"d":return-1!==this.actualFormat.toLowerCase().indexOf("d");case"h":case"H":return-1!==this.actualFormat.toLowerCase().indexOf("h");case"m":return-1!==this.actualFormat.indexOf("m");case"s":return-1!==this.actualFormat.indexOf("s");case"a":case"A":return-1!==this.actualFormat.toLowerCase().indexOf("a");default:return!1}},p.prototype._hasTime=function(){return this._isEnabled("h")||this._isEnabled("m")||this._isEnabled("s")},p.prototype._hasDate=function(){return this._isEnabled("y")||this._isEnabled("M")||this._isEnabled("d")},p.prototype._dataToOptions=function(){var i=this._element.data(),n={};return i.dateOptions&&i.dateOptions instanceof Object&&(n=r.extend(!0,n,i.dateOptions)),r.each(this._options,function(e){var t="date"+e.charAt(0).toUpperCase()+e.slice(1);void 0!==i[t]?n[e]=i[t]:delete n[e]}),n},p.prototype._notifyEvent=function(e){e.type===p.Event.CHANGE&&e.date&&e.date.isSame(e.oldDate)||!e.date&&!e.oldDate||this._element.trigger(e)},p.prototype._viewUpdate=function(e){this._notifyEvent({type:p.Event.UPDATE,change:e="y"===e?"YYYY":e,viewDate:this._viewDate.clone()})},p.prototype._showMode=function(e){this.widget&&(e&&(this.currentViewMode=Math.max(this.MinViewModeNumber,Math.min(3,this.currentViewMode+e))),this.widget.find(".datepicker > div").hide().filter(".datepicker-"+l[this.currentViewMode].CLASS_NAME).show())},p.prototype._isInDisabledDates=function(e){return!0===this._options.disabledDates[e.format("YYYY-MM-DD")]},p.prototype._isInEnabledDates=function(e){return!0===this._options.enabledDates[e.format("YYYY-MM-DD")]},p.prototype._isInDisabledHours=function(e){return!0===this._options.disabledHours[e.format("H")]},p.prototype._isInEnabledHours=function(e){return!0===this._options.enabledHours[e.format("H")]},p.prototype._isValid=function(e,t){if(!e.isValid())return!1;if(this._options.disabledDates&&"d"===t&&this._isInDisabledDates(e))return!1;if(this._options.enabledDates&&"d"===t&&!this._isInEnabledDates(e))return!1;if(this._options.minDate&&e.isBefore(this._options.minDate,t))return!1;if(this._options.maxDate&&e.isAfter(this._options.maxDate,t))return!1;if(this._options.daysOfWeekDisabled&&"d"===t&&-1!==this._options.daysOfWeekDisabled.indexOf(e.day()))return!1;if(this._options.disabledHours&&("h"===t||"m"===t||"s"===t)&&this._isInDisabledHours(e))return!1;if(this._options.enabledHours&&("h"===t||"m"===t||"s"===t)&&!this._isInEnabledHours(e))return!1;if(this._options.disabledTimeIntervals&&("h"===t||"m"===t||"s"===t)){var i=!1;if(r.each(this._options.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return!(i=!0)}),i)return!1}return!0},p.prototype._parseInputDate=function(e){return void 0===this._options.parseInputDate?i.isMoment(e)||(e=this.getMoment(e)):e=this._options.parseInputDate(e),e},p.prototype._keydown=function(e){var t,i=null,n=void 0,r=void 0,s=void 0,o=[],a={},l=e.which;for(n in d[l]="p",d)d.hasOwnProperty(n)&&"p"===d[n]&&(o.push(n),parseInt(n,10)!==l&&(a[n]=!0));for(n in this._options.keyBinds)if(this._options.keyBinds.hasOwnProperty(n)&&"function"==typeof this._options.keyBinds[n]&&(t=n.split(" ")).length===o.length&&c[l]===t[t.length-1]){for(s=!0,r=t.length-2;0<=r;r--)if(!(c[t[r]]in a)){s=!1;break}if(s){i=this._options.keyBinds[n];break}}i&&i.call(this)&&(e.stopPropagation(),e.preventDefault())},p.prototype._keyup=function(e){d[e.which]="r",h[e.which]&&(h[e.which]=!1,e.stopPropagation(),e.preventDefault())},p.prototype._indexGivenDates=function(e){var t={},i=this;return r.each(e,function(){var e=i._parseInputDate(this);e.isValid()&&(t[e.format("YYYY-MM-DD")]=!0)}),!!Object.keys(t).length&&t},p.prototype._indexGivenHours=function(e){var t={};return r.each(e,function(){t[this]=!0}),!!Object.keys(t).length&&t},p.prototype._initFormatting=function(){var e=this._options.format||"L LT",t=this;this.actualFormat=e.replace(/(\[[^\[]*])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return t._dates[0].localeData().longDateFormat(e)||e}),this.parseFormats=this._options.extraFormats?this._options.extraFormats.slice():[],this.parseFormats.indexOf(e)<0&&this.parseFormats.indexOf(this.actualFormat)<0&&this.parseFormats.push(this.actualFormat),this.use24Hours=this.actualFormat.toLowerCase().indexOf("a")<1&&this.actualFormat.replace(/\[.*?]/g,"").indexOf("h")<1,this._isEnabled("y")&&(this.MinViewModeNumber=2),this._isEnabled("M")&&(this.MinViewModeNumber=1),this._isEnabled("d")&&(this.MinViewModeNumber=0),this.currentViewMode=Math.max(this.MinViewModeNumber,this.currentViewMode),this.unset||this._setValue(this._dates[0],0)},p.prototype._getLastPickedDate=function(){return this._dates[this._getLastPickedDateIndex()]},p.prototype._getLastPickedDateIndex=function(){return this._dates.length-1},p.prototype.getMoment=function(e){var t=void 0,t=null==e?i():this._hasTimeZone()?i.tz(e,this.parseFormats,this._options.locale,this._options.useStrict,this._options.timeZone):i(e,this.parseFormats,this._options.locale,this._options.useStrict);return this._hasTimeZone()&&t.tz(this._options.timeZone),t},p.prototype.toggle=function(){return this.widget?this.hide():this.show()},p.prototype.ignoreReadonly=function(e){if(0===arguments.length)return this._options.ignoreReadonly;if("boolean"!=typeof e)throw new TypeError("ignoreReadonly () expects a boolean parameter");this._options.ignoreReadonly=e},p.prototype.options=function(e){if(0===arguments.length)return r.extend(!0,{},this._options);if(!(e instanceof Object))throw new TypeError("options() this.options parameter should be an object");r.extend(!0,this._options,e);var i=this;r.each(this._options,function(e,t){void 0!==i[e]&&i[e](t)})},p.prototype.date=function(e,t){if(t=t||0,0===arguments.length)return this.unset?null:this._options.allowMultidate?this._dates.join(this._options.multidateSeparator):this._dates[t].clone();if(!(null===e||"string"==typeof e||i.isMoment(e)||e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");this._setValue(null===e?null:this._parseInputDate(e),t)},p.prototype.format=function(e){if(0===arguments.length)return this._options.format;if("string"!=typeof e&&("boolean"!=typeof e||!1!==e))throw new TypeError("format() expects a string or boolean:false parameter "+e);this._options.format=e,this.actualFormat&&this._initFormatting()},p.prototype.timeZone=function(e){if(0===arguments.length)return this._options.timeZone;if("string"!=typeof e)throw new TypeError("newZone() expects a string parameter");this._options.timeZone=e},p.prototype.dayViewHeaderFormat=function(e){if(0===arguments.length)return this._options.dayViewHeaderFormat;if("string"!=typeof e)throw new TypeError("dayViewHeaderFormat() expects a string parameter");this._options.dayViewHeaderFormat=e},p.prototype.extraFormats=function(e){if(0===arguments.length)return this._options.extraFormats;if(!1!==e&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");this._options.extraFormats=e,this.parseFormats&&this._initFormatting()},p.prototype.disabledDates=function(e){if(0===arguments.length)return this._options.disabledDates&&r.extend({},this._options.disabledDates);if(!e)return this._options.disabledDates=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");this._options.disabledDates=this._indexGivenDates(e),this._options.enabledDates=!1,this._update()},p.prototype.enabledDates=function(e){if(0===arguments.length)return this._options.enabledDates&&r.extend({},this._options.enabledDates);if(!e)return this._options.enabledDates=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");this._options.enabledDates=this._indexGivenDates(e),this._options.disabledDates=!1,this._update()},p.prototype.daysOfWeekDisabled=function(e){if(0===arguments.length)return this._options.daysOfWeekDisabled.splice(0);if("boolean"==typeof e&&!e)return this._options.daysOfWeekDisabled=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(this._options.daysOfWeekDisabled=e.reduce(function(e,t){return 6<(t=parseInt(t,10))||t<0||isNaN(t)||-1===e.indexOf(t)&&e.push(t),e},[]).sort(),this._options.useCurrent&&!this._options.keepInvalid)for(var t=0;t<this._dates.length;t++){for(var i=0;!this._isValid(this._dates[t],"d");){if(this._dates[t].add(1,"d"),31===i)throw"Tried 31 times to find a valid date";i++}this._setValue(this._dates[t],t)}this._update()},p.prototype.maxDate=function(e){if(0===arguments.length)return this._options.maxDate&&this._options.maxDate.clone();if("boolean"==typeof e&&!1===e)return this._options.maxDate=!1,this._update(),!0;"string"!=typeof e||"now"!==e&&"moment"!==e||(e=this.getMoment());var t=this._parseInputDate(e);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(this._options.minDate&&t.isBefore(this._options.minDate))throw new TypeError("maxDate() date parameter is before this.options.minDate: "+t.format(this.actualFormat));this._options.maxDate=t;for(var i=0;i<this._dates.length;i++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[i].isAfter(e)&&this._setValue(this._options.maxDate,i);this._viewDate.isAfter(t)&&(this._viewDate=t.clone().subtract(this._options.stepping,"m")),this._update()},p.prototype.minDate=function(e){if(0===arguments.length)return this._options.minDate&&this._options.minDate.clone();if("boolean"==typeof e&&!1===e)return this._options.minDate=!1,this._update(),!0;"string"!=typeof e||"now"!==e&&"moment"!==e||(e=this.getMoment());var t=this._parseInputDate(e);if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(this._options.maxDate&&t.isAfter(this._options.maxDate))throw new TypeError("minDate() date parameter is after this.options.maxDate: "+t.format(this.actualFormat));this._options.minDate=t;for(var i=0;i<this._dates.length;i++)this._options.useCurrent&&!this._options.keepInvalid&&this._dates[i].isBefore(e)&&this._setValue(this._options.minDate,i);this._viewDate.isBefore(t)&&(this._viewDate=t.clone().add(this._options.stepping,"m")),this._update()},p.prototype.defaultDate=function(e){if(0===arguments.length)return this._options.defaultDate&&this._options.defaultDate.clone();if(!e)return!(this._options.defaultDate=!1);"string"==typeof e&&(e="now"===e||"moment"===e?this.getMoment():this.getMoment(e));var t=this._parseInputDate(e);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!this._isValid(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");this._options.defaultDate=t,(this._options.defaultDate&&this._options.inline||void 0!==this.input&&""===this.input.val().trim())&&this._setValue(this._options.defaultDate,0)},p.prototype.locale=function(e){if(0===arguments.length)return this._options.locale;if(!i.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");this._options.locale=e;for(var t=0;t<this._dates.length;t++)this._dates[t].locale(this._options.locale);this._viewDate.locale(this._options.locale),this.actualFormat&&this._initFormatting(),this.widget&&(this.hide(),this.show())},p.prototype.stepping=function(e){if(0===arguments.length)return this._options.stepping;e=parseInt(e,10),(isNaN(e)||e<1)&&(e=1),this._options.stepping=e},p.prototype.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(0===arguments.length)return this._options.useCurrent;if("boolean"!=typeof e&&"string"!=typeof e)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof e&&-1===t.indexOf(e.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));this._options.useCurrent=e},p.prototype.collapse=function(e){if(0===arguments.length)return this._options.collapse;if("boolean"!=typeof e)throw new TypeError("collapse() expects a boolean parameter");if(this._options.collapse===e)return!0;this._options.collapse=e,this.widget&&(this.hide(),this.show())},p.prototype.icons=function(e){if(0===arguments.length)return r.extend({},this._options.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");r.extend(this._options.icons,e),this.widget&&(this.hide(),this.show())},p.prototype.tooltips=function(e){if(0===arguments.length)return r.extend({},this._options.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");r.extend(this._options.tooltips,e),this.widget&&(this.hide(),this.show())},p.prototype.useStrict=function(e){if(0===arguments.length)return this._options.useStrict;if("boolean"!=typeof e)throw new TypeError("useStrict() expects a boolean parameter");this._options.useStrict=e},p.prototype.sideBySide=function(e){if(0===arguments.length)return this._options.sideBySide;if("boolean"!=typeof e)throw new TypeError("sideBySide() expects a boolean parameter");this._options.sideBySide=e,this.widget&&(this.hide(),this.show())},p.prototype.viewMode=function(e){if(0===arguments.length)return this._options.viewMode;if("string"!=typeof e)throw new TypeError("viewMode() expects a string parameter");if(-1===p.ViewModes.indexOf(e))throw new TypeError("viewMode() parameter must be one of ("+p.ViewModes.join(", ")+") value");this._options.viewMode=e,this.currentViewMode=Math.max(p.ViewModes.indexOf(e)-1,this.MinViewModeNumber),this._showMode()},p.prototype.calendarWeeks=function(e){if(0===arguments.length)return this._options.calendarWeeks;if("boolean"!=typeof e)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");this._options.calendarWeeks=e,this._update()},p.prototype.buttons=function(e){if(0===arguments.length)return r.extend({},this._options.buttons);if(!(e instanceof Object))throw new TypeError("buttons() expects parameter to be an Object");if(r.extend(this._options.buttons,e),"boolean"!=typeof this._options.buttons.showToday)throw new TypeError("buttons.showToday expects a boolean parameter");if("boolean"!=typeof this._options.buttons.showClear)throw new TypeError("buttons.showClear expects a boolean parameter");if("boolean"!=typeof this._options.buttons.showClose)throw new TypeError("buttons.showClose expects a boolean parameter");this.widget&&(this.hide(),this.show())},p.prototype.keepOpen=function(e){if(0===arguments.length)return this._options.keepOpen;if("boolean"!=typeof e)throw new TypeError("keepOpen() expects a boolean parameter");this._options.keepOpen=e},p.prototype.focusOnShow=function(e){if(0===arguments.length)return this._options.focusOnShow;if("boolean"!=typeof e)throw new TypeError("focusOnShow() expects a boolean parameter");this._options.focusOnShow=e},p.prototype.inline=function(e){if(0===arguments.length)return this._options.inline;if("boolean"!=typeof e)throw new TypeError("inline() expects a boolean parameter");this._options.inline=e},p.prototype.clear=function(){this._setValue(null)},p.prototype.keyBinds=function(e){if(0===arguments.length)return this._options.keyBinds;this._options.keyBinds=e},p.prototype.debug=function(e){if("boolean"!=typeof e)throw new TypeError("debug() expects a boolean parameter");this._options.debug=e},p.prototype.allowInputToggle=function(e){if(0===arguments.length)return this._options.allowInputToggle;if("boolean"!=typeof e)throw new TypeError("allowInputToggle() expects a boolean parameter");this._options.allowInputToggle=e},p.prototype.keepInvalid=function(e){if(0===arguments.length)return this._options.keepInvalid;if("boolean"!=typeof e)throw new TypeError("keepInvalid() expects a boolean parameter");this._options.keepInvalid=e},p.prototype.datepickerInput=function(e){if(0===arguments.length)return this._options.datepickerInput;if("string"!=typeof e)throw new TypeError("datepickerInput() expects a string parameter");this._options.datepickerInput=e},p.prototype.parseInputDate=function(e){if(0===arguments.length)return this._options.parseInputDate;if("function"!=typeof e)throw new TypeError("parseInputDate() should be as function");this._options.parseInputDate=e},p.prototype.disabledTimeIntervals=function(e){if(0===arguments.length)return this._options.disabledTimeIntervals&&r.extend({},this._options.disabledTimeIntervals);if(!e)return this._options.disabledTimeIntervals=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");this._options.disabledTimeIntervals=e,this._update()},p.prototype.disabledHours=function(e){if(0===arguments.length)return this._options.disabledHours&&r.extend({},this._options.disabledHours);if(!e)return this._options.disabledHours=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(this._options.disabledHours=this._indexGivenHours(e),this._options.enabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var t=0;t<this._dates.length;t++){for(var i=0;!this._isValid(this._dates[t],"h");){if(this._dates[t].add(1,"h"),24===i)throw"Tried 24 times to find a valid date";i++}this._setValue(this._dates[t],t)}this._update()},p.prototype.enabledHours=function(e){if(0===arguments.length)return this._options.enabledHours&&r.extend({},this._options.enabledHours);if(!e)return this._options.enabledHours=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(this._options.enabledHours=this._indexGivenHours(e),this._options.disabledHours=!1,this._options.useCurrent&&!this._options.keepInvalid)for(var t=0;t<this._dates.length;t++){for(var i=0;!this._isValid(this._dates[t],"h");){if(this._dates[t].add(1,"h"),24===i)throw"Tried 24 times to find a valid date";i++}this._setValue(this._dates[t],t)}this._update()},p.prototype.viewDate=function(e){if(0===arguments.length)return this._viewDate.clone();if(!e)return this._viewDate=(this._dates[0]||this.getMoment()).clone(),!0;if(!("string"==typeof e||i.isMoment(e)||e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");this._viewDate=this._parseInputDate(e),this._viewUpdate()},p.prototype.allowMultidate=function(e){if("boolean"!=typeof e)throw new TypeError("allowMultidate() expects a boolean parameter");this._options.allowMultidate=e},p.prototype.multidateSeparator=function(e){if(0===arguments.length)return this._options.multidateSeparator;if("string"!=typeof e||1<e.length)throw new TypeError("multidateSeparator expects a single character string parameter");this._options.multidateSeparator=e},m(p,null,[{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return t}},{key:"EVENT_KEY",get:function(){return n}},{key:"DATA_API_KEY",get:function(){return".data-api"}},{key:"DatePickerModes",get:function(){return l}},{key:"ViewModes",get:function(){return u}},{key:"Event",get:function(){return a}},{key:"Selector",get:function(){return s}},{key:"Default",get:function(){return f},set:function(e){f=e}},{key:"ClassName",get:function(){return o}}]),p}(jQuery,moment),l=jQuery,n=l.fn[u.NAME],o=["top","bottom","auto"],a=["left","right","auto"],c=["default","top","bottom"],r=function(i){var e=r,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function r(e,t){g(this,r);e=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,i.call(this,e,t));return e._init(),e}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),r.prototype._init=function(){var e;this._element.hasClass("input-group")&&(0===(e=this._element.find(".datepickerbutton")).length?this.component=this._element.find('[data-toggle="datetimepicker"]'):this.component=e)},r.prototype._getDatePickerTemplate=function(){var e=l("<thead>").append(l("<tr>").append(l("<th>").addClass("prev").attr("data-action","previous").append(l("<span>").addClass(this._options.icons.previous))).append(l("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",this._options.calendarWeeks?"6":"5")).append(l("<th>").addClass("next").attr("data-action","next").append(l("<span>").addClass(this._options.icons.next)))),t=l("<tbody>").append(l("<tr>").append(l("<td>").attr("colspan",this._options.calendarWeeks?"8":"7")));return[l("<div>").addClass("datepicker-days").append(l("<table>").addClass("table table-sm").append(e).append(l("<tbody>"))),l("<div>").addClass("datepicker-months").append(l("<table>").addClass("table-condensed").append(e.clone()).append(t.clone())),l("<div>").addClass("datepicker-years").append(l("<table>").addClass("table-condensed").append(e.clone()).append(t.clone())),l("<div>").addClass("datepicker-decades").append(l("<table>").addClass("table-condensed").append(e.clone()).append(t.clone()))]},r.prototype._getTimePickerMainTemplate=function(){var e=l("<tr>"),t=l("<tr>"),i=l("<tr>");return this._isEnabled("h")&&(e.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(l("<span>").addClass(this._options.icons.up)))),t.append(l("<td>").append(l("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:this._options.tooltips.pickHour}).attr("data-action","showHours"))),i.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(l("<span>").addClass(this._options.icons.down))))),this._isEnabled("m")&&(this._isEnabled("h")&&(e.append(l("<td>").addClass("separator")),t.append(l("<td>").addClass("separator").html(":")),i.append(l("<td>").addClass("separator"))),e.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(l("<span>").addClass(this._options.icons.up)))),t.append(l("<td>").append(l("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:this._options.tooltips.pickMinute}).attr("data-action","showMinutes"))),i.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(l("<span>").addClass(this._options.icons.down))))),this._isEnabled("s")&&(this._isEnabled("m")&&(e.append(l("<td>").addClass("separator")),t.append(l("<td>").addClass("separator").html(":")),i.append(l("<td>").addClass("separator"))),e.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(l("<span>").addClass(this._options.icons.up)))),t.append(l("<td>").append(l("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:this._options.tooltips.pickSecond}).attr("data-action","showSeconds"))),i.append(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(l("<span>").addClass(this._options.icons.down))))),this.use24Hours||(e.append(l("<td>").addClass("separator")),t.append(l("<td>").append(l("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:this._options.tooltips.togglePeriod}))),i.append(l("<td>").addClass("separator"))),l("<div>").addClass("timepicker-picker").append(l("<table>").addClass("table-condensed").append([e,t,i]))},r.prototype._getTimePickerTemplate=function(){var e=l("<div>").addClass("timepicker-hours").append(l("<table>").addClass("table-condensed")),t=l("<div>").addClass("timepicker-minutes").append(l("<table>").addClass("table-condensed")),i=l("<div>").addClass("timepicker-seconds").append(l("<table>").addClass("table-condensed")),n=[this._getTimePickerMainTemplate()];return this._isEnabled("h")&&n.push(e),this._isEnabled("m")&&n.push(t),this._isEnabled("s")&&n.push(i),n},r.prototype._getToolbar=function(){var e,t,i=[];return this._options.buttons.showToday&&i.push(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1","data-action":"today",title:this._options.tooltips.today}).append(l("<span>").addClass(this._options.icons.today)))),!this._options.sideBySide&&this._hasDate()&&this._hasTime()&&(t=e=void 0,t="times"===this._options.viewMode?(e=this._options.tooltips.selectDate,this._options.icons.date):(e=this._options.tooltips.selectTime,this._options.icons.time),i.push(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:e}).append(l("<span>").addClass(t))))),this._options.buttons.showClear&&i.push(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1","data-action":"clear",title:this._options.tooltips.clear}).append(l("<span>").addClass(this._options.icons.clear)))),this._options.buttons.showClose&&i.push(l("<td>").append(l("<a>").attr({href:"#",tabindex:"-1","data-action":"close",title:this._options.tooltips.close}).append(l("<span>").addClass(this._options.icons.close)))),0===i.length?"":l("<table>").addClass("table-condensed").append(l("<tbody>").append(l("<tr>").append(i)))},r.prototype._getTemplate=function(){var e=l("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),t=l("<div>").addClass("datepicker").append(this._getDatePickerTemplate()),i=l("<div>").addClass("timepicker").append(this._getTimePickerTemplate()),n=l("<ul>").addClass("list-unstyled"),r=l("<li>").addClass("picker-switch"+(this._options.collapse?" accordion-toggle":"")).append(this._getToolbar());return this._options.inline&&e.removeClass("dropdown-menu"),this.use24Hours&&e.addClass("usetwentyfour"),this._isEnabled("s")&&!this.use24Hours&&e.addClass("wider"),this._options.sideBySide&&this._hasDate()&&this._hasTime()?(e.addClass("timepicker-sbs"),"top"===this._options.toolbarPlacement&&e.append(r),e.append(l("<div>").addClass("row").append(t.addClass("col-md-6")).append(i.addClass("col-md-6"))),"bottom"!==this._options.toolbarPlacement&&"default"!==this._options.toolbarPlacement||e.append(r),e):("top"===this._options.toolbarPlacement&&n.append(r),this._hasDate()&&n.append(l("<li>").addClass(this._options.collapse&&this._hasTime()?"collapse":"").addClass(this._options.collapse&&this._hasTime()&&"times"===this._options.viewMode?"":"show").append(t)),"default"===this._options.toolbarPlacement&&n.append(r),this._hasTime()&&n.append(l("<li>").addClass(this._options.collapse&&this._hasDate()?"collapse":"").addClass(this._options.collapse&&this._hasDate()&&"times"===this._options.viewMode?"show":"").append(i)),"bottom"===this._options.toolbarPlacement&&n.append(r),e.append(n))},r.prototype._place=function(e){var e=e&&e.data&&e.data.picker||this,t=e._options.widgetPositioning.vertical,i=e._options.widgetPositioning.horizontal,n=void 0,r=(e.component&&e.component.length?e.component:e._element).position(),s=(e.component&&e.component.length?e.component:e._element).offset();if(e._options.widgetParent)n=e._options.widgetParent.append(e.widget);else if(e._element.is("input"))n=e._element.after(e.widget).parent();else{if(e._options.inline)return void(n=e._element.append(e.widget));n=e._element,e._element.children().first().after(e.widget)}if("auto"===t&&(t=s.top+1.5*e.widget.height()>=l(window).height()+l(window).scrollTop()&&e.widget.height()+e._element.outerHeight()<s.top?"top":"bottom"),"auto"===i&&(i=n.width()<s.left+e.widget.outerWidth()/2&&s.left+e.widget.outerWidth()>l(window).width()?"right":"left"),"top"===t?e.widget.addClass("top").removeClass("bottom"):e.widget.addClass("bottom").removeClass("top"),"right"===i?e.widget.addClass("float-right"):e.widget.removeClass("float-right"),0===(n="relative"!==n.css("position")?n.parents().filter(function(){return"relative"===l(this).css("position")}).first():n).length)throw new Error("datetimepicker component should be placed within a relative positioned container");e.widget.css({top:"top"===t?"auto":r.top+e._element.outerHeight()+"px",bottom:"top"===t?n.outerHeight()-(n===e._element?0:r.top)+"px":"auto",left:"left"===i?(n===e._element?0:r.left)+"px":"auto",right:"left"===i?"auto":n.outerWidth()-e._element.outerWidth()-(n===e._element?0:r.left)+"px"})},r.prototype._fillDow=function(){var e=l("<tr>"),t=this._viewDate.clone().startOf("w").startOf("d");for(!0===this._options.calendarWeeks&&e.append(l("<th>").addClass("cw").text("#"));t.isBefore(this._viewDate.clone().endOf("w"));)e.append(l("<th>").addClass("dow").text(t.format("dd"))),t.add(1,"d");this.widget.find(".datepicker-days thead").append(e)},r.prototype._fillMonths=function(){for(var e=[],t=this._viewDate.clone().startOf("y").startOf("d");t.isSame(this._viewDate,"y");)e.push(l("<span>").attr("data-action","selectMonth").addClass("month").text(t.format("MMM"))),t.add(1,"M");this.widget.find(".datepicker-months td").empty().append(e)},r.prototype._updateMonths=function(){var e=this.widget.find(".datepicker-months"),t=e.find("th"),i=e.find("tbody").find("span"),n=this;t.eq(0).find("span").attr("title",this._options.tooltips.prevYear),t.eq(1).attr("title",this._options.tooltips.selectYear),t.eq(2).find("span").attr("title",this._options.tooltips.nextYear),e.find(".disabled").removeClass("disabled"),this._isValid(this._viewDate.clone().subtract(1,"y"),"y")||t.eq(0).addClass("disabled"),t.eq(1).text(this._viewDate.year()),this._isValid(this._viewDate.clone().add(1,"y"),"y")||t.eq(2).addClass("disabled"),i.removeClass("active"),this._getLastPickedDate().isSame(this._viewDate,"y")&&!this.unset&&i.eq(this._getLastPickedDate().month()).addClass("active"),i.each(function(e){n._isValid(n._viewDate.clone().month(e),"M")||l(this).addClass("disabled")})},r.prototype._getStartEndYear=function(e,t){var i=e/10,e=Math.floor(t/e)*e;return[e,e+9*i,Math.floor(t/i)*i]},r.prototype._updateYears=function(){var e=this.widget.find(".datepicker-years"),t=e.find("th"),i=this._getStartEndYear(10,this._viewDate.year()),n=this._viewDate.clone().year(i[0]),r=this._viewDate.clone().year(i[1]),s="";for(t.eq(0).find("span").attr("title",this._options.tooltips.prevDecade),t.eq(1).attr("title",this._options.tooltips.selectDecade),t.eq(2).find("span").attr("title",this._options.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),this._options.minDate&&this._options.minDate.isAfter(n,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(n.year()+"-"+r.year()),this._options.maxDate&&this._options.maxDate.isBefore(r,"y")&&t.eq(2).addClass("disabled"),s+='<span data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+(n.year()-1)+"</span>";!n.isAfter(r,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(this._getLastPickedDate(),"y")&&!this.unset?" active":"")+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");s+='<span data-action="selectYear" class="year old'+(this._isValid(n,"y")?"":" disabled")+'">'+n.year()+"</span>",e.find("td").html(s)},r.prototype._updateDecades=function(){var e,t,i,n=this.widget.find(".datepicker-decades"),r=n.find("th"),s=this._getStartEndYear(100,this._viewDate.year()),o=this._viewDate.clone().year(s[0]),a=this._viewDate.clone().year(s[1]),l="";for(r.eq(0).find("span").attr("title",this._options.tooltips.prevCentury),r.eq(2).find("span").attr("title",this._options.tooltips.nextCentury),n.find(".disabled").removeClass("disabled"),(0===o.year()||this._options.minDate&&this._options.minDate.isAfter(o,"y"))&&r.eq(0).addClass("disabled"),r.eq(1).text(o.year()+"-"+a.year()),this._options.maxDate&&this._options.maxDate.isBefore(a,"y")&&r.eq(2).addClass("disabled"),o.year()-10<0?l+="<span>&nbsp;</span>":l+='<span data-action="selectDecade" class="decade old" data-selection="'+(o.year()+6)+'">'+(o.year()-10)+"</span>";!o.isAfter(a,"y");)i=o.year()+11,e=this._options.minDate&&this._options.minDate.isAfter(o,"y")&&this._options.minDate.year()<=i,t=this._options.maxDate&&this._options.maxDate.isAfter(o,"y")&&this._options.maxDate.year()<=i,l+='<span data-action="selectDecade" class="decade'+(this._getLastPickedDate().isAfter(o)&&this._getLastPickedDate().year()<=i?" active":"")+(this._isValid(o,"y")||e||t?"":" disabled")+'" data-selection="'+(o.year()+6)+'">'+o.year()+"</span>",o.add(10,"y");l+='<span data-action="selectDecade" class="decade old" data-selection="'+(o.year()+6)+'">'+o.year()+"</span>",n.find("td").html(l)},r.prototype._fillDate=function(){var e,t=this.widget.find(".datepicker-days"),i=t.find("th"),n=[],r=void 0,s=void 0,o=void 0,a=void 0;if(this._hasDate()){for(i.eq(0).find("span").attr("title",this._options.tooltips.prevMonth),i.eq(1).attr("title",this._options.tooltips.selectMonth),i.eq(2).find("span").attr("title",this._options.tooltips.nextMonth),t.find(".disabled").removeClass("disabled"),i.eq(1).text(this._viewDate.format(this._options.dayViewHeaderFormat)),this._isValid(this._viewDate.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),this._isValid(this._viewDate.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),r=this._viewDate.clone().startOf("M").startOf("w").startOf("d"),a=0;a<42;a++)0===r.weekday()&&(s=l("<tr>"),this._options.calendarWeeks&&s.append('<td class="cw">'+r.week()+"</td>"),n.push(s)),o="",r.isBefore(this._viewDate,"M")&&(o+=" old"),r.isAfter(this._viewDate,"M")&&(o+=" new"),this._options.allowMultidate?-1!==(e=this._datesFormatted.indexOf(r.format("YYYY-MM-DD")))&&r.isSame(this._datesFormatted[e],"d")&&!this.unset&&(o+=" active"):r.isSame(this._getLastPickedDate(),"d")&&!this.unset&&(o+=" active"),this._isValid(r,"d")||(o+=" disabled"),r.isSame(this.getMoment(),"d")&&(o+=" today"),0!==r.day()&&6!==r.day()||(o+=" weekend"),s.append('<td data-action="selectDay" data-day="'+r.format("L")+'" class="day'+o+'">'+r.date()+"</td>"),r.add(1,"d");t.find("tbody").empty().append(n),this._updateMonths(),this._updateYears(),this._updateDecades()}},r.prototype._fillHours=function(){var e=this.widget.find(".timepicker-hours table"),t=this._viewDate.clone().startOf("d"),i=[],n=l("<tr>");for(11<this._viewDate.hour()&&!this.use24Hours&&t.hour(12);t.isSame(this._viewDate,"d")&&(this.use24Hours||this._viewDate.hour()<12&&t.hour()<12||11<this._viewDate.hour());)t.hour()%4==0&&(n=l("<tr>"),i.push(n)),n.append('<td data-action="selectHour" class="hour'+(this._isValid(t,"h")?"":" disabled")+'">'+t.format(this.use24Hours?"HH":"hh")+"</td>"),t.add(1,"h");e.empty().append(i)},r.prototype._fillMinutes=function(){for(var e=this.widget.find(".timepicker-minutes table"),t=this._viewDate.clone().startOf("h"),i=[],n=1===this._options.stepping?5:this._options.stepping,r=l("<tr>");this._viewDate.isSame(t,"h");)t.minute()%(4*n)==0&&(r=l("<tr>"),i.push(r)),r.append('<td data-action="selectMinute" class="minute'+(this._isValid(t,"m")?"":" disabled")+'">'+t.format("mm")+"</td>"),t.add(n,"m");e.empty().append(i)},r.prototype._fillSeconds=function(){for(var e=this.widget.find(".timepicker-seconds table"),t=this._viewDate.clone().startOf("m"),i=[],n=l("<tr>");this._viewDate.isSame(t,"m");)t.second()%20==0&&(n=l("<tr>"),i.push(n)),n.append('<td data-action="selectSecond" class="second'+(this._isValid(t,"s")?"":" disabled")+'">'+t.format("ss")+"</td>"),t.add(5,"s");e.empty().append(i)},r.prototype._fillTime=function(){var e,t=void 0,i=this.widget.find(".timepicker span[data-time-component]");this.use24Hours||(t=this.widget.find(".timepicker [data-action=togglePeriod]"),e=this._getLastPickedDate().clone().add(12<=this._getLastPickedDate().hours()?-12:12,"h"),t.text(this._getLastPickedDate().format("A")),this._isValid(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),i.filter("[data-time-component=hours]").text(this._getLastPickedDate().format(this.use24Hours?"HH":"hh")),i.filter("[data-time-component=minutes]").text(this._getLastPickedDate().format("mm")),i.filter("[data-time-component=seconds]").text(this._getLastPickedDate().format("ss")),this._fillHours(),this._fillMinutes(),this._fillSeconds()},r.prototype._doAction=function(e,t){var i=this._getLastPickedDate();if(l(e.currentTarget).is(".disabled"))return!1;switch(t=t||l(e.currentTarget).data("action")){case"next":var n=u.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.add(u.DatePickerModes[this.currentViewMode].NAV_STEP,n),this._fillDate(),this._viewUpdate(n);break;case"previous":n=u.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.subtract(u.DatePickerModes[this.currentViewMode].NAV_STEP,n),this._fillDate(),this._viewUpdate(n);break;case"pickerSwitch":this._showMode(1);break;case"selectMonth":n=l(e.target).closest("tbody").find("span").index(l(e.target));this._viewDate.month(n),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year(this._viewDate.year()).month(this._viewDate.month()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("M");break;case"selectYear":n=parseInt(l(e.target).text(),10)||0;this._viewDate.year(n),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDecade":n=parseInt(l(e.target).data("selection"),10)||0;this._viewDate.year(n),this.currentViewMode===this.MinViewModeNumber?(this._setValue(i.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDay":n=this._viewDate.clone(),n=(l(e.target).is(".old")&&n.subtract(1,"M"),l(e.target).is(".new")&&n.add(1,"M"),n.date(parseInt(l(e.target).text(),10)));this._options.allowMultidate?-1!==(r=this._datesFormatted.indexOf(n.format("YYYY-MM-DD")))?this._setValue(null,r):this._setValue(n,this._getLastPickedDateIndex()+1):this._setValue(n,this._getLastPickedDateIndex()),this._hasTime()||this._options.keepOpen||this._options.inline||this._options.allowMultidate||this.hide();break;case"incrementHours":var r=i.clone().add(1,"h");this._isValid(r,"h")&&this._setValue(r,this._getLastPickedDateIndex());break;case"incrementMinutes":n=i.clone().add(this._options.stepping,"m");this._isValid(n,"m")&&this._setValue(n,this._getLastPickedDateIndex());break;case"incrementSeconds":r=i.clone().add(1,"s");this._isValid(r,"s")&&this._setValue(r,this._getLastPickedDateIndex());break;case"decrementHours":n=i.clone().subtract(1,"h");this._isValid(n,"h")&&this._setValue(n,this._getLastPickedDateIndex());break;case"decrementMinutes":r=i.clone().subtract(this._options.stepping,"m");this._isValid(r,"m")&&this._setValue(r,this._getLastPickedDateIndex());break;case"decrementSeconds":n=i.clone().subtract(1,"s");this._isValid(n,"s")&&this._setValue(n,this._getLastPickedDateIndex());break;case"togglePeriod":this._setValue(i.clone().add(12<=i.hours()?-12:12,"h"),this._getLastPickedDateIndex());break;case"togglePicker":var r=l(e.target),n=r.closest("a"),s=r.closest("ul"),o=s.find(".show"),s=s.find(".collapse:not(.show)"),r=r.is("span")?r:r.find("span");if(o&&o.length){if((a=o.data("collapse"))&&a.transitioning)return!0;o.collapse?(o.collapse("hide"),s.collapse("show")):(o.removeClass("show"),s.addClass("show")),r.toggleClass(this._options.icons.time+" "+this._options.icons.date),r.hasClass(this._options.icons.date)?n.attr("title",this._options.tooltips.selectDate):n.attr("title",this._options.tooltips.selectTime)}break;case"showPicker":this.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),this.widget.find(".timepicker .timepicker-picker").show();break;case"showHours":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-hours").show();break;case"showMinutes":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-minutes").show();break;case"showSeconds":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-seconds").show();break;case"selectHour":var a=parseInt(l(e.target).text(),10);this.use24Hours||(12<=i.hours()?12!==a&&(a+=12):12===a&&(a=0)),this._setValue(i.clone().hours(a),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("m")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"selectMinute":this._setValue(i.clone().minutes(parseInt(l(e.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("s")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"selectSecond":this._setValue(i.clone().seconds(parseInt(l(e.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"clear":this.clear();break;case"close":this.hide();break;case"today":o=this.getMoment();this._isValid(o,"d")&&this._setValue(o,this._getLastPickedDateIndex())}return!1},r.prototype.hide=function(){var t=!1;this.widget&&(this.widget.find(".collapse").each(function(){var e=l(this).data("collapse");return!e||!e.transitioning||!(t=!0)}),t||(this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this.widget.hide(),l(window).off("resize",this._place()),this.widget.off("click","[data-action]"),this.widget.off("mousedown",!1),this.widget.remove(),this.widget=!1,this._notifyEvent({type:u.Event.HIDE,date:this._getLastPickedDate().clone()}),void 0!==this.input&&this.input.blur(),this._viewDate=this._getLastPickedDate().clone()))},r.prototype.show=function(){var e=void 0,t={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}};if(void 0!==this.input){if(this.input.prop("disabled")||!this._options.ignoreReadonly&&this.input.prop("readonly")||this.widget)return;void 0!==this.input.val()&&0!==this.input.val().trim().length?this._setValue(this._parseInputDate(this.input.val().trim()),0):this.unset&&this._options.useCurrent&&(e=this.getMoment(),"string"==typeof this._options.useCurrent&&(e=t[this._options.useCurrent](e)),this._setValue(e,0))}else this.unset&&this._options.useCurrent&&(e=this.getMoment(),"string"==typeof this._options.useCurrent&&(e=t[this._options.useCurrent](e)),this._setValue(e,0));this.widget=this._getTemplate(),this._fillDow(),this._fillMonths(),this.widget.find(".timepicker-hours").hide(),this.widget.find(".timepicker-minutes").hide(),this.widget.find(".timepicker-seconds").hide(),this._update(),this._showMode(),l(window).on("resize",{picker:this},this._place),this.widget.on("click","[data-action]",l.proxy(this._doAction,this)),this.widget.on("mousedown",!1),this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this._place(),this.widget.show(),void 0!==this.input&&this._options.focusOnShow&&!this.input.is(":focus")&&this.input.focus(),this._notifyEvent({type:u.Event.SHOW})},r.prototype.destroy=function(){this.hide(),this._element.removeData(u.DATA_KEY),this._element.removeData("date")},r.prototype.disable=function(){this.hide(),this.component&&this.component.hasClass("btn")&&this.component.addClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!0)},r.prototype.enable=function(){this.component&&this.component.hasClass("btn")&&this.component.removeClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!1)},r.prototype.toolbarPlacement=function(e){if(0===arguments.length)return this._options.toolbarPlacement;if("string"!=typeof e)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===c.indexOf(e))throw new TypeError("toolbarPlacement() parameter must be one of ("+c.join(", ")+") value");this._options.toolbarPlacement=e,this.widget&&(this.hide(),this.show())},r.prototype.widgetPositioning=function(e){if(0===arguments.length)return l.extend({},this._options.widgetPositioning);if("[object Object]"!=={}.toString.call(e))throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if("string"!=typeof e.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),-1===a.indexOf(e.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+a.join(", ")+")");this._options.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if("string"!=typeof e.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),-1===o.indexOf(e.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+o.join(", ")+")");this._options.widgetPositioning.vertical=e.vertical}this._update()},r.prototype.widgetParent=function(e){if(0===arguments.length)return this._options.widgetParent;if(null!==(e="string"==typeof e?l(e):e)&&"string"!=typeof e&&!(e instanceof l))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");this._options.widgetParent=e,this.widget&&(this.hide(),this.show())},r._jQueryHandleThis=function(e,t,i){var n=l(e).data(u.DATA_KEY);if("object"===(void 0===t?"undefined":s(t))&&l.extend({},u.Default,t),n||(n=new r(l(e),t),l(e).data(u.DATA_KEY,n)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'+t+'"');return void 0===i?n[t]():n[t](i)}},r._jQueryInterface=function(e,t){return 1===this.length?r._jQueryHandleThis(this[0],e,t):this.each(function(){r._jQueryHandleThis(this,e,t)})},r}(u),l(document).on(u.Event.CLICK_DATA_API,u.Selector.DATA_TOGGLE,function(){var e=h(l(this));0!==e.length&&r._jQueryInterface.call(e,"toggle")}).on(u.Event.CHANGE,"."+u.ClassName.INPUT,function(e){var t=h(l(this));0!==t.length&&r._jQueryInterface.call(t,"_change",e)}).on(u.Event.BLUR,"."+u.ClassName.INPUT,function(e){var t=h(l(this)),i=t.data(u.DATA_KEY);0===t.length||i._options.debug||window.debug||r._jQueryInterface.call(t,"hide",e)}).on(u.Event.KEYDOWN,"."+u.ClassName.INPUT,function(e){var t=h(l(this));0!==t.length&&r._jQueryInterface.call(t,"_keydown",e)}).on(u.Event.KEYUP,"."+u.ClassName.INPUT,function(e){var t=h(l(this));0!==t.length&&r._jQueryInterface.call(t,"_keyup",e)}).on(u.Event.FOCUS,"."+u.ClassName.INPUT,function(e){var t=h(l(this)),i=t.data(u.DATA_KEY);0!==t.length&&i._options.allowInputToggle&&r._jQueryInterface.call(t,"show",e)}),l.fn[u.NAME]=r._jQueryInterface,l.fn[u.NAME].Constructor=r,l.fn[u.NAME].noConflict=function(){return l.fn[u.NAME]=n,r._jQueryInterface}},
vendor: 1,190 bytes, line 1
1"./node_modules/timers-browserify/main.js":function(e,r,s){!function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function n(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new n(i.call(setTimeout,t,arguments),clearTimeout)},r.setInterval=function(){return new n(i.call(setInterval,t,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e&&e.close()},n.prototype.unref=n.prototype.ref=function(){},n.prototype.close=function(){this._clearFn.call(t,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},s("./node_modules/setimmediate/setImmediate.js"),r.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,r.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}.call(this,s("./node_modules/webpack/buildin/global.js"))},
vendor: 4,871 bytes, line 1
1"./node_modules/toastr/build/toastr.min.js":function(e,t,i){i("./node_modules/webpack/buildin/amd-define.js"),i=[i("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(S){return function(){function v(e,t){return e=e||b(),(x=S("#"+e.containerId)).length||t&&(t=e,(x=S("<div/>").attr("id",t.containerId).addClass(t.positionClass)).appendTo(S(t.target))),x}function o(e,t,i){i=!(!i||!i.force)&&i.force;return e&&(i||0===S(":focus",e).length)&&(e[t.hideMethod]({duration:t.hideDuration,easing:t.hideEasing,complete:function(){_(e)}}),1)}function y(e){t&&t(e)}function n(i){function n(e){return(e=null==e?"":e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function e(){i.iconClass&&l.addClass(m.toastClass).addClass(g),i.title&&(e=i.title,m.escapeHtml&&(e=n(i.title)),c.append(e).addClass(m.titleClass),l.append(c)),i.message&&(e=i.message,m.escapeHtml&&(e=n(i.message)),u.append(e).addClass(m.messageClass),l.append(u)),m.closeButton&&(h.addClass(m.closeClass).attr("role","button"),l.prepend(h)),m.progressBar&&(d.addClass(m.progressClass),l.prepend(d)),m.rtl&&l.addClass("rtl"),m.newestOnTop?x.prepend(l):x.append(l);var e,t="";switch(i.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}l.attr("aria-live",t)}function t(e){var t=e&&!1!==m.closeMethod?m.closeMethod:m.hideMethod,i=e&&!1!==m.closeDuration?m.closeDuration:m.hideDuration,n=e&&!1!==m.closeEasing?m.closeEasing:m.hideEasing;if(!S(":focus",l).length||e)return clearTimeout(f.intervalId),l[t]({duration:i,easing:n,complete:function(){_(l),clearTimeout(a),m.onHidden&&"hidden"!==p.state&&m.onHidden(),p.state="hidden",p.endTime=new Date,y(p)}})}function r(){(0<m.timeOut||0<m.extendedTimeOut)&&(a=setTimeout(t,m.extendedTimeOut),f.maxHideTime=parseFloat(m.extendedTimeOut),f.hideEta=(new Date).getTime()+f.maxHideTime)}function s(){clearTimeout(a),f.hideEta=0,l.stop(!0,!0)[m.showMethod]({duration:m.showDuration,easing:m.showEasing})}function o(){var e=(f.hideEta-(new Date).getTime())/f.maxHideTime*100;d.width(e+"%")}var a,l,c,u,d,h,f,p,m=b(),g=i.iconClass||m.iconClass;if(void 0!==i.optionsOverride&&(m=S.extend(m,i.optionsOverride),g=i.optionsOverride.iconClass||g),!function(e,t){if(e.preventDuplicates){if(t.message===w)return 1;w=t.message}}(m,i))return k++,x=v(m,!0),a=null,l=S("<div/>"),c=S("<div/>"),u=S("<div/>"),d=S("<div/>"),h=S(m.closeHtml),f={intervalId:null,hideEta:null,maxHideTime:null},p={toastId:k,state:"visible",startTime:new Date,options:m,map:i},e(),l.hide(),l[m.showMethod]({duration:m.showDuration,easing:m.showEasing,complete:m.onShown}),0<m.timeOut&&(a=setTimeout(t,m.timeOut),f.maxHideTime=parseFloat(m.timeOut),f.hideEta=(new Date).getTime()+f.maxHideTime,m.progressBar&&(f.intervalId=setInterval(o,10))),m.closeOnHover&&l.hover(s,r),!m.onclick&&m.tapToDismiss&&l.click(t),m.closeButton&&h&&h.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),m.onCloseClick&&m.onCloseClick(e),t(!0)}),m.onclick&&l.click(function(e){m.onclick(e),t()}),y(p),m.debug&&console&&console.log(p),l}function b(){return S.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},e.options)}function _(e){x=x||v(),e.is(":visible")||(e.remove(),e=null,0===x.children().length&&(x.remove(),w=void 0))}var x,t,w,k=0,r="error",s="info",a="success",l="warning",e={clear:function(e,t){var i=b();if(x||v(i),!o(e,i,t))for(var n=i,r=x.children(),s=r.length-1;0<=s;s--)o(S(r[s]),n)},remove:function(e){var t=b();return x||v(t),e&&0===S(":focus",e).length?void _(e):void(x.children().length&&x.remove())},error:function(e,t,i){return n({type:r,iconClass:b().iconClasses.error,message:e,optionsOverride:i,title:t})},getContainer:v,info:function(e,t,i){return n({type:s,iconClass:b().iconClasses.info,message:e,optionsOverride:i,title:t})},options:{},subscribe:function(e){t=e},success:function(e,t,i){return n({type:a,iconClass:b().iconClasses.success,message:e,optionsOverride:i,title:t})},version:"2.1.4",warning:function(e,t,i){return n({type:l,iconClass:b().iconClasses.warning,message:e,optionsOverride:i,title:t})}};return e}()}.apply(t,i))&&(e.exports=t)},
vendor: 38,910 bytes, line 1
1"./node_modules/typeahead.js/dist/typeahead.bundle.js":function(i,n,r){!function(l){var e,t,c;c=this,e=[r("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(e){return c.Bloodhound=(u=e,d=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isArray:u.isArray,isFunction:u.isFunction,isObject:u.isPlainObject,isUndefined:function(e){return void 0===e},isElement:function(e){return!(!e||1!==e.nodeType)},isJQuery:function(e){return e instanceof u},toStr:function(e){return d.isUndefined(e)||null===e?"":e+""},bind:u.proxy,each:function(e,i){u.each(e,function(e,t){return i(t,e)})},map:u.map,filter:u.grep,every:function(i,n){var r=!0;return i?(u.each(i,function(e,t){if(!(r=n.call(null,t,e,i)))return!1}),!!r):r},some:function(i,n){var r=!1;return i?(u.each(i,function(e,t){if(r=n.call(null,t,e,i))return!1}),!!r):r},mixin:u.extend,identity:function(e){return e},clone:function(e){return u.extend(!0,{},e)},getIdGenerator:function(){var e=0;return function(){return e++}},templatify:function(e){return u.isFunction(e)?e:function(){return String(e)}},defer:function(e){setTimeout(e,0)},debounce:function(r,s,o){var a,l;return function(){var e=this,t=arguments,i=function(){a=null,o||(l=r.apply(e,t))},n=o&&!a;return clearTimeout(a),a=setTimeout(i,s),l=n?r.apply(e,t):l}},throttle:function(i,n){var r,s,o,a,l=0,c=function(){l=new Date,o=null,a=i.apply(r,s)};return function(){var e=new Date,t=n-(e-l);return r=this,s=arguments,t<=0?(clearTimeout(o),o=null,l=e,a=i.apply(r,s)):o=o||setTimeout(c,t),a}},stringify:function(e){return d.isString(e)?e:JSON.stringify(e)},noop:function(){}}}(),i=function(){"use strict";return{nonword:t,whitespace:e,obj:{nonword:i(t),whitespace:i(e)}};function e(e){return(e=d.toStr(e))?e.split(/\s+/):[]}function t(e){return(e=d.toStr(e))?e.split(/\W+/):[]}function i(n){return function(e){return e=d.isArray(e)?e:[].slice.call(arguments,0),function(t){var i=[];return d.each(e,function(e){i=i.concat(n(d.toStr(t[e])))}),i}}}}(),n=function(){"use strict";function e(e){this.maxSize=d.isNumber(e)?e:100,this.reset(),this.maxSize<=0&&(this.set=this.get=u.noop)}function t(){this.head=this.tail=null}function n(e,t){this.key=e,this.val=t,this.prev=this.next=null}return d.mixin(e.prototype,{set:function(e,t){var i=this.list.tail;this.size>=this.maxSize&&(this.list.remove(i),delete this.hash[i.key],this.size--),(i=this.hash[e])?(i.val=t,this.list.moveToFront(i)):(i=new n(e,t),this.list.add(i),this.hash[e]=i,this.size++)},get:function(e){e=this.hash[e];if(e)return this.list.moveToFront(e),e.val},reset:function(){this.size=0,this.hash={},this.list=new t}}),d.mixin(t.prototype,{add:function(e){this.head&&(e.next=this.head,this.head.prev=e),this.head=e,this.tail=this.tail||e},remove:function(e){e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev},moveToFront:function(e){this.remove(e),this.add(e)}}),e}(),t=function(){"use strict";var s;try{(s=window.localStorage).setItem("~~~","!"),s.removeItem("~~~")}catch(e){s=null}function e(e,t){this.prefix=["__",e,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+d.escapeRegExChars(this.prefix)),this.ls=t||s,this.ls||this._noop()}return d.mixin(e.prototype,{_prefix:function(e){return this.prefix+e},_ttlKey:function(e){return this._prefix(e)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=d.noop},_safeSet:function(e,t){try{this.ls.setItem(e,t)}catch(e){"QuotaExceededError"===e.name&&(this.clear(),this._noop())}},get:function(e){return this.isExpired(e)&&this.remove(e),t(this.ls.getItem(this._prefix(e)))},set:function(e,t,i){return d.isNumber(i)?this._safeSet(this._ttlKey(e),r(n()+i)):this.ls.removeItem(this._ttlKey(e)),this._safeSet(this._prefix(e),r(t))},remove:function(e){return this.ls.removeItem(this._ttlKey(e)),this.ls.removeItem(this._prefix(e)),this},clear:function(){for(var e=function(e){var t,i,n=[],r=s.length;for(t=0;t<r;t++)(i=s.key(t)).match(e)&&n.push(i.replace(e,""));return n}(this.keyMatcher),t=e.length;t--;)this.remove(e[t]);return this},isExpired:function(e){e=t(this.ls.getItem(this._ttlKey(e)));return!!(d.isNumber(e)&&n()>e)}}),e;function n(){return(new Date).getTime()}function r(e){return JSON.stringify(d.isUndefined(e)?null:e)}function t(e){return u.parseJSON(e)}}(),r=function(){"use strict";var a=0,l={},c=6,t=new n(10);function e(e){e=e||{},this.cancelled=!1,this.lastReq=null,this._send=e.transport,this._get=e.limiter?e.limiter(this._get):this._get,this._cache=!1===e.cache?new n(0):t}return e.setMaxPendingRequests=function(e){c=e},e.resetCache=function(){t.reset()},d.mixin(e.prototype,{_fingerprint:function(e){return(e=e||{}).url+e.type+u.param(e.data||{})},_get:function(e,t){var i,n,r=this;function s(e){t(null,e),r._cache.set(i,e)}function o(){t(!0)}i=this._fingerprint(e),this.cancelled||i!==this.lastReq||((n=l[i])?n.done(s).fail(o):a<c?(a++,l[i]=this._send(e).done(s).fail(o).always(function(){a--,delete l[i],r.onDeckRequestArgs&&(r._get.apply(r,r.onDeckRequestArgs),r.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(e,t){var i;t=t||u.noop,e=d.isString(e)?{url:e}:e||{},i=this._fingerprint(e),this.cancelled=!1,this.lastReq=i,(i=this._cache.get(i))?t(null,i):this._get(e,t)},cancel:function(){this.cancelled=!0}}),e}(),s=window.SearchIndex=function(){"use strict";function e(e){(e=e||{}).datumTokenizer&&e.queryTokenizer||u.error("datumTokenizer and queryTokenizer are both required"),this.identify=e.identify||d.stringify,this.datumTokenizer=e.datumTokenizer,this.queryTokenizer=e.queryTokenizer,this.reset()}return d.mixin(e.prototype,{bootstrap:function(e){this.datums=e.datums,this.trie=e.trie},add:function(e){var s=this;e=d.isArray(e)?e:[e],d.each(e,function(e){var r;s.datums[r=s.identify(e)]=e,e=t(s.datumTokenizer(e)),d.each(e,function(e){for(var t,i=s.trie,n=e.split("");t=n.shift();)(i=i.c[t]||(i.c[t]=o())).i.push(r)})})},get:function(e){var t=this;return d.map(e,function(e){return t.datums[e]})},search:function(e){var r,s=this,e=t(this.queryTokenizer(e));return d.each(e,function(e){var t,i,n;if(r&&0===r.length)return!1;for(t=s.trie,i=e.split("");t&&(n=i.shift());)t=t.c[n];if(!t||0!==i.length)return!(r=[]);e=t.i.slice(0),r=r?function(e,t){var i=0,n=0,r=[],s=(e=e.sort(),t=t.sort(),e.length),o=t.length;for(;i<s&&n<o;)e[i]<t[n]?i++:(e[i]>t[n]||(r.push(e[i]),i++),n++);return r}(r,e):e}),r?d.map(function(e){for(var t={},i=[],n=0,r=e.length;n<r;n++)t[e[n]]||(t[e[n]]=!0,i.push(e[n]));return i}(r),function(e){return s.datums[e]}):[]},all:function(){var e,t=[];for(e in this.datums)t.push(this.datums[e]);return t},reset:function(){this.datums={},this.trie=o()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),e;function t(e){return e=d.filter(e,function(e){return!!e}),e=d.map(e,function(e){return e.toLowerCase()})}function o(){var e={i:[],c:{}};return e}}(),o=function(){"use strict";var i;function e(e){this.url=e.url,this.ttl=e.ttl,this.cache=e.cache,this.prepare=e.prepare,this.transform=e.transform,this.transport=e.transport,this.thumbprint=e.thumbprint,this.storage=new t(e.cacheKey)}return i={data:"data",protocol:"protocol",thumbprint:"thumbprint"},d.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(e){this.cache&&(this.storage.set(i.data,e,this.ttl),this.storage.set(i.protocol,location.protocol,this.ttl),this.storage.set(i.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var e,t={};return this.cache?(t.data=this.storage.get(i.data),t.protocol=this.storage.get(i.protocol),t.thumbprint=this.storage.get(i.thumbprint),e=t.thumbprint!==this.thumbprint||t.protocol!==location.protocol,t.data&&!e?t.data:null):null},fromNetwork:function(t){var e,i=this;t&&(e=this.prepare(this._settings()),this.transport(e).fail(function(){t(!0)}).done(function(e){t(null,i.transform(e))}))},clear:function(){return this.storage.clear(),this}}),e}(),a=function(){"use strict";function e(e){this.url=e.url,this.prepare=e.prepare,this.transform=e.transform,this.transport=new r({cache:e.cache,limiter:e.limiter,transport:e.transport})}return d.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(e,i){var n=this;if(i)return e=this.prepare(e=e||"",this._settings()),this.transport.get(e,function(e,t){i(e?[]:n.transform(t))})},cancelLastRequest:function(){this.transport.cancel()}}),e}(),l=function(){"use strict";return function(e){var t,i,n={initialize:!0,identify:d.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null};return(e=d.mixin(n,e||{})).datumTokenizer||u.error("datumTokenizer is required"),e.queryTokenizer||u.error("queryTokenizer is required"),t=e.sorter,e.sorter=t?function(e){return e.sort(t)}:d.identity,e.local=d.isFunction(e.local)?e.local():e.local,e.prefetch=(n=e.prefetch)?(i={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:d.identity,transform:d.identity,transport:null},n=d.isString(n)?{url:n}:n,(n=d.mixin(i,n)).url||u.error("prefetch requires url to be set"),n.transform=n.filter||n.transform,n.cacheKey=n.cacheKey||n.url,n.thumbprint="0.11.1"+n.thumbprint,n.transport=n.transport?r(n.transport):u.ajax,n):null,e.remote=function(e){var t;if(e)return t={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:d.identity,transport:null},e=d.isString(e)?{url:e}:e,(e=d.mixin(t,e)).url||u.error("remote requires url to be set"),e.transform=e.filter||e.transform,e.prepare=function(e){var t,i,n;if(t=e.prepare,i=e.replace,n=e.wildcard,t)return t;t=i?function(e,t){return t.url=i(t.url,e),t}:e.wildcard?function(e,t){return t.url=t.url.replace(n,encodeURIComponent(e)),t}:function(e,t){return t};return t}(e),e.limiter=function(e){var t,i;t=e.limiter,i=e.rateLimitBy,e=e.rateLimitWait,t=t||(/^throttle$/i.test(i)?function(t){return function(e){return d.throttle(e,t)}}:function(t){return function(e){return d.debounce(e,t)}})(e);return t}(e),e.transport=e.transport?r(e.transport):u.ajax,delete e.replace,delete e.wildcard,delete e.rateLimitBy,delete e.rateLimitWait,e}(e.remote),e};function r(i){return function(e){var t=u.Deferred();return i(e,function(e){d.defer(function(){t.resolve(e)})},function(e){d.defer(function(){t.reject(e)})}),t}}}(),function(){"use strict";var e;function t(e){e=l(e),this.sorter=e.sorter,this.identify=e.identify,this.sufficient=e.sufficient,this.local=e.local,this.remote=e.remote?new a(e.remote):null,this.prefetch=e.prefetch?new o(e.prefetch):null,this.index=new s({identify:this.identify,datumTokenizer:e.datumTokenizer,queryTokenizer:e.queryTokenizer}),!1!==e.initialize&&this.initialize()}return e=window&&window.Bloodhound,t.noConflict=function(){return window&&(window.Bloodhound=e),t},t.tokenizers=i,d.mixin(t.prototype,{__ttAdapter:function(){var n=this;return this.remote?function(e,t,i){return n.search(e,t,i)}:function(e,t){return n.search(e,t)}},_loadPrefetch:function(){var e,i=this,n=u.Deferred();return this.prefetch?(e=this.prefetch.fromCache())?(this.index.bootstrap(e),n.resolve()):this.prefetch.fromNetwork(function(e,t){if(e)return n.reject();i.add(t),i.prefetch.store(i.index.serialize()),n.resolve()}):n.resolve(),n.promise()},_initialize:function(){var e=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(function(){e.add(e.local)}),this.initPromise},initialize:function(e){return!this.initPromise||e?this._initialize():this.initPromise},add:function(e){return this.index.add(e),this},get:function(e){return e=d.isArray(e)?e:[].slice.call(arguments),this.index.get(e)},search:function(e,t,n){var r=this,s=this.sorter(this.index.search(e));return t(this.remote?s.slice():s),this.remote&&s.length<this.sufficient?this.remote.get(e,function(e){var i=[];d.each(e,function(t){d.some(s,function(e){return r.identify(t)===r.identify(e)})||i.push(t)}),n&&n(i)}):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return r.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),t}());var u,d,i,n,t,r,s,o,a,l}.apply(n,e))&&(i.exports=t),e=[r("./node_modules/jquery/src/jquery.js")],void 0!==(t=function(e){var h,f,i,d,t,o,p,r,m,g,v;h=e,f=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isArray:h.isArray,isFunction:h.isFunction,isObject:h.isPlainObject,isUndefined:function(e){return void 0===e},isElement:function(e){return!(!e||1!==e.nodeType)},isJQuery:function(e){return e instanceof h},toStr:function(e){return f.isUndefined(e)||null===e?"":e+""},bind:h.proxy,each:function(e,i){h.each(e,function(e,t){return i(t,e)})},map:h.map,filter:h.grep,every:function(i,n){var r=!0;return i?(h.each(i,function(e,t){if(!(r=n.call(null,t,e,i)))return!1}),!!r):r},some:function(i,n){var r=!1;return i?(h.each(i,function(e,t){if(r=n.call(null,t,e,i))return!1}),!!r):r},mixin:h.extend,identity:function(e){return e},clone:function(e){return h.extend(!0,{},e)},getIdGenerator:function(){var e=0;return function(){return e++}},templatify:function(e){return h.isFunction(e)?e:function(){return String(e)}},defer:function(e){setTimeout(e,0)},debounce:function(r,s,o){var a,l;return function(){var e=this,t=arguments,i=function(){a=null,o||(l=r.apply(e,t))},n=o&&!a;return clearTimeout(a),a=setTimeout(i,s),l=n?r.apply(e,t):l}},throttle:function(i,n){var r,s,o,a,l=0,c=function(){l=new Date,o=null,a=i.apply(r,s)};return function(){var e=new Date,t=n-(e-l);return r=this,s=arguments,t<=0?(clearTimeout(o),o=null,l=e,a=i.apply(r,s)):o=o||setTimeout(c,t),a}},stringify:function(e){return f.isString(e)?e:JSON.stringify(e)},noop:function(){}}}(),i=function(){"use strict";var i={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return function(e){var t;return e=f.mixin({},i,e),{css:(t={css:function(){var e={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};f.isMsie()&&f.mixin(e.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"});return e}(),classes:e,html:function(e){return{wrapper:'<span class="'+e.wrapper+'"></span>',menu:'<div class="'+e.menu+'"></div>'}}(e),selectors:function(e){var i={};return f.each(e,function(e,t){i[t]="."+e}),i}(e)}).css,html:t.html,classes:t.classes,selectors:t.selectors,mixin:function(e){f.mixin(e,t)}}}}(),d=function(){"use strict";var t;function e(e){e&&e.el||h.error("EventBus initialized without el"),this.$el=h(e.el)}return t={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},f.mixin(e.prototype,{_trigger:function(e,t){e=h.Event("typeahead:"+e);return(t=t||[]).unshift(e),this.$el.trigger.apply(this.$el,t),e},before:function(e){var t=[].slice.call(arguments,1);return this._trigger("before"+e,t).isDefaultPrevented()},trigger:function(e){this._trigger(e,[].slice.call(arguments,1)),(e=t[e])&&this._trigger(e,[].slice.call(arguments,1))}}),e}(),t=function(){"use strict";var a=/\s+/,s=function(){var e;e=window.setImmediate?function(e){l(function(){e()})}:function(e){setTimeout(function(){e()},0)};return e}();return{onSync:function(e,t,i){return n.call(this,"sync",e,t,i)},onAsync:function(e,t,i){return n.call(this,"async",e,t,i)},off:function(e){var t;if(!this._callbacks)return this;e=e.split(a);for(;t=e.shift();)delete this._callbacks[t];return this},trigger:function(e){var t,i,n,r;if(!this._callbacks)return this;e=e.split(a),i=[].slice.call(arguments,1);for(;(r=e.shift())&&(t=this._callbacks[r]);)n=o(t.sync,this,[r].concat(i)),r=o(t.async,this,[r].concat(i)),n()&&s(r);return this}};function n(e,t,i,n){var r,s,o;if(!i)return this;for(t=t.split(a),i=n?(o=n,(s=i).bind?s.bind(o):function(){s.apply(o,[].slice.call(arguments,0))}):i,this._callbacks=this._callbacks||{};r=t.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][e].push(i);return this}function o(n,r,s){return function(){for(var e,t=0,i=n.length;!e&&t<i;t+=1)e=!1===n[t].apply(r,s);return!e}}}(),o=function(o){"use strict";var e={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(r){var s;(r=f.mixin({},e,r)).node&&r.pattern&&(r.pattern=f.isArray(r.pattern)?r.pattern:[r.pattern],s=function(e,t,i){for(var n=[],r=0,s=e.length;r<s;r++)n.push(f.escapeRegExChars(e[r]));return i=i?"\\b("+n.join("|")+")\\b":"("+n.join("|")+")",t?new RegExp(i):new RegExp(i,"i")}(r.pattern,r.caseSensitive,r.wordsOnly),function e(t,i){var n;for(var r=0;r<t.childNodes.length;r++)3===(n=t.childNodes[r]).nodeType?r+=i(n)?1:0:e(n,i)}(r.node,function(e){var t,i,n;(t=s.exec(e.data))&&(n=o.createElement(r.tagName),r.className&&(n.className=r.className),(i=e.splitText(t.index)).splitText(t[0].length),n.appendChild(i.cloneNode(!0)),e.parentNode.replaceChild(n,i));return!!t}))}}(window.document),p=function(){"use strict";var s;function r(e,t){(e=e||{}).input||h.error("input is missing"),t.mixin(this),this.$hint=h(e.hint),this.$input=h(e.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=(t=this.$input,h('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=f.noop)}return s={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},r.normalizeQuery=function(e){return f.toStr(e).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},f.mixin(r.prototype,t,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(e){var t=s[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(e,t){var i;switch(e){case"up":case"down":i=!n(t);break;default:i=!1}i&&t.preventDefault()},_shouldTrigger:function(e,t){e="tab"!==e||!n(t);return e},_checkLanguageDirection:function(){var e=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==e&&(this.dir=e,this.$hint.attr("dir",e),this.trigger("langDirChanged",e))},_setQuery:function(e,t){var i,n;i=e,n=this.query,n=(i=r.normalizeQuery(i)===r.normalizeQuery(n))&&this.query.length!==e.length,this.query=e,t||i?!t&&n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var t=this,e=f.bind(this._onBlur,this),i=f.bind(this._onFocus,this),n=f.bind(this._onKeydown,this),r=f.bind(this._onInput,this);return this.$input.on("blur.tt",e).on("focus.tt",i).on("keydown.tt",n),!f.isMsie()||9<f.isMsie()?this.$input.on("input.tt",r):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(e){s[e.which||e.keyCode]||f.defer(f.bind(t._onInput,t,e))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(e,t){this.setInputValue(e),this._setQuery(e,t)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(e){this.$input.val(e),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e=this.getInputValue(),t=this.getHint(),t=e!==t&&0===t.indexOf(e);""!==e&&t&&!this.hasOverflow()||this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e=this.$input.val().length,t=this.$input[0].selectionStart;return f.isNumber(t)?t===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=h("<div>")}}),r;function n(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}}(),r=function(){"use strict";var s,r;function e(e,t){var i,n;(e=e||{}).templates=e.templates||{},e.templates.notFound=e.templates.notFound||e.templates.empty,e.source||h.error("missing source"),e.node||h.error("missing node"),e.name&&!/^[_a-zA-Z0-9-]+$/.test(e.name)&&h.error("invalid dataset name: "+e.name),t.mixin(this),this.highlight=!!e.highlight,this.name=e.name||r(),this.limit=e.limit||5,this.displayFn=(i=(i=e.display||e.displayKey)||f.stringify,f.isFunction(i)?i:function(e){return e[i]}),this.templates=(t=e.templates,n=this.displayFn,{notFound:t.notFound&&f.templatify(t.notFound),pending:t.pending&&f.templatify(t.pending),header:t.header&&f.templatify(t.header),footer:t.footer&&f.templatify(t.footer),suggestion:t.suggestion||function(e){return h("<div>").text(n(e))}}),this.source=e.source.__ttAdapter?e.source.__ttAdapter():e.source,this.async=f.isUndefined(e.async)?2<this.source.length:!!e.async,this._resetLastSuggestion(),this.$el=h(e.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return s={val:"tt-selectable-display",obj:"tt-selectable-object"},r=f.getIdGenerator(),e.extractData=function(e){e=h(e);return e.data(s.obj)?{val:e.data(s.val)||"",obj:e.data(s.obj)||null}:null},f.mixin(e.prototype,t,{_overwrite:function(e,t){(t=t||[]).length?this._renderSuggestions(e,t):this.async&&this.templates.pending?this._renderPending(e):!this.async&&this.templates.notFound?this._renderNotFound(e):this._empty(),this.trigger("rendered",this.name,t,!1)},_append:function(e,t){(t=t||[]).length&&this.$lastSuggestion.length?this._appendSuggestions(e,t):t.length?this._renderSuggestions(e,t):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(e),this.trigger("rendered",this.name,t,!0)},_renderSuggestions:function(e,t){var i=this._getSuggestionsFragment(e,t);this.$lastSuggestion=i.children().last(),this.$el.html(i).prepend(this._getHeader(e,t)).append(this._getFooter(e,t))},_appendSuggestions:function(e,t){e=this._getSuggestionsFragment(e,t),t=e.children().last();this.$lastSuggestion.after(e),this.$lastSuggestion=t},_renderPending:function(e){var t=this.templates.pending;this._resetLastSuggestion(),t&&this.$el.html(t({query:e,dataset:this.name}))},_renderNotFound:function(e){var t=this.templates.notFound;this._resetLastSuggestion(),t&&this.$el.html(t({query:e,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(i,e){var n=this,r=document.createDocumentFragment();return f.each(e,function(e){var t=n._injectQuery(i,e),t=h(n.templates.suggestion(t)).data(s.obj,e).data(s.val,n.displayFn(e)).addClass(n.classes.suggestion+" "+n.classes.selectable);r.appendChild(t[0])}),this.highlight&&o({className:this.classes.highlight,node:r,pattern:i}),h(r)},_getFooter:function(e,t){return this.templates.footer?this.templates.footer({query:e,suggestions:t,dataset:this.name}):null},_getHeader:function(e,t){return this.templates.header?this.templates.header({query:e,suggestions:t,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=h()},_injectQuery:function(e,t){return f.isObject(t)?f.mixin({_query:e},t):t},update:function(t){var i=this,n=!1,r=!1,s=0;function e(e){r||(r=!0,e=(e||[]).slice(0,i.limit),s=e.length,i._overwrite(t,e),s<i.limit&&i.async&&i.trigger("asyncRequested",t))}this.cancel(),this.cancel=function(){n=!0,i.cancel=h.noop,i.async&&i.trigger("asyncCanceled",t)},this.source(t,e,function(e){e=e||[],!n&&s<i.limit&&(i.cancel=h.noop,s+=e.length,i._append(t,e.slice(0,i.limit-s)),i.async&&i.trigger("asyncReceived",t))}),r||e([])},cancel:h.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=h("<div>")}}),e}(),m=function(){"use strict";function e(e,i){var n=this;(e=e||{}).node||h.error("node is required"),i.mixin(this),this.$node=h(e.node),this.query=null,this.datasets=f.map(e.datasets,function(e){var t=n.$node.find(e.node).first();return e.node=t.length?t:h("<div>").appendTo(n.$node),new r(e,i)})}return f.mixin(e.prototype,t,{_onSelectableClick:function(e){this.trigger("selectableClicked",h(e.currentTarget))},_onRendered:function(e,t,i,n){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",t,i,n)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return f.every(this.datasets,function(e){return e.isEmpty()})},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var e=this.getActiveSelectable();e&&e.removeClass(this.classes.cursor)},_ensureVisible:function(e){var t=e.position().top,e=t+e.outerHeight(!0),i=this.$node.scrollTop(),n=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10);t<0?this.$node.scrollTop(i+t):n<e&&this.$node.scrollTop(i+(e-n))},bind:function(){var t=this,e=f.bind(this._onSelectableClick,this);return this.$node.on("click.tt",this.selectors.selectable,e),f.each(this.datasets,function(e){e.onSync("asyncRequested",t._propagate,t).onSync("asyncCanceled",t._propagate,t).onSync("asyncReceived",t._propagate,t).onSync("rendered",t._onRendered,t).onSync("cleared",t._onCleared,t)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(e){this.$node.attr("dir",e)},selectableRelativeToCursor:function(e){var t=this.getActiveSelectable(),i=this._getSelectables(),t=(t?i.index(t):-1)+e;return-1===(t=(t=(t+1)%(i.length+1)-1)<-1?i.length-1:t)?null:i.eq(t)},setCursor:function(e){this._removeCursor(),(e=e&&e.first())&&(e.addClass(this.classes.cursor),this._ensureVisible(e))},getSelectableData:function(e){return e&&e.length?r.extractData(e):null},getActiveSelectable:function(){var e=this._getSelectables().filter(this.selectors.cursor).first();return e.length?e:null},getTopSelectable:function(){var e=this._getSelectables().first();return e.length?e:null},update:function(t){var e=t!==this.query;return e&&(this.query=t,f.each(this.datasets,function(e){e.update(t)})),e},empty:function(){f.each(this.datasets,function(e){e.clear()}),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){this.$node.off(".tt"),this.$node=h("<div>"),f.each(this.datasets,function(e){e.destroy()})}}),e}(),g=function(){"use strict";var t=m.prototype;function e(){m.apply(this,[].slice.call(arguments,0))}return f.mixin(e.prototype,m.prototype,{open:function(){return this._allDatasetsEmpty()||this._show(),t.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),t.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(e){return this.$node.css("ltr"===e?this.css.ltr:this.css.rtl),t.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),e}(),v=function(){"use strict";function e(e,t){var i,n,r,s,o,a,l,c,u;(e=e||{}).input||h.error("missing input"),e.menu||h.error("missing menu"),e.eventBus||h.error("missing event bus"),t.mixin(this),this.eventBus=e.eventBus,this.minLength=f.isNumber(e.minLength)?e.minLength:1,this.input=e.input,this.menu=e.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),t=d(this,"activate","open","_onFocused"),e=d(this,"deactivate","_onBlurred"),i=d(this,"isActive","isOpen","_onEnterKeyed"),n=d(this,"isActive","isOpen","_onTabKeyed"),r=d(this,"isActive","_onEscKeyed"),s=d(this,"isActive","open","_onUpKeyed"),o=d(this,"isActive","open","_onDownKeyed"),a=d(this,"isActive","isOpen","_onLeftKeyed"),l=d(this,"isActive","isOpen","_onRightKeyed"),c=d(this,"_openIfActive","_onQueryChanged"),u=d(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",t,this).onSync("blurred",e,this).onSync("enterKeyed",i,this).onSync("tabKeyed",n,this).onSync("escKeyed",r,this).onSync("upKeyed",s,this).onSync("downKeyed",o,this).onSync("leftKeyed",a,this).onSync("rightKeyed",l,this).onSync("queryChanged",c,this).onSync("whitespaceChanged",u,this).onSync("langDirChanged",this._onLangDirChanged,this)}return f.mixin(e.prototype,{_hacks:function(){var n=this.input.$input||h("<div>"),r=this.menu.$node||h("<div>");n.on("blur.tt",function(e){var t=document.activeElement,i=r.is(t),t=0<r.has(t).length;f.isMsie()&&(i||t)&&(e.preventDefault(),e.stopImmediatePropagation(),f.defer(function(){n.focus()}))}),r.on("mousedown.tt",function(e){e.preventDefault()})},_onSelectableClicked:function(e,t){this.select(t)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(e,t,i,n){this._updateHint(),this.eventBus.trigger("render",i,n,t)},_onAsyncRequested:function(e,t,i){this.eventBus.trigger("asyncrequest",i,t)},_onAsyncCanceled:function(e,t,i){this.eventBus.trigger("asynccancel",i,t)},_onAsyncReceived:function(e,t,i){this.eventBus.trigger("asyncreceive",i,t)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(e,t){var i;(i=this.menu.getActiveSelectable())&&this.select(i)&&t.preventDefault()},_onTabKeyed:function(e,t){var i;(i=this.menu.getActiveSelectable())?this.select(i)&&t.preventDefault():(i=this.menu.getTopSelectable())&&this.autocomplete(i)&&t.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(e,t){this._minLengthMet(t)?this.menu.update(t):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(e,t){this.dir!==t&&(this.dir=t,this.menu.setLanguageDirection(t))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(e){return(e=f.isString(e)?e:this.input.getQuery()||"").length>=this.minLength},_updateHint:function(){var e,t=this.menu.getTopSelectable(),t=this.menu.getSelectableData(t),i=this.input.getInputValue();!t||f.isBlankString(i)||this.input.hasOverflow()?this.input.clearHint():(e=p.normalizeQuery(i),e=f.escapeRegExChars(e),(e=new RegExp("^(?:"+e+")(.+$)","i").exec(t.val))&&this.input.setHint(i+e[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(e){this.input.setQuery(f.toStr(e))},getVal:function(){return this.input.getQuery()},select:function(e){e=this.menu.getSelectableData(e);return!(!e||this.eventBus.before("select",e.obj))&&(this.input.setQuery(e.val,!0),this.eventBus.trigger("select",e.obj),this.close(),!0)},autocomplete:function(e){var t=this.input.getQuery(),e=this.menu.getSelectableData(e);return!(!e||t===e.val||this.eventBus.before("autocomplete",e.obj))&&(this.input.setQuery(e.val),this.eventBus.trigger("autocomplete",e.obj),!0)},moveCursor:function(e){var t=this.input.getQuery(),e=this.menu.selectableRelativeToCursor(e),i=this.menu.getSelectableData(e),n=i?i.obj:null;return!(this._minLengthMet()&&this.menu.update(t)||this.eventBus.before("cursorchange",n))&&(this.menu.setCursor(e),i?this.input.setInputValue(i.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",n),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),e;function d(i){var e=[].slice.call(arguments,1);return function(){var t=[].slice.call(arguments);f.each(e,function(e){return i[e].apply(i,t)})}}}(),function(){"use strict";var e,c,t;function n(e,i){e.each(function(){var e,t=h(this);(e=t.data(c.typeahead))&&i(e,t)})}function u(e){e=f.isJQuery(e)||f.isElement(e)?h(e).first():[];return e.length?e:null}e=h.fn.typeahead,c={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},t={initialize:function(o,a){var l;return a=f.isArray(a)?a:[].slice.call(arguments,1),l=i((o=o||{}).classNames),this.each(function(){var e,t,i,n,r,s;f.each(a,function(e){e.highlight=!!o.highlight}),e=h(this),s=h(l.html.wrapper),r=u(o.hint),t=u(o.menu),i=!1!==o.hint&&!r,n=!1!==o.menu&&!t,i&&(r=function(e,t){return e.clone().addClass(t.classes.hint).removeData().css(t.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(e)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}(e,l)),n&&(t=h(l.html.menu).css(l.css.menu)),r&&r.val(""),e=function(e,t){e.data(c.attrs,{dir:e.attr("dir"),autocomplete:e.attr("autocomplete"),spellcheck:e.attr("spellcheck"),style:e.attr("style")}),e.addClass(t.classes.input).attr({autocomplete:"off",spellcheck:!1});try{e.attr("dir")||e.attr("dir","auto")}catch(e){}return e}(e,l),(i||n)&&(s.css(l.css.wrapper),e.css(i?l.css.input:l.css.inputWithNoHint),e.wrap(s).parent().prepend(i?r:null).append(n?t:null));s=n?g:m,i=new d({el:e}),n=new p({hint:r,input:e},l),r=new s({node:t,datasets:a},l),s=new v({input:n,menu:r,eventBus:i,minLength:o.minLength},l),e.data(c.www,l),e.data(c.typeahead,s)})},isEnabled:function(){var t;return n(this.first(),function(e){t=e.isEnabled()}),t},enable:function(){return n(this,function(e){e.enable()}),this},disable:function(){return n(this,function(e){e.disable()}),this},isActive:function(){var t;return n(this.first(),function(e){t=e.isActive()}),t},activate:function(){return n(this,function(e){e.activate()}),this},deactivate:function(){return n(this,function(e){e.deactivate()}),this},isOpen:function(){var t;return n(this.first(),function(e){t=e.isOpen()}),t},open:function(){return n(this,function(e){e.open()}),this},close:function(){return n(this,function(e){e.close()}),this},select:function(e){var t=!1,i=h(e);return n(this.first(),function(e){t=e.select(i)}),t},autocomplete:function(e){var t=!1,i=h(e);return n(this.first(),function(e){t=e.autocomplete(i)}),t},moveCursor:function(t){var i=!1;return n(this.first(),function(e){i=e.moveCursor(t)}),i},val:function(t){var i;return arguments.length?(n(this,function(e){e.setVal(t)}),this):(n(this.first(),function(e){i=e.getVal()}),i)},destroy:function(){return n(this,function(e,t){var i,n;t=(i=t).data(c.www),n=i.parent().filter(t.selectors.wrapper),f.each(i.data(c.attrs),function(e,t){f.isUndefined(e)?i.removeAttr(t):i.attr(t,e)}),i.removeData(c.typeahead).removeData(c.www).removeData(c.attr).removeClass(t.classes.input),n.length&&(i.detach().insertAfter(n),n.remove()),e.destroy()}),this}},h.fn.typeahead=function(e){return t[e]?t[e].apply(this,[].slice.call(arguments,1)):t.initialize.apply(this,arguments)},h.fn.typeahead.noConflict=function(){return h.fn.typeahead=e,this}}()}.apply(n,e))&&(i.exports=t)}.call(this,r("./node_modules/timers-browserify/main.js").setImmediate)},
vendor: 371 bytes, line 1
1"./node_modules/util/node_modules/inherits/inherits_browser.js":function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;function i(){}i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}},
vendor: 202 bytes, line 1
1"./node_modules/util/support/isBufferBrowser.js":function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},
vendor: 7,715 bytes, line 1
1"./node_modules/util/util.js":function(e,T,D){!function(o){var e,t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),i={},n=0;n<t.length;n++)i[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return i},a=/%[sdj%]/g,n=(T.format=function(e){if(!v(e)){for(var t=[],i=0;i<arguments.length;i++)t.push(l(arguments[i]));return t.join(" ")}for(var i=1,n=arguments,r=n.length,s=String(e).replace(a,function(e){if("%%"===e)return"%";if(r<=i)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(e){return"[Circular]"}default:return e}}),o=n[i];i<r;o=n[++i])m(o)||!c(o)?s+=" "+o:s+=" "+l(o);return s},T.deprecate=function(e,t){if(void 0!==o&&!0===o.noDeprecation)return e;if(void 0===o)return function(){return T.deprecate(e,t).apply(this,arguments)};var i=!1;return function(){if(!i){if(o.throwDeprecation)throw new Error(t);o.traceDeprecation?console.trace(t):console.error(t),i=!0}return e.apply(this,arguments)}},{});function l(e,t){var i={seen:[],stylize:s};return 3<=arguments.length&&(i.depth=arguments[2]),4<=arguments.length&&(i.colors=arguments[3]),p(t)?i.showHidden=t:t&&T._extend(i,t),y(i.showHidden)&&(i.showHidden=!1),y(i.depth)&&(i.depth=2),y(i.colors)&&(i.colors=!1),y(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=r),u(i,e,i.depth)}function r(e,t){t=l.styles[t];return t?"�["+l.colors[t][0]+"m"+e+"�["+l.colors[t][1]+"m":e}function s(e,t){return e}function u(t,i,n){if(t.customInspect&&i&&w(i.inspect)&&i.inspect!==T.inspect&&(!i.constructor||i.constructor.prototype!==i))return v(e=i.inspect(n,t))?e:u(t,e,n);var e=function(e,t){if(y(t))return e.stylize("undefined","undefined");{var i;if(v(t))return i="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",e.stylize(i,"string")}return g(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(t,i);if(e)return e;var r,e=Object.keys(i),s=(r={},e.forEach(function(e,t){r[e]=!0}),r);if(t.showHidden&&(e=Object.getOwnPropertyNames(i)),x(i)&&(0<=e.indexOf("message")||0<=e.indexOf("description")))return d(i);if(0===e.length){if(w(i))return o=i.name?": "+i.name:"",t.stylize("[Function"+o+"]","special");if(b(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(_(i))return t.stylize(Date.prototype.toString.call(i),"date");if(x(i))return d(i)}var o="",a=!1,l=["{","}"];if(f(i)&&(a=!0,l=["[","]"]),w(i)&&(o=" [Function"+(i.name?": "+i.name:"")+"]"),b(i)&&(o=" "+RegExp.prototype.toString.call(i)),_(i)&&(o=" "+Date.prototype.toUTCString.call(i)),x(i)&&(o=" "+d(i)),0===e.length&&(!a||0==i.length))return l[0]+o+l[1];if(n<0)return b(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special");t.seen.push(i),c=a?function(t,i,n,r,e){for(var s=[],o=0,a=i.length;o<a;++o)M(i,String(o))?s.push(h(t,i,n,r,String(o),!0)):s.push("");return e.forEach(function(e){e.match(/^\d+$/)||s.push(h(t,i,n,r,e,!0))}),s}(t,i,n,s,e):e.map(function(e){return h(t,i,n,s,e,a)}),t.seen.pop();var c;return 60<c.reduce(function(e,t){return 0<=t.indexOf("\n")&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)?l[0]+(""===o?"":o+"\n ")+" "+c.join(",\n  ")+" "+l[1]:l[0]+o+" "+c.join(", ")+" "+l[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,i,n,r,s){var o,a,t=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]};if(t.get?a=t.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):t.set&&(a=e.stylize("[Setter]","special")),M(n,r)||(o="["+r+"]"),a||(e.seen.indexOf(t.value)<0?-1<(a=m(i)?u(e,t.value,null):u(e,t.value,i-1)).indexOf("\n")&&(a=s?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),y(o)){if(s&&r.match(/^\d+$/))return a;o=(o=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),e.stylize(o,"string"))}return o+": "+a}function f(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return c(e)&&"[object RegExp]"===i(e)}function c(e){return"object"==typeof e&&null!==e}function _(e){return c(e)&&"[object Date]"===i(e)}function x(e){return c(e)&&("[object Error]"===i(e)||e instanceof Error)}function w(e){return"function"==typeof e}function i(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}T.debuglog=function(t){var i;return y(e)&&(e=o.env.NODE_DEBUG||""),t=t.toUpperCase(),n[t]||(new RegExp("\\b"+t+"\\b","i").test(e)?(i=o.pid,n[t]=function(){var e=T.format.apply(T,arguments);console.error("%s %d: %s",t,i,e)}):n[t]=function(){}),n[t]},(T.inspect=l).colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},T.isArray=f,T.isBoolean=p,T.isNull=m,T.isNullOrUndefined=function(e){return null==e},T.isNumber=g,T.isString=v,T.isSymbol=function(e){return"symbol"==typeof e},T.isUndefined=y,T.isRegExp=b,T.isObject=c,T.isDate=_,T.isError=x,T.isFunction=w,T.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},T.isBuffer=D("./node_modules/util/support/isBufferBrowser.js");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}T.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],t].join(" ")),T.format.apply(T,arguments))},T.inherits=D("./node_modules/util/node_modules/inherits/inherits_browser.js"),T._extend=function(e,t){if(!t||!c(t))return e;for(var i=Object.keys(t),n=i.length;n--;)e[i[n]]=t[i[n]];return e};var C="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function L(e,t){var i;return e||((i=new Error("Promise was rejected with a falsy value")).reason=e,e=i),t(e)}T.promisify=function(s){if("function"!=typeof s)throw new TypeError('The "original" argument must be of type Function');if(C&&s[C]){var e;if("function"!=typeof(e=s[C]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,C,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var i,n,e=new Promise(function(e,t){i=e,n=t}),t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);t.push(function(e,t){e?n(e):i(t)});try{s.apply(this,t)}catch(e){n(e)}return e}return Object.setPrototypeOf(e,Object.getPrototypeOf(s)),C&&Object.defineProperty(e,C,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,t(s))},T.promisify.custom=C,T.callbackify=function(s){if("function"!=typeof s)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");function n(){return i.apply(r,arguments)}var r=this;s.apply(this,e).then(function(e){o.nextTick(n,null,e)},function(e){o.nextTick(L,e,n)})}return Object.setPrototypeOf(e,Object.getPrototypeOf(s)),Object.defineProperties(e,t(s)),e}}.call(this,D("./node_modules/process/browser.js"))},
vendor: 8,813 bytes, line 1
1"./node_modules/waypoints/lib/jquery.waypoints.js":function(e,t){!function(){"use strict";var t=0,s={};function i(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,e),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),s[this.key]=this,t+=1}i.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},i.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete s[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(e){var t,i=[];for(t in s)i.push(s[t]);for(var n=0,r=i.length;n<r;n++)i[n][e]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var e in i.Context.refreshAll(),s)s[e].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){"use strict";function t(e){window.setTimeout(e,1e3/60)}var i=0,n={},f=window.Waypoint,e=window.onload;function r(e){this.element=e,this.Adapter=f.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,n[e.waypointContextKey]=this,i+=1,f.windowContext||(f.windowContext=!0,f.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},r.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;e&&t&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},r.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,f.requestAnimationFrame(t))})},r.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",function(){e.didScroll&&!f.isTouch||(e.didScroll=!0,f.requestAnimationFrame(t))})},r.prototype.handleResize=function(){f.Context.refreshAll()},r.prototype.handleScroll=function(){var e,t,i={},n={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(e in n){var r,s=n[e],o=s.newScroll>s.oldScroll?s.forward:s.backward;for(r in this.waypoints[e]){var a,l,c=this.waypoints[e][r];null!==c.triggerPoint&&(a=s.oldScroll<c.triggerPoint,l=s.newScroll>=c.triggerPoint,(a&&l||!a&&!l)&&(c.queueTrigger(o),i[c.group.id]=c.group))}}for(t in i)i[t].flushTriggers();this.oldScroll={x:n.horizontal.newScroll,y:n.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?f.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?f.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var e,t=[];for(e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,r=t.length;n<r;n++)t[n].destroy()},r.prototype.refresh=function(){var e,t,i=this.element==this.element.window,n=i?void 0:this.adapter.offset(),r={};for(t in this.handleScroll(),e={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s,o=e[t];for(s in this.waypoints[t]){var a,l=this.waypoints[t][s],c=l.options.offset,u=l.triggerPoint,d=0,h=null==u;l.element!==l.element.window&&(d=l.adapter.offset()[o.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),-1<l.options.offset.indexOf("%")&&(c=Math.ceil(o.contextDimension*c/100))),a=o.contextScroll-o.contextOffset,l.triggerPoint=Math.floor(d+a-c),d=u<o.oldScroll,a=l.triggerPoint>=o.oldScroll,c=!d&&!a,!h&&(d&&a)?(l.queueTrigger(o.backward),r[l.group.id]=l.group):(!h&&c||h&&o.oldScroll>=l.triggerPoint)&&(l.queueTrigger(o.forward),r[l.group.id]=l.group)}}return f.requestAnimationFrame(function(){for(var e in r)r[e].flushTriggers()}),this},r.findOrCreateByElement=function(e){return r.findByElement(e)||new r(e)},r.refreshAll=function(){for(var e in n)n[e].refresh()},r.findByElement=function(e){return n[e.waypointContextKey]},window.onload=function(){e&&e(),r.refreshAll()},f.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},f.Context=r}(),function(){"use strict";function s(e,t){return e.triggerPoint-t.triggerPoint}function o(e,t){return t.triggerPoint-e.triggerPoint}var t={vertical:{},horizontal:{}},i=window.Waypoint;function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),t[this.axis][this.name]=this}n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e];t.sort("up"===e||"left"===e?o:s);for(var i=0,n=t.length;i<n;i+=1){var r=t[i];!r.options.continuous&&i!==t.length-1||r.trigger([e])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(s);e=i.Adapter.inArray(e,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},n.prototype.previous=function(e){this.waypoints.sort(s);e=i.Adapter.inArray(e,this.waypoints);return e?this.waypoints[e-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){e=i.Adapter.inArray(e,this.waypoints);-1<e&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return t[e.axis][e.name]||new n(e)},i.Group=n}(),function(){"use strict";var i=window.jQuery,e=window.Waypoint;function n(e){this.$element=i(e)}i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),i.each(["extend","inArray","isEmptyObject"],function(e,t){n[t]=i[t]}),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";var r=window.Waypoint;function e(n){return function(){var t=[],i=arguments[0];return n.isFunction(arguments[0])&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=n.extend({},i,{element:this});"string"==typeof e.context&&(e.context=n(this).closest(e.context)[0]),t.push(new r(e))}),t}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()},
vendor: 134 bytes, line 1
1"./node_modules/webpack/buildin/amd-define.js":function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},
vendor: 103 bytes, line 1
1"./node_modules/webpack/buildin/amd-options.js":function(t,e){!function(e){t.exports=e}.call(this,{})},
vendor: 186 bytes, line 1
1"./node_modules/webpack/buildin/global.js":function(e,t){var i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},
vendor: 345 bytes, line 1
1"./node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},
vendor: 2,376 bytes, line 1
1"./node_modules/wnumb/wNumb.js":function(e,t,i){var n;void 0!==(t="function"==typeof(n=function(){"use strict";var s=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function y(e){return e.split("").reverse().join("")}function m(e,t){return e.substring(0,t.length)===t}function g(e,t){return e.slice(-1*t.length)===t}function o(e,t,i){if((e[t]||e[i])&&e[t]===e[i])throw new Error(t)}function b(e){return typeof e==="number"&&isFinite(e)}function _(e,t){e=e.toString().split("e");e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)));e=e.toString().split("e");return(+(e[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(t)}function i(e,t,i,n,r,s,o,a,l,c,u,d){var h=d,f,p,m,g="",v="";if(s)d=s(d);if(!b(d))return false;if(e!==false&&parseFloat(d.toFixed(e))===0)d=0;if(d<0){f=true;d=Math.abs(d)}if(e!==false)d=_(d,e);d=d.toString();if(d.indexOf(".")!==-1){p=d.split(".");m=p[0];if(i)g=i+p[1]}else m=d;if(t){m=y(m).match(/.{1,3}/g);m=y(m.join(y(t)))}if(f&&a)v+=a;if(n)v+=n;if(f&&l)v+=l;v+=m;v+=g;if(r)v+=r;if(c)v=c(v,h);return v}function n(e,t,i,n,r,s,o,a,l,c,u,d){var h=d,f,p="";if(u)d=u(d);if(!d||typeof d!=="string")return false;if(a&&m(d,a)){d=d.replace(a,"");f=true}if(n&&m(d,n))d=d.replace(n,"");if(l&&m(d,l)){d=d.replace(l,"");f=true}if(r&&g(d,r))d=d.slice(0,-1*r.length);if(t)d=d.split(t).join("");if(i)d=d.replace(i,".");if(f)p+="-";p+=d;p=p.replace(/[^0-9\.\-.]/g,"");if(p==="")return false;p=Number(p);if(o)p=o(p);if(!b(p))return false;return p}function e(e){var t,i,n,r={};if(e["suffix"]===undefined)e["suffix"]=e["postfix"];for(t=0;t<s.length;t+=1){i=s[t];n=e[i];if(n===undefined)if(i==="negative"&&!r.negativeBefore)r[i]="-";else if(i==="mark"&&r.thousand!==".")r[i]=".";else r[i]=false;else if(i==="decimals")if(n>=0&&n<8)r[i]=n;else throw new Error(i);else if(i==="encoder"||i==="decoder"||i==="edit"||i==="undo")if(typeof n==="function")r[i]=n;else throw new Error(i);else if(typeof n==="string")r[i]=n;else throw new Error(i)}o(r,"mark","thousand");o(r,"prefix","negative");o(r,"prefix","negativeBefore");return r}function r(e,t,i){var n,r=[];for(n=0;n<s.length;n+=1)r.push(e[s[n]]);r.push(i);return t.apply("",r)}function a(t){if(!(this instanceof a))return new a(t);if(typeof t!=="object")return;t=e(t);this.to=function(e){return r(t,i,e)};this.from=function(e){return r(t,n,e)}}return a})?n.apply(t,[]):n)&&(e.exports=t)},
1"./webpack/plugins/plugins.js":function(e,t,i){window.jQuery=window.$=i("./node_modules/jquery/src/jquery.js"),i("./node_modules/bootstrap/dist/js/bootstrap.js"),window.Popper=i("./node_modules/popper.js/dist/esm/popper.js").default,window.wNumb=i("./node_modules/wnumb/wNumb.js"),window.moment=i("./node_modules/moment/moment.js"),i("./node_modules/es6-shim/es6-shim.min.js"),window.PerfectScrollbar=i("./node_modules/perfect-scrollbar/dist/perfect-scrollbar.js"),window.Sticky=i("./node_modules/sticky-js/index.js"),window.ApexCharts=i("./node_modules/apexcharts/dist/apexcharts.min.js"),window.FormValidation=i("../demo5/src/plugins/formvalidation/dist/amd/index.js"),window.FormValidation.plugins.Bootstrap=i("../demo5/src/plugins/formvalidation/dist/amd/plugins/Bootstrap.js").default,i("./node_modules/block-ui/jquery.blockUI.js"),i("./node_modules/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js"),i("../demo5/src/js/vendors/plugins/tempusdominus-bootstrap-4.init.js"),i("./node_modules/jquery-mask-plugin/dist/jquery.mask.js"),i("./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js"),i("../demo5/src/js/vendors/plugins/bootstrap-datepicker.init.js"),i("./node_modules/bootstrap-timepicker/js/bootstrap-timepicker.js"),i("../demo5/src/js/vendors/plugins/bootstrap-timepicker.init.js"),i("./node_modules/bootstrap-daterangepicker/daterangepicker.js"),i("./node_modules/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js"),i("./node_modules/bootstrap-maxlength/src/bootstrap-maxlength.js"),i("../demo5/src/plugins/bootstrap-multiselectsplitter/bootstrap-multiselectsplitter.min.js"),i("./node_modules/bootstrap-select/dist/js/bootstrap-select.js"),i("./node_modules/bootstrap-switch/dist/js/bootstrap-switch.js"),i("../demo5/src/js/vendors/plugins/bootstrap-switch.init.js"),i("./node_modules/select2/dist/js/select2.full.js"),i("./node_modules/ion-rangeslider/js/ion.rangeSlider.js"),window.Bloodhound=i("./node_modules/typeahead.js/dist/typeahead.bundle.js"),window.Handlebars=i("./node_modules/handlebars/dist/handlebars.js"),i("./node_modules/inputmask/dist/jquery.inputmask.bundle.js"),i("./node_modules/inputmask/dist/inputmask/inputmask.date.extensions.js"),i("./node_modules/inputmask/dist/inputmask/inputmask.numeric.extensions.js"),window.noUiSlider=i("./node_modules/nouislider/distribute/nouislider.js"),i("./node_modules/owl.carousel/dist/owl.carousel.js"),window.autosize=i("./node_modules/autosize/dist/autosize.js"),window.ClipboardJS=i("./node_modules/clipboard/dist/clipboard.min.js"),window.Dropzone=i("./node_modules/dropzone/dist/dropzone.js"),i("../demo5/src/js/vendors/plugins/dropzone.init.js"),window.Quill=i("./node_modules/quill/dist/quill.js"),i("./node_modules/@yaireo/tagify/dist/tagify.polyfills.min.js"),window.Tagify=i("./node_modules/@yaireo/tagify/dist/tagify.min.js"),i("./node_modules/summernote/dist/summernote.js"),i("./node_modules/markdown/lib/markdown.js"),i("./node_modules/bootstrap-markdown/js/bootstrap-markdown.js"),i("../demo5/src/js/vendors/plugins/bootstrap-markdown.init.js"),i("./node_modules/bootstrap-notify/bootstrap-notify.min.js"),i("../demo5/src/js/vendors/plugins/bootstrap-notify.init.js"),window.toastr=i("./node_modules/toastr/build/toastr.min.js"),window.DualListbox=i("./node_modules/dual-listbox/dist/dual-listbox.js").default,window.sessionTimeout=i("../demo5/src/plugins/bootstrap-session-timeout/dist/bootstrap-session-timeout.min.js"),i("../demo5/src/plugins/jquery-idletimer/idle-timer.min.js"),i("./node_modules/waypoints/lib/jquery.waypoints.js"),i("./node_modules/counterup/jquery.counterup.js"),i("./node_modules/es6-promise-polyfill/promise.min.js"),window.Swal=window.swal=i("./node_modules/sweetalert2/dist/sweetalert2.min.js"),i("../demo5/src/js/vendors/plugins/sweetalert2.init.js"),i("./node_modules/jquery.repeater/jquery.repeater.js")},
1"./webpack/plugins/plugins.scss":function(e,t,i){}
1,0:function(e,t,i){i("./webpack/plugins/plugins.js"),e.exports=i("./webpack/plugins/plugins.scss")}});

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.