@eox/layercontrol 1.1.3 → 1.1.4-dev.1759494770.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eox-layercontrol.js +1 -1
- package/dist/eox-layercontrol.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/helpers/get-start-vals.js +1 -2
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-start-vals.d.ts.map +1 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +11 -5
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/types.d.ts +10 -3
- package/types/map/src/types.d.ts.map +1 -1
package/dist/eox-layercontrol.js
CHANGED
|
@@ -2766,7 +2766,7 @@ function _o(r, e) {
|
|
|
2766
2766
|
let t = {};
|
|
2767
2767
|
for (const o in r) {
|
|
2768
2768
|
const n = r[o].type;
|
|
2769
|
-
if (n && n !== "object")
|
|
2769
|
+
if (n && n !== "object" && e[o] !== void 0)
|
|
2770
2770
|
t[o] = n === "number" ? Number(e[o]) : e[o];
|
|
2771
2771
|
else if (typeof r[o] == "object" && ((i = r[o]) != null && i.properties)) {
|
|
2772
2772
|
const a = _o(
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* @author RubaXa <trash@rubaxa.org>
|
|
43
43
|
* @author owenm <owen23355@gmail.com>
|
|
44
44
|
* @license MIT
|
|
45
|
-
*/function Fi(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,i)}return t}function ze(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Fi(Object(t),!0).forEach(function(i){xa(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Fi(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function qt(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qt=function(e){return typeof e}:qt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(r)}function xa(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Le(){return Le=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Le.apply(this,arguments)}function ka(r,e){if(r==null)return{};var t={},i=Object.keys(r),o,n;for(n=0;n<i.length;n++)o=i[n],!(e.indexOf(o)>=0)&&(t[o]=r[o]);return t}function wa(r,e){if(r==null)return{};var t=ka(r,e),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(t[i]=r[i])}return t}var _a="1.15.6";function De(r){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(r)}var Pe=De(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),St=De(/Edge/i),Xi=De(/firefox/i),zt=De(/safari/i)&&!De(/chrome/i)&&!De(/android/i),Fr=De(/iP(ad|od|hone)/i),Zi=De(/chrome/i)&&De(/android/i),Yi={capture:!1,passive:!1};function A(r,e,t){r.addEventListener(e,t,!Pe&&Yi)}function z(r,e,t){r.removeEventListener(e,t,!Pe&&Yi)}function Ft(r,e){if(e){if(e[0]===">"&&(e=e.substring(1)),r)try{if(r.matches)return r.matches(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e)}catch{return!1}return!1}}function Wi(r){return r.host&&r!==document&&r.host.nodeType?r.host:r.parentNode}function $e(r,e,t,i){if(r){t=t||document;do{if(e!=null&&(e[0]===">"?r.parentNode===t&&Ft(r,e):Ft(r,e))||i&&r===t)return r;if(r===t)break}while(r=Wi(r))}return null}var Gi=/\s+/g;function ye(r,e,t){if(r&&e)if(r.classList)r.classList[t?"add":"remove"](e);else{var i=(" "+r.className+" ").replace(Gi," ").replace(" "+e+" "," ");r.className=(i+(t?" "+e:"")).replace(Gi," ")}}function x(r,e,t){var i=r&&r.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(r,""):r.currentStyle&&(t=r.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function st(r,e){var t="";if(typeof r=="string")t=r;else do{var i=x(r,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(r=r.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(t)}function Ji(r,e,t){if(r){var i=r.getElementsByTagName(e),o=0,n=i.length;if(t)for(;o<n;o++)t(i[o],o);return i}return[]}function Ee(){var r=document.scrollingElement;return r||document.documentElement}function G(r,e,t,i,o){if(!(!r.getBoundingClientRect&&r!==window)){var n,a,l,s,c,u,d;if(r!==window&&r.parentNode&&r!==Ee()?(n=r.getBoundingClientRect(),a=n.top,l=n.left,s=n.bottom,c=n.right,u=n.height,d=n.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||t)&&r!==window&&(o=o||r.parentNode,!Pe))do if(o&&o.getBoundingClientRect&&(x(o,"transform")!=="none"||t&&x(o,"position")!=="static")){var m=o.getBoundingClientRect();a-=m.top+parseInt(x(o,"border-top-width")),l-=m.left+parseInt(x(o,"border-left-width")),s=a+n.height,c=l+n.width;break}while(o=o.parentNode);if(i&&r!==window){var h=st(o||r),f=h&&h.a,y=h&&h.d;h&&(a/=y,l/=f,d/=f,u/=y,s=a+u,c=l+d)}return{top:a,left:l,bottom:s,right:c,width:d,height:u}}}function Ki(r,e,t){for(var i=Ne(r,!0),o=G(r)[e];i;){var n=G(i)[t],a=void 0;if(a=o>=n,!a)return i;if(i===Ee())break;i=Ne(i,!1)}return!1}function ct(r,e,t,i){for(var o=0,n=0,a=r.children;n<a.length;){if(a[n].style.display!=="none"&&a[n]!==k.ghost&&(i||a[n]!==k.dragged)&&$e(a[n],t.draggable,r,!1)){if(o===e)return a[n];o++}n++}return null}function Xr(r,e){for(var t=r.lastElementChild;t&&(t===k.ghost||x(t,"display")==="none"||e&&!Ft(t,e));)t=t.previousElementSibling;return t||null}function we(r,e){var t=0;if(!r||!r.parentNode)return-1;for(;r=r.previousElementSibling;)r.nodeName.toUpperCase()!=="TEMPLATE"&&r!==k.clone&&(!e||Ft(r,e))&&t++;return t}function Qi(r){var e=0,t=0,i=Ee();if(r)do{var o=st(r),n=o.a,a=o.d;e+=r.scrollLeft*n,t+=r.scrollTop*a}while(r!==i&&(r=r.parentNode));return[e,t]}function $a(r,e){for(var t in r)if(r.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===r[t][i])return Number(t)}return-1}function Ne(r,e){if(!r||!r.getBoundingClientRect)return Ee();var t=r,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var o=x(t);if(t.clientWidth<t.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Ee();if(i||e)return t;i=!0}}while(t=t.parentNode);return Ee()}function Sa(r,e){if(r&&e)for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r}function Zr(r,e){return Math.round(r.top)===Math.round(e.top)&&Math.round(r.left)===Math.round(e.left)&&Math.round(r.height)===Math.round(e.height)&&Math.round(r.width)===Math.round(e.width)}var Et;function eo(r,e){return function(){if(!Et){var t=arguments,i=this;t.length===1?r.call(i,t[0]):r.apply(i,t),Et=setTimeout(function(){Et=void 0},e)}}}function za(){clearTimeout(Et),Et=void 0}function to(r,e,t){r.scrollLeft+=e,r.scrollTop+=t}function ro(r){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(r).cloneNode(!0):t?t(r).clone(!0)[0]:r.cloneNode(!0)}function io(r,e,t){var i={};return Array.from(r.children).forEach(function(o){var n,a,l,s;if(!(!$e(o,e.draggable,r,!1)||o.animated||o===t)){var c=G(o);i.left=Math.min((n=i.left)!==null&&n!==void 0?n:1/0,c.left),i.top=Math.min((a=i.top)!==null&&a!==void 0?a:1/0,c.top),i.right=Math.max((l=i.right)!==null&&l!==void 0?l:-1/0,c.right),i.bottom=Math.max((s=i.bottom)!==null&&s!==void 0?s:-1/0,c.bottom)}}),i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var me="Sortable"+new Date().getTime();function Ea(){var r=[],e;return{captureAnimationState:function(){if(r=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(o){if(!(x(o,"display")==="none"||o===k.ghost)){r.push({target:o,rect:G(o)});var n=ze({},r[r.length-1].rect);if(o.thisAnimationDuration){var a=st(o,!0);a&&(n.top-=a.f,n.left-=a.e)}o.fromRect=n}})}},addAnimationState:function(i){r.push(i)},removeAnimationState:function(i){r.splice($a(r,{target:i}),1)},animateAll:function(i){var o=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var n=!1,a=0;r.forEach(function(l){var s=0,c=l.target,u=c.fromRect,d=G(c),m=c.prevFromRect,h=c.prevToRect,f=l.rect,y=st(c,!0);y&&(d.top-=y.f,d.left-=y.e),c.toRect=d,c.thisAnimationDuration&&Zr(m,d)&&!Zr(u,d)&&(f.top-d.top)/(f.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(s=Ca(f,m,h,o.options)),Zr(d,u)||(c.prevFromRect=u,c.prevToRect=d,s||(s=o.options.animation),o.animate(c,f,d,s)),s&&(n=!0,a=Math.max(a,s),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},s),c.thisAnimationDuration=s)}),clearTimeout(e),n?e=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),r=[]},animate:function(i,o,n,a){if(a){x(i,"transition",""),x(i,"transform","");var l=st(this.el),s=l&&l.a,c=l&&l.d,u=(o.left-n.left)/(s||1),d=(o.top-n.top)/(c||1);i.animatingX=!!u,i.animatingY=!!d,x(i,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=Aa(i),x(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),x(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){x(i,"transition",""),x(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function Aa(r){return r.offsetWidth}function Ca(r,e,t,i){return Math.sqrt(Math.pow(e.top-r.top,2)+Math.pow(e.left-r.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var dt=[],Yr={initializeByDefault:!0},At={mount:function(e){for(var t in Yr)Yr.hasOwnProperty(t)&&!(t in e)&&(e[t]=Yr[t]);dt.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),dt.push(e)},pluginEvent:function(e,t,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var n=e+"Global";dt.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][n]&&t[a.pluginName][n](ze({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](ze({sortable:t},i)))})},initializePlugins:function(e,t,i,o){dt.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var c=new l(e,t,e.options);c.sortable=e,c.options=e.options,e[s]=c,Le(i,c.defaults)}});for(var n in e.options)if(e.options.hasOwnProperty(n)){var a=this.modifyOption(e,n,e.options[n]);typeof a<"u"&&(e.options[n]=a)}},getEventProperties:function(e,t){var i={};return dt.forEach(function(o){typeof o.eventProperties=="function"&&Le(i,o.eventProperties.call(t[o.pluginName],e))}),i},modifyOption:function(e,t,i){var o;return dt.forEach(function(n){e[n.pluginName]&&n.optionListeners&&typeof n.optionListeners[t]=="function"&&(o=n.optionListeners[t].call(e[n.pluginName],i))}),o}};function Ta(r){var e=r.sortable,t=r.rootEl,i=r.name,o=r.targetEl,n=r.cloneEl,a=r.toEl,l=r.fromEl,s=r.oldIndex,c=r.newIndex,u=r.oldDraggableIndex,d=r.newDraggableIndex,m=r.originalEvent,h=r.putSortable,f=r.extraEventProperties;if(e=e||t&&t[me],!!e){var y,V=e.options,te="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Pe&&!St?y=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(i,!0,!0)),y.to=a||t,y.from=l||t,y.item=o||t,y.clone=n,y.oldIndex=s,y.newIndex=c,y.oldDraggableIndex=u,y.newDraggableIndex=d,y.originalEvent=m,y.pullMode=h?h.lastPutMode:void 0;var F=ze(ze({},f),At.getEventProperties(i,e));for(var ue in F)y[ue]=F[ue];t&&t.dispatchEvent(y),V[te]&&V[te].call(e,y)}}var La=["evt"],he=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,n=wa(i,La);At.pluginEvent.bind(k)(e,t,ze({dragEl:p,parentEl:q,ghostEl:w,rootEl:N,nextEl:Je,lastDownEl:Xt,cloneEl:U,cloneHidden:Be,dragStarted:Tt,putSortable:ne,activeSortable:k.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:Ct,newIndex:ve,newDraggableIndex:Ue,hideGhostForTarget:uo,unhideGhostForTarget:po,cloneNowHidden:function(){Be=!0},cloneNowShown:function(){Be=!1},dispatchSortableEvent:function(l){de({sortable:t,name:l,originalEvent:o})}},n))};function de(r){Ta(ze({putSortable:ne,cloneEl:U,targetEl:p,rootEl:N,oldIndex:ut,oldDraggableIndex:Ct,newIndex:ve,newDraggableIndex:Ue},r))}var p,q,w,N,Je,Xt,U,Be,ut,ve,Ct,Ue,Zt,ne,pt=!1,Yt=!1,Wt=[],Ke,Se,Wr,Gr,oo,no,Tt,mt,Lt,Dt=!1,Gt=!1,Jt,se,Jr=[],Kr=!1,Kt=[],Qt=typeof document<"u",er=Fr,ao=St||Pe?"cssFloat":"float",Da=Qt&&!Zi&&!Fr&&"draggable"in document.createElement("div"),lo=function(){if(Qt){if(Pe)return!1;var r=document.createElement("x");return r.style.cssText="pointer-events:auto",r.style.pointerEvents==="auto"}}(),so=function(e,t){var i=x(e),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),n=ct(e,0,t),a=ct(e,1,t),l=n&&x(n),s=a&&x(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+G(n).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+G(a).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&l.float&&l.float!=="none"){var d=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return n&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=o&&i[ao]==="none"||a&&i[ao]==="none"&&c+u>o)?"vertical":"horizontal"},Pa=function(e,t,i){var o=i?e.left:e.top,n=i?e.right:e.bottom,a=i?e.width:e.height,l=i?t.left:t.top,s=i?t.right:t.bottom,c=i?t.width:t.height;return o===l||n===s||o+a/2===l+c/2},Ra=function(e,t){var i;return Wt.some(function(o){var n=o[me].options.emptyInsertThreshold;if(!(!n||Xr(o))){var a=G(o),l=e>=a.left-n&&e<=a.right+n,s=t>=a.top-n&&t<=a.bottom+n;if(l&&s)return i=o}}),i},co=function(e){function t(n,a){return function(l,s,c,u){var d=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(n==null&&(a||d))return!0;if(n==null||n===!1)return!1;if(a&&n==="clone")return n;if(typeof n=="function")return t(n(l,s,c,u),a)(l,s,c,u);var m=(a?l:s).options.group.name;return n===!0||typeof n=="string"&&n===m||n.join&&n.indexOf(m)>-1}}var i={},o=e.group;(!o||qt(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=t(o.pull,!0),i.checkPut=t(o.put),i.revertClone=o.revertClone,e.group=i},uo=function(){!lo&&w&&x(w,"display","none")},po=function(){!lo&&w&&x(w,"display","")};Qt&&!Zi&&document.addEventListener("click",function(r){if(Yt)return r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.stopImmediatePropagation&&r.stopImmediatePropagation(),Yt=!1,!1},!0);var Qe=function(e){if(p){e=e.touches?e.touches[0]:e;var t=Ra(e.clientX,e.clientY);if(t){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[me]._onDragOver(i)}}},Oa=function(e){p&&p.parentNode[me]._isOutsideThisEl(e.target)};function k(r,e){if(!(r&&r.nodeType&&r.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));this.el=r,this.options=e=Le({},e),r[me]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(r.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return so(r,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.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:k.supportPointer!==!1&&"PointerEvent"in window&&(!zt||Fr),emptyInsertThreshold:5};At.initializePlugins(this,r,t);for(var i in t)!(i in e)&&(e[i]=t[i]);co(e);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=e.forceFallback?!1:Da,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(r,"pointerdown",this._onTapStart):(A(r,"mousedown",this._onTapStart),A(r,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(r,"dragover",this),A(r,"dragenter",this)),Wt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Le(this,Ea())}k.prototype={constructor:k,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(mt=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,p):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,o=this.options,n=o.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=o.filter;if(ja(i),!p&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&zt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=$e(s,o.draggable,i,!1),!(s&&s.animated)&&Xt!==s)){if(ut=we(s),Ct=we(s,o.draggable),typeof u=="function"){if(u.call(this,e,s,this)){de({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:i,fromEl:i}),he("filter",t,{evt:e}),n&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=$e(c,d.trim(),i,!1),d)return de({sortable:t,rootEl:d,name:"filter",targetEl:s,fromEl:i,toEl:i}),he("filter",t,{evt:e}),!0}),u)){n&&e.preventDefault();return}o.handle&&!$e(c,o.handle,i,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,i){var o=this,n=o.el,a=o.options,l=n.ownerDocument,s;if(i&&!p&&i.parentNode===n){var c=G(i);if(N=n,p=i,q=p.parentNode,Je=p.nextSibling,Xt=i,Zt=a.group,k.dragged=p,Ke={target:p,clientX:(t||e).clientX,clientY:(t||e).clientY},oo=Ke.clientX-c.left,no=Ke.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,p.style["will-change"]="all",s=function(){if(he("delayEnded",o,{evt:e}),k.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Xi&&o.nativeDraggable&&(p.draggable=!0),o._triggerDragStart(e,t),de({sortable:o,name:"choose",originalEvent:e}),ye(p,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){Ji(p,u.trim(),Qr)}),A(l,"dragover",Qe),A(l,"mousemove",Qe),A(l,"touchmove",Qe),a.supportPointer?(A(l,"pointerup",o._onDrop),!this.nativeDraggable&&A(l,"pointercancel",o._onDrop)):(A(l,"mouseup",o._onDrop),A(l,"touchend",o._onDrop),A(l,"touchcancel",o._onDrop)),Xi&&this.nativeDraggable&&(this.options.touchStartThreshold=4,p.draggable=!0),he("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(St||Pe))){if(k.eventCanceled){this._onDrop();return}a.supportPointer?(A(l,"pointerup",o._disableDelayedDrag),A(l,"pointercancel",o._disableDelayedDrag)):(A(l,"mouseup",o._disableDelayedDrag),A(l,"touchend",o._disableDelayedDrag),A(l,"touchcancel",o._disableDelayedDrag)),A(l,"mousemove",o._delayedDragTouchMoveHandler),A(l,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&A(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(s,a.delay)}else s()}},_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(){p&&Qr(p),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._disableDelayedDrag),z(e,"touchend",this._disableDelayedDrag),z(e,"touchcancel",this._disableDelayedDrag),z(e,"pointerup",this._disableDelayedDrag),z(e,"pointercancel",this._disableDelayedDrag),z(e,"mousemove",this._delayedDragTouchMoveHandler),z(e,"touchmove",this._delayedDragTouchMoveHandler),z(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):t?A(document,"touchmove",this._onTouchMove):A(document,"mousemove",this._onTouchMove):(A(p,"dragend",this),A(N,"dragstart",this._onDragStart));try{document.selection?rr(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(pt=!1,N&&p){he("dragStarted",this,{evt:t}),this.nativeDraggable&&A(document,"dragover",Oa);var i=this.options;!e&&ye(p,i.dragClass,!1),ye(p,i.ghostClass,!0),k.active=this,e&&this._appendGhost(),de({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Se){this._lastX=Se.clientX,this._lastY=Se.clientY,uo();for(var e=document.elementFromPoint(Se.clientX,Se.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Se.clientX,Se.clientY),e!==t);)t=e;if(p.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){var i=void 0;if(i=t[me]._onDragOver({clientX:Se.clientX,clientY:Se.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=Wi(t));po()}},_onTouchMove:function(e){if(Ke){var t=this.options,i=t.fallbackTolerance,o=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=w&&st(w,!0),l=w&&a&&a.a,s=w&&a&&a.d,c=er&&se&&Qi(se),u=(n.clientX-Ke.clientX+o.x)/(l||1)+(c?c[0]-Jr[0]:0)/(l||1),d=(n.clientY-Ke.clientY+o.y)/(s||1)+(c?c[1]-Jr[1]:0)/(s||1);if(!k.active&&!pt){if(i&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(w){a?(a.e+=u-(Wr||0),a.f+=d-(Gr||0)):a={a:1,b:0,c:0,d:1,e:u,f:d};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");x(w,"webkitTransform",m),x(w,"mozTransform",m),x(w,"msTransform",m),x(w,"transform",m),Wr=u,Gr=d,Se=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!w){var e=this.options.fallbackOnBody?document.body:N,t=G(p,!0,er,!0,e),i=this.options;if(er){for(se=e;x(se,"position")==="static"&&x(se,"transform")==="none"&&se!==document;)se=se.parentNode;se!==document.body&&se!==document.documentElement?(se===document&&(se=Ee()),t.top+=se.scrollTop,t.left+=se.scrollLeft):se=Ee(),Jr=Qi(se)}w=p.cloneNode(!0),ye(w,i.ghostClass,!1),ye(w,i.fallbackClass,!0),ye(w,i.dragClass,!0),x(w,"transition",""),x(w,"transform",""),x(w,"box-sizing","border-box"),x(w,"margin",0),x(w,"top",t.top),x(w,"left",t.left),x(w,"width",t.width),x(w,"height",t.height),x(w,"opacity","0.8"),x(w,"position",er?"absolute":"fixed"),x(w,"zIndex","100000"),x(w,"pointerEvents","none"),k.ghost=w,e.appendChild(w),x(w,"transform-origin",oo/parseInt(w.style.width)*100+"% "+no/parseInt(w.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,o=e.dataTransfer,n=i.options;if(he("dragStart",this,{evt:e}),k.eventCanceled){this._onDrop();return}he("setupClone",this),k.eventCanceled||(U=ro(p),U.removeAttribute("id"),U.draggable=!1,U.style["will-change"]="",this._hideClone(),ye(U,this.options.chosenClass,!1),k.clone=U),i.cloneId=rr(function(){he("clone",i),!k.eventCanceled&&(i.options.removeCloneOnHide||N.insertBefore(U,p),i._hideClone(),de({sortable:i,name:"clone"}))}),!t&&ye(p,n.dragClass,!0),t?(Yt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(z(document,"mouseup",i._onDrop),z(document,"touchend",i._onDrop),z(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",n.setData&&n.setData.call(i,o,p)),A(document,"drop",i),x(p,"transform","translateZ(0)")),pt=!0,i._dragStartId=rr(i._dragStarted.bind(i,t,e)),A(document,"selectstart",i),Tt=!0,window.getSelection().removeAllRanges(),zt&&x(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,o,n,a,l=this.options,s=l.group,c=k.active,u=Zt===s,d=l.sort,m=ne||c,h,f=this,y=!1;if(Kr)return;function V(xe,et){he(xe,f,ze({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:o,targetRect:n,canSort:d,fromSortable:m,target:i,completed:F,onMove:function(tt,Oe){return tr(N,t,p,o,tt,G(tt),e,Oe)},changed:ue},et))}function te(){V("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function F(xe){return V("dragOverCompleted",{insertion:xe}),xe&&(u?c._hideClone():c._showClone(f),f!==m&&(ye(p,ne?ne.options.ghostClass:c.options.ghostClass,!1),ye(p,l.ghostClass,!0)),ne!==f&&f!==k.active?ne=f:f===k.active&&ne&&(ne=null),m===f&&(f._ignoreWhileAnimating=i),f.animateAll(function(){V("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(i===p&&!p.animated||i===t&&!i.animated)&&(mt=null),!l.dragoverBubble&&!e.rootEl&&i!==document&&(p.parentNode[me]._isOutsideThisEl(e.target),!xe&&Qe(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),y=!0}function ue(){ve=we(p),Ue=we(p,l.draggable),de({sortable:f,name:"change",toEl:t,newIndex:ve,newDraggableIndex:Ue,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=$e(i,l.draggable,t,!0),V("dragOver"),k.eventCanceled)return y;if(p.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||f._ignoreWhileAnimating===i)return F(!1);if(Yt=!1,c&&!l.disabled&&(u?d||(a=q!==N):ne===this||(this.lastPutMode=Zt.checkPull(this,c,p,e))&&s.checkPut(this,c,p,e))){if(h=this._getDirection(e,i)==="vertical",o=G(p),V("dragOverValid"),k.eventCanceled)return y;if(a)return q=N,te(),this._hideClone(),V("revert"),k.eventCanceled||(Je?N.insertBefore(p,Je):N.appendChild(p)),F(!0);var re=Xr(t,l.draggable);if(!re||Ia(e,h,this)&&!re.animated){if(re===p)return F(!1);if(re&&t===e.target&&(i=re),i&&(n=G(i)),tr(N,t,p,o,i,n,e,!!i)!==!1)return te(),re&&re.nextSibling?t.insertBefore(p,re.nextSibling):t.appendChild(p),q=t,ue(),F(!0)}else if(re&&Va(e,h,this)){var _=ct(t,0,l,!0);if(_===p)return F(!1);if(i=_,n=G(i),tr(N,t,p,o,i,n,e,!1)!==!1)return te(),t.insertBefore(p,_),q=t,ue(),F(!0)}else if(i.parentNode===t){n=G(i);var b=0,E,H=p.parentNode!==t,P=!Pa(p.animated&&p.toRect||o,i.animated&&i.toRect||n,h),K=h?"top":"left",Q=Ki(i,"top","top")||Ki(p,"top","top"),B=Q?Q.scrollTop:void 0;mt!==i&&(E=n[K],Dt=!1,Gt=!P&&l.invertSwap||H),b=Na(e,i,n,h,P?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Gt,mt===i);var O;if(b!==0){var W=we(p);do W-=b,O=q.children[W];while(O&&(x(O,"display")==="none"||O===w))}if(b===0||O===i)return F(!1);mt=i,Lt=b;var fe=i.nextElementSibling,le=!1;le=b===1;var ge=tr(N,t,p,o,i,n,e,le);if(ge!==!1)return(ge===1||ge===-1)&&(le=ge===1),Kr=!0,setTimeout(Ma,30),te(),le&&!fe?t.appendChild(p):i.parentNode.insertBefore(p,le?fe:i),Q&&to(Q,0,B-Q.scrollTop),q=p.parentNode,E!==void 0&&!Gt&&(Jt=Math.abs(E-G(i)[K])),ue(),F(!0)}if(t.contains(p))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,"mousemove",this._onTouchMove),z(document,"touchmove",this._onTouchMove),z(document,"pointermove",this._onTouchMove),z(document,"dragover",Qe),z(document,"mousemove",Qe),z(document,"touchmove",Qe)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._onDrop),z(e,"touchend",this._onDrop),z(e,"pointerup",this._onDrop),z(e,"pointercancel",this._onDrop),z(e,"touchcancel",this._onDrop),z(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(ve=we(p),Ue=we(p,i.draggable),he("drop",this,{evt:e}),q=p&&p.parentNode,ve=we(p),Ue=we(p,i.draggable),k.eventCanceled){this._nulling();return}pt=!1,Gt=!1,Dt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ei(this.cloneId),ei(this._dragStartId),this.nativeDraggable&&(z(document,"drop",this),z(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),zt&&x(document.body,"user-select",""),x(p,"transform",""),e&&(Tt&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),w&&w.parentNode&&w.parentNode.removeChild(w),(N===q||ne&&ne.lastPutMode!=="clone")&&U&&U.parentNode&&U.parentNode.removeChild(U),p&&(this.nativeDraggable&&z(p,"dragend",this),Qr(p),p.style["will-change"]="",Tt&&!pt&&ye(p,ne?ne.options.ghostClass:this.options.ghostClass,!1),ye(p,this.options.chosenClass,!1),de({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),N!==q?(ve>=0&&(de({rootEl:q,name:"add",toEl:q,fromEl:N,originalEvent:e}),de({sortable:this,name:"remove",toEl:q,originalEvent:e}),de({rootEl:q,name:"sort",toEl:q,fromEl:N,originalEvent:e}),de({sortable:this,name:"sort",toEl:q,originalEvent:e})),ne&&ne.save()):ve!==ut&&ve>=0&&(de({sortable:this,name:"update",toEl:q,originalEvent:e}),de({sortable:this,name:"sort",toEl:q,originalEvent:e})),k.active&&((ve==null||ve===-1)&&(ve=ut,Ue=Ct),de({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){he("nulling",this),N=p=q=w=Je=U=Xt=Be=Ke=Se=Tt=ve=Ue=ut=Ct=mt=Lt=ne=Zt=k.dragged=k.ghost=k.clone=k.active=null,Kt.forEach(function(e){e.checked=!0}),Kt.length=Wr=Gr=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":p&&(this._onDragOver(e),Ha(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,o=0,n=i.length,a=this.options;o<n;o++)t=i[o],$e(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||Ua(t));return e},sort:function(e,t){var i={},o=this.el;this.toArray().forEach(function(n,a){var l=o.children[a];$e(l,this.options.draggable,o,!1)&&(i[n]=l)},this),t&&this.captureAnimationState(),e.forEach(function(n){i[n]&&(o.removeChild(i[n]),o.appendChild(i[n]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return $e(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var o=At.modifyOption(this,e,t);typeof o<"u"?i[e]=o:i[e]=t,e==="group"&&co(i)},destroy:function(){he("destroy",this);var e=this.el;e[me]=null,z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart),z(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Wt.splice(Wt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Be){if(he("hideClone",this),k.eventCanceled)return;x(U,"display","none"),this.options.removeCloneOnHide&&U.parentNode&&U.parentNode.removeChild(U),Be=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Be){if(he("showClone",this),k.eventCanceled)return;p.parentNode==N&&!this.options.group.revertClone?N.insertBefore(U,p):Je?N.insertBefore(U,Je):N.appendChild(U),this.options.group.revertClone&&this.animate(p,U),x(U,"display",""),Be=!1}}};function Ha(r){r.dataTransfer&&(r.dataTransfer.dropEffect="move"),r.cancelable&&r.preventDefault()}function tr(r,e,t,i,o,n,a,l){var s,c=r[me],u=c.options.onMove,d;return window.CustomEvent&&!Pe&&!St?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=r,s.dragged=t,s.draggedRect=i,s.related=o||e,s.relatedRect=n||G(e),s.willInsertAfter=l,s.originalEvent=a,r.dispatchEvent(s),u&&(d=u.call(c,s,a)),d}function Qr(r){r.draggable=!1}function Ma(){Kr=!1}function Va(r,e,t){var i=G(ct(t.el,0,t.options,!0)),o=io(t.el,t.options,w),n=10;return e?r.clientX<o.left-n||r.clientY<i.top&&r.clientX<i.right:r.clientY<o.top-n||r.clientY<i.bottom&&r.clientX<i.left}function Ia(r,e,t){var i=G(Xr(t.el,t.options.draggable)),o=io(t.el,t.options,w),n=10;return e?r.clientX>o.right+n||r.clientY>i.bottom&&r.clientX>i.left:r.clientY>o.bottom+n||r.clientX>i.right&&r.clientY>i.top}function Na(r,e,t,i,o,n,a,l){var s=i?r.clientY:r.clientX,c=i?t.height:t.width,u=i?t.top:t.left,d=i?t.bottom:t.right,m=!1;if(!a){if(l&&Jt<c*o){if(!Dt&&(Lt===1?s>u+c*n/2:s<d-c*n/2)&&(Dt=!0),Dt)m=!0;else if(Lt===1?s<u+Jt:s>d-Jt)return-Lt}else if(s>u+c*(1-o)/2&&s<d-c*(1-o)/2)return Ba(e)}return m=m||a,m&&(s<u+c*n/2||s>d-c*n/2)?s>u+c/2?1:-1:0}function Ba(r){return we(p)<we(r)?1:-1}function Ua(r){for(var e=r.tagName+r.className+r.src+r.href+r.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function ja(r){Kt.length=0;for(var e=r.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&Kt.push(i)}}function rr(r){return setTimeout(r,0)}function ei(r){return clearTimeout(r)}Qt&&A(document,"touchmove",function(r){(k.active||pt)&&r.cancelable&&r.preventDefault()}),k.utils={on:A,off:z,css:x,find:Ji,is:function(e,t){return!!$e(e,t,e,!1)},extend:Sa,throttle:eo,closest:$e,toggleClass:ye,clone:ro,index:we,nextTick:rr,cancelNextTick:ei,detectDirection:so,getChild:ct,expando:me},k.get=function(r){return r[me]},k.mount=function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(k.utils=ze(ze({},k.utils),i.utils)),At.mount(i)})},k.create=function(r,e){return new k(r,e)},k.version=_a;var J=[],Pt,ti,ri=!1,ii,oi,ir,Rt;function qa(){function r(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return r.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):i.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):(z(document,"pointermove",this._handleFallbackAutoScroll),z(document,"touchmove",this._handleFallbackAutoScroll),z(document,"mousemove",this._handleFallbackAutoScroll)),mo(),or(),za()},nulling:function(){ir=ti=Pt=ri=Rt=ii=oi=null,J.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var o=this,n=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(n,a);if(ir=t,i||this.options.forceAutoScrollFallback||St||Pe||zt){ni(t,this.options,l,i);var s=Ne(l,!0);ri&&(!Rt||n!==ii||a!==oi)&&(Rt&&mo(),Rt=setInterval(function(){var c=Ne(document.elementFromPoint(n,a),!0);c!==s&&(s=c,or()),ni(t,o.options,c,i)},10),ii=n,oi=a)}else{if(!this.options.bubbleScroll||Ne(l,!0)===Ee()){or();return}ni(t,this.options,Ne(l,!1),!1)}}},Le(r,{pluginName:"scroll",initializeByDefault:!0})}function or(){J.forEach(function(r){clearInterval(r.pid)}),J=[]}function mo(){clearInterval(Rt)}var ni=eo(function(r,e,t,i){if(e.scroll){var o=(r.touches?r.touches[0]:r).clientX,n=(r.touches?r.touches[0]:r).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=Ee(),c=!1,u;ti!==t&&(ti=t,or(),Pt=e.scroll,u=e.scrollFn,Pt===!0&&(Pt=Ne(t,!0)));var d=0,m=Pt;do{var h=m,f=G(h),y=f.top,V=f.bottom,te=f.left,F=f.right,ue=f.width,re=f.height,_=void 0,b=void 0,E=h.scrollWidth,H=h.scrollHeight,P=x(h),K=h.scrollLeft,Q=h.scrollTop;h===s?(_=ue<E&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(_=ue<E&&(P.overflowX==="auto"||P.overflowX==="scroll"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"));var B=_&&(Math.abs(F-o)<=a&&K+ue<E)-(Math.abs(te-o)<=a&&!!K),O=b&&(Math.abs(V-n)<=a&&Q+re<H)-(Math.abs(y-n)<=a&&!!Q);if(!J[d])for(var W=0;W<=d;W++)J[W]||(J[W]={});(J[d].vx!=B||J[d].vy!=O||J[d].el!==h)&&(J[d].el=h,J[d].vx=B,J[d].vy=O,clearInterval(J[d].pid),(B!=0||O!=0)&&(c=!0,J[d].pid=setInterval((function(){i&&this.layer===0&&k.active._onTouchMove(ir);var fe=J[this.layer].vy?J[this.layer].vy*l:0,le=J[this.layer].vx?J[this.layer].vx*l:0;typeof u=="function"&&u.call(k.dragged.parentNode[me],le,fe,r,ir,J[this.layer].el)!=="continue"||to(J[this.layer].el,le,fe)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&m!==s&&(m=Ne(m,!1)));ri=c}},30),ho=function(e){var t=e.originalEvent,i=e.putSortable,o=e.dragEl,n=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var c=i||n;l();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(u.clientX,u.clientY);s(),c&&!c.el.contains(d)&&(a("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ai(){}ai.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=ct(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:ho},Le(ai,{pluginName:"revertOnSpill"});function li(){}li.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,o=i||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:ho},Le(li,{pluginName:"removeOnSpill"}),k.mount(new qa),k.mount(li,ai);const Fa=r=>{const e=r.item;let t=Array.prototype.slice.call(e.parentNode.childNodes);return t=t.filter(i=>i.nodeType!=Node.ELEMENT_NODE||!i.classList.contains("sortable-fallback")),t},Xa=(r,e,t,i,o,n)=>{const l=r.item.parentNode;for(const y of t)l.appendChild(y);if(r.oldIndex==r.newIndex)return;const s=i.getArray(),c=r.item.querySelector("eox-layercontrol-layer").layer.get(o),u=s.find(y=>y.get(o)===c),d=n.dataset.layer,m=s.find(y=>y.get(o)==d);let h,f;for(h=0;h<s.length;h++)if(s[h]==u){i.removeAt(h);break}for(f=0;f<s.length;f++)if(s[f]===m){h>f?i.insertAt(f,u):i.insertAt(f+1,u);break}e.requestUpdate()};function Za(r,e,t,i){let o=[],n=null;r._sortable=k.create(r,{handle:".drag-handle",filter:".drag-handle.disabled",swapThreshold:.5,animation:150,easing:"cubic-bezier(1, 0, 0, 1)",onStart:a=>{console.log(a),o=Fa(a)},onMove:a=>{n=a.related},onEnd:a=>Xa(a,i,o,e,t,n)})}function Ya(r,e,t,i){const o=r.getArray();let n=!1;o.forEach(a=>{const l=a.ol_uid;a.get(e)||(a.set(e,l),n=!0),a.get(t)||(a.set(t,`layer ${l}`),n=!0),n&&i.requestUpdate()})}function si(r,e,t){let i=[];const o=(n,a,l)=>{i=[...i,...n.filter(c=>c.get(a)===l)];const s=n.filter(c=>c.getLayers);return s.length>0&&s.forEach(c=>o(c.getLayers().getArray(),a,l)),i};return o(r,e,t),i}function Wa(r,e,t){if(!r||!e)return!1;if(!fo(r,t))return!0;const i=r.get("minZoom"),o=r.get("maxZoom"),n=e.getView().getZoom();return n>i&&n<o}function fo(r,e){const t=r.get("minZoom"),i=r.get("maxZoom");return!!(e&&(t!==-1/0||i!==1/0))}function go(r,e){var o,n,a;return!r||!e?void 0:r.getLayers?"group":((a=(o=e.getInteractions().getArray().filter(l=>l.freehand_!==void 0).map(l=>l.source_))==null?void 0:o.ol_uid)==null?void 0:a.includes(r.getSource?(n=r.getSource())==null?void 0:n.ol_uid:void 0))?"draw":r.declutter_!==void 0||r.get("type")==="Vector"?"vector":"raster"}const Ga=(r,e,t)=>{let i=e;return t.layer.getSource().getTileUrlFunction()&&(i||(i=t.layer.getSource().getTileUrlFunction()),t.layer.getSource().setTileUrlFunction((...o)=>va(i(...o),r)),t.layer.getSource().setKey(new Date)),i};function Ja(r,e,t){const i="updateStyleVariables"in e,o="setStyle"in e,n=i?e.style_:t.style;let a=n==null?void 0:n.variables;if(a){const l=ci(r);if(n.variables={...a,...l},i)e.updateStyleVariables(l);else if(o){const s=Ka(n);e.setStyle(s)}}}const ci=r=>{const e={};for(const t in r)if(typeof r[t]=="object"&&r[t]!==null){const i=ci(r[t]);for(const o in i)e[o]=i==null?void 0:i[o]}else e[t]=r==null?void 0:r[t];return e};function Ka(r){let e=r;if("variables"in r){let t=JSON.stringify(r);const{variables:i}=r;for(const o in i)typeof i[o]=="number"?t=t.replaceAll(`["var","${o}"]`,i[o]):t=t.replaceAll(`["var","${o}"]`,`"${i[o]}"`);e=JSON.parse(t)}return e}const Qa=(r,e)=>{if(!r)return;const t=ci(e);let i,o;return Array.isArray(r)?o=structuredClone(r):o=[structuredClone(r)],i=o.filter(n=>{if(!("boundTo"in n))return!0;const a=n.boundTo.key,l=n.boundTo.value;return!(a in t)||t[a]==l}),i.length||(i=o),i.map(n=>{var a;return delete n.boundTo,!("domainProperties"in n)||"domain"in n?n:(a=Object.keys(n))==null?void 0:a.reduce((l,s)=>(s==="domainProperties"?l.domain=n[s].map(c=>t[c]):l[s]=n[s],l),{})})};function bo(r,e){var i;let t={};for(const o in r){const n=r[o].type;if(n&&n!=="object")t[o]=n==="number"?Number(e[o]):e[o];else if(typeof r[o]=="object"&&((i=r[o])!=null&&i.properties)){const a=bo(r[o].properties,e);Object.keys(a).length>0&&(t[o]=a)}}return t}function el(r,e){var n,a,l,s,c;if(!e)return null;let t={},i="updateStyleVariables"in r?(n=r.style_)==null?void 0:n.variables:(a=e.style)==null?void 0:a.variables;if((e.type==="style"||e.style)&&i)t=i;else if((s=(l=r.getSource())==null?void 0:l.getTileUrlFunction)!=null&&s.call(l)){const u=new URL(r.getSource().getTileUrlFunction()([0,0,0]));t=Object.fromEntries(u.searchParams.entries())}else return null;const o=bo(((c=e.schema)==null?void 0:c.properties)||e.schema,t);return Object.keys(o).length?o:null}const yo=(r,e)=>r==null?void 0:r.filter(t=>["remove","sort"].filter(i=>e!=null&&e.get("layerControlDisable")?i!=="sort":!0).includes(t)),vo=(r,e)=>r==null?void 0:r.filter(t=>{let i=!0;return["remove","sort"].includes(t)&&(i=!1),t==="info"&&(i=e.get("description")),t==="config"&&(i=e.get("layerConfig")),t==="datetime"&&(i=e.get("layerDatetime")),t==="legend"&&(i=e.get("layerLegend")),i}),tl=(r,e,t)=>g`
|
|
45
|
+
*/function Fi(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,i)}return t}function ze(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Fi(Object(t),!0).forEach(function(i){xa(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Fi(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function qt(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qt=function(e){return typeof e}:qt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(r)}function xa(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Le(){return Le=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Le.apply(this,arguments)}function ka(r,e){if(r==null)return{};var t={},i=Object.keys(r),o,n;for(n=0;n<i.length;n++)o=i[n],!(e.indexOf(o)>=0)&&(t[o]=r[o]);return t}function wa(r,e){if(r==null)return{};var t=ka(r,e),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(t[i]=r[i])}return t}var _a="1.15.6";function De(r){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(r)}var Pe=De(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),St=De(/Edge/i),Xi=De(/firefox/i),zt=De(/safari/i)&&!De(/chrome/i)&&!De(/android/i),Fr=De(/iP(ad|od|hone)/i),Zi=De(/chrome/i)&&De(/android/i),Yi={capture:!1,passive:!1};function A(r,e,t){r.addEventListener(e,t,!Pe&&Yi)}function z(r,e,t){r.removeEventListener(e,t,!Pe&&Yi)}function Ft(r,e){if(e){if(e[0]===">"&&(e=e.substring(1)),r)try{if(r.matches)return r.matches(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e)}catch{return!1}return!1}}function Wi(r){return r.host&&r!==document&&r.host.nodeType?r.host:r.parentNode}function $e(r,e,t,i){if(r){t=t||document;do{if(e!=null&&(e[0]===">"?r.parentNode===t&&Ft(r,e):Ft(r,e))||i&&r===t)return r;if(r===t)break}while(r=Wi(r))}return null}var Gi=/\s+/g;function ye(r,e,t){if(r&&e)if(r.classList)r.classList[t?"add":"remove"](e);else{var i=(" "+r.className+" ").replace(Gi," ").replace(" "+e+" "," ");r.className=(i+(t?" "+e:"")).replace(Gi," ")}}function x(r,e,t){var i=r&&r.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(r,""):r.currentStyle&&(t=r.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function st(r,e){var t="";if(typeof r=="string")t=r;else do{var i=x(r,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(r=r.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(t)}function Ji(r,e,t){if(r){var i=r.getElementsByTagName(e),o=0,n=i.length;if(t)for(;o<n;o++)t(i[o],o);return i}return[]}function Ee(){var r=document.scrollingElement;return r||document.documentElement}function G(r,e,t,i,o){if(!(!r.getBoundingClientRect&&r!==window)){var n,a,l,s,c,u,d;if(r!==window&&r.parentNode&&r!==Ee()?(n=r.getBoundingClientRect(),a=n.top,l=n.left,s=n.bottom,c=n.right,u=n.height,d=n.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||t)&&r!==window&&(o=o||r.parentNode,!Pe))do if(o&&o.getBoundingClientRect&&(x(o,"transform")!=="none"||t&&x(o,"position")!=="static")){var m=o.getBoundingClientRect();a-=m.top+parseInt(x(o,"border-top-width")),l-=m.left+parseInt(x(o,"border-left-width")),s=a+n.height,c=l+n.width;break}while(o=o.parentNode);if(i&&r!==window){var h=st(o||r),f=h&&h.a,y=h&&h.d;h&&(a/=y,l/=f,d/=f,u/=y,s=a+u,c=l+d)}return{top:a,left:l,bottom:s,right:c,width:d,height:u}}}function Ki(r,e,t){for(var i=Ne(r,!0),o=G(r)[e];i;){var n=G(i)[t],a=void 0;if(a=o>=n,!a)return i;if(i===Ee())break;i=Ne(i,!1)}return!1}function ct(r,e,t,i){for(var o=0,n=0,a=r.children;n<a.length;){if(a[n].style.display!=="none"&&a[n]!==k.ghost&&(i||a[n]!==k.dragged)&&$e(a[n],t.draggable,r,!1)){if(o===e)return a[n];o++}n++}return null}function Xr(r,e){for(var t=r.lastElementChild;t&&(t===k.ghost||x(t,"display")==="none"||e&&!Ft(t,e));)t=t.previousElementSibling;return t||null}function we(r,e){var t=0;if(!r||!r.parentNode)return-1;for(;r=r.previousElementSibling;)r.nodeName.toUpperCase()!=="TEMPLATE"&&r!==k.clone&&(!e||Ft(r,e))&&t++;return t}function Qi(r){var e=0,t=0,i=Ee();if(r)do{var o=st(r),n=o.a,a=o.d;e+=r.scrollLeft*n,t+=r.scrollTop*a}while(r!==i&&(r=r.parentNode));return[e,t]}function $a(r,e){for(var t in r)if(r.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===r[t][i])return Number(t)}return-1}function Ne(r,e){if(!r||!r.getBoundingClientRect)return Ee();var t=r,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var o=x(t);if(t.clientWidth<t.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Ee();if(i||e)return t;i=!0}}while(t=t.parentNode);return Ee()}function Sa(r,e){if(r&&e)for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r}function Zr(r,e){return Math.round(r.top)===Math.round(e.top)&&Math.round(r.left)===Math.round(e.left)&&Math.round(r.height)===Math.round(e.height)&&Math.round(r.width)===Math.round(e.width)}var Et;function eo(r,e){return function(){if(!Et){var t=arguments,i=this;t.length===1?r.call(i,t[0]):r.apply(i,t),Et=setTimeout(function(){Et=void 0},e)}}}function za(){clearTimeout(Et),Et=void 0}function to(r,e,t){r.scrollLeft+=e,r.scrollTop+=t}function ro(r){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(r).cloneNode(!0):t?t(r).clone(!0)[0]:r.cloneNode(!0)}function io(r,e,t){var i={};return Array.from(r.children).forEach(function(o){var n,a,l,s;if(!(!$e(o,e.draggable,r,!1)||o.animated||o===t)){var c=G(o);i.left=Math.min((n=i.left)!==null&&n!==void 0?n:1/0,c.left),i.top=Math.min((a=i.top)!==null&&a!==void 0?a:1/0,c.top),i.right=Math.max((l=i.right)!==null&&l!==void 0?l:-1/0,c.right),i.bottom=Math.max((s=i.bottom)!==null&&s!==void 0?s:-1/0,c.bottom)}}),i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var me="Sortable"+new Date().getTime();function Ea(){var r=[],e;return{captureAnimationState:function(){if(r=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(o){if(!(x(o,"display")==="none"||o===k.ghost)){r.push({target:o,rect:G(o)});var n=ze({},r[r.length-1].rect);if(o.thisAnimationDuration){var a=st(o,!0);a&&(n.top-=a.f,n.left-=a.e)}o.fromRect=n}})}},addAnimationState:function(i){r.push(i)},removeAnimationState:function(i){r.splice($a(r,{target:i}),1)},animateAll:function(i){var o=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var n=!1,a=0;r.forEach(function(l){var s=0,c=l.target,u=c.fromRect,d=G(c),m=c.prevFromRect,h=c.prevToRect,f=l.rect,y=st(c,!0);y&&(d.top-=y.f,d.left-=y.e),c.toRect=d,c.thisAnimationDuration&&Zr(m,d)&&!Zr(u,d)&&(f.top-d.top)/(f.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(s=Ca(f,m,h,o.options)),Zr(d,u)||(c.prevFromRect=u,c.prevToRect=d,s||(s=o.options.animation),o.animate(c,f,d,s)),s&&(n=!0,a=Math.max(a,s),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},s),c.thisAnimationDuration=s)}),clearTimeout(e),n?e=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),r=[]},animate:function(i,o,n,a){if(a){x(i,"transition",""),x(i,"transform","");var l=st(this.el),s=l&&l.a,c=l&&l.d,u=(o.left-n.left)/(s||1),d=(o.top-n.top)/(c||1);i.animatingX=!!u,i.animatingY=!!d,x(i,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=Aa(i),x(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),x(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){x(i,"transition",""),x(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function Aa(r){return r.offsetWidth}function Ca(r,e,t,i){return Math.sqrt(Math.pow(e.top-r.top,2)+Math.pow(e.left-r.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var dt=[],Yr={initializeByDefault:!0},At={mount:function(e){for(var t in Yr)Yr.hasOwnProperty(t)&&!(t in e)&&(e[t]=Yr[t]);dt.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),dt.push(e)},pluginEvent:function(e,t,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var n=e+"Global";dt.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][n]&&t[a.pluginName][n](ze({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](ze({sortable:t},i)))})},initializePlugins:function(e,t,i,o){dt.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var c=new l(e,t,e.options);c.sortable=e,c.options=e.options,e[s]=c,Le(i,c.defaults)}});for(var n in e.options)if(e.options.hasOwnProperty(n)){var a=this.modifyOption(e,n,e.options[n]);typeof a<"u"&&(e.options[n]=a)}},getEventProperties:function(e,t){var i={};return dt.forEach(function(o){typeof o.eventProperties=="function"&&Le(i,o.eventProperties.call(t[o.pluginName],e))}),i},modifyOption:function(e,t,i){var o;return dt.forEach(function(n){e[n.pluginName]&&n.optionListeners&&typeof n.optionListeners[t]=="function"&&(o=n.optionListeners[t].call(e[n.pluginName],i))}),o}};function Ta(r){var e=r.sortable,t=r.rootEl,i=r.name,o=r.targetEl,n=r.cloneEl,a=r.toEl,l=r.fromEl,s=r.oldIndex,c=r.newIndex,u=r.oldDraggableIndex,d=r.newDraggableIndex,m=r.originalEvent,h=r.putSortable,f=r.extraEventProperties;if(e=e||t&&t[me],!!e){var y,V=e.options,te="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Pe&&!St?y=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(i,!0,!0)),y.to=a||t,y.from=l||t,y.item=o||t,y.clone=n,y.oldIndex=s,y.newIndex=c,y.oldDraggableIndex=u,y.newDraggableIndex=d,y.originalEvent=m,y.pullMode=h?h.lastPutMode:void 0;var F=ze(ze({},f),At.getEventProperties(i,e));for(var ue in F)y[ue]=F[ue];t&&t.dispatchEvent(y),V[te]&&V[te].call(e,y)}}var La=["evt"],he=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,n=wa(i,La);At.pluginEvent.bind(k)(e,t,ze({dragEl:p,parentEl:q,ghostEl:w,rootEl:N,nextEl:Je,lastDownEl:Xt,cloneEl:U,cloneHidden:Be,dragStarted:Tt,putSortable:ne,activeSortable:k.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:Ct,newIndex:ve,newDraggableIndex:Ue,hideGhostForTarget:uo,unhideGhostForTarget:po,cloneNowHidden:function(){Be=!0},cloneNowShown:function(){Be=!1},dispatchSortableEvent:function(l){de({sortable:t,name:l,originalEvent:o})}},n))};function de(r){Ta(ze({putSortable:ne,cloneEl:U,targetEl:p,rootEl:N,oldIndex:ut,oldDraggableIndex:Ct,newIndex:ve,newDraggableIndex:Ue},r))}var p,q,w,N,Je,Xt,U,Be,ut,ve,Ct,Ue,Zt,ne,pt=!1,Yt=!1,Wt=[],Ke,Se,Wr,Gr,oo,no,Tt,mt,Lt,Dt=!1,Gt=!1,Jt,se,Jr=[],Kr=!1,Kt=[],Qt=typeof document<"u",er=Fr,ao=St||Pe?"cssFloat":"float",Da=Qt&&!Zi&&!Fr&&"draggable"in document.createElement("div"),lo=function(){if(Qt){if(Pe)return!1;var r=document.createElement("x");return r.style.cssText="pointer-events:auto",r.style.pointerEvents==="auto"}}(),so=function(e,t){var i=x(e),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),n=ct(e,0,t),a=ct(e,1,t),l=n&&x(n),s=a&&x(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+G(n).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+G(a).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&l.float&&l.float!=="none"){var d=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return n&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=o&&i[ao]==="none"||a&&i[ao]==="none"&&c+u>o)?"vertical":"horizontal"},Pa=function(e,t,i){var o=i?e.left:e.top,n=i?e.right:e.bottom,a=i?e.width:e.height,l=i?t.left:t.top,s=i?t.right:t.bottom,c=i?t.width:t.height;return o===l||n===s||o+a/2===l+c/2},Ra=function(e,t){var i;return Wt.some(function(o){var n=o[me].options.emptyInsertThreshold;if(!(!n||Xr(o))){var a=G(o),l=e>=a.left-n&&e<=a.right+n,s=t>=a.top-n&&t<=a.bottom+n;if(l&&s)return i=o}}),i},co=function(e){function t(n,a){return function(l,s,c,u){var d=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(n==null&&(a||d))return!0;if(n==null||n===!1)return!1;if(a&&n==="clone")return n;if(typeof n=="function")return t(n(l,s,c,u),a)(l,s,c,u);var m=(a?l:s).options.group.name;return n===!0||typeof n=="string"&&n===m||n.join&&n.indexOf(m)>-1}}var i={},o=e.group;(!o||qt(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=t(o.pull,!0),i.checkPut=t(o.put),i.revertClone=o.revertClone,e.group=i},uo=function(){!lo&&w&&x(w,"display","none")},po=function(){!lo&&w&&x(w,"display","")};Qt&&!Zi&&document.addEventListener("click",function(r){if(Yt)return r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.stopImmediatePropagation&&r.stopImmediatePropagation(),Yt=!1,!1},!0);var Qe=function(e){if(p){e=e.touches?e.touches[0]:e;var t=Ra(e.clientX,e.clientY);if(t){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[me]._onDragOver(i)}}},Oa=function(e){p&&p.parentNode[me]._isOutsideThisEl(e.target)};function k(r,e){if(!(r&&r.nodeType&&r.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));this.el=r,this.options=e=Le({},e),r[me]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(r.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return so(r,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.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:k.supportPointer!==!1&&"PointerEvent"in window&&(!zt||Fr),emptyInsertThreshold:5};At.initializePlugins(this,r,t);for(var i in t)!(i in e)&&(e[i]=t[i]);co(e);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=e.forceFallback?!1:Da,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(r,"pointerdown",this._onTapStart):(A(r,"mousedown",this._onTapStart),A(r,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(r,"dragover",this),A(r,"dragenter",this)),Wt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Le(this,Ea())}k.prototype={constructor:k,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(mt=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,p):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,o=this.options,n=o.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=o.filter;if(ja(i),!p&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&zt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=$e(s,o.draggable,i,!1),!(s&&s.animated)&&Xt!==s)){if(ut=we(s),Ct=we(s,o.draggable),typeof u=="function"){if(u.call(this,e,s,this)){de({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:i,fromEl:i}),he("filter",t,{evt:e}),n&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=$e(c,d.trim(),i,!1),d)return de({sortable:t,rootEl:d,name:"filter",targetEl:s,fromEl:i,toEl:i}),he("filter",t,{evt:e}),!0}),u)){n&&e.preventDefault();return}o.handle&&!$e(c,o.handle,i,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,i){var o=this,n=o.el,a=o.options,l=n.ownerDocument,s;if(i&&!p&&i.parentNode===n){var c=G(i);if(N=n,p=i,q=p.parentNode,Je=p.nextSibling,Xt=i,Zt=a.group,k.dragged=p,Ke={target:p,clientX:(t||e).clientX,clientY:(t||e).clientY},oo=Ke.clientX-c.left,no=Ke.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,p.style["will-change"]="all",s=function(){if(he("delayEnded",o,{evt:e}),k.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Xi&&o.nativeDraggable&&(p.draggable=!0),o._triggerDragStart(e,t),de({sortable:o,name:"choose",originalEvent:e}),ye(p,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){Ji(p,u.trim(),Qr)}),A(l,"dragover",Qe),A(l,"mousemove",Qe),A(l,"touchmove",Qe),a.supportPointer?(A(l,"pointerup",o._onDrop),!this.nativeDraggable&&A(l,"pointercancel",o._onDrop)):(A(l,"mouseup",o._onDrop),A(l,"touchend",o._onDrop),A(l,"touchcancel",o._onDrop)),Xi&&this.nativeDraggable&&(this.options.touchStartThreshold=4,p.draggable=!0),he("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(St||Pe))){if(k.eventCanceled){this._onDrop();return}a.supportPointer?(A(l,"pointerup",o._disableDelayedDrag),A(l,"pointercancel",o._disableDelayedDrag)):(A(l,"mouseup",o._disableDelayedDrag),A(l,"touchend",o._disableDelayedDrag),A(l,"touchcancel",o._disableDelayedDrag)),A(l,"mousemove",o._delayedDragTouchMoveHandler),A(l,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&A(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(s,a.delay)}else s()}},_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(){p&&Qr(p),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._disableDelayedDrag),z(e,"touchend",this._disableDelayedDrag),z(e,"touchcancel",this._disableDelayedDrag),z(e,"pointerup",this._disableDelayedDrag),z(e,"pointercancel",this._disableDelayedDrag),z(e,"mousemove",this._delayedDragTouchMoveHandler),z(e,"touchmove",this._delayedDragTouchMoveHandler),z(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):t?A(document,"touchmove",this._onTouchMove):A(document,"mousemove",this._onTouchMove):(A(p,"dragend",this),A(N,"dragstart",this._onDragStart));try{document.selection?rr(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(pt=!1,N&&p){he("dragStarted",this,{evt:t}),this.nativeDraggable&&A(document,"dragover",Oa);var i=this.options;!e&&ye(p,i.dragClass,!1),ye(p,i.ghostClass,!0),k.active=this,e&&this._appendGhost(),de({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Se){this._lastX=Se.clientX,this._lastY=Se.clientY,uo();for(var e=document.elementFromPoint(Se.clientX,Se.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Se.clientX,Se.clientY),e!==t);)t=e;if(p.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){var i=void 0;if(i=t[me]._onDragOver({clientX:Se.clientX,clientY:Se.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=Wi(t));po()}},_onTouchMove:function(e){if(Ke){var t=this.options,i=t.fallbackTolerance,o=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=w&&st(w,!0),l=w&&a&&a.a,s=w&&a&&a.d,c=er&&se&&Qi(se),u=(n.clientX-Ke.clientX+o.x)/(l||1)+(c?c[0]-Jr[0]:0)/(l||1),d=(n.clientY-Ke.clientY+o.y)/(s||1)+(c?c[1]-Jr[1]:0)/(s||1);if(!k.active&&!pt){if(i&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(w){a?(a.e+=u-(Wr||0),a.f+=d-(Gr||0)):a={a:1,b:0,c:0,d:1,e:u,f:d};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");x(w,"webkitTransform",m),x(w,"mozTransform",m),x(w,"msTransform",m),x(w,"transform",m),Wr=u,Gr=d,Se=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!w){var e=this.options.fallbackOnBody?document.body:N,t=G(p,!0,er,!0,e),i=this.options;if(er){for(se=e;x(se,"position")==="static"&&x(se,"transform")==="none"&&se!==document;)se=se.parentNode;se!==document.body&&se!==document.documentElement?(se===document&&(se=Ee()),t.top+=se.scrollTop,t.left+=se.scrollLeft):se=Ee(),Jr=Qi(se)}w=p.cloneNode(!0),ye(w,i.ghostClass,!1),ye(w,i.fallbackClass,!0),ye(w,i.dragClass,!0),x(w,"transition",""),x(w,"transform",""),x(w,"box-sizing","border-box"),x(w,"margin",0),x(w,"top",t.top),x(w,"left",t.left),x(w,"width",t.width),x(w,"height",t.height),x(w,"opacity","0.8"),x(w,"position",er?"absolute":"fixed"),x(w,"zIndex","100000"),x(w,"pointerEvents","none"),k.ghost=w,e.appendChild(w),x(w,"transform-origin",oo/parseInt(w.style.width)*100+"% "+no/parseInt(w.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,o=e.dataTransfer,n=i.options;if(he("dragStart",this,{evt:e}),k.eventCanceled){this._onDrop();return}he("setupClone",this),k.eventCanceled||(U=ro(p),U.removeAttribute("id"),U.draggable=!1,U.style["will-change"]="",this._hideClone(),ye(U,this.options.chosenClass,!1),k.clone=U),i.cloneId=rr(function(){he("clone",i),!k.eventCanceled&&(i.options.removeCloneOnHide||N.insertBefore(U,p),i._hideClone(),de({sortable:i,name:"clone"}))}),!t&&ye(p,n.dragClass,!0),t?(Yt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(z(document,"mouseup",i._onDrop),z(document,"touchend",i._onDrop),z(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",n.setData&&n.setData.call(i,o,p)),A(document,"drop",i),x(p,"transform","translateZ(0)")),pt=!0,i._dragStartId=rr(i._dragStarted.bind(i,t,e)),A(document,"selectstart",i),Tt=!0,window.getSelection().removeAllRanges(),zt&&x(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,o,n,a,l=this.options,s=l.group,c=k.active,u=Zt===s,d=l.sort,m=ne||c,h,f=this,y=!1;if(Kr)return;function V(xe,et){he(xe,f,ze({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:o,targetRect:n,canSort:d,fromSortable:m,target:i,completed:F,onMove:function(tt,Oe){return tr(N,t,p,o,tt,G(tt),e,Oe)},changed:ue},et))}function te(){V("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function F(xe){return V("dragOverCompleted",{insertion:xe}),xe&&(u?c._hideClone():c._showClone(f),f!==m&&(ye(p,ne?ne.options.ghostClass:c.options.ghostClass,!1),ye(p,l.ghostClass,!0)),ne!==f&&f!==k.active?ne=f:f===k.active&&ne&&(ne=null),m===f&&(f._ignoreWhileAnimating=i),f.animateAll(function(){V("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(i===p&&!p.animated||i===t&&!i.animated)&&(mt=null),!l.dragoverBubble&&!e.rootEl&&i!==document&&(p.parentNode[me]._isOutsideThisEl(e.target),!xe&&Qe(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),y=!0}function ue(){ve=we(p),Ue=we(p,l.draggable),de({sortable:f,name:"change",toEl:t,newIndex:ve,newDraggableIndex:Ue,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=$e(i,l.draggable,t,!0),V("dragOver"),k.eventCanceled)return y;if(p.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||f._ignoreWhileAnimating===i)return F(!1);if(Yt=!1,c&&!l.disabled&&(u?d||(a=q!==N):ne===this||(this.lastPutMode=Zt.checkPull(this,c,p,e))&&s.checkPut(this,c,p,e))){if(h=this._getDirection(e,i)==="vertical",o=G(p),V("dragOverValid"),k.eventCanceled)return y;if(a)return q=N,te(),this._hideClone(),V("revert"),k.eventCanceled||(Je?N.insertBefore(p,Je):N.appendChild(p)),F(!0);var re=Xr(t,l.draggable);if(!re||Ia(e,h,this)&&!re.animated){if(re===p)return F(!1);if(re&&t===e.target&&(i=re),i&&(n=G(i)),tr(N,t,p,o,i,n,e,!!i)!==!1)return te(),re&&re.nextSibling?t.insertBefore(p,re.nextSibling):t.appendChild(p),q=t,ue(),F(!0)}else if(re&&Va(e,h,this)){var _=ct(t,0,l,!0);if(_===p)return F(!1);if(i=_,n=G(i),tr(N,t,p,o,i,n,e,!1)!==!1)return te(),t.insertBefore(p,_),q=t,ue(),F(!0)}else if(i.parentNode===t){n=G(i);var b=0,E,H=p.parentNode!==t,P=!Pa(p.animated&&p.toRect||o,i.animated&&i.toRect||n,h),K=h?"top":"left",Q=Ki(i,"top","top")||Ki(p,"top","top"),B=Q?Q.scrollTop:void 0;mt!==i&&(E=n[K],Dt=!1,Gt=!P&&l.invertSwap||H),b=Na(e,i,n,h,P?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Gt,mt===i);var O;if(b!==0){var W=we(p);do W-=b,O=q.children[W];while(O&&(x(O,"display")==="none"||O===w))}if(b===0||O===i)return F(!1);mt=i,Lt=b;var fe=i.nextElementSibling,le=!1;le=b===1;var ge=tr(N,t,p,o,i,n,e,le);if(ge!==!1)return(ge===1||ge===-1)&&(le=ge===1),Kr=!0,setTimeout(Ma,30),te(),le&&!fe?t.appendChild(p):i.parentNode.insertBefore(p,le?fe:i),Q&&to(Q,0,B-Q.scrollTop),q=p.parentNode,E!==void 0&&!Gt&&(Jt=Math.abs(E-G(i)[K])),ue(),F(!0)}if(t.contains(p))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,"mousemove",this._onTouchMove),z(document,"touchmove",this._onTouchMove),z(document,"pointermove",this._onTouchMove),z(document,"dragover",Qe),z(document,"mousemove",Qe),z(document,"touchmove",Qe)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._onDrop),z(e,"touchend",this._onDrop),z(e,"pointerup",this._onDrop),z(e,"pointercancel",this._onDrop),z(e,"touchcancel",this._onDrop),z(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(ve=we(p),Ue=we(p,i.draggable),he("drop",this,{evt:e}),q=p&&p.parentNode,ve=we(p),Ue=we(p,i.draggable),k.eventCanceled){this._nulling();return}pt=!1,Gt=!1,Dt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ei(this.cloneId),ei(this._dragStartId),this.nativeDraggable&&(z(document,"drop",this),z(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),zt&&x(document.body,"user-select",""),x(p,"transform",""),e&&(Tt&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),w&&w.parentNode&&w.parentNode.removeChild(w),(N===q||ne&&ne.lastPutMode!=="clone")&&U&&U.parentNode&&U.parentNode.removeChild(U),p&&(this.nativeDraggable&&z(p,"dragend",this),Qr(p),p.style["will-change"]="",Tt&&!pt&&ye(p,ne?ne.options.ghostClass:this.options.ghostClass,!1),ye(p,this.options.chosenClass,!1),de({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),N!==q?(ve>=0&&(de({rootEl:q,name:"add",toEl:q,fromEl:N,originalEvent:e}),de({sortable:this,name:"remove",toEl:q,originalEvent:e}),de({rootEl:q,name:"sort",toEl:q,fromEl:N,originalEvent:e}),de({sortable:this,name:"sort",toEl:q,originalEvent:e})),ne&&ne.save()):ve!==ut&&ve>=0&&(de({sortable:this,name:"update",toEl:q,originalEvent:e}),de({sortable:this,name:"sort",toEl:q,originalEvent:e})),k.active&&((ve==null||ve===-1)&&(ve=ut,Ue=Ct),de({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){he("nulling",this),N=p=q=w=Je=U=Xt=Be=Ke=Se=Tt=ve=Ue=ut=Ct=mt=Lt=ne=Zt=k.dragged=k.ghost=k.clone=k.active=null,Kt.forEach(function(e){e.checked=!0}),Kt.length=Wr=Gr=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":p&&(this._onDragOver(e),Ha(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,o=0,n=i.length,a=this.options;o<n;o++)t=i[o],$e(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||Ua(t));return e},sort:function(e,t){var i={},o=this.el;this.toArray().forEach(function(n,a){var l=o.children[a];$e(l,this.options.draggable,o,!1)&&(i[n]=l)},this),t&&this.captureAnimationState(),e.forEach(function(n){i[n]&&(o.removeChild(i[n]),o.appendChild(i[n]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return $e(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var o=At.modifyOption(this,e,t);typeof o<"u"?i[e]=o:i[e]=t,e==="group"&&co(i)},destroy:function(){he("destroy",this);var e=this.el;e[me]=null,z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart),z(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Wt.splice(Wt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Be){if(he("hideClone",this),k.eventCanceled)return;x(U,"display","none"),this.options.removeCloneOnHide&&U.parentNode&&U.parentNode.removeChild(U),Be=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Be){if(he("showClone",this),k.eventCanceled)return;p.parentNode==N&&!this.options.group.revertClone?N.insertBefore(U,p):Je?N.insertBefore(U,Je):N.appendChild(U),this.options.group.revertClone&&this.animate(p,U),x(U,"display",""),Be=!1}}};function Ha(r){r.dataTransfer&&(r.dataTransfer.dropEffect="move"),r.cancelable&&r.preventDefault()}function tr(r,e,t,i,o,n,a,l){var s,c=r[me],u=c.options.onMove,d;return window.CustomEvent&&!Pe&&!St?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=r,s.dragged=t,s.draggedRect=i,s.related=o||e,s.relatedRect=n||G(e),s.willInsertAfter=l,s.originalEvent=a,r.dispatchEvent(s),u&&(d=u.call(c,s,a)),d}function Qr(r){r.draggable=!1}function Ma(){Kr=!1}function Va(r,e,t){var i=G(ct(t.el,0,t.options,!0)),o=io(t.el,t.options,w),n=10;return e?r.clientX<o.left-n||r.clientY<i.top&&r.clientX<i.right:r.clientY<o.top-n||r.clientY<i.bottom&&r.clientX<i.left}function Ia(r,e,t){var i=G(Xr(t.el,t.options.draggable)),o=io(t.el,t.options,w),n=10;return e?r.clientX>o.right+n||r.clientY>i.bottom&&r.clientX>i.left:r.clientY>o.bottom+n||r.clientX>i.right&&r.clientY>i.top}function Na(r,e,t,i,o,n,a,l){var s=i?r.clientY:r.clientX,c=i?t.height:t.width,u=i?t.top:t.left,d=i?t.bottom:t.right,m=!1;if(!a){if(l&&Jt<c*o){if(!Dt&&(Lt===1?s>u+c*n/2:s<d-c*n/2)&&(Dt=!0),Dt)m=!0;else if(Lt===1?s<u+Jt:s>d-Jt)return-Lt}else if(s>u+c*(1-o)/2&&s<d-c*(1-o)/2)return Ba(e)}return m=m||a,m&&(s<u+c*n/2||s>d-c*n/2)?s>u+c/2?1:-1:0}function Ba(r){return we(p)<we(r)?1:-1}function Ua(r){for(var e=r.tagName+r.className+r.src+r.href+r.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function ja(r){Kt.length=0;for(var e=r.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&Kt.push(i)}}function rr(r){return setTimeout(r,0)}function ei(r){return clearTimeout(r)}Qt&&A(document,"touchmove",function(r){(k.active||pt)&&r.cancelable&&r.preventDefault()}),k.utils={on:A,off:z,css:x,find:Ji,is:function(e,t){return!!$e(e,t,e,!1)},extend:Sa,throttle:eo,closest:$e,toggleClass:ye,clone:ro,index:we,nextTick:rr,cancelNextTick:ei,detectDirection:so,getChild:ct,expando:me},k.get=function(r){return r[me]},k.mount=function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(k.utils=ze(ze({},k.utils),i.utils)),At.mount(i)})},k.create=function(r,e){return new k(r,e)},k.version=_a;var J=[],Pt,ti,ri=!1,ii,oi,ir,Rt;function qa(){function r(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return r.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):i.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):(z(document,"pointermove",this._handleFallbackAutoScroll),z(document,"touchmove",this._handleFallbackAutoScroll),z(document,"mousemove",this._handleFallbackAutoScroll)),mo(),or(),za()},nulling:function(){ir=ti=Pt=ri=Rt=ii=oi=null,J.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var o=this,n=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(n,a);if(ir=t,i||this.options.forceAutoScrollFallback||St||Pe||zt){ni(t,this.options,l,i);var s=Ne(l,!0);ri&&(!Rt||n!==ii||a!==oi)&&(Rt&&mo(),Rt=setInterval(function(){var c=Ne(document.elementFromPoint(n,a),!0);c!==s&&(s=c,or()),ni(t,o.options,c,i)},10),ii=n,oi=a)}else{if(!this.options.bubbleScroll||Ne(l,!0)===Ee()){or();return}ni(t,this.options,Ne(l,!1),!1)}}},Le(r,{pluginName:"scroll",initializeByDefault:!0})}function or(){J.forEach(function(r){clearInterval(r.pid)}),J=[]}function mo(){clearInterval(Rt)}var ni=eo(function(r,e,t,i){if(e.scroll){var o=(r.touches?r.touches[0]:r).clientX,n=(r.touches?r.touches[0]:r).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=Ee(),c=!1,u;ti!==t&&(ti=t,or(),Pt=e.scroll,u=e.scrollFn,Pt===!0&&(Pt=Ne(t,!0)));var d=0,m=Pt;do{var h=m,f=G(h),y=f.top,V=f.bottom,te=f.left,F=f.right,ue=f.width,re=f.height,_=void 0,b=void 0,E=h.scrollWidth,H=h.scrollHeight,P=x(h),K=h.scrollLeft,Q=h.scrollTop;h===s?(_=ue<E&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(_=ue<E&&(P.overflowX==="auto"||P.overflowX==="scroll"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"));var B=_&&(Math.abs(F-o)<=a&&K+ue<E)-(Math.abs(te-o)<=a&&!!K),O=b&&(Math.abs(V-n)<=a&&Q+re<H)-(Math.abs(y-n)<=a&&!!Q);if(!J[d])for(var W=0;W<=d;W++)J[W]||(J[W]={});(J[d].vx!=B||J[d].vy!=O||J[d].el!==h)&&(J[d].el=h,J[d].vx=B,J[d].vy=O,clearInterval(J[d].pid),(B!=0||O!=0)&&(c=!0,J[d].pid=setInterval((function(){i&&this.layer===0&&k.active._onTouchMove(ir);var fe=J[this.layer].vy?J[this.layer].vy*l:0,le=J[this.layer].vx?J[this.layer].vx*l:0;typeof u=="function"&&u.call(k.dragged.parentNode[me],le,fe,r,ir,J[this.layer].el)!=="continue"||to(J[this.layer].el,le,fe)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&m!==s&&(m=Ne(m,!1)));ri=c}},30),ho=function(e){var t=e.originalEvent,i=e.putSortable,o=e.dragEl,n=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var c=i||n;l();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(u.clientX,u.clientY);s(),c&&!c.el.contains(d)&&(a("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ai(){}ai.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=ct(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:ho},Le(ai,{pluginName:"revertOnSpill"});function li(){}li.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,o=i||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:ho},Le(li,{pluginName:"removeOnSpill"}),k.mount(new qa),k.mount(li,ai);const Fa=r=>{const e=r.item;let t=Array.prototype.slice.call(e.parentNode.childNodes);return t=t.filter(i=>i.nodeType!=Node.ELEMENT_NODE||!i.classList.contains("sortable-fallback")),t},Xa=(r,e,t,i,o,n)=>{const l=r.item.parentNode;for(const y of t)l.appendChild(y);if(r.oldIndex==r.newIndex)return;const s=i.getArray(),c=r.item.querySelector("eox-layercontrol-layer").layer.get(o),u=s.find(y=>y.get(o)===c),d=n.dataset.layer,m=s.find(y=>y.get(o)==d);let h,f;for(h=0;h<s.length;h++)if(s[h]==u){i.removeAt(h);break}for(f=0;f<s.length;f++)if(s[f]===m){h>f?i.insertAt(f,u):i.insertAt(f+1,u);break}e.requestUpdate()};function Za(r,e,t,i){let o=[],n=null;r._sortable=k.create(r,{handle:".drag-handle",filter:".drag-handle.disabled",swapThreshold:.5,animation:150,easing:"cubic-bezier(1, 0, 0, 1)",onStart:a=>{console.log(a),o=Fa(a)},onMove:a=>{n=a.related},onEnd:a=>Xa(a,i,o,e,t,n)})}function Ya(r,e,t,i){const o=r.getArray();let n=!1;o.forEach(a=>{const l=a.ol_uid;a.get(e)||(a.set(e,l),n=!0),a.get(t)||(a.set(t,`layer ${l}`),n=!0),n&&i.requestUpdate()})}function si(r,e,t){let i=[];const o=(n,a,l)=>{i=[...i,...n.filter(c=>c.get(a)===l)];const s=n.filter(c=>c.getLayers);return s.length>0&&s.forEach(c=>o(c.getLayers().getArray(),a,l)),i};return o(r,e,t),i}function Wa(r,e,t){if(!r||!e)return!1;if(!fo(r,t))return!0;const i=r.get("minZoom"),o=r.get("maxZoom"),n=e.getView().getZoom();return n>i&&n<o}function fo(r,e){const t=r.get("minZoom"),i=r.get("maxZoom");return!!(e&&(t!==-1/0||i!==1/0))}function go(r,e){var o,n,a;return!r||!e?void 0:r.getLayers?"group":((a=(o=e.getInteractions().getArray().filter(l=>l.freehand_!==void 0).map(l=>l.source_))==null?void 0:o.ol_uid)==null?void 0:a.includes(r.getSource?(n=r.getSource())==null?void 0:n.ol_uid:void 0))?"draw":r.declutter_!==void 0||r.get("type")==="Vector"?"vector":"raster"}const Ga=(r,e,t)=>{let i=e;return t.layer.getSource().getTileUrlFunction()&&(i||(i=t.layer.getSource().getTileUrlFunction()),t.layer.getSource().setTileUrlFunction((...o)=>va(i(...o),r)),t.layer.getSource().setKey(new Date)),i};function Ja(r,e,t){const i="updateStyleVariables"in e,o="setStyle"in e,n=i?e.style_:t.style;let a=n==null?void 0:n.variables;if(a){const l=ci(r);if(n.variables={...a,...l},i)e.updateStyleVariables(l);else if(o){const s=Ka(n);e.setStyle(s)}}}const ci=r=>{const e={};for(const t in r)if(typeof r[t]=="object"&&r[t]!==null){const i=ci(r[t]);for(const o in i)e[o]=i==null?void 0:i[o]}else e[t]=r==null?void 0:r[t];return e};function Ka(r){let e=r;if("variables"in r){let t=JSON.stringify(r);const{variables:i}=r;for(const o in i)typeof i[o]=="number"?t=t.replaceAll(`["var","${o}"]`,i[o]):t=t.replaceAll(`["var","${o}"]`,`"${i[o]}"`);e=JSON.parse(t)}return e}const Qa=(r,e)=>{if(!r)return;const t=ci(e);let i,o;return Array.isArray(r)?o=structuredClone(r):o=[structuredClone(r)],i=o.filter(n=>{if(!("boundTo"in n))return!0;const a=n.boundTo.key,l=n.boundTo.value;return!(a in t)||t[a]==l}),i.length||(i=o),i.map(n=>{var a;return delete n.boundTo,!("domainProperties"in n)||"domain"in n?n:(a=Object.keys(n))==null?void 0:a.reduce((l,s)=>(s==="domainProperties"?l.domain=n[s].map(c=>t[c]):l[s]=n[s],l),{})})};function bo(r,e){var i;let t={};for(const o in r){const n=r[o].type;if(n&&n!=="object"&&e[o]!==void 0)t[o]=n==="number"?Number(e[o]):e[o];else if(typeof r[o]=="object"&&((i=r[o])!=null&&i.properties)){const a=bo(r[o].properties,e);Object.keys(a).length>0&&(t[o]=a)}}return t}function el(r,e){var n,a,l,s,c;if(!e)return null;let t={},i="updateStyleVariables"in r?(n=r.style_)==null?void 0:n.variables:(a=e.style)==null?void 0:a.variables;if((e.type==="style"||e.style)&&i)t=i;else if((s=(l=r.getSource())==null?void 0:l.getTileUrlFunction)!=null&&s.call(l)){const u=new URL(r.getSource().getTileUrlFunction()([0,0,0]));t=Object.fromEntries(u.searchParams.entries())}else return null;const o=bo(((c=e.schema)==null?void 0:c.properties)||e.schema,t);return Object.keys(o).length?o:null}const yo=(r,e)=>r==null?void 0:r.filter(t=>["remove","sort"].filter(i=>e!=null&&e.get("layerControlDisable")?i!=="sort":!0).includes(t)),vo=(r,e)=>r==null?void 0:r.filter(t=>{let i=!0;return["remove","sort"].includes(t)&&(i=!1),t==="info"&&(i=e.get("description")),t==="config"&&(i=e.get("layerConfig")),t==="datetime"&&(i=e.get("layerDatetime")),t==="legend"&&(i=e.get("layerLegend")),i}),tl=(r,e,t)=>g`
|
|
46
46
|
<button
|
|
47
47
|
slot="${r}-icon"
|
|
48
48
|
class="no-margin transparent square primary-text small"
|
package/package.json
CHANGED
|
@@ -10,9 +10,8 @@ export function getNestedStartVals(schema, nestedValues) {
|
|
|
10
10
|
|
|
11
11
|
for (const key in schema) {
|
|
12
12
|
const type = schema[key].type;
|
|
13
|
-
|
|
14
13
|
// Extract startVal based on type
|
|
15
|
-
if (type && type !== "object") {
|
|
14
|
+
if (type && type !== "object" && nestedValues[key] !== undefined) {
|
|
16
15
|
startVals[key] =
|
|
17
16
|
type === "number" ? Number(nestedValues[key]) : nestedValues[key];
|
|
18
17
|
} else if (typeof schema[key] === "object" && schema[key]?.properties) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAQtB,kBAAwE;IAY5E,
|
|
1
|
+
{"version":3,"file":"layer-tools.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-tools.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;;;;;;;;;MAOE;IAKA;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAEjB;;;;OAIG;IACH,OAFU,KAAK,CAAC,MAAM,CAAC,CAER;IAEf;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,qBAAwB;IAQtB,kBAAwE;IAY5E,gBAAiB,SAAI,2CAA8B;IAGnD,cAAe,SAAI,2CAA2C;IAE9D;;;;;;OAMG;IACH,UAAW,MAHA,MAGI,EAAE,SAAI,KAFR,OAAO,KAAK,EAAE,kBAAkB,CAEe;IAE5D,mBAAoB,UAAK,0CA2EvB;IAEF,+CAwDC;;CAyDF;2BA3SyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"get-start-vals.d.ts","sourceRoot":"","sources":["../../../../src/helpers/get-start-vals.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2CAJW;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,gBACpB;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAClB,MAAM,CAuBlB;AAED;;;;;;GAMG;AACH,oCAJW,OAAO,UAAU,EAAE,KAAK,eACxB,OAAO,4BAA4B,EAAE,0BAA0B,CAAC,aAAa,CAAC,GAC5E,MAAM,GAAG,IAAI,CAiCzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAWa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAa3B;IAFC,qBAA+B;IAIjC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;
|
|
1
|
+
{"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAWa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAa3B;IAFC,qBAA+B;IAIjC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;;CA+BF;mBA9EkB,qBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAiCjC;IAhBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAe3C;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAiCjC;IAhBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAe3C;;;;OAIG;IACH,2CAsCc,WAHC,KAAK,CAAC,MAAM,CAGJ,KAFP,MAAM,GAAC,SAAS,CA2B/B;CACF;sBA3JqB,wBAAwB"}
|
|
@@ -13,6 +13,8 @@ export function addSelect(EOxMap: EOxMap, selectLayer: SelectLayer, options: Sel
|
|
|
13
13
|
* @typedef {import('../main').EOxMap} EOxMap
|
|
14
14
|
* @typedef {import("../layers").EoxLayer} EoxLayer
|
|
15
15
|
* @typedef {import("../types").SelectLayer} SelectLayer
|
|
16
|
+
* @typedef {import("../types").AnyLayer} AnyLayer
|
|
17
|
+
* @typedef {import("../types").SelectLayerWithFeatures} SelectLayerWithFeatures
|
|
16
18
|
* @typedef {import("../types").SelectOptions} SelectOptions
|
|
17
19
|
* @typedef {import("../types").DrawOptions} DrawOptions
|
|
18
20
|
*/
|
|
@@ -24,20 +26,20 @@ export function addSelect(EOxMap: EOxMap, selectLayer: SelectLayer, options: Sel
|
|
|
24
26
|
export class EOxSelectInteraction {
|
|
25
27
|
/**
|
|
26
28
|
* @param {EOxMap} eoxMap - Instance of the EOxMap class.
|
|
27
|
-
* @param {SelectLayer}
|
|
29
|
+
* @param {import("../types").SelectLayer} anyLayer - Layer for selection.
|
|
28
30
|
* @param {SelectOptions} options - Options for the selection interaction.
|
|
29
31
|
*/
|
|
30
|
-
constructor(eoxMap: EOxMap,
|
|
32
|
+
constructor(eoxMap: EOxMap, anyLayer: import("../types").SelectLayer, options: SelectOptions);
|
|
31
33
|
eoxMap: import("../main").EOxMap;
|
|
32
|
-
selectLayer: import("
|
|
34
|
+
selectLayer: import("ol/layer").WebGLTile | VectorLayer<import("ol/source").Vector<any>, any> | VectorTile<import("ol/source").VectorTile<any>, any> | import("ol/layer").Tile<import("ol/source").Tile<import("ol").Tile>>;
|
|
33
35
|
options: import("../types").SelectOptions;
|
|
34
36
|
active: boolean;
|
|
35
37
|
panIn: boolean;
|
|
36
38
|
tooltip: boolean;
|
|
39
|
+
tooltipElement: Element;
|
|
37
40
|
/** @type {Array<string|number>} **/
|
|
38
41
|
selectedFids: Array<string | number>;
|
|
39
|
-
|
|
40
|
-
selectStyleLayer: import("../types").SelectLayer;
|
|
42
|
+
selectStyleLayer: VectorLayer<import("ol/source").Vector<Feature<import("ol/geom").Geometry>>, Feature<import("ol/geom").Geometry>> | VectorTile<import("ol/source").VectorTile<RenderFeature>, RenderFeature>;
|
|
41
43
|
/**
|
|
42
44
|
* Listener to handle selection events
|
|
43
45
|
* @param {import("ol/MapBrowserEvent").default} event
|
|
@@ -82,8 +84,12 @@ export class EOxSelectInteraction {
|
|
|
82
84
|
export type EOxMap = import("../main").EOxMap;
|
|
83
85
|
export type EoxLayer = import("../layers").EoxLayer;
|
|
84
86
|
export type SelectLayer = import("../types").SelectLayer;
|
|
87
|
+
export type AnyLayer = import("../types").AnyLayer;
|
|
88
|
+
export type SelectLayerWithFeatures = import("../types").SelectLayerWithFeatures;
|
|
85
89
|
export type SelectOptions = import("../types").SelectOptions;
|
|
86
90
|
export type DrawOptions = import("../types").DrawOptions;
|
|
91
|
+
import VectorLayer from "ol/layer/Vector";
|
|
92
|
+
import VectorTile from "ol/layer/VectorTile";
|
|
87
93
|
import Feature from "ol/Feature";
|
|
88
94
|
import RenderFeature from "ol/render/Feature";
|
|
89
95
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../map/src/helpers/select.js"],"names":[],"mappings":"AAwhBA;;;;;;;;;GASG;AACH,kCAPW,MAAM,eACN,WAAW,WACX,aAAa,GAAG,WAAW,GACzB,oBAAoB,CAgBhC;AA/hBD;;;;;;;;GAQG;AAEH;;;;GAIG;AACH;IACE;;;;OAIG;IACH,oBAJW,MAAM,YACN,OAAO,UAAU,EAAE,WAAW,WAC9B,aAAa,EA8YvB;IA3YC,iCAAoB;IACpB,4NAA2B;IAC3B,0CAAsB;IACtB,gBAAqD;IACrD,eAAmC;IACnC,iBAAuD;IAUnD,wBAAkD;IAgFpD,oCAAoC;IACpC,cADW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,CACT;IAuBtB,+MAGG;IAuBH;;;UAGM;IACN,kBAiMW,OAAO,oBAAoB,EAAE,OAAO,UAjJ9C;IAiBD,iCAGC;IAoBD;;;;OAIG;IACH,sCAgBC;IA2IL;;;OAGG;IACH,kBAFW,OAAO,QAIjB;IAED;;;;OAIG;IACH,iBAAkB,iBAHP,OAAO,GAAG,aAAa,GAAG,OAAO,WAAW,EAAE,MAGxB,EAAE,aAAO,UAOxC;IAEF;;;;OAIG;IACH,mBAHW,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,0BAkChC;IAED;;OAEG;IACH,eAWC;IAED;;;;;OAKG;IACH,eAJW,OAAO,GAAG,aAAa,GACrB,MAAM,GAAG,MAAM,CAoB3B;CACF;qBAtgBY,OAAO,SAAS,EAAE,MAAM;uBACxB,OAAO,WAAW,EAAE,QAAQ;0BAC5B,OAAO,UAAU,EAAE,WAAW;uBAC9B,OAAO,UAAU,EAAE,QAAQ;sCAC3B,OAAO,UAAU,EAAE,uBAAuB;4BAC1C,OAAO,UAAU,EAAE,aAAa;0BAChC,OAAO,UAAU,EAAE,WAAW;wBAjBnB,iBAAiB;uBAGlB,qBAAqB;oBALxB,YAAY;0BACN,mBAAmB"}
|
package/types/map/src/types.d.ts
CHANGED
|
@@ -20,7 +20,8 @@ export type EOxInteraction = {
|
|
|
20
20
|
};
|
|
21
21
|
export type EoxLayer = import("./layers").EoxLayer;
|
|
22
22
|
export type EoxLayers = import("./layers").EoxLayer[];
|
|
23
|
-
export type SelectLayer =
|
|
23
|
+
export type SelectLayer = import("ol/layer/Vector").default | import("ol/layer/VectorTile").default | import("ol/layer/Tile").default | import("ol/layer/WebGLTile").default;
|
|
24
|
+
export type SelectLayerWithFeatures = InstanceType<typeof import("ol/layer/VectorTile").default> | InstanceType<typeof import("ol/layer/Vector").default>;
|
|
24
25
|
export type SelectOptions = Omit<import("ol/interaction/Select").Options, "condition"> & {
|
|
25
26
|
id: string | number;
|
|
26
27
|
idProperty?: string;
|
|
@@ -39,6 +40,12 @@ export type SelectOptions = Omit<import("ol/interaction/Select").Options, "condi
|
|
|
39
40
|
geometryFunction?: import("ol/interaction/Draw").GeometryFunction;
|
|
40
41
|
cursor?: "string";
|
|
41
42
|
atPixelOptions?: import("ol/Map").AtPixelOptions;
|
|
43
|
+
coordinates?: boolean;
|
|
44
|
+
projection?: {
|
|
45
|
+
name: string;
|
|
46
|
+
proj4_string: string;
|
|
47
|
+
};
|
|
48
|
+
precision?: number;
|
|
42
49
|
};
|
|
43
50
|
export type ClusterExplodeOptions = import("ol/interaction/Interaction").InteractionOptions & {
|
|
44
51
|
id: string | number;
|
|
@@ -149,8 +156,8 @@ export type ConfigObject = {
|
|
|
149
156
|
zoom: number;
|
|
150
157
|
zoomExtent?: import("ol/extent").Extent;
|
|
151
158
|
projection?: ProjectionLike;
|
|
152
|
-
minZoom
|
|
153
|
-
maxZoom
|
|
159
|
+
minZoom?: number;
|
|
160
|
+
maxZoom?: number;
|
|
154
161
|
};
|
|
155
162
|
preventScroll: boolean;
|
|
156
163
|
animationOptions?: EO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