%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/spanish.ongrace.com/wp-content/themes/neve/assets/apps/metabox/build/
Upload File :
Create Path :
Current File : /var/www/projetos/spanish.ongrace.com/wp-content/themes/neve/assets/apps/metabox/build/index.js

!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=29)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.data},function(e,t,n){var o=n(21),r=n(22),a=n(23),i=n(24);e.exports=function(e){return o(e)||r(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.compose},function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=r.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)n.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t){e.exports=window.wp.editPost},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.keyboardShortcuts},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var o=n(25);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var o=n(7).default,r=n(6);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?r(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var o=O(n(26)),r=n(27),a=r.Children,i=r.cloneElement,l=r.Component,s=r.createElement,c=r.createRef,u=O(n(9)),d=n(28),f=O(d);t.Sortable=f;var p=d.Direction;t.Direction=p;var h=d.DOMRect;t.DOMRect=h;var m=d.GroupOptions;t.GroupOptions=m;var v=d.MoveEvent;t.MoveEvent=v;var g=d.Options;t.Options=g;var b=d.PullResult;t.PullResult=b;var _=d.PutResult;t.PutResult=_;var y=d.SortableEvent;t.SortableEvent=y;var w=d.SortableOptions;t.SortableOptions=w;var A=d.Utils;function O(e){return e&&e.__esModule?e.default:e}function E(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function M(e){e.forEach((function(e){return D(e.element)}))}function P(e){e.forEach((function(e){var t,n,o,r;t=e.parentElement,n=e.element,o=e.oldIndex,r=t.children[o]||null,t.insertBefore(n,r)}))}function k(e,t){var n=B(e),o={parentElement:e.from},r=[];switch(n){case"normal":r=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":r=[C({element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex},o),C({element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex},o)];break;case"multidrag":r=e.oldIndicies.map((function(t,n){return C({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[n].index},o)}))}return function(e,t){return e.map((function(e){return C(C({},e),{},{item:t[e.oldIndex]})})).sort((function(e,t){return e.oldIndex-t.oldIndex}))}(r,t)}function I(e,t){var n=E(t);return e.concat().reverse().forEach((function(e){return n.splice(e.oldIndex,1)})),n}function T(e,t,n,o){var r=E(t);return e.forEach((function(e){var t=o&&n&&o(e.item,n);r.splice(e.newIndex,0,t||e.item)})),r}function B(e){return e.oldIndicies&&e.oldIndicies.length>0?"multidrag":e.swapItem?"swap":"normal"}function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e){return function(e){if(Array.isArray(e))return Y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){X(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Utils=A;var L={dragging:null},H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(r,l);var t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=K(e);if(t){var r=K(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return F(this,n)}}(r);function r(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=n.call(this,e)).ref=c();var a=e.list.map((function(e){return U(U({},e),{},{chosen:!1,selected:!1})}));return e.setList(a,t.sortable,L),o(!e.plugins,'\nPlugins prop is no longer supported.\nInstead, mount it with "Sortable.mount(new MultiDrag())"\nPlease read the updated README.md at https://github.com/SortableJS/react-sortablejs.\n      '),t}return(t=[{key:"componentDidMount",value:function(){if(null!==this.ref.current){var e=this.makeOptions();f.create(this.ref.current,e)}}},{key:"render",value:function(){var e=this.props,t=e.tag,n={style:e.style,className:e.className,id:e.id};return s(t&&null!==t?t:"div",U({ref:this.ref},n),this.getChildren())}},{key:"getChildren",value:function(){var e=this.props,t=e.children,n=e.dataIdAttr,o=e.selectedClass,r=void 0===o?"sortable-selected":o,l=e.chosenClass,s=void 0===l?"sortable-chosen":l,c=(e.dragClass,e.fallbackClass,e.ghostClass,e.swapClass,e.filter),d=void 0===c?"sortable-filter":c,f=e.list;if(!t||null==t)return null;var p=n||"data-id";return a.map(t,(function(e,t){var n,o,a=f[t],l=e.props.className,c="string"==typeof d&&X({},d.replace(".",""),!!a.filtered),h=u(l,U((X(n={},r,a.selected),X(n,s,a.chosen),n),c));return i(e,(X(o={},p,e.key),X(o,"className",h),o))}))}},{key:"makeOptions",value:function(){var e,t=this,n=((e=this.props).list,e.setList,e.children,e.tag,e.style,e.className,e.clone,e.onAdd,e.onChange,e.onChoose,e.onClone,e.onEnd,e.onFilter,e.onRemove,e.onSort,e.onStart,e.onUnchoose,e.onUpdate,e.onMove,e.onSpill,e.onSelect,e.onDeselect,function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["list","setList","children","tag","style","className","clone","onAdd","onChange","onChoose","onClone","onEnd","onFilter","onRemove","onSort","onStart","onUnchoose","onUpdate","onMove","onSpill","onSelect","onDeselect"]));return["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"].forEach((function(e){return n[e]=t.prepareOnHandlerPropAndDOM(e)})),["onChange","onClone","onFilter","onSort"].forEach((function(e){return n[e]=t.prepareOnHandlerProp(e)})),U(U({},n),{},{onMove:function(e,n){var o=t.props.onMove,r=e.willInsertAfter||-1;if(!o)return r;var a=o(e,n,t.sortable,L);return void 0!==a&&a}})}},{key:"prepareOnHandlerPropAndDOM",value:function(e){var t=this;return function(n){t.callOnHandlerProp(n,e),t[e](n)}}},{key:"prepareOnHandlerProp",value:function(e){var t=this;return function(n){t.callOnHandlerProp(n,e)}}},{key:"callOnHandlerProp",value:function(e,t){var n=this.props[t];n&&n(e,this.sortable,L)}},{key:"onAdd",value:function(e){var t=this.props,n=t.list,o=t.setList,r=t.clone,a=k(e,R(L.dragging.props.list));M(a),o(T(a,n,e,r).map((function(e){return U(U({},e),{},{selected:!1})})),this.sortable,L)}},{key:"onRemove",value:function(e){var t=this,n=this.props,r=n.list,a=n.setList,i=B(e),l=k(e,r);P(l);var s=R(r);if("clone"!==e.pullMode)s=I(l,s);else{var c=l;switch(i){case"multidrag":c=l.map((function(t,n){return U(U({},t),{},{element:e.clones[n]})}));break;case"normal":c=l.map((function(t){return U(U({},t),{},{element:e.clone})}));break;case"swap":default:o(!0,'mode "'.concat(i,'" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "').concat(i,'" plugin'))}M(c),l.forEach((function(n){var o=n.oldIndex,r=t.props.clone(n.item,e);s.splice(o,1,r)}))}a(s=s.map((function(e){return U(U({},e),{},{selected:!1})})),this.sortable,L)}},{key:"onUpdate",value:function(e){var t=this.props,n=t.list,o=t.setList,r=k(e,n);return M(r),P(r),o(function(e,t){return T(e,I(e,t))}(r,n),this.sortable,L)}},{key:"onStart",value:function(){L.dragging=this}},{key:"onEnd",value:function(){L.dragging=null}},{key:"onChoose",value:function(e){var t=this.props,n=t.list;(0,t.setList)(n.map((function(t,n){return n===e.oldIndex?U(U({},t),{},{chosen:!0}):t})),this.sortable,L)}},{key:"onUnchoose",value:function(e){var t=this.props,n=t.list;(0,t.setList)(n.map((function(t,n){return n===e.oldIndex?U(U({},t),{},{chosen:!1}):t})),this.sortable,L)}},{key:"onSpill",value:function(e){var t=this.props,n=t.removeOnSpill,o=t.revertOnSpill;n&&!o&&D(e.item)}},{key:"onSelect",value:function(e){var t=this.props,n=t.list,o=t.setList,r=n.map((function(e){return U(U({},e),{},{selected:!1})}));e.newIndicies.forEach((function(t){var n=t.index;if(-1===n)return console.log('"'.concat(e.type,'" had indice of "').concat(t.index,"\", which is probably -1 and doesn't usually happen here.")),void console.log(e);r[n].selected=!0})),o(r,this.sortable,L)}},{key:"onDeselect",value:function(e){var t=this.props,n=t.list,o=t.setList,r=n.map((function(e){return U(U({},e),{},{selected:!1})}));e.newIndicies.forEach((function(e){var t=e.index;-1!==t&&(r[t].selected=!0)})),o(r,this.sortable,L)}},{key:"sortable",get:function(){var e=this.ref.current;if(null===e)return null;var t=Object.keys(e).find((function(e){return e.includes("Sortable")}));return t?e[t]:null}}])&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(r.prototype,t),r}();t.ReactSortable=H,X(H,"defaultProps",{clone:function(e){return e}})},function(e,t,n){},function(e,t,n){var o=n(12);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var o=n(12);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t,o){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,o)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}function l(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function s(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}n.r(t),n.d(t,"MultiDrag",(function(){return gt})),n.d(t,"Sortable",(function(){return Ye})),n.d(t,"Swap",(function(){return it}));var c=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),u=s(/Edge/i),d=s(/firefox/i),f=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),p=s(/iP(ad|od|hone)/i),h=s(/chrome/i)&&s(/android/i),m={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!c&&m)}function g(e,t,n){e.removeEventListener(t,n,!c&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function _(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=_(e))}return null}var w,A=/\s+/g;function O(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(A," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(A," ")}}function E(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function S(e,t){var n="";if("string"==typeof e)n=e;else do{var o=E(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function j(e,t,n){if(e){var o=e.getElementsByTagName(t),r=0,a=o.length;if(n)for(;r<a;r++)n(o[r],r);return o}return[]}function C(){return document.scrollingElement||document.documentElement}function x(e,t,n,o,r){if(e.getBoundingClientRect||e===window){var a,i,l,s,u,d,f;if(e!==window&&e.parentNode&&e!==C()?(i=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,u=a.right,d=a.height,f=a.width):(i=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!c))do{if(r&&r.getBoundingClientRect&&("none"!==E(r,"transform")||n&&"static"!==E(r,"position"))){var p=r.getBoundingClientRect();i-=p.top+parseInt(E(r,"border-top-width")),l-=p.left+parseInt(E(r,"border-left-width")),s=i+a.height,u=l+a.width;break}}while(r=r.parentNode);if(o&&e!==window){var h=S(r||e),m=h&&h.a,v=h&&h.d;h&&(s=(i/=v)+(d/=v),u=(l/=m)+(f/=m))}return{top:i,left:l,bottom:s,right:u,width:f,height:d}}}function D(e,t,n){for(var o=T(e,!0),r=x(e)[t];o;){var a=x(o)[n];if(!("top"===n||"left"===n?r>=a:r<=a))return o;if(o===C())break;o=T(o,!1)}return!1}function M(e,t,n){for(var o=0,r=0,a=e.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Ye.ghost&&a[r]!==Ye.dragged&&y(a[r],n.draggable,e,!1)){if(o===t)return a[r];o++}r++}return null}function P(e,t){for(var n=e.lastElementChild;n&&(n===Ye.ghost||"none"===E(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function k(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ye.clone||t&&!b(e,t)||n++;return n}function I(e){var t=0,n=0,o=C();if(e)do{var r=S(e),a=r.a,i=r.d;t+=e.scrollLeft*a,n+=e.scrollTop*i}while(e!==o&&(e=e.parentNode));return[t,n]}function T(e,t){if(!e||!e.getBoundingClientRect)return C();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=E(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return C();if(o||t)return n;o=!0}}}while(n=n.parentNode);return C()}function B(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function N(e,t){return function(){if(!w){var n=arguments,o=this;1===n.length?e.call(o,n[0]):e.apply(o,n),w=setTimeout((function(){w=void 0}),t)}}}function R(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Y(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function G(e,t){E(e,"position","absolute"),E(e,"top",t.top),E(e,"left",t.left),E(e,"width",t.width),E(e,"height",t.height)}function U(e){E(e,"position",""),E(e,"top",""),E(e,"left",""),E(e,"width",""),E(e,"height","")}var V="Sortable"+(new Date).getTime();var F=[],K={initializeByDefault:!0},X={mount:function(e){for(var t in K)K.hasOwnProperty(t)&&!(t in e)&&(e[t]=K[t]);F.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),F.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=e+"Global";F.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][r]&&t[o.pluginName][r](i({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](i({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var r in F.forEach((function(o){var r=o.pluginName;if(e.options[r]||o.initializeByDefault){var i=new o(e,t,e.options);i.sortable=e,i.options=e.options,e[r]=i,a(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(r)){var i=this.modifyOption(e,r,e.options[r]);void 0!==i&&(e.options[r]=i)}},getEventProperties:function(e,t){var n={};return F.forEach((function(o){"function"==typeof o.eventProperties&&a(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return F.forEach((function(r){e[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[t]&&(o=r.optionListeners[t].call(e[r.pluginName],n))})),o}};function L(e){var t=e.sortable,n=e.rootEl,o=e.name,r=e.targetEl,a=e.cloneEl,l=e.toEl,s=e.fromEl,d=e.oldIndex,f=e.newIndex,p=e.oldDraggableIndex,h=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[V]){var b,_=t.options,y="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||c||u?(b=document.createEvent("Event")).initEvent(o,!0,!0):b=new CustomEvent(o,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=r||n,b.clone=a,b.oldIndex=d,b.newIndex=f,b.oldDraggableIndex=p,b.newDraggableIndex=h,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var w=i({},g,X.getEventProperties(o,t));for(var A in w)b[A]=w[A];n&&n.dispatchEvent(b),_[y]&&_[y].call(t,b)}}var H=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,r=l(n,["evt"]);X.pluginEvent.bind(Ye)(e,t,i({dragEl:Q,parentEl:J,ghostEl:z,rootEl:q,nextEl:Z,lastDownEl:$,cloneEl:ee,cloneHidden:te,dragStarted:he,putSortable:le,activeSortable:Ye.active,originalEvent:o,oldIndex:ne,oldDraggableIndex:re,newIndex:oe,newDraggableIndex:ae,hideGhostForTarget:Te,unhideGhostForTarget:Be,cloneNowHidden:function(){te=!0},cloneNowShown:function(){te=!1},dispatchSortableEvent:function(e){W({sortable:t,name:e,originalEvent:o})}},r))};function W(e){L(i({putSortable:le,cloneEl:ee,targetEl:Q,rootEl:q,oldIndex:ne,oldDraggableIndex:re,newIndex:oe,newDraggableIndex:ae},e))}var Q,J,z,q,Z,$,ee,te,ne,oe,re,ae,ie,le,se,ce,ue,de,fe,pe,he,me,ve,ge,be,_e=!1,ye=!1,we=[],Ae=!1,Oe=!1,Ee=[],Se=!1,je=[],Ce="undefined"!=typeof document,xe=p,De=u||c?"cssFloat":"float",Me=Ce&&!h&&!p&&"draggable"in document.createElement("div"),Pe=function(){if(Ce){if(c)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),ke=function(e,t){var n=E(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=M(e,0,t),a=M(e,1,t),i=r&&E(r),l=a&&E(a),s=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+x(r).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+x(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return r&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||s>=o&&"none"===n[De]||a&&"none"===n[De]&&s+c>o)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(o,r,a,i){var l=o.options.group.name&&r.options.group.name&&o.options.group.name===r.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,r,a,i),n)(o,r,a,i);var s=(n?o:r).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},r=e.group;r&&"object"==o(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Te=function(){!Pe&&z&&E(z,"display","none")},Be=function(){!Pe&&z&&E(z,"display","")};Ce&&document.addEventListener("click",(function(e){if(ye)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ye=!1,!1}),!0);var Ne=function(e){if(Q){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,a=e.clientY,we.some((function(e){if(!P(e)){var t=x(e),n=e[V].options.emptyInsertThreshold,o=r>=t.left-n&&r<=t.right+n,l=a>=t.top-n&&a<=t.bottom+n;return n&&o&&l?i=e:void 0}})),i);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[V]._onDragOver(n)}}var r,a,i},Re=function(e){Q&&Q.parentNode[V]._isOutsideThisEl(e.target)};function Ye(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=a({},t),e[V]=this;var n,o,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return ke(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ye.supportPointer&&"PointerEvent"in window&&!f,emptyInsertThreshold:5};for(var l in X.initializePlugins(this,e,r),r)!(l in t)&&(t[l]=r[l]);for(var s in Ie(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&Me,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),we.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),a(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==E(e,"display")&&e!==Ye.ghost){o.push({target:e,rect:x(e)});var t=i({},o[o.length-1].rect);if(e.thisAnimationDuration){var n=S(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}}))},addAnimationState:function(e){o.push(e)},removeAnimationState:function(e){o.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(o,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var r=!1,a=0;o.forEach((function(e){var n=0,o=e.target,i=o.fromRect,l=x(o),s=o.prevFromRect,c=o.prevToRect,u=e.rect,d=S(o,!0);d&&(l.top-=d.f,l.left-=d.e),o.toRect=l,o.thisAnimationDuration&&B(s,l)&&!B(i,l)&&(u.top-l.top)/(u.left-l.left)==(i.top-l.top)/(i.left-l.left)&&(n=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(u,s,c,t.options)),B(l,i)||(o.prevFromRect=i,o.prevToRect=l,n||(n=t.options.animation),t.animate(o,u,l,n)),n&&(r=!0,a=Math.max(a,n),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),n),o.thisAnimationDuration=n)})),clearTimeout(n),r?n=setTimeout((function(){"function"==typeof e&&e()}),a):"function"==typeof e&&e(),o=[]},animate:function(e,t,n,o){if(o){E(e,"transition",""),E(e,"transform","");var r=S(this.el),a=r&&r.a,i=r&&r.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(i||1);e.animatingX=!!l,e.animatingY=!!s,E(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),E(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),E(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){E(e,"transition",""),E(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}))}function Ge(e,t,n,o,r,a,i,l){var s,d,f=e[V],p=f.options.onMove;return!window.CustomEvent||c||u?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=r||t,s.relatedRect=a||x(t),s.willInsertAfter=l,s.originalEvent=i,e.dispatchEvent(s),p&&(d=p.call(f,s,i)),d}function Ue(e){e.draggable=!1}function Ve(){Se=!1}function Fe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Ke(e){return setTimeout(e,0)}function Xe(e){return clearTimeout(e)}Ye.prototype={constructor:Ye,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Q):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,r=o.preventOnFilter,a=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(i||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=o.filter;if(function(e){je.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&je.push(o)}}(n),!Q&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=y(l,o.draggable,n,!1))&&l.animated||$===l)){if(ne=k(l),re=k(l,o.draggable),"function"==typeof c){if(c.call(this,e,l,this))return W({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),H("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=y(s,o.trim(),n,!1))return W({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),H("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());o.handle&&!y(s,o.handle,n,!1)||this._prepareDragStart(e,i,l)}}},_prepareDragStart:function(e,t,n){var o,r=this,a=r.el,i=r.options,l=a.ownerDocument;if(n&&!Q&&n.parentNode===a){var s=x(n);if(q=a,J=(Q=n).parentNode,Z=Q.nextSibling,$=n,ie=i.group,Ye.dragged=Q,se={target:Q,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=se.clientX-s.left,pe=se.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Q.style["will-change"]="all",o=function(){H("delayEnded",r,{evt:e}),Ye.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!d&&r.nativeDraggable&&(Q.draggable=!0),r._triggerDragStart(e,t),W({sortable:r,name:"choose",originalEvent:e}),O(Q,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){j(Q,e.trim(),Ue)})),v(l,"dragover",Ne),v(l,"mousemove",Ne),v(l,"touchmove",Ne),v(l,"mouseup",r._onDrop),v(l,"touchend",r._onDrop),v(l,"touchcancel",r._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Q.draggable=!0),H("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(u||c))o();else{if(Ye.eventCanceled)return void this._onDrop();v(l,"mouseup",r._disableDelayedDrag),v(l,"touchend",r._disableDelayedDrag),v(l,"touchcancel",r._disableDelayedDrag),v(l,"mousemove",r._delayedDragTouchMoveHandler),v(l,"touchmove",r._delayedDragTouchMoveHandler),i.supportPointer&&v(l,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(o,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Q&&Ue(Q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag),g(e,"touchend",this._disableDelayedDrag),g(e,"touchcancel",this._disableDelayedDrag),g(e,"mousemove",this._delayedDragTouchMoveHandler),g(e,"touchmove",this._delayedDragTouchMoveHandler),g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v(Q,"dragend",this),v(q,"dragstart",this._onDragStart));try{document.selection?Ke((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,q&&Q){H("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Re);var n=this.options;!e&&O(Q,n.dragClass,!1),O(Q,n.ghostClass,!0),Ye.active=this,e&&this._appendGhost(),W({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ce){this._lastX=ce.clientX,this._lastY=ce.clientY,Te();for(var e=document.elementFromPoint(ce.clientX,ce.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ce.clientX,ce.clientY))!==t;)t=e;if(Q.parentNode[V]._isOutsideThisEl(e),t)do{if(t[V]&&t[V]._onDragOver({clientX:ce.clientX,clientY:ce.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);Be()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,a=z&&S(z,!0),i=z&&a&&a.a,l=z&&a&&a.d,s=xe&&be&&I(be),c=(r.clientX-se.clientX+o.x)/(i||1)+(s?s[0]-Ee[0]:0)/(i||1),u=(r.clientY-se.clientY+o.y)/(l||1)+(s?s[1]-Ee[1]:0)/(l||1);if(!Ye.active&&!_e){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(z){a?(a.e+=c-(ue||0),a.f+=u-(de||0)):a={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");E(z,"webkitTransform",d),E(z,"mozTransform",d),E(z,"msTransform",d),E(z,"transform",d),ue=c,de=u,ce=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!z){var e=this.options.fallbackOnBody?document.body:q,t=x(Q,!0,xe,!0,e),n=this.options;if(xe){for(be=e;"static"===E(be,"position")&&"none"===E(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=C()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=C(),Ee=I(be)}O(z=Q.cloneNode(!0),n.ghostClass,!1),O(z,n.fallbackClass,!0),O(z,n.dragClass,!0),E(z,"transition",""),E(z,"transform",""),E(z,"box-sizing","border-box"),E(z,"margin",0),E(z,"top",t.top),E(z,"left",t.left),E(z,"width",t.width),E(z,"height",t.height),E(z,"opacity","0.8"),E(z,"position",xe?"absolute":"fixed"),E(z,"zIndex","100000"),E(z,"pointerEvents","none"),Ye.ghost=z,e.appendChild(z),E(z,"transform-origin",fe/parseInt(z.style.width)*100+"% "+pe/parseInt(z.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,r=n.options;H("dragStart",this,{evt:e}),Ye.eventCanceled?this._onDrop():(H("setupClone",this),Ye.eventCanceled||((ee=Y(Q)).draggable=!1,ee.style["will-change"]="",this._hideClone(),O(ee,this.options.chosenClass,!1),Ye.clone=ee),n.cloneId=Ke((function(){H("clone",n),Ye.eventCanceled||(n.options.removeCloneOnHide||q.insertBefore(ee,Q),n._hideClone(),W({sortable:n,name:"clone"}))})),!t&&O(Q,r.dragClass,!0),t?(ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(n,o,Q)),v(document,"drop",n),E(Q,"transform","translateZ(0)")),_e=!0,n._dragStartId=Ke(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),he=!0,f&&E(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,o,r,a=this.el,l=e.target,s=this.options,c=s.group,u=Ye.active,d=ie===c,f=s.sort,p=le||u,h=this,m=!1;if(!Se){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=y(l,s.draggable,a,!0),N("dragOver"),Ye.eventCanceled)return m;if(Q.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||h._ignoreWhileAnimating===l)return G(!1);if(ye=!1,u&&!s.disabled&&(d?f||(o=!q.contains(Q)):le===this||(this.lastPutMode=ie.checkPull(this,u,Q,e))&&c.checkPut(this,u,Q,e))){if(r="vertical"===this._getDirection(e,l),t=x(Q),N("dragOverValid"),Ye.eventCanceled)return m;if(o)return J=q,Y(),this._hideClone(),N("revert"),Ye.eventCanceled||(Z?q.insertBefore(Q,Z):q.appendChild(Q)),G(!0);var v=P(a,s.draggable);if(!v||function(e,t,n){var o=x(P(n.el,n.options.draggable));return t?e.clientX>o.right+10||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+10}(e,r,this)&&!v.animated){if(v===Q)return G(!1);if(v&&a===e.target&&(l=v),l&&(n=x(l)),!1!==Ge(q,a,Q,t,l,n,e,!!l))return Y(),a.appendChild(Q),J=a,U(),G(!0)}else if(l.parentNode===a){n=x(l);var g,b,_,w=Q.parentNode!==a,A=!function(e,t,n){var o=n?e.left:e.top,r=n?e.right:e.bottom,a=n?e.width:e.height,i=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===i||r===l||o+a/2===i+s/2}(Q.animated&&Q.toRect||t,l.animated&&l.toRect||n,r),S=r?"top":"left",j=D(l,"top","top")||D(Q,"top","top"),C=j?j.scrollTop:void 0;if(me!==l&&(b=n[S],Ae=!1,Oe=!A&&s.invertSwap||w),0!==(g=function(e,t,n,o,r,a,i,l){var s=o?e.clientY:e.clientX,c=o?n.height:n.width,u=o?n.top:n.left,d=o?n.bottom:n.right,f=!1;if(!i)if(l&&ge<c*r){if(!Ae&&(1===ve?s>u+c*a/2:s<d-c*a/2)&&(Ae=!0),Ae)f=!0;else if(1===ve?s<u+ge:s>d-ge)return-ve}else if(s>u+c*(1-r)/2&&s<d-c*(1-r)/2)return function(e){return k(Q)<k(e)?1:-1}(t);return(f=f||i)&&(s<u+c*a/2||s>d-c*a/2)?s>u+c/2?1:-1:0}(e,l,n,r,A?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Oe,me===l))){var M=k(Q);do{M-=g,_=J.children[M]}while(_&&("none"===E(_,"display")||_===z))}if(0===g||_===l)return G(!1);me=l,ve=g;var I=l.nextElementSibling,T=!1,B=Ge(q,a,Q,t,l,n,e,T=1===g);if(!1!==B)return 1!==B&&-1!==B||(T=1===B),Se=!0,setTimeout(Ve,30),Y(),T&&!I?a.appendChild(Q):l.parentNode.insertBefore(Q,T?I:l),j&&R(j,0,C-j.scrollTop),J=Q.parentNode,void 0===b||Oe||(ge=Math.abs(b-x(l)[S])),U(),G(!0)}if(a.contains(Q))return G(!1)}return!1}function N(s,c){H(s,h,i({evt:e,isOwner:d,axis:r?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:f,fromSortable:p,target:l,completed:G,onMove:function(n,o){return Ge(q,a,Q,t,n,x(n),e,o)},changed:U},c))}function Y(){N("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function G(t){return N("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(h),h!==p&&(O(Q,le?le.options.ghostClass:u.options.ghostClass,!1),O(Q,s.ghostClass,!0)),le!==h&&h!==Ye.active?le=h:h===Ye.active&&le&&(le=null),p===h&&(h._ignoreWhileAnimating=l),h.animateAll((function(){N("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(l===Q&&!Q.animated||l===a&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||(Q.parentNode[V]._isOutsideThisEl(e.target),!t&&Ne(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function U(){oe=k(Q),ae=k(Q,s.draggable),W({sortable:h,name:"change",toEl:a,newIndex:oe,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Ne),g(document,"mousemove",Ne),g(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop),g(e,"touchend",this._onDrop),g(e,"pointerup",this._onDrop),g(e,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=k(Q),ae=k(Q,n.draggable),H("drop",this,{evt:e}),J=Q&&Q.parentNode,oe=k(Q),ae=k(Q,n.draggable),Ye.eventCanceled||(_e=!1,Oe=!1,Ae=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Xe(this.cloneId),Xe(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&E(document.body,"user-select",""),E(Q,"transform",""),e&&(he&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),z&&z.parentNode&&z.parentNode.removeChild(z),(q===J||le&&"clone"!==le.lastPutMode)&&ee&&ee.parentNode&&ee.parentNode.removeChild(ee),Q&&(this.nativeDraggable&&g(Q,"dragend",this),Ue(Q),Q.style["will-change"]="",he&&!_e&&O(Q,le?le.options.ghostClass:this.options.ghostClass,!1),O(Q,this.options.chosenClass,!1),W({sortable:this,name:"unchoose",toEl:J,newIndex:null,newDraggableIndex:null,originalEvent:e}),q!==J?(oe>=0&&(W({rootEl:J,name:"add",toEl:J,fromEl:q,originalEvent:e}),W({sortable:this,name:"remove",toEl:J,originalEvent:e}),W({rootEl:J,name:"sort",toEl:J,fromEl:q,originalEvent:e}),W({sortable:this,name:"sort",toEl:J,originalEvent:e})),le&&le.save()):oe!==ne&&oe>=0&&(W({sortable:this,name:"update",toEl:J,originalEvent:e}),W({sortable:this,name:"sort",toEl:J,originalEvent:e})),Ye.active&&(null!=oe&&-1!==oe||(oe=ne,ae=re),W({sortable:this,name:"end",toEl:J,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){H("nulling",this),q=Q=J=z=Z=ee=$=te=se=ce=he=oe=ae=ne=re=me=ve=le=ie=Ye.dragged=Ye.ghost=Ye.clone=Ye.active=null,je.forEach((function(e){e.checked=!0})),je.length=ue=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Q&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,r=n.length,a=this.options;o<r;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||Fe(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var r=o.children[t];y(r,this.options.draggable,o,!1)&&(n[e]=r)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=X.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ie(n)},destroy:function(){H("destroy",this);var e=this.el;e[V]=null,g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart),g(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),we.splice(we.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!te){if(H("hideClone",this),Ye.eventCanceled)return;E(ee,"display","none"),this.options.removeCloneOnHide&&ee.parentNode&&ee.parentNode.removeChild(ee),te=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(te){if(H("showClone",this),Ye.eventCanceled)return;Q.parentNode!=q||this.options.group.revertClone?Z?q.insertBefore(ee,Z):q.appendChild(ee):q.insertBefore(ee,Q),this.options.group.revertClone&&this.animate(Q,ee),E(ee,"display",""),te=!1}}else this._hideClone()}},Ce&&v(document,"touchmove",(function(e){(Ye.active||_e)&&e.cancelable&&e.preventDefault()})),Ye.utils={on:v,off:g,css:E,find:j,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:N,closest:y,toggleClass:O,clone:Y,index:k,nextTick:Ke,cancelNextTick:Xe,detectDirection:ke,getChild:M},Ye.get=function(e){return e[V]},Ye.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ye.utils=i({},Ye.utils,e.utils)),X.mount(e)}))},Ye.create=function(e,t){return new Ye(e,t)},Ye.version="1.13.0";var Le,He,We,Qe,Je,ze,qe=[],Ze=!1;function $e(){qe.forEach((function(e){clearInterval(e.pid)})),qe=[]}function et(){clearInterval(ze)}var tt,nt=N((function(e,t,n,o){if(t.scroll){var r,a=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,c=C(),u=!1;He!==n&&(He=n,$e(),Le=t.scroll,r=t.scrollFn,!0===Le&&(Le=T(n,!0)));var d=0,f=Le;do{var p=f,h=x(p),m=h.top,v=h.bottom,g=h.left,b=h.right,_=h.width,y=h.height,w=void 0,A=void 0,O=p.scrollWidth,S=p.scrollHeight,j=E(p),D=p.scrollLeft,M=p.scrollTop;p===c?(w=_<O&&("auto"===j.overflowX||"scroll"===j.overflowX||"visible"===j.overflowX),A=y<S&&("auto"===j.overflowY||"scroll"===j.overflowY||"visible"===j.overflowY)):(w=_<O&&("auto"===j.overflowX||"scroll"===j.overflowX),A=y<S&&("auto"===j.overflowY||"scroll"===j.overflowY));var P=w&&(Math.abs(b-a)<=l&&D+_<O)-(Math.abs(g-a)<=l&&!!D),k=A&&(Math.abs(v-i)<=l&&M+y<S)-(Math.abs(m-i)<=l&&!!M);if(!qe[d])for(var I=0;I<=d;I++)qe[I]||(qe[I]={});qe[d].vx==P&&qe[d].vy==k&&qe[d].el===p||(qe[d].el=p,qe[d].vx=P,qe[d].vy=k,clearInterval(qe[d].pid),0==P&&0==k||(u=!0,qe[d].pid=setInterval(function(){o&&0===this.layer&&Ye.active._onTouchMove(Je);var t=qe[this.layer].vy?qe[this.layer].vy*s:0,n=qe[this.layer].vx?qe[this.layer].vx*s:0;"function"==typeof r&&"continue"!==r.call(Ye.dragged.parentNode[V],n,t,e,Je,qe[this.layer].el)||R(qe[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=T(f,!1)));Ze=u}}),30),ot=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,r=e.activeSortable,a=e.dispatchSortableEvent,i=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||r;i();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);l(),s&&!s.el.contains(u)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function rt(){}function at(){}function it(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;tt=t},dragOverValid:function(e){var t=e.completed,n=e.target,o=e.onMove,r=e.activeSortable,a=e.changed,i=e.cancel;if(r.options.swap){var l=this.sortable.el,s=this.options;if(n&&n!==l){var c=tt;!1!==o(n)?(O(n,s.swapClass,!0),tt=n):tt=null,c&&c!==tt&&O(c,s.swapClass,!1)}a(),t(!0),i()}},drop:function(e){var t,n,o,r,a,i,l=e.activeSortable,s=e.putSortable,c=e.dragEl,u=s||this.sortable,d=this.options;tt&&O(tt,d.swapClass,!1),tt&&(d.swap||s&&s.options.swap)&&c!==tt&&(u.captureAnimationState(),u!==l&&l.captureAnimationState(),n=tt,a=(t=c).parentNode,i=n.parentNode,a&&i&&!a.isEqualNode(n)&&!i.isEqualNode(t)&&(o=k(t),r=k(n),a.isEqualNode(i)&&o<r&&r++,a.insertBefore(n,a.children[o]),i.insertBefore(t,i.children[r])),u.animateAll(),u!==l&&l.animateAll())},nulling:function(){tt=null}},a(e,{pluginName:"swap",eventProperties:function(){return{swapItem:tt}}})}rt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=M(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:ot},a(rt,{pluginName:"revertOnSpill"}),at.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:ot},a(at,{pluginName:"removeOnSpill"});var lt,st,ct,ut,dt,ft=[],pt=[],ht=!1,mt=!1,vt=!1;function gt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var o="";ft.length&&st===e?ft.forEach((function(e,t){o+=(t?", ":"")+e.textContent})):o=n.textContent,t.setData("Text",o)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ct=t},delayEnded:function(){this.isMultiDrag=~ft.indexOf(ct)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var o=0;o<ft.length;o++)pt.push(Y(ft[o])),pt[o].sortableIndex=ft[o].sortableIndex,pt[o].draggable=!1,pt[o].style["will-change"]="",O(pt[o],this.options.selectedClass,!1),ft[o]===ct&&O(pt[o],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,o=e.dispatchSortableEvent,r=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ft.length&&st===t&&(bt(!0,n),o("clone"),r()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,o=e.cancel;this.isMultiDrag&&(bt(!1,n),pt.forEach((function(e){E(e,"display","")})),t(),dt=!1,o())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),o=e.cancel;this.isMultiDrag&&(pt.forEach((function(e){E(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),dt=!0,o())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&st&&st.multiDrag._deselectMultiDrag(),ft.forEach((function(e){e.sortableIndex=k(e)})),ft=ft.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),vt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ft.forEach((function(e){e!==ct&&E(e,"position","absolute")}));var o=x(ct,!1,!0,!0);ft.forEach((function(e){e!==ct&&G(e,o)})),mt=!0,ht=!0}n.animateAll((function(){mt=!1,ht=!1,t.options.animation&&ft.forEach((function(e){U(e)})),t.options.sort&&_t()}))}},dragOver:function(e){var t=e.target,n=e.completed,o=e.cancel;mt&&~ft.indexOf(t)&&(n(!1),o())},revert:function(e){var t=e.fromSortable,n=e.rootEl,o=e.sortable,r=e.dragRect;ft.length>1&&(ft.forEach((function(e){o.addAnimationState({target:e,rect:mt?x(e):r}),U(e),e.fromRect=r,t.removeAnimationState(e)})),mt=!1,function(e,t){ft.forEach((function(n,o){var r=t.children[n.sortableIndex+(e?Number(o):0)];r?t.insertBefore(n,r):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,o=e.insertion,r=e.activeSortable,a=e.parentEl,i=e.putSortable,l=this.options;if(o){if(n&&r._hideClone(),ht=!1,l.animation&&ft.length>1&&(mt||!n&&!r.options.sort&&!i)){var s=x(ct,!1,!0,!0);ft.forEach((function(e){e!==ct&&(G(e,s),a.appendChild(e))})),mt=!0}if(!n)if(mt||_t(),ft.length>1){var c=dt;r._showClone(t),r.options.animation&&!dt&&c&&pt.forEach((function(e){r.addAnimationState({target:e,rect:ut}),e.fromRect=ut,e.thisAnimationDuration=null}))}else r._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,o=e.activeSortable;if(ft.forEach((function(e){e.thisAnimationDuration=null})),o.options.animation&&!n&&o.multiDrag.isMultiDrag){ut=a({},t);var r=S(ct,!0);ut.top-=r.f,ut.left-=r.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,_t())},drop:function(e){var t=e.originalEvent,n=e.rootEl,o=e.parentEl,r=e.sortable,a=e.dispatchSortableEvent,i=e.oldIndex,l=e.putSortable,s=l||this.sortable;if(t){var c=this.options,u=o.children;if(!vt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),O(ct,c.selectedClass,!~ft.indexOf(ct)),~ft.indexOf(ct))ft.splice(ft.indexOf(ct),1),lt=null,L({sortable:r,rootEl:n,name:"deselect",targetEl:ct,originalEvt:t});else{if(ft.push(ct),L({sortable:r,rootEl:n,name:"select",targetEl:ct,originalEvt:t}),t.shiftKey&&lt&&r.el.contains(lt)){var d,f,p=k(lt),h=k(ct);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f<d;f++)~ft.indexOf(u[f])||(O(u[f],c.selectedClass,!0),ft.push(u[f]),L({sortable:r,rootEl:n,name:"select",targetEl:u[f],originalEvt:t}))}else lt=ct;st=s}if(vt&&this.isMultiDrag){if((o[V].options.sort||o!==n)&&ft.length>1){var m=x(ct),v=k(ct,":not(."+this.options.selectedClass+")");if(!ht&&c.animation&&(ct.thisAnimationDuration=null),s.captureAnimationState(),!ht&&(c.animation&&(ct.fromRect=m,ft.forEach((function(e){if(e.thisAnimationDuration=null,e!==ct){var t=mt?x(e):m;e.fromRect=t,s.addAnimationState({target:e,rect:t})}}))),_t(),ft.forEach((function(e){u[v]?o.insertBefore(e,u[v]):o.appendChild(e),v++})),i===k(ct))){var g=!1;ft.forEach((function(e){e.sortableIndex===k(e)||(g=!0)})),g&&a("update")}ft.forEach((function(e){U(e)})),s.animateAll()}st=s}(n===o||l&&"clone"!==l.lastPutMode)&&pt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=vt=!1,pt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),g(document,"pointerup",this._deselectMultiDrag),g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==vt&&vt||st!==this.sortable||e&&y(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;ft.length;){var t=ft[0];O(t,this.options.selectedClass,!1),ft.shift(),L({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},a(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[V];t&&t.options.multiDrag&&!~ft.indexOf(e)&&(st&&st!==t&&(st.multiDrag._deselectMultiDrag(),st=t),O(e,t.options.selectedClass,!0),ft.push(e))},deselect:function(e){var t=e.parentNode[V],n=ft.indexOf(e);t&&t.options.multiDrag&&~n&&(O(e,t.options.selectedClass,!1),ft.splice(n,1))}},eventProperties:function(){var e,t=this,n=[],o=[];return ft.forEach((function(e){var r;n.push({multiDragElement:e,index:e.sortableIndex}),r=mt&&e!==ct?-1:mt?k(e,":not(."+t.options.selectedClass+")"):k(e),o.push({multiDragElement:e,index:r})})),{items:(e=ft,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()),clones:[].concat(pt),oldIndicies:n,newIndicies:o}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function bt(e,t){pt.forEach((function(n,o){var r=t.children[n.sortableIndex+(e?Number(o):0)];r?t.insertBefore(n,r):t.appendChild(n)}))}function _t(){ft.forEach((function(e){e!==ct&&e.parentNode&&e.parentNode.removeChild(e)}))}Ye.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),et(),$e(),clearTimeout(w),w=void 0},nulling:function(){Je=He=Le=Ze=ze=We=Qe=null,qe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,r);if(Je=e,t||u||c||f){nt(e,this.options,a,t);var i=T(a,!0);!Ze||ze&&o===We&&r===Qe||(ze&&et(),ze=setInterval((function(){var a=T(document.elementFromPoint(o,r),!0);a!==i&&(i=a,$e()),nt(e,n.options,a,t)}),10),We=o,Qe=r)}else{if(!this.options.bubbleScroll||T(a,!0)===C())return void $e();nt(e,this.options,T(a,!1),!1)}}},a(e,{pluginName:"scroll",initializeByDefault:!0})}),Ye.mount(at,rt),t.default=Ye},function(e,t,n){"use strict";n.r(t);var o=n(0),r=(n(20),n(13)),a=n(2),i=n(10),l=n(1),s=n(14),c=n(8),u=n(3),d=n(4),f=n.n(d),p=n(5),h=n.n(p),m=n(15),v=n.n(m),g=n(16),b=n.n(g),_=n(6),y=n.n(_),w=n(17),A=n.n(w),O=n(18),E=n.n(O),S=n(11),j=n.n(S),C=n(19),x=Object(u.withDispatch)((function(e,t){var n=t.stateUpdate,o=t.id;return{updateElement:function(r){var a=r.filter((function(e){return!0===e.visible})).map((function(e){return e.id}));n(o,JSON.stringify(a)),e("core/editor").editPost({meta:h()({},t.id,JSON.stringify(a))})},toggle:function(e){var n=t.value.map((function(t){return t.id===e&&(t.visible=!t.visible),t}));this.updateElement(n)}}}))((function(e){var t=e.value,n=e.elements,r=e.updateElement,i=e.toggle;return Object(o.createElement)("div",null,Object(o.createElement)(C.ReactSortable,{className:"neve-meta-control neve-meta-sortable-items",list:t,setList:r,handle:".ti-sortable-handle",animation:"300"},t.map((function(e){var t=e.id,r=e.visible;return Object(o.createElement)("div",{className:"ti-sortable-item-area ti-sortable-item-area-".concat(t),key:t},Object(o.createElement)("div",{className:r?"ti-sortable-item":"ti-sortable-item hidden"},Object(o.createElement)(a.Button,{isTertiary:!0,icon:r?"visibility":"hidden",label:Object(l.__)("Toggle","neve"),showTooltip:!0,className:"ti-sortable-item-toggle",onClick:function(){i(t)}}),Object(o.createElement)("div",{className:"ti-sortable-item-label"},n[t]),Object(o.createElement)("div",{className:"ti-sortable-handle"},Object(o.createElement)(a.Button,{isTertiary:!0,icon:"menu"}))))}))))})),D=n(9),M=n.n(D),P=function(){return Object(o.createElement)(a.SVG,{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.Path,{d:"M16.5 1.25H7.61111M16.5 9H0.5M16.5 16.75H7.61111",strokeWidth:"1.5"}))},k=function(){return Object(o.createElement)(a.SVG,{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.Path,{d:"M12.9444 1.25H4.05556M16.5 9H0.5M12.9444 16.75H4.05556",strokeWidth:"1.5"}))},I=function(){return Object(o.createElement)(a.SVG,{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.Path,{d:"M0.5 1.25H9.38889M0.5 9H16.5M0.5 16.75H9.38889",strokeWidth:"1.5"}))},T=(n(7),function(e){if("string"!=typeof e)return e;try{JSON.parse(e)}catch(t){return e}return JSON.parse(e)});function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){h()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(l.__)("Primary Accent","neve"),Object(l.__)("Secondary Accent","neve"),Object(l.__)("Site Background","neve"),Object(l.__)("Light Background","neve"),Object(l.__)("Dark Background","neve"),Object(l.__)("Text Color","neve"),Object(l.__)("Text Dark Background","neve"),Object(l.__)("Extra Color 1","neve"),Object(l.__)("Extra Color 2","neve");var R=function(e){A()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=j()(t);if(n){var r=j()(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return E()(this,e)});function i(e){var t;return v()(this,i),(t=r.call(this,e)).defaultState={neve_meta_sidebar:"default",neve_meta_container:"default",neve_meta_enable_content_width:"off",neve_meta_content_width:70,neve_meta_title_alignment:"left",neve_meta_author_avatar:metaSidebar.avatarDefaultState?"on":"off",neve_meta_reading_time:"off",neve_post_elements_order:JSON.stringify(["title","meta","thumbnail","content","tags","comments","post-navigation"]),neve_meta_disable_header:"off",neve_meta_disable_footer:"off",neve_meta_disable_title:"off"},t.defaultSortables=JSON.stringify(["title","meta","thumbnail","content","tags","comments","post-navigation"]),t.updateValues=t.updateValues.bind(y()(t)),t.resetAll=t.resetAll.bind(y()(t)),t.updateBlockWidth=t.updateBlockWidth.bind(y()(t)),t}return b()(i,[{key:"componentDidUpdate",value:function(){var e=Object(u.select)("core/editor").getEditedPostAttribute("meta"),t=function(e){return Object.keys(e).filter((function(t){return""===e[t]||0===e[t]})).forEach((function(t){return delete e[t]})),e},n=N(N({},t(this.defaultState)),t(e));for(var o in n)Object.keys(this.defaultState).includes(o)||delete n[o];this.updateBlockWidth()}},{key:"updateValues",value:function(e,t){this.props.setMetaValue(e,t)}},{key:"resetAll",value:function(){var e=N({},this.props.allMeta),t={};for(var n in Object.keys(this.defaultState).map((function(e){var n="";return"neve_meta_content_width"===e&&(n=0),t[e]=n,e})),t)Object.keys(e).includes(n)||delete t[n];this.props.setAllMetas(N(N({},e),t))}},{key:"updateBlockWidth",value:function(){var e=this.props.metaValue("neve_meta_enable_content_width"),t=this.props.metaValue("neve_meta_container");"default"===t&&(t=metaSidebar.actions.neve_meta_content_width.container);var n=this.props.metaValue("neve_meta_content_width"),o=metaSidebar.actions.neve_meta_content_width.content,r=o+"%",a=n+"%";"contained"===t&&(r=Math.round(o/100*metaSidebar.actions.neve_meta_content_width.editor)+"px",a=Math.round(n/100*metaSidebar.actions.neve_meta_content_width.editor)+"px"),document.contains(document.getElementById("neve-meta-editor-style"))&&document.getElementById("neve-meta-editor-style").remove();var i='.wp-block:not([data-align="full"]) { max-width: '+("on"===e?a:r)+"; }",l=document.head,s=document.createElement("style");s.setAttribute("id","neve-meta-editor-style"),s.innerHTML=i,l.appendChild(s)}},{key:"renderPageLayoutGroup",value:function(){var e=this;return"elementor_header_footer"!==Object(u.select)("core/editor").getEditedPostAttribute("template")&&Object(o.createElement)("div",{className:"nv-option-category"},Object(o.createElement)(a.PanelBody,{title:Object(l.__)("Page Layout","neve"),intialOpen:!0},Object(o.createElement)(a.BaseControl,{id:"neve_meta_sidebar",label:Object(l.__)("Sidebar","neve"),className:"neve-meta-control neve-meta-radio-image neve_meta_sidebar"},Object(o.createElement)(a.RadioControl,{selected:this.props.metaValue("neve_meta_sidebar")||"default",options:[{label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{alt:Object(l.__)("Inherit","neve"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABXCAYAAAC9UeOHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN6SURBVHgB7ZrfThpREMZn1SgUWiwkFi6gtol3mnjhi/QJmj5C36SP1gsvTGir0Rb/Baop20UL3fJtugaH3QXKzlLj90s2G5Rlc37MmTNnFqfreW/9weCDiLMujxjHkSPx/TdO13UPfV82hUDKxyXKuMf6kpB7UIiCQhQUoqAQBYUoKERBIQoKUVCIgkIUFKKgEAWFKChEQSEKClFQiIJCFBSioBAFhSgoREEhCgpRUIiCQhQrsgAGg4F0Om3peZ54wwOvwerqqiwvL8uzUkmKxafB66zJVEi325Xzs9PgHMXt7W1wvr6+Ds7lclleVGuZinF+dF1fjEEEQMTl5aX8C9VqNRBjDX4jYi4E3/rR4ZdgasxDsViUzVevgyllBYSYJlVExudPzbllAEwzfFaYb6wwFdL69vUuL6QBxGLqWWImBKtIp9OZ6Zq1tTVZWUnO88hDcUk5DcyEnJ+dyazs7OzI9vb2xPdZRonJsovoSJoqiIJCoTD2dyy3GxsbsrW1Jc1mM/Z6RAgOJNq0MRHyPWGq1Ot1aTQakgSkXFxc3NUjUUD6gxESt6ogR0BGu92W09PxsK/ValKpVOTk5CRRBnCN8kjqQkZLcU34jUJG1IARGZBxfHwsk8CUxH3SrktSF5JUJ4QluOu6kf8fzRvIMyjdIe7m5ib2XmkLyXS3iwFggP1+f+J7MVAk19JwoxdHmjVOSKabOyRKHCHhShMVMblcLjjHRQewKONTj5Bpd6aQgZoDURAFkivo9Xoy771mIfUICXsaSbkklBFWpXt7e2PvwYqEaIqLkHw+bxIhJlMGDZ6kWmQ0hyCnRMmDiKTVJjcUYoGJkHK5kigEg93f35fd3d0gSg4ODmRWqkb9ERMhqDdwJG3CkEixzE7azEXxfLgcW3XRzJbdaTpcyBGtVktmpWrYPTMTggixaPtZ91hNCzP0QlFtpgVk4DMtMa9U642XqURKFjJAJpUqBoIwR2Nn1nIb10GqxVY/ikweQ4yCtuI0YgpDAaXSejDlLDvto2TyGCIO7+9TO8/7eVeYYeD5/JMgGhbx1G6hQv5HzJ/LPEQoREEhCgpRUIiCQhQUoqAQBYUoKERBIQoKUVCIgkIUFKKgEAWFKChEQSEKClFQiIJCFBSioBAFhSgoREEhCgi5EhLg+3K15P/23/viHMkjBzL6v/x3fwDAqWHdPm8hRQAAAABJRU5ErkJggg=="}),Object(o.createElement)("span",{className:"option-label"},Object(l.__)("Inherit","neve"))),value:"default"},{label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{alt:Object(l.__)("None","neve"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABYCAYAAACjxTpsAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFISURBVHgB7dWxSsNgGEbht6UEgnGpg3HrUGf1DrxTL0yFutXBToFAsK3WoYtnMIVgW84zZwiHl/8btW07i/bKslxMPtfrp2T0GP1ot9vZOPrFKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKGCSnpqmyevLc07JRVVlPr/98/cuBfReSvVd/e7+IefMpQCjAKMAowBPMnApwJMMXAowCjAKMArwJAOXAjzJwKUAowCjAKMATzJwKcCTDFwKMAowCuj9pnRdl9XqI0OYTq9SFEX+20FR3pfLDKGqLk8zyu6nr+s6QziGIDsHRanrm5wzH1pgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBRgFGAUYBQw2WzyNhpnEe19AbO4NutQ2DJ9AAAAAElFTkSuQmCC"}),Object(o.createElement)("span",{className:"option-label"},Object(l.__)("None","neve"))),value:"full-width"},{label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{alt:Object(l.__)("Left","neve"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABXCAYAAABSk4i5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFDSURBVHgB7dUtT8NQFIfxM0ouYkWwUBLMMEMAiu/v+A6AQLH5+jVr9qL3iCZNTrPl+emrnuSe/+zrb7uPET6fd3FN7uv57CZ0xijAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjgNhL8/nzH1B6bJprmadDblChd18XU+r4f/DYlytv7R0ytqqrBb1OilFLiknhogVGAUYCTDJxk4CQDJxl4aIFRgFGAkwycZOAkAycZeGiBUYBRgJMMnGTgJAMnGXhogVFAyvdp2zbGOH2/uq4jS0qUzfo/xpgfg6xWr5ElJcrDYhFjlHIXmVKiLJcvcUk8tMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAowCjAKMAo4ABQ0jKnFSWXOgAAAABJRU5ErkJggg=="}),Object(o.createElement)("span",{className:"option-label"},Object(l.__)("Left","neve"))),value:"left"},{label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("img",{alt:Object(l.__)("Right","neve"),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABXCAYAAAC5pDO6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFVSURBVHgB7dlBSsNQFEbhWyORSCDYFajYgboH9z9zDerAOrMYCQSCmo498MqjCW3PB9nAIbn/IIv489V+/8QReX4/jxxPq4vFWehfhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgHJ/zLbto2315eY2/XNbVRVFfu200/evu9jbsMwxBSSw9R1HfcPjzG3oihiCju9MWVZxqnw+ALDAMMA5xo418C5Bs418PgCwwDDAOcaONfAuQbONfD4AsMAwwDnGjjXwLkGzjXw+ALDgORPqeu67ZOjaZrJbkSu5DCbzWd8rNeRo7xbbY/4IUgOU1WXcbVcRo5DeVtGyWHGz2B8ToXHFxgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgGGAYYBhgG/AIdeUYQlOqQ4AAAAABJRU5ErkJggg=="}),Object(o.createElement)("span",{className:"option-label"},Object(l.__)("Right","neve"))),value:"right"}],onChange:function(t){e.updateValues("neve_meta_sidebar",t)}})),Object(o.createElement)(a.BaseControl,{label:Object(l.__)("Container","neve"),id:"neve_meta_container",className:"neve-meta-control neve-meta-button-group neve_meta_container"},Object(o.createElement)(a.ButtonGroup,null,Object(o.createElement)(a.Button,{isPrimary:"default"===(this.props.metaValue("neve_meta_container")||"default"),isSecondary:"default"!==(this.props.metaValue("neve_meta_container")||"default"),onClick:function(){e.updateValues("neve_meta_container","default")}}," ",Object(l.__)("Default","neve")," "),Object(o.createElement)(a.Button,{isPrimary:"contained"===this.props.metaValue("neve_meta_container"),isSecondary:"contained"!==this.props.metaValue("neve_meta_container"),onClick:function(){e.updateValues("neve_meta_container","contained")}}," ",Object(l.__)("Contained","neve")," "),Object(o.createElement)(a.Button,{isPrimary:"full-width"===this.props.metaValue("neve_meta_container"),isSecondary:"full-width"!==this.props.metaValue("neve_meta_container"),onClick:function(){e.updateValues("neve_meta_container","full-width")}}," ",Object(l.__)("Full Width","neve")," "))),Object(o.createElement)(a.BaseControl,{id:"neve_meta_enable_content_width",className:"neve-meta-control neve-meta-checkbox neve_meta_enable_content_width"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Custom Content Width (%)","neve"),checked:"on"===this.props.metaValue("neve_meta_enable_content_width"),onChange:function(t){e.updateValues("neve_meta_enable_content_width",t?"on":"off"),e.updateValues("neve_meta_content_width",e.props.metaValue("neve_meta_content_width")||70)}})),"on"===this.props.metaValue("neve_meta_enable_content_width")?Object(o.createElement)(a.BaseControl,{id:"neve_meta_content_width",className:"neve-meta-control neve-meta-range neve_meta_content_width"},Object(o.createElement)(a.RangeControl,{value:this.props.metaValue("neve_meta_content_width"),onChange:function(t){e.updateValues("neve_meta_content_width",t)},min:0,max:100,step:"1"})):""))}},{key:"renderPageTitleGroup",value:function(){var e=this;if("elementor_header_footer"===Object(u.select)("core/editor").getEditedPostAttribute("template"))return!1;var t=JSON.parse(this.props.metaValue("neve_post_elements_order")||this.defaultSortables).includes("meta"),n=Object(u.select)("core/editor").getCurrentPostType();return Object(o.createElement)("div",{className:"nv-option-category"},Object(o.createElement)(a.PanelBody,{title:Object(l.__)("Page Title","neve"),intialOpen:!0},Object(o.createElement)(a.BaseControl,{label:Object(l.__)("Title alignment","neve"),id:"neve_meta_title_alignment",className:"neve-meta-control neve-meta-button-group neve_meta_title_alignment"},Object(o.createElement)(a.ButtonGroup,null,Object(o.createElement)(a.Button,{icon:I,className:"nv-align-left",isPrimary:"left"===(this.props.metaValue("neve_meta_title_alignment")||"left"),isSecondary:"left"!==(this.props.metaValue("neve_meta_title_alignment")||"left"),onClick:function(){e.updateValues("neve_meta_title_alignment","left")}}),Object(o.createElement)(a.Button,{icon:k,className:"nv-align-center",isPrimary:"center"===this.props.metaValue("neve_meta_title_alignment"),isSecondary:"center"!==this.props.metaValue("neve_meta_title_alignment"),onClick:function(){e.updateValues("neve_meta_title_alignment","center")}}),Object(o.createElement)(a.Button,{icon:P,className:"nv-align-right",isPrimary:"right"===this.props.metaValue("neve_meta_title_alignment"),isSecondary:"right"!==this.props.metaValue("neve_meta_title_alignment"),onClick:function(){e.updateValues("neve_meta_title_alignment","right")}}))),t&&"post"===n?Object(o.createElement)(a.BaseControl,{id:"neve_meta_author_avatar",className:"neve-meta-control neve-meta-checkbox neve_meta_author_avatar"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Author Avatar","neve"),checked:this.props.metaValue("neve_meta_author_avatar")?"on"===this.props.metaValue("neve_meta_author_avatar"):metaSidebar.avatarDefaultState,onChange:function(t){e.updateValues("neve_meta_author_avatar",t?"on":"off")}})):"",metaSidebar.enable_pro&&t&&"post"===n?Object(o.createElement)(a.BaseControl,{id:"neve_meta_reading_time",className:"neve-meta-control neve-meta-checkbox neve_meta_reading_time"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Reading Time","neve"),checked:"on"===this.props.metaValue("neve_meta_reading_time"),onChange:function(t){e.updateValues("neve_meta_reading_time",t?"on":"off")}})):""))}},{key:"renderElementsGroup",value:function(){var e=this,t=metaSidebar.isCoverLayout?{content:Object(l.__)("Content","neve"),tags:Object(l.__)("Tags","neve"),comments:Object(l.__)("Comments","neve"),"post-navigation":Object(l.__)("Post Navigation","neve")}:{title:Object(l.__)("Post Title","neve"),meta:Object(l.__)("Post Meta","neve"),thumbnail:Object(l.__)("Featured Image","neve"),content:Object(l.__)("Content","neve"),tags:Object(l.__)("Tags","neve"),comments:Object(l.__)("Comments","neve"),"post-navigation":Object(l.__)("Post Navigation","neve")},n=t;metaSidebar.enable_pro&&(n["author-biography"]=Object(l.__)("Author Biography","neve"),n["related-posts"]=Object(l.__)("Related Posts","neve"),n["sharing-icons"]=Object(l.__)("Sharing Icons","neve"));var r,i,s,c=Object(u.select)("core/editor").getEditedPostAttribute("template"),d=Object(u.select)("core/editor").getCurrentPostType(),p=Object(u.select)("core/editor").getEditedPostAttribute("meta").neve_post_elements_order||metaSidebar.elementsDefaultOrder;return Object(o.createElement)("div",{className:"nv-option-category"},Object(o.createElement)(a.PanelBody,{title:Object(l.__)("Elements","neve"),intialOpen:!0},"elementor_header_footer"!==c&&"post"===d?Object(o.createElement)(a.BaseControl,{id:"neve_post_elements_order",className:"neve-meta-control neve-meta-sortable"},Object(o.createElement)(x,{stateUpdate:this.updateValues,id:"neve_post_elements_order",elements:t,value:(r=T(p),i=r.map((function(e){return{id:e,visible:!0}})),s=Object.keys(t).filter((function(e){return!r.includes(e)})).map((function(e){return{id:e,visible:!1}})),[].concat(f()(i),f()(s)))})):"",Object(o.createElement)(a.BaseControl,{id:"neve_meta_disable_header",className:"neve-meta-control neve-meta-checkbox neve_meta_disable_header"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Disable Header","neve"),checked:"on"===this.props.metaValue("neve_meta_disable_header"),onChange:function(t){e.updateValues("neve_meta_disable_header",t?"on":"off")}})),Object(o.createElement)(a.BaseControl,{id:"neve_meta_disable_footer",className:"neve-meta-control neve-meta-checkbox neve_meta_disable_footer"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Disable Footer","neve"),checked:"on"===this.props.metaValue("neve_meta_disable_footer"),onChange:function(t){e.updateValues("neve_meta_disable_footer",t?"on":"off")}})),"elementor_header_footer"!==c&&"page"===d?Object(o.createElement)(a.BaseControl,{id:"neve_meta_disable_title",className:"neve-meta-control neve-meta-checkbox neve_meta_disable_title"},Object(o.createElement)(a.ToggleControl,{label:Object(l.__)("Disable Title","neve"),checked:"on"===this.props.metaValue("neve_meta_disable_title"),onChange:function(t){e.updateValues("neve_meta_disable_title",t?"on":"off")}})):""))}},{key:"renderResetButton",value:function(){var e=this;return Object(o.createElement)(a.BaseControl,{label:Object(l.__)("Reset all options to default","neve"),id:"neve_reset_all",className:"nv-reset-all components-panel__body is-opened"},Object(o.createElement)(a.Button,{icon:"image-rotate",className:"nv-reset-meta",onClick:function(){e.resetAll()},label:Object(l.__)("Return to customizer settings","neve"),showTooltip:!0}))}},{key:"render",value:function(){return Object(o.createElement)(o.Fragment,null,this.renderPageLayoutGroup(),this.renderPageTitleGroup(),this.renderElementsGroup(),this.renderResetButton())}}]),i}(o.Component),Y=Object(c.compose)([Object(u.withDispatch)((function(e){return{setMetaValue:function(t,n){e("core/editor").editPost({meta:h()({},t,n)})},setAllMetas:function(t){e("core/editor").editPost({meta:t})}}})),Object(u.withSelect)((function(e){return{metaValue:function(t){return e("core/editor").getEditedPostAttribute("meta")[t]},allMeta:e("core/editor").getEditedPostAttribute("meta")}}))])(R),G=Object(c.compose)(Object(u.withDispatch)((function(e){e("core/keyboard-shortcuts").registerShortcut({name:"neve/open-meta-sidebar",category:"block",description:Object(l.__)("Open Neve meta sidebar","neve"),keyCombination:{modifier:"access",character:"s"}})})),Object(u.withSelect)((function(e){return{template:e("core/editor").getEditedPostAttribute("template")}})))((function(e){if(Object(s.useShortcut)("neve/open-meta-sidebar",Object(o.useCallback)((function(){var e=Object(u.select)("core/edit-post").getActiveGeneralSidebarName();e?(Object(u.dispatch)("core/edit-post").closeGeneralSidebar(e),"meta-sidebar/neve-meta-sidebar"!==e&&Object(u.dispatch)("core/edit-post").openGeneralSidebar("meta-sidebar/neve-meta-sidebar")):Object(u.dispatch)("core/edit-post").openGeneralSidebar("meta-sidebar/neve-meta-sidebar")}),[])),"elementor_canvas"===e.template)return document.getElementById("neve-page-settings-notice").style.display="none",!1;document.getElementById("neve-page-settings-notice").style.display="block";//translators: %s - Theme name
var t=Object(l.sprintf)(Object(l.__)("%s Options","neve"),Object(l.__)("Neve","neve"));return metaSidebar.whiteLabeled&&(t=metaSidebar.whiteLabelThemeName?metaSidebar.whiteLabelThemeName+" "+Object(l.__)("Options","neve"):Object(l.__)("Options","neve")),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.PluginSidebarMoreMenuItem,{target:"neve-meta-sidebar"},t),Object(o.createElement)(i.PluginSidebar,{name:"neve-meta-sidebar",title:t},Object(o.createElement)(Y,null)))})),U=metaSidebar.whiteLabeled?"hammer":function(e){var t=e.className;return Object(o.createElement)(a.SVG,{width:"17",height:"24",viewBox:"0 0 17 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:M()(["neve-icon",t])},Object(o.createElement)(a.Path,{d:"M4.77822 10.2133V19.3287H0.118347V0.802224C0.118347 0.712594 0.145598 0.649854 0.200099 0.614002C0.254601 0.578149 0.354519 0.622964 0.499857 0.748446L12.1359 10.2133V1.04422H16.7958V19.5976C16.7958 19.7051 16.7685 19.7724 16.714 19.7992C16.6595 19.8261 16.5596 19.7768 16.4143 19.6514L4.77822 10.2133Z"}),Object(o.createElement)(a.Rect,{x:"0.118347",y:"22.3334",width:"16.6774",height:"1.51613"}))};Object(r.registerPlugin)("meta-sidebar",{icon:Object(o.createElement)(a.Icon,{icon:U}),render:G})}]);

Zerion Mini Shell 1.0