!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(c){u=!0,r=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return s}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,n.ctx.currentTime);for(var o=0;o=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,c()),e},codecs:function(e){return(this||n)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||n;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{(new Audio).muted&&(e.noAudio=!0)}catch(t){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||n,t=null;try{t="undefined"!=typeof Audio?new Audio:null}catch(c){return e}if(!t||"function"!=typeof t.canPlayType)return e;var o=t.canPlayType("audio/mpeg;").replace(/^no$/,""),r=e._navigator?e._navigator.userAgent:"",i=r.match(/OPR\/([0-6].)/g),a=i&&parseInt(i[0].split("/")[1],10)<33,s=-1!==r.indexOf("Safari")&&-1===r.indexOf("Chrome"),l=r.match(/Version\/(.*?) /),u=s&&l&&parseInt(l[1],10)<15;return e._codecs={mp3:!(a||!o&&!t.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!o,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(u||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(u||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||n;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function t(n){for(;e._html5AudioPool.length0?s._seek:o._sprite[e][0]/1e3),c=Math.max(0,(o._sprite[e][0]+o._sprite[e][1])/1e3-u),d=1e3*c/Math.abs(s._rate),f=o._sprite[e][0]/1e3,p=(o._sprite[e][0]+o._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var h=function(){s._paused=!1,s._seek=u,s._start=f,s._stop=p,s._loop=!(!s._loop&&!o._sprite[e][2])};if(!(u>=p)){var _=s._node;if(o._webAudio){var m=function(){o._playLock=!1,h(),o._refreshBuffer(s);var e=s._muted||o._muted?0:s._volume;_.gain.setValueAtTime(e,n.ctx.currentTime),s._playStart=n.ctx.currentTime,void 0===_.bufferSource.start?s._loop?_.bufferSource.noteGrainOn(0,u,86400):_.bufferSource.noteGrainOn(0,u,c):s._loop?_.bufferSource.start(0,u,86400):_.bufferSource.start(0,u,c),d!==1/0&&(o._endTimers[s._id]=setTimeout(o._ended.bind(o,s),d)),t||setTimeout((function(){o._emit("play",s._id),o._loadQueue()}),0)};"running"===n.state&&"interrupted"!==n.ctx.state?m():(o._playLock=!0,o.once("resume",m),o._clearTimer(s._id))}else{var g=function(){_.currentTime=u,_.muted=s._muted||o._muted||n._muted||_.muted,_.volume=s._volume*n.volume(),_.playbackRate=s._rate;try{var r=_.play();if(r&&"undefined"!=typeof Promise&&(r instanceof Promise||"function"==typeof r.then)?(o._playLock=!0,h(),r.then((function(){o._playLock=!1,_._unlocked=!0,t?o._loadQueue():o._emit("play",s._id)})).catch((function(){o._playLock=!1,o._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0}))):t||(o._playLock=!1,h(),o._emit("play",s._id)),_.playbackRate=s._rate,_.paused)return void o._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||s._loop?o._endTimers[s._id]=setTimeout(o._ended.bind(o,s),d):(o._endTimers[s._id]=function(){o._ended(s),_.removeEventListener("ended",o._endTimers[s._id],!1)},_.addEventListener("ended",o._endTimers[s._id],!1))}catch(i){o._emit("playerror",s._id,i)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===_.src&&(_.src=o._src,_.load());var v=window&&window.ejecta||!_.readyState&&n._navigator.isCocoonJS;if(_.readyState>=3||v)g();else{o._playLock=!0,o._state="loading";_.addEventListener(n._canPlayEvent,(function e(){o._state="loaded",g(),_.removeEventListener(n._canPlayEvent,e,!1)}),!1),o._clearTimer(s._id)}}return s._id}o._ended(s)},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),o=0;o=0?t=parseInt(i[0],10):e=parseFloat(i[0]):i.length>=2&&(e=parseFloat(i[0]),t=parseInt(i[1],10)),!(void 0!==e&&e>=0&&e<=1))return(o=t?r._soundById(t):r._sounds[0])?o._volume:0;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"volume",action:function(){r.volume.apply(r,i)}}),r;void 0===t&&(r._volume=e),t=r._getSoundIds(t);for(var a=0;a0?o/u:o),d=Date.now();e._fadeTo=n,e._interval=setInterval((function(){var r=(Date.now()-d)/o;d=Date.now(),s+=l*r,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),a._webAudio?e._volume=s:a.volume(s,e._id,!0),i&&(a._volume=s),(nt&&s>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(n,e._id),a._emit("fade",e._id))}),c)},_stopFade:function(e){var t=this,o=t._soundById(e);return o&&o._interval&&(t._webAudio&&o._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(o._interval),o._interval=null,t.volume(o._fadeTo,e),o._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e,t,n,o=this,r=arguments;if(0===r.length)return o._loop;if(1===r.length){if("boolean"!=typeof r[0])return!!(n=o._soundById(parseInt(r[0],10)))&&n._loop;e=r[0],o._loop=e}else 2===r.length&&(e=r[0],t=parseInt(r[1],10));for(var i=o._getSoundIds(t),a=0;a=0?t=parseInt(i[0],10):e=parseFloat(i[0])}else 2===i.length&&(e=parseFloat(i[0]),t=parseInt(i[1],10));if("number"!=typeof e)return(o=r._soundById(t))?o._rate:r._rate;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"rate",action:function(){r.rate.apply(r,i)}}),r;void 0===t&&(r._rate=e),t=r._getSoundIds(t);for(var a=0;a=0?t=parseInt(r[0],10):o._sounds.length&&(t=o._sounds[0]._id,e=parseFloat(r[0]))}else 2===r.length&&(e=parseFloat(r[0]),t=parseInt(r[1],10));if(void 0===t)return 0;if("number"==typeof e&&("loaded"!==o._state||o._playLock))return o._queue.push({event:"seek",action:function(){o.seek.apply(o,r)}}),o;var i=o._soundById(t);if(i){if(!("number"==typeof e&&e>=0)){if(o._webAudio){var a=o.playing(t)?n.ctx.currentTime-i._playStart:0,s=i._rateSeek?i._rateSeek-i._seek:0;return i._seek+(s+a*Math.abs(i._rate))}return i._node.currentTime}var l=o.playing(t);l&&o.pause(t,!0),i._seek=e,i._ended=!1,o._clearTimer(t),o._webAudio||!i._node||isNaN(i._node.duration)||(i._node.currentTime=e);var u=function(){l&&o.play(t,!0),o._emit("seek",t)};if(l&&!o._webAudio){setTimeout((function e(){o._playLock?setTimeout(e,0):u()}),0)}else u()}return o},playing:function(e){var t=this;if("number"==typeof e){var n=t._soundById(e);return!!n&&!n._paused}for(var o=0;o=0&&n._howls.splice(r,1);var a=!0;for(o=0;o=0){a=!1;break}return i&&a&&delete i[e._src],n.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,o){var r=this["_on"+e];return"function"==typeof t&&r.push(o?{id:n,fn:t,once:o}:{id:n,fn:t}),this},off:function(e,t,n){var o=this,r=o["_on"+e],i=0;if("number"==typeof t&&(n=t,t=null),t||n)for(i=0;i=0;i--)r[i].id&&r[i].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,n)}.bind(o,r[i].fn),0),r[i].once&&o.off(e,r[i].fn,r[i].id));return o._loadQueue(e),o},_loadQueue:function(e){var t=this;if(t._queue.length>0){var n=t._queue[0];n.event===e&&(t._queue.shift(),t._loadQueue()),e||n.action()}return t},_ended:function(e){var t=this,o=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime=0;o--){if(n<=t)return;e._sounds[o]._ended&&(e._webAudio&&e._sounds[o]._node&&e._sounds[o]._node.disconnect(0),e._sounds.splice(o,1),n--)}}},_getSoundIds:function(e){if(void 0===e){for(var t=[],n=0;n=0;if(n._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=n._scratchBuffer}catch(o){}return e.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var r=function(e){this._parent=e,this.init()};r.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,o=n._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),e._node.gain.setValueAtTime(o,n.ctx.currentTime),e._node.paused=!0,e._node.connect(n.masterGain)):n.noAudio||(e._node=n._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(n._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=!0===t._preload?"auto":t._preload,e._node.volume=o*n.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++n._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(n._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(10*e._node.duration)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=1e3*t._duration),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var i={},a=function(e){var t=e._src;if(i[t])return e._duration=i[t].duration,void u(e);if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),o=new Uint8Array(n.length),r=0;r0?(i[t._src]=e,u(t,e)):o()};"undefined"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(e).then(r).catch(o):n.ctx.decodeAudioData(e,r,o)},u=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},c=function(){if(n.usingWebAudio){try{"undefined"!=typeof AudioContext?n.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(i){n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),t=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),o=t?parseInt(t[1],10):null;if(e&&o&&o<9){var r=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!r&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:n._volume,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};t.Howler=n,t.Howl=o,void 0!==x?(x.HowlerGlobal=e,x.Howler=n,x.Howl=o,x.Sound=r):"undefined"!=typeof window&&(window.HowlerGlobal=e,window.Howler=n,window.Howl=o,window.Sound=r)}(), /*! * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported. * * howler.js v2.2.3 * howlerjs.com * * (c) 2013-2020, James Simpson of GoldFire Studios * goldfirestudios.com * * MIT License */ function(){var t;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var t=this;if(!t.ctx||!t.ctx.listener)return t;for(var n=t._howls.length-1;n>=0;n--)t._howls[n].stereo(e);return t},HowlerGlobal.prototype.pos=function(e,t,n){var o=this;return o.ctx&&o.ctx.listener?(t="number"!=typeof t?o._pos[1]:t,n="number"!=typeof n?o._pos[2]:n,"number"!=typeof e?o._pos:(o._pos=[e,t,n],void 0!==o.ctx.listener.positionX?(o.ctx.listener.positionX.setTargetAtTime(o._pos[0],Howler.ctx.currentTime,.1),o.ctx.listener.positionY.setTargetAtTime(o._pos[1],Howler.ctx.currentTime,.1),o.ctx.listener.positionZ.setTargetAtTime(o._pos[2],Howler.ctx.currentTime,.1)):o.ctx.listener.setPosition(o._pos[0],o._pos[1],o._pos[2]),o)):o},HowlerGlobal.prototype.orientation=function(e,t,n,o,r,i){var a=this;if(!a.ctx||!a.ctx.listener)return a;var s=a._orientation;return t="number"!=typeof t?s[1]:t,n="number"!=typeof n?s[2]:n,o="number"!=typeof o?s[3]:o,r="number"!=typeof r?s[4]:r,i="number"!=typeof i?s[5]:i,"number"!=typeof e?s:(a._orientation=[e,t,n,o,r,i],void 0!==a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(o,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(r,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(i,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(e,t,n,o,r,i),a)},Howl.prototype.init=(t=Howl.prototype.init,function(e){var n=this;return n._orientation=e.orientation||[1,0,0],n._stereo=e.stereo||null,n._pos=e.pos||null,n._pannerAttr={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:360,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:360,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:0,distanceModel:void 0!==e.distanceModel?e.distanceModel:"inverse",maxDistance:void 0!==e.maxDistance?e.maxDistance:1e4,panningModel:void 0!==e.panningModel?e.panningModel:"HRTF",refDistance:void 0!==e.refDistance?e.refDistance:1,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:1},n._onstereo=e.onstereo?[{fn:e.onstereo}]:[],n._onpos=e.onpos?[{fn:e.onpos}]:[],n._onorientation=e.onorientation?[{fn:e.onorientation}]:[],t.call(this,e)}),Howl.prototype.stereo=function(e,t){var o=this;if(!o._webAudio)return o;if("loaded"!==o._state)return o._queue.push({event:"stereo",action:function(){o.stereo(e,t)}}),o;var r=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===t){if("number"!=typeof e)return o._stereo;o._stereo=e,o._pos=[e,0,0]}for(var i=o._getSoundIds(t),a=0;a=0?(r.splice(a,1),o("update:value",t(r))):o("update:value",[].concat(t(r),[i]))}else o("update:value",[i])}}(n)}},[p("div",{class:Re},[p("span",{class:Pe},[ee[r+1],E(".")]),n.questionAnswerTypeCode===se&&p("div",{class:ke},[p(z,{src:n.questionAnswer,fit:"contain",class:"answerTitleImg"},null)]),n.questionAnswerTypeCode===le&&p("div",{class:ke},[n.questionAnswer]),n.questionAnswerTypeCode===ue&&p("div",{class:ke},[p(ge,{src:n.questionAnswer,class:Me},null)])]),e.showRate&&p("div",{class:je},[n.selectRate||0,E("%人选择")])])}))])]),e.showAnalysis&&p(Ie,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}})),"_anserList_1tg7z_1"),Fe="_status_1tg7z_5",Ne="_aList_1tg7z_28",ze="_answered_1tg7z_46",qe="_yes_1tg7z_50",He="_no_1tg7z_54",Ye="_more_1tg7z_58",Ue=(o("a",f({name:"answer-list",props:{value:{type:Array,default:function(){return[]}},index:{type:Number,default:0},lookType:{type:String,default:"ANSWER"},statusList:{type:Array,default:function(){return[{text:"已答",color:"#1CACF1"},{text:"未答",color:"#EAEAEA"}]}},answerResult:{type:Array,default:function(){return[]}},isFinish:{type:Boolean,default:!0}},emits:["select","loadMore"],setup:function(e,t){var n=t.emit;return function(){return p("div",{class:Be},[e.statusList.length>0&&p("div",{class:Fe},[e.statusList.map((function(e){return p("span",null,[p("i",{style:{backgroundColor:e.color}},null),e.text])}))]),p("div",{style:{maxHeight:"40vh",minHeight:"20vh",overflowX:"auto"}},[p(q,{class:Ne,columnNum:6,border:!1},{default:function(){return[e.value.map((function(t,o){return p(H,{onClick:function(){return n("select",o)}},{default:function(){return[p("span",{class:["ANSWER"===e.lookType&&t.userAnswer&&t.userAnswer.length>0&&ze,"RESULT"===e.lookType&&(n=t.id,r=!1,e.answerResult.forEach((function(e){e.questionId===n&&(r=e.rightFlag)})),r?qe:He),"CLICK"===e.lookType&&o===e.index&&ze,"PRACTICE"===e.lookType&&t.showAnalysis?t.analysis.userResult?qe:He:""]},[o+1])];var n,r}})})),!e.isFinish&&p(H,{onClick:function(){return n("loadMore")}},{default:function(){return[p("span",{class:[ze,Ye]},[E("更多")])]}})]}})])])}}})),{exports:{}}); /**! * Sortable 1.10.2 * @author RubaXa * @author owenm * @license MIT */ function Ve(t){return Ve="function"==typeof Symbol&&"symbol"===e(Symbol.iterator)?function(t){return e(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":e(t)},Ve(t)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(){return Ge=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ze(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function lt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ut(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&st(e,t):st(e,t))||o&&e===n)return e;if(e===n)break}while(e=lt(e))}return null}var ct,dt=/\s+/g;function ft(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(dt," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(dt," ")}}function pt(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function ht(e,t){var n="";if("string"==typeof e)n=e;else do{var o=pt(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function _t(e,t,n){if(e){var o=e.getElementsByTagName(t),r=0,i=o.length;if(n)for(;r=i:r<=i))return o;if(o===mt())break;o=xt(o,!1)}return!1}function wt(e,t,n){for(var o=0,r=0,i=e.children;r2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,r=We(n,["evt"]);Lt.pluginEvent.bind(On)(e,t,Qe({dragEl:Ft,parentEl:Nt,ghostEl:zt,rootEl:qt,nextEl:Ht,lastDownEl:Yt,cloneEl:Ut,cloneHidden:Vt,dragStarted:rn,putSortable:Kt,activeSortable:On.active,originalEvent:o,oldIndex:Xt,oldDraggableIndex:Qt,newIndex:Gt,newDraggableIndex:Wt,hideGhostForTarget:Tn,unhideGhostForTarget:En,cloneNowHidden:function(){Vt=!0},cloneNowShown:function(){Vt=!1},dispatchSortableEvent:function(e){Bt({sortable:t,name:e,originalEvent:o})}},r))};function Bt(e){Rt(Qe({putSortable:Kt,cloneEl:Ut,targetEl:Ft,rootEl:qt,oldIndex:Xt,oldDraggableIndex:Qt,newIndex:Gt,newDraggableIndex:Wt},e))}var Ft,Nt,zt,qt,Ht,Yt,Ut,Vt,Xt,Gt,Qt,Wt,Zt,Kt,Jt,$t,en,tn,nn,on,rn,an,sn,ln,un,cn=!1,dn=!1,fn=[],pn=!1,hn=!1,_n=[],mn=!1,gn=[],vn="undefined"!=typeof document,wn=nt,yn=$e||Je?"cssFloat":"float",bn=vn&&!ot&&!nt&&"draggable"in document.createElement("div"),An=function(){if(vn){if(Je)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),xn=function(e,t){var n=pt(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=wt(e,0,t),i=wt(e,1,t),a=r&&pt(r),s=i&&pt(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+gt(r).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+gt(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=o&&"none"===n[yn]||i&&"none"===n[yn]&&l+u>o)?"vertical":"horizontal"},Sn=function(e){function t(e,n){return function(o,r,i,a){var s=o.options.group.name&&r.options.group.name&&o.options.group.name===r.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,r,i,a),n)(o,r,i,a);var l=(n?o:r).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},o=e.group;o&&"object"==Ve(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Tn=function(){!An&&zt&&pt(zt,"display","none")},En=function(){!An&&zt&&pt(zt,"display","")};vn&&document.addEventListener("click",(function(e){if(dn)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),dn=!1,!1}),!0);var In=function(e){if(Ft){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,i=e.clientY,fn.some((function(e){if(!yt(e)){var t=gt(e),n=e[Dt].options.emptyInsertThreshold,o=r>=t.left-n&&r<=t.right+n,s=i>=t.top-n&&i<=t.bottom+n;return n&&o&&s?a=e:void 0}})),a);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Dt]._onDragOver(n)}}var r,i,a},Cn=function(e){Ft&&Ft.parentNode[Dt]._isOutsideThisEl(e.target)};function On(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ge({},t),e[Dt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return xn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==On.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var o in Lt.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var r in Sn(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&bn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?it(e,"pointerdown",this._onTapStart):(it(e,"mousedown",this._onTapStart),it(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(e,"dragover",this),it(e,"dragenter",this)),fn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ge(this,Pt())}function Dn(e,t,n,o,r,i,a,s){var l,u,c=e[Dt],d=c.options.onMove;return!window.CustomEvent||Je||$e?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=o,l.related=r||t,l.relatedRect=i||gt(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function Pn(e){e.draggable=!1}function kn(){mn=!1}function Mn(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Ln(e){return setTimeout(e,0)}function Rn(e){return clearTimeout(e)}On.prototype={constructor:On,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(an=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Ft):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,r=o.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=o.filter;if(function(e){gn.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&gn.push(o)}}(n),!Ft&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||o.disabled||l.isContentEditable||(s=ut(s,o.draggable,n,!1))&&s.animated||Yt===s)){if(Xt=bt(s),Qt=bt(s,o.draggable),"function"==typeof u){if(u.call(this,e,s,this))return Bt({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),jt("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=ut(l,o.trim(),n,!1))return Bt({sortable:t,rootEl:o,name:"filter",targetEl:s,fromEl:n,toEl:n}),jt("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());o.handle&&!ut(l,o.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var o,r=this,i=r.el,a=r.options,s=i.ownerDocument;if(n&&!Ft&&n.parentNode===i){var l=gt(n);if(qt=i,Nt=(Ft=n).parentNode,Ht=Ft.nextSibling,Yt=n,Zt=a.group,On.dragged=Ft,Jt={target:Ft,clientX:(t||e).clientX,clientY:(t||e).clientY},nn=Jt.clientX-l.left,on=Jt.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Ft.style["will-change"]="all",o=function(){jt("delayEnded",r,{evt:e}),On.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!et&&r.nativeDraggable&&(Ft.draggable=!0),r._triggerDragStart(e,t),Bt({sortable:r,name:"choose",originalEvent:e}),ft(Ft,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){_t(Ft,e.trim(),Pn)})),it(s,"dragover",In),it(s,"mousemove",In),it(s,"touchmove",In),it(s,"mouseup",r._onDrop),it(s,"touchend",r._onDrop),it(s,"touchcancel",r._onDrop),et&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ft.draggable=!0),jt("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&($e||Je))o();else{if(On.eventCanceled)return void this._onDrop();it(s,"mouseup",r._disableDelayedDrag),it(s,"touchend",r._disableDelayedDrag),it(s,"touchcancel",r._disableDelayedDrag),it(s,"mousemove",r._delayedDragTouchMoveHandler),it(s,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&it(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Ft&&Pn(Ft),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;at(e,"mouseup",this._disableDelayedDrag),at(e,"touchend",this._disableDelayedDrag),at(e,"touchcancel",this._disableDelayedDrag),at(e,"mousemove",this._delayedDragTouchMoveHandler),at(e,"touchmove",this._delayedDragTouchMoveHandler),at(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):it(document,t?"touchmove":"mousemove",this._onTouchMove):(it(Ft,"dragend",this),it(qt,"dragstart",this._onDragStart));try{document.selection?Ln((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(cn=!1,qt&&Ft){jt("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",Cn);var n=this.options;!e&&ft(Ft,n.dragClass,!1),ft(Ft,n.ghostClass,!0),On.active=this,e&&this._appendGhost(),Bt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if($t){this._lastX=$t.clientX,this._lastY=$t.clientY,Tn();for(var e=document.elementFromPoint($t.clientX,$t.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint($t.clientX,$t.clientY))!==t;)t=e;if(Ft.parentNode[Dt]._isOutsideThisEl(e),t)do{if(t[Dt]){if(t[Dt]._onDragOver({clientX:$t.clientX,clientY:$t.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);En()}},_onTouchMove:function(e){if(Jt){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,i=zt&&ht(zt,!0),a=zt&&i&&i.a,s=zt&&i&&i.d,l=wn&&un&&At(un),u=(r.clientX-Jt.clientX+o.x)/(a||1)+(l?l[0]-_n[0]:0)/(a||1),c=(r.clientY-Jt.clientY+o.y)/(s||1)+(l?l[1]-_n[1]:0)/(s||1);if(!On.active&&!cn){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))o.right+r||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+r}(e,r,this)&&!_.animated){if(_===Ft)return D(!1);if(_&&i===e.target&&(a=_),a&&(n=gt(a)),!1!==Dn(qt,i,Ft,t,a,n,e,!!a))return O(),i.appendChild(Ft),Nt=i,P(),D(!0)}else if(a.parentNode===i){n=gt(a);var m,g,v,w=Ft.parentNode!==i,y=!function(e,t,n){var o=n?e.left:e.top,r=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return o===a||r===s||o+i/2===a+l/2}(Ft.animated&&Ft.toRect||t,a.animated&&a.toRect||n,r),b=r?"top":"left",A=vt(a,"top","top")||vt(Ft,"top","top"),x=A?A.scrollTop:void 0;if(an!==a&&(g=n[b],pn=!1,hn=!y&&s.invertSwap||w),m=function(e,t,n,o,r,i,a,s){var l=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,f=!1;if(!a)if(s&&lnc+u*i/2:ld-ln)return-sn}else if(l>c+u*(1-r)/2&&ld-u*i/2))return l>c+u/2?1:-1;return 0}(e,a,n,r,y?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,hn,an===a),0!==m){var S=bt(Ft);do{S-=m,v=Nt.children[S]}while(v&&("none"===pt(v,"display")||v===zt))}if(0===m||v===a)return D(!1);an=a,sn=m;var T=a.nextElementSibling,E=!1,I=Dn(qt,i,Ft,t,a,n,e,E=1===m);if(!1!==I)return 1!==I&&-1!==I||(E=1===I),mn=!0,setTimeout(kn,30),O(),E&&!T?i.appendChild(Ft):a.parentNode.insertBefore(Ft,E?T:a),A&&Et(A,0,x-A.scrollTop),Nt=Ft.parentNode,void 0===g||hn||(ln=Math.abs(g-gt(a)[b])),P(),D(!0)}if(i.contains(Ft))return D(!1)}return!1}function C(s,l){jt(s,p,Qe({evt:e,isOwner:c,axis:r?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:D,onMove:function(n,o){return Dn(qt,i,Ft,t,n,gt(n),e,o)},changed:P},l))}function O(){C("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function D(t){return C("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(p),p!==f&&(ft(Ft,Kt?Kt.options.ghostClass:u.options.ghostClass,!1),ft(Ft,s.ghostClass,!0)),Kt!==p&&p!==On.active?Kt=p:p===On.active&&Kt&&(Kt=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){C("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===Ft&&!Ft.animated||a===i&&!a.animated)&&(an=null),s.dragoverBubble||e.rootEl||a===document||(Ft.parentNode[Dt]._isOutsideThisEl(e.target),!t&&In(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function P(){Gt=bt(Ft),Wt=bt(Ft,s.draggable),Bt({sortable:p,name:"change",toEl:i,newIndex:Gt,newDraggableIndex:Wt,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){at(document,"mousemove",this._onTouchMove),at(document,"touchmove",this._onTouchMove),at(document,"pointermove",this._onTouchMove),at(document,"dragover",In),at(document,"mousemove",In),at(document,"touchmove",In)},_offUpEvents:function(){var e=this.el.ownerDocument;at(e,"mouseup",this._onDrop),at(e,"touchend",this._onDrop),at(e,"pointerup",this._onDrop),at(e,"touchcancel",this._onDrop),at(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Gt=bt(Ft),Wt=bt(Ft,n.draggable),jt("drop",this,{evt:e}),Nt=Ft&&Ft.parentNode,Gt=bt(Ft),Wt=bt(Ft,n.draggable),On.eventCanceled||(cn=!1,hn=!1,pn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Rn(this.cloneId),Rn(this._dragStartId),this.nativeDraggable&&(at(document,"drop",this),at(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),tt&&pt(document.body,"user-select",""),pt(Ft,"transform",""),e&&(rn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),zt&&zt.parentNode&&zt.parentNode.removeChild(zt),(qt===Nt||Kt&&"clone"!==Kt.lastPutMode)&&Ut&&Ut.parentNode&&Ut.parentNode.removeChild(Ut),Ft&&(this.nativeDraggable&&at(Ft,"dragend",this),Pn(Ft),Ft.style["will-change"]="",rn&&!cn&&ft(Ft,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),ft(Ft,this.options.chosenClass,!1),Bt({sortable:this,name:"unchoose",toEl:Nt,newIndex:null,newDraggableIndex:null,originalEvent:e}),qt!==Nt?(Gt>=0&&(Bt({rootEl:Nt,name:"add",toEl:Nt,fromEl:qt,originalEvent:e}),Bt({sortable:this,name:"remove",toEl:Nt,originalEvent:e}),Bt({rootEl:Nt,name:"sort",toEl:Nt,fromEl:qt,originalEvent:e}),Bt({sortable:this,name:"sort",toEl:Nt,originalEvent:e})),Kt&&Kt.save()):Gt!==Xt&&Gt>=0&&(Bt({sortable:this,name:"update",toEl:Nt,originalEvent:e}),Bt({sortable:this,name:"sort",toEl:Nt,originalEvent:e})),On.active&&(null!=Gt&&-1!==Gt||(Gt=Xt,Wt=Qt),Bt({sortable:this,name:"end",toEl:Nt,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){jt("nulling",this),qt=Ft=Nt=zt=Ht=Ut=Yt=Vt=Jt=$t=rn=Gt=Wt=Xt=Qt=an=sn=Kt=Zt=On.dragged=On.ghost=On.clone=On.active=null,gn.forEach((function(e){e.checked=!0})),gn.length=en=tn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Ft&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,r=n.length,i=this.options;o1&&(no.forEach((function(e){o.addAnimationState({target:e,rect:io?gt(e):r}),Ot(e),e.fromRect=r,t.removeAnimationState(e)})),io=!1,function(e,t){no.forEach((function(n,o){var r=t.children[n.sortableIndex+(e?Number(o):0)];r?t.insertBefore(n,r):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,o=e.insertion,r=e.activeSortable,i=e.parentEl,a=e.putSortable,s=this.options;if(o){if(n&&r._hideClone(),ro=!1,s.animation&&no.length>1&&(io||!n&&!r.options.sort&&!a)){var l=gt($n,!1,!0,!0);no.forEach((function(e){e!==$n&&(Ct(e,l),i.appendChild(e))})),io=!0}if(!n)if(io||lo(),no.length>1){var u=to;r._showClone(t),r.options.animation&&!to&&u&&oo.forEach((function(e){r.addAnimationState({target:e,rect:eo}),e.fromRect=eo,e.thisAnimationDuration=null}))}else r._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,o=e.activeSortable;if(no.forEach((function(e){e.thisAnimationDuration=null})),o.options.animation&&!n&&o.multiDrag.isMultiDrag){eo=Ge({},t);var r=ht($n,!0);eo.top-=r.f,eo.left-=r.e}},dragOverAnimationComplete:function(){io&&(io=!1,lo())},drop:function(e){var t=e.originalEvent,n=e.rootEl,o=e.parentEl,r=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var u=this.options,c=o.children;if(!ao)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),ft($n,u.selectedClass,!~no.indexOf($n)),~no.indexOf($n))no.splice(no.indexOf($n),1),Kn=null,Rt({sortable:r,rootEl:n,name:"deselect",targetEl:$n,originalEvt:t});else{if(no.push($n),Rt({sortable:r,rootEl:n,name:"select",targetEl:$n,originalEvt:t}),t.shiftKey&&Kn&&r.el.contains(Kn)){var d,f,p=bt(Kn),h=bt($n);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f1){var _=gt($n),m=bt($n,":not(."+this.options.selectedClass+")");if(!ro&&u.animation&&($n.thisAnimationDuration=null),l.captureAnimationState(),!ro&&(u.animation&&($n.fromRect=_,no.forEach((function(e){if(e.thisAnimationDuration=null,e!==$n){var t=io?gt(e):_;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),lo(),no.forEach((function(e){c[m]?o.insertBefore(e,c[m]):o.appendChild(e),m++})),a===bt($n))){var g=!1;no.forEach((function(e){e.sortableIndex===bt(e)||(g=!0)})),g&&i("update")}no.forEach((function(e){Ot(e)})),l.animateAll()}Jn=l}(n===o||s&&"clone"!==s.lastPutMode)&&oo.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=ao=!1,oo.length=0},destroyGlobal:function(){this._deselectMultiDrag(),at(document,"pointerup",this._deselectMultiDrag),at(document,"mouseup",this._deselectMultiDrag),at(document,"touchend",this._deselectMultiDrag),at(document,"keydown",this._checkKeyDown),at(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==ao&&ao||Jn!==this.sortable||e&&ut(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;no.length;){var t=no[0];ft(t,this.options.selectedClass,!1),no.shift(),Rt({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ge(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[Dt];t&&t.options.multiDrag&&!~no.indexOf(e)&&(Jn&&Jn!==t&&(Jn.multiDrag._deselectMultiDrag(),Jn=t),ft(e,t.options.selectedClass,!0),no.push(e))},deselect:function(e){var t=e.parentNode[Dt],n=no.indexOf(e);t&&t.options.multiDrag&&~n&&(ft(e,t.options.selectedClass,!1),no.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return no.forEach((function(o){var r;t.push({multiDragElement:o,index:o.sortableIndex}),r=io&&o!==$n?-1:io?bt(o,":not(."+e.options.selectedClass+")"):bt(o),n.push({multiDragElement:o,index:r})})),{items:Ze(no),clones:[].concat(oo),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})},Sortable:On,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Xn=t},dragOverValid:function(e){var t=e.completed,n=e.target,o=e.onMove,r=e.activeSortable,i=e.changed,a=e.cancel;if(r.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var u=Xn;!1!==o(n)?(ft(n,l.swapClass,!0),Xn=n):Xn=null,u&&u!==Xn&&ft(u,l.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,o=e.dragEl,r=n||this.sortable,i=this.options;Xn&&ft(Xn,i.swapClass,!1),Xn&&(i.swap||n&&n.options.swap)&&o!==Xn&&(r.captureAnimationState(),r!==t&&t.captureAnimationState(),function(e,t){var n,o,r=e.parentNode,i=t.parentNode;if(!r||!i||r.isEqualNode(t)||i.isEqualNode(e))return;n=bt(e),o=bt(t),r.isEqualNode(i)&&n=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},"0390":function(e,t,n){var o=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},"0bfb":function(e,t,n){var o=n("cb7c");e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var o=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return o(e,r)}},1495:function(e,t,n){var o=n("86cc"),r=n("cb7c"),i=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),s=a.length,l=0;s>l;)o.f(e,n=a[l++],t[n]);return e}},"214f":function(e,t,n){n("b0c5");var o=n("2aba"),r=n("32e9"),i=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!c||"split"===e&&!d){var _=/./[f],m=n(a,f,""[e],(function(e,t,n,o,r){return t.exec===l?p&&!r?{done:!0,value:_.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}})),g=m[0],v=m[1];o(String.prototype,e,g),r(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},"230e":function(e,t,n){var o=n("d3f4"),r=n("7726").document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},"23c6":function(e,t,n){var o=n("2d95"),r=n("2b4c")("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),r))?n:i?o(t):"Object"==(a=o(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var o=n("7726"),r=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(i(n,a)||r(n,a,e[t]?""+e[t]:u.join(String(t)))),e===o?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var o=n("cb7c"),r=n("1495"),i=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("230e")("iframe"),o=i.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("