123456789101112131415161718192021222324252627282930 |
- !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 o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(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 r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(c){l=!0,o=c}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||r(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 r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}System.register(["./index-legacy-fff8b745.js","./index-legacy-c55612ee.js","./index-legacy-d45a8a37.js","./index-legacy-32789c37.js","./index-legacy-f6b7c75c.js"],(function(r,o){"use strict";var i,a,s,u,l,c,d,f,p,h,_,m,v,g,y,b,w,A,x,S,T,E,O,I,C,D,P,k,R,L,M,j,B,N,F,z,H,q,Y,U,G,V;return{setters:[function(e){i=e.c,a=e.a9,s=e.ah,u=e.t,l=e.ai,c=e.m,d=e.aj,f=e.d,p=e.a,h=e.h,_=e.ae,m=e.V,v=e.I,g=e.H,y=e.L,b=e.z,w=e.k,A=e.ak,x=e.al,S=e.x,T=e.ag,E=e.A,O=e.e,I=e.F,C=e.a1,D=e.am,P=e.an,k=e.w,R=e.y,L=e.C,M=e.r,j=e.Z,B=e.a4,N=e.ao,F=e.R,z=e.ap,H=e.aq},function(e){q=e.I},function(e){Y=e.G,U=e.a},function(e){G=e.T},function(e){V=e.C}],execute:function(){var X=document.createElement("style");X.textContent="._unitSubjectTitle_1x5pg_1{font-size:.42667rem;font-weight:500;color:#333;line-height:.69333rem}._unitSubjectTitle_1x5pg_1 ._unitScore_1x5pg_7{color:#777}._unitSubjectTitle_1x5pg_1 .van-tag{vertical-align:middle;margin-top:-.08rem}._unitDetail_1x5pg_14{padding-top:.53333rem;padding-bottom:.26667rem;font-size:.37333rem}._unitDetail_1x5pg_14 img,._unitDetail_1x5pg_14 video{width:100%}._unitTitleImg_1x5pg_23{width:100%}._unitTitleRate_1x5pg_26{display:flex;align-items:center;justify-content:flex-end;padding-top:.4rem;padding-bottom:.4rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.69333rem}._unitTitleRate_1x5pg_26 ._icon_1x5pg_37{font-size:.42667rem;margin-right:.16rem}._unitTitleRate_1x5pg_26 ._rate_1x5pg_41{color:#4991eb}._unitAudio_1g6zx_1{position:relative;display:flex}._nativeAudio_1g6zx_5{width:100%;height:1.06667rem}._htmlAudio_1g6zx_9{width:100%;height:1.06667rem;box-sizing:border-box;background:rgba(28,172,241,.11);border:.02667rem solid #1CACF1;border-radius:.53333rem;padding:0 .32rem;z-index:9;display:flex;align-items:center;justify-content:space-between;color:#1cacf1}._htmlAudio_1g6zx_9 ._htmlTimes_1g6zx_23{display:flex;align-items:center;color:#1cacf1;font-size:.42667rem;font-weight:500;line-height:.58667rem}._htmlAudio_1g6zx_9 ._iconAudio_1g6zx_31{margin-right:.16rem;font-size:.48rem}._htmlAudio_1g6zx_9 ._audioStatus_1g6zx_35{font-size:.37333rem}._answerAnalysis_1w1fm_1{margin:.32rem;background:#FFF6D7;border-radius:.26667rem;border:.18667rem solid #FFFAE5;padding:.4rem .34667rem}._answerAnalysis_1w1fm_1 ._analysisResult_1w1fm_8{display:flex;align-items:center;font-size:.42667rem;font-weight:600;color:#333;padding-bottom:.32rem}._answerAnalysis_1w1fm_1 ._analysisResult_1w1fm_8 ._aImg_1w1fm_16{font-size:.48rem;margin-right:.16rem}._answerAnalysis_1w1fm_1 ._success_1w1fm_20{color:#3b8df3}._answerAnalysis_1w1fm_1 ._error_1w1fm_23{color:#f44541}._answerAnalysis_1w1fm_1 ._analysisTitle_1w1fm_26{padding-bottom:.26667rem;color:#743e17}._answerAnalysis_1w1fm_1 ._analysisMessage_1w1fm_30{font-size:.34667rem;color:#333;line-height:.56rem;text-align:justify;padding-bottom:.13333rem}._unitSubject_94r0n_1{padding:.4rem;margin:0 .34667rem;background-color:#fff;overflow:hidden;border-radius:.26667rem}._unitSubject_94r0n_1+._unitSubject_94r0n_1{margin-top:.32rem}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11{margin-top:.4rem;background:#f6f6f6;border-radius:.21333rem;padding:.4rem .32rem;display:flex;align-items:center;justify-content:space-between;font-size:.42667rem;font-weight:500;color:#333}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11 ._option_94r0n_23{margin-right:.26667rem}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11 ._value_94r0n_26{word-break:break-all}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11 ._value_94r0n_26 .van-image{height:1.01333rem}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11 ._value_94r0n_26 .van-image__img{width:auto}._unitAnswers_94r0n_11 ._unitAnswer_94r0n_11 ._valueAudio_94r0n_35{width:4.26667rem}._unitAnswers_94r0n_11 ._active_94r0n_38{background:#ABE8FF;color:#0f77c4}._unitAnswers_94r0n_11 ._answerContent_94r0n_42{display:flex;align-items:center}._unitAnswers_94r0n_11 ._answerChoice_94r0n_46{font-size:.42667rem;font-weight:500;line-height:.69333rem}._anserList_nlm1h_1{min-height:20vh;padding:.53333rem 0}._anserList_nlm1h_1 ._status_nlm1h_5{display:flex;align-items:center;padding:0 .53333rem .8rem}._anserList_nlm1h_1 ._status_nlm1h_5 span{display:flex;align-items:center;font-size:.42667rem;font-weight:500;color:#333}._anserList_nlm1h_1 ._status_nlm1h_5 span+span{margin-left:.8rem}._anserList_nlm1h_1 ._status_nlm1h_5 i{display:inline-block;width:.48rem;height:.48rem;background-color:#eaeaea;border-radius:50%;margin-right:.21333rem}._anserList_nlm1h_1 ._aList_nlm1h_28{margin:0 .26667rem}._anserList_nlm1h_1 ._aList_nlm1h_28 .van-grid-item__content{padding:0 0 .34667rem}._anserList_nlm1h_1 ._aList_nlm1h_28 span{display:inline-flex;align-items:center;justify-content:center;width:1.2rem;height:1.2rem;background:#eaeaea;font-size:.48rem;font-weight:500;color:#777;border-radius:50%}._anserList_nlm1h_1 ._aList_nlm1h_28 ._answered_nlm1h_46{background:#1CACF1;color:#fff}._anserList_nlm1h_1 ._aList_nlm1h_28 ._yes_nlm1h_50{background-color:#71b0ff;color:#fff}._anserList_nlm1h_1 ._aList_nlm1h_28 ._no_nlm1h_54{background-color:#ff8486;color:#fff}._unitSubject_1igih_1{padding:.4rem;margin:0 .34667rem;background-color:#fff;border-radius:.26667rem}._unitSubject_1igih_1+._unitSubject_1igih_1{margin-top:.32rem}._unitAnswers_1igih_10 ._unitAnswer_1igih_10{margin-top:.4rem;background:#f6f6f6;border-radius:.21333rem;padding:.4rem .32rem;display:flex;align-items:center;justify-content:space-between;font-size:.42667rem;font-weight:500;color:#333}._unitAnswers_1igih_10 ._unitAnswer_1igih_10 ._option_1igih_22{margin-right:.26667rem}._unitAnswers_1igih_10 ._unitAnswer_1igih_10 ._value_1igih_25{word-break:break-all}._unitAnswers_1igih_10 ._unitAnswer_1igih_10 ._value_1igih_25 .van-image{height:1.01333rem}._unitAnswers_1igih_10 ._unitAnswer_1igih_10 ._value_1igih_25 .van-image__img{width:auto}._unitAnswers_1igih_10 ._unitAnswer_1igih_10 ._valueAudio_1igih_34{width:4.53333rem}._unitAnswers_1igih_10 ._active_1igih_37{background:#ABE8FF;color:#0f77c4}._unitAnswers_1igih_10 ._answerContent_1igih_41{display:flex;align-items:center}._unitAnswers_1igih_10 ._answerChoice_1igih_45{font-size:.42667rem;font-weight:500;line-height:.69333rem}._unitAnswers_1igih_10 .sortable-ghost{opacity:.5;background:#c8ebfb}._unitAnswers_1igih_10 ._sortReset_1igih_54{display:flex;align-items:center;justify-content:space-between;margin-top:.66667rem;padding-top:.8rem;padding-bottom:.8rem}._unitAnswers_1igih_10 ._sortReset_1igih_54 ._tips_1igih_62{font-size:.42667rem;font-weight:500;color:#333;line-height:.69333rem}._unitAnswers_1igih_10 ._sortReset_1igih_54 .van-button{min-width:2.24rem;height:.82667rem;line-height:.82667rem;font-size:.4rem;font-weight:500}._unitAnswers_1igih_10 ._itemsContainer_1igih_75{display:inline-block;margin-right:.26667rem;margin-bottom:.21333rem}._unitAnswers_1igih_10 ._items_1igih_75,._unitAnswers_1igih_10 ._imgs_1igih_81{min-width:1.49333rem;height:.96rem;font-size:.42667rem;font-weight:500;border-radius:.10667rem;background:#E3F6FF;color:#1cacf1;justify-content:center}._unitAnswers_1igih_10 ._imgs_1igih_81{height:1.49333rem;width:auto}._unitAnswers_1igih_10 ._imgs_1igih_81 .van-image__img{width:auto}._unitSubject_1w9f3_1{padding:.4rem;margin:0 .34667rem;background-color:#fff;border-radius:.26667rem}._unitSubject_1w9f3_1+._unitSubject_1w9f3_1{margin-top:.32rem}._unitAnswers_1w9f3_10{position:relative;padding-top:.53333rem;padding-bottom:.53333rem}._unitAnswers_1w9f3_10 ._answerItem_1w9f3_15{position:relative;z-index:2;margin-bottom:.4rem;display:flex;align-items:center;justify-content:space-between}._unitAnswers_1w9f3_10 ._answerItem_1w9f3_15:last-child{margin-bottom:0}._unitAnswers_1w9f3_10 ._img_1w9f3_26{width:2.53333rem}._unitAnswers_1w9f3_10 ._unitItem_1w9f3_29{display:flex;align-items:center;justify-content:center;background:#ffffff;border-radius:.16rem;border:.05333rem solid #d5d5d5;overflow:hidden;height:1.44rem;width:2.53333rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;text-align:center}._unitAnswers_1w9f3_10 ._active_1w9f3_45{border:.05333rem solid #1CACF1;color:#1cacf1}._canvasSection_1w9f3_49{position:absolute;top:0;left:0}._resetBtnGroup_1w9f3_54{text-align:right;padding-bottom:.42667rem}._resetBtnGroup_1w9f3_54 .van-button{min-width:2.24rem;line-height:.82667rem;height:.82667rem;font-size:.4rem;font-weight:500}._unitSubject_1j7w8_1{padding:.4rem;margin:0 .34667rem;background-color:#fff;border-radius:.26667rem}._unitSubject_1j7w8_1+._unitSubject_1j7w8_1{margin-top:.32rem}._unitAnswers_1j7w8_10{padding-top:.53333rem;padding-bottom:.53333rem}._playSection_1j7w8_14{padding:.4rem .32rem;background:#ffebdd;border-radius:.26667rem}._playSection_1j7w8_14 ._img_1j7w8_19{width:1.2rem;height:1.2rem;margin-right:.32rem}._playSection_1j7w8_14 ._playTitle_1j7w8_24{font-size:.42667rem;font-weight:500;color:#333}._playSection_1j7w8_14 ._playBtn_1j7w8_29{flex-shrink:0;font-size:.4rem;font-weight:500;color:#fff;height:.82667rem;line-height:.82667rem}._unitScoreNum_1j7w8_37{margin-top:.66667rem;padding-top:.53333rem;text-align:center}._unitScoreNum_1j7w8_37 ._score_1j7w8_42{font-size:.85333rem;font-weight:700;color:#0f77c4}._unitScoreNum_1j7w8_37 ._scoreTitle_1j7w8_47{font-size:.42667rem;font-weight:500;color:#333;padding:.10667rem 0 .26667rem}._unitScoreNum_1j7w8_37 ._scoreTips_1j7w8_53{font-size:.32rem;color:#aaa}._popupResult_1smys_1{padding:.53333rem .53333rem .66667rem;color:#333;font-size:.4rem}._popupResult_1smys_1 ._resultTitle_1smys_6{display:flex;align-items:center;justify-content:center;text-align:center;font-size:.48rem;font-weight:600;color:#333}._popupResult_1smys_1 ._resultTitle_1smys_6 ._titleImg_1smys_15{width:.48rem;height:.48rem;margin-right:.16rem}._popupResult_1smys_1 ._result_1smys_6{margin-top:.53333rem;padding:.32rem;background:#f6f6f6;border-radius:.10667rem;font-size:.42667rem;font-weight:500;color:#333}._popupResult_1smys_1 ._result_1smys_6 ._yes_1smys_29{color:#4593f4;margin-right:.53333rem}._popupResult_1smys_1 ._result_1smys_6 ._no_1smys_33{color:#f44541}._popupResult_1smys_1 ._resultContent_1smys_36{padding:.53333rem 0 .8rem;font-size:.4rem;color:#333;line-height:.61333rem}._popupResult_1smys_1 ._resultContent_1smys_36 span{font-weight:600}._finishResult_v13hc_1{color:#333;font-size:.4rem}._finishResult_v13hc_1 ._finishContainer_v13hc_5{position:relative;background:url("+new URL("exam-default-bg-3f0c8a58.png",o.meta.url).href+') no-repeat top center;background-size:contain;height:6.4rem;margin:0 1.12rem}._finishTitle_v13hc_12{padding-top:1.97333rem;padding-left:.69333rem;font-size:.48rem;font-family:AlimamaShuHeiTi-Bold,AlimamaShuHeiTi;font-weight:700;color:#0f75bb;line-height:.64rem}._finishTitle_v13hc_12 span{position:relative;z-index:1}._finishTitle_v13hc_12 span:after{content:" ";display:inline-block;position:absolute;left:0;bottom:0;width:100%;height:.24rem;background:linear-gradient(270deg,rgba(119,255,239,.59) 0%,#42CDFF 100%);opacity:.5;z-index:-1}._scoreResult_v13hc_37{display:flex;align-items:center;min-height:2.02667rem;padding:.4rem .85333rem 0;font-size:.37333rem;color:#333;line-height:.53333rem}._finishFail_v13hc_46 ._finishContainer_v13hc_5{background:url('+new URL("exam-fail-bg-a8a4480a.png",o.meta.url).href+") no-repeat top center;background-size:contain}._finishPass_v13hc_50 ._finishContainer_v13hc_5{background:url("+new URL("exam-pass-bg-4dd48f6b.png",o.meta.url).href+") no-repeat top center;background-size:contain}._finishGood_v13hc_54 ._finishContainer_v13hc_5{background:url("+new URL("exam-good-bg-4be21c05.png",o.meta.url).href+") no-repeat top center;background-size:contain}._finishCountdown_v13hc_58 ._finishContainer_v13hc_5{background:url("+new URL("exam-countdown-bg-998ad2a7.png",o.meta.url).href+") no-repeat top center;background-size:contain}._finishBtnGroup_v13hc_62{display:flex;align-items:center;justify-content:center;position:absolute;bottom:0;left:0;padding:0 .64rem .56rem;width:100%}._finishBtnGroup_v13hc_62 ._finishLeft_v13hc_72,._finishBtnGroup_v13hc_62 ._finishRight_v13hc_73{text-align:center;height:1.04rem;line-height:1.01333rem;min-width:2.96rem;width:2.96rem;font-size:.34667rem;font-family:STYuanti-SC-Bold,STYuanti-SC;font-weight:700}._finishBtnGroup_v13hc_62 ._finishLeft_v13hc_72{color:#587c98;text-shadow:0 .02667rem .02667rem rgba(255,255,255,.5);background:url(data:image/png;base64,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) no-repeat center center;background-size:contain;margin-right:.42667rem}._finishBtnGroup_v13hc_62 ._finishRight_v13hc_73{color:#fff;text-shadow:0 .02667rem .02667rem #218CD7;background:url("+new URL("exam-right-btn-b0cce6c0.png",o.meta.url).href+") no-repeat center center;background-size:contain}\n",document.head.appendChild(X);var W=n(i("action-sheet"),2),Q=W[0],Z=W[1],K=a({},s,{title:String,round:u,actions:l(),closeIcon:c("cross"),closeable:u,cancelText:String,description:String,closeOnPopstate:u,closeOnClickAction:Boolean,safeAreaInsetBottom:u}),J=[].concat(t(d),["round","closeOnPopstate","safeAreaInsetBottom"]),$=f({name:Q,props:K,emits:["select","cancel","update:show"],setup:function(e,t){var n=t.slots,r=t.emit,o=function(e){return r("update:show",e)},i=function(){o(!1),r("cancel")},a=function(){if(e.title)return p("div",{class:Z("header")},[e.title,e.closeable&&p(v,{name:e.closeIcon,class:[Z("close"),g],onClick:i},null)])},s=function(){if(n.cancel||e.cancelText)return[p("div",{class:Z("gap")},null),p("button",{type:"button",class:Z("cancel"),onClick:i},[n.cancel?n.cancel():e.cancelText])]},u=function(e,t){return e.loading?p(y,{class:Z("loading-icon")},null):n.action?n.action({action:e,index:t}):[p("span",{class:Z("name")},[e.name]),e.subname&&p("div",{class:Z("subname")},[e.subname])]},l=function(t,n){var i=t.color,a=t.loading,s=t.callback,l=t.disabled,c=t.className;return p("button",{type:"button",style:{color:i},class:[Z("item",{loading:a,disabled:l}),c],onClick:function(){l||a||(s&&s(t),e.closeOnClickAction&&o(!1),b((function(){return r("select",t,n)})))}},[u(t,n)])},c=function(){if(e.description||n.description){var t=n.description?n.description():e.description;return p("div",{class:Z("description")},[t])}};return function(){return p(m,h({class:Z(),position:"bottom","onUpdate:show":o},_(e,J)),{default:function(){var t;return[a(),c(),p("div",{class:Z("content")},[e.actions.map(l),null==(t=n.default)?void 0:t.call(n)]),s()]}})}}}),ee=(r("A",w($)),r("i","data:image/png;base64,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"),{exports:{}});!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,o,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var u,l,c=this._events[s],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(l=1,u=new Array(d-1);l<d;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var f,p=c.length;for(l=0;l<p;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),d){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,r);break;case 4:c[l].fn.call(c[l].context,t,r,o);break;default:if(!u)for(f=1,u=new Array(d-1);f<d;f++)u[f-1]=arguments[f];c[l].fn.apply(c[l].context,u)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||r&&s.context!==r||a(this,i);else{for(var u=0,l=[],c=s.length;u<c;u++)(s[u].fn!==t||o&&!s[u].once||r&&s[u].context!==r)&&l.push(s[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(ee);var te=r("e",new(A(ee.exports))),ne={1:"A",2:"B",3:"C",4:"D",5:"E",6:"F",7:"G",8:"H",9:"I",10:"J"},re=r("Q",{RADIO:"RADIO",CHECKBOX:"CHECKBOX",LINK:"LINK",SORT:"SORT",PLAY:"PLAY"}),oe="单选题",ie="多选题",ae="连线题",se="排序题",ue="演奏题",le="IMAGE",ce="TXT",de="AUDIO",fe={unitSubjectTitle:"_unitSubjectTitle_1x5pg_1",unitScore:"_unitScore_1x5pg_7",unitDetail:"_unitDetail_1x5pg_14",unitTitleImg:"_unitTitleImg_1x5pg_23",unitTitleRate:"_unitTitleRate_1x5pg_26",icon:"_icon_1x5pg_37",rate:"_rate_1x5pg_41"},pe="_unitAudio_1g6zx_1",he="_htmlAudio_1g6zx_9",_e="_htmlTimes_1g6zx_23",me="_iconAudio_1g6zx_31",ve="_audioStatus_1g6zx_35",ge={};
- /*!
- * howler.js v2.2.3
- * howlerjs.com
- *
- * (c) 2013-2020, James Simpson of GoldFire Studios
- * goldfirestudios.com
- *
- * MIT License
- */
- !function(t){!function(){var e=function(){this.init()};e.prototype={init:function(){var e=this||n;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var t=this||n;if(e=parseFloat(e),t.ctx||c(),void 0!==e&&e>=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,n.ctx.currentTime);for(var r=0;r<t._howls.length;r++)if(!t._howls[r]._webAudio)for(var o=t._howls[r]._getSoundIds(),i=0;i<o.length;i++){var a=t._howls[r]._soundById(o[i]);a&&a._node&&(a._node.volume=a._volume*e)}return t}return t._volume},mute:function(e){var t=this||n;t.ctx||c(),t._muted=e,t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e?0:t._volume,n.ctx.currentTime);for(var r=0;r<t._howls.length;r++)if(!t._howls[r]._webAudio)for(var o=t._howls[r]._getSoundIds(),i=0;i<o.length;i++){var a=t._howls[r]._soundById(o[i]);a&&a._node&&(a._node.muted=!!e||a._muted)}return t},stop:function(){for(var e=this||n,t=0;t<e._howls.length;t++)e._howls[t].stop();return e},unload:function(){for(var e=this||n,t=e._howls.length-1;t>=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 r=t.canPlayType("audio/mpeg;").replace(/^no$/,""),o=e._navigator?e._navigator.userAgent:"",i=o.match(/OPR\/([0-6].)/g),a=i&&parseInt(i[0].split("/")[1],10)<33,s=-1!==o.indexOf("Safari")&&-1===o.indexOf("Chrome"),u=o.match(/Version\/(.*?) /),l=s&&u&&parseInt(u[1],10)<15;return e._codecs={mp3:!(a||!r&&!t.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!r,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:!(l||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(l||!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.length<e.html5PoolSize;)try{var r=new Audio;r._unlocked=!0,e._releaseHtml5Audio(r)}catch(n){e.noAudio=!0;break}for(var o=0;o<e._howls.length;o++)if(!e._howls[o]._webAudio)for(var i=e._howls[o]._getSoundIds(),a=0;a<i.length;a++){var s=e._howls[o]._soundById(i[a]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}e._autoResume();var u=e.ctx.createBufferSource();u.buffer=e._scratchBuffer,u.connect(e.ctx.destination),void 0===u.start?u.noteOn(0):u.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),u.onended=function(){u.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var n=0;n<e._howls.length;n++)e._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",t,!0),document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),e}},_obtainHtml5Audio:function(){var e=this||n;if(e._html5AudioPool.length)return e._html5AudioPool.pop();var t=(new Audio).play();return t&&"undefined"!=typeof Promise&&(t instanceof Promise||"function"==typeof t.then)&&t.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(e){var t=this||n;return e._unlocked&&t._html5AudioPool.push(e),t},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&void 0!==e.ctx.suspend&&n.usingWebAudio){for(var t=0;t<e._howls.length;t++)if(e._howls[t]._webAudio)for(var r=0;r<e._howls[t]._sounds.length;r++)if(!e._howls[t]._sounds[r]._paused)return e;return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout((function(){if(e.autoSuspend){e._suspendTimer=null,e.state="suspending";var t=function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())};e.ctx.suspend().then(t,t)}}),3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&void 0!==e.ctx.resume&&n.usingWebAudio)return"running"===e.state&&"interrupted"!==e.ctx.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state||"running"===e.state&&"interrupted"===e.ctx.state?(e.ctx.resume().then((function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")})),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}};var n=new e,r=function(e){e.src&&0!==e.src.length?this.init(e):console.error("An array of source files must be passed with any new Howl.")};r.prototype={init:function(e){var t=this;return n.ctx||c(),t._autoplay=e.autoplay||!1,t._format="string"!=typeof e.format?e.format:[e.format],t._html5=e.html5||!1,t._muted=e.mute||!1,t._loop=e.loop||!1,t._pool=e.pool||5,t._preload="boolean"!=typeof e.preload&&"metadata"!==e.preload||e.preload,t._rate=e.rate||1,t._sprite=e.sprite||{},t._src="string"!=typeof e.src?e.src:[e.src],t._volume=void 0!==e.volume?e.volume:1,t._xhr={method:e.xhr&&e.xhr.method?e.xhr.method:"GET",headers:e.xhr&&e.xhr.headers?e.xhr.headers:null,withCredentials:!(!e.xhr||!e.xhr.withCredentials)&&e.xhr.withCredentials},t._duration=0,t._state="unloaded",t._sounds=[],t._endTimers={},t._queue=[],t._playLock=!1,t._onend=e.onend?[{fn:e.onend}]:[],t._onfade=e.onfade?[{fn:e.onfade}]:[],t._onload=e.onload?[{fn:e.onload}]:[],t._onloaderror=e.onloaderror?[{fn:e.onloaderror}]:[],t._onplayerror=e.onplayerror?[{fn:e.onplayerror}]:[],t._onpause=e.onpause?[{fn:e.onpause}]:[],t._onplay=e.onplay?[{fn:e.onplay}]:[],t._onstop=e.onstop?[{fn:e.onstop}]:[],t._onmute=e.onmute?[{fn:e.onmute}]:[],t._onvolume=e.onvolume?[{fn:e.onvolume}]:[],t._onrate=e.onrate?[{fn:e.onrate}]:[],t._onseek=e.onseek?[{fn:e.onseek}]:[],t._onunlock=e.onunlock?[{fn:e.onunlock}]:[],t._onresume=[],t._webAudio=n.usingWebAudio&&!t._html5,void 0!==n.ctx&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(t),t._autoplay&&t._queue.push({event:"play",action:function(){t.play()}}),t._preload&&"none"!==t._preload&&t.load(),t},load:function(){var e=this,t=null;if(n.noAudio)e._emit("loaderror",null,"No audio support.");else{"string"==typeof e._src&&(e._src=[e._src]);for(var r=0;r<e._src.length;r++){var i,s;if(e._format&&e._format[r])i=e._format[r];else{if("string"!=typeof(s=e._src[r])){e._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(i=/^data:audio\/([^;,]+);/i.exec(s))||(i=/\.([^.]+)$/.exec(s.split("?",1)[0])),i&&(i=i[1].toLowerCase())}if(i||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),i&&n.codecs(i)){t=e._src[r];break}}if(t)return e._src=t,e._state="loading","https:"===window.location.protocol&&"http:"===t.slice(0,5)&&(e._html5=!0,e._webAudio=!1),new o(e),e._webAudio&&a(e),e;e._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(e,t){var r=this,o=null;if("number"==typeof e)o=e,e=null;else{if("string"==typeof e&&"loaded"===r._state&&!r._sprite[e])return null;if(void 0===e&&(e="__default",!r._playLock)){for(var i=0,a=0;a<r._sounds.length;a++)r._sounds[a]._paused&&!r._sounds[a]._ended&&(i++,o=r._sounds[a]._id);1===i?e=null:o=null}}var s=o?r._soundById(o):r._inactiveSound();if(!s)return null;if(o&&!e&&(e=s._sprite||"__default"),"loaded"!==r._state){s._sprite=e,s._ended=!1;var u=s._id;return r._queue.push({event:"play",action:function(){r.play(u)}}),u}if(o&&!s._paused)return t||r._loadQueue("play"),s._id;r._webAudio&&n._autoResume();var l=Math.max(0,s._seek>0?s._seek:r._sprite[e][0]/1e3),c=Math.max(0,(r._sprite[e][0]+r._sprite[e][1])/1e3-l),d=1e3*c/Math.abs(s._rate),f=r._sprite[e][0]/1e3,p=(r._sprite[e][0]+r._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var h=function(){s._paused=!1,s._seek=l,s._start=f,s._stop=p,s._loop=!(!s._loop&&!r._sprite[e][2])};if(!(l>=p)){var _=s._node;if(r._webAudio){var m=function(){r._playLock=!1,h(),r._refreshBuffer(s);var e=s._muted||r._muted?0:s._volume;_.gain.setValueAtTime(e,n.ctx.currentTime),s._playStart=n.ctx.currentTime,void 0===_.bufferSource.start?s._loop?_.bufferSource.noteGrainOn(0,l,86400):_.bufferSource.noteGrainOn(0,l,c):s._loop?_.bufferSource.start(0,l,86400):_.bufferSource.start(0,l,c),d!==1/0&&(r._endTimers[s._id]=setTimeout(r._ended.bind(r,s),d)),t||setTimeout((function(){r._emit("play",s._id),r._loadQueue()}),0)};"running"===n.state&&"interrupted"!==n.ctx.state?m():(r._playLock=!0,r.once("resume",m),r._clearTimer(s._id))}else{var v=function(){_.currentTime=l,_.muted=s._muted||r._muted||n._muted||_.muted,_.volume=s._volume*n.volume(),_.playbackRate=s._rate;try{var o=_.play();if(o&&"undefined"!=typeof Promise&&(o instanceof Promise||"function"==typeof o.then)?(r._playLock=!0,h(),o.then((function(){r._playLock=!1,_._unlocked=!0,t?r._loadQueue():r._emit("play",s._id)})).catch((function(){r._playLock=!1,r._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||(r._playLock=!1,h(),r._emit("play",s._id)),_.playbackRate=s._rate,_.paused)return void r._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?r._endTimers[s._id]=setTimeout(r._ended.bind(r,s),d):(r._endTimers[s._id]=function(){r._ended(s),_.removeEventListener("ended",r._endTimers[s._id],!1)},_.addEventListener("ended",r._endTimers[s._id],!1))}catch(i){r._emit("playerror",s._id,i)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===_.src&&(_.src=r._src,_.load());var g=window&&window.ejecta||!_.readyState&&n._navigator.isCocoonJS;if(_.readyState>=3||g)v();else{r._playLock=!0,r._state="loading";_.addEventListener(n._canPlayEvent,(function e(){r._state="loaded",v(),_.removeEventListener(n._canPlayEvent,e,!1)}),!1),r._clearTimer(s._id)}}return s._id}r._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),r=0;r<n.length;r++){t._clearTimer(n[r]);var o=t._soundById(n[r]);if(o&&!o._paused&&(o._seek=t.seek(n[r]),o._rateSeek=0,o._paused=!0,t._stopFade(n[r]),o._node))if(t._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),t._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||t._emit("pause",o?o._id:null)}return t},stop:function(e,t){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(e)}}),n;for(var r=n._getSoundIds(e),o=0;o<r.length;o++){n._clearTimer(r[o]);var i=n._soundById(r[o]);i&&(i._seek=i._start||0,i._rateSeek=0,i._paused=!0,i._ended=!0,n._stopFade(r[o]),i._node&&(n._webAudio?i._node.bufferSource&&(void 0===i._node.bufferSource.stop?i._node.bufferSource.noteOff(0):i._node.bufferSource.stop(0),n._cleanBuffer(i._node)):isNaN(i._node.duration)&&i._node.duration!==1/0||(i._node.currentTime=i._start||0,i._node.pause(),i._node.duration===1/0&&n._clearSound(i._node))),t||n._emit("stop",i._id))}return n},mute:function(e,t){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"mute",action:function(){r.mute(e,t)}}),r;if(void 0===t){if("boolean"!=typeof e)return r._muted;r._muted=e}for(var o=r._getSoundIds(t),i=0;i<o.length;i++){var a=r._soundById(o[i]);a&&(a._muted=e,a._interval&&r._stopFade(a._id),r._webAudio&&a._node?a._node.gain.setValueAtTime(e?0:a._volume,n.ctx.currentTime):a._node&&(a._node.muted=!!n._muted||e),r._emit("mute",a._id))}return r},volume:function(){var e,t,r,o=this,i=arguments;if(0===i.length)return o._volume;if(1===i.length||2===i.length&&void 0===i[1]?o._getSoundIds().indexOf(i[0])>=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(r=t?o._soundById(t):o._sounds[0])?r._volume:0;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"volume",action:function(){o.volume.apply(o,i)}}),o;void 0===t&&(o._volume=e),t=o._getSoundIds(t);for(var a=0;a<t.length;a++)(r=o._soundById(t[a]))&&(r._volume=e,i[2]||o._stopFade(t[a]),o._webAudio&&r._node&&!r._muted?r._node.gain.setValueAtTime(e,n.ctx.currentTime):r._node&&!r._muted&&(r._node.volume=e*n.volume()),o._emit("volume",r._id));return o},fade:function(e,t,r,o){var i=this;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"fade",action:function(){i.fade(e,t,r,o)}}),i;e=Math.min(Math.max(0,parseFloat(e)),1),t=Math.min(Math.max(0,parseFloat(t)),1),r=parseFloat(r),i.volume(e,o);for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var u=i._soundById(a[s]);if(u){if(o||i._stopFade(a[s]),i._webAudio&&!u._muted){var l=n.ctx.currentTime,c=l+r/1e3;u._volume=e,u._node.gain.setValueAtTime(e,l),u._node.gain.linearRampToValueAtTime(t,c)}i._startFadeInterval(u,e,t,r,a[s],void 0===o)}}return i},_startFadeInterval:function(e,t,n,r,o,i){var a=this,s=t,u=n-t,l=Math.abs(u/.01),c=Math.max(4,l>0?r/l:r),d=Date.now();e._fadeTo=n,e._interval=setInterval((function(){var o=(Date.now()-d)/r;d=Date.now(),s+=u*o,s=Math.round(100*s)/100,s=u<0?Math.max(n,s):Math.min(n,s),a._webAudio?e._volume=s:a.volume(s,e._id,!0),i&&(a._volume=s),(n<t&&s<=n||n>t&&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,r=t._soundById(e);return r&&r._interval&&(t._webAudio&&r._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(r._interval),r._interval=null,t.volume(r._fadeTo,e),r._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e,t,n,r=this,o=arguments;if(0===o.length)return r._loop;if(1===o.length){if("boolean"!=typeof o[0])return!!(n=r._soundById(parseInt(o[0],10)))&&n._loop;e=o[0],r._loop=e}else 2===o.length&&(e=o[0],t=parseInt(o[1],10));for(var i=r._getSoundIds(t),a=0;a<i.length;a++)(n=r._soundById(i[a]))&&(n._loop=e,r._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=e,e&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop,r.playing(i[a])&&(r.pause(i[a],!0),r.play(i[a],!0)))));return r},rate:function(){var e,t,r,o=this,i=arguments;if(0===i.length)t=o._sounds[0]._id;else if(1===i.length){o._getSoundIds().indexOf(i[0])>=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(r=o._soundById(t))?r._rate:o._rate;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"rate",action:function(){o.rate.apply(o,i)}}),o;void 0===t&&(o._rate=e),t=o._getSoundIds(t);for(var a=0;a<t.length;a++)if(r=o._soundById(t[a])){o.playing(t[a])&&(r._rateSeek=o.seek(t[a]),r._playStart=o._webAudio?n.ctx.currentTime:r._playStart),r._rate=e,o._webAudio&&r._node&&r._node.bufferSource?r._node.bufferSource.playbackRate.setValueAtTime(e,n.ctx.currentTime):r._node&&(r._node.playbackRate=e);var s=o.seek(t[a]),u=1e3*((o._sprite[r._sprite][0]+o._sprite[r._sprite][1])/1e3-s)/Math.abs(r._rate);!o._endTimers[t[a]]&&r._paused||(o._clearTimer(t[a]),o._endTimers[t[a]]=setTimeout(o._ended.bind(o,r),u)),o._emit("rate",r._id)}return o},seek:function(){var e,t,r=this,o=arguments;if(0===o.length)r._sounds.length&&(t=r._sounds[0]._id);else if(1===o.length){r._getSoundIds().indexOf(o[0])>=0?t=parseInt(o[0],10):r._sounds.length&&(t=r._sounds[0]._id,e=parseFloat(o[0]))}else 2===o.length&&(e=parseFloat(o[0]),t=parseInt(o[1],10));if(void 0===t)return 0;if("number"==typeof e&&("loaded"!==r._state||r._playLock))return r._queue.push({event:"seek",action:function(){r.seek.apply(r,o)}}),r;var i=r._soundById(t);if(i){if(!("number"==typeof e&&e>=0)){if(r._webAudio){var a=r.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 u=r.playing(t);u&&r.pause(t,!0),i._seek=e,i._ended=!1,r._clearTimer(t),r._webAudio||!i._node||isNaN(i._node.duration)||(i._node.currentTime=e);var l=function(){u&&r.play(t,!0),r._emit("seek",t)};if(u&&!r._webAudio){setTimeout((function e(){r._playLock?setTimeout(e,0):l()}),0)}else l()}return r},playing:function(e){var t=this;if("number"==typeof e){var n=t._soundById(e);return!!n&&!n._paused}for(var r=0;r<t._sounds.length;r++)if(!t._sounds[r]._paused)return!0;return!1},duration:function(e){var t=this,n=t._duration,r=t._soundById(e);return r&&(n=t._sprite[r._sprite][1]/1e3),n},state:function(){return this._state},unload:function(){for(var e=this,t=e._sounds,r=0;r<t.length;r++)t[r]._paused||e.stop(t[r]._id),e._webAudio||(e._clearSound(t[r]._node),t[r]._node.removeEventListener("error",t[r]._errorFn,!1),t[r]._node.removeEventListener(n._canPlayEvent,t[r]._loadFn,!1),t[r]._node.removeEventListener("ended",t[r]._endFn,!1),n._releaseHtml5Audio(t[r]._node)),delete t[r]._node,e._clearTimer(t[r]._id);var o=n._howls.indexOf(e);o>=0&&n._howls.splice(o,1);var a=!0;for(r=0;r<n._howls.length;r++)if(n._howls[r]._src===e._src||e._src.indexOf(n._howls[r]._src)>=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,r){var o=this["_on"+e];return"function"==typeof t&&o.push(r?{id:n,fn:t,once:r}:{id:n,fn:t}),this},off:function(e,t,n){var r=this,o=r["_on"+e],i=0;if("number"==typeof t&&(n=t,t=null),t||n)for(i=0;i<o.length;i++){var a=n===o[i].id;if(t===o[i].fn&&a||!t&&a){o.splice(i,1);break}}else if(e)r["_on"+e]=[];else{var s=Object.keys(r);for(i=0;i<s.length;i++)0===s[i].indexOf("_on")&&Array.isArray(r[s[i]])&&(r[s[i]]=[])}return r},once:function(e,t,n){return this.on(e,t,n,1),this},_emit:function(e,t,n){for(var r=this,o=r["_on"+e],i=o.length-1;i>=0;i--)o[i].id&&o[i].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,n)}.bind(r,o[i].fn),0),o[i].once&&r.off(e,o[i].fn,o[i].id));return r._loadQueue(e),r},_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,r=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime<e._stop)return setTimeout(t._ended.bind(t,e),100),t;var o=!(!e._loop&&!t._sprite[r][2]);if(t._emit("end",e._id),!t._webAudio&&o&&t.stop(e._id,!0).play(e._id),t._webAudio&&o){t._emit("play",e._id),e._seek=e._start||0,e._rateSeek=0,e._playStart=n.ctx.currentTime;var i=1e3*(e._stop-e._start)/Math.abs(e._rate);t._endTimers[e._id]=setTimeout(t._ended.bind(t,e),i)}return t._webAudio&&!o&&(e._paused=!0,e._ended=!0,e._seek=e._start||0,e._rateSeek=0,t._clearTimer(e._id),t._cleanBuffer(e._node),n._autoSuspend()),t._webAudio||o||t.stop(e._id,!0),t},_clearTimer:function(e){var t=this;if(t._endTimers[e]){if("function"!=typeof t._endTimers[e])clearTimeout(t._endTimers[e]);else{var n=t._soundById(e);n&&n._node&&n._node.removeEventListener("ended",t._endTimers[e],!1)}delete t._endTimers[e]}return t},_soundById:function(e){for(var t=this,n=0;n<t._sounds.length;n++)if(e===t._sounds[n]._id)return t._sounds[n];return null},_inactiveSound:function(){var e=this;e._drain();for(var t=0;t<e._sounds.length;t++)if(e._sounds[t]._ended)return e._sounds[t].reset();return new o(e)},_drain:function(){var e=this,t=e._pool,n=0,r=0;if(!(e._sounds.length<t)){for(r=0;r<e._sounds.length;r++)e._sounds[r]._ended&&n++;for(r=e._sounds.length-1;r>=0;r--){if(n<=t)return;e._sounds[r]._ended&&(e._webAudio&&e._sounds[r]._node&&e._sounds[r]._node.disconnect(0),e._sounds.splice(r,1),n--)}}},_getSoundIds:function(e){if(void 0===e){for(var t=[],n=0;n<this._sounds.length;n++)t.push(this._sounds[n]._id);return t}return[e]},_refreshBuffer:function(e){return e._node.bufferSource=n.ctx.createBufferSource(),e._node.bufferSource.buffer=i[this._src],e._panner?e._node.bufferSource.connect(e._panner):e._node.bufferSource.connect(e._node),e._node.bufferSource.loop=e._loop,e._loop&&(e._node.bufferSource.loopStart=e._start||0,e._node.bufferSource.loopEnd=e._stop||0),e._node.bufferSource.playbackRate.setValueAtTime(e._rate,n.ctx.currentTime),this},_cleanBuffer:function(e){var t=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(n._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=n._scratchBuffer}catch(r){}return e.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var o=function(e){this._parent=e,this.init()};o.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,r=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(r,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=r*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 l(e);if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);u(r.buffer,e)}else{var a=new XMLHttpRequest;a.open(e._xhr.method,t,!0),a.withCredentials=e._xhr.withCredentials,a.responseType="arraybuffer",e._xhr.headers&&Object.keys(e._xhr.headers).forEach((function(t){a.setRequestHeader(t,e._xhr.headers[t])})),a.onload=function(){var t=(a.status+"")[0];"0"===t||"2"===t||"3"===t?u(a.response,e):e._emit("loaderror",null,"Failed loading audio file with status: "+a.status+".")},a.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete i[t],e.load())},s(a)}},s=function(e){try{e.send()}catch(t){e.onerror()}},u=function(e,t){var r=function(){t._emit("loaderror",null,"Decoding audio data failed.")},o=function(e){e&&t._sounds.length>0?(i[t._src]=e,l(t,e)):r()};"undefined"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(e).then(o).catch(r):n.ctx.decodeAudioData(e,o,r)},l=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+)?/),r=t?parseInt(t[1],10):null;if(e&&r&&r<9){var o=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!o&&(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=r,void 0!==x?(x.HowlerGlobal=e,x.Howler=n,x.Howl=r,x.Sound=o):"undefined"!=typeof window&&(window.HowlerGlobal=e,window.Howler=n,window.Howl=r,window.Sound=o)}(),
- /*!
- * 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 r=this;return r.ctx&&r.ctx.listener?(t="number"!=typeof t?r._pos[1]:t,n="number"!=typeof n?r._pos[2]:n,"number"!=typeof e?r._pos:(r._pos=[e,t,n],void 0!==r.ctx.listener.positionX?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]),r)):r},HowlerGlobal.prototype.orientation=function(e,t,n,r,o,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,r="number"!=typeof r?s[3]:r,o="number"!=typeof o?s[4]:o,i="number"!=typeof i?s[5]:i,"number"!=typeof e?s:(a._orientation=[e,t,n,r,o,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(r,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(i,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(e,t,n,r,o,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 r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(e,t)}}),r;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===t){if("number"!=typeof e)return r._stereo;r._stereo=e,r._pos=[e,0,0]}for(var i=r._getSoundIds(t),a=0;a<i.length;a++){var s=r._soundById(i[a]);if(s){if("number"!=typeof e)return s._stereo;s._stereo=e,s._pos=[e,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||n(s,o),"spatial"===o?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(e,0,0):s._panner.pan.setValueAtTime(e,Howler.ctx.currentTime)),r._emit("stereo",s._id)}}return r},Howl.prototype.pos=function(e,t,r,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"pos",action:function(){i.pos(e,t,r,o)}}),i;if(t="number"!=typeof t?0:t,r="number"!=typeof r?-.5:r,void 0===o){if("number"!=typeof e)return i._pos;i._pos=[e,t,r]}for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var u=i._soundById(a[s]);if(u){if("number"!=typeof e)return u._pos;u._pos=[e,t,r],u._node&&(u._panner&&!u._panner.pan||n(u,"spatial"),void 0!==u._panner.positionX?(u._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(t,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(r,Howler.ctx.currentTime)):u._panner.setPosition(e,t,r)),i._emit("pos",u._id)}}return i},Howl.prototype.orientation=function(e,t,r,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"orientation",action:function(){i.orientation(e,t,r,o)}}),i;if(t="number"!=typeof t?i._orientation[1]:t,r="number"!=typeof r?i._orientation[2]:r,void 0===o){if("number"!=typeof e)return i._orientation;i._orientation=[e,t,r]}for(var a=i._getSoundIds(o),s=0;s<a.length;s++){var u=i._soundById(a[s]);if(u){if("number"!=typeof e)return u._orientation;u._orientation=[e,t,r],u._node&&(u._panner||(u._pos||(u._pos=i._pos||[0,0,-.5]),n(u,"spatial")),void 0!==u._panner.orientationX?(u._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),u._panner.orientationY.setValueAtTime(t,Howler.ctx.currentTime),u._panner.orientationZ.setValueAtTime(r,Howler.ctx.currentTime)):u._panner.setOrientation(e,t,r)),i._emit("orientation",u._id)}}return i},Howl.prototype.pannerAttr=function(){var t,r,o,i=this,a=arguments;if(!i._webAudio)return i;if(0===a.length)return i._pannerAttr;if(1===a.length){if("object"!==e(a[0]))return(o=i._soundById(parseInt(a[0],10)))?o._pannerAttr:i._pannerAttr;t=a[0],void 0===r&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),i._pannerAttr={coneInnerAngle:void 0!==t.pannerAttr.coneInnerAngle?t.pannerAttr.coneInnerAngle:i._coneInnerAngle,coneOuterAngle:void 0!==t.pannerAttr.coneOuterAngle?t.pannerAttr.coneOuterAngle:i._coneOuterAngle,coneOuterGain:void 0!==t.pannerAttr.coneOuterGain?t.pannerAttr.coneOuterGain:i._coneOuterGain,distanceModel:void 0!==t.pannerAttr.distanceModel?t.pannerAttr.distanceModel:i._distanceModel,maxDistance:void 0!==t.pannerAttr.maxDistance?t.pannerAttr.maxDistance:i._maxDistance,refDistance:void 0!==t.pannerAttr.refDistance?t.pannerAttr.refDistance:i._refDistance,rolloffFactor:void 0!==t.pannerAttr.rolloffFactor?t.pannerAttr.rolloffFactor:i._rolloffFactor,panningModel:void 0!==t.pannerAttr.panningModel?t.pannerAttr.panningModel:i._panningModel})}else 2===a.length&&(t=a[0],r=parseInt(a[1],10));for(var s=i._getSoundIds(r),u=0;u<s.length;u++)if(o=i._soundById(s[u])){var l=o._pannerAttr;l={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==t.distanceModel?t.distanceModel:l.distanceModel,maxDistance:void 0!==t.maxDistance?t.maxDistance:l.maxDistance,refDistance:void 0!==t.refDistance?t.refDistance:l.refDistance,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:l.rolloffFactor,panningModel:void 0!==t.panningModel?t.panningModel:l.panningModel};var c=o._panner;c?(c.coneInnerAngle=l.coneInnerAngle,c.coneOuterAngle=l.coneOuterAngle,c.coneOuterGain=l.coneOuterGain,c.distanceModel=l.distanceModel,c.maxDistance=l.maxDistance,c.refDistance=l.refDistance,c.rolloffFactor=l.rolloffFactor,c.panningModel=l.panningModel):(o._pos||(o._pos=i._pos||[0,0,-.5]),n(o,"spatial"))}return i},Sound.prototype.init=function(e){return function(){var t=this,n=t._parent;t._orientation=n._orientation,t._stereo=n._stereo,t._pos=n._pos,t._pannerAttr=n._pannerAttr,e.call(this),t._stereo?n.stereo(t._stereo):t._pos&&n.pos(t._pos[0],t._pos[1],t._pos[2],t._id)}}(Sound.prototype.init),Sound.prototype.reset=function(e){return function(){var t=this,n=t._parent;return t._orientation=n._orientation,t._stereo=n._stereo,t._pos=n._pos,t._pannerAttr=n._pannerAttr,t._stereo?n.stereo(t._stereo):t._pos?n.pos(t._pos[0],t._pos[1],t._pos[2],t._id):t._panner&&(t._panner.disconnect(0),t._panner=void 0,n._refreshBuffer(t)),e.call(this)}}(Sound.prototype.reset);var n=function(e,t){"spatial"===(t=t||"spatial")?(e._panner=Howler.ctx.createPanner(),e._panner.coneInnerAngle=e._pannerAttr.coneInnerAngle,e._panner.coneOuterAngle=e._pannerAttr.coneOuterAngle,e._panner.coneOuterGain=e._pannerAttr.coneOuterGain,e._panner.distanceModel=e._pannerAttr.distanceModel,e._panner.maxDistance=e._pannerAttr.maxDistance,e._panner.refDistance=e._pannerAttr.refDistance,e._panner.rolloffFactor=e._pannerAttr.rolloffFactor,e._panner.panningModel=e._pannerAttr.panningModel,void 0!==e._panner.positionX?(e._panner.positionX.setValueAtTime(e._pos[0],Howler.ctx.currentTime),e._panner.positionY.setValueAtTime(e._pos[1],Howler.ctx.currentTime),e._panner.positionZ.setValueAtTime(e._pos[2],Howler.ctx.currentTime)):e._panner.setPosition(e._pos[0],e._pos[1],e._pos[2]),void 0!==e._panner.orientationX?(e._panner.orientationX.setValueAtTime(e._orientation[0],Howler.ctx.currentTime),e._panner.orientationY.setValueAtTime(e._orientation[1],Howler.ctx.currentTime),e._panner.orientationZ.setValueAtTime(e._orientation[2],Howler.ctx.currentTime)):e._panner.setOrientation(e._orientation[0],e._orientation[1],e._orientation[2])):(e._panner=Howler.ctx.createStereoPanner(),e._panner.pan.setValueAtTime(e._stereo,Howler.ctx.currentTime)),e._panner.connect(e._node),e._paused||e._parent.pause(e._id,!0).play(e._id,!0)}}()}(ge);var ye=f({name:"unit-audio",props:{src:{type:String,default:""}},setup:function(e){var t=S({audioStatus:"stopped",duration:0}),n=new ge.Howl({src:e.src+"?t="+ +new Date,format:["mp3"]});return n.on("load",(function(e){console.log(n.duration()),t.duration=Math.ceil(n.duration())})),n.on("end",(function(e){t.audioStatus="stopped"})),te.on("unitAudioStop",(function(){n.stop(),t.audioStatus="stopped"})),T((function(){n.off("load")})),function(){return p("div",{class:pe},[p("div",{class:he,onClick:function(e){e.stopPropagation(),"stopped"===t.audioStatus?(te.emit("unitAudioStop"),n.play(),t.audioStatus="paused"):"paused"===t.audioStatus&&(n.pause(),t.audioStatus="stopped")}},[p("div",{class:_e},[p(v,{class:me,name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABLNJREFUWEfNmF1oHFUUx///u2laJDsbsLbQnVhFiiKlRUkFpcEHsWq11Wa2kdYHWz8Q1IpS9UHRREWlVlGsCuJH64MVm5mUtlYtfVFpFTSILSIqiB+ZDdbWkp0ETDa798id7MTddDc7iW3JPOzDzr33/O45/3PuuUPMsIdT5ZnfMzivQWQlgKspshiCC6CYDNfRMgjiNyG/B/B5gfz4WHvyr6nYiA10fk+wvKjlUQA3EGiIY0SAAoBPEoov/NFuHYozpy7Qwr0DFxZH1TaI3Di2IPMCHCDloJC9BfCXcwtNA+bN3w1DzQ2QiyjSKsJrCVwHSOPYNO5PzNKbfl/d/OtkYJMCtbhD6zSKbxIwIRkA8Yoe4ev9660TcXa7YGcwV82W+yB4EECzAIMKiXv6Mk0f1JpfE8h2c0+C7IIIQXaPkvdPVQ+RUaO7WSKvQWQtSIFIl59JPV0NqipQCAM8FcqUfCLrWM/F8Ui9MWkveIwizwBQADqrQZ0CZMIk1O9DREhZ3+c0f1jNkO3mFpGJ1Vr0YkIWADzqZ6xH6kG1eAO3inAnSFLUbRPDVwFkBFzI84jRjJCPV/NMuie4klq2AGirNM6sn7HsekDmfclTzxpNNTTK0nKhVwDZXvBRmE1kt+9YHRWLiyjby20BuNnkDICTAuwD+ZlQZfUc+e7PlcnjcYDMGNsLdpU0td93rJuieeNALd0n24SJL0w2jSp1cYWADYybc0GuATkC8PmR4j8vHe+YNxQXYOK4UOha/2SyTym2RXVqHCjt5vYSWAWoTj+TrMgA2x3YCvBhCE5oxVv6HevwdEHK59lerhOCLuPpbCa1OixX5ic8DrTOEtA6z3R5nSlp5jDIvAauqYQRtnhBq4BLxxaTI32O1QtQ4gCHdaoRWYGoglJpE5UQKO0FGyiyXcB92YwVkkaP7eZMGNtA1eU7SVMKwsd2h5YIitsJXF4+XoBvicRGP9N0NA5U2g32ErJKyI1Zx9oRAW2nyAYQD/hOalsZzCIAPxsBj+iRhZFm7D1DS2S0eCis4GQ/RH8azqG6HiILTPYQieVxoGwvtwmCV4XckXWsjSGQ7ea+AdAqildl262vIqAWb2izSPHFaPDY/8K0G/SGnhHuHm5M3n7iZg6aN3P3SHJOfvA9UNYYT2UzVmu98JUk8SWAXj+TWjYG1J07DmLuqFLzy7Mr7QWh5yJ3mrEtXm6ZCL42nhluSF4SwUSbCKEKgz8aT5G4os9Jmc3WfErZdswkjL82dd4YkBcMQ2S2pa3ZP3QwXxayAwBWaJVY0d/edLA09i6IvAXIu36m+c5qlmx34B2Ad4C823estycDunSXNAYqGDHlxHesOXWAgq0A1hXO4WVR0bO94CwA1QhZtZ2dnZDVEHV1V58FUUfinZj2tWJ/xtN+ssJYE+pMFsb/jg5qnUfF0TF5tT1DR4cxOn64El2+kxo/IuKU/+mOqXm4hgVvsvZjuhbrF8Ta7Uep6NVu0E4zVN0GzdiL08KeDq7YLWwYuphN/nTBptTkl51hM+caVAE1Uy6KEdQpV2mol3Ve3pjSVbqR9wL6of99lY6gZtTHhnLhzpjPMROzacZ8sJpumk913r+lkkFS3TnE+gAAAABJRU5ErkJggg=="},null),p("span",null,[t.duration,E('"')])]),p(v,{name:"stopped"===t.audioStatus?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAZ5JREFUSEvN1rtOAlEQBuD5F9gE5WYDhagvYnwEja5uY+UTSKJETbT1knhJLKy0MlhhYWNlIbFRK30CibBEQgNIsRF2x4ABxcR1uZwNW0/Od2bPzDkDcviDwx4NFhi+yEdk2bsKsPvDIx/np70vvf4RywyjyXKKiKe+EOgAHeqGvlNQw5VuYUtwNFmqgcjVtjgjxy7e0GYD5wRwp/A/GZYsFsQDg2OaErzvBO0BbDD1DSXgca9lZoZzduBewaZRYZJ2Pe++g/QSdCu4X2Az3TSB45oSSv6F9hX8RnDLkhTT5nzPv2FBYONwDQk4rRrYelP9hSYsDPyRWZGIFrPzwetGN1sdcDRp1RZ2arIV85qdD044B4IyWSU47hRYNMELOSV0IxSsFw0IZzUTm+KLBpxig2OaOvIktC0YlCaS4priF974FYD2XOXAvuirjYmQINO9nlWHNDuN0n0fgh6ZaLnfz5NBRFLbzoEcQ9ADPHZZvmPmydaIwXSks3+7oELMiBG+qkTkqrlSvwKrsudE+BBlpwg6jRmsubTT3duJ/wQ5K7UdkvYC+QAAAABJRU5ErkJggg==":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAGAAAAAAEJTozAAAAe0lEQVQ4EWNgoBAwyq//6Pn3H+MskDnMTP/THgbyb8dnJrp6FrDm//9lQJqgBsniMwBdPRMDVDNYEzIblynIaoBsJlzqiBUfNYCBYTQMRsMAlF9G0wEoDBgZn8ALD2Q2XBCNgawGyGYCFaRgQ4AcMBtNPTqXVPXo+jH4AI3tMh8eTmkRAAAAAElFTkSuQmCC",class:ve},null)])])}}}),be=f({name:"answer-title",props:{index:{type:Number,default:1},name:{type:String,default:""},score:{type:Number,default:0},answerType:{type:String,default:""},extra:{type:Object,default:function(){return{}}},showRate:{type:Boolean,default:!1}},setup:function(e){var t=O((function(){return e.answerType===re.CHECKBOX?ie:e.answerType===re.LINK?ae:e.answerType===re.SORT?se:e.answerType===re.PLAY?ue:oe})),n=O((function(){return e.extra.mediaUrls?e.extra.mediaUrls.split(","):""}));return function(){return p(I,null,[p("div",{class:fe.unitSubjectTitle},[e.index,E("、"),e.name,E(" "),p("span",{class:fe.unitScore},[E("("),e.score||0,E("分)")]),p(G,{type:"primary",style:{lineHeight:"20px"}},{default:function(){return[t.value]}})]),e.showRate&&p("div",{class:fe.unitTitleRate},[p(v,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAmVJREFUWEftl81LVFEYxn9nNBtzZpyJhhlEgxaKIIJQSaLQEC1qE9TKTQSh9AFtrE1/QZvoi6KgbVIWRhQERZBjZW2UMgaZakKiZKjMtA9KHU8cz1zuOB/NHWPmQvhuLpz33PM8z3ve89x7BED3NdkgHZwQku0SPGqsWCFgRgoeiAWOX+4Ur8QiuOAZ4CsWaI51p4Rki+i6LvuR7CkxuIYT3BTdfXK62GXPJU5th+jqk9IW9UnQFQL/fwXcq2FXEwgBt17C99mlHVfUClQ74VgIgklrG3gDvSMlIuCrhKMhCLhNwHAMrgyXgMDaNVq532WCTUzDyQH49tsCAWe5nvRrvnCHWFellaunEe+/wqlwJviiGaYbUXMQDrWDcqfeYRgat05CKVbKVQWMeDcFp8OZzWfkMwgcbIONdTqtPPLqCDyM5ScRcGnlvhTw8S9wZhB+pHV+6moZBDo2wL7N5hRFon8U7kVzkwi6Nbi30pzzdhLODsLPub+Tz3oMdzbC7mZ9do24E4HbkczFajwa3OM0c7HPWrmVHsrpA9vqobNlKYn7UbjxwgSqrYaeECizMeL1Jzj3yBp41iZM1ai2Y+8mcKRUIpw0k1ov9GwFVwp49KMGn03k75mcTZj+aut62N8KZQ4z8/wD1PuhqsIcG4vD+SeFgeetgLF8Sw0caIPysuzKInG48BjmFqwrt1wBY2JTAA63Q0XSpIzx0Qm4OATzywC3XAEDrMEPRzrAuUqPqK249BQSywQvmIB6oc4LOxohPgN3xyDxjz90Rf0cW+mIFQL2V8D+i4ntVzO7L6fqqNh5Pf8DS9v7/ahSKSsAAAAASUVORK5CYII=",class:fe.icon},null),E("正确率:"),p("span",{class:fe.rate},[e.extra.rightRate||0,E("%")])]),e.extra.questionDetail||n.value?p("div",{class:fe.unitDetail},[p("div",{innerHTML:e.extra.questionDetail},null),n.value&&n.value.map((function(e){return e&&p(I,null,["mp3"===e.substr(-3)?p(ye,{src:e,class:fe.valueAudio},null):p(q,{class:[fe.unitTitleImg,"answerTitleImg"],src:e},null)])}))]):""])}}}),we="_answerAnalysis_1w1fm_1",Ae="_analysisResult_1w1fm_8",xe="_aImg_1w1fm_16",Se="_success_1w1fm_20",Te="_error_1w1fm_23",Ee="_analysisTitle_1w1fm_26",Oe="_analysisMessage_1w1fm_30",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAApFJREFUWEfNmMtrU0EUh7+TW21R3OnWJ/gAV4JV2lKsSF24DmhNzG0XNhUFd+JfUNwJim1dtKmtKGTtQhErpS1o0ZXgA8HHVneipGByZO4lMUlz7ySawszyzpk53/2dmTNnRmixaTq9B7zTqPaBHALdibAtmEb5AfIV9C0iS1B8LHNzn1pxIc0YazLp0bU1ieploAdoalyACCuI3KbwMy/5fNHmzzqxXhg5hRZvoRy0TRbbL7xDvCtyb/ppnF0kkPp+F7+5CXqxBUVszApylw6uSi5XaGTcEEiTwzvoLD0Cjto8/GP/KmuJM5Kf+VY/fh1QANNVWvzvENlITQgLif56qBqgMEy6uIHK1GOu0iH91eGrBUr5k6Cjtp9rb79MyXwuW56zAhTsplLxSRsXcLPcSsIbLO++ACjMM1vebPi6iUIM1tOvwyZPhUBp/yyqD+LziMDACdi9C5ZX4P2HeAUO7IfeHvj8BRaeg5ocGdNEzslc7mEIlMosAb2xA04OwHAmNCkWYWIKXrxsPOR4N2RHwfPC/plZeLZgC+GyzM/2iQ4N7SWx6aN17Yz4oULlFgV1rBvGqmCMvVFoOmcDUqS0TzTtZ1GdsFljQnD92t+/bqRUIxgDPn7DHmIzn8iYaCozD5y3AhmDKIcmfKbVK2ML7Xqn90VT/ivQI00BRUGVSuHwRMIe0lhH8tooZM6T7U0DRUFVT9C6MuXR30XTmQJKZ0tAZahL2VpVzHej1p3J6B0Y50hYcxDIuZA5uKgd2/bOJUbXjg6zC9t+uNZn9FYO1wDIufLDtQItUMmlEraczdWlIj9QybVrUADl0kWxEjqXrtIVKJceG6pLFmeeY2qgXHqwqi/wgmuTt3lwo570/gATF5asuw6doAAAAABJRU5ErkJggg==",Ce=f({name:"answer-analysis",props:{topic:{type:Boolean,default:!0},userResult:{tyep:Boolean,default:!1},answerAnalysis:{type:String,default:""},rightFlagText:{type:String,default:"回答正确"},errorFlagText:{type:String,default:"回答错误"}},setup:function(e){return function(){return p("div",{class:we},[e.topic?p(I,null,[e.userResult?p("div",{class:[Ae,Se]},[p(v,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA9tJREFUWEfNmFtsFFUYgL9/uttuqVwqFxWRWDBKE9AE0weFNF6wpeGhLUkJxERDTRQTTHwAjBLvD74awXAx3RpRa9pII0bRhgChF5VLUeRSRNSQQEggIUo0tbTnN2e32+3MbjszW0x2Huf85/+/+a9njhDyafhIywZvmGoDS0WkHGUuMHlYzXWEC6p6xoGuSNT5tu0p+T2MCQki3NCqBYN/04DR9Yo+DATaB6ggPTiyNVJCW9sqGfKz56u4Nq7LULNFYIGfsvHWFfoQ54UvGmXfeHJjAj3SrLFSNe8q8iyqvuCBYEVU0J3XxHnx4Frpz7Ynq6GauM6MoV+pakUgQyGFRORIP7Jib6Nc8W7NABqGOaSqEwqRH6OI9PUjlV4oF1AyTGph/hfPZHhD5Mg1kcrR4XMB1ceHtqvynN/X3cx1EXa0NxasS+kcAbLVJGjHTUvgoNQiqkhVqvoSQLbPDFw3Jyda2kEZvHK2JRROdhbaPpUAqm/W1WpMS64Kg+ybVgw15fDPAOw9AwOeFimOs6Z9rXyWBGoyXYouCaI4F5k7psDbNcL0kmSG7D+nbOlUlypButufcZbKyrjOM2p+DTEOQjHNmQpv1Qilk9L1c/FPZf3nbiA7ZqJRZ77UN+k6xWwLZSWg8NxSeHO5MK3Y3e5ajxtajmcqEXheapuGPhZ4MqCNwGJlt8Iby4UpMTdMx1lle7eS4R/rIvhE6uLmGKqLs1mqnAf3zRJ6/lBOXQ7Mwj0z4PVq4ZYiN8zXp5UPvs+GMqxbpFfqmswV0Blec0vKYMOjTuK1UeX9LmX/OX+oe2fCa9VCSaEbZs9JpfnwODAJ1XLVAvWDFnlNPV0BdYuSQCmoHT1Kx9mxocpvg1erhOKoG2b3CWXXUT+YBNC/YwJZt7+zQogUpJWrJl1u+4j3WXg7bH5CiHlgWn9UWnqDwKSBsobMLlfcBRsfE6IeqA8PK3tOpZEemA0vLxOKIm7PfHrM0PaTf5jTEjZk4yS1FVx8J7z0uFDoMbbrqGH3CXhwDmyy6x5oG6L2n8PA2IhJb6Cyv382vJLFA4fOGx66O9ODzT8oX54OCZMq+6CNcawcGW3W5tjO75Rv+sLDJDLINsYwo2PBrGQVTfKUdKoKt3Ur+37JDWZkdNjtYYZrtj5j+9TWTuWAnYg5PiPDNQEU8vgxf3qy+dmxMDikvNepdP6WI8nwNtfxI5cD2tQY2GQ/fxUu/TUxmIwDmlWXV0fY1Pfl1SHfQuXdb5CFyqsfxVTo8upXOgWVV5cNo4s4b65jRkPl1YWVt+XZ2adKlcH4XOk5XZEooa/0/gN75eEGM2i4wwAAAABJRU5ErkJggg==",class:xe},null),e.rightFlagText]):p("div",{class:[Ae,Te]},[p(v,{name:Ie,class:xe},null),e.errorFlagText])]):"",e.answerAnalysis&&p(I,null,[p("div",{class:[Ae,Ee]},[p(v,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACJVBMVEUAAAD/zLO9sc7/nYfJrsKQv/6ys9fYqa//nYaNvv+2tNbXqbL/nIe4s9T/nIaNvv//nYeNwP/Uq7aOwP/PrL/9nYv+nYiNv/+Mvv+8sM6/sMvMrL3RqriOvv+Nvv/SqrbXqLLCsMj///+vtNvpo562stSMvv+eue3JrMD/nIaptuKxs9i4sdDNq7vjpaXqopycuu+guOmiuOi8sM3Ar8nPqrnUqbSlt+XHrcLepqnkpKOXu/SauvGnt+SttN2+r8vCrsfRqrfYqLDaqK7sopvzoJOqtuCrtd/LrL3cpqvgpqfno6DxoZX2n5D6nouTvPmkt+eQvfu0s9ezsta6sdDErsXuoZiOvv24sdLFrcPWqLLuopn0n5L4n4+VvPeVu/WZu/OutNzKrL7SqrbhpqblpKLwoZf9nYm7sM/5no36+/3+/Pz8+fn69PWytNnt0dTGrsTnpKH5+PuSvfrh4/L17fDb3u+guOvp4em+sMzWqbPvoZj2+Pzx8/v46+vAyOj04+PGt87nxMfJrcHOq7rjs7bdsLbirK7oq6j1oJL39vn29Pjj6Pfc5ffx7fKfvfHn4+316eutvefr3OLe0t+ttd7w2Nrr1tnKvdPlyMzSu8rjv8TgtrrPq7r08vbr7PamxPOov+3w5+zFzuvKzufg2OWzveK6wOGst+DPxtvz2trjz9jcy9i4s9PfyNLAsszGscfcu8TXtsLNsMHnvb3cqK38nouwO82lAAAAInRSTlMABVNTivPz89zZ2dnZpaWKilVVUVHz89zc3Nzc3KWlpaWKqIUxFAAAAs1JREFUOMtt1Pdb0lEUBvALrpyl2d4XB4JbRFwgzlQsUzGRzIVlIGIqKOEeaO6tqe29d39f546vQHmeh98+z3kPvPcBsYm8EBxwo+92c0teanxaenW+rFQtCQwJF4vQwRw/HRd3E0wuM1n5sjK1RF4T25B4RiyYo3HEXPc13bVgMpyKK4eahQW6h5hOjaJA70+zfEx1ltlc1kr31HU6wRik0YBOUdOcC4Rmmc38ngwNNW3nRCiS73m2HD8Ae2Sy/n5uvu5QkzQVhS4ys4yHn4PJL4UsMIl1GeNP8DfVZFtSpvYSCuZZi3gY9niMcx4PqqTEtIeigD4wLanxA4tDa7LSzVa5vJYYzXgvNY+1SmUQIiYPTDrZs/nWMWy2zK28JzerpFfBtD8oLELMpFGjdmA+S+M9LEsJphzRugZoXe+eMtE7D59d2MNNNsr1VNrP17xWbGBs/XlgKpDHjApZlg3DJ4y3wTRSY0LErI2OvlFLYJEwg9IXuEurdO/tubMrknMQqWII4yFJdy/2zO4XjL83dkEqmPuI1PXS4Xglr8Fe8/EHxo8KJ7a2JsDEIOH51MR6I/s6xhPkHmJSEBj+fOaw7+wT01EZk1KMoFI1q2vF13T9zjYl5xDjQqTSblrXji+y8SxjvQ6B4ZUqBr2NdcZEs4wuXQmipqGTPsMlr7Bpbu7oSqoQvYeaHtXkumBGmCmuJ6YJ0SxmoFI7lGKxYDxjyqHGpbtV1XQNBX72Mpl2+AmL3ICogSxiTqAQlmWgRmvH1rGxEYxnO2JSIKuEmD9hKJzdw4xyFdv2p38BAmNk5m5CBBI7NQo92TMFptGGV222D3jE2yT4IdHZAj3LaifPZ9sKX39slmfdI+aICCGx3jDZxg2rtJLco+OGLILxJ1n/m4fcHANC1L97jGwPN3yiz3Nj8uxpYvdAljCiqMuhQeVC7S5mToZF+LG/w7/6gUVUgZrEfwAAAABJRU5ErkJggg==",class:xe},null),E("答案解析")]),p("div",{class:Oe},[e.answerAnalysis])])])}}}),De="_unitSubject_94r0n_1",Pe="_unitAnswers_94r0n_11",ke="_unitAnswer_94r0n_11",Re="_option_94r0n_23",Le="_value_94r0n_26",Me="_valueAudio_94r0n_35",je="_active_94r0n_38",Be="_answerContent_94r0n_42",Ne="_answerChoice_94r0n_46",Fe=(r("C",f({name:"choice-question",props:{value:{type:Array,default:function(){return[]}},type:{type:String,default:"radio"},index:{type:Number,default:1},data:{type:Object,default:function(){return{}}},readOnly:{type:Boolean,default:!1},showRate:{tyep:Boolean,default:!1},showAnalysis:{type:Boolean,default:!1},analysis:{type:Object,default:function(){return{message:"",topic:!1,userResult:!0}}}},emits:["update:value"],setup:function(e,n){var r=n.emit,o=n.slots,i=O((function(){var t=e.data.answers||[],n=e.value||[];return t.forEach((function(e){var t=n.findIndex((function(t){return t.answerId===e.examinationQuestionAnswerId}));e.checked=-1!==t})),t}));return function(){return p(I,null,[p("div",{class:De},[o.title&&o.title(),p(be,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:"radio"===e.type?re.RADIO:re.CHECKBOX,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),p("div",{class:Pe},[i.value.map((function(n,o){return p("div",{class:[ke,n.checked&&je],onClick:function(){return function(n){if(!e.readOnly){var o=e.value||[],i={answerId:n.examinationQuestionAnswerId,answer:n.questionAnswer,answerExtra:n.questionExtra};if("checkbox"===e.type){var a=o.findIndex((function(e){return e.answerId===n.examinationQuestionAnswerId}));a>=0?(o.splice(a,1),r("update:value",t(o))):r("update:value",[].concat(t(o),[i]))}else r("update:value",[i])}}(n)}},[p("div",{class:Be},[p("span",{class:Re},[ne[o+1],E(".")]),n.questionAnswerTypeCode===le&&p("div",{class:Le},[p(q,{src:n.questionAnswer,fit:"contain",class:"answerTitleImg"},null)]),n.questionAnswerTypeCode===ce&&p("div",{class:Le},[n.questionAnswer]),n.questionAnswerTypeCode===de&&p("div",{class:Le},[p(ye,{src:n.questionAnswer,class:Me},null)])]),e.showRate&&p("div",{class:Ne},[n.selectRate||0,E("%人选择")])])}))])]),e.showAnalysis&&p(Ce,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}})),"_anserList_nlm1h_1"),ze="_status_nlm1h_5",He="_aList_nlm1h_28",qe="_answered_nlm1h_46",Ye="_yes_nlm1h_50",Ue="_no_nlm1h_54";r("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[]}}},emits:["select"],setup:function(e,t){var n=t.emit,r=function(t){var n=!1;return e.answerResult.forEach((function(e){e.questionId===t&&(n=e.rightFlag)})),n};return function(){var t,o;return p("div",{class:Fe},[e.statusList.length>0&&p("div",{class:ze},[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(Y,{class:He,columnNum:6,border:!1},(o=t=e.value.map((function(t,o){return p(U,{onClick:function(){return n("select",o)}},{default:function(){return[p("span",{class:["ANSWER"===e.lookType&&t.userAnswer&&t.userAnswer.length>0&&qe,"RESULT"===e.lookType&&(r(t.id)?Ye:Ue),"CLICK"===e.lookType&&o===e.index&&qe,"PRACTICE"===e.lookType&&t.showAnalysis?t.analysis.userResult?Ye:Ue:""]},[o+1])]}})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!C(o)?t:{default:function(){return[t]}}))])])}}}));var Ge={exports:{}},Ve=D(P);
- /**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */
- function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){Ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qe(e){return Qe="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},Qe(e)}function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(){return Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ke.apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $e(e){return function(e){if(Array.isArray(e))return et(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return et(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(e,t)}(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 et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tt(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var nt=tt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),rt=tt(/Edge/i),ot=tt(/firefox/i),it=tt(/safari/i)&&!tt(/chrome/i)&&!tt(/android/i),at=tt(/iP(ad|od|hone)/i),st=tt(/chrome/i)&&tt(/android/i),ut={capture:!1,passive:!1};function lt(e,t,n){e.addEventListener(t,n,!nt&&ut)}function ct(e,t,n){e.removeEventListener(t,n,!nt&&ut)}function dt(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function ft(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function pt(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&dt(e,t):dt(e,t))||r&&e===n)return e;if(e===n)break}while(e=ft(e))}return null}var ht,_t=/\s+/g;function mt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(_t," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(_t," ")}}function vt(e,t,n){var r=e&&e.style;if(r){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 r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function gt(e,t){var n="";if("string"==typeof e)n=e;else do{var r=vt(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function yt(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function bt(){var e=document.scrollingElement;return e||document.documentElement}function wt(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,s,u,l,c,d;if(e!==window&&e.parentNode&&e!==bt()?(a=(i=e.getBoundingClientRect()).top,s=i.left,u=i.bottom,l=i.right,c=i.height,d=i.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!nt))do{if(o&&o.getBoundingClientRect&&("none"!==vt(o,"transform")||n&&"static"!==vt(o,"position"))){var f=o.getBoundingClientRect();a-=f.top+parseInt(vt(o,"border-top-width")),s-=f.left+parseInt(vt(o,"border-left-width")),u=a+i.height,l=s+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=gt(o||e),h=p&&p.a,_=p&&p.d;p&&(u=(a/=_)+(c/=_),l=(s/=h)+(d/=h))}return{top:a,left:s,bottom:u,right:l,width:d,height:c}}}function At(e,t,n){for(var r=Ot(e,!0),o=wt(e)[t];r;){var i=wt(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===bt())break;r=Ot(r,!1)}return!1}function xt(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==Ln.ghost&&(r||a[i]!==Ln.dragged)&&pt(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function St(e,t){for(var n=e.lastElementChild;n&&(n===Ln.ghost||"none"===vt(n,"display")||t&&!dt(n,t));)n=n.previousElementSibling;return n||null}function Tt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ln.clone||t&&!dt(e,t)||n++;return n}function Et(e){var t=0,n=0,r=bt();if(e)do{var o=gt(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function Ot(e,t){if(!e||!e.getBoundingClientRect)return bt();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=vt(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return bt();if(r||t)return n;r=!0}}}while(n=n.parentNode);return bt()}function It(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function Ct(e,t){return function(){if(!ht){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),ht=setTimeout((function(){ht=void 0}),t)}}}function Dt(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Pt(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function kt(e,t){vt(e,"position","absolute"),vt(e,"top",t.top),vt(e,"left",t.left),vt(e,"width",t.width),vt(e,"height",t.height)}function Rt(e){vt(e,"position",""),vt(e,"top",""),vt(e,"left",""),vt(e,"width",""),vt(e,"height","")}var Lt="Sortable"+(new Date).getTime();function Mt(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==vt(e,"display")&&e!==Ln.ghost){t.push({target:e,rect:wt(e)});var n=We({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=gt(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,i=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,s=wt(n),u=n.prevFromRect,l=n.prevToRect,c=e.rect,d=gt(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&It(u,s)&&!It(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(c,u,l,r.options)),It(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,c,s,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){vt(e,"transition",""),vt(e,"transform","");var o=gt(this.el),i=o&&o.a,a=o&&o.d,s=(t.left-n.left)/(i||1),u=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!u,vt(e,"transform","translate3d("+s+"px,"+u+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),vt(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),vt(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){vt(e,"transition",""),vt(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var jt=[],Bt={initializeByDefault:!0},Nt={mount:function(e){for(var t in Bt)Bt.hasOwnProperty(t)&&!(t in e)&&(e[t]=Bt[t]);jt.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),jt.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";jt.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](We({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](We({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in jt.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[o]=i,Ke(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var i=this.modifyOption(e,o,e.options[o]);void 0!==i&&(e.options[o]=i)}},getEventProperties:function(e,t){var n={};return jt.forEach((function(r){"function"==typeof r.eventProperties&&Ke(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return jt.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function Ft(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,u=e.oldIndex,l=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Lt]){var _,m=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||nt||rt?(_=document.createEvent("Event")).initEvent(r,!0,!0):_=new CustomEvent(r,{bubbles:!0,cancelable:!0}),_.to=a||n,_.from=s||n,_.item=o||n,_.clone=i,_.oldIndex=u,_.newIndex=l,_.oldDraggableIndex=c,_.newDraggableIndex=d,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var g=We(We({},h),Nt.getEventProperties(r,t));for(var y in g)_[y]=g[y];n&&n.dispatchEvent(_),m[v]&&m[v].call(t,_)}}var zt=["evt"],Ht=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=Je(n,zt);Nt.pluginEvent.bind(Ln)(e,t,We({dragEl:Yt,parentEl:Ut,ghostEl:Gt,rootEl:Vt,nextEl:Xt,lastDownEl:Wt,cloneEl:Qt,cloneHidden:Zt,dragStarted:cn,putSortable:nn,activeSortable:Ln.active,originalEvent:r,oldIndex:Kt,oldDraggableIndex:$t,newIndex:Jt,newDraggableIndex:en,hideGhostForTarget:Dn,unhideGhostForTarget:Pn,cloneNowHidden:function(){Zt=!0},cloneNowShown:function(){Zt=!1},dispatchSortableEvent:function(e){qt({sortable:t,name:e,originalEvent:r})}},o))};function qt(e){Ft(We({putSortable:nn,cloneEl:Qt,targetEl:Yt,rootEl:Vt,oldIndex:Kt,oldDraggableIndex:$t,newIndex:Jt,newDraggableIndex:en},e))}var Yt,Ut,Gt,Vt,Xt,Wt,Qt,Zt,Kt,Jt,$t,en,tn,nn,rn,on,an,sn,un,ln,cn,dn,fn,pn,hn,_n=!1,mn=!1,vn=[],gn=!1,yn=!1,bn=[],wn=!1,An=[],xn="undefined"!=typeof document,Sn=at,Tn=rt||nt?"cssFloat":"float",En=xn&&!st&&!at&&"draggable"in document.createElement("div"),On=function(){if(xn){if(nt)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),In=function(e,t){var n=vt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=xt(e,0,t),i=xt(e,1,t),a=o&&vt(o),s=i&&vt(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+wt(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+wt(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(o&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=r&&"none"===n[Tn]||i&&"none"===n[Tn]&&u+l>r)?"vertical":"horizontal"},Cn=function(e){function t(e,n){return function(r,o,i,a){var s=r.options.group.name&&o.options.group.name&&r.options.group.name===o.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(r,o,i,a),n)(r,o,i,a);var u=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===u||e.join&&e.indexOf(u)>-1}}var n={},r=e.group;r&&"object"==Qe(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Dn=function(){!On&&Gt&&vt(Gt,"display","none")},Pn=function(){!On&&Gt&&vt(Gt,"display","")};xn&&document.addEventListener("click",(function(e){if(mn)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),mn=!1,!1}),!0);var kn=function(e){if(Yt){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,vn.some((function(e){var t=e[Lt].options.emptyInsertThreshold;if(t&&!St(e)){var n=wt(e),r=o>=n.left-t&&o<=n.right+t,s=i>=n.top-t&&i<=n.bottom+t;return r&&s?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Lt]._onDragOver(n)}}var o,i,a},Rn=function(e){Yt&&Yt.parentNode[Lt]._isOutsideThisEl(e.target)};function Ln(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=Ke({},t),e[Lt]=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 In(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!==Ln.supportPointer&&"PointerEvent"in window&&!it,emptyInsertThreshold:5};for(var r in Nt.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Cn(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&En,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?lt(e,"pointerdown",this._onTapStart):(lt(e,"mousedown",this._onTapStart),lt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(lt(e,"dragover",this),lt(e,"dragenter",this)),vn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ke(this,Mt())}function Mn(e,t,n,r,o,i,a,s){var u,l,c=e[Lt],d=c.options.onMove;return!window.CustomEvent||nt||rt?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=t,u.from=e,u.dragged=n,u.draggedRect=r,u.related=o||t,u.relatedRect=i||wt(t),u.willInsertAfter=s,u.originalEvent=a,e.dispatchEvent(u),d&&(l=d.call(c,u,a)),l}function jn(e){e.draggable=!1}function Bn(){wn=!1}function Nn(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Fn(e){return setTimeout(e,0)}function zn(e){return clearTimeout(e)}Ln.prototype={constructor:Ln,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(dn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Yt):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=r.filter;if(function(e){An.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&An.push(r)}}(n),!Yt&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!it||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=pt(s,r.draggable,n,!1))&&s.animated||Wt===s)){if(Kt=Tt(s),$t=Tt(s,r.draggable),"function"==typeof l){if(l.call(this,e,s,this))return qt({sortable:t,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Ht("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=pt(u,r.trim(),n,!1))return qt({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Ht("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!pt(u,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(n&&!Yt&&n.parentNode===i){var u=wt(n);if(Vt=i,Ut=(Yt=n).parentNode,Xt=Yt.nextSibling,Wt=n,tn=a.group,Ln.dragged=Yt,rn={target:Yt,clientX:(t||e).clientX,clientY:(t||e).clientY},un=rn.clientX-u.left,ln=rn.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Yt.style["will-change"]="all",r=function(){Ht("delayEnded",o,{evt:e}),Ln.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!ot&&o.nativeDraggable&&(Yt.draggable=!0),o._triggerDragStart(e,t),qt({sortable:o,name:"choose",originalEvent:e}),mt(Yt,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){yt(Yt,e.trim(),jn)})),lt(s,"dragover",kn),lt(s,"mousemove",kn),lt(s,"touchmove",kn),lt(s,"mouseup",o._onDrop),lt(s,"touchend",o._onDrop),lt(s,"touchcancel",o._onDrop),ot&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Yt.draggable=!0),Ht("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(rt||nt))r();else{if(Ln.eventCanceled)return void this._onDrop();lt(s,"mouseup",o._disableDelayedDrag),lt(s,"touchend",o._disableDelayedDrag),lt(s,"touchcancel",o._disableDelayedDrag),lt(s,"mousemove",o._delayedDragTouchMoveHandler),lt(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&<(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,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(){Yt&&jn(Yt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;ct(e,"mouseup",this._disableDelayedDrag),ct(e,"touchend",this._disableDelayedDrag),ct(e,"touchcancel",this._disableDelayedDrag),ct(e,"mousemove",this._delayedDragTouchMoveHandler),ct(e,"touchmove",this._delayedDragTouchMoveHandler),ct(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?lt(document,"pointermove",this._onTouchMove):lt(document,t?"touchmove":"mousemove",this._onTouchMove):(lt(Yt,"dragend",this),lt(Vt,"dragstart",this._onDragStart));try{document.selection?Fn((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(_n=!1,Vt&&Yt){Ht("dragStarted",this,{evt:t}),this.nativeDraggable&<(document,"dragover",Rn);var n=this.options;!e&&mt(Yt,n.dragClass,!1),mt(Yt,n.ghostClass,!0),Ln.active=this,e&&this._appendGhost(),qt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(on){this._lastX=on.clientX,this._lastY=on.clientY,Dn();for(var e=document.elementFromPoint(on.clientX,on.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(on.clientX,on.clientY))!==t;)t=e;if(Yt.parentNode[Lt]._isOutsideThisEl(e),t)do{if(t[Lt]){if(t[Lt]._onDragOver({clientX:on.clientX,clientY:on.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pn()}},_onTouchMove:function(e){if(rn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=Gt&>(Gt,!0),a=Gt&&i&&i.a,s=Gt&&i&&i.d,u=Sn&&hn&&Et(hn),l=(o.clientX-rn.clientX+r.x)/(a||1)+(u?u[0]-bn[0]:0)/(a||1),c=(o.clientY-rn.clientY+r.y)/(s||1)+(u?u[1]-bn[1]:0)/(s||1);if(!Ln.active&&!_n){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Gt){i?(i.e+=l-(an||0),i.f+=c-(sn||0)):i={a:1,b:0,c:0,d:1,e:l,f:c};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");vt(Gt,"webkitTransform",d),vt(Gt,"mozTransform",d),vt(Gt,"msTransform",d),vt(Gt,"transform",d),an=l,sn=c,on=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Gt){var e=this.options.fallbackOnBody?document.body:Vt,t=wt(Yt,!0,Sn,!0,e),n=this.options;if(Sn){for(hn=e;"static"===vt(hn,"position")&&"none"===vt(hn,"transform")&&hn!==document;)hn=hn.parentNode;hn!==document.body&&hn!==document.documentElement?(hn===document&&(hn=bt()),t.top+=hn.scrollTop,t.left+=hn.scrollLeft):hn=bt(),bn=Et(hn)}mt(Gt=Yt.cloneNode(!0),n.ghostClass,!1),mt(Gt,n.fallbackClass,!0),mt(Gt,n.dragClass,!0),vt(Gt,"transition",""),vt(Gt,"transform",""),vt(Gt,"box-sizing","border-box"),vt(Gt,"margin",0),vt(Gt,"top",t.top),vt(Gt,"left",t.left),vt(Gt,"width",t.width),vt(Gt,"height",t.height),vt(Gt,"opacity","0.8"),vt(Gt,"position",Sn?"absolute":"fixed"),vt(Gt,"zIndex","100000"),vt(Gt,"pointerEvents","none"),Ln.ghost=Gt,e.appendChild(Gt),vt(Gt,"transform-origin",un/parseInt(Gt.style.width)*100+"% "+ln/parseInt(Gt.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;Ht("dragStart",this,{evt:e}),Ln.eventCanceled?this._onDrop():(Ht("setupClone",this),Ln.eventCanceled||((Qt=Pt(Yt)).draggable=!1,Qt.style["will-change"]="",this._hideClone(),mt(Qt,this.options.chosenClass,!1),Ln.clone=Qt),n.cloneId=Fn((function(){Ht("clone",n),Ln.eventCanceled||(n.options.removeCloneOnHide||Vt.insertBefore(Qt,Yt),n._hideClone(),qt({sortable:n,name:"clone"}))})),!t&&mt(Yt,o.dragClass,!0),t?(mn=!0,n._loopId=setInterval(n._emulateDragOver,50)):(ct(document,"mouseup",n._onDrop),ct(document,"touchend",n._onDrop),ct(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,Yt)),lt(document,"drop",n),vt(Yt,"transform","translateZ(0)")),_n=!0,n._dragStartId=Fn(n._dragStarted.bind(n,t,e)),lt(document,"selectstart",n),cn=!0,it&&vt(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,o,i=this.el,a=e.target,s=this.options,u=s.group,l=Ln.active,c=tn===u,d=s.sort,f=nn||l,p=this,h=!1;if(!wn){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=pt(a,s.draggable,i,!0),C("dragOver"),Ln.eventCanceled)return h;if(Yt.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return P(!1);if(mn=!1,l&&!s.disabled&&(c?d||(r=Ut!==Vt):nn===this||(this.lastPutMode=tn.checkPull(this,l,Yt,e))&&u.checkPut(this,l,Yt,e))){if(o="vertical"===this._getDirection(e,a),t=wt(Yt),C("dragOverValid"),Ln.eventCanceled)return h;if(r)return Ut=Vt,D(),this._hideClone(),C("revert"),Ln.eventCanceled||(Xt?Vt.insertBefore(Yt,Xt):Vt.appendChild(Yt)),P(!0);var _=St(i,s.draggable);if(!_||function(e,t,n){var r=wt(St(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}(e,o,this)&&!_.animated){if(_===Yt)return P(!1);if(_&&i===e.target&&(a=_),a&&(n=wt(a)),!1!==Mn(Vt,i,Yt,t,a,n,e,!!a))return D(),i.appendChild(Yt),Ut=i,k(),P(!0)}else if(_&&function(e,t,n){var r=wt(xt(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}(e,o,this)){var m=xt(i,0,s,!0);if(m===Yt)return P(!1);if(n=wt(a=m),!1!==Mn(Vt,i,Yt,t,a,n,e,!1))return D(),i.insertBefore(Yt,m),Ut=i,k(),P(!0)}else if(a.parentNode===i){n=wt(a);var v,g,y,b=Yt.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,u=n?t.width:t.height;return r===a||o===s||r+i/2===a+u/2}(Yt.animated&&Yt.toRect||t,a.animated&&a.toRect||n,o),A=o?"top":"left",x=At(a,"top","top")||At(Yt,"top","top"),S=x?x.scrollTop:void 0;if(dn!==a&&(g=n[A],gn=!1,yn=!w&&s.invertSwap||b),v=function(e,t,n,r,o,i,a,s){var u=r?e.clientY:e.clientX,l=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&pn<l*o){if(!gn&&(1===fn?u>c+l*i/2:u<d-l*i/2)&&(gn=!0),gn)f=!0;else if(1===fn?u<c+pn:u>d-pn)return-fn}else if(u>c+l*(1-o)/2&&u<d-l*(1-o)/2)return function(e){return Tt(Yt)<Tt(e)?1:-1}(t);if((f=f||a)&&(u<c+l*i/2||u>d-l*i/2))return u>c+l/2?1:-1;return 0}(e,a,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,yn,dn===a),0!==v){var T=Tt(Yt);do{T-=v,y=Ut.children[T]}while(y&&("none"===vt(y,"display")||y===Gt))}if(0===v||y===a)return P(!1);dn=a,fn=v;var E=a.nextElementSibling,O=!1,I=Mn(Vt,i,Yt,t,a,n,e,O=1===v);if(!1!==I)return 1!==I&&-1!==I||(O=1===I),wn=!0,setTimeout(Bn,30),D(),O&&!E?i.appendChild(Yt):a.parentNode.insertBefore(Yt,O?E:a),x&&Dt(x,0,S-x.scrollTop),Ut=Yt.parentNode,void 0===g||yn||(pn=Math.abs(g-wt(a)[A])),k(),P(!0)}if(i.contains(Yt))return P(!1)}return!1}function C(s,u){Ht(s,p,We({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:P,onMove:function(n,r){return Mn(Vt,i,Yt,t,n,wt(n),e,r)},changed:k},u))}function D(){C("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function P(t){return C("dragOverCompleted",{insertion:t}),t&&(c?l._hideClone():l._showClone(p),p!==f&&(mt(Yt,nn?nn.options.ghostClass:l.options.ghostClass,!1),mt(Yt,s.ghostClass,!0)),nn!==p&&p!==Ln.active?nn=p:p===Ln.active&&nn&&(nn=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){C("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===Yt&&!Yt.animated||a===i&&!a.animated)&&(dn=null),s.dragoverBubble||e.rootEl||a===document||(Yt.parentNode[Lt]._isOutsideThisEl(e.target),!t&&kn(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function k(){Jt=Tt(Yt),en=Tt(Yt,s.draggable),qt({sortable:p,name:"change",toEl:i,newIndex:Jt,newDraggableIndex:en,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){ct(document,"mousemove",this._onTouchMove),ct(document,"touchmove",this._onTouchMove),ct(document,"pointermove",this._onTouchMove),ct(document,"dragover",kn),ct(document,"mousemove",kn),ct(document,"touchmove",kn)},_offUpEvents:function(){var e=this.el.ownerDocument;ct(e,"mouseup",this._onDrop),ct(e,"touchend",this._onDrop),ct(e,"pointerup",this._onDrop),ct(e,"touchcancel",this._onDrop),ct(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Jt=Tt(Yt),en=Tt(Yt,n.draggable),Ht("drop",this,{evt:e}),Ut=Yt&&Yt.parentNode,Jt=Tt(Yt),en=Tt(Yt,n.draggable),Ln.eventCanceled||(_n=!1,yn=!1,gn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zn(this.cloneId),zn(this._dragStartId),this.nativeDraggable&&(ct(document,"drop",this),ct(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),it&&vt(document.body,"user-select",""),vt(Yt,"transform",""),e&&(cn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Gt&&Gt.parentNode&&Gt.parentNode.removeChild(Gt),(Vt===Ut||nn&&"clone"!==nn.lastPutMode)&&Qt&&Qt.parentNode&&Qt.parentNode.removeChild(Qt),Yt&&(this.nativeDraggable&&ct(Yt,"dragend",this),jn(Yt),Yt.style["will-change"]="",cn&&!_n&&mt(Yt,nn?nn.options.ghostClass:this.options.ghostClass,!1),mt(Yt,this.options.chosenClass,!1),qt({sortable:this,name:"unchoose",toEl:Ut,newIndex:null,newDraggableIndex:null,originalEvent:e}),Vt!==Ut?(Jt>=0&&(qt({rootEl:Ut,name:"add",toEl:Ut,fromEl:Vt,originalEvent:e}),qt({sortable:this,name:"remove",toEl:Ut,originalEvent:e}),qt({rootEl:Ut,name:"sort",toEl:Ut,fromEl:Vt,originalEvent:e}),qt({sortable:this,name:"sort",toEl:Ut,originalEvent:e})),nn&&nn.save()):Jt!==Kt&&Jt>=0&&(qt({sortable:this,name:"update",toEl:Ut,originalEvent:e}),qt({sortable:this,name:"sort",toEl:Ut,originalEvent:e})),Ln.active&&(null!=Jt&&-1!==Jt||(Jt=Kt,en=$t),qt({sortable:this,name:"end",toEl:Ut,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Ht("nulling",this),Vt=Yt=Ut=Gt=Xt=Qt=Wt=Zt=rn=on=cn=Jt=en=Kt=$t=dn=fn=nn=tn=Ln.dragged=Ln.ghost=Ln.clone=Ln.active=null,An.forEach((function(e){e.checked=!0})),An.length=an=sn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Yt&&(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,r=0,o=n.length,i=this.options;r<o;r++)pt(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Nn(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];pt(o,this.options.draggable,r,!1)&&(n[e]=o)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return pt(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=Nt.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Cn(n)},destroy:function(){Ht("destroy",this);var e=this.el;e[Lt]=null,ct(e,"mousedown",this._onTapStart),ct(e,"touchstart",this._onTapStart),ct(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(ct(e,"dragover",this),ct(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),vn.splice(vn.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Zt){if(Ht("hideClone",this),Ln.eventCanceled)return;vt(Qt,"display","none"),this.options.removeCloneOnHide&&Qt.parentNode&&Qt.parentNode.removeChild(Qt),Zt=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Zt){if(Ht("showClone",this),Ln.eventCanceled)return;Yt.parentNode!=Vt||this.options.group.revertClone?Xt?Vt.insertBefore(Qt,Xt):Vt.appendChild(Qt):Vt.insertBefore(Qt,Yt),this.options.group.revertClone&&this.animate(Yt,Qt),vt(Qt,"display",""),Zt=!1}}else this._hideClone()}},xn&<(document,"touchmove",(function(e){(Ln.active||_n)&&e.cancelable&&e.preventDefault()})),Ln.utils={on:lt,off:ct,css:vt,find:yt,is:function(e,t){return!!pt(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:Ct,closest:pt,toggleClass:mt,clone:Pt,index:Tt,nextTick:Fn,cancelNextTick:zn,detectDirection:In,getChild:xt},Ln.get=function(e){return e[Lt]},Ln.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ln.utils=We(We({},Ln.utils),e.utils)),Nt.mount(e)}))},Ln.create=function(e,t){return new Ln(e,t)},Ln.version="1.14.0";var Hn,qn,Yn,Un,Gn,Vn,Xn=[],Wn=!1;function Qn(){Xn.forEach((function(e){clearInterval(e.pid)})),Xn=[]}function Zn(){clearInterval(Vn)}var Kn,Jn=Ct((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,u=t.scrollSpeed,l=bt(),c=!1;qn!==n&&(qn=n,Qn(),Hn=t.scroll,o=t.scrollFn,!0===Hn&&(Hn=Ot(n,!0)));var d=0,f=Hn;do{var p=f,h=wt(p),_=h.top,m=h.bottom,v=h.left,g=h.right,y=h.width,b=h.height,w=void 0,A=void 0,x=p.scrollWidth,S=p.scrollHeight,T=vt(p),E=p.scrollLeft,O=p.scrollTop;p===l?(w=y<x&&("auto"===T.overflowX||"scroll"===T.overflowX||"visible"===T.overflowX),A=b<S&&("auto"===T.overflowY||"scroll"===T.overflowY||"visible"===T.overflowY)):(w=y<x&&("auto"===T.overflowX||"scroll"===T.overflowX),A=b<S&&("auto"===T.overflowY||"scroll"===T.overflowY));var I=w&&(Math.abs(g-i)<=s&&E+y<x)-(Math.abs(v-i)<=s&&!!E),C=A&&(Math.abs(m-a)<=s&&O+b<S)-(Math.abs(_-a)<=s&&!!O);if(!Xn[d])for(var D=0;D<=d;D++)Xn[D]||(Xn[D]={});Xn[d].vx==I&&Xn[d].vy==C&&Xn[d].el===p||(Xn[d].el=p,Xn[d].vx=I,Xn[d].vy=C,clearInterval(Xn[d].pid),0==I&&0==C||(c=!0,Xn[d].pid=setInterval(function(){r&&0===this.layer&&Ln.active._onTouchMove(Gn);var t=Xn[this.layer].vy?Xn[this.layer].vy*u:0,n=Xn[this.layer].vx?Xn[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Ln.dragged.parentNode[Lt],n,t,e,Gn,Xn[this.layer].el)||Dt(Xn[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==l&&(f=Ot(f,!1)));Wn=c}}),30),$n=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var u=n||o;a();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(l.clientX,l.clientY);s(),u&&!u.el.contains(c)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function er(){}function tr(){}er.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=xt(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:$n},Ke(er,{pluginName:"revertOnSpill"}),tr.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:$n},Ke(tr,{pluginName:"removeOnSpill"});var nr,rr,or,ir,ar,sr=[],ur=[],lr=!1,cr=!1,dr=!1;function fr(e,t){ur.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function pr(){sr.forEach((function(e){e!==or&&e.parentNode&&e.parentNode.removeChild(e)}))}Ln.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?lt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?lt(document,"pointermove",this._handleFallbackAutoScroll):t.touches?lt(document,"touchmove",this._handleFallbackAutoScroll):lt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?ct(document,"dragover",this._handleAutoScroll):(ct(document,"pointermove",this._handleFallbackAutoScroll),ct(document,"touchmove",this._handleFallbackAutoScroll),ct(document,"mousemove",this._handleFallbackAutoScroll)),Zn(),Qn(),clearTimeout(ht),ht=void 0},nulling:function(){Gn=qn=Hn=Wn=Vn=Yn=Un=null,Xn.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(Gn=e,t||this.options.forceAutoScrollFallback||rt||nt||it){Jn(e,this.options,i,t);var a=Ot(i,!0);!Wn||Vn&&r===Yn&&o===Un||(Vn&&Zn(),Vn=setInterval((function(){var i=Ot(document.elementFromPoint(r,o),!0);i!==a&&(a=i,Qn()),Jn(e,n.options,i,t)}),10),Yn=r,Un=o)}else{if(!this.options.bubbleScroll||Ot(i,!0)===bt())return void Qn();Jn(e,this.options,Ot(i,!1),!1)}}},Ke(e,{pluginName:"scroll",initializeByDefault:!0})}),Ln.mount(tr,er);var hr=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:function(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?lt(document,"pointerup",this._deselectMultiDrag):(lt(document,"mouseup",this._deselectMultiDrag),lt(document,"touchend",this._deselectMultiDrag)),lt(document,"keydown",this._checkKeyDown),lt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";sr.length&&rr===e?sr.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;or=t},delayEnded:function(){this.isMultiDrag=~sr.indexOf(or)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<sr.length;r++)ur.push(Pt(sr[r])),ur[r].sortableIndex=sr[r].sortableIndex,ur[r].draggable=!1,ur[r].style["will-change"]="",mt(ur[r],this.options.selectedClass,!1),sr[r]===or&&mt(ur[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||sr.length&&rr===t&&(fr(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(fr(!1,n),ur.forEach((function(e){vt(e,"display","")})),t(),ar=!1,r())},hideClone:function(e){var t=this;e.sortable;var n=e.cloneNowHidden,r=e.cancel;this.isMultiDrag&&(ur.forEach((function(e){vt(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),ar=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&rr&&rr.multiDrag._deselectMultiDrag(),sr.forEach((function(e){e.sortableIndex=Tt(e)})),sr=sr.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),dr=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){sr.forEach((function(e){e!==or&&vt(e,"position","absolute")}));var r=wt(or,!1,!0,!0);sr.forEach((function(e){e!==or&&kt(e,r)})),cr=!0,lr=!0}n.animateAll((function(){cr=!1,lr=!1,t.options.animation&&sr.forEach((function(e){Rt(e)})),t.options.sort&&pr()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;cr&&~sr.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;sr.length>1&&(sr.forEach((function(e){r.addAnimationState({target:e,rect:cr?wt(e):o}),Rt(e),e.fromRect=o,t.removeAnimationState(e)})),cr=!1,function(e,t){sr.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&o._hideClone(),lr=!1,s.animation&&sr.length>1&&(cr||!n&&!o.options.sort&&!a)){var u=wt(or,!1,!0,!0);sr.forEach((function(e){e!==or&&(kt(e,u),i.appendChild(e))})),cr=!0}if(!n)if(cr||pr(),sr.length>1){var l=ar;o._showClone(t),o.options.animation&&!ar&&l&&ur.forEach((function(e){o.addAnimationState({target:e,rect:ir}),e.fromRect=ir,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(sr.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){ir=Ke({},t);var o=gt(or,!0);ir.top-=o.f,ir.left-=o.e}},dragOverAnimationComplete:function(){cr&&(cr=!1,pr())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,u=s||this.sortable;if(t){var l=this.options,c=r.children;if(!dr)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),mt(or,l.selectedClass,!~sr.indexOf(or)),~sr.indexOf(or))sr.splice(sr.indexOf(or),1),nr=null,Ft({sortable:o,rootEl:n,name:"deselect",targetEl:or,originalEvt:t});else{if(sr.push(or),Ft({sortable:o,rootEl:n,name:"select",targetEl:or,originalEvt:t}),t.shiftKey&&nr&&o.el.contains(nr)){var d,f,p=Tt(nr),h=Tt(or);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f<d;f++)~sr.indexOf(c[f])||(mt(c[f],l.selectedClass,!0),sr.push(c[f]),Ft({sortable:o,rootEl:n,name:"select",targetEl:c[f],originalEvt:t}))}else nr=or;rr=u}if(dr&&this.isMultiDrag){if(cr=!1,(r[Lt].options.sort||r!==n)&&sr.length>1){var _=wt(or),m=Tt(or,":not(."+this.options.selectedClass+")");if(!lr&&l.animation&&(or.thisAnimationDuration=null),u.captureAnimationState(),!lr&&(l.animation&&(or.fromRect=_,sr.forEach((function(e){if(e.thisAnimationDuration=null,e!==or){var t=cr?wt(e):_;e.fromRect=t,u.addAnimationState({target:e,rect:t})}}))),pr(),sr.forEach((function(e){c[m]?r.insertBefore(e,c[m]):r.appendChild(e),m++})),a===Tt(or))){var v=!1;sr.forEach((function(e){e.sortableIndex===Tt(e)||(v=!0)})),v&&i("update")}sr.forEach((function(e){Rt(e)})),u.animateAll()}rr=u}(n===r||s&&"clone"!==s.lastPutMode)&&ur.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=dr=!1,ur.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ct(document,"pointerup",this._deselectMultiDrag),ct(document,"mouseup",this._deselectMultiDrag),ct(document,"touchend",this._deselectMultiDrag),ct(document,"keydown",this._checkKeyDown),ct(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==dr&&dr||rr!==this.sortable||e&&pt(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;sr.length;){var t=sr[0];mt(t,this.options.selectedClass,!1),sr.shift(),Ft({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)}},Ke(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[Lt];t&&t.options.multiDrag&&!~sr.indexOf(e)&&(rr&&rr!==t&&(rr.multiDrag._deselectMultiDrag(),rr=t),mt(e,t.options.selectedClass,!0),sr.push(e))},deselect:function(e){var t=e.parentNode[Lt],n=sr.indexOf(e);t&&t.options.multiDrag&&~n&&(mt(e,t.options.selectedClass,!1),sr.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return sr.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=cr&&r!==or?-1:cr?Tt(r,":not(."+e.options.selectedClass+")"):Tt(r),n.push({multiDragElement:r,index:o})})),{items:$e(sr),clones:[].concat(ur),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:Ln,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Kn=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,a=e.cancel;if(o.options.swap){var s=this.sortable.el,u=this.options;if(n&&n!==s){var l=Kn;!1!==r(n)?(mt(n,u.swapClass,!0),Kn=n):Kn=null,l&&l!==Kn&&mt(l,u.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,o=n||this.sortable,i=this.options;Kn&&mt(Kn,i.swapClass,!1),Kn&&(i.swap||n&&n.options.swap)&&r!==Kn&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var n,r,o=e.parentNode,i=t.parentNode;if(!o||!i||o.isEqualNode(t)||i.isEqualNode(e))return;n=Tt(e),r=Tt(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,Kn),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){Kn=null}},Ke(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Kn}}})},default:Ln},Symbol.toStringTag,{value:"Module"})),_r=D(hr);!function(t,n){var r;"undefined"!=typeof self&&self,r=function(t,n){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"===e(t)&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)r.d(o,i,function(e){return t[e]}.bind(null,i));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"00ee":function(e,t,n){var r={};r[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(r)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"057f":function(t,n,r){var o=r("fc6a"),i=r("241c").f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":e(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(t){return s.slice()}}(e):i(o(e))}},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),s=n("c04e"),u=n("5135"),l=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(n){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"13d5":function(e,t,n){var r=n("23e7"),o=n("d58f").left,i=n("a640"),a=n("ae40"),s=i("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!u},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,n,r){var o=r("c6b6"),i=r("9263");t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var a=r.call(t,n);if("object"!==e(a))throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==o(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("17c2"),a=n("9112");for(var s in o){var u=r[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(c){l.forEach=i}}},"17c2":function(e,t,n){var r=n("b727").forEach,o=n("a640"),i=n("ae40"),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(s){}return n}},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),i=n("2d00"),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(t,n,r){var o=r("da84"),i=r("06cf").f,a=r("9112"),s=r("6eeb"),u=r("ce4e"),l=r("e893"),c=r("94ca");t.exports=function(t,n){var r,d,f,p,h,_=t.target,m=t.global,v=t.stat;if(r=m?o:v?o[_]||u(_,{}):(o[_]||{}).prototype)for(d in n){if(p=n[d],f=t.noTargetGet?(h=i(r,d))&&h.value:r[d],!c(m?d:_+(v?".":"#")+d,t.forced)&&void 0!==f){if(e(p)===e(f))continue;l(p,f)}(t.sham||f&&f.sham)&&a(p,"sham",!0),s(r,d,p,t)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"25f0":function(e,t,n){var r=n("6eeb"),o=n("825a"),i=n("d039"),a=n("ad6d"),s="toString",u=RegExp.prototype,l=u[s],c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(c||d)&&r(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},"2ca0":function(e,t,n){var r,o=n("23e7"),i=n("06cf").f,a=n("50c4"),s=n("5a34"),u=n("1d80"),l=n("ab13"),c=n("c430"),d="".startsWith,f=Math.min,p=l("startsWith");o({target:"String",proto:!0,forced:!(!c&&!p&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||p)},{startsWith:function(e){var t=String(u(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},"2d00":function(e,t,n){var r,o,i=n("da84"),a=n("342f"),s=i.process,u=s&&s.versions,l=u&&u.v8;l?o=(r=l.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),o=n("3f8c"),i=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,u=0;s>u;)o.f(e,n=r[u++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),a="String Iterator",s=o.set,u=o.getterFor(a);i(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},4160:function(e,t,n){var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),o=n("c6b6"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){var r=n("23e7"),o=n("b727").filter,i=n("1dde"),a=n("ae40"),s=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!s||!u},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){var r=n("0366"),o=n("7b0b"),i=n("9bdd"),a=n("e95a"),s=n("50c4"),u=n("8418"),l=n("35a1");e.exports=function(e){var t,n,c,d,f,p,h=o(e),_="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,g=void 0!==v,y=l(h),b=0;if(g&&(v=r(v,m>2?arguments[2]:void 0,2)),null==y||_==Array&&a(y))for(n=new _(t=s(h.length));t>b;b++)p=g?v(h[b],b):h[b],u(n,b,p);else for(f=(d=y.call(h)).next,n=new _;!(c=f.call(d)).done;b++)p=g?i(d,v,[c.value,b],!0):c.value,u(n,b,p);return n.length=b,n}},"4fad":function(e,t,n){var r=n("23e7"),o=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"50c4":function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){var r=n("d784"),o=n("825a"),i=n("7b0b"),a=n("50c4"),s=n("a691"),u=n("1d80"),l=n("8aa5"),c=n("14c3"),d=Math.max,f=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,g=m?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!m&&v||"string"==typeof r&&-1===r.indexOf(g)){var i=n(t,e,this,r);if(i.done)return i.value}var u=o(e),p=String(this),h="function"==typeof r;h||(r=String(r));var _=u.global;if(_){var b=u.unicode;u.lastIndex=0}for(var w=[];;){var A=c(u,p);if(null===A)break;if(w.push(A),!_)break;""===String(A[0])&&(u.lastIndex=l(p,a(u.lastIndex),b))}for(var x,S="",T=0,E=0;E<w.length;E++){A=w[E];for(var O=String(A[0]),I=d(f(s(A.index),p.length),0),C=[],D=1;D<A.length;D++)C.push(void 0===(x=A[D])?x:String(x));var P=A.groups;if(h){var k=[O].concat(C,I,p);void 0!==P&&k.push(P);var R=String(r.apply(void 0,k))}else R=y(O,p,I,C,P,r);I>=T&&(S+=p.slice(T,I)+R,T=I+O.length)}return S+p.slice(T)}];function y(e,n,r,o,a,s){var u=r+e.length,l=o.length,c=_;return void 0!==a&&(a=i(a),c=h),t.call(s,c,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return t;if(c>l){var d=p(c/10);return 0===d?t:d<=l?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[c-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),o=n("241c"),i=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"5a34":function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5db7":function(e,t,n){var r=n("23e7"),o=n("a2bf"),i=n("7b0b"),a=n("50c4"),s=n("1c0b"),u=n("65f0");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),(t=u(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},6547:function(e,t,n){var r=n("a691"),o=n("1d80"),i=function(e){return function(t,n){var i,a,s=String(o(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(e,t,n){var r=n("861d"),o=n("e8b5"),i=n("b622")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,o,i,a=n("7f9a"),s=n("da84"),u=n("861d"),l=n("9112"),c=n("5135"),d=n("f772"),f=n("d012"),p=s.WeakMap;if(a){var h=new p,_=h.get,m=h.has,v=h.set;r=function(e,t){return v.call(h,e,t),t},o=function(e){return _.call(h,e)||{}},i=function(e){return m.call(h,e)}}else{var g=d("state");f[g]=!0,r=function(e,t){return l(e,g,t),t},o=function(e){return c(e,g)?e[g]:{}},i=function(e){return c(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eeb":function(e,t,n){var r=n("da84"),o=n("9112"),i=n("5135"),a=n("ce4e"),s=n("8925"),u=n("69f3"),l=u.get,c=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=d.join("string"==typeof t?t:"")),e!==r?(u?!f&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f53":function(e,t,n){var r=n("83ab"),o=n("df75"),i=n("fc6a"),a=n("d1e7").f,s=function(e){return function(t){for(var n,s=i(t),u=o(s),l=u.length,c=0,d=[];l>c;)n=u[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},"73d9":function(e,t,n){n("44d2")("flatMap")},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),o=n("5135"),i=n("e538"),a=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,o=n("825a"),i=n("37e8"),a=n("7839"),s=n("d012"),u=n("1be4"),l=n("cc12"),c=n("f772"),d="prototype",f="script",p=c("IE_PROTO"),h=function(){},_=function(e){return"<"+f+">"+e+"</"+f+">"},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var e,t,n;m=r?function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):(t=l("iframe"),n="java"+f+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F);for(var o=a.length;o--;)delete m[d][a[o]];return m()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=o(e),n=new h,h[d]=null,n[p]=e):n=m(),void 0===t?n:i(n,t)}},"7dd0":function(e,t,n){var r=n("23e7"),o=n("9ed3"),i=n("e163"),a=n("d2bb"),s=n("d44e"),u=n("9112"),l=n("6eeb"),c=n("b622"),d=n("c430"),f=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,_=p.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",g="values",y="entries",b=function(){return this};e.exports=function(e,t,n,c,p,w,A){o(n,t,c);var x,S,T,E=function(e){if(e===p&&P)return P;if(!_&&e in C)return C[e];switch(e){case v:case g:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",I=!1,C=e.prototype,D=C[m]||C["@@iterator"]||p&&C[p],P=!_&&D||E(p),k="Array"==t&&C.entries||D;if(k&&(x=i(k.call(new e)),h!==Object.prototype&&x.next&&(d||i(x)===h||(a?a(x,h):"function"!=typeof x[m]&&u(x,m,b)),s(x,O,!0,!0),d&&(f[O]=b))),p==g&&D&&D.name!==g&&(I=!0,P=function(){return D.call(this)}),d&&!A||C[m]===P||u(C,m,P),f[t]=P,p)if(S={values:E(g),keys:w?P:E(v),entries:E(y)},A)for(T in S)(_||I||!(T in C))&&l(C,T,S[T]);else r({target:t,proto:!0,forced:_||I},S);return S}},"7f9a":function(e,t,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){var r=n("c04e"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},"861d":function(t,n){t.exports=function(t){return"object"===e(t)?null!==t:"function"==typeof t}},8875:function(e,t,n){var r,o,i;"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var n,r,o,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(f.stack)||i.exec(f.stack),s=a&&a[1]||!1,u=a&&a[2]||!1,l=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");s===l&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var d=0;d<c.length;d++){if("interactive"===c[d].readyState)return c[d];if(c[d].src===s)return c[d];if(s===l&&c[d].innerHTML&&c[d].innerHTML.trim()===o)return c[d]}return null}}return e})?r.apply(t,o):r)||(e.exports=i)},8925:function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){var r,o,i=n("ad6d"),a=n("9f7f"),s=RegExp.prototype.exec,u=String.prototype.replace,l=s,c=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(c||f||d)&&(l=function(e){var t,n,r,o,a=this,l=d&&a.sticky,p=i.call(a),h=a.source,_=0,m=e;return l&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),m=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",m=" "+m,_++),n=new RegExp("^(?:"+h+")",p)),f&&(n=new RegExp("^"+h+"$(?!\\s)",p)),c&&(t=a.lastIndex),r=s.call(l?n:a,m),l?r?(r.input=r.input.slice(_),r[0]=r[0].slice(_),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:c&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=l},"94ca":function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"99af":function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("e8b5"),a=n("861d"),s=n("7b0b"),u=n("50c4"),l=n("8418"),c=n("65f0"),d=n("1dde"),f=n("b622"),p=n("2d00"),h=f("isConcatSpreadable"),_=9007199254740991,m="Maximum allowed index exceeded",v=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=c(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(f+(o=u(i.length))>_)throw TypeError(m);for(n=0;n<o;n++,f++)n in i&&l(d,f,i[n])}else{if(f>=_)throw TypeError(m);l(d,f++,i)}return d.length=f,d}})},"9bdd":function(e,t,n){var r=n("825a");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}},"9bf2":function(e,t,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),a=n("d44e"),s=n("3f8c"),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,l,!1,!0),s[l]=u,e}},"9f7f":function(e,t,n){var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a2bf:function(e,t,n){var r=n("e8b5"),o=n("50c4"),i=n("0366");e.exports=function e(t,n,a,s,u,l,c,d){for(var f,p=u,h=0,_=!!c&&i(c,d,3);h<s;){if(h in a){if(f=_?_(a[h],h,n):a[h],l>0&&r(f))p=e(t,n,f,o(f.length),p,l-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=f}p++}h++}return p}},a352:function(e,t){e.exports=n},a434:function(e,t,n){var r=n("23e7"),o=n("23cb"),i=n("a691"),a=n("50c4"),s=n("7b0b"),u=n("65f0"),l=n("8418"),c=n("1dde"),d=n("ae40"),f=c("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,_=Math.min;r({target:"Array",proto:!0,forced:!f||!p},{splice:function(e,t){var n,r,c,d,f,p,m=s(this),v=a(m.length),g=o(e,v),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=v-g):(n=y-2,r=_(h(i(t),0),v-g)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=u(m,r),d=0;d<r;d++)(f=g+d)in m&&l(c,d,m[f]);if(c.length=r,n<r){for(d=g;d<v-r;d++)p=d+n,(f=d+r)in m?m[p]=m[f]:delete m[p];for(d=v;d>v-r+n;d--)delete m[d-1]}else if(n>r)for(d=v-r;d>g;d--)p=d+n-1,(f=d+r-1)in m?m[p]=m[f]:delete m[p];for(d=0;d<n;d++)m[d+g]=arguments[d+2];return m.length=v-r+n,c}})},a4d3:function(t,n,r){var o=r("23e7"),i=r("da84"),a=r("d066"),s=r("c430"),u=r("83ab"),l=r("4930"),c=r("fdbf"),d=r("d039"),f=r("5135"),p=r("e8b5"),h=r("861d"),_=r("825a"),m=r("7b0b"),v=r("fc6a"),g=r("c04e"),y=r("5c6c"),b=r("7c73"),w=r("df75"),A=r("241c"),x=r("057f"),S=r("7418"),T=r("06cf"),E=r("9bf2"),O=r("d1e7"),I=r("9112"),C=r("6eeb"),D=r("5692"),P=r("f772"),k=r("d012"),R=r("90e3"),L=r("b622"),M=r("e538"),j=r("746f"),B=r("d44e"),N=r("69f3"),F=r("b727").forEach,z=P("hidden"),H="Symbol",q="prototype",Y=L("toPrimitive"),U=N.set,G=N.getterFor(H),V=Object[q],X=i.Symbol,W=a("JSON","stringify"),Q=T.f,Z=E.f,K=x.f,J=O.f,$=D("symbols"),ee=D("op-symbols"),te=D("string-to-symbol-registry"),ne=D("symbol-to-string-registry"),re=D("wks"),oe=i.QObject,ie=!oe||!oe[q]||!oe[q].findChild,ae=u&&d((function(){return 7!=b(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Q(V,t);r&&delete V[t],Z(e,t,n),r&&e!==V&&Z(V,t,r)}:Z,se=function(e,t){var n=$[e]=b(X[q]);return U(n,{type:H,tag:e,description:t}),u||(n.description=t),n},ue=c?function(t){return"symbol"==e(t)}:function(e){return Object(e)instanceof X},le=function(e,t,n){e===V&&le(ee,t,n),_(e);var r=g(t,!0);return _(n),f($,r)?(n.enumerable?(f(e,z)&&e[z][r]&&(e[z][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,z)||Z(e,z,y(1,{})),e[z][r]=!0),ae(e,r,n)):Z(e,r,n)},ce=function(e,t){_(e);var n=v(t),r=w(n).concat(he(n));return F(r,(function(t){u&&!de.call(n,t)||le(e,t,n[t])})),e},de=function(e){var t=g(e,!0),n=J.call(this,t);return!(this===V&&f($,t)&&!f(ee,t))&&(!(n||!f(this,t)||!f($,t)||f(this,z)&&this[z][t])||n)},fe=function(e,t){var n=v(e),r=g(t,!0);if(n!==V||!f($,r)||f(ee,r)){var o=Q(n,r);return!o||!f($,r)||f(n,z)&&n[z][r]||(o.enumerable=!0),o}},pe=function(e){var t=K(v(e)),n=[];return F(t,(function(e){f($,e)||f(k,e)||n.push(e)})),n},he=function(e){var t=e===V,n=K(t?ee:v(e)),r=[];return F(n,(function(e){!f($,e)||t&&!f(V,e)||r.push($[e])})),r};l||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e);return u&&ie&&ae(V,t,{configurable:!0,set:function e(n){this===V&&e.call(ee,n),f(this,z)&&f(this[z],t)&&(this[z][t]=!1),ae(this,t,y(1,n))}}),se(t,e)},C(X[q],"toString",(function(){return G(this).tag})),C(X,"withoutSetter",(function(e){return se(R(e),e)})),O.f=de,E.f=le,T.f=fe,A.f=x.f=pe,S.f=he,M.f=function(e){return se(L(e),e)},u&&(Z(X[q],"description",{configurable:!0,get:function(){return G(this).description}}),s||C(V,"propertyIsEnumerable",de,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:X}),F(w(re),(function(e){j(e)})),o({target:H,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(te,t))return te[t];var n=X(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!ue(e))throw TypeError(e+" is not a symbol");if(f(ne,e))return ne[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:fe}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),o({target:"Object",stat:!0,forced:d((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),W&&o({target:"JSON",stat:!0,forced:!l||d((function(){var e=X();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ue(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),o[1]=t,W.apply(null,o)}}),X[q][Y]||I(X[q],Y,X[q].valueOf),B(X,H),k[z]=!0},a630:function(e,t,n){var r=n("23e7"),o=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(e){Array.from(e)}))},{from:o})},a640:function(e,t,n){var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},ab13:function(e,t,n){var r=n("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(o){}}return!1}},ac1f:function(e,t,n){var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("5135"),a=Object.defineProperty,s={},u=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],l=!!i(t,"ACCESSORS")&&t.ACCESSORS,c=i(t,0)?t[0]:u,d=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(l&&!r)return!0;var e={length:-1};l?a(e,1,{enumerable:!0,get:u}):e[1]=1,n.call(e,c,d)}))}},ae93:function(e,t,n){var r,o,i,a=n("e163"),s=n("9112"),u=n("5135"),l=n("b622"),c=n("c430"),d=l("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),c||u(r,d)||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},b041:function(e,t,n){var r=n("00ee"),o=n("f5df");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),o=n("9bf2").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in i)&&o(i,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),u=n("fdbf"),l=o("wks"),c=r.Symbol,d=u?c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(c,e)?l[e]=c[e]:l[e]=d("Symbol."+e)),l[e]}},b64b:function(e,t,n){var r=n("23e7"),o=n("7b0b"),i=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){i(1)}))},{keys:function(e){return i(o(e))}})},b727:function(e,t,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),a=n("50c4"),s=n("65f0"),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d;return function(p,h,_,m){for(var v,g,y=i(p),b=o(y),w=r(h,_,3),A=a(b.length),x=0,S=m||s,T=t?S(p,A):n?S(p,0):void 0;A>x;x++)if((f||x in b)&&(g=w(v=b[x],x,y),e))if(t)T[x]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:u.call(T,v)}else if(c)return!1;return d?-1:l||c?c:T}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},c740:function(e,t,n){var r=n("23e7"),o=n("b727").findIndex,i=n("44d2"),a=n("ae40"),s="findIndex",u=!0,l=a(s);s in[]&&Array(1)[s]((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},c8ba:function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(o){"object"===("undefined"==typeof window?"undefined":e(window))&&(r=window)}t.exports=r},c975:function(e,t,n){var r=n("23e7"),o=n("4d64").indexOf,i=n("a640"),a=n("ae40"),s=[].indexOf,u=!!s&&1/[1].indexOf(1,-0)<0,l=i("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!l||!c},{indexOf:function(e){return u?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},caad:function(e,t,n){var r=n("23e7"),o=n("4d64").includes,i=n("44d2");r({target:"Array",proto:!0,forced:!n("ae40")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},ce4e:function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),o=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,n){var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){n("746f")("iterator")},d2bb:function(e,t,n){var r=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,o=n("5135"),i=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},d58f:function(e,t,n){var r=n("1c0b"),o=n("7b0b"),i=n("44ad"),a=n("50c4"),s=function(e){return function(t,n,s,u){r(n);var l=o(t),c=i(l),d=a(l.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in c){u=c[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in c&&(u=n(u,c[f],f,l));return u}};e.exports={left:s(!1),right:s(!0)}},d784:function(e,t,n){n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),u=i("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((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,d){var h=i(e),_=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),m=_&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!_||!m||"replace"===e&&(!l||!c||f)||"split"===e&&!p){var v=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?_&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=g[0],b=g[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(e,t,n){var r=n("23e7"),o=n("b727").map,i=n("1dde"),a=n("ae40"),s=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!s||!u},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,n,r){(function(n){var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":e(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":e(window))&&window)||r("object"==("undefined"==typeof self?"undefined":e(self))&&self)||r("object"==e(n)&&n)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("56ef"),a=n("fc6a"),s=n("06cf"),u=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,l=i(r),c={},d=0;l.length>d;)void 0!==(n=o(r,t=l[d++]))&&u(c,t,n);return c}})},dbf1:function(e,t,n){(function(e){n.d(t,"a",(function(){return r}));var r="undefined"!=typeof window?window.console:e.console}).call(this,n("c8ba"))},ddb0:function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),a=n("9112"),s=n("b622"),u=s("iterator"),l=s("toStringTag"),c=i.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[u]!==c)try{a(p,u,c)}catch(_){p[u]=c}if(p[l]||a(p,l,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(_){p[h]=i[h]}}}},df75:function(e,t,n){var r=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return r(e,o)}},e01a:function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("da84"),a=n("5135"),s=n("861d"),u=n("9bf2").f,l=n("e893"),c=i.Symbol;if(o&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new c(e):void 0===e?c():c(e);return""===e&&(d[t]=!0),t};l(f,c);var p=f.prototype=c.prototype;p.constructor=f;var h=p.toString,_="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var n=_?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},e163:function(e,t,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),a=n("e177"),s=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),a=n("69f3"),s=n("7dd0"),u="Array Iterator",l=a.set,c=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){l(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e439:function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("fc6a"),a=n("06cf").f,s=n("83ab"),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e893:function(e,t,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=a.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},f5df:function(e,t,n){var r=n("00ee"),o=n("c6b6"),i=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},fb15:function(e,t,n){if(n.r(t),"undefined"!=typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||c(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 f(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(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.")}()}n("99af"),n("4de4"),n("4160"),n("c975"),n("d81d"),n("a434"),n("159b"),n("a4d3"),n("e439"),n("dbb4"),n("b64b"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0"),n("a630"),n("fb6a"),n("b0c0"),n("25f0");var p=n("a352"),h=n.n(p);function _(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function m(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}var v=n("dbf1");n("13d5"),n("4fad"),n("ac1f"),n("5319");var g,y,b=/-(\w)/g,w=(g=function(e){return e.replace(b,(function(e,t){return t.toUpperCase()}))},y=Object.create(null),function(e){return y[e]||(y[e]=g(e))});n("5db7"),n("73d9");var A=["Start","Add","Remove","Update","End"],x=["Choose","Unchoose","Sort","Filter","Clone"],S=["Move"],T=[S,A,x].flatMap((function(e){return e})).map((function(e){return"on".concat(e)})),E={manage:S,manageAndEmit:A,emit:x};n("caad"),n("2ca0");var O=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function I(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function C(e){return e.reduce((function(e,t){var n=d(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}function D(e){return Object.entries(e).filter((function(e){var t=d(e,2),n=t[0];return t[1],!I(n)})).map((function(e){var t=d(e,2),n=t[0],r=t[1];return[w(n),r]})).filter((function(e){var t,n=d(e,2),r=n[0];return n[1],t=r,!(-1!==T.indexOf(t))}))}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n("c740");var k=function(e){return e.el},R=function(e){return e.__draggable_context},L=function(){function e(t){var n=t.nodes,r=n.header,o=n.default,i=n.footer,a=t.root,s=t.realList;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultNodes=o,this.children=[].concat(f(r),f(o),f(i)),this.externalComponent=a.externalComponent,this.rootTransition=a.transition,this.tag=a.tag,this.realList=s}var t,n,r;return t=e,n=[{key:"render",value:function(e,t){var n=this.tag,r=this.children;return e(n,t,this._isRootComponent?{default:function(){return r}}:r)}},{key:"updated",value:function(){var e=this.defaultNodes,t=this.realList;e.forEach((function(e,n){var r,o;r=k(e),o={element:t[n],index:n},r.__draggable_context=o}))}},{key:"getUnderlyingVm",value:function(e){return R(e)}},{key:"getVmIndexFromDomIndex",value:function(e,t){var n=this.defaultNodes,r=n.length,o=t.children,i=o.item(e);if(null===i)return r;var a=R(i);if(a)return a.index;if(0===r)return 0;var s=k(n[0]),u=f(o).findIndex((function(e){return e===s}));return e<u?0:r}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}],n&&P(t.prototype,n),r&&P(t,r),e}(),M=n("8bbf");function j(e){var t=function(e){return["transition-group","TransitionGroup"].includes(e)}(e),n=!function(e){return O.includes(e)}(e)&&!t;return{transition:t,externalComponent:n,tag:n?Object(M.resolveComponent)(e):t?M.TransitionGroup:e}}function B(e){var t=e.$slots,n=e.tag,r=e.realList,o=function(e){var t=e.$slots,n=e.realList,r=e.getKey,o=n||[],i=["header","footer"].map((function(e){return(n=t[e])?n():[];var n})),a=d(i,2),s=a[0],l=a[1],c=t.item;if(!c)throw new Error("draggable element must have an item slot");var f=o.flatMap((function(e,t){return c({element:e,index:t}).map((function(t){return t.key=r(e),t.props=u(u({},t.props||{}),{},{"data-draggable":!0}),t}))}));if(f.length!==o.length)throw new Error("Item slot must have only one child");return{header:s,footer:l,default:f}}({$slots:t,realList:r,getKey:e.getKey}),i=j(n);return new L({nodes:o,root:i,realList:r})}function N(e,t){var n=this;Object(M.nextTick)((function(){return n.$emit(e.toLowerCase(),t)}))}function F(e){var t=this;return function(n,r){if(null!==t.realList)return t["onDrag".concat(e)](n,r)}}function z(e){var t=this,n=F.call(this,e);return function(r,o){n.call(t,r,o),N.call(t,e,r)}}var H=null,q={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(e){return e}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Y=["update:modelValue","change"].concat(f([].concat(f(E.manageAndEmit),f(E.emit)).map((function(e){return e.toLowerCase()})))),U=Object(M.defineComponent)({name:"draggable",inheritAttrs:!1,props:q,emits:Y,data:function(){return{error:!1}},render:function(){try{this.error=!1;var e=this.$slots,t=this.$attrs,n=this.tag,r=this.componentData,o=B({$slots:e,tag:n,realList:this.realList,getKey:this.getKey});this.componentStructure=o;var i=function(e){var t=e.$attrs,n=e.componentData,r=void 0===n?{}:n;return u(u({},C(Object.entries(t).filter((function(e){var t=d(e,2),n=t[0];return t[1],I(n)})))),r)}({$attrs:t,componentData:r});return o.render(M.h,i)}catch(a){return this.error=!0,Object(M.h)("pre",{style:{color:"red"}},a.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&v.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var e=this;if(!this.error){var t=this.$attrs,n=this.$el;this.componentStructure.updated();var r=function(e){var t=e.$attrs,n=e.callBackBuilder,r=C(D(t));Object.entries(n).forEach((function(e){var t=d(e,2),n=t[0],o=t[1];E[n].forEach((function(e){r["on".concat(e)]=o(e)}))}));var o="[data-draggable]".concat(r.draggable||"");return u(u({},r),{},{draggable:o})}({$attrs:t,callBackBuilder:{manageAndEmit:function(t){return z.call(e,t)},emit:function(t){return N.bind(e,t)},manage:function(t){return F.call(e,t)}}}),o=1===n.nodeType?n:n.parentElement;this._sortable=new h.a(o,r),this.targetDomElement=o,o.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{realList:function(){var e=this.list;return e||this.modelValue},getKey:function(){var e=this.itemKey;return"function"==typeof e?e:function(t){return t[e]}}},watch:{$attrs:{handler:function(e){var t=this._sortable;t&&D(e).forEach((function(e){var n=d(e,2),r=n[0],o=n[1];t.option(r,o)}))},deep:!0}},methods:{getUnderlyingVm:function(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent:function(e){return e.__draggable_component__},emitChanges:function(e){var t=this;Object(M.nextTick)((function(){return t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=f(this.modelValue);e(t),this.$emit("update:modelValue",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,f(e))};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var o=r.realList,i={list:o,component:r};return t!==n&&o?u(u({},r.getUnderlyingVm(n)||{}),i):i},getVmIndexFromDomIndex:function(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),H=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){_(e.item);var n=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(n,0,t);var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(m(this.$el,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context,n=t.index,r=t.element;this.spliceList(n,1);var o={element:r,oldIndex:n};this.emitChanges({removed:o})}else _(e.clone)},onDragUpdate:function(e){_(e.item),m(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=f(t.to.children).filter((function(e){return"none"!==e.style.display})),r=n.indexOf(t.related),o=e.component.getVmIndexFromDomIndex(r);return-1===n.indexOf(H)&&t.willInsertAfter?o+1:o},onDragMove:function(e,t){var n=this.move,r=this.realList;if(!n||!r)return!0;var o=this.getRelatedContextFromMoveEvent(e),i=this.computeFutureIndex(o,e),a=u(u({},this.context),{},{futureIndex:i});return n(u(u({},e),{},{relatedContext:o,draggedContext:a}),t)},onDragEnd:function(){H=null}}}),G=U;t.default=G},fb6a:function(e,t,n){var r=n("23e7"),o=n("861d"),i=n("e8b5"),a=n("23cb"),s=n("50c4"),u=n("fc6a"),l=n("8418"),c=n("b622"),d=n("1dde"),f=n("ae40"),p=d("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),_=c("species"),m=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,c,d=u(this),f=s(d.length),p=a(e,f),h=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[_])&&(n=void 0):n=void 0,n===Array||void 0===n))return m.call(d,p,h);for(r=new(void 0===n?Array:n)(v(h-p,0)),c=0;p<h;p++,c++)p in d&&l(r,c,d[p]);return r.length=c,r}})},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,n,r){var o=r("4930");t.exports=o&&!Symbol.sham&&"symbol"==e(Symbol.iterator)}}).default},t.exports=r(Ve,_r)}(Ge);var mr=A(Ge.exports),vr="_unitSubject_1igih_1",gr="_unitAnswers_1igih_10",yr="_unitAnswer_1igih_10",br="_option_1igih_22",wr="_value_1igih_25",Ar="_active_1igih_37",xr="_answerContent_1igih_41",Sr="_sortReset_1igih_54",Tr="_tips_1igih_62",Er="_itemsContainer_1igih_75",Or="_items_1igih_75",Ir="_imgs_1igih_81",Cr=(r("D",f({name:"choice-question",props:{value:{type:Array,default:function(){return[]}},index:{type:Number,default:1},data:{type:Object,default:function(){return{}}},readOnly:{type:Boolean,default:!1},showRate:{type:Boolean,default:!1},showAnalysis:{type:Boolean,default:!1},analysis:{type:Object,default:function(){return{message:"",topic:!1,userResult:!0}}}},emits:["update:value"],setup:function(e,t){var n=t.emit,r=t.slots,o=S({domId:"draggableContainer"+ +new Date,drag:!1,sortable:null,list:[],options:[],alst:[]}),i=O((function(){var t=e.data.answers||[],n=e.value||[];return t.forEach((function(e){var t=n.findIndex((function(t){return t.answerId===e.examinationQuestionAnswerId}));e.checked=-1!==t})),t})),a=function(){var t=e.data.answers||[],n=e.data.userAnswer||[];b((function(){if(n.length>0){var e=[];n.forEach((function(n,r){var o=t.find((function(e){return n.answerId===e.examinationQuestionAnswerId})),i=t.find((function(e){return n.answerExtra==e.questionExtra})),a={itemIndex:r,index:n.answerId,leftValue:n.answer,rightValue:n.answerExtra,leftType:o&&o.questionAnswerTypeCode||"TXT",rightType:o&&o.questionExtraTypeCode||"TXT",rightIndex:i?i.examinationQuestionAnswerId:""};e.push(a)})),o.options=e}}))};return k((function(){return o.options}),(function(){var e=o.options||[],t=[];e.forEach((function(e,n){t.push({answerId:e.index,answer:e.leftValue,answerExtra:n+1})})),n("update:value",t)})),R((function(){a()})),function(){return p(I,null,[p("div",{class:vr},[r.title&&r.title(),p(be,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:re.SORT,extra:{rightRate:e.data.rightRate,questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls}},null),p("div",{class:[gr]},[i.value.map((function(t,r){return p("div",{class:[yr,t.checked&&Ar],onClick:function(){return function(t){if(!t.checked&&!e.readOnly){var r=[];o.options.forEach((function(e,t){r.push({answerId:e.index,answer:e.leftValue,answerExtra:t+1})})),r.push({answerId:t.examinationQuestionAnswerId,answer:t.questionAnswer,answerExtra:o.list.length+1}),o.list.push({answerId:t.examinationQuestionAnswerId,answer:t.questionAnswer,answerExtra:o.list.length+1}),n("update:value",r),b((function(){a()}))}}(t)}},[p("div",{class:xr},[p("span",{class:br},[ne[r+1],E(".")]),t.questionAnswerTypeCode===le&&p("div",{class:wr},[p(q,{src:t.questionAnswer},null)]),t.questionAnswerTypeCode===ce&&p("div",{class:wr},[t.questionAnswer])])])})),p("div",{class:[Sr,"van-hairline--top"]},[p("span",{class:Tr},[E("请长按拖拽答案进行排序")]),p(L,{type:"primary",round:!0,disabled:e.readOnly,onClick:function(){o.options=[],o.list=[],function(){var e=o.list||[],t=[];e.forEach((function(e,n){t.push({answerId:e.answerId,answer:e.answer,answerExtra:n+1})})),n("update:value",t)}(),a()}},{default:function(){return[E("重置")]}})]),e.readOnly?o.options.map((function(e){return p("div",{class:Er},[e.leftType===ce&&p(G,{class:[Or],"data-id":e.itemIndex},{default:function(){return[e.leftValue]}}),e.leftType===le&&p(q,{src:e.leftValue,"data-id":e.itemIndex,class:[Ir,"van-hairline--surround"],fit:"cover"},null)])})):p(mr,{modelValue:o.options,"onUpdate:modelValue":function(e){return o.options=e},itemKey:"itemIndex",componentData:{itemKey:"id",tag:"div",animation:200,group:"description"}},{item:function(e){var t=e.element;return p("div",{class:Er},[t.leftType===ce&&p(G,{class:[Or],"data-id":t.itemIndex},{default:function(){return[t.leftValue]}}),t.leftType===le&&p(q,{src:t.leftValue,"data-id":t.itemIndex,class:[Ir,"van-hairline--surround"],fit:"cover"},null)])}})])]),e.showAnalysis&&p(Ce,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}})),"_unitSubject_1w9f3_1"),Dr="_unitAnswers_1w9f3_10",Pr="_answerItem_1w9f3_15",kr="_img_1w9f3_26",Rr="_unitItem_1w9f3_29",Lr="_active_1w9f3_45",Mr="_canvasSection_1w9f3_49",jr="_resetBtnGroup_1w9f3_54",Br=(r("K",f({name:"keep-look-question",props:{value:{type:Array,default:function(){return[]}},index:{type:Number,default:1},data:{type:Object,default:function(){return{}}},readOnly:{type:Boolean,default:!1},showRate:{type:Boolean,default:!1},showAnalysis:{type:Boolean,default:!1},analysis:{type:Object,default:function(){return{message:"",topic:!1,userResult:!0}}}},emits:["update:value"],setup:function(e,t){var n=t.emit,r=t.slots,o=M(),i=S({answerDomId:"answer"+ +new Date,answerRect:{},dpr:1,sortable:null,list:[],options:[],drawLineList:[],selectItem:[]}),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left",n=i.drawLineList||[],r=!1,o=0,a={};return n.forEach((function(n,i){(n.leftIndex===e&&"left"===t||n.rightIndex===e&&"right"===t)&&(a=n,r=!0,o=i)})),{status:r,selectIndex:o,selectOption:a}},s=function(){var e=j(o.value),t=i.selectItem[0],n=j(document.getElementById(t.index+"-left"));n.index=t.index;var r=i.selectItem[1],a=j(document.getElementById(r.index+"-right"));a.index=r.index,console.log(i.selectItem,n,a);var s={x:n.width,y:n.top+n.height/2-e.top},u={x:a.left-e.left,y:a.top+a.height/2-e.top};return i.options.forEach((function(e){e.index===n.index&&(e.leftLocked=!0),e.index===a.index&&(e.rightLocked=!0)})),{startPoint:s,endPoint:u,leftIndex:n.index,rightIndex:a.index}},u=function(e){if(e.getContext){var t=e.getContext("2d");t.clearRect(0,0,i.answerRect.width*i.dpr||0,i.answerRect.height*i.dpr||0),i.drawLineList.forEach((function(e){l(t,e.startPoint,e.endPoint)}))}},l=function(e,t,n){e.beginPath(),e.moveTo(Math.floor(t.x-1)*i.dpr,Math.ceil(t.y)*i.dpr),e.lineTo(Math.ceil(n.x+1)*i.dpr,Math.ceil(n.y)*i.dpr),e.lineWidth=2*i.dpr,e.strokeStyle="#1CACF1",e.stroke()},c=function(){var e=i.options||[],t=i.drawLineList||[],r=[];t.forEach((function(t){var n=e.find((function(e){return e.index===t.leftIndex})),o=e.find((function(e){return e.index===t.rightIndex}));r.push({answerId:n.index,answer:n.leftValue,answerExtra:o.rightValue})})),n("update:value",r)};return R((function(){var t,n;t=e.data.answers||[],n=e.data.userAnswer||[],t.forEach((function(e){var t={index:e.examinationQuestionAnswerId,leftValue:e.questionAnswer,rightValue:e.questionExtra,leftType:e.questionAnswerTypeCode||"TXT",rightType:e.questionExtraTypeCode||"TXT",left:!1,right:!1,leftLocked:!1,rightLocked:!1};i.options.push(t)})),n.forEach((function(e){var t={startPoint:{x:0,y:0},endPoint:{x:0,y:0},leftIndex:0,rightIndex:0};i.options.forEach((function(n){n.index===e.answerId&&(n.left=!0,n.leftLocked=!0,t.leftIndex=n.index),n.rightValue===e.answerExtra&&(n.right=!0,n.leftLocked=!0,t.rightIndex=n.index)})),i.drawLineList.push(t)})),b((function(){i.drawLineList.forEach((function(e){i.selectItem=[];var t=j(document.getElementById(e.leftIndex+"-left"));t.index=e.leftIndex,i.selectItem[0]=t;var n=j(document.getElementById(e.rightIndex+"-right"));n.index=e.rightIndex,i.selectItem[1]=n;var r=s();e.endPoint=r.endPoint,e.startPoint=r.startPoint,i.selectItem=[]})),setTimeout((function(){u(o.value)}),100)})),b((function(){var e=document.getElementById(i.answerDomId),t=j(e);i.answerRect=t;var n=window.devicePixelRatio;i.dpr=n}))})),function(){return p(I,null,[p("div",{class:Cr},[r.title&&r.title(),p(be,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:re.LINK,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),p("div",{class:[Dr],id:i.answerDomId},[p("canvas",{ref:o,class:Mr,width:i.answerRect.width*i.dpr||0,height:i.answerRect.height*i.dpr||0,style:{width:(i.answerRect.width||0)+"px",height:(i.answerRect.height||0)+"px"}},null),i.options.map((function(t){return p("div",{class:Pr},[p("div",{class:[Rr,t.left&&Lr],id:t.index+"-left",onClick:function(n){return function(t,n){if(!e.readOnly){i.options.forEach((function(e){e.leftLocked||n.index===e.index||(e.left=!1)}));var r=a(n.index,"left");if(r.status)i.options.forEach((function(e){e.rightLocked||(e.right=!1)})),i.selectItem=[],i.drawLineList.splice(r.selectIndex,1),u(o.value),i.options.forEach((function(e){r.selectOption.leftIndex===e.index&&(e.left=!1,e.leftLocked=!1),r.selectOption.rightIndex===e.index&&(e.right=!1,e.rightLocked=!1)}));else if(n.left=!n.left,n.left?i.selectItem[0]={index:n.index}:i.selectItem[0]=null,i.selectItem[0]&&i.selectItem[1]){var l=s();i.drawLineList.push(l),i.selectItem=[],u(o.value)}c()}}(0,t)}},[t.leftType===ce&&t.leftValue,t.leftType===le&&p(q,{src:t.leftValue,class:kr},null)]),p("div",{class:[Rr,t.right&&Lr],id:t.index+"-right",onClick:function(n){return function(t,n){if(!e.readOnly){i.options.forEach((function(e){e.rightLocked||n.index===e.index||(e.right=!1)}));var r=a(n.index,"right");if(r.status)i.options.forEach((function(e){e.leftLocked||(e.left=!1)})),i.selectItem=[],i.drawLineList.splice(r.selectIndex,1),u(o.value),i.options.forEach((function(e){r.selectOption.leftIndex===e.index&&(e.left=!1,e.leftLocked=!1),r.selectOption.rightIndex===e.index&&(e.right=!1,e.rightLocked=!1)}));else if(n.right=!n.right,n.right?i.selectItem[1]={index:n.index}:i.selectItem[1]=null,i.selectItem[0]&&i.selectItem[1]){var l=s();i.drawLineList.push(l),i.selectItem=[],u(o.value)}c()}}(0,t)}},[t.rightType===ce&&t.rightValue,t.rightType===le&&p(q,{src:t.rightValue,class:kr},null)])])}))]),p("div",{class:jr},[p(L,{round:!0,type:"primary",disabled:e.readOnly,onClick:function(){i.drawLineList=[],u(o.value),i.options.forEach((function(e){e.left=!1,e.right=!1,e.leftLocked=!1,e.rightLocked=!1})),i.selectItem=[],c()}},{default:function(){return[E("重置")]}})])]),e.showAnalysis&&p(Ce,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}})),"_unitSubject_1j7w8_1"),Nr="_unitAnswers_1j7w8_10",Fr="_playSection_1j7w8_14",zr="_img_1j7w8_19",Hr="_playTitle_1j7w8_24",qr="_playBtn_1j7w8_29",Yr="_unitScoreNum_1j7w8_37",Ur="_score_1j7w8_42",Gr="_scoreTitle_1j7w8_47",Vr="_scoreTips_1j7w8_53",Xr=""+new URL("icon-song-c2cb716c.png",o.meta.url).href,Wr=(r("P",f({name:"choice-question",props:{value:{type:Array,default:function(){return[]}},index:{type:Number,default:1},data:{type:Object,default:function(){return{}}},unitId:{type:String,default:""},readOnly:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},showRate:{type:Boolean,default:!1},showAnalysis:{type:Boolean,default:!1},analysis:{type:Object,default:function(){return{message:"",topic:!1,userResult:!0,score:0}}}},emits:["update:value"],setup:function(e,t){var n=t.emit,r=t.slots;console.log(e,"props");var o=S({list:[],score:0}),i=O((function(){return e.data.questionExtendsInfo?JSON.parse(e.data.questionExtendsInfo):""})),a=function(){var t=i.value;t&&(console.log(e.unitId),B({api:"openAccompanyWebView",content:{url:"".concat(location.origin,"/orchestra-music-score/?id=").concat(t.musicSheetId,"&modelType=evaluation&unitId=").concat(e.unitId,"&questionId=").concat(e.data.id),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}}),N("webViewOnResume",(function(){if(F().android){var t,r,i=window.ORCHESTRA||(null===(t=window.webkit)||void 0===t||null===(r=t.messageHandlers)||void 0===r?void 0:r.ORCHESTRA);console.log(i,"-------------");var a=i.getCache2("h5-orchestra-unit");console.log("🚀 ~ listenerMessage ~ result",a);var s=a?JSON.parse(a):{};if(s.questionId===e.data.id){var u=s.score||0;o.score<u&&(o.score=s.score||0),z({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}n("update:value",[{answerId:"",answer:o.score,answerExtra:""}]),H("webViewOnResume",(function(){}))}else z({api:"getCache",content:{key:"h5-orchestra-unit"}}).then((function(t){var r=t.content;if(r.value){console.log("🚀 ~ listenerMessage ~ content.value",r.value,"---------------");var i=r.value?JSON.parse(r.value):{};if(console.log("🚀 ~ listenerMessage ~ result",i,e.data.questionId),i.questionId===e.data.id){var a=i.score||0;o.score<a&&(o.score=i.score||0)}n("update:value",[{answerId:"",answer:o.score,answerExtra:""}]),z({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}H("webViewOnResume",(function(){}))}))})))};return R((function(){var t=e.value||[];t.length>0&&(o.score=t[0].answer)})),function(){return p(I,null,[p("div",{class:Br},[r.title&&r.title(),p(be,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:re.PLAY,extra:{questionDetail:e.data.questionDetail,mediaUrls:"",rightRate:e.data.rightRate}},null),p("div",{class:[Nr]},[i.value&&p(V,{class:Fr,center:!0,titleClass:["van-ellipsis",Hr]},{icon:function(){return p(q,{class:zr,src:Xr},null)},title:function(){return p(I,null,[i.value.musicName])},value:function(){return p(L,{round:!0,class:qr,type:"primary",onClick:a,disabled:e.readOnly},{default:function(){return[E("点击评测"),p(v,{name:"play"},null)]}})}}),(!e.readOnly||e.showScore)&&p("div",{class:["van-hairline--top",Yr]},[p("div",{class:Ur},[o.score]),p("div",{class:Gr},[E("评测分数")]),!e.showScore&&p("div",{class:Vr},[E("多次评测取完整评测的最高分数")])])])]),e.showAnalysis&&p(Ce,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult,rightFlagText:"合格",errorFlagText:"不合格"},null)])}}})),{popupResult:"_popupResult_1smys_1",resultTitle:"_resultTitle_1smys_6",titleImg:"_titleImg_1smys_15",result:"_result_1smys_6",yes:"_yes_1smys_29",no:"_no_1smys_33",resultContent:"_resultContent_1smys_36"}),Qr=(r("E",f({name:"result-mode",props:{confirmButtonText:{type:String,default:"我知道了"},answerAnalysis:{type:String,default:""},questionTypeCode:{type:String,default:""}},emits:["close","conform"],setup:function(e,t){var n=t.emit;return function(){return p("div",{class:Wr.popupResult},[p("div",{class:Wr.resultTitle},[p(q,{src:Ie,class:Wr.titleImg},null),"PLAY"===e.questionTypeCode?"不合格!":"回答错误!"]),p("div",{class:Wr.resultContent},[p("span",null,[E("答案解析:")]),e.answerAnalysis]),p(L,{type:"primary",round:!0,class:Wr.btn,block:!0,onClick:function(){n("conform"),n("close")}},{default:function(){return[e.confirmButtonText]}})])}}})),{finishResult:"_finishResult_v13hc_1",finishContainer:"_finishContainer_v13hc_5",finishTitle:"_finishTitle_v13hc_12",scoreResult:"_scoreResult_v13hc_37",finishFail:"_finishFail_v13hc_46",finishPass:"_finishPass_v13hc_50",finishGood:"_finishGood_v13hc_54",finishCountdown:"_finishCountdown_v13hc_58",finishBtnGroup:"_finishBtnGroup_v13hc_62",finishLeft:"_finishLeft_v13hc_72",finishRight:"_finishRight_v13hc_73"});r("R",f({name:"result-mode",props:{showConfirmButton:{type:Boolean,default:!0},confirmButtonText:{type:String,default:"确认"},showCancelButton:{type:Boolean,default:!1},cancelButtonText:{type:String,default:"取消"},status:{type:String,default:"DEFAULT"},title:{type:String,default:"确认退出吗?"},contentHtml:{type:Boolean,default:!1},content:{type:String,default:""},textAlign:{type:String,default:"flex-start"}},emits:["close","conform"],setup:function(e,t){var n=t.slots,r=t.emit;return function(){return p("div",{class:[Qr.finishResult,"FAIL"===e.status&&Qr.finishFail,"PASS"===e.status&&Qr.finishPass,"GOOD"===e.status&&Qr.finishGood,"COUNTDOWN"===e.status&&Qr.finishCountdown]},[p("div",{class:Qr.finishContainer},[p("div",{class:Qr.finishContent},[p("div",{class:Qr.finishTitle},[p("span",null,[e.title])]),n.content?n.content():p(I,null,[e.contentHtml?p("div",{class:Qr.scoreResult,style:{justifyContent:e.textAlign},innerHTML:e.content},null):p("div",{class:Qr.scoreResult},[e.content])])]),p("div",{class:Qr.finishBtnGroup},[e.showCancelButton&&p("div",{class:Qr.finishLeft,onClick:function(){return r("close")}},[e.cancelButtonText]),e.showConfirmButton&&p("div",{class:Qr.finishRight,onClick:function(){return r("conform")}},[e.confirmButtonText])])])])}}}))}}}))}();
|