File: /home/bpw3460lz1vy/public_html/wp-content/cache/minify/a5815.js_old
/*! This file is auto-generated */
!function(c,l,u){function d(e){27===e.which&&(e=E(e.target,".menupop"))&&(e.querySelector(".menupop > .ab-item").focus(),y(e,"hover"))}function p(e){var t;13!==e.which||e.ctrlKey||e.shiftKey||E(e.target,".ab-sub-wrapper")||(t=E(e.target,".menupop"))&&(e.preventDefault(),(a(t,"hover")?y:v)(t,"hover"))}function m(e,t){!E(t.target,".ab-sub-wrapper")&&(t.preventDefault(),t=E(t.target,".menupop"))&&(a(t,"hover")?y:(b(e),v))(t,"hover")}function f(e){var t,r=e.target.parentNode;if(t=r?r.querySelector(".shortlink-input"):t)return e.preventDefault&&e.preventDefault(),e.returnValue=!1,v(r,"selected"),t.focus(),t.select(),!(t.onblur=function(){y(r,"selected")})}function h(){if("sessionStorage"in l)try{for(var e in sessionStorage)-1<e.indexOf("wp-autosave-")&&sessionStorage.removeItem(e)}catch(e){}}function a(e,t){return e&&(e.classList&&e.classList.contains?e.classList.contains(t):e.className&&-1<e.className.split(" ").indexOf(t))}function v(e,t){e&&(e.classList&&e.classList.add?e.classList.add(t):a(e,t)||(e.className&&(e.className+=" "),e.className+=t),e=e.querySelector("a"),"hover"===t)&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","true")}function y(e,t){var r,n;if(e&&a(e,t)){if(e.classList&&e.classList.remove)e.classList.remove(t);else{for(r=" "+t+" ",n=" "+e.className+" ";-1<n.indexOf(r);)n=n.replace(r,"");e.className=n.replace(/^[\s]+|[\s]+$/g,"")}e=e.querySelector("a");"hover"===t&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false")}}function b(e){if(e&&e.length)for(var t=0;t<e.length;t++)y(e[t],"hover")}function g(e){if(!e.target||"wpadminbar"===e.target.id||"wp-admin-bar-top-secondary"===e.target.id)try{l.scrollTo({top:-32,left:0,behavior:"smooth"})}catch(e){l.scrollTo(0,-32)}}function E(e,t){for(l.Element.prototype.matches||(l.Element.prototype.matches=l.Element.prototype.matchesSelector||l.Element.prototype.mozMatchesSelector||l.Element.prototype.msMatchesSelector||l.Element.prototype.oMatchesSelector||l.Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;0<=--r&&t.item(r)!==this;);return-1<r});e&&e!==c;e=e.parentNode)if(e.matches(t))return e;return null}c.addEventListener("DOMContentLoaded",function(){var r,e,t,n,a,o,s,i=c.getElementById("wpadminbar");if(i&&"querySelectorAll"in i){r=i.querySelectorAll("li.menupop"),e=i.querySelectorAll(".ab-item"),t=c.querySelector("#wp-admin-bar-logout a"),n=c.getElementById("adminbarsearch"),a=c.getElementById("wp-admin-bar-get-shortlink"),i.querySelector(".screen-reader-shortcut"),o=/Mobile\/.+Safari/.test(u.userAgent)?"touchstart":"click",y(i,"nojs"),"ontouchstart"in l&&(c.body.addEventListener(o,function(e){E(e.target,"li.menupop")||b(r)}),i.addEventListener("touchstart",function e(){for(var t=0;t<r.length;t++)r[t].addEventListener("click",m.bind(null,r));i.removeEventListener("touchstart",e)})),i.addEventListener("click",g);for(s=0;s<r.length;s++)l.hoverintent(r[s],v.bind(null,r[s],"hover"),y.bind(null,r[s],"hover")).options({timeout:180}),r[s].addEventListener("keydown",p);for(s=0;s<e.length;s++)e[s].addEventListener("keydown",d);n&&((o=c.getElementById("adminbar-search")).addEventListener("focus",function(){v(n,"adminbar-focused")}),o.addEventListener("blur",function(){y(n,"adminbar-focused")})),a&&a.addEventListener("click",f),l.location.hash&&l.scrollBy(0,-32),t&&t.addEventListener("click",h)}})}(document,window,navigator);
;/*! jQuery UI - v1.13.3 - 2024-04-26
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
/*!
* jQuery UI :data 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
* jQuery UI Disable Selection 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
* jQuery UI Focusable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
* jQuery UI Form Reset Mixin 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
* jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
*/
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
* jQuery UI Keycode 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
* jQuery UI Labels 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
* jQuery UI Position 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
* https://api.jqueryui.com/position/
*/
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
* jQuery UI Scroll Parent 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
* jQuery UI Tabbable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
* jQuery UI Unique ID 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
* jQuery UI Widget 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
;/*!
* jQuery UI Mouse 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}(function(o){"use strict";var n=!1;return o(document).on("mouseup",function(){n=!1}),o.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===o.data(e.target,t.widgetName+".preventClickEvent"))return o.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,s;if(!n)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,s=!("string"!=typeof(t=this).options.cancel||!e.target.nodeName)&&o(e.target).closest(this.options.cancel).length,i&&!s&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===o.data(e.target,this.widgetName+".preventClickEvent")&&o.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0)),!0},_mouseMove:function(e){if(this._mouseMoved){if(o.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&o.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})});
;/*!
* jQuery UI Draggable 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../plugin","../safe-active-element","../safe-blur","../scroll-parent","../version","../widget"],t):t(jQuery)}(function(P){"use strict";return P.widget("ui.draggable",P.ui.mouse,{version:"1.13.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<P(t.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(t),!this.handle)||(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=P(this);return P("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=P.ui.safeActiveElement(this.document[0]);P(t.target).closest(e).length||P.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),P.ui.ddmanager&&(P.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===P(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),P.ui.ddmanager&&!e.dropBehaviour&&P.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),P.ui.ddmanager&&P.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new P.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",P.ui.ddmanager&&P.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,s=!1;return P.ui.ddmanager&&!this.options.dropBehaviour&&(s=P.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,s)?P(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),P.ui.ddmanager&&P.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),P.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new P.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!P(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,s="function"==typeof e.helper,t=s?P(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),s&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&P.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t,e;return"relative"!==this.cssPosition?{top:0,left:0}:(t=this.element.position(),e=this._isRootNode(this.scrollParent[0]),{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e=this.options,s=this.document[0];this.relativeContainer=null,e.containment?"window"===e.containment?this.containment=[P(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,P(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,P(window).scrollLeft()+P(window).width()-this.helperProportions.width-this.margins.left,P(window).scrollTop()+(P(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:"document"===e.containment?this.containment=[0,0,P(s).width()-this.helperProportions.width-this.margins.left,(P(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:e.containment.constructor===Array?this.containment=e.containment:("parent"===e.containment&&(e.containment=this.helper[0].parentNode),(e=(s=P(e.containment))[0])&&(t=/(scroll|auto)/.test(s.css("overflow")),this.containment=[(parseInt(s.css("borderLeftWidth"),10)||0)+(parseInt(s.css("paddingLeft"),10)||0),(parseInt(s.css("borderTopWidth"),10)||0)+(parseInt(s.css("paddingTop"),10)||0),(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(s.css("borderRightWidth"),10)||0)-(parseInt(s.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(s.css("borderBottomWidth"),10)||0)-(parseInt(s.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=s)):this.containment=null},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*t}},_generatePosition:function(t,e){var s,i=this.options,o=this._isRootNode(this.scrollParent[0]),n=t.pageX,r=t.pageY;return o&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(r=e&&(this.containment&&(s=this.relativeContainer?(e=this.relativeContainer.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<s[0]&&(n=s[0]+this.offset.click.left),t.pageY-this.offset.click.top<s[1]&&(r=s[1]+this.offset.click.top),t.pageX-this.offset.click.left>s[2]&&(n=s[2]+this.offset.click.left),t.pageY-this.offset.click.top>s[3])&&(r=s[3]+this.offset.click.top),i.grid&&(e=i.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,r=!s||e-this.offset.click.top>=s[1]||e-this.offset.click.top>s[3]?e:e-this.offset.click.top>=s[1]?e-i.grid[1]:e+i.grid[1],t=i.grid[0]?this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,n=!s||t-this.offset.click.left>=s[0]||t-this.offset.click.left>s[2]?t:t-this.offset.click.left>=s[0]?t-i.grid[0]:t+i.grid[0]),"y"===i.axis&&(n=this.originalPageX),"x"===i.axis)?this.originalPageY:r)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,s){return s=s||this._uiHash(),P.ui.plugin.call(this,t,[e,s,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),P.Widget.prototype._trigger.call(this,t,e,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),P.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,s){var i=P.extend({},t,{item:s.element});s.sortables=[],P(s.options.connectToSortable).each(function(){var t=P(this).sortable("instance");t&&!t.options.disabled&&(s.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,i))})},stop:function(e,t,s){var i=P.extend({},t,{item:s.element});s.cancelHelperRemoval=!1,P.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,i))})},drag:function(s,i,o){P.each(o.sortables,function(){var t=!1,e=this;e.positionAbs=o.positionAbs,e.helperProportions=o.helperProportions,e.offset.click=o.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,P.each(o.sortables,function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,t=this!==e&&this._intersectsWith(this.containerCache)&&P.contains(e.element[0],this.element[0])?!1:t})),t?(e.isOver||(e.isOver=1,o._parent=i.helper.parent(),e.currentItem=i.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return i.helper[0]},s.target=e.currentItem[0],e._mouseCapture(s,!0),e._mouseStart(s,!0,!0),e.offset.click.top=o.offset.click.top,e.offset.click.left=o.offset.click.left,e.offset.parent.left-=o.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=o.offset.parent.top-e.offset.parent.top,o._trigger("toSortable",s),o.dropped=e.element,P.each(o.sortables,function(){this.refreshPositions()}),o.currentItem=o.element,e.fromOutside=o),e.currentItem&&(e._mouseDrag(s),i.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",s,e._uiHash(e)),e._mouseStop(s,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),i.helper.appendTo(o._parent),o._refreshOffsets(s),i.position=o._generatePosition(s,!0),o._trigger("fromSortable",s),o.dropped=!1,P.each(o.sortables,function(){this.refreshPositions()}))})}}),P.ui.plugin.add("draggable","cursor",{start:function(t,e,s){var i=P("body"),s=s.options;i.css("cursor")&&(s._cursor=i.css("cursor")),i.css("cursor",s.cursor)},stop:function(t,e,s){s=s.options;s._cursor&&P("body").css("cursor",s._cursor)}}),P.ui.plugin.add("draggable","opacity",{start:function(t,e,s){e=P(e.helper),s=s.options;e.css("opacity")&&(s._opacity=e.css("opacity")),e.css("opacity",s.opacity)},stop:function(t,e,s){s=s.options;s._opacity&&P(e.helper).css("opacity",s._opacity)}}),P.ui.plugin.add("draggable","scroll",{start:function(t,e,s){s.scrollParentNotHidden||(s.scrollParentNotHidden=s.helper.scrollParent(!1)),s.scrollParentNotHidden[0]!==s.document[0]&&"HTML"!==s.scrollParentNotHidden[0].tagName&&(s.overflowOffset=s.scrollParentNotHidden.offset())},drag:function(t,e,s){var i=s.options,o=!1,n=s.scrollParentNotHidden[0],r=s.document[0];n!==r&&"HTML"!==n.tagName?(i.axis&&"x"===i.axis||(s.overflowOffset.top+n.offsetHeight-t.pageY<i.scrollSensitivity?n.scrollTop=o=n.scrollTop+i.scrollSpeed:t.pageY-s.overflowOffset.top<i.scrollSensitivity&&(n.scrollTop=o=n.scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(s.overflowOffset.left+n.offsetWidth-t.pageX<i.scrollSensitivity?n.scrollLeft=o=n.scrollLeft+i.scrollSpeed:t.pageX-s.overflowOffset.left<i.scrollSensitivity&&(n.scrollLeft=o=n.scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(t.pageY-P(r).scrollTop()<i.scrollSensitivity?o=P(r).scrollTop(P(r).scrollTop()-i.scrollSpeed):P(window).height()-(t.pageY-P(r).scrollTop())<i.scrollSensitivity&&(o=P(r).scrollTop(P(r).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(t.pageX-P(r).scrollLeft()<i.scrollSensitivity?o=P(r).scrollLeft(P(r).scrollLeft()-i.scrollSpeed):P(window).width()-(t.pageX-P(r).scrollLeft())<i.scrollSensitivity&&(o=P(r).scrollLeft(P(r).scrollLeft()+i.scrollSpeed)))),!1!==o&&P.ui.ddmanager&&!i.dropBehaviour&&P.ui.ddmanager.prepareOffsets(s,t)}}),P.ui.plugin.add("draggable","snap",{start:function(t,e,s){var i=s.options;s.snapElements=[],P(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var t=P(this),e=t.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,s){for(var i,o,n,r,l,a,h,p,c,f=s.options,d=f.snapTolerance,g=e.offset.left,u=g+s.helperProportions.width,m=e.offset.top,v=m+s.helperProportions.height,_=s.snapElements.length-1;0<=_;_--)a=(l=s.snapElements[_].left-s.margins.left)+s.snapElements[_].width,p=(h=s.snapElements[_].top-s.margins.top)+s.snapElements[_].height,u<l-d||a+d<g||v<h-d||p+d<m||!P.contains(s.snapElements[_].item.ownerDocument,s.snapElements[_].item)?(s.snapElements[_].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,t,P.extend(s._uiHash(),{snapItem:s.snapElements[_].item})),s.snapElements[_].snapping=!1):("inner"!==f.snapMode&&(i=Math.abs(h-v)<=d,o=Math.abs(p-m)<=d,n=Math.abs(l-u)<=d,r=Math.abs(a-g)<=d,i&&(e.position.top=s._convertPositionTo("relative",{top:h-s.helperProportions.height,left:0}).top),o&&(e.position.top=s._convertPositionTo("relative",{top:p,left:0}).top),n&&(e.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left),r)&&(e.position.left=s._convertPositionTo("relative",{top:0,left:a}).left),c=i||o||n||r,"outer"!==f.snapMode&&(i=Math.abs(h-m)<=d,o=Math.abs(p-v)<=d,n=Math.abs(l-g)<=d,r=Math.abs(a-u)<=d,i&&(e.position.top=s._convertPositionTo("relative",{top:h,left:0}).top),o&&(e.position.top=s._convertPositionTo("relative",{top:p-s.helperProportions.height,left:0}).top),n&&(e.position.left=s._convertPositionTo("relative",{top:0,left:l}).left),r)&&(e.position.left=s._convertPositionTo("relative",{top:0,left:a-s.helperProportions.width}).left),!s.snapElements[_].snapping&&(i||o||n||r||c)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,t,P.extend(s._uiHash(),{snapItem:s.snapElements[_].item})),s.snapElements[_].snapping=i||o||n||r||c)}}),P.ui.plugin.add("draggable","stack",{start:function(t,e,s){var i,s=s.options,s=P.makeArray(P(s.stack)).sort(function(t,e){return(parseInt(P(t).css("zIndex"),10)||0)-(parseInt(P(e).css("zIndex"),10)||0)});s.length&&(i=parseInt(P(s[0]).css("zIndex"),10)||0,P(s).each(function(t){P(this).css("zIndex",i+t)}),this.css("zIndex",i+s.length))}}),P.ui.plugin.add("draggable","zIndex",{start:function(t,e,s){e=P(e.helper),s=s.options;e.css("zIndex")&&(s._zIndex=e.css("zIndex")),e.css("zIndex",s.zIndex)},stop:function(t,e,s){s=s.options;s._zIndex&&P(e.helper).css("zIndex",s._zIndex)}}),P.ui.draggable});
;/*! This file is auto-generated */
!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(o+1),r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,u.apply(this,e)}}function o(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function i(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=i("String"),Y=i("Number"),Z=i("Date"),nn=i("RegExp"),tn=i("Error"),rn=i("Symbol"),en=i("ArrayBuffer"),a=i("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=i("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=i("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,v=U||i("Array");function y(n,t){return null!=n&&q.call(n,t)}var on=i("Arguments"),an=(!function(){on(arguments)||(on=function(n){return y(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var d=sn("byteLength"),pn=ln(d),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),g=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,o="constructor";for(y(n,o)&&!t.contains(o)&&t.push(o);r--;)(o=J[r])in n&&n[o]!==u[o]&&!t.contains(o)&&t.push(o)}function b(n){if(!o(n))return[];if(W)return W(n);var t,r=[];for(t in n)y(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=b(t),e=r.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=r[o];if(t[i]!==u[i]||!(i in u))return!1}return!0}function m(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,d(n))}m.VERSION=n,m.prototype.valueOf=m.prototype.toJSON=m.prototype.value=function(){return this._wrapped},m.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function mn(n,t,r,e){var u;return n===t?0!==n||1/n==1/t:null!=n&&null!=t&&(n!=n?t!=t:("function"==(u=typeof n)||"object"==u||"object"==typeof t)&&function n(t,r,e,u){t instanceof m&&(t=t._wrapped);r instanceof m&&(r=r._wrapped);var o=s.call(t);if(o!==s.call(r))return!1;if(un&&"[object Object]"==o&&h(t)){if(!h(r))return!1;o=bn}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(r);case"[object ArrayBuffer]":case bn:return n(gn(t),gn(r),e,u)}o="[object Array]"===o;if(!o&&vn(t)){var i=d(t);if(i!==d(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof r)return!1;var i=t.constructor,a=r.constructor;if(i!==a&&!(p(i)&&i instanceof i&&p(a)&&a instanceof a)&&"constructor"in t&&"constructor"in r)return!1}e=e||[];u=u||[];var f=e.length;for(;f--;)if(e[f]===t)return u[f]===r;e.push(t);u.push(r);if(o){if((f=t.length)!==r.length)return!1;for(;f--;)if(!mn(t[f],r[f],e,u))return!1}else{var c,l=b(t);if(f=l.length,b(r).length!==f)return!1;for(;f--;)if(c=l[f],!y(r,c)||!mn(t[c],r[c],e,u))return!1}e.pop();u.pop();return!0}(n,t,r,e))}function c(n){if(!o(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function jn(e){var u=g(e);return function(n){if(null==n)return!1;var t=c(n);if(g(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==_n||!p(n[wn])}}var wn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(wn,u),_n=t.concat(u),r=["add"].concat(t,wn,"has"),u=a?jn(U):i("Map"),t=a?jn(_n):i("WeakMap"),U=a?jn(r):i("Set"),a=i("WeakSet");function j(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function An(n){for(var t={},r=b(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function xn(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function Sn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),o=u.length,i=0;i<o;i++){var a=u[i];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var On=Sn(c),w=Sn(b),Mn=Sn(c,!0);function En(n){var t;return o(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function Bn(n){return v(n)?n:[n]}function _(n){return m.toPath(n)}function Nn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function In(n,t,r){n=Nn(n,_(t));return H(n)?r:n}function Tn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function kn(t){return t=_(t),function(n){return Nn(n,t)}}function x(u,o,n){if(void 0===o)return u;switch(null==n?3:n){case 1:return function(n){return u.call(o,n)};case 3:return function(n,t,r){return u.call(o,n,t,r)};case 4:return function(n,t,r,e){return u.call(o,n,t,r,e)}}return function(){return u.apply(o,arguments)}}function Dn(n,t,r){return null==n?Tn:p(n)?x(n,t,r):(o(n)&&!v(n)?A:kn)(n)}function Rn(n,t){return Dn(n,t,1/0)}function S(n,t,r){return m.iteratee!==Rn?m.iteratee(n,t):Dn(n,t,r)}function Vn(){}function Fn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}m.toPath=Bn,m.iteratee=Rn;var O=Date.now||function(){return(new Date).getTime()};function Pn(t){function r(n){return t[n]}var n="(?:"+b(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qn=Pn(r),r=Pn(An(r)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,t,r,e,u){return e instanceof t?(e=En(n.prototype),o(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,o){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return Jn(u,i,this,this,r)}var a=M.placeholder;return i}),Gn=(M.placeholder=m,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Jn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(g);function B(n,t,r,e){if(e=e||[],t||0===t){if(t<=0)return e.concat(n)}else t=1/0;for(var u=e.length,o=0,i=g(n);o<i;o++){var a=n[o];if(E(a)&&(v(a)||an(a)))if(1<t)B(a,t-1,r,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else r||(e[u++]=a)}return e}var Hn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Gn(n[e],n)}return n});var Qn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Xn=M(Qn,m,1);function Yn(n){return function(){return!n.apply(this,arguments)}}function Zn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var nt=M(Zn,2);function tt(n,t,r){t=S(t,r);for(var e,u=b(n),o=0,i=u.length;o<i;o++)if(t(n[e=u[o]],e,n))return e}function rt(o){return function(n,t,r){t=S(t,r);for(var e=g(n),u=0<o?0:e-1;0<=u&&u<e;u+=o)if(t(n[u],u,n))return u;return-1}}var et=rt(1),ut=rt(-1);function ot(n,t,r,e){for(var u=(r=S(r,e,1))(t),o=0,i=g(n);o<i;){var a=Math.floor((o+i)/2);r(n[a])<u?o=a+1:i=a}return o}function it(o,i,a){return function(n,t,r){var e=0,u=g(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=i(f.call(n,e,u),fn))?r+e:-1;for(r=0<o?e:u-1;0<=r&&r<u;r+=o)if(n[r]===t)return r;return-1}}var at=it(1,et,ot),ft=it(-1,ut);function ct(n,t,r){t=(E(n)?et:tt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,o=n.length;u<o;u++)t(n[u],u,n);else for(var e=b(n),u=0,o=e.length;u<o;u++)t(n[e[u]],e[u],n);return n}function I(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=t(n[a],a,n)}return o}function lt(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&b(n),o=(u||n).length,i=0<f?0:o-1;for(e||(r=n[u?u[i]:i],i+=f);0<=i&&i<o;i+=f){var a=u?u[i]:i;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var st=lt(1),pt=lt(-1);function T(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!t(n[i],i,n))return!1}return!0}function vt(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(t(n[i],i,n))return!0}return!1}function k(n,t,r,e){return E(n)||(n=j(n)),0<=at(n,t,r="number"==typeof r&&!e?r:0)}var yt=l(function(n,r,e){var u,o;return p(r)?o=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),I(n,function(n){var t=o;if(!t){if(null==(n=u&&u.length?Nn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function dt(n,t){return I(n,kn(t))}function gt(n,e,t){var r,u,o=-1/0,i=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&o<r&&(o=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(i<u||u===-1/0&&o===-1/0)&&(o=n,i=u)});return o}var bt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mt(n){return n?v(n)?f.call(n):X(n)?n.match(bt):E(n)?I(n,Tn):j(n):[]}function jt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Fn(n.length-1)];for(var e=mt(n),r=g(e),u=(t=Math.max(Math.min(t,r),0),r-1),o=0;o<t;o++){var i=Fn(o,u),a=e[o];e[o]=e[i],e[i]=a}return e.slice(0,t)}function D(o,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);o(u,n,t)}),u}}var wt=D(function(n,t,r){y(n,r)?n[r].push(t):n[r]=[t]}),_t=D(function(n,t,r){n[r]=t}),At=D(function(n,t,r){y(n,r)?n[r]++:n[r]=1}),xt=D(function(n,t,r){n[r?0:1].push(t)},!0);function St(n,t,r){return t in r}var Ot=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=c(n)):(e=St,t=B(t,!1,!1),n=Object(n));for(var u=0,o=t.length;u<o;u++){var i=t[u],a=n[i];e(a,i,n)&&(r[i]=a)}}return r}),Mt=l(function(n,r){var t,e=r[0];return p(e)?(e=Yn(e),1<r.length&&(t=r[1])):(r=I(B(r,!1,!1),String),e=function(n,t){return!k(r,t)}),Ot(n,e,t)});function Et(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Bt(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Et(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Nt=l(function(n,t){return t=B(t,!0,!0),T(n,function(n){return!k(t,n)})}),It=l(function(n,t){return Nt(n,t)});function Tt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],o=[],i=0,a=g(n);i<a;i++){var f=n[i],c=r?r(f,i,n):f;t&&!r?(i&&o===c||u.push(f),o=c):r?k(o,c)||(o.push(c),u.push(f)):k(u,f)||u.push(f)}return u}var kt=l(function(n){return Tt(B(n,!0,!0))});function Dt(n){for(var t=n&>(n,g).length||0,r=Array(t),e=0;e<t;e++)r[e]=dt(n,e);return r}var Rt=l(Dt);function Vt(n,t){return n._chain?m(t).chain():t}function Ft(r){return N(xn(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Vt(this,t.apply(m,n))}}),m}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];m.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Vt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];m.prototype[n]=function(){var n=this._wrapped;return Vt(this,n=null!=n?t.apply(n,arguments):n)}});n=Ft({__proto__:null,VERSION:n,restArguments:l,isObject:o,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:v,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=g(n))&&(v(n)||X(n)||an(n))?0===t:0===g(b(n)))},isMatch:dn,isEqual:function(n,t){return mn(n,t)},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:b,allKeys:c,values:j,pairs:function(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:An,functions:xn,methods:xn,extend:On,extendOwn:w,assign:w,defaults:Mn,create:function(n,t){return n=En(n),t&&w(n,t),n},clone:function(n){return o(n)?v(n)?n.slice():On({},n):n},tap:function(n,t){return t(n),n},get:In,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!y(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=b(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=t(n[a],a,n)}return o},identity:Tn,constant:cn,noop:Vn,toPath:Bn,property:kn,propertyOf:function(t){return null==t?Vn:function(n){return In(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Fn,now:O,escape:qn,unescape:r,templateSettings:Un,template:function(o,n,t){n=Mn({},n=!n&&t?t:n,m.templateSettings);var r,t=RegExp([(n.escape||Wn).source,(n.interpolate||Wn).source,(n.evaluate||Wn).source].join("|")+"|$","g"),i=0,a="__p+='";if(o.replace(t,function(n,t,r,e,u){return a+=o.slice(i,u).replace(Ln,$n),i=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!Cn.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,m)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var o=null==n?void 0:n[t[u]];void 0===o&&(o=r,u=e),n=p(o)?o.call(n):o}return n},uniqueId:function(n){var t=++Kn+"";return n?n+t:t},chain:function(n){return(n=m(n))._chain=!0,n},iteratee:Rn,partial:M,bind:Gn,bindAll:Hn,memoize:function(e,u){function o(n){var t=o.cache,r=""+(u?u.apply(this,arguments):n);return y(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return o.cache={},o},delay:Qn,defer:Xn,throttle:function(r,e,u){function o(){l=!1===u.leading?0:O(),i=null,c=r.apply(a,f),i||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(i&&(clearTimeout(i),i=null),l=n,c=r.apply(a,f),i||(a=f=null)):i||!1===u.trailing||(i=setTimeout(o,t)),c}var i,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(i),l=0,i=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-i;n<r?o=setTimeout(u,r-n):(o=null,e||(f=t.apply(c,a)),o||(a=c=null))}var o,i,a,f,c,n=l(function(n){return c=this,a=n,i=O(),o||(o=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(o),o=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Yn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Zn,once:nt,findKey:tt,findIndex:et,findLastIndex:ut,sortedIndex:ot,indexOf:at,lastIndexOf:ft,find:ct,detect:ct,findWhere:function(n,t){return ct(n,A(t))},each:N,forEach:N,map:I,collect:I,reduce:st,foldl:st,inject:st,reduceRight:pt,foldr:pt,filter:T,select:T,reject:function(n,t,r){return T(n,Yn(S(t)),r)},every:ht,all:ht,some:vt,any:vt,contains:k,includes:k,include:k,invoke:yt,pluck:dt,where:function(n,t){return T(n,A(t))},max:gt,min:function(n,e,t){var r,u,o=1/0,i=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<o&&(o=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<i||u===1/0&&o===1/0)&&(o=n,i=u)});return o},shuffle:function(n){return jt(n,1/0)},sample:jt,sortBy:function(n,e,t){var u=0;return e=S(e,t),dt(I(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:wt,indexBy:_t,countBy:At,partition:xt,toArray:mt,size:function(n){return null==n?0:(E(n)?n:b(n)).length},pick:Ot,omit:Mt,first:Bt,head:Bt,take:Bt,initial:Et,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return T(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:It,uniq:Tt,unique:Tt,union:kt,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=g(n);e<u;e++){var o=n[e];if(!k(t,o)){for(var i=1;i<r&&k(arguments[i],o);i++);i===r&&t.push(o)}}return t},difference:Nt,unzip:Dt,transpose:Dt,zip:Rt,object:function(n,t){for(var r={},e=0,u=g(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),o=0;o<e;o++,n+=r)u[o]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Ft,default:m});return n._=n});
;/*! This file is auto-generated */
!function(n){var s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(t,e,i){s.Backbone=n(s,i,t,e)});else if("undefined"!=typeof exports){var t,e=require("underscore");try{t=require("jquery")}catch(t){}n(s,exports,e,t)}else s.Backbone=n(s,{},s._,s.jQuery||s.Zepto||s.ender||s.$)}(function(t,h,b,e){function a(t,e,i,n,s){var r,o=0;if(i&&"object"==typeof i){void 0!==n&&"context"in s&&void 0===s.context&&(s.context=n);for(r=b.keys(i);o<r.length;o++)e=a(t,e,r[o],i[r[o]],s)}else if(i&&l.test(i))for(r=i.split(l);o<r.length;o++)e=t(e,r[o],n,s);else e=t(e,i,n,s);return e}function x(t,e,i){i=Math.min(Math.max(i,0),t.length);for(var n=Array(t.length-i),s=e.length,r=0;r<n.length;r++)n[r]=t[r+i];for(r=0;r<s;r++)t[r+i]=e[r];for(r=0;r<n.length;r++)t[r+s+i]=n[r]}function s(i,n,t,s){b.each(t,function(t,e){n[e]&&(i.prototype[e]=function(n,t,s,r){switch(t){case 1:return function(){return n[s](this[r])};case 2:return function(t){return n[s](this[r],t)};case 3:return function(t,e){return n[s](this[r],T(t,this),e)};case 4:return function(t,e,i){return n[s](this[r],T(t,this),e,i)};default:return function(){var t=u.call(arguments);return t.unshift(this[r]),n[s].apply(n,t)}}}(n,t,e,s))})}var o,i=t.Backbone,u=Array.prototype.slice,e=(h.VERSION="1.6.0",h.$=e,h.noConflict=function(){return t.Backbone=i,this},h.emulateHTTP=!1,h.emulateJSON=!1,h.Events={}),l=/\s+/,n=(e.on=function(t,e,i){return this._events=a(n,this._events||{},t,e,{context:i,ctx:this,listening:o}),o&&(((this._listeners||(this._listeners={}))[o.id]=o).interop=!1),this},e.listenTo=function(t,e,i){if(t){var n=t._listenId||(t._listenId=b.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),r=o=s[n],s=(r||(this._listenId||(this._listenId=b.uniqueId("l")),r=o=s[n]=new g(this,t)),c(t,e,i,this));if(o=void 0,s)throw s;r.interop&&r.on(e,i)}return this},function(t,e,i,n){var s,r;return i&&(e=t[e]||(t[e]=[]),s=n.context,r=n.ctx,(n=n.listening)&&n.count++,e.push({callback:i,context:s,ctx:s||r,listening:n})),t}),c=function(t,e,i,n){try{t.on(e,i,n)}catch(t){return t}},r=(e.off=function(t,e,i){return this._events&&(this._events=a(r,this._events,t,e,{context:i,listeners:this._listeners})),this},e.stopListening=function(t,e,i){var n=this._listeningTo;if(n){for(var s=t?[t._listenId]:b.keys(n),r=0;r<s.length;r++){var o=n[s[r]];if(!o)break;o.obj.off(e,i,this),o.interop&&o.off(e,i)}b.isEmpty(n)&&(this._listeningTo=void 0)}return this},function(t,e,i,n){if(t){var s,r=n.context,o=n.listeners,h=0;if(e||r||i){for(s=e?[e]:b.keys(t);h<s.length;h++){var a=t[e=s[h]];if(!a)break;for(var u=[],l=0;l<a.length;l++){var c=a[l];i&&i!==c.callback&&i!==c.callback._callback||r&&r!==c.context?u.push(c):(c=c.listening)&&c.off(e,i)}u.length?t[e]=u:delete t[e]}return t}for(s=b.keys(o);h<s.length;h++)o[s[h]].cleanup()}}),d=(e.once=function(t,e,i){var n=a(d,{},t,e,this.off.bind(this));return this.on(n,e="string"==typeof t&&null==i?void 0:e,i)},e.listenToOnce=function(t,e,i){e=a(d,{},e,i,this.stopListening.bind(this,t));return this.listenTo(t,e)},function(t,e,i,n){var s;return i&&((s=t[e]=b.once(function(){n(e,s),i.apply(this,arguments)}))._callback=i),t}),f=(e.trigger=function(t){if(this._events){for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];a(f,this._events,t,void 0,i)}return this},function(t,e,i,n){var s,r;return t&&(s=t[e],r=t.all,s&&(r=r&&r.slice()),s&&p(s,n),r)&&p(r,[e].concat(n)),t}),p=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],h=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o,h);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}},g=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0},v=(g.prototype.on=e.on,g.prototype.off=function(t,e){t=this.interop?(this._events=a(r,this._events,t,e,{context:void 0,listeners:void 0}),!this._events):(this.count--,0===this.count);t&&this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},e.bind=e.on,e.unbind=e.off,b.extend(h,e),h.Model=function(t,e){var i=t||{},n=(e=e||{},this.preinitialize.apply(this,arguments),this.cid=b.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),b.result(this,"defaults")),i=b.defaults(b.extend({},n,i),n);this.set(i,e),this.changed={},this.initialize.apply(this,arguments)}),m=(b.extend(v.prototype,e,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(t){return b.clone(this.attributes)},sync:function(){return h.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return b.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!b.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null!=t){var n;if("object"==typeof t?(n=t,i=e):(n={})[t]=e,!this._validate(n,i=i||{}))return!1;var s,r,o=i.unset,t=i.silent,h=[],a=this._changing,u=(this._changing=!0,a||(this._previousAttributes=b.clone(this.attributes),this.changed={}),this.attributes),l=this.changed,c=this._previousAttributes;for(s in n)e=n[s],b.isEqual(u[s],e)||h.push(s),b.isEqual(c[s],e)?delete l[s]:l[s]=e,o?delete u[s]:u[s]=e;if(this.idAttribute in n&&(r=this.id,this.id=this.get(this.idAttribute),this.trigger("changeId",this,r,i)),!t){h.length&&(this._pending=i);for(var d=0;d<h.length;d++)this.trigger("change:"+h[d],this,u[h[d]],i)}if(!a){if(!t)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);this._pending=!1,this._changing=!1}}return this},unset:function(t,e){return this.set(t,void 0,b.extend({},e,{unset:!0}))},clear:function(t){var e,i={};for(e in this.attributes)i[e]=void 0;return this.set(i,b.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!b.isEmpty(this.changed):b.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&b.clone(this.changed);var e,i,n=this._changing?this._previousAttributes:this.attributes,s={};for(i in t){var r=t[i];b.isEqual(n[i],r)||(s[i]=r,e=!0)}return!!e&&s},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return b.clone(this._previousAttributes)},fetch:function(i){i=b.extend({parse:!0},i);var n=this,s=i.success;return i.success=function(t){var e=i.parse?n.parse(t,i):t;if(!n.set(e,i))return!1;s&&s.call(i.context,n,t,i),n.trigger("sync",n,t,i)},N(this,i),this.sync("read",this,i)},save:function(t,e,i){null==t||"object"==typeof t?(n=t,i=e):(n={})[t]=e;var n,s=(i=b.extend({validate:!0,parse:!0},i)).wait;if(n&&!s){if(!this.set(n,i))return!1}else if(!this._validate(n,i))return!1;var r=this,o=i.success,h=this.attributes,t=(i.success=function(t){r.attributes=h;var e=i.parse?r.parse(t,i):t;if((e=s?b.extend({},n,e):e)&&!r.set(e,i))return!1;o&&o.call(i.context,r,t,i),r.trigger("sync",r,t,i)},N(this,i),n&&s&&(this.attributes=b.extend({},h,n)),this.isNew()?"create":i.patch?"patch":"update"),e=("patch"!=t||i.attrs||(i.attrs=n),this.sync(t,this,i));return this.attributes=h,e},destroy:function(e){e=e?b.clone(e):{};function i(){n.stopListening(),n.trigger("destroy",n,n.collection,e)}var n=this,s=e.success,r=e.wait,t=!(e.success=function(t){r&&i(),s&&s.call(e.context,n,t,e),n.isNew()||n.trigger("sync",n,t,e)});return this.isNew()?b.defer(e.success):(N(this,e),t=this.sync("delete",this,e)),r||i(),t},url:function(){var t,e=b.result(this,"urlRoot")||b.result(this.collection,"url")||M();return this.isNew()?e:(t=this.get(this.idAttribute),e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t))},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},b.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=b.extend({},this.attributes,t);t=this.validationError=this.validate(t,e)||null;return!t||(this.trigger("invalid",this,t,b.extend(e,{validationError:t})),!1)}}),h.Collection=function(t,e){e=e||{},this.preinitialize.apply(this,arguments),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,b.extend({silent:!0},e))}),w={add:!0,remove:!0,merge:!0},_={add:!0,remove:!1},y=(b.extend(m.prototype,e,{model:v,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return h.sync.apply(this,arguments)},add:function(t,e){return this.set(t,b.extend({merge:!1},e,_))},remove:function(t,e){e=b.extend({},e);var i=!b.isArray(t),t=(t=i?[t]:t.slice(),this._removeModels(t,e));return!e.silent&&t.length&&(e.changes={added:[],merged:[],removed:t},this.trigger("update",this,e)),i?t[0]:t},set:function(t,e){if(null!=t){(e=b.extend({},w,e)).parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);for(var i=!b.isArray(t),n=(t=i?[t]:t.slice(),e.at),s=((n=(n=null!=n?+n:n)>this.length?this.length:n)<0&&(n+=this.length+1),[]),r=[],o=[],h=[],a={},u=e.add,l=e.merge,c=e.remove,d=!1,f=this.comparator&&null==n&&!1!==e.sort,p=b.isString(this.comparator)?this.comparator:null,g=0;g<t.length;g++){var v,m=t[g],_=this.get(m);_?(l&&m!==_&&(v=this._isModel(m)?m.attributes:m,e.parse&&(v=_.parse(v,e)),_.set(v,e),o.push(_),f)&&!d&&(d=_.hasChanged(p)),a[_.cid]||(a[_.cid]=!0,s.push(_)),t[g]=_):u&&(m=t[g]=this._prepareModel(m,e))&&(r.push(m),this._addReference(m,e),a[m.cid]=!0,s.push(m))}if(c){for(g=0;g<this.length;g++)a[(m=this.models[g]).cid]||h.push(m);h.length&&this._removeModels(h,e)}var y=!1;if(s.length&&(!f&&u&&c)?(y=this.length!==s.length||b.some(this.models,function(t,e){return t!==s[e]}),this.models.length=0,x(this.models,s,0),this.length=this.models.length):r.length&&(f&&(d=!0),x(this.models,r,null==n?this.length:n),this.length=this.models.length),d&&this.sort({silent:!0}),!e.silent){for(g=0;g<r.length;g++)null!=n&&(e.index=n+g),(m=r[g]).trigger("add",m,this,e);(d||y)&&this.trigger("sort",this,e),(r.length||h.length||o.length)&&(e.changes={added:r,removed:h,merged:o},this.trigger("update",this,e))}return i?t[0]:t}},reset:function(t,e){e=e?b.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,b.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,b.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,b.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return u.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t,t.idAttribute)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t=t||{};var i=e.length;return b.isFunction(e)&&(e=e.bind(this)),1===i||b.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(i){var n=(i=b.extend({parse:!0},i)).success,s=this;return i.success=function(t){var e=i.reset?"reset":"set";s[e](t,i),n&&n.call(i.context,s,t,i),s.trigger("sync",s,t,i)},N(this,i),this.sync("read",this,i)},create:function(t,e){var n=(e=e?b.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;n||this.add(t,e);var s=this,r=e.success;return e.success=function(t,e,i){n&&(t.off("error",s._forwardPristineError,s),s.add(t,i)),r&&r.call(i.context,t,e,i)},n&&t.once("error",this._forwardPristineError,this),t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t,e){return t[e||this.model.prototype.idAttribute||"id"]},values:function(){return new E(this,S)},keys:function(){return new E(this,I)},entries:function(){return new E(this,k)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){return this._isModel(t)?(t.collection||(t.collection=this),t):(t=((e=e?b.clone(e):{}).collection=this).model.prototype?new this.model(t,e):this.model(t,e)).validationError?(this.trigger("invalid",this,t.validationError,e),!1):t},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s,r,o=this.get(t[n]);o&&(s=this.indexOf(o),this.models.splice(s,1),this.length--,delete this._byId[o.cid],null!=(r=this.modelId(o.attributes,o.idAttribute))&&delete this._byId[r],e.silent||(e.index=s,o.trigger("remove",o,this,e)),i.push(o),this._removeReference(o,e))}return 0<t.length&&!e.silent&&delete e.index,i},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes,t.idAttribute);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes,t.idAttribute);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;var s,r;"destroy"===t&&this.remove(e,n),"changeId"===t&&(s=this.modelId(e.previousAttributes(),e.idAttribute),r=this.modelId(e.attributes,e.idAttribute),null!=s&&delete this._byId[s],null!=r)&&(this._byId[r]=e)}this.trigger.apply(this,arguments)},_forwardPristineError:function(t,e,i){this.has(t)||this._onModelEvent("error",t,e,i)}}),"function"==typeof Symbol&&Symbol.iterator),E=(y&&(m.prototype[y]=m.prototype.values),function(t,e){this._collection=t,this._kind=e,this._index=0}),S=1,I=2,k=3,y=(y&&(E.prototype[y]=function(){return this}),E.prototype.next=function(){if(this._collection){var t,e;if(this._index<this._collection.length)return t=this._collection.at(this._index),this._index++,{value:this._kind===S?t:(e=this._collection.modelId(t.attributes,t.idAttribute),this._kind===I?e:[e,t]),done:!1};this._collection=void 0}return{value:void 0,done:!0}},h.View=function(t){this.cid=b.uniqueId("view"),this.preinitialize.apply(this,arguments),b.extend(this,b.pick(t,P)),this._ensureElement(),this.initialize.apply(this,arguments)}),A=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","className","tagName","events"],T=(b.extend(y.prototype,e,{tagName:"div",$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof h.$?t:h.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t=t||b.result(this,"events"))for(var e in this.undelegateEvents(),t){var i=t[e];(i=b.isFunction(i)?i:this[i])&&(e=e.match(A),this.delegate(e[1],e[2],i.bind(this)))}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){var t;this.el?this.setElement(b.result(this,"el")):(t=b.extend({},b.result(this,"attributes")),this.id&&(t.id=b.result(this,"id")),this.className&&(t.class=b.result(this,"className")),this.setElement(this._createElement(b.result(this,"tagName"))),this._setAttributes(t))},_setAttributes:function(t){this.$el.attr(t)}}),function(e,t){return b.isFunction(e)?e:b.isObject(e)&&!t._isModel(e)?H(e):b.isString(e)?function(t){return t.get(e)}:e}),H=function(t){var e=b.matches(t);return function(t){return e(t.attributes)}},$=(b.each([[m,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],function(t){var i=t[0],e=t[1],n=t[2];i.mixin=function(t){var e=b.reduce(b.functions(t),function(t,e){return t[e]=0,t},{});s(i,t,e,n)},s(i,b,e,n)}),h.sync=function(t,e,n){var i,s=$[t],r=(b.defaults(n=n||{},{emulateHTTP:h.emulateHTTP,emulateJSON:h.emulateJSON}),{type:s,dataType:"json"}),o=(n.url||(r.url=b.result(e,"url")||M()),null!=n.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),!n.emulateHTTP||"PUT"!==s&&"DELETE"!==s&&"PATCH"!==s||(r.type="POST",n.emulateJSON&&(r.data._method=s),i=n.beforeSend,n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",s),i)return i.apply(this,arguments)}),"GET"===r.type||n.emulateJSON||(r.processData=!1),n.error),t=(n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,o&&o.call(n.context,t,e,i)},n.xhr=h.ajax(b.extend(r,n)));return e.trigger("request",e,t,n),t},{create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"}),C=(h.ajax=function(){return h.$.ajax.apply(h.$,arguments)},h.Router=function(t){t=t||{},this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)}),j=/\((.*?)\)/g,O=/(\(\?)?:\w+/g,U=/\*\w+/g,z=/[\-{}\[\]+?.,\\\^$|#\s]/g,R=(b.extend(C.prototype,e,{preinitialize:function(){},initialize:function(){},route:function(e,i,n){b.isRegExp(e)||(e=this._routeToRegExp(e)),b.isFunction(i)&&(n=i,i=""),n=n||this[i];var s=this;return h.history.route(e,function(t){t=s._extractParameters(e,t);!1!==s.execute(n,t,i)&&(s.trigger.apply(s,["route:"+i].concat(t)),s.trigger("route",i,t),h.history.trigger("route",s,i,t))}),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,e){return h.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=b.result(this,"routes");for(var t,e=b.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(z,"\\$&").replace(j,"(?:$1)?").replace(O,function(t,e){return e?t:"([^/?]+)"}).replace(U,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return b.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}}),h.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)}),q=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,B=/#.*$/,M=(R.started=!1,b.extend(R.prototype,e,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){t=(t||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return(t=null==t?this._usePushState||!this._wantsHashChange?this.getPath():this.getHash():t).replace(q,"")},start:function(t){if(R.started)throw new Error("Backbone.history has already been started");if(R.started=!0,this.options=b.extend({root:"/"},this.options,t),this.root=this.options.root,this._trailingSlash=this.options.trailingSlash,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(F,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return t=this.root.slice(0,-1)||"/",this.location.replace(t+"#"+this.getPath()),!0;this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}this._hasHashChange||!this._wantsHashChange||this._usePushState||(this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1,(t=(t=document.body).insertBefore(this.iframe,t.firstChild).contentWindow).document.open(),t.document.close(),t.location.hash="#"+this.fragment);t=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?t("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),R.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if((e=e===this.fragment&&this.iframe?this.getHash(this.iframe.contentWindow):e)===this.fragment)return!this.matchRoot()&&this.notfound();this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(e){return this.matchRoot()&&(e=this.fragment=this.getFragment(e),b.some(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0}))||this.notfound()},notfound:function(){return this.trigger("notfound"),!1},navigate:function(t,e){if(!R.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root,i=(i=this._trailingSlash||""!==t&&"?"!==t.charAt(0)?i:i.slice(0,-1)||"/")+t,n=(t=t.replace(B,""),this.decodeFragment(t));if(this.fragment!==n){if(this.fragment=n,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)&&(n=this.iframe.contentWindow,e.replace||(n.document.open(),n.document.close()),this._updateHash(n.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){i?(i=t.href.replace(/(javascript:|#).*$/,""),t.replace(i+"#"+e)):t.hash="#"+e}}),h.history=new R,v.extend=m.extend=C.extend=y.extend=R.extend=function(t,e){var i=this,n=t&&b.has(t,"constructor")?t.constructor:function(){return i.apply(this,arguments)};return b.extend(n,i,e),n.prototype=b.create(i.prototype,t),(n.prototype.constructor=n).__super__=i.prototype,n},function(){throw new Error('A "url" property or function must be specified')}),N=function(e,i){var n=i.error;i.error=function(t){n&&n.call(i.context,e,t,i),e.trigger("error",e,t,i)}};return h._debug=function(){return{root:t,_:b}},h});
;/*! elementor - v3.0.15 - 2020-12-20 */
// MarionetteJS (Backbone.Marionette)
// ----------------------------------
// v2.4.5.e1
// Change Log:
// e1: Fix - Compatibility with jQuery 3. (`Marionette.Region.reset`).
//
// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC.
// Distributed under MIT license
//
// http://marionettejs.com
/*!
* Includes BabySitter
* https://github.com/marionettejs/backbone.babysitter/
*
* Includes Wreqr
* https://github.com/marionettejs/backbone.wreqr/
*/
!function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(c,d){return a.Marionette=a.Mn=b(a,c,d)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(a,c,d)}else a.Marionette=a.Mn=b(a,a.Backbone,a._)}(this,function(a,b,c){"use strict";!function(a,b){var c=a.ChildViewContainer;return a.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;return this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength(),this},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength(),this},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce"];return b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(a,b),a.ChildViewContainer.VERSION="0.1.11",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}(b,c),function(a,b){var c=a.Wreqr,d=a.Wreqr={};return a.Wreqr.VERSION="1.3.6",a.Wreqr.noConflict=function(){return a.Wreqr=c,this},d.Handlers=function(a,b){var c=function(a){this.options=a,this._wreqrHandlers={},b.isFunction(this.initialize)&&this.initialize(a)};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events,{setHandlers:function(a){b.each(a,function(a,c){var d=null;b.isObject(a)&&!b.isFunction(a)&&(d=a.context,a=a.callback),this.setHandler(c,a,d)},this)},setHandler:function(a,b,c){var d={callback:b,context:c};this._wreqrHandlers[a]=d,this.trigger("handler:add",a,b,c)},hasHandler:function(a){return!!this._wreqrHandlers[a]},getHandler:function(a){var b=this._wreqrHandlers[a];if(b)return function(){return b.callback.apply(b.context,arguments)}},removeHandler:function(a){delete this._wreqrHandlers[a]},removeAllHandlers:function(){this._wreqrHandlers={}}}),c}(a,b),d.CommandStorage=function(){var c=function(a){this.options=a,this._commands={},b.isFunction(this.initialize)&&this.initialize(a)};return b.extend(c.prototype,a.Events,{getCommands:function(a){var b=this._commands[a];return b||(b={command:a,instances:[]},this._commands[a]=b),b},addCommand:function(a,b){var c=this.getCommands(a);c.instances.push(b)},clearCommands:function(a){var b=this.getCommands(a);b.instances=[]}}),c}(),d.Commands=function(a,b){return a.Handlers.extend({storageType:a.CommandStorage,constructor:function(b){this.options=b||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this),a.Handlers.prototype.constructor.apply(this,arguments)},execute:function(a){a=arguments[0];var c=b.rest(arguments);this.hasHandler(a)?this.getHandler(a).apply(this,c):this.storage.addCommand(a,c)},_executeCommands:function(a,c,d){var e=this.storage.getCommands(a);b.each(e.instances,function(a){c.apply(d,a)}),this.storage.clearCommands(a)},_initializeStorage:function(a){var c,d=a.storageType||this.storageType;c=b.isFunction(d)?new d:d,this.storage=c}})}(d,b),d.RequestResponse=function(a,b){return a.Handlers.extend({request:function(a){return this.hasHandler(a)?this.getHandler(a).apply(this,b.rest(arguments)):void 0}})}(d,b),d.EventAggregator=function(a,b){var c=function(){};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events),c}(a,b),d.Channel=function(c){var d=function(b){this.vent=new a.Wreqr.EventAggregator,this.reqres=new a.Wreqr.RequestResponse,this.commands=new a.Wreqr.Commands,this.channelName=b};return b.extend(d.prototype,{reset:function(){return this.vent.off(),this.vent.stopListening(),this.reqres.removeAllHandlers(),this.commands.removeAllHandlers(),this},connectEvents:function(a,b){return this._connect("vent",a,b),this},connectCommands:function(a,b){return this._connect("commands",a,b),this},connectRequests:function(a,b){return this._connect("reqres",a,b),this},_connect:function(a,c,d){if(c){d=d||this;var e="vent"===a?"on":"setHandler";b.each(c,function(c,f){this[a][e](f,b.bind(c,d))},this)}}}),d}(d),d.radio=function(a,b){var c=function(){this._channels={},this.vent={},this.commands={},this.reqres={},this._proxyMethods()};b.extend(c.prototype,{channel:function(a){if(!a)throw new Error("Channel must receive a name");return this._getChannel(a)},_getChannel:function(b){var c=this._channels[b];return c||(c=new a.Channel(b),this._channels[b]=c),c},_proxyMethods:function(){b.each(["vent","commands","reqres"],function(a){b.each(d[a],function(b){this[a][b]=e(this,a,b)},this)},this)}});var d={vent:["on","off","trigger","once","stopListening","listenTo","listenToOnce"],commands:["execute","setHandler","setHandlers","removeHandler","removeAllHandlers"],reqres:["request","setHandler","setHandlers","removeHandler","removeAllHandlers"]},e=function(a,c,d){return function(e){var f=a._getChannel(e)[c];return f[d].apply(f,b.rest(arguments))}};return new c}(d,b),a.Wreqr}(b,c);var d=a.Marionette,e=a.Mn,f=b.Marionette={};f.VERSION="2.4.5",f.noConflict=function(){return a.Marionette=d,a.Mn=e,this},b.Marionette=f,f.Deferred=b.$.Deferred,f.extend=b.Model.extend,f.isNodeAttached=function(a){return b.$.contains(document.documentElement,a)},f.mergeOptions=function(a,b){a&&c.extend(this,c.pick(a,b))},f.getOption=function(a,b){return a&&b?a.options&&void 0!==a.options[b]?a.options[b]:a[b]:void 0},f.proxyGetOption=function(a){return f.getOption(this,a)},f._getValue=function(a,b,d){return c.isFunction(a)&&(a=d?a.apply(b,d):a.call(b)),a},f.normalizeMethods=function(a){return c.reduce(a,function(a,b,d){return c.isFunction(b)||(b=this[b]),b&&(a[d]=b),a},{},this)},f.normalizeUIString=function(a,b){return a.replace(/@ui\.[a-zA-Z-_$0-9]*/g,function(a){return b[a.slice(4)]})},f.normalizeUIKeys=function(a,b){return c.reduce(a,function(a,c,d){var e=f.normalizeUIString(d,b);return a[e]=c,a},{})},f.normalizeUIValues=function(a,b,d){return c.each(a,function(e,g){c.isString(e)?a[g]=f.normalizeUIString(e,b):c.isObject(e)&&c.isArray(d)&&(c.extend(e,f.normalizeUIValues(c.pick(e,d),b)),c.each(d,function(a){var d=e[a];c.isString(d)&&(e[a]=f.normalizeUIString(d,b))}))}),a},f.actAsCollection=function(a,b){var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];c.each(d,function(d){a[d]=function(){var a=c.values(c.result(this,b)),e=[a].concat(c.toArray(arguments));return c[d].apply(c,e)}})};var g=f.deprecate=function(a,b){c.isObject(a)&&(a=a.prev+" is going to be removed in the future. Please use "+a.next+" instead."+(a.url?" See: "+a.url:"")),void 0!==b&&b||g._cache[a]||(g._warn("Deprecation warning: "+a),g._cache[a]=!0)};g._console="undefined"!=typeof console?console:{},g._warn=function(){var a=g._console.warn||g._console.log||function(){};return a.apply(g._console,arguments)},g._cache={},f._triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi;return function(d,e,f){var g=arguments.length<3;g&&(f=e,e=f[0]);var h,i="on"+e.replace(b,a),j=d[i];return c.isFunction(j)&&(h=j.apply(d,g?c.rest(f):f)),c.isFunction(d.trigger)&&(g+f.length>1?d.trigger.apply(d,g?f:[e].concat(c.drop(f,0))):d.trigger(e)),h}}(),f.triggerMethod=function(a){return f._triggerMethod(this,arguments)},f.triggerMethodOn=function(a){var b=c.isFunction(a.triggerMethod)?a.triggerMethod:f.triggerMethod;return b.apply(a,c.rest(arguments))},f.MonitorDOMRefresh=function(a){function b(){a._isShown=!0,d()}function c(){a._isRendered=!0,d()}function d(){a._isShown&&a._isRendered&&f.isNodeAttached(a.el)&&f.triggerMethodOn(a,"dom:refresh",a)}a._isDomRefreshMonitored||(a._isDomRefreshMonitored=!0,a.on({show:b,render:c}))},function(a){function b(b,d,e,f){var g=f.split(/\s+/);c.each(g,function(c){var f=b[c];if(!f)throw new a.Error('Method "'+c+'" was configured as an event handler, but does not exist.');b.listenTo(d,e,f)})}function d(a,b,c,d){a.listenTo(b,c,d)}function e(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e)})}function f(a,b,c,d){a.stopListening(b,c,d)}function g(b,d,e,f,g){if(d&&e){if(!c.isObject(e))throw new a.Error({message:"Bindings must be an object or function.",url:"marionette.functions.html#marionettebindentityevents"});e=a._getValue(e,b),c.each(e,function(a,e){c.isFunction(a)?f(b,d,e,a):g(b,d,e,a)})}}a.bindEntityEvents=function(a,c,e){g(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){g(a,b,c,f,e)},a.proxyBindEntityEvents=function(b,c){return a.bindEntityEvents(this,b,c)},a.proxyUnbindEntityEvents=function(b,c){return a.unbindEntityEvents(this,b,c)}}(f);var h=["description","fileName","lineNumber","name","message","number"];return f.Error=f.extend.call(Error,{urlRoot:"http://marionettejs.com/docs/v"+f.VERSION+"/",constructor:function(a,b){c.isObject(a)?(b=a,a=b.message):b||(b={});var d=Error.call(this,a);c.extend(this,c.pick(d,h),c.pick(b,h)),this.captureStackTrace(),b.url&&(this.url=this.urlRoot+b.url)},captureStackTrace:function(){Error.captureStackTrace&&Error.captureStackTrace(this,f.Error)},toString:function(){return this.name+": "+this.message+(this.url?" See: "+this.url:"")}}),f.Error.extend=f.extend,f.Callbacks=function(){this._deferred=f.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){var d=c.result(this._deferred,"promise");this._callbacks.push({cb:a,ctx:b}),d.then(function(c){b&&(c.context=b),a.call(c.context,c.options)})},run:function(a,b){this._deferred.resolve({options:a,context:b})},reset:function(){var a=this._callbacks;this._deferred=f.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{destroy:function(){return f._triggerMethod(this,"before:destroy",arguments),f._triggerMethod(this,"destroy",arguments),this.stopListening(),this.off(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption}),f.Object=function(a){this.options=c.extend({},c.result(this,"options"),a),this.initialize.apply(this,arguments)},f.Object.extend=f.extend,c.extend(f.Object.prototype,b.Events,{initialize:function(){},destroy:function(a){return a=a||{},this.triggerMethod("before:destroy",a),this.triggerMethod("destroy",a),this.stopListening(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Region=f.Object.extend({constructor:function(a){if(this.options=a||{},this.el=this.getOption("el"),this.el=this.el instanceof b.$?this.el[0]:this.el,!this.el)throw new f.Error({name:"NoElError",message:'An "el" must be specified for a region.'});this.$el=this.getEl(this.el),f.Object.call(this,a)},show:function(a,b){if(this._ensureElement()){this._ensureViewIsIntact(a),f.MonitorDOMRefresh(a);var d=b||{},e=a!==this.currentView,g=!!d.preventDestroy,h=!!d.forceShow,i=!!this.currentView,j=e&&!g,k=e||h;if(i&&this.triggerMethod("before:swapOut",this.currentView,this,b),this.currentView&&e&&delete this.currentView._parent,j?this.empty():i&&k&&this.currentView.off("destroy",this.empty,this),k){a.once("destroy",this.empty,this),a._parent=this,this._renderView(a),i&&this.triggerMethod("before:swap",a,this,b),this.triggerMethod("before:show",a,this,b),f.triggerMethodOn(a,"before:show",a,this,b),i&&this.triggerMethod("swapOut",this.currentView,this,b);var l=f.isNodeAttached(this.el),m=[],n=c.extend({triggerBeforeAttach:this.triggerBeforeAttach,triggerAttach:this.triggerAttach},d);return l&&n.triggerBeforeAttach&&(m=this._displayedViews(a),this._triggerAttach(m,"before:")),this.attachHtml(a),this.currentView=a,l&&n.triggerAttach&&(m=this._displayedViews(a),this._triggerAttach(m)),i&&this.triggerMethod("swap",a,this,b),this.triggerMethod("show",a,this,b),f.triggerMethodOn(a,"show",a,this,b),this}return this}},triggerBeforeAttach:!0,triggerAttach:!0,_triggerAttach:function(a,b){var d=(b||"")+"attach";c.each(a,function(a){f.triggerMethodOn(a,d,a,this)},this)},_displayedViews:function(a){return c.union([a],c.result(a,"_getNestedViews")||[])},_renderView:function(a){a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a)},_ensureElement:function(){if(c.isObject(this.el)||(this.$el=this.getEl(this.el),this.el=this.$el[0]),!this.$el||0===this.$el.length){if(this.getOption("allowMissingEl"))return!1;throw new f.Error('An "el" '+this.$el.selector+" must exist in DOM")}return!0},_ensureViewIsIntact:function(a){if(!a)throw new f.Error({name:"ViewNotValid",message:"The view passed is undefined and therefore invalid. You must pass a view instance to show."});if(a.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+a.cid+'") has already been destroyed and cannot be used.'})},getEl:function(a){return b.$(a,f._getValue(this.options.parentEl,this))},attachHtml:function(a){this.$el.contents().detach(),this.el.appendChild(a.el)},empty:function(a){var b=this.currentView,c=a||{},d=!!c.preventDestroy;return b?(b.off("destroy",this.empty,this),this.triggerMethod("before:empty",b),d||this._destroyView(),this.triggerMethod("empty",b),delete this.currentView,d&&this.$el.contents().detach(),this):this},_destroyView:function(){var a=this.currentView;a.isDestroyed||(a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():(a.remove(),a.isDestroyed=!0),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a))},attachView:function(a){return this.currentView&&delete this.currentView._parent,a._parent=this,this.currentView=a,this},hasView:function(){return!!this.currentView},reset:function(){return this.empty(),this.$el&&(this.el=this.options.el),delete this.$el,this}},{buildRegion:function(a,b){if(c.isString(a))return this._buildRegionFromSelector(a,b);if(a.selector||a.el||a.regionClass)return this._buildRegionFromObject(a,b);if(c.isFunction(a))return this._buildRegionFromRegionClass(a);throw new f.Error({message:"Improper region configuration type.",url:"marionette.region.html#region-configuration-types"})},_buildRegionFromSelector:function(a,b){return new b({el:a})},_buildRegionFromObject:function(a,b){var d=a.regionClass||b,e=c.omit(a,"selector","regionClass");return a.selector&&!e.el&&(e.el=a.selector),new d(e)},_buildRegionFromRegionClass:function(a){return new a}}),f.RegionManager=f.Controller.extend({constructor:function(a){this._regions={},this.length=0,f.Controller.call(this,a),this.addRegions(this.getOption("regions"))},addRegions:function(a,b){return a=f._getValue(a,this,arguments),c.reduce(a,function(a,d,e){return c.isString(d)&&(d={selector:d}),d.selector&&(d=c.defaults({},d,b)),a[e]=this.addRegion(e,d),a},{},this)},addRegion:function(a,b){var c;return c=b instanceof f.Region?b:f.Region.buildRegion(b,f.Region),this.triggerMethod("before:add:region",a,c),c._parent=this,this._store(a,c),this.triggerMethod("add:region",a,c),c},get:function(a){return this._regions[a]},getRegions:function(){return c.clone(this._regions)},removeRegion:function(a){var b=this._regions[a];return this._remove(a,b),b},removeRegions:function(){var a=this.getRegions();return c.each(this._regions,function(a,b){this._remove(b,a)},this),a},emptyRegions:function(){var a=this.getRegions();return c.invoke(a,"empty"),a},destroy:function(){return this.removeRegions(),f.Controller.prototype.destroy.apply(this,arguments)},_store:function(a,b){this._regions[a]||this.length++,this._regions[a]=b},_remove:function(a,b){this.triggerMethod("before:remove:region",a,b),b.empty(),b.stopListening(),delete b._parent,delete this._regions[a],this.length--,this.triggerMethod("remove:region",a,b)}}),f.actAsCollection(f.RegionManager.prototype,"_regions"),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a,b){var c=this.templateCaches[a];return c||(c=new f.TemplateCache(a),this.templateCaches[a]=c),c.load(b)},clear:function(){var a,b=c.toArray(arguments),d=b.length;if(d>0)for(a=0;d>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(a){if(this.compiledTemplate)return this.compiledTemplate;var b=this.loadTemplate(this.templateId,a);return this.compiledTemplate=this.compileTemplate(b,a),this.compiledTemplate},loadTemplate:function(a,c){var d=b.$(a);if(!d.length)throw new f.Error({name:"NoTemplateError",message:'Could not find template: "'+a+'"'});return d.html()},compileTemplate:function(a,b){return c.template(a,b)}}),f.Renderer={render:function(a,b){if(!a)throw new f.Error({name:"TemplateNotFoundError",message:"Cannot render the template since its false, null or undefined."});var d=c.isFunction(a)?a:f.TemplateCache.get(a);return d(b)}},f.View=b.View.extend({isDestroyed:!1,supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,constructor:function(a){this.render=c.bind(this.render,this),a=f._getValue(a,this),this.options=c.extend({},c.result(this,"options"),a),this._behaviors=f.Behaviors(this),b.View.call(this,this.options),f.MonitorDOMRefresh(this)},getTemplate:function(){return this.getOption("template")},serializeModel:function(a){return a.toJSON.apply(a,c.rest(arguments))},mixinTemplateHelpers:function(a){a=a||{};var b=this.getOption("templateHelpers");return b=f._getValue(b,this),c.extend(a,b)},normalizeUIKeys:function(a){var b=c.result(this,"_uiBindings");return f.normalizeUIKeys(a,b||c.result(this,"ui"))},normalizeUIValues:function(a,b){var d=c.result(this,"ui"),e=c.result(this,"_uiBindings");return f.normalizeUIValues(a,e||d,b)},configureTriggers:function(){if(this.triggers){var a=this.normalizeUIKeys(c.result(this,"triggers"));return c.reduce(a,function(a,b,c){return a[c]=this._buildViewTrigger(b),a},{},this)}},delegateEvents:function(a){return this._delegateDOMEvents(a),this.bindEntityEvents(this.model,this.getOption("modelEvents")),this.bindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.bindEntityEvents(this.model,a.getOption("modelEvents")),a.bindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_delegateDOMEvents:function(a){var d=f._getValue(a||this.events,this);d=this.normalizeUIKeys(d),c.isUndefined(a)&&(this.events=d);var e={},g=c.result(this,"behaviorEvents")||{},h=this.configureTriggers(),i=c.result(this,"behaviorTriggers")||{};c.extend(e,g,d,h,i),b.View.prototype.delegateEvents.call(this,e)},undelegateEvents:function(){return b.View.prototype.undelegateEvents.apply(this,arguments),this.unbindEntityEvents(this.model,this.getOption("modelEvents")),this.unbindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.unbindEntityEvents(this.model,a.getOption("modelEvents")),a.unbindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_ensureViewIsIntact:function(){if(this.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+this.cid+'") has already been destroyed and cannot be used.'})},destroy:function(){if(this.isDestroyed)return this;var a=c.toArray(arguments);return this.triggerMethod.apply(this,["before:destroy"].concat(a)),this.isDestroyed=!0,this.triggerMethod.apply(this,["destroy"].concat(a)),this.unbindUIElements(),this.isRendered=!1,this.remove(),c.invoke(this._behaviors,"destroy",a),this},bindUIElements:function(){this._bindUIElements(),c.invoke(this._behaviors,this._bindUIElements)},_bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(a,function(a,b){this.ui[b]=this.$(a)},this)}},unbindUIElements:function(){this._unbindUIElements(),c.invoke(this._behaviors,this._unbindUIElements)},_unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)},_buildViewTrigger:function(a){var b=c.defaults({},a,{preventDefault:!0,stopPropagation:!0}),d=c.isObject(a)?b.event:a;return function(a){a&&(a.preventDefault&&b.preventDefault&&a.preventDefault(),a.stopPropagation&&b.stopPropagation&&a.stopPropagation());var c={view:this,model:this.model,collection:this.collection};this.triggerMethod(d,c)}},setElement:function(){var a=b.View.prototype.setElement.apply(this,arguments);return c.invoke(this._behaviors,"proxyViewProperties",this),a},triggerMethod:function(){var a=f._triggerMethod(this,arguments);return this._triggerEventOnBehaviors(arguments),this._triggerEventOnParentLayout(arguments[0],c.rest(arguments)),a},_triggerEventOnBehaviors:function(a){for(var b=f._triggerMethod,c=this._behaviors,d=0,e=c&&c.length;e>d;d++)b(c[d],a)},_triggerEventOnParentLayout:function(a,b){var d=this._parentLayoutView();if(d){var e=f.getOption(d,"childViewEventPrefix"),g=e+":"+a,h=[this].concat(b);f._triggerMethod(d,g,h);var i=f.getOption(d,"childEvents");i=f._getValue(i,d);var j=d.normalizeMethods(i);j&&c.isFunction(j[a])&&j[a].apply(d,h)}},_getImmediateChildren:function(){return[]},_getNestedViews:function(){var a=this._getImmediateChildren();return a.length?c.reduce(a,function(a,b){return b._getNestedViews?a.concat(b._getNestedViews()):a},a):a},_parentLayoutView:function(){for(var a=this._parent;a;){if(a instanceof f.LayoutView)return a;a=a._parent}},normalizeMethods:f.normalizeMethods,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.ItemView=f.View.extend({constructor:function(){f.View.apply(this,arguments)},serializeData:function(){if(!this.model&&!this.collection)return{};var a=[this.model||this.collection];return arguments.length&&a.push.apply(a,arguments),this.model?this.serializeModel.apply(this,a):{items:this.serializeCollection.apply(this,a)}},serializeCollection:function(a){return a.toJSON.apply(a,c.rest(arguments))},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderTemplate(),this.isRendered=!0,this.bindUIElements(),this.triggerMethod("render",this),this},_renderTemplate:function(){var a=this.getTemplate();if(a!==!1){if(!a)throw new f.Error({name:"UndefinedTemplateError",message:"Cannot render the template since it is null or undefined."});var b=this.mixinTemplateHelpers(this.serializeData()),c=f.Renderer.render(a,b,this);return this.attachElContent(c),this}},attachElContent:function(a){return this.$el.html(a),this}}),f.CollectionView=f.View.extend({childViewEventPrefix:"childview",sort:!0,constructor:function(a){this.once("render",this._initialEvents),this._initChildViewStorage(),f.View.apply(this,arguments),this.on({"before:show":this._onBeforeShowCalled,show:this._onShowCalled,"before:attach":this._onBeforeAttachCalled,attach:this._onAttachCalled}),this.initRenderBuffer()},initRenderBuffer:function(){this._bufferedChildren=[]},startBuffering:function(){this.initRenderBuffer(),this.isBuffering=!0},endBuffering:function(){var a,b=this._isShown&&f.isNodeAttached(this.el);this.isBuffering=!1,this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"before:show"),b&&this._triggerBeforeAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"before:attach")),this.attachBuffer(this,this._createBuffer()),b&&this._triggerAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"attach")),this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"show"),this.initRenderBuffer()},_triggerMethodMany:function(a,b,d){var e=c.drop(arguments,3);c.each(a,function(a){f.triggerMethodOn.apply(a,[a,d,a,b].concat(e))})},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this.render),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},_onCollectionAdd:function(a,b,d){var e=void 0!==d.at&&(d.index||b.indexOf(a));if((this.getOption("filter")||e===!1)&&(e=c.indexOf(this._filteredSortedModels(e),a)),this._shouldAddChild(a,e)){this.destroyEmptyView();var f=this.getChildView(a);this.addChild(a,f,e)}},_onCollectionRemove:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},_onBeforeShowCalled:function(){this._triggerBeforeAttach=this._triggerAttach=!1,this.children.each(function(a){f.triggerMethodOn(a,"before:show",a)})},_onShowCalled:function(){this.children.each(function(a){f.triggerMethodOn(a,"show",a)})},_onBeforeAttachCalled:function(){this._triggerBeforeAttach=!0},_onAttachCalled:function(){this._triggerAttach=!0},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderChildren(),this.isRendered=!0,this.triggerMethod("render",this),this},reorder:function(){var a=this.children,b=this._filteredSortedModels(),d=c.some(b,function(b){return!a.findByModel(b)});if(d)this.render();else{var e=c.map(b,function(b,c){var d=a.findByModel(b);return d._index=c,d.el}),f=a.filter(function(a){return!c.contains(e,a.el)});this.triggerMethod("before:reorder"),this._appendReorderedChildren(e),c.each(f,this.removeChildView,this),this.checkEmpty(),this.triggerMethod("reorder")}},resortView:function(){f.getOption(this,"reorderOnSort")?this.reorder():this.render()},_sortViews:function(){var a=this._filteredSortedModels(),b=c.find(a,function(a,b){var c=this.children.findByModel(a);return!c||c._index!==b},this);b&&this.resortView()},_emptyViewIndex:-1,_appendReorderedChildren:function(a){this.$el.append(a)},_renderChildren:function(){this.destroyEmptyView(),this.destroyChildren({checkEmpty:!1}),this.isEmpty(this.collection)?this.showEmptyView():(this.triggerMethod("before:render:collection",this),this.startBuffering(),this.showCollection(),this.endBuffering(),this.triggerMethod("render:collection",this),this.children.isEmpty()&&this.getOption("filter")&&this.showEmptyView())},showCollection:function(){var a,b=this._filteredSortedModels();c.each(b,function(b,c){a=this.getChildView(b),this.addChild(b,a,c)},this)},_filteredSortedModels:function(a){var b=this.getViewComparator(),d=this.collection.models;if(a=Math.min(Math.max(a,0),d.length-1),b){var e;a&&(e=d[a],d=d.slice(0,a).concat(d.slice(a+1))),d=this._sortModelsBy(d,b),e&&d.splice(a,0,e)}return this.getOption("filter")&&(d=c.filter(d,function(a,b){return this._shouldAddChild(a,b)},this)),d},_sortModelsBy:function(a,b){return"string"==typeof b?c.sortBy(a,function(a){return a.get(b)},this):1===b.length?c.sortBy(a,b,this):a.sort(c.bind(b,this))},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this.triggerMethod("before:render:empty"),this._showingEmptyView=!0;var c=new b.Model;this.addEmptyView(c,a),this.triggerMethod("render:empty")}},destroyEmptyView:function(){this._showingEmptyView&&(this.triggerMethod("before:remove:empty"),this.destroyChildren(),delete this._showingEmptyView,this.triggerMethod("remove:empty"))},getEmptyView:function(){return this.getOption("emptyView")},addEmptyView:function(a,b){var d,e=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el),g=this.getOption("emptyViewOptions")||this.getOption("childViewOptions");c.isFunction(g)&&(g=g.call(this,a,this._emptyViewIndex));var h=this.buildChildView(a,b,g);h._parent=this,this.proxyChildEvents(h),h.once("render",function(){this._isShown&&f.triggerMethodOn(h,"before:show",h),e&&this._triggerBeforeAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"before:attach"))},this),this.children.add(h),this.renderChildView(h,this._emptyViewIndex),e&&this._triggerAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"attach")),this._isShown&&f.triggerMethodOn(h,"show",h)},getChildView:function(a){var b=this.getOption("childView");if(!b)throw new f.Error({name:"NoChildViewError",message:'A "childView" must be specified'});return b},addChild:function(a,b,c){var d=this.getOption("childViewOptions");d=f._getValue(d,this,[a,c]);var e=this.buildChildView(a,b,d);return this._updateIndices(e,!0,c),this.triggerMethod("before:add:child",e),this._addChildView(e,c),this.triggerMethod("add:child",e),e._parent=this,e},_updateIndices:function(a,b,c){this.getOption("sort")&&(b&&(a._index=c),this.children.each(function(c){c._index>=a._index&&(c._index+=b?1:-1)}))},_addChildView:function(a,b){var c,d=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el);this.proxyChildEvents(a),a.once("render",function(){this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"before:show",a),d&&this._triggerBeforeAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"before:attach"))},this),this.children.add(a),this.renderChildView(a,b),d&&this._triggerAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"attach")),this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"show",a)},renderChildView:function(a,b){return a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a),this.attachHtml(this,a,b),a},buildChildView:function(a,b,d){var e=c.extend({model:a},d),g=new b(e);return f.MonitorDOMRefresh(g),g},removeChildView:function(a){return a?(this.triggerMethod("before:remove:child",a),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():a.remove(),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a),delete a._parent,this.stopListening(a),this.children.remove(a),this.triggerMethod("remove:child",a),this._updateIndices(a,!1),a):a},isEmpty:function(){return!this.collection||0===this.collection.length},checkEmpty:function(){this.isEmpty(this.collection)&&this.showEmptyView()},attachBuffer:function(a,b){a.$el.append(b)},_createBuffer:function(){var a=document.createDocumentFragment();return c.each(this._bufferedChildren,function(b){a.appendChild(b.el)}),a},attachHtml:function(a,b,c){a.isBuffering?a._bufferedChildren.splice(c,0,b):a._insertBefore(b,c)||a._insertAfter(b)},_insertBefore:function(a,b){var c,d=this.getOption("sort")&&b<this.children.length-1;return d&&(c=this.children.find(function(a){return a._index===b+1})),c?(c.$el.before(a.el),!0):!1},_insertAfter:function(a){this.$el.append(a.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},destroy:function(){return this.isDestroyed?this:(this.triggerMethod("before:destroy:collection"),this.destroyChildren({checkEmpty:!1}),this.triggerMethod("destroy:collection"),f.View.prototype.destroy.apply(this,arguments))},destroyChildren:function(a){var b=a||{},d=!0,e=this.children.map(c.identity);return c.isUndefined(b.checkEmpty)||(d=b.checkEmpty),this.children.each(this.removeChildView,this),d&&this.checkEmpty(),e},_shouldAddChild:function(a,b){var d=this.getOption("filter");return!c.isFunction(d)||d.call(this,a,b,this.collection)},proxyChildEvents:function(a){var b=this.getOption("childViewEventPrefix");this.listenTo(a,"all",function(){var d=c.toArray(arguments),e=d[0],f=this.normalizeMethods(c.result(this,"childEvents"));
d[0]=b+":"+e,d.splice(1,0,a),"undefined"!=typeof f&&c.isFunction(f[e])&&f[e].apply(this,d.slice(1)),this.triggerMethod.apply(this,d)})},_getImmediateChildren:function(){return c.values(this.children._views)},_getViewAndNested:function(a){return[a].concat(c.result(a,"_getNestedViews")||[])},getViewComparator:function(){return this.getOption("viewComparator")}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.apply(this,arguments)},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this._renderChildren),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},getChildView:function(a){var b=this.getOption("childView")||this.constructor;return b},serializeData:function(){var a={};return this.model&&(a=c.partial(this.serializeModel,this.model).apply(this,arguments)),a},render:function(){return this._ensureViewIsIntact(),this._isRendering=!0,this.resetChildViewContainer(),this.triggerMethod("before:render",this),this._renderTemplate(),this._renderChildren(),this._isRendering=!1,this.isRendered=!0,this.triggerMethod("render",this),this},_renderChildren:function(){(this.isRendered||this._isRendering)&&f.CollectionView.prototype._renderChildren.call(this)},_renderTemplate:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a),this.triggerMethod("before:render:template");var b=this.getTemplate(),c=f.Renderer.render(b,a,this);this.attachElContent(c),this.bindUIElements(),this.triggerMethod("render:template")},attachElContent:function(a){return this.$el.html(a),this},attachBuffer:function(a,b){var c=this.getChildViewContainer(a);c.append(b)},_insertAfter:function(a){var b=this.getChildViewContainer(this,a);b.append(a.el)},_appendReorderedChildren:function(a){var b=this.getChildViewContainer(this);b.append(a)},getChildViewContainer:function(a,b){if(a.$childViewContainer)return a.$childViewContainer;var c,d=f.getOption(a,"childViewContainer");if(d){var e=f._getValue(d,a);if(c="@"===e.charAt(0)&&a.ui?a.ui[e.substr(4)]:a.$(e),c.length<=0)throw new f.Error({name:"ChildViewContainerMissingError",message:'The specified "childViewContainer" was not found: '+a.childViewContainer})}else c=a.$el;return a.$childViewContainer=c,c},resetChildViewContainer:function(){this.$childViewContainer&&(this.$childViewContainer=void 0)}}),f.LayoutView=f.ItemView.extend({regionClass:f.Region,options:{destroyImmediate:!1},childViewEventPrefix:"childview",constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.call(this,a)},render:function(){return this._ensureViewIsIntact(),this._firstRender?this._firstRender=!1:this._reInitializeRegions(),f.ItemView.prototype.render.apply(this,arguments)},destroy:function(){return this.isDestroyed?this:(this.getOption("destroyImmediate")===!0&&this.$el.remove(),this.regionManager.destroy(),f.ItemView.prototype.destroy.apply(this,arguments))},showChildView:function(a,b,d){var e=this.getRegion(a);return e.show.apply(e,c.rest(arguments))},getChildView:function(a){return this.getRegion(a).currentView},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},getRegion:function(a){return this.regionManager.get(a)},getRegions:function(){return this.regionManager.getRegions()},_buildRegions:function(a){var b={regionClass:this.getOption("regionClass"),parentEl:c.partial(c.result,this,"el")};return this.regionManager.addRegions(a,b)},_initializeRegions:function(a){var b;this._initRegionManager(),b=f._getValue(this.regions,this,[a])||{};var d=this.getOption.call(a,"regions");d=f._getValue(d,this,[a]),c.extend(b,d),b=this.normalizeUIValues(b,["selector","el"]),this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.invoke("reset")},getRegionManager:function(){return new f.RegionManager},_initRegionManager:function(){this.regionManager=this.getRegionManager(),this.regionManager._parent=this,this.listenTo(this.regionManager,"before:add:region",function(a){this.triggerMethod("before:add:region",a)}),this.listenTo(this.regionManager,"add:region",function(a,b){this[a]=b,this.triggerMethod("add:region",a,b)}),this.listenTo(this.regionManager,"before:remove:region",function(a){this.triggerMethod("before:remove:region",a)}),this.listenTo(this.regionManager,"remove:region",function(a,b){delete this[a],this.triggerMethod("remove:region",a,b)})},_getImmediateChildren:function(){return c.chain(this.regionManager.getRegions()).pluck("currentView").compact().value()}}),f.Behavior=f.Object.extend({constructor:function(a,b){this.view=b,this.defaults=c.result(this,"defaults")||{},this.options=c.extend({},this.defaults,a),this.ui=c.extend({},c.result(b,"ui"),c.result(this,"ui")),f.Object.apply(this,arguments)},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this},proxyViewProperties:function(a){this.$el=a.$el,this.el=a.el}}),f.Behaviors=function(a,b){function c(a,d){return b.isObject(a.behaviors)?(d=c.parseBehaviors(a,d||b.result(a,"behaviors")),c.wrap(a,d,b.keys(g)),d):{}}function d(a,b){this._view=a,this._behaviors=b,this._triggers={}}function e(a){return a._uiBindings||a.ui}var f=/^(\S+)\s*(.*)$/,g={behaviorTriggers:function(a,b){var c=new d(this,b);return c.buildBehaviorTriggers()},behaviorEvents:function(c,d){var g={};return b.each(d,function(c,d){var h={},i=b.clone(b.result(c,"events"))||{};i=a.normalizeUIKeys(i,e(c));var j=0;b.each(i,function(a,e){var g=e.match(f),i=g[1]+"."+[this.cid,d,j++," "].join(""),k=g[2],l=i+k,m=b.isFunction(a)?a:c[a];m&&(h[l]=b.bind(m,c))},this),g=b.extend(g,h)},this),g}};return b.extend(c,{behaviorsLookup:function(){throw new a.Error({message:"You must define where your behaviors are stored.",url:"marionette.behaviors.html#behaviorslookup"})},getBehaviorClass:function(b,d){return b.behaviorClass?b.behaviorClass:a._getValue(c.behaviorsLookup,this,[b,d])[d]},parseBehaviors:function(a,d){return b.chain(d).map(function(d,e){var f=c.getBehaviorClass(d,e),g=new f(d,a),h=c.parseBehaviors(a,b.result(g,"behaviors"));return[g].concat(h)}).flatten().value()},wrap:function(a,c,d){b.each(d,function(d){a[d]=b.partial(g[d],a[d],c)})}}),b.extend(d.prototype,{buildBehaviorTriggers:function(){return b.each(this._behaviors,this._buildTriggerHandlersForBehavior,this),this._triggers},_buildTriggerHandlersForBehavior:function(c,d){var f=b.clone(b.result(c,"triggers"))||{};f=a.normalizeUIKeys(f,e(c)),b.each(f,b.bind(this._setHandlerForBehavior,this,c,d))},_setHandlerForBehavior:function(a,b,c,d){var e=d.replace(/^\S+/,function(a){return a+".behaviortriggers"+b});this._triggers[e]=this._view._buildViewTrigger(c)}}),c}(f,c),f.AppRouter=b.Router.extend({constructor:function(a){this.options=a||{},b.Router.apply(this,arguments);var c=this.getOption("appRoutes"),d=this._getController();this.processAppRoutes(d,c),this.on("route",this._processOnRoute,this)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},_processOnRoute:function(a,b){if(c.isFunction(this.onRoute)){var d=c.invert(this.getOption("appRoutes"))[a];this.onRoute(a,d,b)}},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return this.getOption("controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new f.Error('Method "'+d+'" was not found on the controller');this.route(b,d,c.bind(e,a))},mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,triggerMethod:f.triggerMethod,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Application=f.Object.extend({constructor:function(a){this._initializeRegions(a),this._initCallbacks=new f.Callbacks,this.submodules={},c.extend(this,a),this._initChannel(),f.Object.apply(this,arguments)},execute:function(){this.commands.execute.apply(this.commands,arguments)},request:function(){return this.reqres.request.apply(this.reqres,arguments)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("before:start",a),this._initCallbacks.run(a,this),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},emptyRegions:function(){return this._regionManager.emptyRegions()},removeRegion:function(a){return this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},getRegions:function(){return this._regionManager.getRegions()},module:function(a,b){var d=f.Module.getClass(b),e=c.toArray(arguments);return e.unshift(this),d.create.apply(d,e)},getRegionManager:function(){return new f.RegionManager},_initializeRegions:function(a){var b=c.isFunction(this.regions)?this.regions(a):this.regions||{};this._initRegionManager();var d=f.getOption(a,"regions");return c.isFunction(d)&&(d=d.call(this,a)),c.extend(b,d),this.addRegions(b),this},_initRegionManager:function(){this._regionManager=this.getRegionManager(),this._regionManager._parent=this,this.listenTo(this._regionManager,"before:add:region",function(){f._triggerMethod(this,"before:add:region",arguments)}),this.listenTo(this._regionManager,"add:region",function(a,b){this[a]=b,f._triggerMethod(this,"add:region",arguments)}),this.listenTo(this._regionManager,"before:remove:region",function(){f._triggerMethod(this,"before:remove:region",arguments)}),this.listenTo(this._regionManager,"remove:region",function(a){delete this[a],f._triggerMethod(this,"remove:region",arguments)})},_initChannel:function(){this.channelName=c.result(this,"channelName")||"global",this.channel=c.result(this,"channel")||b.Wreqr.radio.channel(this.channelName),this.vent=c.result(this,"vent")||this.channel.vent,this.commands=c.result(this,"commands")||this.channel.commands,this.reqres=c.result(this,"reqres")||this.channel.reqres}}),f.Module=function(a,b,d){this.moduleName=a,this.options=c.extend({},this.options,d),this.initialize=d.initialize||this.initialize,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,c.isFunction(this.initialize)&&this.initialize(a,b,this.options)},f.Module.extend=f.extend,c.extend(f.Module.prototype,b.Events,{startWithParent:!0,initialize:function(){},addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,this.triggerMethod("before:stop"),c.invoke(this.submodules,"stop"),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),this.triggerMethod("stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,b.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks},triggerMethod:f.triggerMethod}),c.extend(f.Module,{create:function(a,b,d){var e=a,f=c.drop(arguments,3);b=b.split(".");var g=b.length,h=[];return h[g-1]=d,c.each(b,function(b,c){var g=e;e=this._getModule(g,b,a,d),this._addModuleDefinition(g,e,h[c],f)},this),e},_getModule:function(a,b,d,e,f){var g=c.extend({},e),h=this.getClass(e),i=a[b];return i||(i=new h(b,d,g),a[b]=i,a.submodules[b]=i),i},getClass:function(a){var b=f.Module;return a?a.prototype instanceof b?a:a.moduleClass||b:b},_addModuleDefinition:function(a,b,c,d){var e=this._getDefine(c),f=this._getStartWithParent(c,b);e&&b.addDefinition(e,d),this._addStartWithParent(a,b,f)},_getStartWithParent:function(a,b){var d;return c.isFunction(a)&&a.prototype instanceof f.Module?(d=b.constructor.prototype.startWithParent,c.isUndefined(d)?!0:d):c.isObject(a)?(d=a.startWithParent,c.isUndefined(d)?!0:d):!0},_getDefine:function(a){return!c.isFunction(a)||a.prototype instanceof f.Module?c.isObject(a)?a.define:null:a},_addStartWithParent:function(a,b,c){b.startWithParent=b.startWithParent&&c,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f});
;/*! elementor - v0.7.1 - 18-08-2016 */
// Backbone.Radio v1.0.4
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("underscore"),require("backbone")):"function"==typeof define&&define.amd?define(["underscore","backbone"],n):(e.Backbone=e.Backbone||{},e.Backbone.Radio=n(e._,e.Backbone))}(this,function(e,n){"use strict";function t(e,n,t,r){var o=e[n];return t&&t!==o.callback&&t!==o.callback._callback||r&&r!==o.context?void 0:(delete e[n],!0)}function r(n,r,o,i){n||(n={});for(var s=r?[r]:e.keys(n),u=!1,a=0,c=s.length;c>a;a++)r=s[a],n[r]&&t(n,r,o,i)&&(u=!0);return u}function o(n){return l[n]||(l[n]=e.partial(a.log,n))}function i(n){return e.isFunction(n)?n:function(){return n}}e="default"in e?e["default"]:e,n="default"in n?n["default"]:n;var s={};s["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var u=n.Radio,a=n.Radio={};a.VERSION="1.0.4",a.noConflict=function(){return n.Radio=u,this},a.DEBUG=!1,a._debugText=function(e,n,t){return e+(t?" on the "+t+" channel":"")+': "'+n+'"'},a.debugLog=function(e,n,t){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(e,n,t))};var c=/\s+/;a._eventsApi=function(n,t,r,o){if(!r)return!1;var i={};if("object"===("undefined"==typeof r?"undefined":s["typeof"](r))){for(var u in r){var a=n[t].apply(n,[u,r[u]].concat(o));c.test(u)?e.extend(i,a):i[u]=a}return i}if(c.test(r)){for(var l=r.split(c),f=0,h=l.length;h>f;f++)i[l[f]]=n[t].apply(n,[l[f]].concat(o));return i}return!1},a._callHandler=function(e,n,t){var r=t[0],o=t[1],i=t[2];switch(t.length){case 0:return e.call(n);case 1:return e.call(n,r);case 2:return e.call(n,r,o);case 3:return e.call(n,r,o,i);default:return e.apply(n,t)}};var l={};e.extend(a,{log:function(n,t){if("undefined"!=typeof console){var r=e.drop(arguments,2);console.log("["+n+'] "'+t+'"',r)}},tuneIn:function(e){var n=a.channel(e);return n._tunedIn=!0,n.on("all",o(e)),this},tuneOut:function(e){var n=a.channel(e);return n._tunedIn=!1,n.off("all",o(e)),delete l[e],this}}),a.Requests={request:function(n){var t=e.rest(arguments),r=a._eventsApi(this,"request",n,t);if(r)return r;var o=this.channelName,i=this._requests;if(o&&this._tunedIn&&a.log.apply(this,[o,n].concat(t)),i&&(i[n]||i["default"])){var s=i[n]||i["default"];return t=i[n]?t:arguments,a._callHandler(s.callback,s.context,t)}a.debugLog("An unhandled request was fired",n,o)},reply:function(e,n,t){return a._eventsApi(this,"reply",e,[n,t])?this:(this._requests||(this._requests={}),this._requests[e]&&a.debugLog("A request was overwritten",e,this.channelName),this._requests[e]={callback:i(n),context:t||this},this)},replyOnce:function(n,t,r){if(a._eventsApi(this,"replyOnce",n,[t,r]))return this;var o=this,s=e.once(function(){return o.stopReplying(n),i(t).apply(this,arguments)});return this.reply(n,s,r)},stopReplying:function(e,n,t){return a._eventsApi(this,"stopReplying",e)?this:(e||n||t?r(this._requests,e,n,t)||a.debugLog("Attempted to remove the unregistered request",e,this.channelName):delete this._requests,this)}},a._channels={},a.channel=function(e){if(!e)throw new Error("You must provide a name for the channel.");return a._channels[e]?a._channels[e]:a._channels[e]=new a.Channel(e)},a.Channel=function(e){this.channelName=e},e.extend(a.Channel.prototype,n.Events,a.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var f,h,d=[n.Events,a.Requests];return e.each(d,function(n){e.each(n,function(n,t){a[t]=function(n){return h=e.rest(arguments),f=this.channel(n),f[t].apply(f,h)}})}),a.reset=function(n){var t=n?[this._channels[n]]:this._channels;e.invoke(t,"reset")},a});
;/*! elementor - v3.32.0 - 05-10-2025 */
(()=>{var C={641:(C,T,B)=>{"use strict";var L=B(96784)(B(10564)),q=function Module(){var C,T=jQuery,B=arguments,q=this,H={};this.getItems=function(C,T){if(T){var B=T.split("."),L=B.splice(0,1);if(!B.length)return C[L];if(!C[L])return;return this.getItems(C[L],B.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(B,H,K){if(K||(K=C),"object"===(0,L.default)(B))return T.extend(K,B),q;var U=B.split("."),W=U.splice(0,1);return U.length?(K[W]||(K[W]={}),q.setSettings(U.join("."),H,K[W])):(K[W]=H,q)},this.getErrorMessage=function(C,T){var B;if("forceMethodImplementation"===C)B="The method '".concat(T,"' must to be implemented in the inheritor child.");else B="An error occurs";return B},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,B){return"object"===(0,L.default)(C)?(T.each(C,function(C){q.on(C,this)}),q):(C.split(" ").forEach(function(C){H[C]||(H[C]=[]),H[C].push(B)}),q)},this.off=function(C,T){if(!H[C])return q;if(!T)return delete H[C],q;var B=H[C].indexOf(T);return-1!==B&&(delete H[C][B],H[C]=H[C].filter(function(C){return C})),q},this.trigger=function(C){var B="on"+C[0].toUpperCase()+C.slice(1),L=Array.prototype.slice.call(arguments,1);q[B]&&q[B].apply(q,L);var K=H[C];return K?(T.each(K,function(C,T){T.apply(q,L)}),q):q},function init(){q.__construct.apply(q,B),function ensureClosureMethods(){T.each(q,function(C){var T=q[C];"function"==typeof T&&(q[C]=function(){return T.apply(q,arguments)})})}(),function initSettings(){C=q.getDefaultSettings();var L=B[0];L&&T.extend(!0,C,L)}(),q.trigger("init")}()};q.prototype.__construct=function(){},q.prototype.getDefaultSettings=function(){return{}},q.prototype.getConstructorID=function(){return this.constructor.name},q.extend=function(C){var T=jQuery,B=this,L=function child(){return B.apply(this,arguments)};return T.extend(L,B),(L.prototype=Object.create(T.extend({},B.prototype,C))).constructor=L,L.__super__=B.prototype,L},C.exports=q},3073:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.appsEventTrackingDispatch=T.AppsEventTracking=void 0;var q=L(B(85707)),H=L(B(39805)),K=L(B(40989)),U=L(B(71434));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(C);T&&(L=L.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),B.push.apply(B,L)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach(function(T){(0,q.default)(C,T,B[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))})}return C}function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var B={}.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var L=0,q=function F(){};return{s:q,n:function n(){return L>=C.length?{done:!0}:{done:!1,value:C[L++]}},e:function e(C){throw C},f:q}}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 H,K=!0,U=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return K=C.done,C},e:function e(C){U=!0,H=C},f:function f(){try{K||null==B.return||B.return()}finally{if(U)throw H}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,L=Array(T);B<T;B++)L[B]=C[B];return L}var W="page_views_website_templates",V="kits_cloud_upgrade_clicked",$="export_kit_customization",G="import_kit_customization",X="kit_import_status",Q="kit_cloud_library_apply",J="kit_cloud_library_delete",Z="ie_admin_action",Y="kit_import_upload_file";T.appsEventTrackingDispatch=function appsEventTrackingDispatch(C,T){var B=function objectCreator(C,B){var L,q=_createForOfIteratorHelper(C);try{for(q.s();!(L=q.n()).done;){var H=L.value;T.hasOwnProperty(H)&&null!==T[H]&&(B[H]=T[H])}}catch(C){q.e(C)}finally{q.f()}return B},L=[],q=["layout","site_part","error","document_name","document_type","view_type_clicked","tag","sort_direction","sort_type","action","grid_location","kit_name","page_source","element_position","element","event_type","modal_type","method","status","step","item","category","element_location","search_term","section","site_area"],H={},K={};!function init(){B(q,K),B(L,H);var T=C.split("/");H.placement=T[0],H.event=T[1],Object.keys(K).length&&(H.details=K)}(),$e.run(C,H)},T.AppsEventTracking=function(){return(0,K.default)(function AppsEventTracking(){(0,H.default)(this,AppsEventTracking)},null,[{key:"dispatchEvent",value:function dispatchEvent(C,T){return elementorCommon.eventsManager.dispatchEvent(C,T)}},{key:"sendPageViewsWebsiteTemplates",value:function sendPageViewsWebsiteTemplates(C){return this.dispatchEvent(W,{trigger:U.default.triggers.pageLoaded,page_loaded:C,secondary_location:C})}},{key:"sendKitsCloudUpgradeClicked",value:function sendKitsCloudUpgradeClicked(C){return this.dispatchEvent(V,{trigger:U.default.triggers.click,secondary_location:C,upgrade_location:C})}},{key:"sendExportKitCustomization",value:function sendExportKitCustomization(C){return this.dispatchEvent($,_objectSpread({trigger:U.default.triggers.click},C))}},{key:"sendImportKitCustomization",value:function sendImportKitCustomization(C){return this.dispatchEvent(G,_objectSpread({trigger:U.default.triggers.click},C))}},{key:"sendKitImportStatus",value:function sendKitImportStatus(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.dispatchEvent(X,_objectSpread({kit_import_status:!C},C&&{kit_import_error:C.message}))}},{key:"sendKitCloudLibraryApply",value:function sendKitCloudLibraryApply(C,T){return this.dispatchEvent(Q,_objectSpread({trigger:U.default.triggers.click,kit_cloud_id:C},T&&{kit_apply_url:T}))}},{key:"sendKitCloudLibraryDelete",value:function sendKitCloudLibraryDelete(){return this.dispatchEvent(J,{trigger:U.default.triggers.click})}},{key:"sendImportExportAdminAction",value:function sendImportExportAdminAction(C){return this.dispatchEvent(Z,{trigger:U.default.triggers.click,action_type:C})}},{key:"sendKitImportUploadFile",value:function sendKitImportUploadFile(C){return this.dispatchEvent(Y,{kit_import_upload_file_status:C})}}])}()},10564:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},10739:C=>{C.exports=function _objectWithoutPropertiesLoose(C,T){if(null==C)return{};var B={};for(var L in C)if({}.hasOwnProperty.call(C,L)){if(-1!==T.indexOf(L))continue;B[L]=C[L]}return B},C.exports.__esModule=!0,C.exports.default=C.exports},10906:(C,T,B)=>{var L=B(91819),q=B(20365),H=B(37744),K=B(78687);C.exports=function _toConsumableArray(C){return L(C)||q(C)||H(C)||K()},C.exports.__esModule=!0,C.exports.default=C.exports},11018:C=>{C.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},11327:(C,T,B)=>{var L=B(10564).default;C.exports=function toPrimitive(C,T){if("object"!=L(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var q=B.call(C,T||"default");if("object"!=L(q))return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},13452:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var q=L(B(40989)),H=L(B(39805)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.ForceMethodImplementation=function(C){function ForceMethodImplementation(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,H.default)(this,ForceMethodImplementation),C=function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,ForceMethodImplementation,["".concat(T.isStatic?"static ":"").concat(T.fullName,"() should be implemented, please provide '").concat(T.functionName||T.fullName,"' functionality.")]),Error.captureStackTrace(C,ForceMethodImplementation),C}return(0,W.default)(ForceMethodImplementation,C),(0,q.default)(ForceMethodImplementation)}((0,V.default)(Error));T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],B={};if(B.functionName=T,B.fullName=T,B.functionName.includes(".")){var L=B.functionName.split(".");B.className=L[0],B.functionName=L[1]}else B.isStatic=!0;throw new $(B)}},14718:(C,T,B)=>{var L=B(29402);C.exports=function _superPropBase(C,T){for(;!{}.hasOwnProperty.call(C,T)&&null!==(C=L(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},14767:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return L.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return q.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return H.Toggle}});var L=B(17431),q=B(97283),H=B(25279)},15118:(C,T,B)=>{var L=B(10564).default,q=B(36417);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"==L(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return q(C)},C.exports.__esModule=!0,C.exports.default=C.exports},15213:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return _arrayLikeToArray(C,T);var B={}.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?_arrayLikeToArray(C,T):void 0}}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var L=0,q=function F(){};return{s:q,n:function n(){return L>=C.length?{done:!0}:{done:!1,value:C[L++]}},e:function e(C){throw C},f:q}}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 H,K=!0,U=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return K=C.done,C},e:function e(C){U=!0,H=C},f:function f(){try{K||null==B.return||B.return()}finally{if(U)throw H}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,L=Array(T);B<T;B++)L[B]=C[B];return L}Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default=function _default(C,T){var B,L=_createForOfIteratorHelper(T=Array.isArray(T)?T:[T]);try{for(L.s();!(B=L.n()).done;){var q=B.value;if(C.constructor.name===q.prototype[Symbol.toStringTag])return!0}}catch(C){L.e(C)}finally{L.f()}return!1}},17431:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Close=function(C){function Close(){return(0,q.default)(this,Close),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,Close,arguments)}return(0,W.default)(Close,C),(0,H.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}])}(V.default);T.default=$},18821:(C,T,B)=>{var L=B(70569),q=B(65474),H=B(37744),K=B(11018);C.exports=function _slicedToArray(C,T){return L(C)||q(C,T)||H(C,T)||K()},C.exports.__esModule=!0,C.exports.default=C.exports},20365:C=>{C.exports=function _iterableToArray(C){if("undefined"!=typeof Symbol&&null!=C[Symbol.iterator]||null!=C["@@iterator"])return Array.from(C)},C.exports.__esModule=!0,C.exports.default=C.exports},20992:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.templateRegistry=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var V=function(C){function TemplateRegistry(){return(0,q.default)(this,TemplateRegistry),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,TemplateRegistry,arguments)}return(0,W.default)(TemplateRegistry,C),(0,H.default)(TemplateRegistry,[{key:"getState",value:function getState(C,T){var B={};return this.getAll().forEach(function(L){var q;if(void 0===(null==C||null===(q=C.customization)||void 0===q||null===(q=q.templates)||void 0===q?void 0:q[L.key]))if(L.getInitialState)B[L.key]=L.getInitialState(C,T);else{var H=!!L.useParentDefault&&T;B[L.key]={enabled:H}}else B[L.key]=C.customization.templates[L.key]}),B}}])}(B(97958).BaseRegistry);T.templateRegistry=new V},22575:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,q.default)(this,_default),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,_default,arguments)}return(0,W.default)(_default,C),(0,H.default)(_default,[{key:"id",value:function id(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-template-library-loading"}}])}(Marionette.ItemView)},22835:(C,T,B)=>{var L=B(29402),q=B(91270),H=B(65826),K=B(86060);function _wrapNativeSuper(T){var B="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!H(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==B){if(B.has(C))return B.get(C);B.set(C,Wrapper)}function Wrapper(){return K(C,arguments,L(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),q(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports},25279:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Toggle=function(C){function Toggle(){return(0,q.default)(this,Toggle),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,Toggle,arguments)}return(0,W.default)(Toggle,C),(0,H.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}])}(V.default);T.default=$},29402:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},32384:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,q.default)(this,_default),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,_default,arguments)}return(0,W.default)(_default,C),(0,H.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function className(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function events(){return{click:"onClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{title:this.getOption("title")}}},{key:"onClick",value:function onClick(){var C=this.getOption("click");C&&C()}}])}(Marionette.ItemView)},33448:C=>{function _isNativeReflectConstruct(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(T){}return(C.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!T},C.exports.__esModule=!0,C.exports.default=C.exports)()}C.exports=_isNativeReflectConstruct,C.exports.__esModule=!0,C.exports.default=C.exports},36417:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},37744:(C,T,B)=>{var L=B(78113);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return L(C,T);var B={}.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?L(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},39805:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},40397:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(85707)),H=L(B(18821)),K=L(B(39805)),U=L(B(40989)),W=L(B(15118)),V=L(B(29402)),$=L(B(87861)),G=L(B(41019)),X=B(51115),Q=L(B(641)),J=L(B(13452)),Z=L(B(92766));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(C);T&&(L=L.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),B.push.apply(B,L)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach(function(T){(0,q.default)(C,T,B[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))})}return C}function _callSuper(C,T,B){return T=(0,V.default)(T),(0,W.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,V.default)(C).constructor):T.apply(C,B))}function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function ComponentBase(){return(0,K.default)(this,ComponentBase),_callSuper(this,ComponentBase,arguments)}return(0,$.default)(ComponentBase,C),(0,U.default)(ComponentBase,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach(function(T){return C.registerTabRoute(T[0])}),Object.entries(this.getRoutes()).forEach(function(T){var B=(0,H.default)(T,2),L=B[0],q=B[1];return C.registerRoute(L,q)}),Object.entries(this.getCommands()).forEach(function(T){var B=(0,H.default)(T,2),L=B[0],q=B[1];return C.registerCommand(L,q)}),Object.entries(this.getCommandsInternal()).forEach(function(T){var B=(0,H.default)(T,2),L=B[0],q=B[1];return C.registerCommandInternal(L,q)}),Object.values(this.getHooks()).forEach(function(T){return C.registerHook(T)}),Object.entries(this.getData()).forEach(function(T){var B=(0,H.default)(T,2),L=B[0],q=B[1];return C.registerData(L,q)}),Object.values(this.getUiStates()).forEach(function(T){return C.registerUiState(T)}),Object.entries(this.getStates()).forEach(function(T){var B=(0,H.default)(T,2),L=B[0],q=B[1];return C.registerState(L,q)})}},{key:"getNamespace",value:function getNamespace(){(0,J.default)()}},{key:"getRootContainer",value:function getRootContainer(){return Z.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var B;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":B=$e.commands;break;case"internal":B=$e.commandsInternal;break;case"data":B=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var L=this.getNamespace()+"/"+C,q={command:L,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(L,"', context is unknown type.")),q.callback=T,T=function(C){function context(){return(0,K.default)(this,context),_callSuper(this,context,arguments)}return(0,$.default)(context,C),(0,U.default)(context)}(G.default)),T.setRegisterConfig(q),B.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var B=(0,X.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,B)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,function(B){return T.activateTab(C,B)})}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,B){var L=this;if(this.tabs[C]=T,void 0!==B){var q={},H=Object.keys(this.tabs);H.pop(),H.splice(B,0,C),H.forEach(function(C){q[C]=L.tabs[C]}),this.tabs=q}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var B=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",function(C){$e.route(B.getTabRoute(C.currentTarget.dataset.tab),T)}).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,function(C,T){return(T>0?"-":"")+C.toLowerCase()})}},{key:"importCommands",value:function importCommands(C){var T=this,B={};return Object.entries(C).forEach(function(C){var L=(0,H.default)(C,2),q=L[0],K=L[1],U=T.normalizeCommandName(q);B[U]=K}),B}},{key:"importHooks",value:function importHooks(C){var T={};for(var B in C){var L=new C[B];T[L.getId()]=L}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,B={};return Object.values(C).forEach(function(C){var L=new C(T);B[L.getId()]=L}),B}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}])}(Q.default)},40453:(C,T,B)=>{var L=B(10739);C.exports=function _objectWithoutProperties(C,T){if(null==C)return{};var B,q,H=L(C,T);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(C);for(q=0;q<K.length;q++)B=K[q],-1===T.indexOf(B)&&{}.propertyIsEnumerable.call(C,B)&&(H[B]=C[B])}return H},C.exports.__esModule=!0,C.exports.default=C.exports},40989:(C,T,B)=>{var L=B(45498);function _defineProperties(C,T){for(var B=0;B<T.length;B++){var q=T[B];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(C,L(q.key),q)}}C.exports=function _createClass(C,T,B){return T&&_defineProperties(C.prototype,T),B&&_defineProperties(C,B),Object.defineProperty(C,"prototype",{writable:!1}),C},C.exports.__esModule=!0,C.exports.default=C.exports},41019:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function CommandCallbackBase(){return(0,q.default)(this,CommandCallbackBase),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,CommandCallbackBase,arguments)}return(0,W.default)(CommandCallbackBase,C),(0,H.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}])}(V.default)},41462:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.customizationDialogsRegistry=void 0;var L=B(97958);T.customizationDialogsRegistry=new L.BaseRegistry},41599:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(82425));T.default=q.default.extend({getDefaultSettings:function getDefaultSettings(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function run(){var C=[],T=this.elements.$container.position().top,B=this.getSettings(),L=B.columnsCount;T+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(q){var H=Math.floor(q/L),K=jQuery(this),U=K[0].getBoundingClientRect().height+B.verticalSpaceBetween;if(H){var W=K.position(),V=q%L,$=W.top-T-C[V];$-=parseInt(K.css("margin-top"),10),$*=-1,K.css("margin-top",$+"px"),C[V]+=U}else C.push(U)})}})},41621:(C,T,B)=>{var L=B(14718);function _get(){return C.exports=_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(C,T,B){var q=L(C,T);if(q){var H=Object.getOwnPropertyDescriptor(q,T);return H.get?H.get.call(arguments.length<3?C:B):H.value}},C.exports.__esModule=!0,C.exports.default=C.exports,_get.apply(null,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},42242:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,q.default)(this,_default),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,_default,arguments)}return(0,W.default)(_default,C),(0,H.default)(_default,[{key:"className",value:function className(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function regions(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function events(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function onCloseModalClick(){var C,T;this._parent._parent._parent.hideModal();var B=null!==(C=null===(T=elementor.config)||void 0===T||null===(T=T.document)||void 0===T?void 0:T.type)&&void 0!==C?C:"default",L=new CustomEvent("core/modal/close/".concat(B));window.dispatchEvent(L),this.isFloatingButtonLibraryClose()&&($e.internal("document/save/set-is-modified",{status:!1}),window.location.href=elementor.config.admin_floating_button_admin_url)}},{key:"isFloatingButtonLibraryClose",value:function isFloatingButtonLibraryClose(){var C,T;return window.elementor&&(null===(C=elementor.config)||void 0===C?void 0:C.admin_floating_button_admin_url)&&"floating-buttons"===(null===(T=elementor.config)||void 0===T||null===(T=T.document)||void 0===T?void 0:T.type)&&(this.$el.closest(".dialog-lightbox-widget-content").find(".elementor-template-library-template-floating_button").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-preview").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-templates-empty").length)}}])}(Marionette.LayoutView)},45498:(C,T,B)=>{var L=B(10564).default,q=B(11327);C.exports=function toPropertyKey(C){var T=q(C,"string");return"symbol"==L(T)?T:T+""},C.exports.__esModule=!0,C.exports.default=C.exports},51115:(C,T,B)=>{"use strict";function n(C){for(var T=arguments.length,B=Array(T>1?T-1:0),L=1;L<T;L++)B[L-1]=arguments[L];throw Error("[Immer] minified error nr: "+C+(B.length?" "+B.map(function(C){return"'"+C+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(C){return!!C&&!!C[G]}function t(C){var T;return!!C&&(function(C){if(!C||"object"!=typeof C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;var B=Object.hasOwnProperty.call(T,"constructor")&&T.constructor;return B===Object||"function"==typeof B&&Function.toString.call(B)===X}(C)||Array.isArray(C)||!!C[$]||!!(null===(T=C.constructor)||void 0===T?void 0:T[$])||s(C)||v(C))}function e(C){return r(C)||n(23,C),C[G].t}function i(C,T,B){void 0===B&&(B=!1),0===o(C)?(B?Object.keys:Q)(C).forEach(function(L){B&&"symbol"==typeof L||T(L,C[L],C)}):C.forEach(function(B,L){return T(L,B,C)})}function o(C){var T=C[G];return T?T.i>3?T.i-4:T.i:Array.isArray(C)?1:s(C)?2:v(C)?3:0}function u(C,T){return 2===o(C)?C.has(T):Object.prototype.hasOwnProperty.call(C,T)}function a(C,T){return 2===o(C)?C.get(T):C[T]}function f(C,T,B){var L=o(C);2===L?C.set(T,B):3===L?C.add(B):C[T]=B}function c(C,T){return C===T?0!==C||1/C==1/T:C!=C&&T!=T}function s(C){return K&&C instanceof Map}function v(C){return U&&C instanceof Set}function p(C){return C.o||C.t}function l(C){if(Array.isArray(C))return Array.prototype.slice.call(C);var T=J(C);delete T[G];for(var B=Q(T),L=0;L<B.length;L++){var q=B[L],H=T[q];!1===H.writable&&(H.writable=!0,H.configurable=!0),(H.get||H.set)&&(T[q]={configurable:!0,writable:!0,enumerable:H.enumerable,value:C[q]})}return Object.create(Object.getPrototypeOf(C),T)}function d(C,T){return void 0===T&&(T=!1),y(C)||r(C)||!t(C)||(o(C)>1&&(C.set=C.add=C.clear=C.delete=h),Object.freeze(C),T&&i(C,function(C,T){return d(T,!0)},!0)),C}function h(){n(2)}function y(C){return null==C||"object"!=typeof C||Object.isFrozen(C)}function b(C){var T=Z[C];return T||n(18,C),T}function m(C,T){Z[C]||(Z[C]=T)}function _(){return q}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function g(C){O(C),C.p.forEach(S),C.p=null}function O(C){C===q&&(q=C.l)}function w(C){return q={p:[],l:q,h:C,m:!0,_:0}}function S(C){var T=C[G];0===T.i||1===T.i?T.j():T.g=!0}function P(C,T){T._=T.p.length;var B=T.p[0],L=void 0!==C&&C!==B;return T.h.O||b("ES5").S(T,C,L),L?(B[G].P&&(g(T),n(4)),t(C)&&(C=M(T,C),T.l||x(T,C)),T.u&&b("Patches").M(B[G].t,C,T.u,T.s)):C=M(T,B,[]),g(T),T.u&&T.v(T.u,T.s),C!==V?C:void 0}function M(C,T,B){if(y(T))return T;var L=T[G];if(!L)return i(T,function(q,H){return A(C,L,T,q,H,B)},!0),T;if(L.A!==C)return T;if(!L.P)return x(C,L.t,!0),L.t;if(!L.I){L.I=!0,L.A._--;var q=4===L.i||5===L.i?L.o=l(L.k):L.o,H=q,K=!1;3===L.i&&(H=new Set(q),q.clear(),K=!0),i(H,function(T,H){return A(C,L,q,T,H,B,K)}),x(C,q,!1),B&&C.u&&b("Patches").N(L,B,C.u,C.s)}return L.o}function A(C,T,B,L,q,H,K){if(r(q)){var U=M(C,q,H&&T&&3!==T.i&&!u(T.R,L)?H.concat(L):void 0);if(f(B,L,U),!r(U))return;C.m=!1}else K&&B.add(q);if(t(q)&&!y(q)){if(!C.h.D&&C._<1)return;M(C,q),T&&T.A.l||x(C,q)}}function x(C,T,B){void 0===B&&(B=!1),!C.l&&C.h.D&&C.m&&d(T,B)}function z(C,T){var B=C[G];return(B?p(B):C)[T]}function I(C,T){if(T in C)for(var B=Object.getPrototypeOf(C);B;){var L=Object.getOwnPropertyDescriptor(B,T);if(L)return L;B=Object.getPrototypeOf(B)}}function k(C){C.P||(C.P=!0,C.l&&k(C.l))}function E(C){C.o||(C.o=l(C.t))}function N(C,T,B){var L=s(T)?b("MapSet").F(T,B):v(T)?b("MapSet").T(T,B):C.O?function(C,T){var B=Array.isArray(C),L={i:B?1:0,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:null,o:null,j:null,C:!1},q=L,H=Y;B&&(q=[L],H=ee);var K=Proxy.revocable(q,H),U=K.revoke,W=K.proxy;return L.k=W,L.j=U,W}(T,B):b("ES5").J(T,B);return(B?B.A:_()).p.push(L),L}function R(C){return r(C)||n(22,C),function n(C){if(!t(C))return C;var T,B=C[G],L=o(C);if(B){if(!B.P&&(B.i<4||!b("ES5").K(B)))return B.t;B.I=!0,T=D(C,L),B.I=!1}else T=D(C,L);return i(T,function(C,L){B&&a(B.t,C)===L||f(T,C,n(L))}),3===L?new Set(T):T}(C)}function D(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function F(){function t(T,B){var L=C[T];return L?L.enumerable=B:C[T]=L={configurable:!0,enumerable:B,get:function(){var C=this[G];return Y.get(C,T)},set:function(C){var B=this[G];Y.set(B,T,C)}},L}function e(C){for(var T=C.length-1;T>=0;T--){var B=C[T][G];if(!B.P)switch(B.i){case 5:a(B)&&k(B);break;case 4:o(B)&&k(B)}}}function o(C){for(var T=C.t,B=C.k,L=Q(B),q=L.length-1;q>=0;q--){var H=L[q];if(H!==G){var K=T[H];if(void 0===K&&!u(T,H))return!0;var U=B[H],W=U&&U[G];if(W?W.t!==K:!c(U,K))return!0}}var V=!!T[G];return L.length!==Q(T).length+(V?0:1)}function a(C){var T=C.k;if(T.length!==C.t.length)return!0;var B=Object.getOwnPropertyDescriptor(T,T.length-1);if(B&&!B.get)return!0;for(var L=0;L<T.length;L++)if(!T.hasOwnProperty(L))return!0;return!1}var C={};m("ES5",{J:function(C,T){var B=Array.isArray(C),L=function(C,T){if(C){for(var B=Array(T.length),L=0;L<T.length;L++)Object.defineProperty(B,""+L,t(L,!0));return B}var q=J(T);delete q[G];for(var H=Q(q),K=0;K<H.length;K++){var U=H[K];q[U]=t(U,C||!!q[U].enumerable)}return Object.create(Object.getPrototypeOf(T),q)}(B,C),q={i:B?5:4,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:L,o:null,g:!1,C:!1};return Object.defineProperty(L,G,{value:q,writable:!0}),L},S:function(C,T,B){B?r(T)&&T[G].A===C&&e(C.p):(C.u&&function n(C){if(C&&"object"==typeof C){var T=C[G];if(T){var B=T.t,L=T.k,q=T.R,H=T.i;if(4===H)i(L,function(C){C!==G&&(void 0!==B[C]||u(B,C)?q[C]||n(L[C]):(q[C]=!0,k(T)))}),i(B,function(C){void 0!==L[C]||u(L,C)||(q[C]=!1,k(T))});else if(5===H){if(a(T)&&(k(T),q.length=!0),L.length<B.length)for(var K=L.length;K<B.length;K++)q[K]=!1;else for(var U=B.length;U<L.length;U++)q[U]=!0;for(var W=Math.min(L.length,B.length),V=0;V<W;V++)L.hasOwnProperty(V)||(q[V]=!0),void 0===q[V]&&n(L[V])}}}}(C.p[0]),e(C.p))},K:function(C){return 4===C.i?o(C):a(C)}})}B.r(T),B.d(T,{EnhancerArray:()=>Se,MiddlewareArray:()=>ke,SHOULD_AUTOBATCH:()=>We,TaskAbortError:()=>Be,__DO_NOT_USE__ActionTypes:()=>ue,addListener:()=>qe,applyMiddleware:()=>applyMiddleware,autoBatchEnhancer:()=>autoBatchEnhancer,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>He,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createActionCreatorInvariantMiddleware:()=>createActionCreatorInvariantMiddleware,createAsyncThunk:()=>Pe,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>fe,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>R,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAction:()=>isAction,isActionCreator:()=>isActionCreator,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,isFluxStandardAction:()=>isFSA,isFulfilled:()=>isFulfilled,isImmutableDefault:()=>isImmutableDefault,isPending:()=>isPending,isPlain:()=>isPlain,isPlainObject:()=>redux_toolkit_esm_isPlainObject,isRejected:()=>isRejected,isRejectedWithValue:()=>isRejectedWithValue,legacy_createStore:()=>ce,miniSerializeError:()=>miniSerializeError,nanoid:()=>nanoid,original:()=>e,prepareAutoBatched:()=>prepareAutoBatched,removeListener:()=>Ke,unwrapResult:()=>unwrapResult});var L,q,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),K="undefined"!=typeof Map,U="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,V=H?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),$=H?Symbol.for("immer-draftable"):"__$immer_draftable",G=H?Symbol.for("immer-state"):"__$immer_state",X=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(C){var T={};return Q(C).forEach(function(B){T[B]=Object.getOwnPropertyDescriptor(C,B)}),T},Z={},Y={get:function(C,T){if(T===G)return C;var B=p(C);if(!u(B,T))return function(C,T,B){var L,q=I(T,B);return q?"value"in q?q.value:null===(L=q.get)||void 0===L?void 0:L.call(C.k):void 0}(C,B,T);var L=B[T];return C.I||!t(L)?L:L===z(C.t,T)?(E(C),C.o[T]=N(C.A.h,L,C)):L},has:function(C,T){return T in p(C)},ownKeys:function(C){return Reflect.ownKeys(p(C))},set:function(C,T,B){var L=I(p(C),T);if(null==L?void 0:L.set)return L.set.call(C.k,B),!0;if(!C.P){var q=z(p(C),T),H=null==q?void 0:q[G];if(H&&H.t===B)return C.o[T]=B,C.R[T]=!1,!0;if(c(B,q)&&(void 0!==B||u(C.t,T)))return!0;E(C),k(C)}return C.o[T]===B&&(void 0!==B||T in C.o)||Number.isNaN(B)&&Number.isNaN(C.o[T])||(C.o[T]=B,C.R[T]=!0),!0},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.R[T]=!1,E(C),k(C)):delete C.R[T],C.o&&delete C.o[T],!0},getOwnPropertyDescriptor:function(C,T){var B=p(C),L=Reflect.getOwnPropertyDescriptor(B,T);return L?{writable:!0,configurable:1!==C.i||"length"!==T,enumerable:L.enumerable,value:B[T]}:L},defineProperty:function(){n(11)},getPrototypeOf:function(C){return Object.getPrototypeOf(C.t)},setPrototypeOf:function(){n(12)}},ee={};i(Y,function(C,T){ee[C]=function(){return arguments[0]=arguments[0][0],T.apply(this,arguments)}}),ee.deleteProperty=function(C,T){return ee.set.call(this,C,T,void 0)},ee.set=function(C,T,B){return Y.set.call(this,C[0],T,B,C[0])};var te=function(){function e(C){var T=this;this.O=W,this.D=!0,this.produce=function(C,B,L){if("function"==typeof C&&"function"!=typeof B){var q=B;B=C;var H=T;return function(C){var T=this;void 0===C&&(C=q);for(var L=arguments.length,K=Array(L>1?L-1:0),U=1;U<L;U++)K[U-1]=arguments[U];return H.produce(C,function(C){var L;return(L=B).call.apply(L,[T,C].concat(K))})}}var K;if("function"!=typeof B&&n(6),void 0!==L&&"function"!=typeof L&&n(7),t(C)){var U=w(T),W=N(T,C,void 0),$=!0;try{K=B(W),$=!1}finally{$?g(U):O(U)}return"undefined"!=typeof Promise&&K instanceof Promise?K.then(function(C){return j(U,L),P(C,U)},function(C){throw g(U),C}):(j(U,L),P(K,U))}if(!C||"object"!=typeof C){if(void 0===(K=B(C))&&(K=C),K===V&&(K=void 0),T.D&&d(K,!0),L){var G=[],X=[];b("Patches").M(C,K,G,X),L(G,X)}return K}n(21,C)},this.produceWithPatches=function(C,B){if("function"==typeof C)return function(B){for(var L=arguments.length,q=Array(L>1?L-1:0),H=1;H<L;H++)q[H-1]=arguments[H];return T.produceWithPatches(B,function(T){return C.apply(void 0,[T].concat(q))})};var L,q,H=T.produce(C,B,function(C,T){L=C,q=T});return"undefined"!=typeof Promise&&H instanceof Promise?H.then(function(C){return[C,L,q]}):[H,L,q]},"boolean"==typeof(null==C?void 0:C.useProxies)&&this.setUseProxies(C.useProxies),"boolean"==typeof(null==C?void 0:C.autoFreeze)&&this.setAutoFreeze(C.autoFreeze)}var C=e.prototype;return C.createDraft=function(C){t(C)||n(8),r(C)&&(C=R(C));var T=w(this),B=N(this,C,void 0);return B[G].C=!0,O(T),B},C.finishDraft=function(C,T){var B=(C&&C[G]).A;return j(B,T),P(void 0,B)},C.setAutoFreeze=function(C){this.D=C},C.setUseProxies=function(C){C&&!W&&n(20),this.O=C},C.applyPatches=function(C,T){var B;for(B=T.length-1;B>=0;B--){var L=T[B];if(0===L.path.length&&"replace"===L.op){C=L.value;break}}B>-1&&(T=T.slice(B+1));var q=b("Patches").$;return r(C)?q(C,T):this.produce(C,function(C){return q(C,T)})},e}(),re=new te,ne=re.produce;re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re);const oe=ne;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function toPropertyKey(C){var T=function toPrimitive(C,T){if("object"!=_typeof(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var L=B.call(C,T||"default");if("object"!=_typeof(L))return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"==_typeof(T)?T:T+""}function _defineProperty(C,T,B){return(T=toPropertyKey(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(C);T&&(L=L.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),B.push.apply(B,L)}return B}function _objectSpread2(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach(function(T){_defineProperty(C,T,B[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))})}return C}function formatProdErrorMessage(C){return"Minified Redux error #"+C+"; visit https://redux.js.org/Errors?code="+C+" for the full message or use the non-minified dev environment for full errors. "}var ae="function"==typeof Symbol&&Symbol.observable||"@@observable",ie=function randomString(){return Math.random().toString(36).substring(7).split("").join(".")},ue={INIT:"@@redux/INIT"+ie(),REPLACE:"@@redux/REPLACE"+ie(),PROBE_UNKNOWN_ACTION:function PROBE_UNKNOWN_ACTION(){return"@@redux/PROBE_UNKNOWN_ACTION"+ie()}};function isPlainObject(C){if("object"!=typeof C||null===C)return!1;for(var T=C;null!==Object.getPrototypeOf(T);)T=Object.getPrototypeOf(T);return Object.getPrototypeOf(C)===T}function createStore(C,T,B){var L;if("function"==typeof T&&"function"==typeof B||"function"==typeof B&&"function"==typeof arguments[3])throw new Error(formatProdErrorMessage(0));if("function"==typeof T&&void 0===B&&(B=T,T=void 0),void 0!==B){if("function"!=typeof B)throw new Error(formatProdErrorMessage(1));return B(createStore)(C,T)}if("function"!=typeof C)throw new Error(formatProdErrorMessage(2));var q=C,H=T,K=[],U=K,W=!1;function ensureCanMutateNextListeners(){U===K&&(U=K.slice())}function getState(){if(W)throw new Error(formatProdErrorMessage(3));return H}function subscribe(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(4));if(W)throw new Error(formatProdErrorMessage(5));var T=!0;return ensureCanMutateNextListeners(),U.push(C),function unsubscribe(){if(T){if(W)throw new Error(formatProdErrorMessage(6));T=!1,ensureCanMutateNextListeners();var B=U.indexOf(C);U.splice(B,1),K=null}}}function dispatch(C){if(!isPlainObject(C))throw new Error(formatProdErrorMessage(7));if(void 0===C.type)throw new Error(formatProdErrorMessage(8));if(W)throw new Error(formatProdErrorMessage(9));try{W=!0,H=q(H,C)}finally{W=!1}for(var T=K=U,B=0;B<T.length;B++){(0,T[B])()}return C}return dispatch({type:ue.INIT}),(L={dispatch,subscribe,getState,replaceReducer:function replaceReducer(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(10));q=C,dispatch({type:ue.REPLACE})}})[ae]=function observable(){var C,T=subscribe;return(C={subscribe:function subscribe(C){if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(11));function observeState(){C.next&&C.next(getState())}return observeState(),{unsubscribe:T(observeState)}}})[ae]=function(){return this},C},L}var ce=createStore;function combineReducers(C){for(var T=Object.keys(C),B={},L=0;L<T.length;L++){var q=T[L];0,"function"==typeof C[q]&&(B[q]=C[q])}var H,K=Object.keys(B);try{!function assertReducerShape(C){Object.keys(C).forEach(function(T){var B=C[T];if(void 0===B(void 0,{type:ue.INIT}))throw new Error(formatProdErrorMessage(12));if(void 0===B(void 0,{type:ue.PROBE_UNKNOWN_ACTION()}))throw new Error(formatProdErrorMessage(13))})}(B)}catch(C){H=C}return function combination(C,T){if(void 0===C&&(C={}),H)throw H;for(var L=!1,q={},U=0;U<K.length;U++){var W=K[U],V=B[W],$=C[W],G=V($,T);if(void 0===G){T&&T.type;throw new Error(formatProdErrorMessage(14))}q[W]=G,L=L||G!==$}return(L=L||K.length!==Object.keys(C).length)?q:C}}function bindActionCreator(C,T){return function(){return T(C.apply(this,arguments))}}function bindActionCreators(C,T){if("function"==typeof C)return bindActionCreator(C,T);if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(16));var B={};for(var L in C){var q=C[L];"function"==typeof q&&(B[L]=bindActionCreator(q,T))}return B}function compose(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return 0===T.length?function(C){return C}:1===T.length?T[0]:T.reduce(function(C,T){return function(){return C(T.apply(void 0,arguments))}})}function applyMiddleware(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return function(C){return function(){var B=C.apply(void 0,arguments),L=function dispatch(){throw new Error(formatProdErrorMessage(15))},q={getState:B.getState,dispatch:function dispatch(){return L.apply(void 0,arguments)}},H=T.map(function(C){return C(q)});return L=compose.apply(void 0,H)(B.dispatch),_objectSpread2(_objectSpread2({},B),{},{dispatch:L})}}}var le="NOT_FOUND";var se=function defaultEqualityCheck(C,T){return C===T};function defaultMemoize(C,T){var B="object"==typeof T?T:{equalityCheck:T},L=B.equalityCheck,q=void 0===L?se:L,H=B.maxSize,K=void 0===H?1:H,U=B.resultEqualityCheck,W=function createCacheKeyComparator(C){return function areArgumentsShallowlyEqual(T,B){if(null===T||null===B||T.length!==B.length)return!1;for(var L=T.length,q=0;q<L;q++)if(!C(T[q],B[q]))return!1;return!0}}(q),V=1===K?function createSingletonCache(C){var T;return{get:function get(B){return T&&C(T.key,B)?T.value:le},put:function put(C,B){T={key:C,value:B}},getEntries:function getEntries(){return T?[T]:[]},clear:function clear(){T=void 0}}}(W):function createLruCache(C,T){var B=[];function get(C){var L=B.findIndex(function(B){return T(C,B.key)});if(L>-1){var q=B[L];return L>0&&(B.splice(L,1),B.unshift(q)),q.value}return le}return{get,put:function put(T,L){get(T)===le&&(B.unshift({key:T,value:L}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(K,W);function memoized(){var T=V.get(arguments);if(T===le){if(T=C.apply(null,arguments),U){var B=V.getEntries().find(function(C){return U(C.value,T)});B&&(T=B.value)}V.put(arguments,T)}return T}return memoized.clearCache=function(){return V.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),L=1;L<T;L++)B[L-1]=arguments[L];return function createSelector(){for(var T=arguments.length,L=new Array(T),q=0;q<T;q++)L[q]=arguments[q];var H,K=0,U={memoizeOptions:void 0},W=L.pop();if("object"==typeof W&&(U=W,W=L.pop()),"function"!=typeof W)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof W+"]");var V=U.memoizeOptions,$=void 0===V?B:V,G=Array.isArray($)?$:[$],X=function getDependencies(C){var T=Array.isArray(C[0])?C[0]:C;if(!T.every(function(C){return"function"==typeof C})){var B=T.map(function(C){return"function"==typeof C?"function "+(C.name||"unnamed")+"()":typeof C}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+B+"]")}return T}(L),Q=C.apply(void 0,[function recomputationWrapper(){return K++,W.apply(null,arguments)}].concat(G)),J=C(function dependenciesChecker(){for(var C=[],T=X.length,B=0;B<T;B++)C.push(X[B].apply(null,arguments));return H=Q.apply(null,C)});return Object.assign(J,{resultFunc:W,memoizedResultFunc:Q,dependencies:X,lastResult:function lastResult(){return H},recomputations:function recomputations(){return K},resetRecomputations:function resetRecomputations(){return K=0}}),J}}var fe=createSelectorCreator(defaultMemoize);function createThunkMiddleware(C){return function middleware(T){var B=T.dispatch,L=T.getState;return function(T){return function(q){return"function"==typeof q?q(B,L,C):T(q)}}}}var de=createThunkMiddleware();de.withExtraArgument=createThunkMiddleware;const pe=de;var ye,ve=(ye=function(C,T){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var B in T)Object.prototype.hasOwnProperty.call(T,B)&&(C[B]=T[B])},ye(C,T)},function(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function __(){this.constructor=C}ye(C,T),C.prototype=null===T?Object.create(T):(__.prototype=T.prototype,new __)}),__generator=function(C,T){var B,L,q,H,K={label:0,sent:function(){if(1&q[0])throw q[1];return q[1]},trys:[],ops:[]};return H={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function verb(H){return function(U){return function step(H){if(B)throw new TypeError("Generator is already executing.");for(;K;)try{if(B=1,L&&(q=2&H[0]?L.return:H[0]?L.throw||((q=L.return)&&q.call(L),0):L.next)&&!(q=q.call(L,H[1])).done)return q;switch(L=0,q&&(H=[2&H[0],q.value]),H[0]){case 0:case 1:q=H;break;case 4:return K.label++,{value:H[1],done:!1};case 5:K.label++,L=H[1],H=[0];continue;case 7:H=K.ops.pop(),K.trys.pop();continue;default:if(!(q=K.trys,(q=q.length>0&&q[q.length-1])||6!==H[0]&&2!==H[0])){K=0;continue}if(3===H[0]&&(!q||H[1]>q[0]&&H[1]<q[3])){K.label=H[1];break}if(6===H[0]&&K.label<q[1]){K.label=q[1],q=H;break}if(q&&K.label<q[2]){K.label=q[2],K.ops.push(H);break}q[2]&&K.ops.pop(),K.trys.pop();continue}H=T.call(C,K)}catch(C){H=[6,C],L=0}finally{B=q=0}if(5&H[0])throw H[1];return{value:H[0]?H[1]:void 0,done:!0}}([H,U])}}},__spreadArray=function(C,T){for(var B=0,L=T.length,q=C.length;B<L;B++,q++)C[q]=T[B];return C},ge=Object.defineProperty,he=Object.defineProperties,me=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,__defNormalProp=function(C,T,B){return T in C?ge(C,T,{enumerable:!0,configurable:!0,writable:!0,value:B}):C[T]=B},__spreadValues=function(C,T){for(var B in T||(T={}))_e.call(T,B)&&__defNormalProp(C,B,T[B]);if(be)for(var L=0,q=be(T);L<q.length;L++){B=q[L];we.call(T,B)&&__defNormalProp(C,B,T[B])}return C},__spreadProps=function(C,T){return he(C,me(T))},__async=function(C,T,B){return new Promise(function(L,q){var fulfilled=function(C){try{step(B.next(C))}catch(C){q(C)}},rejected=function(C){try{step(B.throw(C))}catch(C){q(C)}},step=function(C){return C.done?L(C.value):Promise.resolve(C.value).then(fulfilled,rejected)};step((B=B.apply(C,T)).next())})},createDraftSafeSelector=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var B=fe.apply(void 0,C);return function(C){for(var T=[],L=1;L<arguments.length;L++)T[L-1]=arguments[L];return B.apply(void 0,__spreadArray([r(C)?R(C):C],T))}},Oe="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?compose:compose.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function redux_toolkit_esm_isPlainObject(C){if("object"!=typeof C||null===C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;for(var B=T;null!==Object.getPrototypeOf(B);)B=Object.getPrototypeOf(B);return T===B}var hasMatchFunction=function(C){return C&&"function"==typeof C.match};function createAction(C,T){function actionCreator(){for(var B=[],L=0;L<arguments.length;L++)B[L]=arguments[L];if(T){var q=T.apply(void 0,B);if(!q)throw new Error("prepareAction did not return an object");return __spreadValues(__spreadValues({type:C,payload:q.payload},"meta"in q&&{meta:q.meta}),"error"in q&&{error:q.error})}return{type:C,payload:B[0]}}return actionCreator.toString=function(){return""+C},actionCreator.type=C,actionCreator.match=function(T){return T.type===C},actionCreator}function isAction(C){return redux_toolkit_esm_isPlainObject(C)&&"type"in C}function isActionCreator(C){return"function"==typeof C&&"type"in C&&hasMatchFunction(C)}function isFSA(C){return isAction(C)&&"string"==typeof C.type&&Object.keys(C).every(isValidKey)}function isValidKey(C){return["type","payload","error","meta"].indexOf(C)>-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var ke=function(C){function MiddlewareArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var L=C.apply(this,T)||this;return Object.setPrototypeOf(L,MiddlewareArray.prototype),L}return ve(MiddlewareArray,C),Object.defineProperty(MiddlewareArray,Symbol.species,{get:function(){return MiddlewareArray},enumerable:!1,configurable:!0}),MiddlewareArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},MiddlewareArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C[0].concat(this)))):new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C.concat(this))))},MiddlewareArray}(Array),Se=function(C){function EnhancerArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var L=C.apply(this,T)||this;return Object.setPrototypeOf(L,EnhancerArray.prototype),L}return ve(EnhancerArray,C),Object.defineProperty(EnhancerArray,Symbol.species,{get:function(){return EnhancerArray},enumerable:!1,configurable:!0}),EnhancerArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},EnhancerArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C[0].concat(this)))):new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C.concat(this))))},EnhancerArray}(Array);function freezeDraftable(C){return t(C)?oe(C,function(){}):C}function isImmutableDefault(C){return"object"!=typeof C||null==C||Object.isFrozen(C)}function createImmutableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function isPlain(C){var T=typeof C;return null==C||"string"===T||"boolean"===T||"number"===T||Array.isArray(C)||redux_toolkit_esm_isPlainObject(C)}function findNonSerializableValue(C,T,B,L,q,H){var K;if(void 0===T&&(T=""),void 0===B&&(B=isPlain),void 0===q&&(q=[]),!B(C))return{keyPath:T||"<root>",value:C};if("object"!=typeof C||null===C)return!1;if(null==H?void 0:H.has(C))return!1;for(var U=null!=L?L(C):Object.entries(C),W=q.length>0,_loop_2=function(C,U){var V=T?T+"."+C:C;if(W&&q.some(function(C){return C instanceof RegExp?C.test(V):V===C}))return"continue";return B(U)?"object"==typeof U&&(K=findNonSerializableValue(U,V,B,L,q,H))?{value:K}:void 0:{value:{keyPath:V,value:U}}},V=0,$=U;V<$.length;V++){var G=$[V],X=_loop_2(G[0],G[1]);if("object"==typeof X)return X.value}return H&&isNestedFrozen(C)&&H.add(C),!1}function isNestedFrozen(C){if(!Object.isFrozen(C))return!1;for(var T=0,B=Object.values(C);T<B.length;T++){var L=B[T];if("object"==typeof L&&null!==L&&!isNestedFrozen(L))return!1}return!0}function createSerializableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function getDefaultMiddleware(C){void 0===C&&(C={});var T=C.thunk,B=void 0===T||T,L=(C.immutableCheck,C.serializableCheck,C.actionCreatorCheck,new ke);return B&&(!function isBoolean(C){return"boolean"==typeof C}(B)?L.push(pe.withExtraArgument(B.extraArgument)):L.push(pe)),L}var Me=!0;function configureStore(C){var T,B=function curryGetDefaultMiddleware(){return function curriedGetDefaultMiddleware(C){return getDefaultMiddleware(C)}}(),L=C||{},q=L.reducer,H=void 0===q?void 0:q,K=L.middleware,U=void 0===K?B():K,W=L.devTools,V=void 0===W||W,$=L.preloadedState,G=void 0===$?void 0:$,X=L.enhancers,Q=void 0===X?void 0:X;if("function"==typeof H)T=H;else{if(!redux_toolkit_esm_isPlainObject(H))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');T=combineReducers(H)}var J=U;if("function"==typeof J&&(J=J(B),!Me&&!Array.isArray(J)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Me&&J.some(function(C){return"function"!=typeof C}))throw new Error("each middleware provided to configureStore must be a function");var Z=applyMiddleware.apply(void 0,J),Y=compose;V&&(Y=Oe(__spreadValues({trace:!Me},"object"==typeof V&&V)));var ee=new Se(Z),te=ee;return Array.isArray(Q)?te=__spreadArray([Z],Q):"function"==typeof Q&&(te=Q(ee)),createStore(T,G,Y.apply(void 0,te))}function executeReducerBuilderCallback(C){var T,B={},L=[],q={addCase:function(C,T){var L="string"==typeof C?C:C.type;if(!L)throw new Error("`builder.addCase` cannot be called with an empty action type");if(L in B)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return B[L]=T,q},addMatcher:function(C,T){return L.push({matcher:C,reducer:T}),q},addDefaultCase:function(C){return T=C,q}};return C(q),[B,L,T]}function createReducer(C,T,B,L){void 0===B&&(B=[]);var q,H="function"==typeof T?executeReducerBuilderCallback(T):[T,B,L],K=H[0],U=H[1],W=H[2];if(function isStateFunction(C){return"function"==typeof C}(C))q=function(){return freezeDraftable(C())};else{var V=freezeDraftable(C);q=function(){return V}}function reducer(C,T){void 0===C&&(C=q());var B=__spreadArray([K[T.type]],U.filter(function(C){return(0,C.matcher)(T)}).map(function(C){return C.reducer}));return 0===B.filter(function(C){return!!C}).length&&(B=[W]),B.reduce(function(C,B){if(B){var L;if(r(C))return void 0===(L=B(C,T))?C:L;if(t(C))return oe(C,function(C){return B(C,T)});if(void 0===(L=B(C,T))){if(null===C)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return C},C)}return reducer.getInitialState=q,reducer}function createSlice(C){var T=C.name;if(!T)throw new Error("`name` is a required option for createSlice");var B,L="function"==typeof C.initialState?C.initialState:freezeDraftable(C.initialState),q=C.reducers||{},H=Object.keys(q),K={},U={},W={};function buildReducer(){var T="function"==typeof C.extraReducers?executeReducerBuilderCallback(C.extraReducers):[C.extraReducers],B=T[0],q=void 0===B?{}:B,H=T[1],K=void 0===H?[]:H,W=T[2],V=void 0===W?void 0:W,$=__spreadValues(__spreadValues({},q),U);return createReducer(L,function(C){for(var T in $)C.addCase(T,$[T]);for(var B=0,L=K;B<L.length;B++){var q=L[B];C.addMatcher(q.matcher,q.reducer)}V&&C.addDefaultCase(V)})}return H.forEach(function(C){var B,L,H=q[C],V=function getType2(C,T){return C+"/"+T}(T,C);"reducer"in H?(B=H.reducer,L=H.prepare):B=H,K[C]=B,U[V]=B,W[C]=L?createAction(V,L):createAction(V)}),{name:T,reducer:function(C,T){return B||(B=buildReducer()),B(C,T)},actions:W,caseReducers:K,getInitialState:function(){return B||(B=buildReducer()),B.getInitialState()}}}function createStateOperator(C){return function operation(T,B){var runMutator=function(T){!function isPayloadActionArgument(C){return isFSA(C)}(B)?C(B,T):C(B.payload,T)};return r(T)?(runMutator(T),T):oe(T,runMutator)}}function selectIdValue(C,T){return T(C)}function ensureEntitiesArray(C){return Array.isArray(C)||(C=Object.values(C)),C}function splitAddedUpdatedEntities(C,T,B){for(var L=[],q=[],H=0,K=C=ensureEntitiesArray(C);H<K.length;H++){var U=K[H],W=selectIdValue(U,T);W in B.entities?q.push({id:W,changes:U}):L.push(U)}return[L,q]}function createUnsortedStateAdapter(C){function addOneMutably(T,B){var L=selectIdValue(T,C);L in B.entities||(B.ids.push(L),B.entities[L]=T)}function addManyMutably(C,T){for(var B=0,L=C=ensureEntitiesArray(C);B<L.length;B++){addOneMutably(L[B],T)}}function setOneMutably(T,B){var L=selectIdValue(T,C);L in B.entities||B.ids.push(L),B.entities[L]=T}function removeManyMutably(C,T){var B=!1;C.forEach(function(C){C in T.entities&&(delete T.entities[C],B=!0)}),B&&(T.ids=T.ids.filter(function(C){return C in T.entities}))}function updateManyMutably(T,B){var L={},q={};if(T.forEach(function(C){C.id in B.entities&&(q[C.id]={id:C.id,changes:__spreadValues(__spreadValues({},q[C.id]?q[C.id].changes:null),C.changes)})}),(T=Object.values(q)).length>0){var H=T.filter(function(T){return function takeNewKey(T,B,L){var q=L.entities[B.id],H=Object.assign({},q,B.changes),K=selectIdValue(H,C),U=K!==B.id;return U&&(T[B.id]=K,delete L.entities[B.id]),L.entities[K]=H,U}(L,T,B)}).length>0;H&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var L=splitAddedUpdatedEntities(T,C,B),q=L[0];updateManyMutably(L[1],B),addManyMutably(q,B)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},B=createStateOperator(function(C,B){return T(B)}),function operation(C){return B(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator(function setManyMutably(C,T){for(var B=0,L=C=ensureEntitiesArray(C);B<L.length;B++){setOneMutably(L[B],T)}}),setAll:createStateOperator(function setAllMutably(C,T){C=ensureEntitiesArray(C),T.ids=[],T.entities={},addManyMutably(C,T)}),updateOne:createStateOperator(function updateOneMutably(C,T){return updateManyMutably([C],T)}),updateMany:createStateOperator(updateManyMutably),upsertOne:createStateOperator(function upsertOneMutably(C,T){return upsertManyMutably([C],T)}),upsertMany:createStateOperator(upsertManyMutably),removeOne:createStateOperator(function removeOneMutably(C,T){return removeManyMutably([C],T)}),removeMany:createStateOperator(removeManyMutably)};var T,B}function createEntityAdapter(C){void 0===C&&(C={});var T=__spreadValues({sortComparer:!1,selectId:function(C){return C.id}},C),B=T.selectId,L=T.sortComparer,q=function createInitialStateFactory(){return{getInitialState:function getInitialState(C){return void 0===C&&(C={}),Object.assign({ids:[],entities:{}},C)}}}(),H=function createSelectorsFactory(){return{getSelectors:function getSelectors(C){var selectIds=function(C){return C.ids},selectEntities=function(C){return C.entities},T=createDraftSafeSelector(selectIds,selectEntities,function(C,T){return C.map(function(C){return T[C]})}),selectId=function(C,T){return T},selectById=function(C,T){return C[T]},B=createDraftSafeSelector(selectIds,function(C){return C.length});if(!C)return{selectIds,selectEntities,selectAll:T,selectTotal:B,selectById:createDraftSafeSelector(selectEntities,selectId,selectById)};var L=createDraftSafeSelector(C,selectEntities);return{selectIds:createDraftSafeSelector(C,selectIds),selectEntities:L,selectAll:createDraftSafeSelector(C,T),selectTotal:createDraftSafeSelector(C,B),selectById:createDraftSafeSelector(L,selectId,selectById)}}}}(),K=L?function createSortedStateAdapter(C,T){var B=createUnsortedStateAdapter(C);function addManyMutably(T,B){var L=(T=ensureEntitiesArray(T)).filter(function(T){return!(selectIdValue(T,C)in B.entities)});0!==L.length&&merge(L,B)}function setManyMutably(C,T){0!==(C=ensureEntitiesArray(C)).length&&merge(C,T)}function updateManyMutably(T,B){for(var L=!1,q=0,H=T;q<H.length;q++){var K=H[q],U=B.entities[K.id];if(U){L=!0,Object.assign(U,K.changes);var W=C(U);K.id!==W&&(delete B.entities[K.id],B.entities[W]=U)}}L&&resortEntities(B)}function upsertManyMutably(T,B){var L=splitAddedUpdatedEntities(T,C,B),q=L[0];updateManyMutably(L[1],B),addManyMutably(q,B)}function merge(T,B){T.forEach(function(T){B.entities[C(T)]=T}),resortEntities(B)}function resortEntities(B){var L=Object.values(B.entities);L.sort(T);var q=L.map(C);(function areArraysEqual(C,T){if(C.length!==T.length)return!1;for(var B=0;B<C.length&&B<T.length;B++)if(C[B]!==T[B])return!1;return!0})(B.ids,q)||(B.ids=q)}return{removeOne:B.removeOne,removeMany:B.removeMany,removeAll:B.removeAll,addOne:createStateOperator(function addOneMutably(C,T){return addManyMutably([C],T)}),updateOne:createStateOperator(function updateOneMutably(C,T){return updateManyMutably([C],T)}),upsertOne:createStateOperator(function upsertOneMutably(C,T){return upsertManyMutably([C],T)}),setOne:createStateOperator(function setOneMutably(C,T){return setManyMutably([C],T)}),setMany:createStateOperator(setManyMutably),setAll:createStateOperator(function setAllMutably(C,T){C=ensureEntitiesArray(C),T.entities={},T.ids=[],addManyMutably(C,T)}),addMany:createStateOperator(addManyMutably),updateMany:createStateOperator(updateManyMutably),upsertMany:createStateOperator(upsertManyMutably)}}(B,L):createUnsortedStateAdapter(B);return __spreadValues(__spreadValues(__spreadValues({selectId:B,sortComparer:L},q),H),K)}var nanoid=function(C){void 0===C&&(C=21);for(var T="",B=C;B--;)T+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return T},Ce=["name","message","stack","code"],Ae=function Ae(C,T){this.payload=C,this.meta=T},je=function je(C,T){this.payload=C,this.meta=T},miniSerializeError=function(C){if("object"==typeof C&&null!==C){for(var T={},B=0,L=Ce;B<L.length;B++){var q=L[B];"string"==typeof C[q]&&(T[q]=C[q])}return T}return{message:String(C)}},Pe=function(){function createAsyncThunk2(C,T,B){var L=createAction(C+"/fulfilled",function(C,T,B,L){return{payload:C,meta:__spreadProps(__spreadValues({},L||{}),{arg:B,requestId:T,requestStatus:"fulfilled"})}}),q=createAction(C+"/pending",function(C,T,B){return{payload:void 0,meta:__spreadProps(__spreadValues({},B||{}),{arg:T,requestId:C,requestStatus:"pending"})}}),H=createAction(C+"/rejected",function(C,T,L,q,H){return{payload:q,error:(B&&B.serializeError||miniSerializeError)(C||"Rejected"),meta:__spreadProps(__spreadValues({},H||{}),{arg:L,requestId:T,rejectedWithValue:!!q,requestStatus:"rejected",aborted:"AbortError"===(null==C?void 0:C.name),condition:"ConditionError"===(null==C?void 0:C.name)})}}),K="undefined"!=typeof AbortController?AbortController:function(){function class_1(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return class_1.prototype.abort=function(){0},class_1}();return Object.assign(function actionCreator(C){return function(U,W,V){var $,G=(null==B?void 0:B.idGenerator)?B.idGenerator(C):nanoid(),X=new K;function abort(C){$=C,X.abort()}var Q=function(){return __async(this,null,function(){var K,Q,J,Z,Y,ee;return __generator(this,function(te){switch(te.label){case 0:return te.trys.push([0,4,,5]),function isThenable(C){return null!==C&&"object"==typeof C&&"function"==typeof C.then}(Z=null==(K=null==B?void 0:B.condition)?void 0:K.call(B,C,{getState:W,extra:V}))?[4,Z]:[3,2];case 1:Z=te.sent(),te.label=2;case 2:if(!1===Z||X.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return Y=new Promise(function(C,T){return X.signal.addEventListener("abort",function(){return T({name:"AbortError",message:$||"Aborted"})})}),U(q(G,C,null==(Q=null==B?void 0:B.getPendingMeta)?void 0:Q.call(B,{requestId:G,arg:C},{getState:W,extra:V}))),[4,Promise.race([Y,Promise.resolve(T(C,{dispatch:U,getState:W,extra:V,requestId:G,signal:X.signal,abort,rejectWithValue:function(C,T){return new Ae(C,T)},fulfillWithValue:function(C,T){return new je(C,T)}})).then(function(T){if(T instanceof Ae)throw T;return T instanceof je?L(T.payload,G,C,T.meta):L(T,G,C)})])];case 3:return J=te.sent(),[3,5];case 4:return ee=te.sent(),J=ee instanceof Ae?H(null,G,C,ee.payload,ee.meta):H(ee,G,C),[3,5];case 5:return B&&!B.dispatchConditionRejection&&H.match(J)&&J.meta.condition||U(J),[2,J]}})})}();return Object.assign(Q,{abort,requestId:G,arg:C,unwrap:function(){return Q.then(unwrapResult)}})}},{pending:q,rejected:H,fulfilled:L,typePrefix:C})}return createAsyncThunk2.withTypes=function(){return createAsyncThunk2},createAsyncThunk2}();function unwrapResult(C){if(C.meta&&C.meta.rejectedWithValue)throw C.payload;if(C.error)throw C.error;return C.payload}var matches=function(C,T){return hasMatchFunction(C)?C.match(T):C(T)};function isAnyOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.some(function(C){return matches(C,T)})}}function isAllOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.every(function(C){return matches(C,T)})}}function hasExpectedRequestMetadata(C,T){if(!C||!C.meta)return!1;var B="string"==typeof C.meta.requestId,L=T.indexOf(C.meta.requestStatus)>-1;return B&&L}function isAsyncThunkArray(C){return"function"==typeof C[0]&&"pending"in C[0]&&"fulfilled"in C[0]&&"rejected"in C[0]}function isPending(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending"])}:isAsyncThunkArray(C)?function(T){var B=C.map(function(C){return C.pending});return isAnyOf.apply(void 0,B)(T)}:isPending()(C[0])}function isRejected(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["rejected"])}:isAsyncThunkArray(C)?function(T){var B=C.map(function(C){return C.rejected});return isAnyOf.apply(void 0,B)(T)}:isRejected()(C[0])}function isRejectedWithValue(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var hasFlag=function(C){return C&&C.meta&&C.meta.rejectedWithValue};return 0===C.length||isAsyncThunkArray(C)?function(T){return isAllOf(isRejected.apply(void 0,C),hasFlag)(T)}:isRejectedWithValue()(C[0])}function isFulfilled(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["fulfilled"])}:isAsyncThunkArray(C)?function(T){var B=C.map(function(C){return C.fulfilled});return isAnyOf.apply(void 0,B)(T)}:isFulfilled()(C[0])}function isAsyncThunkAction(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending","fulfilled","rejected"])}:isAsyncThunkArray(C)?function(T){for(var B=[],L=0,q=C;L<q.length;L++){var H=q[L];B.push(H.pending,H.rejected,H.fulfilled)}return isAnyOf.apply(void 0,B)(T)}:isAsyncThunkAction()(C[0])}var assertFunction=function(C,T){if("function"!=typeof C)throw new TypeError(T+" is not a function")},noop=function(){},catchRejection=function(C,T){return void 0===T&&(T=noop),C.catch(T),C},addAbortSignalListener=function(C,T){return C.addEventListener("abort",T,{once:!0}),function(){return C.removeEventListener("abort",T)}},abortControllerWithReason=function(C,T){var B=C.signal;B.aborted||("reason"in B||Object.defineProperty(B,"reason",{enumerable:!0,value:T,configurable:!0,writable:!0}),C.abort(T))},Ee="listener",xe="completed",Re="cancelled",Te="task-"+Re,Ie="task-"+xe,Ne=Ee+"-"+Re,De=Ee+"-"+xe,Be=function Be(C){this.code=C,this.name="TaskAbortError",this.message="task "+Re+" (reason: "+C+")"},validateActive=function(C){if(C.aborted)throw new Be(C.reason)};function raceWithSignal(C,T){var B=noop;return new Promise(function(L,q){var notifyRejection=function(){return q(new Be(C.reason))};C.aborted?notifyRejection():(B=addAbortSignalListener(C,notifyRejection),T.finally(function(){return B()}).then(L,q))}).finally(function(){B=noop})}var createPause=function(C){return function(T){return catchRejection(raceWithSignal(C,T).then(function(T){return validateActive(C),T}))}},createDelay=function(C){var T=createPause(C);return function(C){return T(new Promise(function(T){return setTimeout(T,C)}))}},Le=Object.assign,Fe={},ze="listenerMiddleware",createFork=function(C,T){return function(B,L){assertFunction(B,"taskExecutor");var q,H=new AbortController;q=H,addAbortSignalListener(C,function(){return abortControllerWithReason(q,C.reason)});var K,U,W=(K=function(){return __async(void 0,null,function(){var T;return __generator(this,function(L){switch(L.label){case 0:return validateActive(C),validateActive(H.signal),[4,B({pause:createPause(H.signal),delay:createDelay(H.signal),signal:H.signal})];case 1:return T=L.sent(),validateActive(H.signal),[2,T]}})})},U=function(){return abortControllerWithReason(H,Ie)},__async(void 0,null,function(){var C;return __generator(this,function(T){switch(T.label){case 0:return T.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return T.sent(),[4,K()];case 2:return[2,{status:"ok",value:T.sent()}];case 3:return[2,{status:(C=T.sent())instanceof Be?"cancelled":"rejected",error:C}];case 4:return null==U||U(),[7];case 5:return[2]}})}));return(null==L?void 0:L.autoJoin)&&T.push(W),{result:createPause(C)(W),cancel:function(){abortControllerWithReason(H,Te)}}}},createTakePattern=function(C,T){return function(B,L){return catchRejection(function(B,L){return __async(void 0,null,function(){var q,H,K,U;return __generator(this,function(W){switch(W.label){case 0:validateActive(T),q=function(){},H=new Promise(function(T,L){var H=C({predicate:B,effect:function(C,B){B.unsubscribe(),T([C,B.getState(),B.getOriginalState()])}});q=function(){H(),L()}}),K=[H],null!=L&&K.push(new Promise(function(C){return setTimeout(C,L,null)})),W.label=1;case 1:return W.trys.push([1,,3,4]),[4,raceWithSignal(T,Promise.race(K))];case 2:return U=W.sent(),validateActive(T),[2,U];case 3:return q(),[7];case 4:return[2]}})})}(B,L))}},getListenerEntryPropsFrom=function(C){var T=C.type,B=C.actionCreator,L=C.matcher,q=C.predicate,H=C.effect;if(T)q=createAction(T).match;else if(B)T=B.type,q=B.match;else if(L)q=L;else if(!q)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return assertFunction(H,"options.listener"),{predicate:q,type:T,effect:H}},createListenerEntry=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,L=T.predicate,q=T.effect;return{id:nanoid(),effect:q,type:B,predicate:L,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},cancelActiveListeners=function(C){C.pending.forEach(function(C){abortControllerWithReason(C,Ne)})},createClearListenerMiddleware=function(C){return function(){C.forEach(cancelActiveListeners),C.clear()}},safelyNotifyError=function(C,T,B){try{C(T,B)}catch(C){setTimeout(function(){throw C},0)}},qe=createAction(ze+"/add"),He=createAction(ze+"/removeAll"),Ke=createAction(ze+"/remove"),defaultErrorHandler=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];console.error.apply(console,__spreadArray([ze+"/error"],C))};function createListenerMiddleware(C){var T=this;void 0===C&&(C={});var B=new Map,L=C.extra,q=C.onError,H=void 0===q?defaultErrorHandler:q;assertFunction(H,"onError");var findListenerEntry=function(C){for(var T=0,L=Array.from(B.values());T<L.length;T++){var q=L[T];if(C(q))return q}},startListening=function(C){var T=findListenerEntry(function(T){return T.effect===C.effect});return T||(T=createListenerEntry(C)),function(C){return C.unsubscribe=function(){return B.delete(C.id)},B.set(C.id,C),function(T){C.unsubscribe(),(null==T?void 0:T.cancelActive)&&cancelActiveListeners(C)}}(T)},stopListening=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,L=T.effect,q=T.predicate,H=findListenerEntry(function(C){return("string"==typeof B?C.type===B:C.predicate===q)&&C.effect===L});return H&&(H.unsubscribe(),C.cancelActive&&cancelActiveListeners(H)),!!H},notifyListener=function(C,q,K,U){return __async(T,null,function(){var T,W,V,$;return __generator(this,function(G){switch(G.label){case 0:T=new AbortController,W=createTakePattern(startListening,T.signal),V=[],G.label=1;case 1:return G.trys.push([1,3,4,6]),C.pending.add(T),[4,Promise.resolve(C.effect(q,Le({},K,{getOriginalState:U,condition:function(C,T){return W(C,T).then(Boolean)},take:W,delay:createDelay(T.signal),pause:createPause(T.signal),extra:L,signal:T.signal,fork:createFork(T.signal,V),unsubscribe:C.unsubscribe,subscribe:function(){B.set(C.id,C)},cancelActiveListeners:function(){C.pending.forEach(function(C,B,L){C!==T&&(abortControllerWithReason(C,Ne),L.delete(C))})}})))];case 2:return G.sent(),[3,6];case 3:return($=G.sent())instanceof Be||safelyNotifyError(H,$,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(V)];case 5:return G.sent(),abortControllerWithReason(T,De),C.pending.delete(T),[7];case 6:return[2]}})})},K=createClearListenerMiddleware(B);return{middleware:function(C){return function(T){return function(L){if(!isAction(L))return T(L);if(qe.match(L))return startListening(L.payload);if(!He.match(L)){if(Ke.match(L))return stopListening(L.payload);var q,U=C.getState(),getOriginalState=function(){if(U===Fe)throw new Error(ze+": getOriginalState can only be called synchronously");return U};try{if(q=T(L),B.size>0)for(var W=C.getState(),V=Array.from(B.values()),$=0,G=V;$<G.length;$++){var X=G[$],Q=!1;try{Q=X.predicate(L,W,U)}catch(C){Q=!1,safelyNotifyError(H,C,{raisedBy:"predicate"})}Q&¬ifyListener(X,L,C,getOriginalState)}}finally{U=Fe}return q}K()}}},startListening,stopListening,clearListeners:K}}var Ue,We="RTK_autoBatch",prepareAutoBatched=function(){return function(C){var T;return{payload:C,meta:(T={},T[We]=!0,T)}}},Ve="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:void 0!==B.g?B.g:globalThis):function(C){return(Ue||(Ue=Promise.resolve())).then(C).catch(function(C){return setTimeout(function(){throw C},0)})},createQueueWithTimer=function(C){return function(T){setTimeout(T,C)}},$e="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=function(C){return void 0===C&&(C={type:"raf"}),function(T){return function(){for(var B=[],L=0;L<arguments.length;L++)B[L]=arguments[L];var q=T.apply(void 0,B),H=!0,K=!1,U=!1,W=new Set,V="tick"===C.type?Ve:"raf"===C.type?$e:"callback"===C.type?C.queueNotification:createQueueWithTimer(C.timeout),notifyListeners=function(){U=!1,K&&(K=!1,W.forEach(function(C){return C()}))};return Object.assign({},q,{subscribe:function(C){var T=q.subscribe(function(){return H&&C()});return W.add(C),function(){T(),W.delete(C)}},dispatch:function(C){var T;try{return H=!(null==(T=null==C?void 0:C.meta)?void 0:T[We]),(K=!H)&&(U||(U=!0,V(notifyListeners))),q.dispatch(C)}finally{H=!0}}})}}};F()},51265:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(641)),H=L(B(82425)),K=L(B(82946)),U=L(B(41599)),W=L(B(52970)),V=L(B(68685)),$=B(20992),G=B(89031),X=B(41462),Q=B(3073);T.default=window.elementorModules={Module:q.default,ViewModule:H.default,ArgsObject:K.default,ForceMethodImplementation:V.default,utils:{Masonry:U.default,Scroll:W.default},importExport:{templateRegistry:$.templateRegistry,createGetInitialState:G.createGetInitialState,customizationDialogsRegistry:X.customizationDialogsRegistry},appsEventTracking:{AppsEventTracking:Q.AppsEventTracking}}},52970:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989));T.default=function(){return(0,H.default)(function Scroll(){(0,q.default)(this,Scroll)},null,[{key:"scrollObserver",value:function scrollObserver(C){var T=0,B={root:C.root||null,rootMargin:C.offset||"0px",threshold:function buildThresholds(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,T=[];if(C>0&&C<=100)for(var B=100/C,L=0;L<=100;L+=B)T.push(L/100);else T.push(0);return T}(C.sensitivity)};return new IntersectionObserver(function handleIntersect(B){var L=B[0].boundingClientRect.y,q=B[0].isIntersecting,H=L<T?"down":"up",K=Math.abs(parseFloat((100*B[0].intersectionRatio).toFixed(2)));C.callback({sensitivity:C.sensitivity,isInViewport:q,scrollPercentage:K,intersectionScrollDirection:H}),T=L},B)}},{key:"getElementViewportPercentage",value:function getElementViewportPercentage(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=C[0].getBoundingClientRect(),L=T.start||0,q=T.end||0,H=window.innerHeight*L/100,K=window.innerHeight*q/100,U=B.top-window.innerHeight,W=0-U+H,V=B.top+H+C.height()-U+K,$=Math.max(0,Math.min(W/V,1));return parseFloat((100*$).toFixed(2))}},{key:"getPageScrollPercentage",value:function getPageScrollPercentage(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0,B=C.start||0,L=C.end||0,q=T||document.documentElement.scrollHeight-document.documentElement.clientHeight,H=q*B/100,K=q+H+q*L/100;return(document.documentElement.scrollTop+document.body.scrollTop+H)/K*100}}])}()},64537:C=>{C.exports=function _readOnlyError(C){throw new TypeError('"'+C+'" is read-only')},C.exports.__esModule=!0,C.exports.default=C.exports},65474:C=>{C.exports=function _iterableToArrayLimit(C,T){var B=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=B){var L,q,H,K,U=[],W=!0,V=!1;try{if(H=(B=B.call(C)).next,0===T){if(Object(B)!==B)return;W=!1}else for(;!(W=(L=H.call(B)).done)&&(U.push(L.value),U.length!==T);W=!0);}catch(C){V=!0,q=C}finally{try{if(!W&&null!=B.return&&(K=B.return(),Object(K)!==K))return}finally{if(V)throw q}}return U}},C.exports.__esModule=!0,C.exports.default=C.exports},65826:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},68685:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var q=L(B(40989)),H=L(B(39805)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.ForceMethodImplementation=function(C){function ForceMethodImplementation(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,H.default)(this,ForceMethodImplementation),C=function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,ForceMethodImplementation,["".concat(T.isStatic?"static ":"").concat(T.fullName,"() should be implemented, please provide '").concat(T.functionName||T.fullName,"' functionality."),B]),Object.keys(B).length&&console.error(B),Error.captureStackTrace(C,ForceMethodImplementation),C}return(0,W.default)(ForceMethodImplementation,C),(0,q.default)(ForceMethodImplementation)}((0,V.default)(Error));T.default=function _default(C){var T=Error().stack.split("\n")[2].trim(),B=T.startsWith("at new")?"constructor":T.split(" ")[1],L={};if(L.functionName=B,L.fullName=B,L.functionName.includes(".")){var q=L.functionName.split(".");L.className=q[0],L.functionName=q[1]}else L.isStatic=!0;throw new $(L,C)}},70569:C=>{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},70751:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(29402)),U=L(B(41621));T.default=function(){function InstanceType(){var C=this;(0,q.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,B=[];T.__proto__&&T.__proto__.name;)B.push(T.__proto__),T=T.__proto__;B.reverse().forEach(function(T){return C instanceof T})}return(0,H.default)(InstanceType,null,[{key:Symbol.hasInstance,value:function value(C){var T=function _superPropGet(C,T,B,L){var q=(0,U.default)((0,K.default)(1&L?C.prototype:C),T,B);return 2&L&&"function"==typeof q?function(C){return q.apply(B,C)}:q}(InstanceType,Symbol.hasInstance,this,2)([C]);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var B=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(B)&&C.instanceTypes.push(B)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}()},71434:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default={triggers:{click:"Click",accordionClick:"Accordion Click",toggleClick:"Toggle Click",dropdownClick:"Click Dropdown",editorLoaded:"Editor Loaded",visible:"Visible",pageLoaded:"Page Loaded"},locations:{widgetPanel:"Widget Panel",topBar:"Top Bar",elementorEditor:"Elementor Editor",templatesLibrary:{library:"Templates Library"},app:{import:"Import Kit",export:"Export Kit",kitLibrary:"Kit Library",cloudKitLibrary:"Cloud Kit Library"},variables:"Variables Panel",admin:"WP admin"},secondaryLocations:{layout:"Layout Section",basic:"Basic Section","pro-elements":"Pro Section",general:"General Section","theme-elements":"Site Section","theme-elements-single":"Single Section","woocommerce-elements":"WooCommerce Section",wordpress:"WordPress Section",categories:"Widgets Tab",global:"Globals Tab","whats-new":"What's New","document-settings":"Document Settings icon","preview-page":"Preview Page","publish-button":"Publish Button","widget-panel":"Widget Panel Icon",finder:"Finder",help:"Help",elementorLogoDropdown:"top_bar_elementor_logo_dropdown",elementorLogo:"Elementor Logo",eLogoMenu:"E-logo Menu",notes:"Notes",siteSettings:"Site Settings",structure:"Structure",documentNameDropdown:"Document Name dropdown",responsiveControls:"Responsive controls",launchpad:"launchpad",checklistHeader:"Checklist Header",checklistSteps:"Checklist Steps",userPreferences:"User Preferences",contextMenu:"Context Menu",templateLibrary:{saveModal:"Save to Modal",moveModal:"Move to Modal",bulkMoveModal:"Bulk Move to Modal",copyModal:"Copy to Modal",bulkCopyModal:"Bulk Copy to Modal",saveModalSelectFolder:"Save to Modal - select folder",saveModalSelectConnect:"Save to Modal - connect",saveModalSelectUpgrade:"Save to Modal - upgrade",importModal:"Import Modal",newFolderModal:"New Folder Modal",deleteDialog:"Delete Dialog",deleteFolderDialog:"Delete Folder Dialog",renameDialog:"Rename Dialog",createFolderDialog:"Create Folder Dialog",applySettingsDialog:"Apply Settings Dialog",cloudTab:"Cloud Tab",siteTab:"Site Tab",cloudTabFolder:"Cloud Tab - Folder",cloudTabConnect:"Cloud Tab - Connect",cloudTabUpgrade:"Cloud Tab - Upgrade",morePopup:"Context Menu",quotaBar:"Quota Bar"},kitLibrary:{cloudKitLibrary:"kits_cloud_library",cloudKitLibraryConnect:"kits_cloud_library_connect",cloudKitLibraryUpgrade:"kits_cloud_library_upgrade",kitExportCustomization:"kit_export_customization",kitExport:"kit_export",kitExportCustomizationEdit:"kit_export_customization_edit",kitExportSummary:"kit_export_summary",kitImportUploadBox:"kit_import_upload_box",kitImportCustomization:"kit_import_customization",kitImportSummary:"kit_import_summary"},variablesPopover:"Variables Popover",admin:{pluginToolsTab:"plugin_tools_tab",pluginWebsiteTemplatesTab:"plugin_website_templates_tab"}},elements:{accordionSection:"Accordion section",buttonIcon:"Button Icon",mainCta:"Main CTA",button:"Button",link:"Link",dropdown:"Dropdown",toggle:"Toggle",launchpadChecklist:"Checklist popup"},names:{v1:{layout:"v1_widgets_tab_layout_section",basic:"v1_widgets_tab_basic_section","pro-elements":"v1_widgets_tab_pro_section",general:"v1_widgets_tab_general_section","theme-elements":"v1_widgets_tab_site_section","theme-elements-single":"v1_widgets_tab_single_section","woocommerce-elements":"v1_widgets_tab_woocommerce_section",wordpress:"v1_widgets_tab_wordpress_section",categories:"v1_widgets_tab",global:"v1_globals_tab"},topBar:{whatsNew:"top_bar_whats_new",documentSettings:"top_bar_document_settings_icon",previewPage:"top_bar_preview_page",publishButton:"top_bar_publish_button",widgetPanel:"top_bar_widget_panel_icon",finder:"top_bar_finder",help:"top_bar_help",history:"top_bar_elementor_logo_dropdown_history",userPreferences:"top_bar_elementor_logo_dropdown_user_preferences",keyboardShortcuts:"top_bar_elementor_logo_dropdown_keyboard_shortcuts",exitToWordpress:"top_bar_elementor_logo_dropdown_exit_to_wordpress",themeBuilder:"top_bar_elementor_logo_dropdown_theme_builder",notes:"top_bar_notes",siteSettings:"top_bar_site_setting",structure:"top_bar_structure",documentNameDropdown:"top_bar_document_name_dropdown",responsiveControls:"top_bar_responsive_controls",launchpadOn:"top_bar_checklist_icon_show",launchpadOff:"top_bar_checklist_icon_hide",elementorLogoDropdown:"open_e_menu",connectAccount:"connect_account",accountConnected:"account_connected"},elementorEditor:{checklist:{checklistHeaderClose:"checklist_header_close_icon",checklistFirstPopup:"checklist popup triggered"},userPreferences:{checklistShow:"checklist_userpreferences_toggle_show",checklistHide:"checklist_userpreferences_toggle_hide"}},variables:{open:"open_variables_popover",add:"add_new_variable",connect:"connect_variable",save:"save_new_variable"}}}},78113:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,L=Array(T);B<T;B++)L[B]=C[B];return L},C.exports.__esModule=!0,C.exports.default=C.exports},78687:C=>{C.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},79958:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(85707)),$=L(B(82946)),G=L(B(92766));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var X=T.default=function(C){function CommandInfra(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,q.default)(this,CommandInfra),!(C=function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,CommandInfra,[T])).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(T),T=C.args,C.validateArgs(T),C}return(0,W.default)(CommandInfra,C),(0,H.default)(CommandInfra,[{key:"currentCommand",get:function get(){return G.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(C){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(C){this.registerConfig=Object.freeze(C)}}])}($.default);(0,V.default)(X,"registerConfig",null)},82425:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(641));T.default=q.default.extend({elements:null,getDefaultElements:function getDefaultElements(){return{}},bindEvents:function bindEvents(){},onInit:function onInit(){this.initElements(),this.bindEvents()},initElements:function initElements(){this.elements=this.getDefaultElements()}})},82946:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(10564)),H=L(B(39805)),K=L(B(40989)),U=L(B(15118)),W=L(B(29402)),V=L(B(87861)),$=L(B(70751)),G=L(B(15213));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function ArgsObject(C){var T;return(0,H.default)(this,ArgsObject),(T=function _callSuper(C,T,B){return T=(0,W.default)(T),(0,U.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,W.default)(C).constructor):T.apply(C,B))}(this,ArgsObject)).args=C,T}return(0,V.default)(ArgsObject,C),(0,K.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),(0,q.default)(B[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),!(B[C]instanceof T||(0,G.default)(B[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),B[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}])}($.default)},83535:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(79958)),$=L(B(92766));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function CommandBase(){return(0,q.default)(this,CommandBase),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,CommandBase,arguments)}return(0,W.default)(CommandBase,C),(0,H.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if($.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach(function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})})}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}])}(V.default)},85707:(C,T,B)=>{var L=B(45498);C.exports=function _defineProperty(C,T,B){return(T=L(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C},C.exports.__esModule=!0,C.exports.default=C.exports},86045:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(42242)),$=L(B(32384)),G=L(B(22575));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function _default(){return(0,q.default)(this,_default),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,_default,arguments)}return(0,W.default)(_default,C),(0,H.default)(_default,[{key:"el",value:function el(){return this.getModal().getElements("widget")}},{key:"regions",value:function regions(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function initialize(){this.modalHeader.show(new V.default(this.getHeaderOptions()))}},{key:"getModal",value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function initModal(){var C={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,C,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",C),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),C.draggable&&this.draggableModal()}},{key:"showModal",value:function showModal(){this.getModal().show()}},{key:"hideModal",value:function hideModal(){this.getModal().hide()}},{key:"draggableModal",value:function draggableModal(){var C=this.getModal().getElements("widgetContent");C.draggable({containment:"parent",stop:function stop(){C.height("")}}),C.css("position","absolute")}},{key:"getModalOptions",value:function getModalOptions(){return{}}},{key:"getLogoOptions",value:function getLogoOptions(){return{}}},{key:"getHeaderOptions",value:function getHeaderOptions(){return{closeType:"normal"}}},{key:"getHeaderView",value:function getHeaderView(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function showLoadingView(){this.modalLoading.show(new G.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function showLogo(){this.getHeaderView().logoArea.show(new $.default(this.getLogoOptions()))}}])}(Marionette.LayoutView)},86060:(C,T,B)=>{var L=B(33448),q=B(91270);C.exports=function _construct(C,T,B){if(L())return Reflect.construct.apply(null,arguments);var H=[null];H.push.apply(H,T);var K=new(C.bind.apply(C,H));return B&&q(K,B.prototype),K},C.exports.__esModule=!0,C.exports.default=C.exports},87007:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(40989)),H=L(B(39805)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(22835));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}T.default=function(C){function HookBreak(){return(0,H.default)(this,HookBreak),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,HookBreak,["HookBreak"])}return(0,W.default)(HookBreak,C),(0,q.default)(HookBreak)}((0,V.default)(Error))},87829:(C,T,B)=>{"use strict";var L=B(96784),q=B(10564);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;L(B(64537));var H=L(B(39805)),K=L(B(40989)),U=L(B(15118)),W=L(B(29402)),V=L(B(41621)),$=L(B(87861)),G=L(B(40397)),X=function _interopRequireWildcard(C,T){if("function"==typeof WeakMap)var B=new WeakMap,L=new WeakMap;return function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;var H,K,U={__proto__:null,default:C};if(null===C||"object"!=q(C)&&"function"!=typeof C)return U;if(H=T?L:B){if(H.has(C))return H.get(C);H.set(C,U)}for(var W in C)"default"!==W&&{}.hasOwnProperty.call(C,W)&&((K=(H=Object.defineProperty)&&Object.getOwnPropertyDescriptor(C,W))&&(K.get||K.set)?H(U,W,K):U[W]=C[W]);return U}(C,T)}(B(14767)),Q=L(B(13452));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}function _superPropGet(C,T,B,L){var q=(0,V.default)((0,W.default)(1&L?C.prototype:C),T,B);return 2&L&&"function"==typeof q?function(C){return q.apply(B,C)}:q}T.default=function(C){function ComponentModalBase(){return(0,H.default)(this,ComponentModalBase),function _callSuper(C,T,B){return T=(0,W.default)(T),(0,U.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,W.default)(C).constructor):T.apply(C,B))}(this,ComponentModalBase,arguments)}return(0,$.default)(ComponentModalBase,C),(0,K.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;_superPropGet(ComponentModalBase,"registerAPI",this,3)([]),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(X)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",function(){return C.close()})}return this.layout.showModal(),!0}},{key:"close",value:function close(){if(!_superPropGet(ComponentModalBase,"close",this,3)([]))return!1;var close=elementor.hooks.applyFilters("component/modal/close",this.layout.getModal().hide.bind(this.layout.getModal()),this);return close(),!0}},{key:"getModalLayout",value:function getModalLayout(){(0,Q.default)()}}])}(G.default)},87861:(C,T,B)=>{var L=B(91270);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&L(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},88413:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(39805)),H=L(B(40989));T.default=function(){return(0,H.default)(function Console(){(0,q.default)(this,Console)},null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),B=arguments.length,L=new Array(B),q=0;q<B;q++)L[q]=arguments[q];L.unshift("%c %c",T,""),(C=console).warn.apply(C,L)}}])}()},89031:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.createGetInitialState=function createGetInitialState(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(B,L){var H=L;if(B.hasOwnProperty("uploadedData")){var K;H=!1;var U=B.uploadedData.manifest.templates,W=(null===(K=elementorAppConfig)||void 0===K||null===(K=K["import-export-customization"])||void 0===K?void 0:K.exportGroups)||{};for(var V in U){if(W[U[V].doc_type]===C){H=!0;break}}}return function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach(function(T){(0,q.default)(C,T,B[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))})}return C}({enabled:H},T)}};var q=L(B(85707));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(C);T&&(L=L.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),B.push.apply(B,L)}return B}},91270:C=>{function _setPrototypeOf(T,B){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,B)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},91819:(C,T,B)=>{var L=B(78113);C.exports=function _arrayWithoutHoles(C){if(Array.isArray(C))return L(C)},C.exports.__esModule=!0,C.exports.default=C.exports},92766:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(18821)),H=L(B(39805)),K=L(B(40989)),U=L(B(88413)),W=function deprecatedMessage(C,T,B,L){var q="`".concat(T,"` is ").concat(C," deprecated since ").concat(B);L&&(q+=" - Use `".concat(L,"` instead")),U.default.warn(q)};T.default=function(){return(0,K.default)(function Deprecation(){(0,H.default)(this,Deprecation)},null,[{key:"deprecated",value:function deprecated(C,T,B){this.isHardDeprecated(T)?function hardDeprecated(C,T,B){W("hard",C,T,B)}(C,T,B):function softDeprecated(C,T,B){elementorWebCliConfig.isDebug&&W("soft",C,T,B)}(C,T,B)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var B=(0,q.default)(T,4),L=B[0],H=B[1],K=B[2],U=B[3],W=void 0===U?"":U;return{major1:parseInt(L),major2:parseInt(H),minor:parseInt(K),build:W}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var B=this;return[this.parseVersion(C),this.parseVersion(T)].map(function(C){return B.getTotalMajor(C)}).reduce(function(C,T){return C-T})}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}])}()},96784:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},97283:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var q=L(B(39805)),H=L(B(40989)),K=L(B(15118)),U=L(B(29402)),W=L(B(87861)),V=L(B(83535));function _isNativeReflectConstruct(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(C){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!C})()}var $=T.Open=function(C){function Open(){return(0,q.default)(this,Open),function _callSuper(C,T,B){return T=(0,U.default)(T),(0,K.default)(C,_isNativeReflectConstruct()?Reflect.construct(T,B||[],(0,U.default)(C).constructor):T.apply(C,B))}(this,Open,arguments)}return(0,W.default)(Open,C),(0,H.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}])}(V.default);T.default=$},97958:(C,T,B)=>{"use strict";var L=B(96784);Object.defineProperty(T,"__esModule",{value:!0}),T.BaseRegistry=void 0;var q=L(B(10906)),H=L(B(85707)),K=L(B(40453)),U=L(B(39805)),W=L(B(40989)),V=["children"];function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(C);T&&(L=L.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),B.push.apply(B,L)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach(function(T){(0,H.default)(C,T,B[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))})}return C}T.BaseRegistry=function(){return(0,W.default)(function BaseRegistry(){(0,U.default)(this,BaseRegistry),this.sections=new Map},[{key:"register",value:function register(C){var T=this;if(!C.key||!C.title)throw new Error("Template type must have key and title");var B=this.get(C.key)||this.formatSection(C);if(C.children)if(B.children){var L=new Map(B.children.map(function(C){return[C.key,C]}));C.children.forEach(function(C){var B=T.formatSection(C);L.set(C.key,B)}),B.children=Array.from(L.values())}else B.children=C.children.map(function(C){return T.formatSection(C)});this.sections.set(C.key,B)}},{key:"formatSection",value:function formatSection(C){C.children;var T=(0,K.default)(C,V);return _objectSpread({key:T.key,title:T.title,description:T.description||"",useParentDefault:!1!==T.useParentDefault,getInitialState:T.getInitialState||null,component:T.component||null,order:T.order||10,isAvailable:T.isAvailable||function(){return!0}},T)}},{key:"getAll",value:function getAll(){return Array.from(this.sections.values()).filter(function(C){return C.isAvailable()}).map(function(C){return C.children?_objectSpread(_objectSpread({},C),{},{children:(0,q.default)(C.children).sort(function(C,T){return C.order-T.order})}):C}).sort(function(C,T){return C.order-T.order})}},{key:"get",value:function get(C){return this.sections.get(C)}}])}()}},T={};function __webpack_require__(B){var L=T[B];if(void 0!==L)return L.exports;var q=T[B]={exports:{}};return C[B](q,q.exports,__webpack_require__),q.exports}__webpack_require__.d=(C,T)=>{for(var B in T)__webpack_require__.o(T,B)&&!__webpack_require__.o(C,B)&&Object.defineProperty(C,B,{enumerable:!0,get:T[B]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},(()=>{"use strict";var C=__webpack_require__(96784),T=C(__webpack_require__(51265)),B=C(__webpack_require__(86045)),L=C(__webpack_require__(40397)),q=C(__webpack_require__(87829)),H=C(__webpack_require__(87007));T.default.common={get Component(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.Component","2.9.0","$e.modules.ComponentBase")},2e3),L.default},get ComponentModal(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.ComponentModal","2.9.0","$e.modules.ComponentModalBase")},2e3),q.default},get HookBreak(){return setTimeout(function(){elementorDevTools.deprecation.deprecated("elementorModules.common.HookBreak","2.9.0","$e.modules.HookBreak")},2e3),H.default},views:{modal:{Layout:B.default}}}})()})();