123456789101112131415161718192021222324252627282930 |
- !function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(k){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new I(r||[]);return i(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(k){return{type:"throw",arg:k}}}t.wrap=d;var p={};function h(){}function _(){}function m(){}var g={};c(g,s,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(C([])));y&&y!==n&&o.call(y,s)&&(g=y);var b=m.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(i,a,s,u){var l=f(e[i],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,u)}))}u(l.arg)}var a;i(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return _.prototype=m,i(b,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:_,configurable:!0}),_.displayName=c(m,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},t.awrap=function(e){return{__await:e}},w(A.prototype),c(A.prototype,u,(function(){return this})),t.AsyncIterator=A,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new A(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),c(b,l,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}function t(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function n(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}}function r(e){return r="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},r(e)}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(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 i(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)||a(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 a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(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-c76f60e8.js","./index-legacy-d3880f7c.js","./index-legacy-34671a3b.js","./index-legacy-0244f708.js","./index-legacy-02420b66.js","./index-legacy-81dcb9b4.js","./index-legacy-1585a5fa.js","./index-legacy-cc54fa96.js","./index-legacy-de4379aa.js"],(function(t,a){"use strict";var s,u,l,c,d,f,p,h,_,m,g,v,y,b,w,A,x,S,T,E,I,C,O,k,D,j,L,R,P,M,N,B,F,q,z,H,U,X,V,G,Y,Q,K,W,Z,J,$,ee,te,ne,re,oe,ie,ae;return{setters:[function(e){s=e.c,u=e.a6,l=e.ad,c=e.t,d=e.ae,f=e.m,p=e.af,h=e.d,_=e.a,m=e.h,g=e.ab,v=e.V,y=e.I,b=e.H,w=e.L,A=e.z,x=e.k,S=e.ag,T=e.ah,E=e.x,I=e.ai,C=e.A,O=e.e,k=e.F,D=e.a1,j=e.aj,L=e.ak,R=e.w,P=e.y,M=e.C,N=e.r,B=e.Z,F=e.al,q=e.am,z=e.R,H=e.an,U=e.ao,X=e.U,V=e.q,G=e.M,Y=e.S,Q=e.D},function(e){K=e.M},function(e){W=e.T},function(e){Z=e.I},function(e){J=e.G,$=e.a},function(e){ee=e.O},function(e){te=e.C},function(e){ne=e.b,re=e.u,oe=e.a},function(e){ie=e.S,ae=e.a}],execute:function(){var se=document.createElement("style");se.textContent="._unitDetail_1eas7_1{min-height:100vh;overflow:hidden;background:url("+new URL("bg-a9662afa.png",a.meta.url).href+") no-repeat top center;background-size:contain;position:relative;background-color:#abe8ff}._unitSwipe_1eas7_9{margin-top:2rem}._unitSwipe_1eas7_9 ._questionTitle_1eas7_12{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;font-weight:700;color:#333;padding-bottom:.32rem}._unitSwipe_1eas7_9 ._questionTitle_1eas7_12 ._questionNum_1eas7_21 span{color:#ff5a56}._unitSwipe_1eas7_9 ._questionTitle_1eas7_12 ._questionType_1eas7_24{display:flex;align-items:center}._unitSwipe_1eas7_9 ._questionTitle_1eas7_12 ._questionType_1eas7_24 i{margin-right:.16rem;display:inline-block;width:.53333rem;height:.53333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAACuElEQVRYCe2YT2sTURDAZzabFjSxiCC1qcFqS7BYQWkEwZv9AB4qeBb8Ar0Lgne/QMVeRCT05LmlHoQiVdRW7MFKxZpqKR40pWDi7jiz8TWb7L50s7u2he5C2Hnz95d5u499D2+WSik4wJdxgNkcNLMV8H5f5ciAsTUGSF2tNhkTYqVmwZfb5VPLfnad7lHu2/l0CvJIlPX1Iayu2pmZu+vZbbfdA1hIVWYZo+h2apKJoJv7XjpdLtuGMfmxlnnQmlT5y58dSm9NGLZ9h3U5IGXxuSMB114AyF51W32muA2cO5ILcuF7BfPX26n+jeFmE4DoCmblnfiwLddq9x97a/sA+odqtQRnjxrW3MP+zQHlI7LogGhHp2yd3qMDSkWiE8ew9kQVd2TWqXGUu+cZDJ+Mio/z6zecePJOVdi8MQICpG265YBgWBxvXKyAiHilXqLd6+qFaKfZATxzaeRaCqkXNsvt/NvaCKFPHHjFCH2du3xh3CL8/vnN0gtJ4rwkQ6MXJ0yDniPC09CZOZAXYVN+kXIwg7AIk+RxkhFZPDURHxyDUw2P19k+TAPYf6Jw8sIgTP86GCmTCu7JA2R66z+RY7riWQcFBl0fRW45Imh8gBFBdOEJoK4zQfVJB4N2SueXdFDXmaD6pINBO6XzSzqo60xQfdLBoJ3S+R2iDlq/G01wyw1tKCnS53lTxZ9rAGvzrOINicgxXfEBClj5ZUxYjTSeZ/Cr2dOw7rHkV9vTwcnjRRis/oAU2HuKZ/EGc6XLe1qiAKuKpsb7ieXuk2q4n3eHyZliApziPfHGftK4awuLMInO6eCn1+/nWA54hudOBTA4OjLPm1j/A0/EhZVXS00Hks3Ru4/UFO/uqfGwqnjdMGmMza1HxlW7hjOasMDqyICri4vbXO1Z4IodOnqWmQ7j/7v7Xwtnr/nyIvR9AAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._wapList_1eas7_36{width:1.17333rem;height:1.30667rem;flex-shrink:0;margin-left:.48rem}._practiceResult_1eas7_42 ._practiceTitle_1eas7_42{font-size:.53333rem;font-weight:600;color:#191919;line-height:.74667rem}._practiceResult_1eas7_42 ._practiceRate_1eas7_48{padding-top:.4rem;font-size:1.6rem;font-weight:700;color:#f67146;line-height:1.86667rem}._practiceResult_1eas7_42 .van-grid{padding-top:.26667rem;padding-bottom:.26667rem;margin-left:5%;width:90%}._practiceResult_1eas7_42 .van-grid-item__content{background-color:transparent}._practiceResult_1eas7_42 ._title_1eas7_64{font-size:.64rem;font-weight:700;color:#333;line-height:.74667rem}._practiceResult_1eas7_42 ._name_1eas7_70{padding-top:.08rem;font-size:.37333rem;color:#777;line-height:.53333rem}._practiceResult_1eas7_42 ._practiceTips_1eas7_76{margin-left:10%;width:80%;background:linear-gradient(135deg,#fff4da 0%,#ffe6c4 100%);border-radius:.26667rem;padding:.37333rem 0;text-align:center;font-size:.4rem;font-weight:500;color:#703a17;line-height:.56rem;letter-spacing:.02667rem}._btnSection_1eas7_89{background-color:#fff;padding-top:.53333rem;--van-button-default-height: 1.30667rem}._btnSection_1eas7_89 ._prevBtn_1eas7_94,._btnSection_1eas7_89 ._nextBtn_1eas7_95,._btnSection_1eas7_89 ._activePrevBtn_1eas7_96{width:3.30667rem!important;border:none;color:#fff}._btnSection_1eas7_89 ._prevBtn_1eas7_94{background:url("+new URL("prev_btn_bg-b6b2b4bd.png",a.meta.url).href+") no-repeat center;background-size:contain}._btnSection_1eas7_89 ._activePrevBtn_1eas7_96{background:url("+new URL("next_btn_bg-efb37605.png",a.meta.url).href+") no-repeat center;background-size:contain}._btnSection_1eas7_89 ._nextBtn_1eas7_95{background:url("+new URL("next_btn_bg-efb37605.png",a.meta.url).href+") no-repeat center;background-size:contain}._btnSection_1eas7_89 .van-button--disabled{color:#587c98}._btnSection_1eas7_89 .van-button--disabled:before{opacity:.2!important}._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_1x634_1{margin:.32rem;background:#FFF6D7;border-radius:.26667rem;border:.18667rem solid #FFFAE5;padding:.4rem .34667rem}._answerAnalysis_1x634_1 ._analysisResult_1x634_8{display:flex;align-items:center;font-size:.42667rem;font-weight:600;color:#333;padding-bottom:.53333rem}._answerAnalysis_1x634_1 ._analysisResult_1x634_8 ._aImg_1x634_16{font-size:.48rem;margin-right:.16rem}._answerAnalysis_1x634_1 ._success_1x634_20{color:#3b8df3}._answerAnalysis_1x634_1 ._error_1x634_23{color:#f44541}._answerAnalysis_1x634_1 ._analysisTitle_1x634_26{padding-bottom:.26667rem}._answerAnalysis_1x634_1 ._analysisMessage_1x634_29{font-size:.4rem;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_1yzxl_1{min-height:20vh;padding:.53333rem 0}._anserList_1yzxl_1 ._status_1yzxl_5{display:flex;align-items:center;padding:0 .53333rem .8rem}._anserList_1yzxl_1 ._status_1yzxl_5 span{display:flex;align-items:center;font-size:.42667rem;font-weight:500;color:#333}._anserList_1yzxl_1 ._status_1yzxl_5 span+span{margin-left:.8rem}._anserList_1yzxl_1 ._status_1yzxl_5 i{display:inline-block;width:.48rem;height:.48rem;background-color:#eaeaea;border-radius:50%;margin-right:.21333rem}._anserList_1yzxl_1 ._aList_1yzxl_28{margin:0 .26667rem}._anserList_1yzxl_1 ._aList_1yzxl_28 .van-grid-item__content{padding:0 0 .34667rem}._anserList_1yzxl_1 ._aList_1yzxl_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_1yzxl_1 ._aList_1yzxl_28 ._answered_1yzxl_46{background:#ff8057;color:#fff}._anserList_1yzxl_1 ._aList_1yzxl_28 ._yes_1yzxl_50{background-color:#71b0ff;color:#fff}._anserList_1yzxl_1 ._aList_1yzxl_28 ._no_1yzxl_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_4o8nc_1{padding:.4rem;margin:0 .34667rem;background-color:#fff;border-radius:.26667rem}._unitSubject_4o8nc_1+._unitSubject_4o8nc_1{margin-top:.32rem}._unitAnswers_4o8nc_10{position:relative;padding-top:.53333rem;padding-bottom:.53333rem}._unitAnswers_4o8nc_10 ._answerItem_4o8nc_15{position:relative;z-index:2;margin-bottom:.4rem;display:flex;align-items:center;justify-content:space-between}._unitAnswers_4o8nc_10 ._answerItem_4o8nc_15:last-child{margin-bottom:0}._unitAnswers_4o8nc_10 ._img_4o8nc_26{width:2.53333rem}._unitAnswers_4o8nc_10 ._unitItem_4o8nc_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_4o8nc_10 ._active_4o8nc_45{border:.05333rem solid #0F77C4;color:#0f77c4}._canvasSection_4o8nc_49{position:absolute;top:0;left:0}._resetBtnGroup_4o8nc_54{text-align:right;padding-bottom:.42667rem}._resetBtnGroup_4o8nc_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_1jfdh_1{color:#333;font-size:.4rem}._finishResult_1jfdh_1 ._finishContainer_1jfdh_5{background:url("+new URL("exam-pass-bg-d1f87873.png",a.meta.url).href+") no-repeat top center;background-size:contain;height:11.01333rem}._finishResult_1jfdh_1 ._finishContent_1jfdh_10{padding-top:4.8rem;text-align:center}._finishResult_1jfdh_1 ._finishContent_1jfdh_10 ._scoreNums_1jfdh_14{line-height:1.86667rem;font-size:1.6rem;font-weight:700;color:#f67146}._finishResult_1jfdh_1 ._finishContent_1jfdh_10 ._scoreNums_1jfdh_14 span{font-size:.53333rem;padding-left:.26667rem}._finishResult_1jfdh_1 ._finishContent_1jfdh_10 ._scoreName_1jfdh_24{font-size:.53333rem;font-weight:600;color:#191919;padding:.26667rem 0 .53333rem;max-width:80%;margin-left:10%;line-height:.74667rem}._finishResult_1jfdh_1 ._finishContent_1jfdh_10 ._scoreResult_1jfdh_33{font-size:.42667rem;font-weight:500;color:#f44541}._finishFail_1jfdh_38 ._finishContainer_1jfdh_5{background:url("+new URL("exam-fail-bg-09e72bf3.png",a.meta.url).href+") no-repeat top center;background-size:contain;height:11.01333rem}._finishPractice_1jfdh_43 ._finishContainer_1jfdh_5{background:url("+new URL("exam-pass-bg-p-a289cf95.png",a.meta.url).href+") no-repeat top center;background-size:contain;height:13.68rem}._finishBtnGroup_1jfdh_48{margin-top:.8rem;display:flex;align-items:center;justify-content:center}._finishBtnGroup_1jfdh_48 ._finishLeft_1jfdh_54,._finishBtnGroup_1jfdh_48 ._finishRight_1jfdh_55{text-align:center;height:1.33333rem;line-height:1.17333rem;width:100%;font-size:.48rem;font-weight:500}._finishBtnGroup_1jfdh_48 ._finishLeft_1jfdh_54{color:#703a17;background:url(data:image/png;base64,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) no-repeat center center;background-size:contain}._finishBtnGroup_1jfdh_48 ._finishRight_1jfdh_55{color:#722b0f;background:url(data:image/png;base64,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) no-repeat center center;background-size:contain}\n",document.head.appendChild(se);var ue=i(s("action-sheet"),2),le=ue[0],ce=ue[1],de=u({},l,{title:String,round:c,actions:d(),closeIcon:f("cross"),closeable:c,cancelText:String,description:String,closeOnPopstate:c,closeOnClickAction:Boolean,safeAreaInsetBottom:c}),fe=[].concat(o(p),["round","closeOnPopstate","safeAreaInsetBottom"]),pe=h({name:le,props:de,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 _("div",{class:ce("header")},[e.title,e.closeable&&_(y,{name:e.closeIcon,class:[ce("close"),b],onClick:i},null)])},s=function(){if(n.cancel||e.cancelText)return[_("div",{class:ce("gap")},null),_("button",{type:"button",class:ce("cancel"),onClick:i},[n.cancel?n.cancel():e.cancelText])]},u=function(e,t){return e.loading?_(w,{class:ce("loading-icon")},null):n.action?n.action({action:e,index:t}):[_("span",{class:ce("name")},[e.name]),e.subname&&_("div",{class:ce("subname")},[e.subname])]},l=function(t,n){var i=t.color,a=t.loading,s=t.callback,l=t.disabled,c=t.className;return _("button",{type:"button",style:{color:i},class:[ce("item",{loading:a,disabled:l}),c],onClick:function(){l||a||(s&&s(t),e.closeOnClickAction&&o(!1),A((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 _("div",{class:ce("description")},[t])}};return function(){return _(v,m({class:ce(),position:"bottom","onUpdate:show":o},g(e,fe)),{default:function(){var t;return[a(),c(),_("div",{class:ce("content")},[e.actions.map(l),null==(t=n.default)?void 0:t.call(n)]),s()]}})}}}),he=x(pe),_e="_unitDetail_1eas7_1",me="_unitSwipe_1eas7_9",ge="_questionTitle_1eas7_12",ve="_questionNum_1eas7_21",ye="_questionType_1eas7_24",be="_wapList_1eas7_36",we="_practiceResult_1eas7_42",Ae="_practiceTitle_1eas7_42",xe="_practiceRate_1eas7_48",Se="_title_1eas7_64",Te="_name_1eas7_70",Ee="_practiceTips_1eas7_76",Ie="_btnSection_1eas7_89",Ce="_prevBtn_1eas7_94",Oe="_nextBtn_1eas7_95",ke="_activePrevBtn_1eas7_96",De={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}(De);var je=new(S(De.exports)),Le={1:"A",2:"B",3:"C",4:"D",5:"E",6:"F",7:"G",8:"H",9:"I",10:"J"},Re="RADIO",Pe="CHECKBOX",Me="LINK",Ne="SORT",Be="PLAY",Fe="单选题",qe="多选题",ze="连线题",He="排序题",Ue="演奏题",Xe="IMAGE",Ve="TXT",Ge="AUDIO",Ye={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"},Qe="_unitAudio_1g6zx_1",Ke="_htmlAudio_1g6zx_9",We="_htmlTimes_1g6zx_23",Ze="_iconAudio_1g6zx_31",Je="_audioStatus_1g6zx_35",$e={};
- /*!
- * howler.js v2.2.3
- * howlerjs.com
- *
- * (c) 2013-2020, James Simpson of GoldFire Studios
- * goldfirestudios.com
- *
- * MIT License
- */
- !function(e){!function(){var t=function(){this.init()};t.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 t,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 g=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 v=window&&window.ejecta||!_.readyState&&n._navigator.isCocoonJS;if(_.readyState>=3||v)g();else{r._playLock=!0,r._state="loading";_.addEventListener(n._canPlayEvent,(function e(){r._state="loaded",g(),_.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()}};e.Howler=n,e.Howl=r,void 0!==T?(T.HowlerGlobal=t,T.Howler=n,T.Howl=r,T.Sound=o):"undefined"!=typeof window&&(window.HowlerGlobal=t,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 e;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=(e=Howl.prototype.init,function(t){var n=this;return n._orientation=t.orientation||[1,0,0],n._stereo=t.stereo||null,n._pos=t.pos||null,n._pannerAttr={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:0,distanceModel:void 0!==t.distanceModel?t.distanceModel:"inverse",maxDistance:void 0!==t.maxDistance?t.maxDistance:1e4,panningModel:void 0!==t.panningModel?t.panningModel:"HRTF",refDistance:void 0!==t.refDistance?t.refDistance:1,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:1},n._onstereo=t.onstereo?[{fn:t.onstereo}]:[],n._onpos=t.onpos?[{fn:t.onpos}]:[],n._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}),Howl.prototype.stereo=function(e,n){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(e,n)}}),r;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof e)return r._stereo;r._stereo=e,r._pos=[e,0,0]}for(var i=r._getSoundIds(n),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||t(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,n,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,n,r,o)}}),i;if(n="number"!=typeof n?0:n,r="number"!=typeof r?-.5:r,void 0===o){if("number"!=typeof e)return i._pos;i._pos=[e,n,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,n,r],u._node&&(u._panner&&!u._panner.pan||t(u,"spatial"),void 0!==u._panner.positionX?(u._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(r,Howler.ctx.currentTime)):u._panner.setPosition(e,n,r)),i._emit("pos",u._id)}}return i},Howl.prototype.orientation=function(e,n,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,n,r,o)}}),i;if(n="number"!=typeof n?i._orientation[1]:n,r="number"!=typeof r?i._orientation[2]:r,void 0===o){if("number"!=typeof e)return i._orientation;i._orientation=[e,n,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,n,r],u._node&&(u._panner||(u._pos||(u._pos=i._pos||[0,0,-.5]),t(u,"spatial")),void 0!==u._panner.orientationX?(u._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),u._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),u._panner.orientationZ.setValueAtTime(r,Howler.ctx.currentTime)):u._panner.setOrientation(e,n,r)),i._emit("orientation",u._id)}}return i},Howl.prototype.pannerAttr=function(){var e,n,o,i=this,a=arguments;if(!i._webAudio)return i;if(0===a.length)return i._pannerAttr;if(1===a.length){if("object"!==r(a[0]))return(o=i._soundById(parseInt(a[0],10)))?o._pannerAttr:i._pannerAttr;e=a[0],void 0===n&&(e.pannerAttr||(e.pannerAttr={coneInnerAngle:e.coneInnerAngle,coneOuterAngle:e.coneOuterAngle,coneOuterGain:e.coneOuterGain,distanceModel:e.distanceModel,maxDistance:e.maxDistance,refDistance:e.refDistance,rolloffFactor:e.rolloffFactor,panningModel:e.panningModel}),i._pannerAttr={coneInnerAngle:void 0!==e.pannerAttr.coneInnerAngle?e.pannerAttr.coneInnerAngle:i._coneInnerAngle,coneOuterAngle:void 0!==e.pannerAttr.coneOuterAngle?e.pannerAttr.coneOuterAngle:i._coneOuterAngle,coneOuterGain:void 0!==e.pannerAttr.coneOuterGain?e.pannerAttr.coneOuterGain:i._coneOuterGain,distanceModel:void 0!==e.pannerAttr.distanceModel?e.pannerAttr.distanceModel:i._distanceModel,maxDistance:void 0!==e.pannerAttr.maxDistance?e.pannerAttr.maxDistance:i._maxDistance,refDistance:void 0!==e.pannerAttr.refDistance?e.pannerAttr.refDistance:i._refDistance,rolloffFactor:void 0!==e.pannerAttr.rolloffFactor?e.pannerAttr.rolloffFactor:i._rolloffFactor,panningModel:void 0!==e.pannerAttr.panningModel?e.pannerAttr.panningModel:i._panningModel})}else 2===a.length&&(e=a[0],n=parseInt(a[1],10));for(var s=i._getSoundIds(n),u=0;u<s.length;u++)if(o=i._soundById(s[u])){var l=o._pannerAttr;l={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:l.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:l.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:l.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:l.rolloffFactor,panningModel:void 0!==e.panningModel?e.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]),t(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 t=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)}}()}($e);var et=h({name:"unit-audio",props:{src:{type:String,default:""}},setup:function(e){var t=E({audioStatus:"stopped",duration:0}),n=new $e.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"})),je.on("unitAudioStop",(function(){n.stop(),t.audioStatus="stopped"})),I((function(){n.off("load")})),function(){return _("div",{class:Qe},[_("div",{class:Ke,onClick:function(e){e.stopPropagation(),"stopped"===t.audioStatus?(je.emit("unitAudioStop"),n.play(),t.audioStatus="paused"):"paused"===t.audioStatus&&(n.pause(),t.audioStatus="stopped")}},[_("div",{class:We},[_(y,{class:Ze,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),_("span",null,[t.duration,C('"')])]),_(y,{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,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAHpJREFUSEvtlrENgDAQA+1BYB8mYSYmYR8YxDRJREP4Jq8UTm3plNNbMpH8mMzDPEBJG4CjGNhJnj0b0fznDyVdAJYCuUmuP8BQvgfUG0Cyq19SKG9gs2qlPpp6DK6Fa9EMuBauBaJHUFVF81NNjNwRNWqvzrNLR/3wAc1tuB3GmZrsAAAAAElFTkSuQmCC",class:Je},null)])])}}}),tt=h({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===Pe?qe:e.answerType===Me?ze:e.answerType===Ne?He:e.answerType===Be?Ue:Fe})),n=O((function(){return e.extra.mediaUrls?e.extra.mediaUrls.split(","):""}));return function(){return _(k,null,[_("div",{class:Ye.unitSubjectTitle},[e.index,C("、"),e.name,C(" "),_("span",{class:Ye.unitScore},[C("("),e.score||0,C("分)")]),_(W,{type:"primary",style:{lineHeight:"20px"}},{default:function(){return[t.value]}})]),e.showRate&&_("div",{class:Ye.unitTitleRate},[_(y,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAmVJREFUWEftl81LVFEYxn9nNBtzZpyJhhlEgxaKIIJQSaLQEC1qE9TKTQSh9AFtrE1/QZvoi6KgbVIWRhQERZBjZW2UMgaZakKiZKjMtA9KHU8cz1zuOB/NHWPmQvhuLpz33PM8z3ve89x7BED3NdkgHZwQku0SPGqsWCFgRgoeiAWOX+4Ur8QiuOAZ4CsWaI51p4Rki+i6LvuR7CkxuIYT3BTdfXK62GXPJU5th+jqk9IW9UnQFQL/fwXcq2FXEwgBt17C99mlHVfUClQ74VgIgklrG3gDvSMlIuCrhKMhCLhNwHAMrgyXgMDaNVq532WCTUzDyQH49tsCAWe5nvRrvnCHWFellaunEe+/wqlwJviiGaYbUXMQDrWDcqfeYRgat05CKVbKVQWMeDcFp8OZzWfkMwgcbIONdTqtPPLqCDyM5ScRcGnlvhTw8S9wZhB+pHV+6moZBDo2wL7N5hRFon8U7kVzkwi6Nbi30pzzdhLODsLPub+Tz3oMdzbC7mZ9do24E4HbkczFajwa3OM0c7HPWrmVHsrpA9vqobNlKYn7UbjxwgSqrYaeECizMeL1Jzj3yBp41iZM1ai2Y+8mcKRUIpw0k1ov9GwFVwp49KMGn03k75mcTZj+aut62N8KZQ4z8/wD1PuhqsIcG4vD+SeFgeetgLF8Sw0caIPysuzKInG48BjmFqwrt1wBY2JTAA63Q0XSpIzx0Qm4OATzywC3XAEDrMEPRzrAuUqPqK249BQSywQvmIB6oc4LOxohPgN3xyDxjz90Rf0cW+mIFQL2V8D+i4ntVzO7L6fqqNh5Pf8DS9v7/ahSKSsAAAAASUVORK5CYII=",class:Ye.icon},null),C("正确率:"),_("span",{class:Ye.rate},[e.extra.rightRate||0,C("%")])]),e.extra.questionDetail||n.value?_("div",{class:Ye.unitDetail},[_("div",{innerHTML:e.extra.questionDetail},null),n.value&&n.value.map((function(e){return e&&_(k,null,["mp3"===e.substr(-3)?_(et,{src:e,class:Ye.valueAudio},null):_(Z,{class:[Ye.unitTitleImg,"answerTitleImg"],src:e},null)])}))]):""])}}}),nt="_answerAnalysis_1x634_1",rt="_analysisResult_1x634_8",ot="_aImg_1x634_16",it="_success_1x634_20",at="_error_1x634_23",st="_analysisTitle_1x634_26",ut="_analysisMessage_1x634_29",lt="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==",ct=h({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 _("div",{class:nt},[e.topic?_(k,null,[e.userResult?_("div",{class:[rt,it]},[_(y,{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:ot},null),e.rightFlagText]):_("div",{class:[rt,at]},[_(y,{name:lt,class:ot},null),e.errorFlagText])]):"",e.answerAnalysis&&_(k,null,[_("div",{class:[rt,st]},[_(y,{name:"data:image/png;base64,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",class:ot},null),C("答案解析")]),_("div",{class:ut},[e.answerAnalysis])])])}}}),dt="_unitSubject_94r0n_1",ft="_unitAnswers_94r0n_11",pt="_unitAnswer_94r0n_11",ht="_option_94r0n_23",_t="_value_94r0n_26",mt="_valueAudio_94r0n_35",gt="_active_94r0n_38",vt="_answerContent_94r0n_42",yt="_answerChoice_94r0n_46",bt=h({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,t){var n=t.emit,r=t.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 _(k,null,[_("div",{class:dt},[r.title&&r.title(),_(tt,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:"radio"===e.type?Re:Pe,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),_("div",{class:ft},[i.value.map((function(t,r){return _("div",{class:[pt,t.checked&>],onClick:function(){return function(t){if(!e.readOnly){var r=e.value||[],i={answerId:t.examinationQuestionAnswerId,answer:t.questionAnswer,answerExtra:t.questionExtra};if("checkbox"===e.type){var a=r.findIndex((function(e){return e.answerId===t.examinationQuestionAnswerId}));a>=0?(r.splice(a,1),n("update:value",o(r))):n("update:value",[].concat(o(r),[i]))}else n("update:value",[i])}}(t)}},[_("div",{class:vt},[_("span",{class:ht},[Le[r+1],C(".")]),t.questionAnswerTypeCode===Xe&&_("div",{class:_t},[_(Z,{src:t.questionAnswer,fit:"contain",class:"answerTitleImg"},null)]),t.questionAnswerTypeCode===Ve&&_("div",{class:_t},[t.questionAnswer]),t.questionAnswerTypeCode===Ge&&_("div",{class:_t},[_(et,{src:t.questionAnswer,class:mt},null)])]),e.showRate&&_("div",{class:yt},[t.selectRate||0,C("%人选择")])])}))])]),e.showAnalysis&&_(ct,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),wt="_anserList_1yzxl_1",At="_status_1yzxl_5",xt="_aList_1yzxl_28",St="_answered_1yzxl_46",Tt="_yes_1yzxl_50",Et="_no_1yzxl_54";var It=h({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 _("div",{class:wt},[e.statusList.length>0&&_("div",{class:At},[e.statusList.map((function(e){return _("span",null,[_("i",{style:{backgroundColor:e.color}},null),e.text])}))]),_("div",{style:{maxHeight:"40vh",minHeight:"20vh",overflowX:"auto"}},[_(J,{class:xt,columnNum:6,border:!1},(o=t=e.value.map((function(t,o){return _($,{onClick:function(){return n("select",o)}},{default:function(){return[_("span",{class:["ANSWER"===e.lookType&&t.userAnswer&&t.userAnswer.length>0&&St,"RESULT"===e.lookType&&(r(t.id)?Tt:Et),"CLICK"===e.lookType&&o===e.index&&St,"CLICK"!==e.lookType&&t.showAnalysis?t.analysis.userResult?Tt:Et:""]},[o+1])]}})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!D(o)?t:{default:function(){return[t]}}))])])}}}),Ct={exports:{}},Ot=j(L);
- /**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */
- function kt(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 Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jt(e){return jt="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},jt(e)}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rt(){return Rt=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},Rt.apply(this,arguments)}function Pt(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 Mt(e){return function(e){if(Array.isArray(e))return Nt(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 Nt(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 Nt(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 Nt(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 Bt(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Ft=Bt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),qt=Bt(/Edge/i),zt=Bt(/firefox/i),Ht=Bt(/safari/i)&&!Bt(/chrome/i)&&!Bt(/android/i),Ut=Bt(/iP(ad|od|hone)/i),Xt=Bt(/chrome/i)&&Bt(/android/i),Vt={capture:!1,passive:!1};function Gt(e,t,n){e.addEventListener(t,n,!Ft&&Vt)}function Yt(e,t,n){e.removeEventListener(t,n,!Ft&&Vt)}function Qt(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 Kt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Wt(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&Qt(e,t):Qt(e,t))||r&&e===n)return e;if(e===n)break}while(e=Kt(e))}return null}var Zt,Jt=/\s+/g;function $t(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Jt," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Jt," ")}}function en(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 tn(e,t){var n="";if("string"==typeof e)n=e;else do{var r=en(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 nn(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 rn(){var e=document.scrollingElement;return e||document.documentElement}function on(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,s,u,l,c,d;if(e!==window&&e.parentNode&&e!==rn()?(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,!Ft))do{if(o&&o.getBoundingClientRect&&("none"!==en(o,"transform")||n&&"static"!==en(o,"position"))){var f=o.getBoundingClientRect();a-=f.top+parseInt(en(o,"border-top-width")),s-=f.left+parseInt(en(o,"border-left-width")),u=a+i.height,l=s+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=tn(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 an(e,t,n){for(var r=dn(e,!0),o=on(e)[t];r;){var i=on(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===rn())break;r=dn(r,!1)}return!1}function sn(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==gr.ghost&&(r||a[i]!==gr.dragged)&&Wt(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function un(e,t){for(var n=e.lastElementChild;n&&(n===gr.ghost||"none"===en(n,"display")||t&&!Qt(n,t));)n=n.previousElementSibling;return n||null}function ln(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===gr.clone||t&&!Qt(e,t)||n++;return n}function cn(e){var t=0,n=0,r=rn();if(e)do{var o=tn(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 dn(e,t){if(!e||!e.getBoundingClientRect)return rn();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=en(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 rn();if(r||t)return n;r=!0}}}while(n=n.parentNode);return rn()}function fn(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 pn(e,t){return function(){if(!Zt){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),Zt=setTimeout((function(){Zt=void 0}),t)}}}function hn(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function _n(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 mn(e,t){en(e,"position","absolute"),en(e,"top",t.top),en(e,"left",t.left),en(e,"width",t.width),en(e,"height",t.height)}function gn(e){en(e,"position",""),en(e,"top",""),en(e,"left",""),en(e,"width",""),en(e,"height","")}var vn="Sortable"+(new Date).getTime();function yn(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==en(e,"display")&&e!==gr.ghost){t.push({target:e,rect:on(e)});var n=Dt({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=tn(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=on(n),u=n.prevFromRect,l=n.prevToRect,c=e.rect,d=tn(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&fn(u,s)&&!fn(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)),fn(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){en(e,"transition",""),en(e,"transform","");var o=tn(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,en(e,"transform","translate3d("+s+"px,"+u+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),en(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),en(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){en(e,"transition",""),en(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var bn=[],wn={initializeByDefault:!0},An={mount:function(e){for(var t in wn)wn.hasOwnProperty(t)&&!(t in e)&&(e[t]=wn[t]);bn.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),bn.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";bn.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](Dt({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](Dt({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in bn.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,Rt(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 bn.forEach((function(r){"function"==typeof r.eventProperties&&Rt(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return bn.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function xn(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[vn]){var _,m=t.options,g="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Ft||qt?(_=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 v=Dt(Dt({},h),An.getEventProperties(r,t));for(var y in v)_[y]=v[y];n&&n.dispatchEvent(_),m[g]&&m[g].call(t,_)}}var Sn=["evt"],Tn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=Pt(n,Sn);An.pluginEvent.bind(gr)(e,t,Dt({dragEl:In,parentEl:Cn,ghostEl:On,rootEl:kn,nextEl:Dn,lastDownEl:jn,cloneEl:Ln,cloneHidden:Rn,dragStarted:Yn,putSortable:qn,activeSortable:gr.active,originalEvent:r,oldIndex:Pn,oldDraggableIndex:Nn,newIndex:Mn,newDraggableIndex:Bn,hideGhostForTarget:pr,unhideGhostForTarget:hr,cloneNowHidden:function(){Rn=!0},cloneNowShown:function(){Rn=!1},dispatchSortableEvent:function(e){En({sortable:t,name:e,originalEvent:r})}},o))};function En(e){xn(Dt({putSortable:qn,cloneEl:Ln,targetEl:In,rootEl:kn,oldIndex:Pn,oldDraggableIndex:Nn,newIndex:Mn,newDraggableIndex:Bn},e))}var In,Cn,On,kn,Dn,jn,Ln,Rn,Pn,Mn,Nn,Bn,Fn,qn,zn,Hn,Un,Xn,Vn,Gn,Yn,Qn,Kn,Wn,Zn,Jn=!1,$n=!1,er=[],tr=!1,nr=!1,rr=[],or=!1,ir=[],ar="undefined"!=typeof document,sr=Ut,ur=qt||Ft?"cssFloat":"float",lr=ar&&!Xt&&!Ut&&"draggable"in document.createElement("div"),cr=function(){if(ar){if(Ft)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),dr=function(e,t){var n=en(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=sn(e,0,t),i=sn(e,1,t),a=o&&en(o),s=i&&en(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+on(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+on(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[ur]||i&&"none"===n[ur]&&u+l>r)?"vertical":"horizontal"},fr=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"==jt(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},pr=function(){!cr&&On&&en(On,"display","none")},hr=function(){!cr&&On&&en(On,"display","")};ar&&document.addEventListener("click",(function(e){if($n)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),$n=!1,!1}),!0);var _r=function(e){if(In){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,er.some((function(e){var t=e[vn].options.emptyInsertThreshold;if(t&&!un(e)){var n=on(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[vn]._onDragOver(n)}}var o,i,a},mr=function(e){In&&In.parentNode[vn]._isOutsideThisEl(e.target)};function gr(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=Rt({},t),e[vn]=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 dr(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!==gr.supportPointer&&"PointerEvent"in window&&!Ht,emptyInsertThreshold:5};for(var r in An.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in fr(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&lr,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Gt(e,"pointerdown",this._onTapStart):(Gt(e,"mousedown",this._onTapStart),Gt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Gt(e,"dragover",this),Gt(e,"dragenter",this)),er.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Rt(this,yn())}function vr(e,t,n,r,o,i,a,s){var u,l,c=e[vn],d=c.options.onMove;return!window.CustomEvent||Ft||qt?(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||on(t),u.willInsertAfter=s,u.originalEvent=a,e.dispatchEvent(u),d&&(l=d.call(c,u,a)),l}function yr(e){e.draggable=!1}function br(){or=!1}function wr(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 Ar(e){return setTimeout(e,0)}function xr(e){return clearTimeout(e)}gr.prototype={constructor:gr,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Qn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,In):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){ir.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&ir.push(r)}}(n),!In&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!Ht||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Wt(s,r.draggable,n,!1))&&s.animated||jn===s)){if(Pn=ln(s),Nn=ln(s,r.draggable),"function"==typeof l){if(l.call(this,e,s,this))return En({sortable:t,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Tn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=Wt(u,r.trim(),n,!1))return En({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Tn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Wt(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&&!In&&n.parentNode===i){var u=on(n);if(kn=i,Cn=(In=n).parentNode,Dn=In.nextSibling,jn=n,Fn=a.group,gr.dragged=In,zn={target:In,clientX:(t||e).clientX,clientY:(t||e).clientY},Vn=zn.clientX-u.left,Gn=zn.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,In.style["will-change"]="all",r=function(){Tn("delayEnded",o,{evt:e}),gr.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!zt&&o.nativeDraggable&&(In.draggable=!0),o._triggerDragStart(e,t),En({sortable:o,name:"choose",originalEvent:e}),$t(In,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){nn(In,e.trim(),yr)})),Gt(s,"dragover",_r),Gt(s,"mousemove",_r),Gt(s,"touchmove",_r),Gt(s,"mouseup",o._onDrop),Gt(s,"touchend",o._onDrop),Gt(s,"touchcancel",o._onDrop),zt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,In.draggable=!0),Tn("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(qt||Ft))r();else{if(gr.eventCanceled)return void this._onDrop();Gt(s,"mouseup",o._disableDelayedDrag),Gt(s,"touchend",o._disableDelayedDrag),Gt(s,"touchcancel",o._disableDelayedDrag),Gt(s,"mousemove",o._delayedDragTouchMoveHandler),Gt(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&Gt(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(){In&&yr(In),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Yt(e,"mouseup",this._disableDelayedDrag),Yt(e,"touchend",this._disableDelayedDrag),Yt(e,"touchcancel",this._disableDelayedDrag),Yt(e,"mousemove",this._delayedDragTouchMoveHandler),Yt(e,"touchmove",this._delayedDragTouchMoveHandler),Yt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Gt(document,"pointermove",this._onTouchMove):Gt(document,t?"touchmove":"mousemove",this._onTouchMove):(Gt(In,"dragend",this),Gt(kn,"dragstart",this._onDragStart));try{document.selection?Ar((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Jn=!1,kn&&In){Tn("dragStarted",this,{evt:t}),this.nativeDraggable&&Gt(document,"dragover",mr);var n=this.options;!e&&$t(In,n.dragClass,!1),$t(In,n.ghostClass,!0),gr.active=this,e&&this._appendGhost(),En({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Hn){this._lastX=Hn.clientX,this._lastY=Hn.clientY,pr();for(var e=document.elementFromPoint(Hn.clientX,Hn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Hn.clientX,Hn.clientY))!==t;)t=e;if(In.parentNode[vn]._isOutsideThisEl(e),t)do{if(t[vn]){if(t[vn]._onDragOver({clientX:Hn.clientX,clientY:Hn.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);hr()}},_onTouchMove:function(e){if(zn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=On&&tn(On,!0),a=On&&i&&i.a,s=On&&i&&i.d,u=sr&&Zn&&cn(Zn),l=(o.clientX-zn.clientX+r.x)/(a||1)+(u?u[0]-rr[0]:0)/(a||1),c=(o.clientY-zn.clientY+r.y)/(s||1)+(u?u[1]-rr[1]:0)/(s||1);if(!gr.active&&!Jn){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(On){i?(i.e+=l-(Un||0),i.f+=c-(Xn||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,")");en(On,"webkitTransform",d),en(On,"mozTransform",d),en(On,"msTransform",d),en(On,"transform",d),Un=l,Xn=c,Hn=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!On){var e=this.options.fallbackOnBody?document.body:kn,t=on(In,!0,sr,!0,e),n=this.options;if(sr){for(Zn=e;"static"===en(Zn,"position")&&"none"===en(Zn,"transform")&&Zn!==document;)Zn=Zn.parentNode;Zn!==document.body&&Zn!==document.documentElement?(Zn===document&&(Zn=rn()),t.top+=Zn.scrollTop,t.left+=Zn.scrollLeft):Zn=rn(),rr=cn(Zn)}$t(On=In.cloneNode(!0),n.ghostClass,!1),$t(On,n.fallbackClass,!0),$t(On,n.dragClass,!0),en(On,"transition",""),en(On,"transform",""),en(On,"box-sizing","border-box"),en(On,"margin",0),en(On,"top",t.top),en(On,"left",t.left),en(On,"width",t.width),en(On,"height",t.height),en(On,"opacity","0.8"),en(On,"position",sr?"absolute":"fixed"),en(On,"zIndex","100000"),en(On,"pointerEvents","none"),gr.ghost=On,e.appendChild(On),en(On,"transform-origin",Vn/parseInt(On.style.width)*100+"% "+Gn/parseInt(On.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;Tn("dragStart",this,{evt:e}),gr.eventCanceled?this._onDrop():(Tn("setupClone",this),gr.eventCanceled||((Ln=_n(In)).draggable=!1,Ln.style["will-change"]="",this._hideClone(),$t(Ln,this.options.chosenClass,!1),gr.clone=Ln),n.cloneId=Ar((function(){Tn("clone",n),gr.eventCanceled||(n.options.removeCloneOnHide||kn.insertBefore(Ln,In),n._hideClone(),En({sortable:n,name:"clone"}))})),!t&&$t(In,o.dragClass,!0),t?($n=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Yt(document,"mouseup",n._onDrop),Yt(document,"touchend",n._onDrop),Yt(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,In)),Gt(document,"drop",n),en(In,"transform","translateZ(0)")),Jn=!0,n._dragStartId=Ar(n._dragStarted.bind(n,t,e)),Gt(document,"selectstart",n),Yn=!0,Ht&&en(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=gr.active,c=Fn===u,d=s.sort,f=qn||l,p=this,h=!1;if(!or){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Wt(a,s.draggable,i,!0),O("dragOver"),gr.eventCanceled)return h;if(In.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return D(!1);if($n=!1,l&&!s.disabled&&(c?d||(r=Cn!==kn):qn===this||(this.lastPutMode=Fn.checkPull(this,l,In,e))&&u.checkPut(this,l,In,e))){if(o="vertical"===this._getDirection(e,a),t=on(In),O("dragOverValid"),gr.eventCanceled)return h;if(r)return Cn=kn,k(),this._hideClone(),O("revert"),gr.eventCanceled||(Dn?kn.insertBefore(In,Dn):kn.appendChild(In)),D(!0);var _=un(i,s.draggable);if(!_||function(e,t,n){var r=on(un(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(_===In)return D(!1);if(_&&i===e.target&&(a=_),a&&(n=on(a)),!1!==vr(kn,i,In,t,a,n,e,!!a))return k(),i.appendChild(In),Cn=i,j(),D(!0)}else if(_&&function(e,t,n){var r=on(sn(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=sn(i,0,s,!0);if(m===In)return D(!1);if(n=on(a=m),!1!==vr(kn,i,In,t,a,n,e,!1))return k(),i.insertBefore(In,m),Cn=i,j(),D(!0)}else if(a.parentNode===i){n=on(a);var g,v,y,b=In.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}(In.animated&&In.toRect||t,a.animated&&a.toRect||n,o),A=o?"top":"left",x=an(a,"top","top")||an(In,"top","top"),S=x?x.scrollTop:void 0;if(Qn!==a&&(v=n[A],tr=!1,nr=!w&&s.invertSwap||b),g=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&&Wn<l*o){if(!tr&&(1===Kn?u>c+l*i/2:u<d-l*i/2)&&(tr=!0),tr)f=!0;else if(1===Kn?u<c+Wn:u>d-Wn)return-Kn}else if(u>c+l*(1-o)/2&&u<d-l*(1-o)/2)return function(e){return ln(In)<ln(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,nr,Qn===a),0!==g){var T=ln(In);do{T-=g,y=Cn.children[T]}while(y&&("none"===en(y,"display")||y===On))}if(0===g||y===a)return D(!1);Qn=a,Kn=g;var E=a.nextElementSibling,I=!1,C=vr(kn,i,In,t,a,n,e,I=1===g);if(!1!==C)return 1!==C&&-1!==C||(I=1===C),or=!0,setTimeout(br,30),k(),I&&!E?i.appendChild(In):a.parentNode.insertBefore(In,I?E:a),x&&hn(x,0,S-x.scrollTop),Cn=In.parentNode,void 0===v||nr||(Wn=Math.abs(v-on(a)[A])),j(),D(!0)}if(i.contains(In))return D(!1)}return!1}function O(s,u){Tn(s,p,Dt({evt:e,isOwner:c,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:a,completed:D,onMove:function(n,r){return vr(kn,i,In,t,n,on(n),e,r)},changed:j},u))}function k(){O("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function D(t){return O("dragOverCompleted",{insertion:t}),t&&(c?l._hideClone():l._showClone(p),p!==f&&($t(In,qn?qn.options.ghostClass:l.options.ghostClass,!1),$t(In,s.ghostClass,!0)),qn!==p&&p!==gr.active?qn=p:p===gr.active&&qn&&(qn=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){O("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===In&&!In.animated||a===i&&!a.animated)&&(Qn=null),s.dragoverBubble||e.rootEl||a===document||(In.parentNode[vn]._isOutsideThisEl(e.target),!t&&_r(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function j(){Mn=ln(In),Bn=ln(In,s.draggable),En({sortable:p,name:"change",toEl:i,newIndex:Mn,newDraggableIndex:Bn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Yt(document,"mousemove",this._onTouchMove),Yt(document,"touchmove",this._onTouchMove),Yt(document,"pointermove",this._onTouchMove),Yt(document,"dragover",_r),Yt(document,"mousemove",_r),Yt(document,"touchmove",_r)},_offUpEvents:function(){var e=this.el.ownerDocument;Yt(e,"mouseup",this._onDrop),Yt(e,"touchend",this._onDrop),Yt(e,"pointerup",this._onDrop),Yt(e,"touchcancel",this._onDrop),Yt(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Mn=ln(In),Bn=ln(In,n.draggable),Tn("drop",this,{evt:e}),Cn=In&&In.parentNode,Mn=ln(In),Bn=ln(In,n.draggable),gr.eventCanceled||(Jn=!1,nr=!1,tr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),xr(this.cloneId),xr(this._dragStartId),this.nativeDraggable&&(Yt(document,"drop",this),Yt(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ht&&en(document.body,"user-select",""),en(In,"transform",""),e&&(Yn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),On&&On.parentNode&&On.parentNode.removeChild(On),(kn===Cn||qn&&"clone"!==qn.lastPutMode)&&Ln&&Ln.parentNode&&Ln.parentNode.removeChild(Ln),In&&(this.nativeDraggable&&Yt(In,"dragend",this),yr(In),In.style["will-change"]="",Yn&&!Jn&&$t(In,qn?qn.options.ghostClass:this.options.ghostClass,!1),$t(In,this.options.chosenClass,!1),En({sortable:this,name:"unchoose",toEl:Cn,newIndex:null,newDraggableIndex:null,originalEvent:e}),kn!==Cn?(Mn>=0&&(En({rootEl:Cn,name:"add",toEl:Cn,fromEl:kn,originalEvent:e}),En({sortable:this,name:"remove",toEl:Cn,originalEvent:e}),En({rootEl:Cn,name:"sort",toEl:Cn,fromEl:kn,originalEvent:e}),En({sortable:this,name:"sort",toEl:Cn,originalEvent:e})),qn&&qn.save()):Mn!==Pn&&Mn>=0&&(En({sortable:this,name:"update",toEl:Cn,originalEvent:e}),En({sortable:this,name:"sort",toEl:Cn,originalEvent:e})),gr.active&&(null!=Mn&&-1!==Mn||(Mn=Pn,Bn=Nn),En({sortable:this,name:"end",toEl:Cn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Tn("nulling",this),kn=In=Cn=On=Dn=Ln=jn=Rn=zn=Hn=Yn=Mn=Bn=Pn=Nn=Qn=Kn=qn=Fn=gr.dragged=gr.ghost=gr.clone=gr.active=null,ir.forEach((function(e){e.checked=!0})),ir.length=Un=Xn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":In&&(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++)Wt(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||wr(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];Wt(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 Wt(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=An.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&fr(n)},destroy:function(){Tn("destroy",this);var e=this.el;e[vn]=null,Yt(e,"mousedown",this._onTapStart),Yt(e,"touchstart",this._onTapStart),Yt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Yt(e,"dragover",this),Yt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),er.splice(er.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Rn){if(Tn("hideClone",this),gr.eventCanceled)return;en(Ln,"display","none"),this.options.removeCloneOnHide&&Ln.parentNode&&Ln.parentNode.removeChild(Ln),Rn=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Rn){if(Tn("showClone",this),gr.eventCanceled)return;In.parentNode!=kn||this.options.group.revertClone?Dn?kn.insertBefore(Ln,Dn):kn.appendChild(Ln):kn.insertBefore(Ln,In),this.options.group.revertClone&&this.animate(In,Ln),en(Ln,"display",""),Rn=!1}}else this._hideClone()}},ar&&Gt(document,"touchmove",(function(e){(gr.active||Jn)&&e.cancelable&&e.preventDefault()})),gr.utils={on:Gt,off:Yt,css:en,find:nn,is:function(e,t){return!!Wt(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:pn,closest:Wt,toggleClass:$t,clone:_n,index:ln,nextTick:Ar,cancelNextTick:xr,detectDirection:dr,getChild:sn},gr.get=function(e){return e[vn]},gr.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&&(gr.utils=Dt(Dt({},gr.utils),e.utils)),An.mount(e)}))},gr.create=function(e,t){return new gr(e,t)},gr.version="1.14.0";var Sr,Tr,Er,Ir,Cr,Or,kr=[],Dr=!1;function jr(){kr.forEach((function(e){clearInterval(e.pid)})),kr=[]}function Lr(){clearInterval(Or)}var Rr,Pr=pn((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=rn(),c=!1;Tr!==n&&(Tr=n,jr(),Sr=t.scroll,o=t.scrollFn,!0===Sr&&(Sr=dn(n,!0)));var d=0,f=Sr;do{var p=f,h=on(p),_=h.top,m=h.bottom,g=h.left,v=h.right,y=h.width,b=h.height,w=void 0,A=void 0,x=p.scrollWidth,S=p.scrollHeight,T=en(p),E=p.scrollLeft,I=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 C=w&&(Math.abs(v-i)<=s&&E+y<x)-(Math.abs(g-i)<=s&&!!E),O=A&&(Math.abs(m-a)<=s&&I+b<S)-(Math.abs(_-a)<=s&&!!I);if(!kr[d])for(var k=0;k<=d;k++)kr[k]||(kr[k]={});kr[d].vx==C&&kr[d].vy==O&&kr[d].el===p||(kr[d].el=p,kr[d].vx=C,kr[d].vy=O,clearInterval(kr[d].pid),0==C&&0==O||(c=!0,kr[d].pid=setInterval(function(){r&&0===this.layer&&gr.active._onTouchMove(Cr);var t=kr[this.layer].vy?kr[this.layer].vy*u:0,n=kr[this.layer].vx?kr[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(gr.dragged.parentNode[vn],n,t,e,Cr,kr[this.layer].el)||hn(kr[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==l&&(f=dn(f,!1)));Dr=c}}),30),Mr=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 Nr(){}function Br(){}Nr.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=sn(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:Mr},Rt(Nr,{pluginName:"revertOnSpill"}),Br.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:Mr},Rt(Br,{pluginName:"removeOnSpill"});var Fr,qr,zr,Hr,Ur,Xr=[],Vr=[],Gr=!1,Yr=!1,Qr=!1;function Kr(e,t){Vr.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Wr(){Xr.forEach((function(e){e!==zr&&e.parentNode&&e.parentNode.removeChild(e)}))}gr.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?Gt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Gt(document,"pointermove",this._handleFallbackAutoScroll):t.touches?Gt(document,"touchmove",this._handleFallbackAutoScroll):Gt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?Yt(document,"dragover",this._handleAutoScroll):(Yt(document,"pointermove",this._handleFallbackAutoScroll),Yt(document,"touchmove",this._handleFallbackAutoScroll),Yt(document,"mousemove",this._handleFallbackAutoScroll)),Lr(),jr(),clearTimeout(Zt),Zt=void 0},nulling:function(){Cr=Tr=Sr=Dr=Or=Er=Ir=null,kr.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(Cr=e,t||this.options.forceAutoScrollFallback||qt||Ft||Ht){Pr(e,this.options,i,t);var a=dn(i,!0);!Dr||Or&&r===Er&&o===Ir||(Or&&Lr(),Or=setInterval((function(){var i=dn(document.elementFromPoint(r,o),!0);i!==a&&(a=i,jr()),Pr(e,n.options,i,t)}),10),Er=r,Ir=o)}else{if(!this.options.bubbleScroll||dn(i,!0)===rn())return void jr();Pr(e,this.options,dn(i,!1),!1)}}},Rt(e,{pluginName:"scroll",initializeByDefault:!0})}),gr.mount(Br,Nr);var Zr=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?Gt(document,"pointerup",this._deselectMultiDrag):(Gt(document,"mouseup",this._deselectMultiDrag),Gt(document,"touchend",this._deselectMultiDrag)),Gt(document,"keydown",this._checkKeyDown),Gt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";Xr.length&&qr===e?Xr.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;zr=t},delayEnded:function(){this.isMultiDrag=~Xr.indexOf(zr)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<Xr.length;r++)Vr.push(_n(Xr[r])),Vr[r].sortableIndex=Xr[r].sortableIndex,Vr[r].draggable=!1,Vr[r].style["will-change"]="",$t(Vr[r],this.options.selectedClass,!1),Xr[r]===zr&&$t(Vr[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||Xr.length&&qr===t&&(Kr(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(Kr(!1,n),Vr.forEach((function(e){en(e,"display","")})),t(),Ur=!1,r())},hideClone:function(e){var t=this;e.sortable;var n=e.cloneNowHidden,r=e.cancel;this.isMultiDrag&&(Vr.forEach((function(e){en(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),Ur=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&qr&&qr.multiDrag._deselectMultiDrag(),Xr.forEach((function(e){e.sortableIndex=ln(e)})),Xr=Xr.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),Qr=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Xr.forEach((function(e){e!==zr&&en(e,"position","absolute")}));var r=on(zr,!1,!0,!0);Xr.forEach((function(e){e!==zr&&mn(e,r)})),Yr=!0,Gr=!0}n.animateAll((function(){Yr=!1,Gr=!1,t.options.animation&&Xr.forEach((function(e){gn(e)})),t.options.sort&&Wr()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;Yr&&~Xr.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;Xr.length>1&&(Xr.forEach((function(e){r.addAnimationState({target:e,rect:Yr?on(e):o}),gn(e),e.fromRect=o,t.removeAnimationState(e)})),Yr=!1,function(e,t){Xr.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(),Gr=!1,s.animation&&Xr.length>1&&(Yr||!n&&!o.options.sort&&!a)){var u=on(zr,!1,!0,!0);Xr.forEach((function(e){e!==zr&&(mn(e,u),i.appendChild(e))})),Yr=!0}if(!n)if(Yr||Wr(),Xr.length>1){var l=Ur;o._showClone(t),o.options.animation&&!Ur&&l&&Vr.forEach((function(e){o.addAnimationState({target:e,rect:Hr}),e.fromRect=Hr,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(Xr.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Hr=Rt({},t);var o=tn(zr,!0);Hr.top-=o.f,Hr.left-=o.e}},dragOverAnimationComplete:function(){Yr&&(Yr=!1,Wr())},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(!Qr)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),$t(zr,l.selectedClass,!~Xr.indexOf(zr)),~Xr.indexOf(zr))Xr.splice(Xr.indexOf(zr),1),Fr=null,xn({sortable:o,rootEl:n,name:"deselect",targetEl:zr,originalEvt:t});else{if(Xr.push(zr),xn({sortable:o,rootEl:n,name:"select",targetEl:zr,originalEvt:t}),t.shiftKey&&Fr&&o.el.contains(Fr)){var d,f,p=ln(Fr),h=ln(zr);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f<d;f++)~Xr.indexOf(c[f])||($t(c[f],l.selectedClass,!0),Xr.push(c[f]),xn({sortable:o,rootEl:n,name:"select",targetEl:c[f],originalEvt:t}))}else Fr=zr;qr=u}if(Qr&&this.isMultiDrag){if(Yr=!1,(r[vn].options.sort||r!==n)&&Xr.length>1){var _=on(zr),m=ln(zr,":not(."+this.options.selectedClass+")");if(!Gr&&l.animation&&(zr.thisAnimationDuration=null),u.captureAnimationState(),!Gr&&(l.animation&&(zr.fromRect=_,Xr.forEach((function(e){if(e.thisAnimationDuration=null,e!==zr){var t=Yr?on(e):_;e.fromRect=t,u.addAnimationState({target:e,rect:t})}}))),Wr(),Xr.forEach((function(e){c[m]?r.insertBefore(e,c[m]):r.appendChild(e),m++})),a===ln(zr))){var g=!1;Xr.forEach((function(e){e.sortableIndex===ln(e)||(g=!0)})),g&&i("update")}Xr.forEach((function(e){gn(e)})),u.animateAll()}qr=u}(n===r||s&&"clone"!==s.lastPutMode)&&Vr.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Qr=!1,Vr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Yt(document,"pointerup",this._deselectMultiDrag),Yt(document,"mouseup",this._deselectMultiDrag),Yt(document,"touchend",this._deselectMultiDrag),Yt(document,"keydown",this._checkKeyDown),Yt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==Qr&&Qr||qr!==this.sortable||e&&Wt(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;Xr.length;){var t=Xr[0];$t(t,this.options.selectedClass,!1),Xr.shift(),xn({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)}},Rt(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[vn];t&&t.options.multiDrag&&!~Xr.indexOf(e)&&(qr&&qr!==t&&(qr.multiDrag._deselectMultiDrag(),qr=t),$t(e,t.options.selectedClass,!0),Xr.push(e))},deselect:function(e){var t=e.parentNode[vn],n=Xr.indexOf(e);t&&t.options.multiDrag&&~n&&($t(e,t.options.selectedClass,!1),Xr.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Xr.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=Yr&&r!==zr?-1:Yr?ln(r,":not(."+e.options.selectedClass+")"):ln(r),n.push({multiDragElement:r,index:o})})),{items:Mt(Xr),clones:[].concat(Vr),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:gr,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Rr=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=Rr;!1!==r(n)?($t(n,u.swapClass,!0),Rr=n):Rr=null,l&&l!==Rr&&$t(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;Rr&&$t(Rr,i.swapClass,!1),Rr&&(i.swap||n&&n.options.swap)&&r!==Rr&&(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=ln(e),r=ln(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,Rr),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){Rr=null}},Rt(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Rr}}})},default:gr},Symbol.toStringTag,{value:"Module"})),Jr=j(Zr);!function(e,t){var n;"undefined"!=typeof self&&self,n=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===r(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="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(e,t,n){var o=n("fc6a"),i=n("241c").f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.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(e,t,n){var o=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!==r(a))throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"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(e,t,n){var o=n("da84"),i=n("06cf").f,a=n("9112"),s=n("6eeb"),u=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,d,f,p,h,_=e.target,m=e.global,g=e.stat;if(n=m?o:g?o[_]||u(_,{}):(o[_]||{}).prototype)for(d in t){if(p=t[d],f=e.noTargetGet?(h=i(n,d))&&h.value:n[d],!c(m?d:_+(g?".":"#")+d,e.forced)&&void 0!==f){if(r(p)===r(f))continue;l(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),s(n,d,p,e)}}},"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,g=m>1?arguments[1]:void 0,v=void 0!==g,y=l(h),b=0;if(v&&(g=r(g,m>2?arguments[2]:void 0,2)),null==y||_==Array&&a(y))for(n=new _(t=s(h.length));t>b;b++)p=v?g(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=v?i(d,g,[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,g=r.REPLACE_KEEPS_$0,v=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&&g||"string"==typeof r&&-1===r.indexOf(v)){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 I=String(A[0]),C=d(f(s(A.index),p.length),0),O=[],k=1;k<A.length;k++)O.push(void 0===(x=A[k])?x:String(x));var D=A.groups;if(h){var j=[I].concat(O,C,p);void 0!==D&&j.push(D);var L=String(r.apply(void 0,j))}else L=y(I,p,C,O,D,r);C>=T&&(S+=p.slice(T,C)+L,T=C+I.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,g=h.set;r=function(e,t){return g.call(h,e,t),t},o=function(e){return _.call(h,e)||{}},i=function(e){return m.call(h,e)}}else{var v=d("state");f[v]=!0,r=function(e,t){return l(e,v,t),t},o=function(e){return c(e,v)?e[v]:{}},i=function(e){return c(e,v)}}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"),g="keys",v="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&&D)return D;if(!_&&e in O)return O[e];switch(e){case g:case v:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",C=!1,O=e.prototype,k=O[m]||O["@@iterator"]||p&&O[p],D=!_&&k||E(p),j="Array"==t&&O.entries||k;if(j&&(x=i(j.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,I,!0,!0),d&&(f[I]=b))),p==v&&k&&k.name!==v&&(C=!0,D=function(){return k.call(this)}),d&&!A||O[m]===D||u(O,m,D),f[t]=D,p)if(S={values:E(v),keys:w?D:E(g),entries:E(y)},A)for(T in S)(_||C||!(T in O))&&l(O,T,S[T]);else r({target:t,proto:!0,forced:_||C},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(e,t){e.exports=function(e){return"object"===r(e)?null!==e:"function"==typeof e}},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(t,n){t.exports=e},"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",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=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:!g||!v},{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,n){e.exports=t},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),g=a(m.length),v=o(e,g),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=g-v):(n=y-2,r=_(h(i(t),0),g-v)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=u(m,r),d=0;d<r;d++)(f=v+d)in m&&l(c,d,m[f]);if(c.length=r,n<r){for(d=v;d<g-r;d++)p=d+n,(f=d+r)in m?m[p]=m[f]:delete m[p];for(d=g;d>g-r+n;d--)delete m[d-1]}else if(n>r)for(d=g-r;d>v;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+v]=arguments[d+2];return m.length=g-r+n,c}})},a4d3:function(e,t,n){var o=n("23e7"),i=n("da84"),a=n("d066"),s=n("c430"),u=n("83ab"),l=n("4930"),c=n("fdbf"),d=n("d039"),f=n("5135"),p=n("e8b5"),h=n("861d"),_=n("825a"),m=n("7b0b"),g=n("fc6a"),v=n("c04e"),y=n("5c6c"),b=n("7c73"),w=n("df75"),A=n("241c"),x=n("057f"),S=n("7418"),T=n("06cf"),E=n("9bf2"),I=n("d1e7"),C=n("9112"),O=n("6eeb"),k=n("5692"),D=n("f772"),j=n("d012"),L=n("90e3"),R=n("b622"),P=n("e538"),M=n("746f"),N=n("d44e"),B=n("69f3"),F=n("b727").forEach,q=D("hidden"),z="Symbol",H="prototype",U=R("toPrimitive"),X=B.set,V=B.getterFor(z),G=Object[H],Y=i.Symbol,Q=a("JSON","stringify"),K=T.f,W=E.f,Z=x.f,J=I.f,$=k("symbols"),ee=k("op-symbols"),te=k("string-to-symbol-registry"),ne=k("symbol-to-string-registry"),re=k("wks"),oe=i.QObject,ie=!oe||!oe[H]||!oe[H].findChild,ae=u&&d((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(G,t);r&&delete G[t],W(e,t,n),r&&e!==G&&W(G,t,r)}:W,se=function(e,t){var n=$[e]=b(Y[H]);return X(n,{type:z,tag:e,description:t}),u||(n.description=t),n},ue=c?function(e){return"symbol"==r(e)}:function(e){return Object(e)instanceof Y},le=function(e,t,n){e===G&&le(ee,t,n),_(e);var r=v(t,!0);return _(n),f($,r)?(n.enumerable?(f(e,q)&&e[q][r]&&(e[q][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,q)||W(e,q,y(1,{})),e[q][r]=!0),ae(e,r,n)):W(e,r,n)},ce=function(e,t){_(e);var n=g(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=v(e,!0),n=J.call(this,t);return!(this===G&&f($,t)&&!f(ee,t))&&(!(n||!f(this,t)||!f($,t)||f(this,q)&&this[q][t])||n)},fe=function(e,t){var n=g(e),r=v(t,!0);if(n!==G||!f($,r)||f(ee,r)){var o=K(n,r);return!o||!f($,r)||f(n,q)&&n[q][r]||(o.enumerable=!0),o}},pe=function(e){var t=Z(g(e)),n=[];return F(t,(function(e){f($,e)||f(j,e)||n.push(e)})),n},he=function(e){var t=e===G,n=Z(t?ee:g(e)),r=[];return F(n,(function(e){!f($,e)||t&&!f(G,e)||r.push($[e])})),r};l||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=L(e);return u&&ie&&ae(G,t,{configurable:!0,set:function e(n){this===G&&e.call(ee,n),f(this,q)&&f(this[q],t)&&(this[q][t]=!1),ae(this,t,y(1,n))}}),se(t,e)},O(Y[H],"toString",(function(){return V(this).tag})),O(Y,"withoutSetter",(function(e){return se(L(e),e)})),I.f=de,E.f=le,T.f=fe,A.f=x.f=pe,S.f=he,P.f=function(e){return se(R(e),e)},u&&(W(Y[H],"description",{configurable:!0,get:function(){return V(this).description}}),s||O(G,"propertyIsEnumerable",de,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),F(w(re),(function(e){M(e)})),o({target:z,stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(te,t))return te[t];var n=Y(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))}}),Q&&o({target:"JSON",stat:!0,forced:!l||d((function(){var e=Y();return"[null]"!=Q([e])||"{}"!=Q({a:e})||"{}"!=Q(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,Q.apply(null,o)}}),Y[H][U]||C(Y[H],U,Y[H].valueOf),N(Y,z),j[q]=!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 g,v,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)&&(v=w(g=b[x],x,y),e))if(t)T[x]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:u.call(T,g)}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(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}e.exports=n},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 g=/./[h],v=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?_&&!o?{done:!0,value:g.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=v[0],b=v[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(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==("undefined"==typeof globalThis?"undefined":r(globalThis))&&globalThis)||n("object"==("undefined"==typeof window?"undefined":r(window))&&window)||n("object"==("undefined"==typeof self?"undefined":r(self))&&self)||n("object"==r(t)&&t)||Function("return this")()}).call(this,n("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 g=n("dbf1");n("13d5"),n("4fad"),n("ac1f"),n("5319");var v,y,b=/-(\w)/g,w=(v=function(e){return e.replace(b,(function(e,t){return t.toUpperCase()}))},y=Object.create(null),function(e){return y[e]||(y[e]=v(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 I=["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 C(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function O(e){return e.reduce((function(e,t){var n=d(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}function k(e){return Object.entries(e).filter((function(e){var t=d(e,2),n=t[0];return t[1],!C(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 D(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 j=function(e){return e.el},L=function(e){return e.__draggable_context},R=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=j(e),o={element:t[n],index:n},r.__draggable_context=o}))}},{key:"getUnderlyingVm",value:function(e){return L(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=L(i);if(a)return a.index;if(0===r)return 0;var s=j(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&&D(t.prototype,n),r&&D(t,r),e}(),P=n("8bbf");function M(e){var t=function(e){return["transition-group","TransitionGroup"].includes(e)}(e),n=!function(e){return I.includes(e)}(e)&&!t;return{transition:t,externalComponent:n,tag:n?Object(P.resolveComponent)(e):t?P.TransitionGroup:e}}function N(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=M(n);return new R({nodes:o,root:i,realList:r})}function B(e,t){var n=this;Object(P.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 q(e){var t=this,n=F.call(this,e);return function(r,o){n.call(t,r,o),B.call(t,e,r)}}var z=null,H={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}},U=["update:modelValue","change"].concat(f([].concat(f(E.manageAndEmit),f(E.emit)).map((function(e){return e.toLowerCase()})))),X=Object(P.defineComponent)({name:"draggable",inheritAttrs:!1,props:H,emits:U,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=N({$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({},O(Object.entries(t).filter((function(e){var t=d(e,2),n=t[0];return t[1],C(n)})))),r)}({$attrs:t,componentData:r});return o.render(P.h,i)}catch(a){return this.error=!0,Object(P.h)("pre",{style:{color:"red"}},a.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&g.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=O(k(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 q.call(e,t)},emit:function(t){return B.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&&k(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(P.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),z=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(z)&&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(){z=null}}}),V=X;t.default=V},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,g=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)(g(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(e,t,n){var o=n("4930");e.exports=o&&!Symbol.sham&&"symbol"==r(Symbol.iterator)}}).default},e.exports=n(Ot,Jr)}(Ct);var $r=S(Ct.exports),eo="_unitSubject_1igih_1",to="_unitAnswers_1igih_10",no="_unitAnswer_1igih_10",ro="_option_1igih_22",oo="_value_1igih_25",io="_active_1igih_37",ao="_answerContent_1igih_41",so="_sortReset_1igih_54",uo="_tips_1igih_62",lo="_itemsContainer_1igih_75",co="_items_1igih_75",fo="_imgs_1igih_81",po=h({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=E({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||[];A((function(){if(n.length>0){var r=[];n.forEach((function(e,n){var o=t.find((function(t){return e.answerId===t.examinationQuestionAnswerId})),i=t.find((function(t){return e.answerExtra==t.questionExtra})),a={itemIndex:n,index:e.answerId,leftValue:e.answer,rightValue:e.answerExtra,leftType:o&&o.questionAnswerTypeCode||"TXT",rightType:o&&o.questionExtraTypeCode||"TXT",rightIndex:i?i.examinationQuestionAnswerId:""};r.push(a)})),o.options=r}console.log(e.data,"data")}))};return R((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)})),P((function(){console.log(e.data,"mounted",o.options),a()})),function(){return _(k,null,[_("div",{class:eo},[r.title&&r.title(),_(tt,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:Ne,extra:{rightRate:e.data.rightRate,questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls}},null),_("div",{class:[to]},[i.value.map((function(t,r){return _("div",{class:[no,t.checked&&io],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),A((function(){a()}))}}(t)}},[_("div",{class:ao},[_("span",{class:ro},[Le[r+1],C(".")]),t.questionAnswerTypeCode===Xe&&_("div",{class:oo},[_(Z,{src:t.questionAnswer},null)]),t.questionAnswerTypeCode===Ve&&_("div",{class:oo},[t.questionAnswer])])])})),_("div",{class:[so,"van-hairline--top"]},[_("span",{class:uo},[C("请长按拖拽答案进行排序")]),_(M,{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[C("重置")]}})]),e.readOnly?o.options.map((function(e){return _("div",{class:lo},[e.leftType===Ve&&_(W,{class:[co],"data-id":e.itemIndex},{default:function(){return[e.leftValue]}}),e.leftType===Xe&&_(Z,{src:e.leftValue,"data-id":e.itemIndex,class:[fo,"van-hairline--surround"],fit:"cover"},null)])})):_($r,{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 _("div",{class:lo},[t.leftType===Ve&&_(W,{class:[co],"data-id":t.itemIndex},{default:function(){return[t.leftValue]}}),t.leftType===Xe&&_(Z,{src:t.leftValue,"data-id":t.itemIndex,class:[fo,"van-hairline--surround"],fit:"cover"},null)])}})])]),e.showAnalysis&&_(ct,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),ho="_unitSubject_4o8nc_1",_o="_unitAnswers_4o8nc_10",mo="_answerItem_4o8nc_15",go="_img_4o8nc_26",vo="_unitItem_4o8nc_29",yo="_active_4o8nc_45",bo="_canvasSection_4o8nc_49",wo="_resetBtnGroup_4o8nc_54",Ao=h({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=N(),i=E({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=B(o.value),t=i.selectItem[0],n=B(document.getElementById(t.index+"-left"));n.index=t.index;var r=i.selectItem[1],a=B(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 P((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)})),A((function(){i.drawLineList.forEach((function(e){i.selectItem=[];var t=B(document.getElementById(e.leftIndex+"-left"));t.index=e.leftIndex,i.selectItem[0]=t;var n=B(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)})),A((function(){var e=document.getElementById(i.answerDomId),t=B(e);i.answerRect=t;var n=window.devicePixelRatio;i.dpr=n}))})),function(){return _(k,null,[_("div",{class:ho},[r.title&&r.title(),_(tt,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:Me,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),_("div",{class:[_o],id:i.answerDomId},[_("canvas",{ref:o,class:bo,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 _("div",{class:mo},[_("div",{class:[vo,t.left&&yo],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===Ve&&t.leftValue,t.leftType===Xe&&_(Z,{src:t.leftValue,class:go},null)]),_("div",{class:[vo,t.right&&yo],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===Ve&&t.rightValue,t.rightType===Xe&&_(Z,{src:t.rightValue,class:go},null)])])}))]),_("div",{class:wo},[_(M,{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[C("重置")]}})])]),e.showAnalysis&&_(ct,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),xo="_unitSubject_1j7w8_1",So="_unitAnswers_1j7w8_10",To="_playSection_1j7w8_14",Eo="_img_1j7w8_19",Io="_playTitle_1j7w8_24",Co="_playBtn_1j7w8_29",Oo="_unitScoreNum_1j7w8_37",ko="_score_1j7w8_42",Do="_scoreTitle_1j7w8_47",jo="_scoreTips_1j7w8_53",Lo=""+new URL("icon-song-c2cb716c.png",a.meta.url).href,Ro=h({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=E({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),F({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}}),q("webViewOnResume",(function(){if(z().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),H({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}n("update:value",[{answerId:"",answer:o.score,answerExtra:""}]),U("webViewOnResume",(function(){}))}else H({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:""}]),H({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}U("webViewOnResume",(function(){}))}))})))};return P((function(){var t=e.value||[];t.length>0&&(o.score=t[0].answer)})),function(){return _(k,null,[_("div",{class:xo},[r.title&&r.title(),_(tt,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:Be,extra:{questionDetail:e.data.questionDetail,mediaUrls:"",rightRate:e.data.rightRate}},null),_("div",{class:[So]},[i.value&&_(te,{class:To,center:!0,titleClass:["van-ellipsis",Io]},{icon:function(){return _(Z,{class:Eo,src:Lo},null)},title:function(){return _(k,null,[i.value.musicName])},value:function(){return _(M,{round:!0,class:Co,type:"primary",onClick:a,disabled:e.readOnly},{default:function(){return[C("点击评测"),_(y,{name:"play"},null)]}})}}),(!e.readOnly||e.showScore)&&_("div",{class:["van-hairline--top",Oo]},[_("div",{class:ko},[o.score]),_("div",{class:Do},[C("评测分数")]),!e.showScore&&_("div",{class:jo},[C("多次评测取完整评测的最高分数")])])])]),e.showAnalysis&&_(ct,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult,rightFlagText:"合格",errorFlagText:"不合格"},null)])}}}),Po={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"},Mo=h({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 _("div",{class:Po.popupResult},[_("div",{class:Po.resultTitle},[_(Z,{src:lt,class:Po.titleImg},null),"PLAY"===e.questionTypeCode?"不合格!":"回答错误!"]),_("div",{class:Po.resultContent},[_("span",null,[C("答案解析:")]),e.answerAnalysis]),_(M,{type:"primary",round:!0,class:Po.btn,block:!0,onClick:function(){n("conform"),n("close")}},{default:function(){return[e.confirmButtonText]}})])}}}),No="_finishResult_1jfdh_1",Bo="_finishContainer_1jfdh_5",Fo="_finishContent_1jfdh_10",qo="_scoreNums_1jfdh_14",zo="_scoreName_1jfdh_24",Ho="_scoreResult_1jfdh_33",Uo="_finishFail_1jfdh_38",Xo="_finishPractice_1jfdh_43",Vo="_finishBtnGroup_1jfdh_48",Go="_finishLeft_1jfdh_54",Yo="_finishRight_1jfdh_55",Qo=h({name:"result-mode",props:{confirmButtonText:{type:String,default:"去练习"},cancelButtonText:{type:String,default:"我知道了"},status:{type:String,default:"SUCCESS"},result:{type:Object,default:function(){return{tips:"恭喜你,测验通过!",score:0,examName:""}}}},emits:["close","conform"],setup:function(e,t){var n=t.slots,r=t.emit;return function(){return _("div",{class:[No,"FAIL"===e.status&&Uo,"PRACTICE"===e.status&&Xo]},[_("div",{class:Bo},[_("div",{class:Fo},[n.content?n.content():_(k,null,[_("div",{class:qo},[e.result.score,_("span",null,[C("分")])]),_("div",{class:zo},[e.result.examName]),_("div",{class:Ho},[e.result.tips])])])]),_("div",{class:Vo},[_("div",{class:Go,onClick:function(){return r("close")}},[e.cancelButtonText]),_("div",{class:Yo,onClick:function(){return r("conform")}},[e.confirmButtonText])])])}}});t("default",h({name:"unit-detail",setup:function(){var t=X(),r=V(),o=N(),i=E({lessonCoursewareId:t.query.lessonCoursewareId,background:"transparent",color:"#fff",visiableError:!1,visiableAnswer:!1,visiableResult:!1,id:t.query.id,currentIndex:0,questionList:[],visiableSure:!1,resultInfo:{},resultStatusType:"SUCCESS",visiableExam:!1,nextStatus:!1,swipeHeight:"auto",answerAnalysis:"",questionTypeCode:"",overResult:{time:"00:00",questionLength:0,errorLength:0,rate:0},quitStatus:!1,dialogMessage:"",dialogStatus:!1}),a=ne(1e3,{controls:!0}),s=a.counter,u=a.resume,l=a.pause,c=function(){var t=n(e().mark((function t(){var n,r,o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Q.post("/edu-app/studentUnitExamination/queryPracticeModeExam",{data:{lessonCoursewareId:i.lessonCoursewareId}});case 3:n=e.sent,r=n.data,(o=r||[]).examinationQuestionAdds.forEach((function(e){e.showAnalysis=!1,e.analysis={message:e.answerAnalysis,topic:!0,userResult:!1},e.userAnswer=[]})),i.questionList=o.examinationQuestionAdds||[],console.log(i.questionList),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),t,null,[[0,11]])})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=n(e().mark((function t(){var n,r,a,s,u;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=i.questionList||[],r={},n.forEach((function(e,t){t===i.currentIndex&&(r={questionId:e.id,details:e.userAnswer||[]})})),e.next=6,Q.post("/edu-app/studentUnitExamination/submitTrainingAnswer",{hideLoading:!0,data:r});case 6:if(a=e.sent,s=a.data,n.forEach((function(e,t){t===i.currentIndex&&(i.answerAnalysis=e.answerAnalysis,i.questionTypeCode=e.questionTypeCode,e.showAnalysis=!0,e.analysis.userResult=s)})),i.questionList.length!==i.currentIndex+1){e.next=13;break}return je.emit("unitAudioStop"),i.visiableSure=!0,e.abrupt("return");case 13:s?null===(u=o.value)||void 0===u||u.next():i.visiableError=!0,e.next=18;break;case 16:e.prev=16,e.t0=e.catch(0);case 18:case"end":return e.stop()}}),t,null,[[0,16]])})));return function(){return t.apply(this,arguments)}}(),f=O((function(){var e=i.questionList||[],t=0,n=0,r=0;return e.forEach((function(e){e.showAnalysis&&(t+=1,e.analysis.userResult?n+=1:r+=1)})),{count:t,passCount:n,noPassCount:r}})),p=0,h=function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];A((function(){t&&window.scrollTo(0,0),setTimeout((function(){var n,r=null===(n=document.querySelectorAll(".van-swipe-item")[i.currentIndex])||void 0===n?void 0:n.querySelector(".swipe-item-question"),o=null==r?void 0:r.querySelectorAll(".answerTitleImg img"),a=!0;null==o||o.forEach((function(e){console.log(e.complete),e.complete||(a=!1)})),!a&&p<3&&setTimeout((function(){p+=1,e(t)}),300),a&&(p=0);var s=B(r);i.swipeHeight=s.height}),100)}))},m=function(){var e=f.value,t=0;e.count>0&&(t=Math.floor(e.passCount/e.count*100));var n=s.value,r=Math.floor(n/60)>=10?Math.floor(n/60):"0"+Math.floor(n/60),o=n%60>=10?n%60:"0"+n%60;i.overResult={time:r+":"+o,questionLength:e.count,errorLength:e.noPassCount,rate:t},l(),s.value=0,i.visiableResult=!0},g=function(){var t=n(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i.questionList=[],t.next=3,c();case 3:setTimeout(n(e().mark((function t(){var n;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null===(n=o.value)||void 0===n||n.swipeTo(0,{immediate:!0}),i.swipeHeight="auto",i.answerAnalysis="",i.overResult={time:"00:00",questionLength:0,errorLength:0,rate:0},i.visiableResult=!1,u(),h();case 7:case"end":return e.stop()}}),t)}))),100);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),y=function(){},b=function(){i.quitStatus=!0,je.emit("unitAudioStop")},w=function(){window.removeEventListener("popstate",b,!1),r.back()};return P(n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return re(document,"scroll",(function(){oe().y.value>52?(i.background="#fff",i.color="#323333"):(i.background="transparent",i.color="#fff")})),e.next=3,c();case 3:if(h(),G.user.data.vipMember){e.next=9;break}return l(),i.dialogStatus=!0,i.dialogMessage="您暂未开通团练宝,请开通后使用",e.abrupt("return");case 9:case"end":return e.stop()}}),t)})))),I((function(){je.emit("unitAudioStop")})),function(){var e,t;return _("div",{class:_e},[_(K,{position:"top"},{default:function(){return[_(Y,{border:!1,background:i.background,color:i.color},null)]}}),_(ie,{loop:!1,showIndicators:!1,ref:o,duration:300,touchable:!1,class:me,style:{paddingBottom:"12px"},lazyRender:!0,height:i.swipeHeight,onChange:function(e){je.emit("unitAudioStop"),i.currentIndex=e,h()}},(t=e=i.questionList.map((function(e,t){return _(ae,null,{default:function(){return[_("div",{class:"swipe-item-question"},[e.questionTypeCode===Re&&_(bt,{value:e.userAnswer,"onUpdate:value":function(t){return e.userAnswer=t},index:t+1,data:e,type:"radio",showAnalysis:e.showAnalysis,analysis:e.analysis},{title:function(){return _("div",{class:ge},[_("div",{class:ve},[_("span",null,[i.currentIndex+1]),C("/"),i.questionList.length]),_("div",{class:ye},[_("i",null,null),C("音及音高")])])}}),e.questionTypeCode===Pe&&_(bt,{value:e.userAnswer,"onUpdate:value":function(t){return e.userAnswer=t},index:t+1,data:e,type:"checkbox",showAnalysis:e.showAnalysis,analysis:e.analysis},{title:function(){return _("div",{class:ge},[_("div",{class:ve},[_("span",null,[i.currentIndex+1]),C("/"),i.questionList.length]),_("div",{class:ye},[_("i",null,null),C("音及音高")])])}}),e.questionTypeCode===Ne&&_(po,{value:e.userAnswer,"onUpdate:value":[function(t){return e.userAnswer=t},function(){var t=!(e.userAnswer&&e.userAnswer.length>0);h(t)}],data:e,index:t+1,showAnalysis:e.showAnalysis,analysis:e.analysis},{title:function(){return _("div",{class:ge},[_("div",{class:ve},[_("span",null,[i.currentIndex+1]),C("/"),i.questionList.length]),_("div",{class:ye},[_("i",null,null),C("音及音高")])])}}),e.questionTypeCode===Me&&_(Ao,{value:e.userAnswer,"onUpdate:value":function(t){return e.userAnswer=t},data:e,index:t+1,showAnalysis:e.showAnalysis,analysis:e.analysis},{title:function(){return _("div",{class:ge},[_("div",{class:ve},[_("span",null,[i.currentIndex+1]),C("/"),i.questionList.length]),_("div",{class:ye},[_("i",null,null),C("音及音高")])])}}),e.questionTypeCode===Be&&_(Ro,{value:e.userAnswer,"onUpdate:value":function(t){return e.userAnswer=t},data:e,index:t+1,unitId:i.id,showAnalysis:e.showAnalysis,analysis:e.analysis},{title:function(){return _("div",{class:ge},[_("div",{class:ve},[_("span",null,[i.currentIndex+1]),C("/"),i.questionList.length]),_("div",{class:ye},[_("i",null,null),C("音及音高")])])}})])]}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!D(t)?e:{default:function(){return[e]}})),_(K,{position:"bottom"},{default:function(){return[_("div",{class:["btnGroup btnMore",Ie]},[_(M,{round:!0,block:!0,class:i.currentIndex>0?ke:Ce,disabled:!(i.currentIndex>0),onClick:function(){var e;null===(e=o.value)||void 0===e||e.prev()}},{default:function(){return[C("上一题")]}}),_(M,{block:!0,round:!0,class:Oe,onClick:d,loading:i.nextStatus,disabled:i.nextStatus},{default:function(){return[i.questionList.length===i.currentIndex+1?"提交":"下一题"]}}),_(Z,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABiCAMAAADjquTNAAAC91BMVEUAAABUsv8qlul+zv8tme6X5f8tpv9t0/8rlukql+kql+krl+mAzv8tmu150/8rl+iA0f94xv9+0/990f990v9/0v+B1P8rlukqlugrl+krl+krlugrlul6yP8slugrl+lywf8rl+l/1f8rluoqmOorlukrmOksmOksl+ktmel70f9v1P95yf9Tsf1dtv95z/9tvv92w/+AzP9vwP9wwP96yv9tvv80n+xo0P5HrPQ+pfJmuv911f9ht/9yv/9ht/+B1P9luv9tvf9Vsf5etv9Zs/9kzPxZwfhOt/Qqluj///8tqf8wrf8spf46u/87vf8qpP85uf8+wP42tf80sv8vq/81tP80s/8yr/8zsf8ysP88vv84uP8sp/82tv8xrv83t/8pov8/wv8noP4/w/8uqv88v/9AxP8qoP5Bxf8+wf8oof8vqv89wP88vf84uf8rpv8sov9Dxv8yqf8zpP5Lyf9Irv5WzP8upP9JyP81r/82pf5Hxv9Awv8/v/8+uf8up/9Xtf5Cqv46t/85sv8wov9Jwv9FxP47qP43p/5Pyf9GyP9CxP9Tuf82rP8/qf9SxP5g0f9SzP88tf89sP86q/9Nr/4xnOvK7f9Zzv9Oy/9Qxv9Bxv9txP9Dwv9DuP9FtP8yrf9Lrv5FrP5j0f9zy/8+s/9Mu/5Isv5Qsf5Dr/5tzv9Vyf9Syf9Kxf9fv/9Dvf9Esf85r//6/P7H6P5guP5Pwf1cz/95zf9Ex/9MxP9Fwf9Cv/9qvv9Hvv9Fu/9ctv8+rf80p/9y0/930f9lxP9awf9Nv/9mu/8+u/9Ntf8wp/8rpf9Zxv5Iuv5Vwf09p/Q8qfFn0f9fxf9Avf9Ctf87pv9oyP5lv/5cuv5It/43ovD1+/9izP9bzP9kyf9zxf9vwf9hvP82qf9byv5nzv9Tvf9Brf8/q/9fzP5DsPk0oOttyv9uyP9HuPpHrfpNvPhJtvVEs/Q/rPI7ovFDqvf6/f/H6P9Gs/xFtvhGsPFeyf85u/9xBGFhAAAASXRSTlMA/t4rKwUF/u/CrH4iIuD5XeDGrZpqUPvs5NLKxcOek46JfXdtZl5cUVDv7u3o2tLIfXdoUPnv7+jo6OHExKmniXtd7+7s5+fn9wySTQAADBtJREFUaN6klltQzGEYxtfsmG6axvnOjHHpfB4zzscLydotFRVyyGqzFaksHbZQkmioQRSRdJTY5FCiJOeZQochCWGGWy7ceL73/x1ahyzeuv7Nb57ved/961wY/bBJQ4aPHzhm6tQxA8cPHzJpmF73/6MfOnhUdXVB1+eTcrq6usYMHvpfcPeRHtUFBZ9P3sFc4NPd3dbWVnPyddfAie7/iB0wiFFbwWxs7Ok50Gva27sBf901fMDfU/sP9agGFdAnPT2FhYUdHR2ntDl//v79+wfsgIM9cHL/v7QF9tOdlsZGQB935D17dg5zhE/xxWLQGbwb6L+x1iOE1lctjU/uFj7Oy8s7d/jc7t2VlZU2my0jw4a/yqysW8XFYNvbHW2vh+tdTWEubFs5NuHw4d0YG+a07TRmG5uMNxlgvwfbXgfrES7l4T6oWsPW3iSsr6+PbdUq/zVr1ixdunTFijAaRn/zJutDcXSRvb2pZoILBRk2quDTqxbYMmyyt7ePz0qMvz+4bAD29PQMS0xMfPAA7KxbZ4B21Eyb8ifuyIaC1pZHVXdvViQkJyd7+/r5+YEMY6m8YqMnJijRKwjw27dhnd2vrqlmYt/cIQ0lrS1PqmpvJiQA6+3t6+vnQ2ClvDGMwEFeGIbel/qepEf09WyDG0pePTpUVVtxD9y1qwkMMkOTMQbGG5kzwGxiY4H+cCbb7mia/fsn1Lh3aysSjMlrietNYDL251wt5SAoCzSkk/IRx+w+cgB3b+3Te8uMgYEgA01gGYYypjAivLyWL/eKjI3amZoUDfJv0hipcSucuFoWvbkgh/GQQV6OiYyNjdqXFF1U1zTxlz1rKHlJvsuWLTMajYEAgwxlH+eQwVUhM+XgYKBv7zvInH/ROvdRxL3x1AowGROZGfuJkIWzCDmCjBk6MpI593NMc/+pEIPq3709dO36U6sVvhiNTFmQsUYGd6moBYWscRV5wo/VmFv/7hu4N+KtZBwOZwqZyODCmXH59gHMs3iogc3BZpZzvt3xwwPqEXBpzl7OhXB4IL0f1YIpAwxnHoXqBYaTzShHalK2vcn51g0qefk2Z29ufLzVYCByoMoCZJkFJ4ssqG9EtoC8Z2fqmaK6CU53HQGXsSACDAZBVo2TxgDzQySNMcDCeD2RUQ3H/F4v54EgmHBAAOMSODxc1IKU+YUT26cZ8yIH499ssawH+TnCmKHeb2j9u86c8uum+BBONnLjXspk7C+rLLKQIVvWw3lPFMJwTJZgD7ePpdcgDOMAaYyQtR2RIYOrQlZR8JCJjDDy7TN6J5xTnhIH4RCDQTxfOCvcWhROZEHK4Do9nywclLUw8H4i5ZkQzgHXFGLiykbKQij7+fpg+OupHVHKBF6vlGfxZa5v7iwrz40L3WIKITChq45+WfLHuXT5oiichWUB5SgoO9y1q+b2EsK5cSbTlpCQABHF0SUuzWVZOGQhledpT9fcWVqekmsKNTFlK2/cC9fAL+QhgrFQ7jeOtrn+bGfarpS4dSamzKNw3VjWgpOhnJRdp2cldsssTduVDjBCNiEMjVx19JJLGQcJslRmWbAqD27+iCTS162DMmVhtRrkIaIVkT9QYqvVIaLT+RAhk7LKYg7Ao5s703akpG9YF4qQt2h9IzI1jvommwyy01YnemoHjjmze2ERWSykiGMoCQiDTIUjLo4ylOXyQbgXmX74aJiyxrXIkJGFXjfMLTNmO8AbQA7F+2FHrPISqZ8RdTrVRxw/FxERMKYoZBbR9im6SW4fy7YjiQ2aMaqMkJ22j281N5bfF9wYZGy1VzCtiAp5nm5I85WyHbvSN4HMwFQLdZRJWZHVhwuR1YcL/xUhMAu5aI5uZvOxtB1XNzEwOfPLye+QESFLMGpBXwEcrH6fVOHk683SjT8L8FYGRi+UMhlLZQpZKateKGW69vL1ssfpPM7GHNfAssn0fIdcXBBqcoRcPrEi43SjWdu2bgYZYEQBY6qFqysd5MmzgLMARx3MX6RjbdsPsHg9UgbY1SNEtQCYuGYOTo3uR2AYb6aQgSaw1eqq8Vfa6gj1fBI8OjPmOBlvIq6WssH1jKnJkmsWxgt006Wx6AW9Hm+cOkS8F84ftLJwIgyzMB5LYDLmTYZygCgc7kUgZjUKJ5ssl0/dC1Km5cOBk+DFmaxuJ0CGMTYEIStlWmv+4dLnV4C4RFCmugH8vTRze4kyiqL4YRiGmZFhHr1iiLf8C6L+gdp0I+mKUD10BSsiUousgaI70c0GKaop6UaG9WCYYuhLiGYa9ZLQS0GlYN6iCz209p7znTNHKj9rPYkPPzbrW3uffc4sbGoEGFbYwO3wuhoVy3aIiu0+yyWDa1ctoJ1jZFsdcjxfLWrilr7CJUvimFxlTihwd4FrRpzuajOVq9NcBMMkeZu09AI1HxXvZfB23XzaC2MFwHYoO144x4hZtbC0nGDwvJePz+891QYwk7UV6D47LuyI07HImBfgmiWuTzwGGBv43Xkq3gTwgbbtV4Sruw+rVpVwNRmr1nrhavKGtUs2iBOanOkFLg3YDOMq/uLceXQIKtbzAlFmL87624Su21VLyFAd0vYlrnJ+6Lwxl72AGOx3CKW9sEfqtt0ciqkcFRhpamSTpWL2gpMMk/0OITuUtRds8aVkQOXRJ5iMpvZ6BE7g5PNdsff5eNWStq6DxZcoT0VoXMYQesQLnJjsbwh9vb5ZR1kWF4DZiZoBiqhCGuHeOyVgc6TCjOW8ENkj1R7WK5E3iOMmLbJZrPC6b2kdO0GFqpjoOSeZvTBHKryw88K7TSJwdnGx68VmZ2/pq+s+fvMzUbGqIJqUXGDCMTmdt0rNlXkhc0haRM8LqVi40+85S1HwxxtTRBUqSETvORc6cd6qpceFt2rZC9Qaqdje+VYtNonrgxHdDR9QMAWVChP9QI+g+VAyYuF9PdxzHCs22gcXe8+R0WkDJwXXoOCwUipqSpbZKYGDybLQLpMJp0v23kXWOa9PlswnX6K74V4NgFGASwgu4/PtazOBY5O3iMl2h3MXZefr6cDB5UTvia6aIQBLAA4S9KLx/D5zVtt9dqcbCwab7dB5h4PYiN49DffgMFsMBfDHyGMdDCF7Z7WUbI9U9zKJWEw/oBJ7Gj7cSQIXUKwsgsY5y3YhAlpyAe5PkN0HF4AlcXZRFnAisedd18MBpmUJOEasszihTrEXW4WMktkLjvIKxwu5pma2yJJqTU70vhMjoJgSFRCUfFuL76e3Q9k67cEnjwx2vRCyrtgcUKgXRtQkmVWg0ion1qAMudP1DE7f+ZBkc4Gyu73NhU0ywNV4Ve66MySocqUVINZEYzNs1ru99EhGyc4THwp231EX40X5DLgwWD6dp1ISjdee5Jo3GZNRcnpcLPOaT3e1NplLlq6ulnrvgcsqNeBQLonGanHjM2Rx2ZqczsVqY7LNBchc78MvJMoNKaMyMmTUXK97pFJPOM8Lex3xRqeecOA+uuhxqUxlKELGDdxScZ2UAwoFV5n1AgKYtwC7HaJHQE6lmKt9wNmRqWC2/vdELS5nx+rr8fmcwO3S2yEmnO0RKTmV2r//0a07Hjc7qBwVkdbg/ea9B46drmcrJBfmgHJXLe/dHliUi5xpFSlXoXzSSrY2n8S7CIrmkm2LCBlcaT4vcKkUsBevDydJKz+kpikWJk8T95sfAF15cEcVJF+P2WKyPfkAXodqj9x6/WaAPIWlmV3NJaORsebLXHTlQa9HOG9pk+0gWrly/xFgbbnQXOXKTDnj9NnLTx4cvcqvqDhHWJJkWcHBBXn1EQjYb8ZdmWq/1RzKRLdefnK0vf1qB9iMtvssC9gLF2DCtynK0Bz1B0XJQY8JuqOjo6dnZ4+wD6d1gfX62pthrtYqqv6kkEum5CSXfbS9o6Xl1auenkOerkH9owNJcrk6EDO6IRoZ/N7aCnhnZ2cL9JTV398/PChUPz64X9AtfGhyYnT09u1n+IFv9Pvw4JCBzvDd3NSF6R8UnqtmVCx/9tz8mPKhUFH27LDZRSHlT8HIbLiRoPKvsly/2NwyNSuFSgN+sIHSkJq1ygtmwhaUq39TLCvwl2KzYuo/FCyJhn8T22hJUP2/ghXFhZG8QE48nhPIixQWV/iB/gIAs5wnecfVoQAAAABJRU5ErkJggg==",class:[be,"van-haptics-feedback"],onClick:function(){return i.visiableAnswer=!0}},null)])]}}),_(he,{show:i.visiableAnswer,"onUpdate:show":function(e){return i.visiableAnswer=e},title:"题目列表",safeAreaInsetBottom:!0},{default:function(){return[_(It,{value:i.questionList,lookType:"PRACTICE",onSelect:function(e){var t;null===(t=o.value)||void 0===t||t.swipeTo(e,{immediate:!0}),i.visiableAnswer=!1}},null)]}}),_(v,{show:i.visiableError,"onUpdate:show":function(e){return i.visiableError=e},style:{width:"90%"},round:!0,closeOnClickOverlay:!1},{default:function(){return[_(Mo,{onClose:function(){return i.visiableError=!1},answerAnalysis:i.answerAnalysis,questionTypeCode:i.questionTypeCode,onConform:function(){var e;null===(e=o.value)||void 0===e||e.next(),i.answerAnalysis=""}},null)]}}),_(v,{show:i.visiableResult,"onUpdate:show":function(e){return i.visiableResult=e},closeOnClickOverlay:!1,style:{background:"transparent",width:"96%"}},{default:function(){return[_(Qo,{status:"PRACTICE",confirmButtonText:"下一个考点",cancelButtonText:"继续练习本考点",onClose:g,onConform:y},{content:function(){return _("div",{class:we},[_("div",{class:Ae},[C("本次练习正确率")]),_("div",{class:xe},[i.overResult.rate,C("%")]),_(J,{border:!1,columnNum:3},{default:function(){return[_($,null,{default:function(){return[_("p",{class:Se},[i.overResult.time]),_("p",{class:Te},[C("练习时长")])]}}),_($,null,{default:function(){return[_("p",{class:[Se]},[0|i.overResult.questionLength]),_("p",{class:Te},[C("答题数")])]}}),_($,null,{default:function(){return[_("p",{class:Se},[0|i.overResult.errorLength]),_("p",{class:Te},[C("错题数")])]}})]}}),i.overResult.rate>=100?_("div",{class:Ee},[C("你真棒!"),_("br",null,null),C("本知识点你已经完全掌握啦!")]):_("div",{class:Ee},[C("继续努力!"),_("br",null,null),C("争取在测验中获得高分!")])])}})]}}),_(ee,{show:i.visiableSure,"onUpdate:show":function(e){return i.visiableSure=e},title:"练习完成",message:"确认本次练习的题目都完成了吗?",messageAlign:"left",showCancelButton:!0,cancelButtonText:"再等等",confirmButtonText:"确认完成",onConfirm:m},null),_(ee,{show:i.quitStatus,"onUpdate:show":function(e){return i.quitStatus=e},title:"提示",message:"您是否退出本次练习?",showCancelButton:!0,cancelButtonText:"取消",onCancel:function(){window.history.pushState(null,"",document.URL),window.addEventListener("popstate",b,!1)},confirmButtonText:"确认退出",onConfirm:w},null),_(ee,{message:i.dialogMessage,show:i.dialogStatus,"onUpdate:show":function(e){return i.dialogStatus=e},showCancelButton:!0,cancelButtonText:"返回",onCancel:function(){r.back()},confirmButtonText:"立即开通",onConfirm:function(){r.push("/memberCenter")}},null)])}}}))}}}))}();
|