From af632f430405f25e1072b34678870f2f9628e9b5 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Mon, 19 May 2025 19:48:08 +0200 Subject: [PATCH] [web] Simplify image control --- htdocs/assets/index.js | 2 +- web-src/src/components/ControlImage.vue | 2 +- web-src/src/pages/PageAlbum.vue | 2 +- web-src/src/pages/PageAlbumSpotify.vue | 2 +- web-src/src/pages/PageAudiobooksAlbum.vue | 2 +- web-src/src/pages/PageNowPlaying.vue | 2 +- web-src/src/pages/PagePodcast.vue | 2 +- web-src/src/pages/PageSearchSpotify.vue | 8 ++------ 8 files changed, 9 insertions(+), 13 deletions(-) diff --git a/htdocs/assets/index.js b/htdocs/assets/index.js index bf416776..796e932b 100644 --- a/htdocs/assets/index.js +++ b/htdocs/assets/index.js @@ -86,4 +86,4 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p9="1.14.0";function pi(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Ti=pi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),yl=pi(/Edge/i),Sb=pi(/firefox/i),wa=pi(/safari/i)&&!pi(/chrome/i)&&!pi(/android/i),kS=pi(/iP(ad|od|hone)/i),m9=pi(/chrome/i)&&pi(/android/i),TS={capture:!1,passive:!1};function Jt(t,e,n){t.addEventListener(e,n,!Ti&&TS)}function zt(t,e,n){t.removeEventListener(e,n,!Ti&&TS)}function Zc(t,e){if(e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function g9(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Es(t,e,n,s){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&Zc(t,e):Zc(t,e))||s&&t===n)return t;if(t===n)break}while(t=g9(t))}return null}var Eb=/\s+/g;function Ne(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var s=(" "+t.className+" ").replace(Eb," ").replace(" "+e+" "," ");t.className=(s+(n?" "+e:"")).replace(Eb," ")}}function Et(t,e,n){var s=t&&t.style;if(s){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),e===void 0?n:n[e];!(e in s)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),s[e]=n+(typeof n=="string"?"":"px")}}function Cr(t,e){var n="";if(typeof t=="string")n=t;else do{var s=Et(t,"transform");s&&s!=="none"&&(n=s+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function CS(t,e,n){if(t){var s=t.getElementsByTagName(e),i=0,r=s.length;if(n)for(;i=r,!o)return s;if(s===Ws())break;s=zi(s,!1)}return!1}function No(t,e,n,s){for(var i=0,r=0,o=t.children;r2&&arguments[2]!==void 0?arguments[2]:{},i=s.evt,r=l9(s,w9);bl.pluginEvent.bind(Pt)(e,n,Xs({dragEl:ft,parentEl:Re,ghostEl:Ut,rootEl:Ae,nextEl:hr,lastDownEl:pc,cloneEl:Le,cloneHidden:Gi,dragStarted:la,putSortable:on,activeSortable:Pt.active,originalEvent:i,oldIndex:co,oldDraggableIndex:Ta,newIndex:Gn,newDraggableIndex:Bi,hideGhostForTarget:PS,unhideGhostForTarget:DS,cloneNowHidden:function(){Gi=!0},cloneNowShown:function(){Gi=!1},dispatchSortableEvent:function(a){Tn({sortable:n,name:a,originalEvent:i})}},r))};function Tn(t){aa(Xs({putSortable:on,cloneEl:Le,targetEl:ft,rootEl:Ae,oldIndex:co,oldDraggableIndex:Ta,newIndex:Gn,newDraggableIndex:Bi},t))}var ft,Re,Ut,Ae,hr,pc,Le,Gi,co,Gn,Ta,Bi,Wl,on,so=!1,Jc=!1,Qc=[],ur,vs,lf,cf,Cb,Ab,la,Zr,Ca,Aa=!1,Gl=!1,mc,dn,uf=[],wh=!1,tu=[],pd=typeof document<"u",Kl=kS,Ob=yl||Ti?"cssFloat":"float",k9=pd&&!m9&&!kS&&"draggable"in document.createElement("div"),xS=function(){if(pd){if(Ti)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),IS=function(e,n){var s=Et(e),i=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),r=No(e,0,n),o=No(e,1,n),a=r&&Et(r),l=o&&Et(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+xe(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+xe(o).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var d=a.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=i&&s[Ob]==="none"||o&&s[Ob]==="none"&&c+u>i)?"vertical":"horizontal"},T9=function(e,n,s){var i=s?e.left:e.top,r=s?e.right:e.bottom,o=s?e.width:e.height,a=s?n.left:n.top,l=s?n.right:n.bottom,c=s?n.width:n.height;return i===a||r===l||i+o/2===a+c/2},C9=function(e,n){var s;return Qc.some(function(i){var r=i[_n].options.emptyInsertThreshold;if(!(!r||pm(i))){var o=xe(i),a=e>=o.left-r&&e<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l)return s=i}}),s},NS=function(e){function n(r,o){return function(a,l,c,u){var d=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(r==null&&(o||d))return!0;if(r==null||r===!1)return!1;if(o&&r==="clone")return r;if(typeof r=="function")return n(r(a,l,c,u),o)(a,l,c,u);var f=(o?a:l).options.group.name;return r===!0||typeof r=="string"&&r===f||r.join&&r.indexOf(f)>-1}}var s={},i=e.group;(!i||hc(i)!="object")&&(i={name:i}),s.name=i.name,s.checkPull=n(i.pull,!0),s.checkPut=n(i.put),s.revertClone=i.revertClone,e.group=s},PS=function(){!xS&&Ut&&Et(Ut,"display","none")},DS=function(){!xS&&Ut&&Et(Ut,"display","")};pd&&document.addEventListener("click",function(t){if(Jc)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Jc=!1,!1},!0);var dr=function(e){if(ft){e=e.touches?e.touches[0]:e;var n=C9(e.clientX,e.clientY);if(n){var s={};for(var i in e)e.hasOwnProperty(i)&&(s[i]=e[i]);s.target=s.rootEl=n,s.preventDefault=void 0,s.stopPropagation=void 0,n[_n]._onDragOver(s)}}},A9=function(e){ft&&ft.parentNode[_n]._isOutsideThisEl(e.target)};function Pt(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=hs({},e),t[_n]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return IS(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,a){o.setData("Text",a.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:Pt.supportPointer!==!1&&"PointerEvent"in window&&!wa,emptyInsertThreshold:5};bl.initializePlugins(this,t,n);for(var s in n)!(s in e)&&(e[s]=n[s]);NS(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:k9,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Jt(t,"pointerdown",this._onTapStart):(Jt(t,"mousedown",this._onTapStart),Jt(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Jt(t,"dragover",this),Jt(t,"dragenter",this)),Qc.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),hs(this,_9())}Pt.prototype={constructor:Pt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Zr=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,ft):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,s=this.el,i=this.options,r=i.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(a||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=i.filter;if(R9(s),!ft&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&wa&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Es(l,i.draggable,s,!1),!(l&&l.animated)&&pc!==l)){if(co=Ve(l),Ta=Ve(l,i.draggable),typeof u=="function"){if(u.call(this,e,l,this)){Tn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),Mn("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=Es(c,d.trim(),s,!1),d)return Tn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:s,toEl:s}),Mn("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}i.handle&&!Es(c,i.handle,s,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,n,s){var i=this,r=i.el,o=i.options,a=r.ownerDocument,l;if(s&&!ft&&s.parentNode===r){var c=xe(s);if(Ae=r,ft=s,Re=ft.parentNode,hr=ft.nextSibling,pc=s,Wl=o.group,Pt.dragged=ft,ur={target:ft,clientX:(n||e).clientX,clientY:(n||e).clientY},Cb=ur.clientX-c.left,Ab=ur.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ft.style["will-change"]="all",l=function(){if(Mn("delayEnded",i,{evt:e}),Pt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Sb&&i.nativeDraggable&&(ft.draggable=!0),i._triggerDragStart(e,n),Tn({sortable:i,name:"choose",originalEvent:e}),Ne(ft,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){CS(ft,u.trim(),df)}),Jt(a,"dragover",dr),Jt(a,"mousemove",dr),Jt(a,"touchmove",dr),Jt(a,"mouseup",i._onDrop),Jt(a,"touchend",i._onDrop),Jt(a,"touchcancel",i._onDrop),Sb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ft.draggable=!0),Mn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(yl||Ti))){if(Pt.eventCanceled){this._onDrop();return}Jt(a,"mouseup",i._disableDelayedDrag),Jt(a,"touchend",i._disableDelayedDrag),Jt(a,"touchcancel",i._disableDelayedDrag),Jt(a,"mousemove",i._delayedDragTouchMoveHandler),Jt(a,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&Jt(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ft&&df(ft),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;zt(e,"mouseup",this._disableDelayedDrag),zt(e,"touchend",this._disableDelayedDrag),zt(e,"touchcancel",this._disableDelayedDrag),zt(e,"mousemove",this._delayedDragTouchMoveHandler),zt(e,"touchmove",this._delayedDragTouchMoveHandler),zt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Jt(document,"pointermove",this._onTouchMove):n?Jt(document,"touchmove",this._onTouchMove):Jt(document,"mousemove",this._onTouchMove):(Jt(ft,"dragend",this),Jt(Ae,"dragstart",this._onDragStart));try{document.selection?gc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(so=!1,Ae&&ft){Mn("dragStarted",this,{evt:n}),this.nativeDraggable&&Jt(document,"dragover",A9);var s=this.options;!e&&Ne(ft,s.dragClass,!1),Ne(ft,s.ghostClass,!0),Pt.active=this,e&&this._appendGhost(),Tn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(vs){this._lastX=vs.clientX,this._lastY=vs.clientY,PS();for(var e=document.elementFromPoint(vs.clientX,vs.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(vs.clientX,vs.clientY),e!==n);)n=e;if(ft.parentNode[_n]._isOutsideThisEl(e),n)do{if(n[_n]){var s=void 0;if(s=n[_n]._onDragOver({clientX:vs.clientX,clientY:vs.clientY,target:e,rootEl:n}),s&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);DS()}},_onTouchMove:function(e){if(ur){var n=this.options,s=n.fallbackTolerance,i=n.fallbackOffset,r=e.touches?e.touches[0]:e,o=Ut&&Cr(Ut,!0),a=Ut&&o&&o.a,l=Ut&&o&&o.d,c=Kl&&dn&&kb(dn),u=(r.clientX-ur.clientX+i.x)/(a||1)+(c?c[0]-uf[0]:0)/(a||1),d=(r.clientY-ur.clientY+i.y)/(l||1)+(c?c[1]-uf[1]:0)/(l||1);if(!Pt.active&&!so){if(s&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))=0&&(Tn({rootEl:Re,name:"add",toEl:Re,fromEl:Ae,originalEvent:e}),Tn({sortable:this,name:"remove",toEl:Re,originalEvent:e}),Tn({rootEl:Re,name:"sort",toEl:Re,fromEl:Ae,originalEvent:e}),Tn({sortable:this,name:"sort",toEl:Re,originalEvent:e})),on&&on.save()):Gn!==co&&Gn>=0&&(Tn({sortable:this,name:"update",toEl:Re,originalEvent:e}),Tn({sortable:this,name:"sort",toEl:Re,originalEvent:e})),Pt.active&&((Gn==null||Gn===-1)&&(Gn=co,Bi=Ta),Tn({sortable:this,name:"end",toEl:Re,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Mn("nulling",this),Ae=ft=Re=Ut=hr=Le=pc=Gi=ur=vs=la=Gn=Bi=co=Ta=Zr=Ca=on=Wl=Pt.dragged=Pt.ghost=Pt.clone=Pt.active=null,tu.forEach(function(e){e.checked=!0}),tu.length=lf=cf=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ft&&(this._onDragOver(e),O9(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,s=this.el.children,i=0,r=s.length,o=this.options;is.right+i||t.clientX<=s.right&&t.clientY>s.bottom&&t.clientX>=s.left:t.clientX>s.right&&t.clientY>s.top||t.clientX<=s.right&&t.clientY>s.bottom+i}function P9(t,e,n,s,i,r,o,a){var l=s?t.clientY:t.clientX,c=s?n.height:n.width,u=s?n.top:n.left,d=s?n.bottom:n.right,f=!1;if(!o){if(a&&mcu+c*r/2:ld-mc)return-Ca}else if(l>u+c*(1-i)/2&&ld-c*r/2)?l>u+c/2?1:-1:0}function D9(t){return Ve(ft)1&&(Ft.forEach(function(a){r.addAnimationState({target:a,rect:Rn?xe(a):o}),of(a),a.fromRect=o,s.removeAnimationState(a)}),Rn=!1,H9(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var s=n.sortable,i=n.isOwner,r=n.insertion,o=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(r){if(i&&o._hideClone(),ta=!1,c.animation&&Ft.length>1&&(Rn||!i&&!o.options.sort&&!l)){var u=xe(we,!1,!0,!0);Ft.forEach(function(f){f!==we&&(Tb(f,u),a.appendChild(f))}),Rn=!0}if(!i)if(Rn||Xl(),Ft.length>1){var d=ql;o._showClone(s),o.options.animation&&!ql&&d&&Wn.forEach(function(f){o.addAnimationState({target:f,rect:ea}),f.fromRect=ea,f.thisAnimationDuration=null})}else o._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,i=n.isOwner,r=n.activeSortable;if(Ft.forEach(function(a){a.thisAnimationDuration=null}),r.options.animation&&!i&&r.multiDrag.isMultiDrag){ea=hs({},s);var o=Cr(we,!0);ea.top-=o.f,ea.left-=o.e}},dragOverAnimationComplete:function(){Rn&&(Rn=!1,Xl())},drop:function(n){var s=n.originalEvent,i=n.rootEl,r=n.parentEl,o=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,u=c||this.sortable;if(s){var d=this.options,f=r.children;if(!Jr)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(we,d.selectedClass,!~Ft.indexOf(we)),~Ft.indexOf(we))Ft.splice(Ft.indexOf(we),1),Qo=null,aa({sortable:o,rootEl:i,name:"deselect",targetEl:we});else{if(Ft.push(we),aa({sortable:o,rootEl:i,name:"select",targetEl:we}),s.shiftKey&&Qo&&o.el.contains(Qo)){var h=Ve(Qo),p=Ve(we);if(~h&&~p&&h!==p){var m,b;for(p>h?(b=h,m=p):(b=p,m=h+1);b1){var y=xe(we),_=Ve(we,":not(."+this.options.selectedClass+")");if(!ta&&d.animation&&(we.thisAnimationDuration=null),u.captureAnimationState(),!ta&&(d.animation&&(we.fromRect=y,Ft.forEach(function(v){if(v.thisAnimationDuration=null,v!==we){var S=Rn?xe(v):y;v.fromRect=S,u.addAnimationState({target:v,rect:S})}})),Xl(),Ft.forEach(function(v){f[_]?r.insertBefore(v,f[_]):r.appendChild(v),_++}),l===Ve(we))){var g=!1;Ft.forEach(function(v){if(v.sortableIndex!==Ve(v)){g=!0;return}}),g&&a("update")}Ft.forEach(function(v){of(v)}),u.animateAll()}_s=u}(i===r||c&&c.lastPutMode!=="clone")&&Wn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=Jr=!1,Wn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),zt(document,"pointerup",this._deselectMultiDrag),zt(document,"mouseup",this._deselectMultiDrag),zt(document,"touchend",this._deselectMultiDrag),zt(document,"keydown",this._checkKeyDown),zt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Jr<"u"&&Jr)&&_s===this.sortable&&!(n&&Es(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Ft.length;){var s=Ft[0];Ne(s,this.options.selectedClass,!1),Ft.shift(),aa({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},hs(t,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[_n];!s||!s.options.multiDrag||~Ft.indexOf(n)||(_s&&_s!==s&&(_s.multiDrag._deselectMultiDrag(),_s=s),Ne(n,s.options.selectedClass,!0),Ft.push(n))},deselect:function(n){var s=n.parentNode[_n],i=Ft.indexOf(n);!s||!s.options.multiDrag||!~i||(Ne(n,s.options.selectedClass,!1),Ft.splice(i,1))}},eventProperties:function(){var n=this,s=[],i=[];return Ft.forEach(function(r){s.push({multiDragElement:r,index:r.sortableIndex});var o;Rn&&r!==we?o=-1:Rn?o=Ve(r,":not(."+n.options.selectedClass+")"):o=Ve(r),i.push({multiDragElement:r,index:o})}),{items:c9(Ft),clones:[].concat(Wn),oldIndicies:s,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function H9(t,e){Ft.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Ib(t,e){Wn.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Xl(){Ft.forEach(function(t){t!==we&&t.parentNode&&t.parentNode.removeChild(t)})}Pt.mount(new L9);Pt.mount(ym,gm);const U9=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:V9,Sortable:Pt,Swap:$9,default:Pt},Symbol.toStringTag,{value:"Module"})),j9=Fu(U9);var B9=fc.exports,Nb;function W9(){return Nb||(Nb=1,function(t,e){(function(s,i){t.exports=i(J_(),j9)})(typeof self<"u"?self:B9,function(n,s){return function(i){var r={};function o(a){if(r[a])return r[a].exports;var l=r[a]={i:a,l:!1,exports:{}};return i[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=i,o.c=r,o.d=function(a,l,c){o.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,l){if(l&1&&(a=o(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var u in a)o.d(c,u,(function(d){return a[d]}).bind(null,u));return c},o.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(l,"a",l),l},o.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},o.p="",o(o.s="fb15")}({"00ee":function(i,r,o){var a=o("b622"),l=a("toStringTag"),c={};c[l]="z",i.exports=String(c)==="[object z]"},"0366":function(i,r,o){var a=o("1c0b");i.exports=function(l,c,u){if(a(l),c===void 0)return l;switch(u){case 0:return function(){return l.call(c)};case 1:return function(d){return l.call(c,d)};case 2:return function(d,f){return l.call(c,d,f)};case 3:return function(d,f,h){return l.call(c,d,f,h)}}return function(){return l.apply(c,arguments)}}},"057f":function(i,r,o){var a=o("fc6a"),l=o("241c").f,c={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return u.slice()}};i.exports.f=function(h){return u&&c.call(h)=="[object Window]"?d(h):l(a(h))}},"06cf":function(i,r,o){var a=o("83ab"),l=o("d1e7"),c=o("5c6c"),u=o("fc6a"),d=o("c04e"),f=o("5135"),h=o("0cfb"),p=Object.getOwnPropertyDescriptor;r.f=a?p:function(b,y){if(b=u(b),y=d(y,!0),h)try{return p(b,y)}catch{}if(f(b,y))return c(!l.f.call(b,y),b[y])}},"0cfb":function(i,r,o){var a=o("83ab"),l=o("d039"),c=o("cc12");i.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,r,o){var a=o("23e7"),l=o("d58f").left,c=o("a640"),u=o("ae40"),d=c("reduce"),f=u("reduce",{1:0});a({target:"Array",proto:!0,forced:!d||!f},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,r,o){var a=o("c6b6"),l=o("9263");i.exports=function(c,u){var d=c.exec;if(typeof d=="function"){var f=d.call(c,u);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,u)}},"159b":function(i,r,o){var a=o("da84"),l=o("fdbc"),c=o("17c2"),u=o("9112");for(var d in l){var f=a[d],h=f&&f.prototype;if(h&&h.forEach!==c)try{u(h,"forEach",c)}catch{h.forEach=c}}},"17c2":function(i,r,o){var a=o("b727").forEach,l=o("a640"),c=o("ae40"),u=l("forEach"),d=c("forEach");i.exports=!u||!d?function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,r,o){var a=o("d066");i.exports=a("document","documentElement")},"1c0b":function(i,r){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(i,r,o){var a=o("b622"),l=a("iterator"),c=!1;try{var u=0,d={next:function(){return{done:!!u++}},return:function(){c=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}i.exports=function(f,h){if(!h&&!c)return!1;var p=!1;try{var m={};m[l]=function(){return{next:function(){return{done:p=!0}}}},f(m)}catch{}return p}},"1d80":function(i,r){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(i,r,o){var a=o("d039"),l=o("b622"),c=o("2d00"),u=l("species");i.exports=function(d){return c>=51||!a(function(){var f=[],h=f.constructor={};return h[u]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(i,r,o){var a=o("a691"),l=Math.max,c=Math.min;i.exports=function(u,d){var f=a(u);return f<0?l(f+d,0):c(f,d)}},"23e7":function(i,r,o){var a=o("da84"),l=o("06cf").f,c=o("9112"),u=o("6eeb"),d=o("ce4e"),f=o("e893"),h=o("94ca");i.exports=function(p,m){var b=p.target,y=p.global,_=p.stat,g,v,S,k,N,M;if(y?v=a:_?v=a[b]||d(b,{}):v=(a[b]||{}).prototype,v)for(S in m){if(N=m[S],p.noTargetGet?(M=l(v,S),k=M&&M.value):k=v[S],g=h(y?S:b+(_?".":"#")+S,p.forced),!g&&k!==void 0){if(typeof N==typeof k)continue;f(N,k)}(p.sham||k&&k.sham)&&c(N,"sham",!0),u(v,S,N,p)}}},"241c":function(i,r,o){var a=o("ca84"),l=o("7839"),c=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(d){return a(d,c)}},"25f0":function(i,r,o){var a=o("6eeb"),l=o("825a"),c=o("d039"),u=o("ad6d"),d="toString",f=RegExp.prototype,h=f[d],p=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=d;(p||m)&&a(RegExp.prototype,d,function(){var y=l(this),_=String(y.source),g=y.flags,v=String(g===void 0&&y instanceof RegExp&&!("flags"in f)?u.call(y):g);return"/"+_+"/"+v},{unsafe:!0})},"2ca0":function(i,r,o){var a=o("23e7"),l=o("06cf").f,c=o("50c4"),u=o("5a34"),d=o("1d80"),f=o("ab13"),h=o("c430"),p="".startsWith,m=Math.min,b=f("startsWith"),y=!h&&!b&&!!function(){var _=l(String.prototype,"startsWith");return _&&!_.writable}();a({target:"String",proto:!0,forced:!y&&!b},{startsWith:function(g){var v=String(d(this));u(g);var S=c(m(arguments.length>1?arguments[1]:void 0,v.length)),k=String(g);return p?p.call(v,k,S):v.slice(S,S+k.length)===k}})},"2d00":function(i,r,o){var a=o("da84"),l=o("342f"),c=a.process,u=c&&c.versions,d=u&&u.v8,f,h;d?(f=d.split("."),h=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(h=f[1]))),i.exports=h&&+h},"342f":function(i,r,o){var a=o("d066");i.exports=a("navigator","userAgent")||""},"35a1":function(i,r,o){var a=o("f5df"),l=o("3f8c"),c=o("b622"),u=c("iterator");i.exports=function(d){if(d!=null)return d[u]||d["@@iterator"]||l[a(d)]}},"37e8":function(i,r,o){var a=o("83ab"),l=o("9bf2"),c=o("825a"),u=o("df75");i.exports=a?Object.defineProperties:function(f,h){c(f);for(var p=u(h),m=p.length,b=0,y;m>b;)l.f(f,y=p[b++],h[y]);return f}},"3bbe":function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,r,o){var a=o("6547").charAt,l=o("69f3"),c=o("7dd0"),u="String Iterator",d=l.set,f=l.getterFor(u);c(String,"String",function(h){d(this,{type:u,string:String(h),index:0})},function(){var p=f(this),m=p.string,b=p.index,y;return b>=m.length?{value:void 0,done:!0}:(y=a(m,b),p.index+=y.length,{value:y,done:!1})})},"3f8c":function(i,r){i.exports={}},4160:function(i,r,o){var a=o("23e7"),l=o("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,r,o){var a=o("da84");i.exports=a},"44ad":function(i,r,o){var a=o("d039"),l=o("c6b6"),c="".split;i.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return l(u)=="String"?c.call(u,""):Object(u)}:Object},"44d2":function(i,r,o){var a=o("b622"),l=o("7c73"),c=o("9bf2"),u=a("unscopables"),d=Array.prototype;d[u]==null&&c.f(d,u,{configurable:!0,value:l(null)}),i.exports=function(f){d[u][f]=!0}},"44e7":function(i,r,o){var a=o("861d"),l=o("c6b6"),c=o("b622"),u=c("match");i.exports=function(d){var f;return a(d)&&((f=d[u])!==void 0?!!f:l(d)=="RegExp")}},4930:function(i,r,o){var a=o("d039");i.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(i,r,o){var a=o("fc6a"),l=o("50c4"),c=o("23cb"),u=function(d){return function(f,h,p){var m=a(f),b=l(m.length),y=c(p,b),_;if(d&&h!=h){for(;b>y;)if(_=m[y++],_!=_)return!0}else for(;b>y;y++)if((d||y in m)&&m[y]===h)return d||y||0;return!d&&-1}};i.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(i,r,o){var a=o("23e7"),l=o("b727").filter,c=o("1dde"),u=o("ae40"),d=c("filter"),f=u("filter");a({target:"Array",proto:!0,forced:!d||!f},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,r,o){var a=o("0366"),l=o("7b0b"),c=o("9bdd"),u=o("e95a"),d=o("50c4"),f=o("8418"),h=o("35a1");i.exports=function(m){var b=l(m),y=typeof this=="function"?this:Array,_=arguments.length,g=_>1?arguments[1]:void 0,v=g!==void 0,S=h(b),k=0,N,M,T,D,j,$;if(v&&(g=a(g,_>2?arguments[2]:void 0,2)),S!=null&&!(y==Array&&u(S)))for(D=S.call(b),j=D.next,M=new y;!(T=j.call(D)).done;k++)$=v?c(D,g,[T.value,k],!0):T.value,f(M,k,$);else for(N=d(b.length),M=new y(N);N>k;k++)$=v?g(b[k],k):b[k],f(M,k,$);return M.length=k,M}},"4fad":function(i,r,o){var a=o("23e7"),l=o("6f53").entries;a({target:"Object",stat:!0},{entries:function(u){return l(u)}})},"50c4":function(i,r,o){var a=o("a691"),l=Math.min;i.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(i,r){var o={}.hasOwnProperty;i.exports=function(a,l){return o.call(a,l)}},5319:function(i,r,o){var a=o("d784"),l=o("825a"),c=o("7b0b"),u=o("50c4"),d=o("a691"),f=o("1d80"),h=o("8aa5"),p=o("14c3"),m=Math.max,b=Math.min,y=Math.floor,_=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,N,M){var T=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,D=M.REPLACE_KEEPS_$0,j=T?"$":"$0";return[function(Y,ot){var G=f(this),tt=Y==null?void 0:Y[S];return tt!==void 0?tt.call(Y,G,ot):k.call(String(G),Y,ot)},function(U,Y){if(!T&&D||typeof Y=="string"&&Y.indexOf(j)===-1){var ot=N(k,U,this,Y);if(ot.done)return ot.value}var G=l(U),tt=String(this),at=typeof Y=="function";at||(Y=String(Y));var Tt=G.global;if(Tt){var qt=G.unicode;G.lastIndex=0}for(var Vt=[];;){var Bt=p(G,tt);if(Bt===null||(Vt.push(Bt),!Tt))break;var ge=String(Bt[0]);ge===""&&(G.lastIndex=h(tt,u(G.lastIndex),qt))}for(var ve="",Se=0,Wt=0;Wt=Se&&(ve+=tt.slice(Se,dt)+A,Se=dt+X.length)}return ve+tt.slice(Se)}];function $(U,Y,ot,G,tt,at){var Tt=ot+U.length,qt=G.length,Vt=g;return tt!==void 0&&(tt=c(tt),Vt=_),k.call(at,Vt,function(Bt,ge){var ve;switch(ge.charAt(0)){case"$":return"$";case"&":return U;case"`":return Y.slice(0,ot);case"'":return Y.slice(Tt);case"<":ve=tt[ge.slice(1,-1)];break;default:var Se=+ge;if(Se===0)return Bt;if(Se>qt){var Wt=y(Se/10);return Wt===0?Bt:Wt<=qt?G[Wt-1]===void 0?ge.charAt(1):G[Wt-1]+ge.charAt(1):Bt}ve=G[Se-1]}return ve===void 0?"":ve})}})},5692:function(i,r,o){var a=o("c430"),l=o("c6cd");(i.exports=function(c,u){return l[c]||(l[c]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,r,o){var a=o("d066"),l=o("241c"),c=o("7418"),u=o("825a");i.exports=a("Reflect","ownKeys")||function(f){var h=l.f(u(f)),p=c.f;return p?h.concat(p(f)):h}},"5a34":function(i,r,o){var a=o("44e7");i.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,r){i.exports=function(o,a){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:a}}},"5db7":function(i,r,o){var a=o("23e7"),l=o("a2bf"),c=o("7b0b"),u=o("50c4"),d=o("1c0b"),f=o("65f0");a({target:"Array",proto:!0},{flatMap:function(p){var m=c(this),b=u(m.length),y;return d(p),y=f(m,0),y.length=l(y,m,m,b,0,1,p,arguments.length>1?arguments[1]:void 0),y}})},6547:function(i,r,o){var a=o("a691"),l=o("1d80"),c=function(u){return function(d,f){var h=String(l(d)),p=a(f),m=h.length,b,y;return p<0||p>=m?u?"":void 0:(b=h.charCodeAt(p),b<55296||b>56319||p+1===m||(y=h.charCodeAt(p+1))<56320||y>57343?u?h.charAt(p):b:u?h.slice(p,p+2):(b-55296<<10)+(y-56320)+65536)}};i.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(i,r,o){var a=o("861d"),l=o("e8b5"),c=o("b622"),u=c("species");i.exports=function(d,f){var h;return l(d)&&(h=d.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:a(h)&&(h=h[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(f===0?0:f)}},"69f3":function(i,r,o){var a=o("7f9a"),l=o("da84"),c=o("861d"),u=o("9112"),d=o("5135"),f=o("f772"),h=o("d012"),p=l.WeakMap,m,b,y,_=function(T){return y(T)?b(T):m(T,{})},g=function(T){return function(D){var j;if(!c(D)||(j=b(D)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return j}};if(a){var v=new p,S=v.get,k=v.has,N=v.set;m=function(T,D){return N.call(v,T,D),D},b=function(T){return S.call(v,T)||{}},y=function(T){return k.call(v,T)}}else{var M=f("state");h[M]=!0,m=function(T,D){return u(T,M,D),D},b=function(T){return d(T,M)?T[M]:{}},y=function(T){return d(T,M)}}i.exports={set:m,get:b,has:y,enforce:_,getterFor:g}},"6eeb":function(i,r,o){var a=o("da84"),l=o("9112"),c=o("5135"),u=o("ce4e"),d=o("8925"),f=o("69f3"),h=f.get,p=f.enforce,m=String(String).split("String");(i.exports=function(b,y,_,g){var v=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,k=g?!!g.noTargetGet:!1;if(typeof _=="function"&&(typeof y=="string"&&!c(_,"name")&&l(_,"name",y),p(_).source=m.join(typeof y=="string"?y:"")),b===a){S?b[y]=_:u(y,_);return}else v?!k&&b[y]&&(S=!0):delete b[y];S?b[y]=_:l(b,y,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||d(this)})},"6f53":function(i,r,o){var a=o("83ab"),l=o("df75"),c=o("fc6a"),u=o("d1e7").f,d=function(f){return function(h){for(var p=c(h),m=l(p),b=m.length,y=0,_=[],g;b>y;)g=m[y++],(!a||u.call(p,g))&&_.push(f?[g,p[g]]:p[g]);return _}};i.exports={entries:d(!0),values:d(!1)}},"73d9":function(i,r,o){var a=o("44d2");a("flatMap")},7418:function(i,r){r.f=Object.getOwnPropertySymbols},"746f":function(i,r,o){var a=o("428f"),l=o("5135"),c=o("e538"),u=o("9bf2").f;i.exports=function(d){var f=a.Symbol||(a.Symbol={});l(f,d)||u(f,d,{value:c.f(d)})}},7839:function(i,r){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,r,o){var a=o("1d80");i.exports=function(l){return Object(a(l))}},"7c73":function(i,r,o){var a=o("825a"),l=o("37e8"),c=o("7839"),u=o("d012"),d=o("1be4"),f=o("cc12"),h=o("f772"),p=">",m="<",b="prototype",y="script",_=h("IE_PROTO"),g=function(){},v=function(T){return m+y+p+T+m+"/"+y+p},S=function(T){T.write(v("")),T.close();var D=T.parentWindow.Object;return T=null,D},k=function(){var T=f("iframe"),D="java"+y+":",j;return T.style.display="none",d.appendChild(T),T.src=String(D),j=T.contentWindow.document,j.open(),j.write(v("document.F=Object")),j.close(),j.F},N,M=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}M=N?S(N):k();for(var T=c.length;T--;)delete M[b][c[T]];return M()};u[_]=!0,i.exports=Object.create||function(D,j){var $;return D!==null?(g[b]=a(D),$=new g,g[b]=null,$[_]=D):$=M(),j===void 0?$:l($,j)}},"7dd0":function(i,r,o){var a=o("23e7"),l=o("9ed3"),c=o("e163"),u=o("d2bb"),d=o("d44e"),f=o("9112"),h=o("6eeb"),p=o("b622"),m=o("c430"),b=o("3f8c"),y=o("ae93"),_=y.IteratorPrototype,g=y.BUGGY_SAFARI_ITERATORS,v=p("iterator"),S="keys",k="values",N="entries",M=function(){return this};i.exports=function(T,D,j,$,U,Y,ot){l(j,D,$);var G=function(Wt){if(Wt===U&&Vt)return Vt;if(!g&&Wt in Tt)return Tt[Wt];switch(Wt){case S:return function(){return new j(this,Wt)};case k:return function(){return new j(this,Wt)};case N:return function(){return new j(this,Wt)}}return function(){return new j(this)}},tt=D+" Iterator",at=!1,Tt=T.prototype,qt=Tt[v]||Tt["@@iterator"]||U&&Tt[U],Vt=!g&&qt||G(U),Bt=D=="Array"&&Tt.entries||qt,ge,ve,Se;if(Bt&&(ge=c(Bt.call(new T)),_!==Object.prototype&&ge.next&&(!m&&c(ge)!==_&&(u?u(ge,_):typeof ge[v]!="function"&&f(ge,v,M)),d(ge,tt,!0,!0),m&&(b[tt]=M))),U==k&&qt&&qt.name!==k&&(at=!0,Vt=function(){return qt.call(this)}),(!m||ot)&&Tt[v]!==Vt&&f(Tt,v,Vt),b[D]=Vt,U)if(ve={values:G(k),keys:Y?Vt:G(S),entries:G(N)},ot)for(Se in ve)(g||at||!(Se in Tt))&&h(Tt,Se,ve[Se]);else a({target:D,proto:!0,forced:g||at},ve);return ve}},"7f9a":function(i,r,o){var a=o("da84"),l=o("8925"),c=a.WeakMap;i.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(i,r,o){var a=o("d039");i.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,r,o){var a=o("c04e"),l=o("9bf2"),c=o("5c6c");i.exports=function(u,d,f){var h=a(d);h in u?l.f(u,h,c(0,f)):u[h]=f}},"861d":function(i,r){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},8875:function(i,r,o){var a,l,c;(function(u,d){l=[],a=d,c=typeof a=="function"?a.apply(r,l):a,c!==void 0&&(i.exports=c)})(typeof self<"u"?self:this,function(){function u(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(N){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(N.stack)||h.exec(N.stack),m=p&&p[1]||!1,b=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),_,g,v,S=document.getElementsByTagName("script");m===y&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*