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",l=a.asyncIterator||"@@asyncIterator",u=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(D){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 E(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(D){return{type:"throw",arg:D}}}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 w=m.prototype=h.prototype=Object.create(g);function b(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,l){var u=f(e[i],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.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 k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=T(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 l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function T(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,T(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 S(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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,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:k}}function k(){return{value:void 0,done:!0}}return _.prototype=m,i(w,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:_,configurable:!0}),_.displayName=c(m,u,"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,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},b(A.prototype),c(A.prototype,l,(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()}))},b(w),c(w,u,"Generator"),c(w,s,(function(){return this})),c(w,"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,E.prototype={constructor:E,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(I),!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"),l=o.call(i,"finallyLoc");if(s&&l){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(!l)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),I(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;I(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),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).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,l,"next",e)}function l(e){t(a,o,i,s,l,"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=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)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-35f9ff3a.js","./index-legacy-ab835eed.js","./index-legacy-63386b6c.js","./index-legacy-bd1996f4.js","./index-legacy-ff371773.js","./index-legacy-85e62e40.js","./index-legacy-7390b403.js","./index-legacy-56d72b1d.js","./index-legacy-c4848a17.js"],(function(t,a){"use strict";var s,l,u,c,d,f,p,h,_,m,g,v,y,w,b,A,x,T,S,I,E,C,k,D,O,L,j,R,P,M,B,q,F,N,z,H,U,X,V,G,Y,Q,K,W,Z,J,$,ee,te,ne,re,oe,ie,ae=document.createElement("style");return ae.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(ae),{setters:[function(e){s=e.c,l=e.a6,u=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.U,y=e.I,w=e.H,b=e.L,A=e.y,x=e.k,T=e.ag,S=e.q,I=e.ah,E=e.z,C=e.e,k=e.F,D=e.a1,O=e.ai,L=e.aj,j=e.w,R=e.x,P=e.A,M=e.r,B=e.Z,q=e.ak,F=e.al,N=e.R,z=e.am,H=e.an,U=e.M,X=e.S,V=e.V,G=e.E,Y=e.C},function(e){Q=e.M},function(e){K=e.T},function(e){W=e.I},function(e){Z=e.G,J=e.a},function(e){$=e.O},function(e){ee=e.C},function(e){te=e.b,ne=e.u,re=e.a},function(e){oe=e.S,ie=e.a}],execute:function(){var ae=i(s("action-sheet"),2),se=ae[0],le=ae[1],ue=l({},u,{title:String,round:c,actions:d(),closeIcon:f("cross"),closeable:c,cancelText:String,description:String,closeOnPopstate:c,closeOnClickAction:Boolean,safeAreaInsetBottom:c}),ce=[].concat(o(p),["round","closeOnPopstate","safeAreaInsetBottom"]),de=h({name:se,props:ue,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:le("header")},[e.title,e.closeable&&_(y,{name:e.closeIcon,class:[le("close"),w],onClick:i},null)])},s=function(){if(n.cancel||e.cancelText)return[_("div",{class:le("gap")},null),_("button",{type:"button",class:le("cancel"),onClick:i},[n.cancel?n.cancel():e.cancelText])]},l=function(e,t){return e.loading?_(b,{class:le("loading-icon")},null):n.action?n.action({action:e,index:t}):[_("span",{class:le("name")},[e.name]),e.subname&&_("div",{class:le("subname")},[e.subname])]},u=function(t,n){var i=t.color,a=t.loading,s=t.callback,u=t.disabled,c=t.className;return _("button",{type:"button",style:{color:i},class:[le("item",{loading:a,disabled:u}),c],onClick:function(){u||a||(s&&s(t),e.closeOnClickAction&&o(!1),A((function(){return r("select",t,n)})))}},[l(t,n)])},c=function(){if(e.description||n.description){var t=n.description?n.description():e.description;return _("div",{class:le("description")},[t])}};return function(){return _(v,m({class:le(),position:"bottom","onUpdate:show":o},g(e,ce)),{default:function(){var t;return[a(),c(),_("div",{class:le("content")},[e.actions.map(u),null==(t=n.default)?void 0:t.call(n)]),s()]}})}}}),fe=x(de),pe="_unitDetail_1eas7_1",he="_unitSwipe_1eas7_9",_e="_questionTitle_1eas7_12",me="_questionNum_1eas7_21",ge="_questionType_1eas7_24",ve="_wapList_1eas7_36",ye="_practiceResult_1eas7_42",we="_practiceTitle_1eas7_42",be="_practiceRate_1eas7_48",Ae="_title_1eas7_64",xe="_name_1eas7_70",Te="_practiceTips_1eas7_76",Se="_btnSection_1eas7_89",Ie="_prevBtn_1eas7_94",Ee="_nextBtn_1eas7_95",Ce="_activePrevBtn_1eas7_96",ke={};!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),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=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 l,u,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(u=1,l=new Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];c[u].fn.apply(c[u].context,l)}}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 l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==t||o&&!s[l].once||r&&s[l].context!==r)&&u.push(s[l]);u.length?this._events[i]=1===u.length?u[0]:u: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}({get exports(){return ke},set exports(e){ke=e}});var De=new ke,Oe={1:"A",2:"B",3:"C",4:"D",5:"E",6:"F",7:"G",8:"H",9:"I",10:"J"},Le="RADIO",je="CHECKBOX",Re="LINK",Pe="SORT",Me="PLAY",Be="单选题",qe="多选题",Fe="连线题",Ne="排序题",ze="演奏题",He="IMAGE",Ue="TXT",Xe="AUDIO",Ve={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"},Ge="_unitAudio_1g6zx_1",Ye="_htmlAudio_1g6zx_9",Qe="_htmlTimes_1g6zx_23",Ke="_iconAudio_1g6zx_31",We="_audioStatus_1g6zx_35",Ze={};
- /*!
- * 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"),l=o.match(/Version\/(.*?) /),u=s&&l&&parseInt(l[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:!(u||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(u||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||n;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function t(n){for(;e._html5AudioPool.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 l=e.ctx.createBufferSource();l.buffer=e._scratchBuffer,l.connect(e.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),l.onended=function(){l.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 l=s._id;return r._queue.push({event:"play",action:function(){r.play(l)}}),l}if(o&&!s._paused)return t||r._loadQueue("play"),s._id;r._webAudio&&n._autoResume();var u=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-u),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=u,s._start=f,s._stop=p,s._loop=!(!s._loop&&!r._sprite[e][2])};if(!(u>=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,u,86400):_.bufferSource.noteGrainOn(0,u,c):s._loop?_.bufferSource.start(0,u,86400):_.bufferSource.start(0,u,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=u,_.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 l=i._soundById(a[s]);if(l){if(o||i._stopFade(a[s]),i._webAudio&&!l._muted){var u=n.ctx.currentTime,c=u+r/1e3;l._volume=e,l._node.gain.setValueAtTime(e,u),l._node.gain.linearRampToValueAtTime(t,c)}i._startFadeInterval(l,e,t,r,a[s],void 0===o)}}return i},_startFadeInterval:function(e,t,n,r,o,i){var a=this,s=t,l=n-t,u=Math.abs(l/.01),c=Math.max(4,u>0?r/u:r),d=Date.now();e._fadeTo=n,e._interval=setInterval((function(){var o=(Date.now()-d)/r;d=Date.now(),s+=l*o,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),a._webAudio?e._volume=s:a.volume(s,e._id,!0),i&&(a._volume=s),(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]),l=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),l)),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 l=r.playing(t);l&&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 u=function(){l&&r.play(t,!0),r._emit("seek",t)};if(l&&!r._webAudio){setTimeout((function e(){r._playLock?setTimeout(e,0):u()}),0)}else u()}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 u(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);l(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?l(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()}},l=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,u(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)},u=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},c=function(){if(n.usingWebAudio){try{"undefined"!=typeof AudioContext?n.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(i){n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),t=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),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 l=i._soundById(a[s]);if(l){if("number"!=typeof e)return l._pos;l._pos=[e,n,r],l._node&&(l._panner&&!l._panner.pan||t(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(r,Howler.ctx.currentTime)):l._panner.setPosition(e,n,r)),i._emit("pos",l._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 l=i._soundById(a[s]);if(l){if("number"!=typeof e)return l._orientation;l._orientation=[e,n,r],l._node&&(l._panner||(l._pos||(l._pos=i._pos||[0,0,-.5]),t(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(r,Howler.ctx.currentTime)):l._panner.setOrientation(e,n,r)),i._emit("orientation",l._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),l=0;l<s.length;l++)if(o=i._soundById(s[l])){var u=o._pannerAttr;u={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:u.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:u.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:u.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:u.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:u.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:u.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:u.rolloffFactor,panningModel:void 0!==e.panningModel?e.panningModel:u.panningModel};var c=o._panner;c?(c.coneInnerAngle=u.coneInnerAngle,c.coneOuterAngle=u.coneOuterAngle,c.coneOuterGain=u.coneOuterGain,c.distanceModel=u.distanceModel,c.maxDistance=u.maxDistance,c.refDistance=u.refDistance,c.rolloffFactor=u.rolloffFactor,c.panningModel=u.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)}}()}(Ze);var Je=h({name:"unit-audio",props:{src:{type:String,default:""}},setup:function(e){var t=S({audioStatus:"stopped",duration:0}),n=new Ze.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"})),De.on("unitAudioStop",(function(){n.stop(),t.audioStatus="stopped"})),I((function(){n.off("load")})),function(){return _("div",{class:Ge},[_("div",{class:Ye,onClick:function(e){e.stopPropagation(),"stopped"===t.audioStatus?(De.emit("unitAudioStop"),n.play(),t.audioStatus="paused"):"paused"===t.audioStatus&&(n.pause(),t.audioStatus="stopped")}},[_("div",{class:Qe},[_(y,{class:Ke,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,E('"')])]),_(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:We},null)])])}}}),$e=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=C((function(){return e.answerType===je?qe:e.answerType===Re?Fe:e.answerType===Pe?Ne:e.answerType===Me?ze:Be})),n=C((function(){return e.extra.mediaUrls?e.extra.mediaUrls.split(","):""}));return function(){return _(k,null,[_("div",{class:Ve.unitSubjectTitle},[e.index,E("、"),e.name,E(" "),_("span",{class:Ve.unitScore},[E("("),e.score||0,E("分)")]),_(K,{type:"primary",style:{lineHeight:"20px"}},{default:function(){return[t.value]}})]),e.showRate&&_("div",{class:Ve.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:Ve.icon},null),E("正确率:"),_("span",{class:Ve.rate},[e.extra.rightRate||0,E("%")])]),e.extra.questionDetail||n.value?_("div",{class:Ve.unitDetail},[_("div",{innerHTML:e.extra.questionDetail},null),n.value&&n.value.map((function(e){return e&&_(k,null,["mp3"===e.substr(-3)?_(Je,{src:e,class:Ve.valueAudio},null):_(W,{class:[Ve.unitTitleImg,"answerTitleImg"],src:e},null)])}))]):""])}}}),et="_answerAnalysis_1x634_1",tt="_analysisResult_1x634_8",nt="_aImg_1x634_16",rt="_success_1x634_20",ot="_error_1x634_23",it="_analysisTitle_1x634_26",at="_analysisMessage_1x634_29",st="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==",lt=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:et},[e.topic?_(k,null,[e.userResult?_("div",{class:[tt,rt]},[_(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:nt},null),e.rightFlagText]):_("div",{class:[tt,ot]},[_(y,{name:st,class:nt},null),e.errorFlagText])]):"",e.answerAnalysis&&_(k,null,[_("div",{class:[tt,it]},[_(y,{name:"data:image/png;base64,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",class:nt},null),E("答案解析")]),_("div",{class:at},[e.answerAnalysis])])])}}}),ut="_unitSubject_94r0n_1",ct="_unitAnswers_94r0n_11",dt="_unitAnswer_94r0n_11",ft="_option_94r0n_23",pt="_value_94r0n_26",ht="_valueAudio_94r0n_35",_t="_active_94r0n_38",mt="_answerContent_94r0n_42",gt="_answerChoice_94r0n_46",vt=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=C((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:ut},[r.title&&r.title(),_($e,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:"radio"===e.type?Le:je,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),_("div",{class:ct},[i.value.map((function(t,r){return _("div",{class:[dt,t.checked&&_t],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:mt},[_("span",{class:ft},[Oe[r+1],E(".")]),t.questionAnswerTypeCode===He&&_("div",{class:pt},[_(W,{src:t.questionAnswer,fit:"contain",class:"answerTitleImg"},null)]),t.questionAnswerTypeCode===Ue&&_("div",{class:pt},[t.questionAnswer]),t.questionAnswerTypeCode===Xe&&_("div",{class:pt},[_(Je,{src:t.questionAnswer,class:ht},null)])]),e.showRate&&_("div",{class:gt},[t.selectRate||0,E("%人选择")])])}))])]),e.showAnalysis&&_(lt,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),yt="_anserList_1yzxl_1",wt="_status_1yzxl_5",bt="_aList_1yzxl_28",At="_answered_1yzxl_46",xt="_yes_1yzxl_50",Tt="_no_1yzxl_54";var St=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:yt},[e.statusList.length>0&&_("div",{class:wt},[e.statusList.map((function(e){return _("span",null,[_("i",{style:{backgroundColor:e.color}},null),e.text])}))]),_("div",{style:{maxHeight:"40vh",minHeight:"20vh",overflowX:"auto"}},[_(Z,{class:bt,columnNum:6,border:!1},(o=t=e.value.map((function(t,o){return _(J,{onClick:function(){return n("select",o)}},{default:function(){return[_("span",{class:["ANSWER"===e.lookType&&t.userAnswer&&t.userAnswer.length>0&&At,"RESULT"===e.lookType&&(r(t.id)?xt:Tt),"CLICK"===e.lookType&&o===e.index&&At,"CLICK"!==e.lookType&&t.showAnalysis?t.analysis.userResult?xt:Tt:""]},[o+1])]}})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!D(o)?t:{default:function(){return[t]}}))])])}}}),It={},Et={get exports(){return It},set exports(e){It=e}};
- /**!
- * Sortable 1.10.2
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */
- function Ct(e){return Ct="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},Ct(e)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dt(){return Dt=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},Dt.apply(this,arguments)}function Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kt(e,t,n[t])}))}return e}function Lt(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 jt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Rt(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Pt=Rt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Mt=Rt(/Edge/i),Bt=Rt(/firefox/i),qt=Rt(/safari/i)&&!Rt(/chrome/i)&&!Rt(/android/i),Ft=Rt(/iP(ad|od|hone)/i),Nt=Rt(/chrome/i)&&Rt(/android/i),zt={capture:!1,passive:!1};function Ht(e,t,n){e.addEventListener(t,n,!Pt&&zt)}function Ut(e,t,n){e.removeEventListener(t,n,!Pt&&zt)}function Xt(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 Vt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Gt(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&Xt(e,t):Xt(e,t))||r&&e===n)return e;if(e===n)break}while(e=Vt(e))}return null}var Yt,Qt=/\s+/g;function Kt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Qt," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Qt," ")}}function Wt(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 Zt(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Wt(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 Jt(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 $t(){var e=document.scrollingElement;return e||document.documentElement}function en(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,s,l,u,c,d;if(e!==window&&e!==$t()?(a=(i=e.getBoundingClientRect()).top,s=i.left,l=i.bottom,u=i.right,c=i.height,d=i.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Pt))do{if(o&&o.getBoundingClientRect&&("none"!==Wt(o,"transform")||n&&"static"!==Wt(o,"position"))){var f=o.getBoundingClientRect();a-=f.top+parseInt(Wt(o,"border-top-width")),s-=f.left+parseInt(Wt(o,"border-left-width")),l=a+i.height,u=s+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=Zt(o||e),h=p&&p.a,_=p&&p.d;p&&(l=(a/=_)+(c/=_),u=(s/=h)+(d/=h))}return{top:a,left:s,bottom:l,right:u,width:d,height:c}}}function tn(e,t,n){for(var r=sn(e,!0),o=en(e)[t];r;){var i=en(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===$t())break;r=sn(r,!1)}return!1}function nn(e,t,n){for(var r=0,o=0,i=e.children;o<i.length;){if("none"!==i[o].style.display&&i[o]!==fr.ghost&&i[o]!==fr.dragged&&Gt(i[o],n.draggable,e,!1)){if(r===t)return i[o];r++}o++}return null}function rn(e,t){for(var n=e.lastElementChild;n&&(n===fr.ghost||"none"===Wt(n,"display")||t&&!Xt(n,t));)n=n.previousElementSibling;return n||null}function on(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===fr.clone||t&&!Xt(e,t)||n++;return n}function an(e){var t=0,n=0,r=$t();if(e)do{var o=Zt(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 sn(e,t){if(!e||!e.getBoundingClientRect)return $t();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Wt(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 $t();if(r||t)return n;r=!0}}}while(n=n.parentNode);return $t()}function ln(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 un(e,t){return function(){if(!Yt){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),Yt=setTimeout((function(){Yt=void 0}),t)}}}function cn(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function dn(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 fn(e,t){Wt(e,"position","absolute"),Wt(e,"top",t.top),Wt(e,"left",t.left),Wt(e,"width",t.width),Wt(e,"height",t.height)}function pn(e){Wt(e,"position",""),Wt(e,"top",""),Wt(e,"left",""),Wt(e,"width",""),Wt(e,"height","")}var hn="Sortable"+(new Date).getTime();function _n(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==Wt(e,"display")&&e!==fr.ghost){t.push({target:e,rect:en(e)});var n=Ot({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=Zt(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=en(n),l=n.prevFromRect,u=n.prevToRect,c=e.rect,d=Zt(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&ln(l,s)&&!ln(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,l,u,r.options)),ln(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){Wt(e,"transition",""),Wt(e,"transform","");var o=Zt(this.el),i=o&&o.a,a=o&&o.d,s=(t.left-n.left)/(i||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,Wt(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),Wt(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),Wt(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){Wt(e,"transition",""),Wt(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var mn=[],gn={initializeByDefault:!0},vn={mount:function(e){for(var t in gn)gn.hasOwnProperty(t)&&!(t in e)&&(e[t]=gn[t]);mn.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";mn.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](Ot({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](Ot({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in mn.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,Dt(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 mn.forEach((function(r){"function"==typeof r.eventProperties&&Dt(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return mn.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function yn(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[hn]){var _,m=t.options,g="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||Pt||Mt?(_=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=l,_.newIndex=u,_.oldDraggableIndex=c,_.newDraggableIndex=d,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var v=Ot({},h,vn.getEventProperties(r,t));for(var y in v)_[y]=v[y];n&&n.dispatchEvent(_),m[g]&&m[g].call(t,_)}}var wn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=Lt(n,["evt"]);vn.pluginEvent.bind(fr)(e,t,Ot({dragEl:An,parentEl:xn,ghostEl:Tn,rootEl:Sn,nextEl:In,lastDownEl:En,cloneEl:Cn,cloneHidden:kn,dragStarted:Hn,putSortable:Pn,activeSortable:fr.active,originalEvent:r,oldIndex:Dn,oldDraggableIndex:Ln,newIndex:On,newDraggableIndex:jn,hideGhostForTarget:lr,unhideGhostForTarget:ur,cloneNowHidden:function(){kn=!0},cloneNowShown:function(){kn=!1},dispatchSortableEvent:function(e){bn({sortable:t,name:e,originalEvent:r})}},o))};function bn(e){yn(Ot({putSortable:Pn,cloneEl:Cn,targetEl:An,rootEl:Sn,oldIndex:Dn,oldDraggableIndex:Ln,newIndex:On,newDraggableIndex:jn},e))}var An,xn,Tn,Sn,In,En,Cn,kn,Dn,On,Ln,jn,Rn,Pn,Mn,Bn,qn,Fn,Nn,zn,Hn,Un,Xn,Vn,Gn,Yn=!1,Qn=!1,Kn=[],Wn=!1,Zn=!1,Jn=[],$n=!1,er=[],tr="undefined"!=typeof document,nr=Ft,rr=Mt||Pt?"cssFloat":"float",or=tr&&!Nt&&!Ft&&"draggable"in document.createElement("div"),ir=function(){if(tr){if(Pt)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),ar=function(e,t){var n=Wt(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=nn(e,0,t),i=nn(e,1,t),a=o&&Wt(o),s=i&&Wt(i),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+en(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+en(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||l>=r&&"none"===n[rr]||i&&"none"===n[rr]&&l+u>r)?"vertical":"horizontal"},sr=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 l=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==Ct(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},lr=function(){!ir&&Tn&&Wt(Tn,"display","none")},ur=function(){!ir&&Tn&&Wt(Tn,"display","")};tr&&document.addEventListener("click",(function(e){if(Qn)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Qn=!1,!1}),!0);var cr=function(e){if(An){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Kn.some((function(e){if(!rn(e)){var t=en(e),n=e[hn].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,s=i>=t.top-n&&i<=t.bottom+n;return n&&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[hn]._onDragOver(n)}}var o,i,a},dr=function(e){An&&An.parentNode[hn]._isOutsideThisEl(e.target)};function fr(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=Dt({},t),e[hn]=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 ar(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!==fr.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in vn.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in sr(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&or,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ht(e,"pointerdown",this._onTapStart):(Ht(e,"mousedown",this._onTapStart),Ht(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ht(e,"dragover",this),Ht(e,"dragenter",this)),Kn.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Dt(this,_n())}function pr(e,t,n,r,o,i,a,s){var l,u,c=e[hn],d=c.options.onMove;return!window.CustomEvent||Pt||Mt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||en(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function hr(e){e.draggable=!1}function _r(){$n=!1}function mr(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 gr(e){return setTimeout(e,0)}function vr(e){return clearTimeout(e)}fr.prototype={constructor:fr,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Un=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,An):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,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=r.filter;if(function(e){er.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&er.push(r)}}(n),!An&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled||l.isContentEditable||(s=Gt(s,r.draggable,n,!1))&&s.animated||En===s)){if(Dn=on(s),Ln=on(s,r.draggable),"function"==typeof u){if(u.call(this,e,s,this))return bn({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),wn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=Gt(l,r.trim(),n,!1))return bn({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),wn("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Gt(l,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&&!An&&n.parentNode===i){var l=en(n);if(Sn=i,xn=(An=n).parentNode,In=An.nextSibling,En=n,Rn=a.group,fr.dragged=An,Mn={target:An,clientX:(t||e).clientX,clientY:(t||e).clientY},Nn=Mn.clientX-l.left,zn=Mn.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,An.style["will-change"]="all",r=function(){wn("delayEnded",o,{evt:e}),fr.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!Bt&&o.nativeDraggable&&(An.draggable=!0),o._triggerDragStart(e,t),bn({sortable:o,name:"choose",originalEvent:e}),Kt(An,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Jt(An,e.trim(),hr)})),Ht(s,"dragover",cr),Ht(s,"mousemove",cr),Ht(s,"touchmove",cr),Ht(s,"mouseup",o._onDrop),Ht(s,"touchend",o._onDrop),Ht(s,"touchcancel",o._onDrop),Bt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,An.draggable=!0),wn("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Mt||Pt))r();else{if(fr.eventCanceled)return void this._onDrop();Ht(s,"mouseup",o._disableDelayedDrag),Ht(s,"touchend",o._disableDelayedDrag),Ht(s,"touchcancel",o._disableDelayedDrag),Ht(s,"mousemove",o._delayedDragTouchMoveHandler),Ht(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&Ht(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(){An&&hr(An),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Ut(e,"mouseup",this._disableDelayedDrag),Ut(e,"touchend",this._disableDelayedDrag),Ut(e,"touchcancel",this._disableDelayedDrag),Ut(e,"mousemove",this._delayedDragTouchMoveHandler),Ut(e,"touchmove",this._delayedDragTouchMoveHandler),Ut(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Ht(document,"pointermove",this._onTouchMove):Ht(document,t?"touchmove":"mousemove",this._onTouchMove):(Ht(An,"dragend",this),Ht(Sn,"dragstart",this._onDragStart));try{document.selection?gr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Yn=!1,Sn&&An){wn("dragStarted",this,{evt:t}),this.nativeDraggable&&Ht(document,"dragover",dr);var n=this.options;!e&&Kt(An,n.dragClass,!1),Kt(An,n.ghostClass,!0),fr.active=this,e&&this._appendGhost(),bn({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Bn){this._lastX=Bn.clientX,this._lastY=Bn.clientY,lr();for(var e=document.elementFromPoint(Bn.clientX,Bn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Bn.clientX,Bn.clientY))!==t;)t=e;if(An.parentNode[hn]._isOutsideThisEl(e),t)do{if(t[hn]){if(t[hn]._onDragOver({clientX:Bn.clientX,clientY:Bn.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);ur()}},_onTouchMove:function(e){if(Mn){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=Tn&&Zt(Tn,!0),a=Tn&&i&&i.a,s=Tn&&i&&i.d,l=nr&&Gn&&an(Gn),u=(o.clientX-Mn.clientX+r.x)/(a||1)+(l?l[0]-Jn[0]:0)/(a||1),c=(o.clientY-Mn.clientY+r.y)/(s||1)+(l?l[1]-Jn[1]:0)/(s||1);if(!fr.active&&!Yn){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Tn){i?(i.e+=u-(qn||0),i.f+=c-(Fn||0)):i={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Wt(Tn,"webkitTransform",d),Wt(Tn,"mozTransform",d),Wt(Tn,"msTransform",d),Wt(Tn,"transform",d),qn=u,Fn=c,Bn=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Tn){var e=this.options.fallbackOnBody?document.body:Sn,t=en(An,!0,nr,!0,e),n=this.options;if(nr){for(Gn=e;"static"===Wt(Gn,"position")&&"none"===Wt(Gn,"transform")&&Gn!==document;)Gn=Gn.parentNode;Gn!==document.body&&Gn!==document.documentElement?(Gn===document&&(Gn=$t()),t.top+=Gn.scrollTop,t.left+=Gn.scrollLeft):Gn=$t(),Jn=an(Gn)}Kt(Tn=An.cloneNode(!0),n.ghostClass,!1),Kt(Tn,n.fallbackClass,!0),Kt(Tn,n.dragClass,!0),Wt(Tn,"transition",""),Wt(Tn,"transform",""),Wt(Tn,"box-sizing","border-box"),Wt(Tn,"margin",0),Wt(Tn,"top",t.top),Wt(Tn,"left",t.left),Wt(Tn,"width",t.width),Wt(Tn,"height",t.height),Wt(Tn,"opacity","0.8"),Wt(Tn,"position",nr?"absolute":"fixed"),Wt(Tn,"zIndex","100000"),Wt(Tn,"pointerEvents","none"),fr.ghost=Tn,e.appendChild(Tn),Wt(Tn,"transform-origin",Nn/parseInt(Tn.style.width)*100+"% "+zn/parseInt(Tn.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;wn("dragStart",this,{evt:e}),fr.eventCanceled?this._onDrop():(wn("setupClone",this),fr.eventCanceled||((Cn=dn(An)).draggable=!1,Cn.style["will-change"]="",this._hideClone(),Kt(Cn,this.options.chosenClass,!1),fr.clone=Cn),n.cloneId=gr((function(){wn("clone",n),fr.eventCanceled||(n.options.removeCloneOnHide||Sn.insertBefore(Cn,An),n._hideClone(),bn({sortable:n,name:"clone"}))})),!t&&Kt(An,o.dragClass,!0),t?(Qn=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Ut(document,"mouseup",n._onDrop),Ut(document,"touchend",n._onDrop),Ut(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,An)),Ht(document,"drop",n),Wt(An,"transform","translateZ(0)")),Yn=!0,n._dragStartId=gr(n._dragStarted.bind(n,t,e)),Ht(document,"selectstart",n),Hn=!0,qt&&Wt(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,o,i=this.el,a=e.target,s=this.options,l=s.group,u=fr.active,c=Rn===l,d=s.sort,f=Pn||u,p=this,h=!1;if(!$n){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Gt(a,s.draggable,i,!0),C("dragOver"),fr.eventCanceled)return h;if(An.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return D(!1);if(Qn=!1,u&&!s.disabled&&(c?d||(r=!Sn.contains(An)):Pn===this||(this.lastPutMode=Rn.checkPull(this,u,An,e))&&l.checkPut(this,u,An,e))){if(o="vertical"===this._getDirection(e,a),t=en(An),C("dragOverValid"),fr.eventCanceled)return h;if(r)return xn=Sn,k(),this._hideClone(),C("revert"),fr.eventCanceled||(In?Sn.insertBefore(An,In):Sn.appendChild(An)),D(!0);var _=rn(i,s.draggable);if(!_||function(e,t,n){var r=en(rn(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(_===An)return D(!1);if(_&&i===e.target&&(a=_),a&&(n=en(a)),!1!==pr(Sn,i,An,t,a,n,e,!!a))return k(),i.appendChild(An),xn=i,O(),D(!0)}else if(a.parentNode===i){n=en(a);var m,g,v,y=An.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,l=n?t.width:t.height;return r===a||o===s||r+i/2===a+l/2}(An.animated&&An.toRect||t,a.animated&&a.toRect||n,o),b=o?"top":"left",A=tn(a,"top","top")||tn(An,"top","top"),x=A?A.scrollTop:void 0;if(Un!==a&&(g=n[b],Wn=!1,Zn=!w&&s.invertSwap||y),m=function(e,t,n,r,o,i,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a)if(s&&Vn<u*o){if(!Wn&&(1===Xn?l>c+u*i/2:l<d-u*i/2)&&(Wn=!0),Wn)f=!0;else if(1===Xn?l<c+Vn:l>d-Vn)return-Xn}else if(l>c+u*(1-o)/2&&l<d-u*(1-o)/2)return function(e){return on(An)<on(e)?1:-1}(t);if((f=f||a)&&(l<c+u*i/2||l>d-u*i/2))return l>c+u/2?1:-1;return 0}(e,a,n,o,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Zn,Un===a),0!==m){var T=on(An);do{T-=m,v=xn.children[T]}while(v&&("none"===Wt(v,"display")||v===Tn))}if(0===m||v===a)return D(!1);Un=a,Xn=m;var S=a.nextElementSibling,I=!1,E=pr(Sn,i,An,t,a,n,e,I=1===m);if(!1!==E)return 1!==E&&-1!==E||(I=1===E),$n=!0,setTimeout(_r,30),k(),I&&!S?i.appendChild(An):a.parentNode.insertBefore(An,I?S:a),A&&cn(A,0,x-A.scrollTop),xn=An.parentNode,void 0===g||Zn||(Vn=Math.abs(g-en(a)[b])),O(),D(!0)}if(i.contains(An))return D(!1)}return!1}function C(s,l){wn(s,p,Ot({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 pr(Sn,i,An,t,n,en(n),e,r)},changed:O},l))}function k(){C("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function D(t){return C("dragOverCompleted",{insertion:t}),t&&(c?u._hideClone():u._showClone(p),p!==f&&(Kt(An,Pn?Pn.options.ghostClass:u.options.ghostClass,!1),Kt(An,s.ghostClass,!0)),Pn!==p&&p!==fr.active?Pn=p:p===fr.active&&Pn&&(Pn=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){C("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===An&&!An.animated||a===i&&!a.animated)&&(Un=null),s.dragoverBubble||e.rootEl||a===document||(An.parentNode[hn]._isOutsideThisEl(e.target),!t&&cr(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function O(){On=on(An),jn=on(An,s.draggable),bn({sortable:p,name:"change",toEl:i,newIndex:On,newDraggableIndex:jn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ut(document,"mousemove",this._onTouchMove),Ut(document,"touchmove",this._onTouchMove),Ut(document,"pointermove",this._onTouchMove),Ut(document,"dragover",cr),Ut(document,"mousemove",cr),Ut(document,"touchmove",cr)},_offUpEvents:function(){var e=this.el.ownerDocument;Ut(e,"mouseup",this._onDrop),Ut(e,"touchend",this._onDrop),Ut(e,"pointerup",this._onDrop),Ut(e,"touchcancel",this._onDrop),Ut(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;On=on(An),jn=on(An,n.draggable),wn("drop",this,{evt:e}),xn=An&&An.parentNode,On=on(An),jn=on(An,n.draggable),fr.eventCanceled||(Yn=!1,Zn=!1,Wn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vr(this.cloneId),vr(this._dragStartId),this.nativeDraggable&&(Ut(document,"drop",this),Ut(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),qt&&Wt(document.body,"user-select",""),Wt(An,"transform",""),e&&(Hn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Tn&&Tn.parentNode&&Tn.parentNode.removeChild(Tn),(Sn===xn||Pn&&"clone"!==Pn.lastPutMode)&&Cn&&Cn.parentNode&&Cn.parentNode.removeChild(Cn),An&&(this.nativeDraggable&&Ut(An,"dragend",this),hr(An),An.style["will-change"]="",Hn&&!Yn&&Kt(An,Pn?Pn.options.ghostClass:this.options.ghostClass,!1),Kt(An,this.options.chosenClass,!1),bn({sortable:this,name:"unchoose",toEl:xn,newIndex:null,newDraggableIndex:null,originalEvent:e}),Sn!==xn?(On>=0&&(bn({rootEl:xn,name:"add",toEl:xn,fromEl:Sn,originalEvent:e}),bn({sortable:this,name:"remove",toEl:xn,originalEvent:e}),bn({rootEl:xn,name:"sort",toEl:xn,fromEl:Sn,originalEvent:e}),bn({sortable:this,name:"sort",toEl:xn,originalEvent:e})),Pn&&Pn.save()):On!==Dn&&On>=0&&(bn({sortable:this,name:"update",toEl:xn,originalEvent:e}),bn({sortable:this,name:"sort",toEl:xn,originalEvent:e})),fr.active&&(null!=On&&-1!==On||(On=Dn,jn=Ln),bn({sortable:this,name:"end",toEl:xn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){wn("nulling",this),Sn=An=xn=Tn=In=Cn=En=kn=Mn=Bn=Hn=On=jn=Dn=Ln=Un=Xn=Pn=Rn=fr.dragged=fr.ghost=fr.clone=fr.active=null,er.forEach((function(e){e.checked=!0})),er.length=qn=Fn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":An&&(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++)Gt(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||mr(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,r){var o=n.children[r];Gt(o,this.options.draggable,n,!1)&&(t[e]=o)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Gt(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=vn.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&sr(n)},destroy:function(){wn("destroy",this);var e=this.el;e[hn]=null,Ut(e,"mousedown",this._onTapStart),Ut(e,"touchstart",this._onTapStart),Ut(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ut(e,"dragover",this),Ut(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Kn.splice(Kn.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!kn){if(wn("hideClone",this),fr.eventCanceled)return;Wt(Cn,"display","none"),this.options.removeCloneOnHide&&Cn.parentNode&&Cn.parentNode.removeChild(Cn),kn=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(kn){if(wn("showClone",this),fr.eventCanceled)return;Sn.contains(An)&&!this.options.group.revertClone?Sn.insertBefore(Cn,An):In?Sn.insertBefore(Cn,In):Sn.appendChild(Cn),this.options.group.revertClone&&this.animate(An,Cn),Wt(Cn,"display",""),kn=!1}}else this._hideClone()}},tr&&Ht(document,"touchmove",(function(e){(fr.active||Yn)&&e.cancelable&&e.preventDefault()})),fr.utils={on:Ht,off:Ut,css:Wt,find:Jt,is:function(e,t){return!!Gt(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:un,closest:Gt,toggleClass:Kt,clone:dn,index:on,nextTick:gr,cancelNextTick:vr,detectDirection:ar,getChild:nn},fr.get=function(e){return e[hn]},fr.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&&(fr.utils=Ot({},fr.utils,e.utils)),vn.mount(e)}))},fr.create=function(e,t){return new fr(e,t)},fr.version="1.10.2";var yr,wr,br,Ar,xr,Tr,Sr=[],Ir=!1;function Er(){Sr.forEach((function(e){clearInterval(e.pid)})),Sr=[]}function Cr(){clearInterval(Tr)}var kr,Dr=un((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,l=t.scrollSpeed,u=$t(),c=!1;wr!==n&&(wr=n,Er(),yr=t.scroll,o=t.scrollFn,!0===yr&&(yr=sn(n,!0)));var d=0,f=yr;do{var p=f,h=en(p),_=h.top,m=h.bottom,g=h.left,v=h.right,y=h.width,w=h.height,b=void 0,A=void 0,x=p.scrollWidth,T=p.scrollHeight,S=Wt(p),I=p.scrollLeft,E=p.scrollTop;p===u?(b=y<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),A=w<T&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(b=y<x&&("auto"===S.overflowX||"scroll"===S.overflowX),A=w<T&&("auto"===S.overflowY||"scroll"===S.overflowY));var C=b&&(Math.abs(v-i)<=s&&I+y<x)-(Math.abs(g-i)<=s&&!!I),k=A&&(Math.abs(m-a)<=s&&E+w<T)-(Math.abs(_-a)<=s&&!!E);if(!Sr[d])for(var D=0;D<=d;D++)Sr[D]||(Sr[D]={});Sr[d].vx==C&&Sr[d].vy==k&&Sr[d].el===p||(Sr[d].el=p,Sr[d].vx=C,Sr[d].vy=k,clearInterval(Sr[d].pid),0==C&&0==k||(c=!0,Sr[d].pid=setInterval(function(){r&&0===this.layer&&fr.active._onTouchMove(xr);var t=Sr[this.layer].vy?Sr[this.layer].vy*l:0,n=Sr[this.layer].vx?Sr[this.layer].vx*l:0;"function"==typeof o&&"continue"!==o.call(fr.dragged.parentNode[hn],n,t,e,xr,Sr[this.layer].el)||cn(Sr[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==u&&(f=sn(f,!1)));Ir=c}}),30),Or=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 l=n||o;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);s(),l&&!l.el.contains(c)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function Lr(){}function jr(){}Lr.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=nn(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:Or},Dt(Lr,{pluginName:"revertOnSpill"}),jr.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:Or},Dt(jr,{pluginName:"removeOnSpill"});var Rr,Pr,Mr,Br,qr,Fr=[],Nr=[],zr=!1,Hr=!1,Ur=!1;function Xr(e,t){Nr.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Vr(){Fr.forEach((function(e){e!==Mr&&e.parentNode&&e.parentNode.removeChild(e)}))}fr.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,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?Ht(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ht(document,"pointermove",this._handleFallbackAutoScroll):t.touches?Ht(document,"touchmove",this._handleFallbackAutoScroll):Ht(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?Ut(document,"dragover",this._handleAutoScroll):(Ut(document,"pointermove",this._handleFallbackAutoScroll),Ut(document,"touchmove",this._handleFallbackAutoScroll),Ut(document,"mousemove",this._handleFallbackAutoScroll)),Cr(),Er(),clearTimeout(Yt),Yt=void 0},nulling:function(){xr=wr=yr=Ir=Tr=br=Ar=null,Sr.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(xr=e,t||Mt||Pt||qt){Dr(e,this.options,i,t);var a=sn(i,!0);!Ir||Tr&&r===br&&o===Ar||(Tr&&Cr(),Tr=setInterval((function(){var i=sn(document.elementFromPoint(r,o),!0);i!==a&&(a=i,Er()),Dr(e,n.options,i,t)}),10),br=r,Ar=o)}else{if(!this.options.bubbleScroll||sn(i,!0)===$t())return void Er();Dr(e,this.options,sn(i,!1),!1)}}},Dt(e,{pluginName:"scroll",initializeByDefault:!0})}),fr.mount(jr,Lr);var Gr=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?Ht(document,"pointerup",this._deselectMultiDrag):(Ht(document,"mouseup",this._deselectMultiDrag),Ht(document,"touchend",this._deselectMultiDrag)),Ht(document,"keydown",this._checkKeyDown),Ht(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";Fr.length&&Pr===e?Fr.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;Mr=t},delayEnded:function(){this.isMultiDrag=~Fr.indexOf(Mr)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<Fr.length;r++)Nr.push(dn(Fr[r])),Nr[r].sortableIndex=Fr[r].sortableIndex,Nr[r].draggable=!1,Nr[r].style["will-change"]="",Kt(Nr[r],this.options.selectedClass,!1),Fr[r]===Mr&&Kt(Nr[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||Fr.length&&Pr===t&&(Xr(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(Xr(!1,n),Nr.forEach((function(e){Wt(e,"display","")})),t(),qr=!1,r())},hideClone:function(e){var t=this;e.sortable;var n=e.cloneNowHidden,r=e.cancel;this.isMultiDrag&&(Nr.forEach((function(e){Wt(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),qr=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&Pr&&Pr.multiDrag._deselectMultiDrag(),Fr.forEach((function(e){e.sortableIndex=on(e)})),Fr=Fr.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),Ur=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Fr.forEach((function(e){e!==Mr&&Wt(e,"position","absolute")}));var r=en(Mr,!1,!0,!0);Fr.forEach((function(e){e!==Mr&&fn(e,r)})),Hr=!0,zr=!0}n.animateAll((function(){Hr=!1,zr=!1,t.options.animation&&Fr.forEach((function(e){pn(e)})),t.options.sort&&Vr()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;Hr&&~Fr.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;Fr.length>1&&(Fr.forEach((function(e){r.addAnimationState({target:e,rect:Hr?en(e):o}),pn(e),e.fromRect=o,t.removeAnimationState(e)})),Hr=!1,function(e,t){Fr.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(),zr=!1,s.animation&&Fr.length>1&&(Hr||!n&&!o.options.sort&&!a)){var l=en(Mr,!1,!0,!0);Fr.forEach((function(e){e!==Mr&&(fn(e,l),i.appendChild(e))})),Hr=!0}if(!n)if(Hr||Vr(),Fr.length>1){var u=qr;o._showClone(t),o.options.animation&&!qr&&u&&Nr.forEach((function(e){o.addAnimationState({target:e,rect:Br}),e.fromRect=Br,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(Fr.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Br=Dt({},t);var o=Zt(Mr,!0);Br.top-=o.f,Br.left-=o.e}},dragOverAnimationComplete:function(){Hr&&(Hr=!1,Vr())},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,l=s||this.sortable;if(t){var u=this.options,c=r.children;if(!Ur)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Kt(Mr,u.selectedClass,!~Fr.indexOf(Mr)),~Fr.indexOf(Mr))Fr.splice(Fr.indexOf(Mr),1),Rr=null,yn({sortable:o,rootEl:n,name:"deselect",targetEl:Mr,originalEvt:t});else{if(Fr.push(Mr),yn({sortable:o,rootEl:n,name:"select",targetEl:Mr,originalEvt:t}),t.shiftKey&&Rr&&o.el.contains(Rr)){var d,f,p=on(Rr),h=on(Mr);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f<d;f++)~Fr.indexOf(c[f])||(Kt(c[f],u.selectedClass,!0),Fr.push(c[f]),yn({sortable:o,rootEl:n,name:"select",targetEl:c[f],originalEvt:t}))}else Rr=Mr;Pr=l}if(Ur&&this.isMultiDrag){if((r[hn].options.sort||r!==n)&&Fr.length>1){var _=en(Mr),m=on(Mr,":not(."+this.options.selectedClass+")");if(!zr&&u.animation&&(Mr.thisAnimationDuration=null),l.captureAnimationState(),!zr&&(u.animation&&(Mr.fromRect=_,Fr.forEach((function(e){if(e.thisAnimationDuration=null,e!==Mr){var t=Hr?en(e):_;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),Vr(),Fr.forEach((function(e){c[m]?r.insertBefore(e,c[m]):r.appendChild(e),m++})),a===on(Mr))){var g=!1;Fr.forEach((function(e){e.sortableIndex===on(e)||(g=!0)})),g&&i("update")}Fr.forEach((function(e){pn(e)})),l.animateAll()}Pr=l}(n===r||s&&"clone"!==s.lastPutMode)&&Nr.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Ur=!1,Nr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ut(document,"pointerup",this._deselectMultiDrag),Ut(document,"mouseup",this._deselectMultiDrag),Ut(document,"touchend",this._deselectMultiDrag),Ut(document,"keydown",this._checkKeyDown),Ut(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==Ur&&Ur||Pr!==this.sortable||e&&Gt(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;Fr.length;){var t=Fr[0];Kt(t,this.options.selectedClass,!1),Fr.shift(),yn({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)}},Dt(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[hn];t&&t.options.multiDrag&&!~Fr.indexOf(e)&&(Pr&&Pr!==t&&(Pr.multiDrag._deselectMultiDrag(),Pr=t),Kt(e,t.options.selectedClass,!0),Fr.push(e))},deselect:function(e){var t=e.parentNode[hn],n=Fr.indexOf(e);t&&t.options.multiDrag&&~n&&(Kt(e,t.options.selectedClass,!1),Fr.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Fr.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=Hr&&r!==Mr?-1:Hr?on(r,":not(."+e.options.selectedClass+")"):on(r),n.push({multiDragElement:r,index:o})})),{items:jt(Fr),clones:[].concat(Nr),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:fr,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;kr=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,l=this.options;if(n&&n!==s){var u=kr;!1!==r(n)?(Kt(n,l.swapClass,!0),kr=n):kr=null,u&&u!==kr&&Kt(u,l.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;kr&&Kt(kr,i.swapClass,!1),kr&&(i.swap||n&&n.options.swap)&&r!==kr&&(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=on(e),r=on(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,kr),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){kr=null}},Dt(e,{pluginName:"swap",eventProperties:function(){return{swapItem:kr}}})},default:fr},Symbol.toStringTag,{value:"Module"})),Yr=O(Gr);!function(e,t){var n;"undefined"!=typeof self&&self,n=function(e){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")}({"01f9":function(e,t,n){var r=n("2d00"),o=n("5ca1"),i=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),d=n("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),p="keys",h="values",_=function(){return this};e.exports=function(e,t,n,m,g,v,y){l(n,t,m);var w,b,A,x=function(e){if(!f&&e in E)return E[e];switch(e){case p:case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",S=g==h,I=!1,E=e.prototype,C=E[d]||E["@@iterator"]||g&&E[g],k=C||x(g),D=g?S?x("entries"):k:void 0,O="Array"==t&&E.entries||C;if(O&&(A=c(O.call(new e)))!==Object.prototype&&A.next&&(u(A,T,!0),r||"function"==typeof A[d]||a(A,d,_)),S&&C&&C.name!==h&&(I=!0,k=function(){return C.call(this)}),r&&!y||!f&&!I&&E[d]||a(E,d,k),s[t]=k,s[T]=_,g)if(w={values:S?k:x(h),keys:v?k:x(p),entries:D},y)for(b in w)b in E||i(E,b,w[b]);else o(o.P+o.F*(f||I),t,w);return w}},"02f4":function(e,t,n){var r=n("4588"),o=n("be13");e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},"0390":function(e,t,n){var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0bfb":function(e,t,n){var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),o=n("e11e");e.exports=Object.keys||function(e){return r(e,o)}},1495:function(e,t,n){var r=n("86cc"),o=n("cb7c"),i=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},"214f":function(e,t,n){n("b0c5");var r=n("2aba"),o=n("32e9"),i=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!c||"split"===e&&!d){var _=/./[f],m=n(a,f,""[e],(function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:_.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=m[0],v=m[1];r(String.prototype,e,g),o(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),o=n("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),o=n("1495"),i=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("230e")("iframe"),r=i.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),o=n("ca5a"),i=n("7726").Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){var r=n("5ca1"),o=n("d2c8"),i="includes";r(r.P+r.F*n("5147")(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var r=n("86cc"),o=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var r=n("69a8"),o=n("4bf8"),i=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"41a0":function(e,t,n){var r=n("2aeb"),o=n("4630"),i=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),o=n("0d58");n("5eda")("keys",(function(){return function(e){return o(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(o){}}return!0}},"520a":function(e,t,n){var r,o,i=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,u="lastIndex",c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r[u]||0!==o[u]),d=void 0!==/()??/.exec("")[1];(c||d)&&(l=function(e){var t,n,r,o,l=this;return d&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l[u]),r=a.call(l,e),c&&r&&(l[u]=l.global?r.index+r[0].length:t),d&&r&&r.length>1&&s.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},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var r=n("8378"),o=n("7726"),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var r=n("7726"),o=n("8378"),i=n("32e9"),a=n("2aba"),s=n("9b43"),l="prototype",u=function e(t,n,u){var c,d,f,p,h=t&e.F,_=t&e.G,m=t&e.P,g=t&e.B,v=_?r:t&e.S?r[n]||(r[n]={}):(r[n]||{})[l],y=_?o:o[n]||(o[n]={}),w=y[l]||(y[l]={});for(c in _&&(u=n),u)f=((d=!h&&v&&void 0!==v[c])?v:u)[c],p=g&&d?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,v&&a(v,c,f,t&e.U),y[c]!=f&&i(y,c,p),m&&w[c]!=f&&(w[c]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5eda":function(e,t,n){var r=n("5ca1"),o=n("8378"),i=n("79e5");e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},"5f1b":function(e,t,n){var o=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!==r(a))throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==o(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"613b":function(e,t,n){var r=n("5537")("keys"),o=n("ca5a");e.exports=function(e){return r[e]||(r[e]=o(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6762:function(e,t,n){var r=n("5ca1"),o=n("c366")(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(e,t,n){var r=n("626a"),o=n("be13");e.exports=function(e){return r(o(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var r=n("d3f4");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")}},7333:function(e,t,n){var r=n("0d58"),o=n("2621"),i=n("52a7"),a=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=o.f,d=i.f;l>u;)for(var f,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),_=h.length,m=0;_>m;)d.call(p,f=h[m++])&&(n[f]=p[f]);return n}:l},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7f20":function(e,t,n){var r=n("86cc").f,o=n("69a8"),i=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),o=Array.prototype;null==o[r]&&n("32e9")(o,r,{}),e.exports=function(e){o[r][e]=!0}},"9def":function(e,t,n){var r=n("4588"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,n){t.exports=e},a481:function(e,t,n){var r=n("cb7c"),o=n("4bf8"),i=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var d=r(e),f=String(this),p="function"==typeof t;p||(t=String(t));var m=d.global;if(m){var g=d.unicode;d.lastIndex=0}for(var v=[];;){var y=l(d,f);if(null===y)break;if(v.push(y),!m)break;""===String(y[0])&&(d.lastIndex=s(f,i(d.lastIndex),g))}for(var w,b="",A=0,x=0;x<v.length;x++){y=v[x];for(var T=String(y[0]),S=u(c(a(y.index),f.length),0),I=[],E=1;E<y.length;E++)I.push(void 0===(w=y[E])?w:String(w));var C=y.groups;if(p){var k=[T].concat(I,S,f);void 0!==C&&k.push(C);var D=String(t.apply(void 0,k))}else D=_(T,f,S,I,C,t);S>=A&&(b+=f.slice(A,S)+D,A=S+T.length)}return b+f.slice(A)}];function _(e,t,r,i,a,s){var l=r+e.length,u=i.length,c=p;return void 0!==a&&(a=o(a),c=f),n.call(s,c,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>u){var f=d(c/10);return 0===f?n:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[c-1]}return void 0===s?"":s}))}}))},aae3:function(e,t,n){var r=n("d3f4"),o=n("2d95"),i=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},ac6a:function(e,t,n){for(var r=n("cadf"),o=n("0d58"),i=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),d=u("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),_=0;_<h.length;_++){var m,g=h[_],v=p[g],y=a[g],w=y&&y.prototype;if(w&&(w[c]||s(w,c,f),w[d]||s(w,d,g),l[g]=f,v))for(m in r)w[m]||i(w,m,r[m],!0)}},b0c5:function(e,t,n){var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var r=n("6821"),o=n("9def"),i=n("77f1");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},c649:function(e,t,n){(function(e){n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return l})),n("a481");var r,o,i="undefined"!=typeof window?window.console:e.console,a=/-(\w)/g,s=(r=function(e){return e.replace(a,(function(e,t){return t?t.toUpperCase():""}))},o=Object.create(null),function(e){return o[e]||(o[e]=r(e))});function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}}).call(this,n("c8ba"))},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},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},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){var r=n("9c6c"),o=n("d53b"),i=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var r=n("69a8"),o=n("6821"),i=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},d2c8:function(e,t,n){var r=n("aae3"),o=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===r(e)?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,n){var r=n("5ca1"),o=n("9def"),i=n("d2c8"),a="startsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},f6fd:function(e,t){!function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})}(document)},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){var r;function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function a(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(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||i(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 s(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(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.r(t),"undefined"!=typeof window&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var l=n("a352"),u=n.n(l),c=n("c649");function d(e,t){var n=this;this.$nextTick((function(){return n.$emit(e.toLowerCase(),t)}))}function f(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),d.call(t,e,n)}}function p(e){return["transition-group","TransitionGroup"].includes(e)}function h(e,t,n){return e[n]||(t[n]?t[n]():void 0)}var _=["Start","Add","Remove","Update","End"],m=["Choose","Unchoose","Sort","Filter","Clone"],g=["Move"].concat(_,m).map((function(e){return"on"+e})),v=null,y={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;var t=a(e,1)[0].componentOptions;return!!t&&p(t.tag)}(t);var n=function(e,t,n){var r=0,o=0,i=h(t,n,"header");i&&(r=i.length,e=e?[].concat(s(i),s(e)):s(i));var a=h(t,n,"footer");return a&&(o=a.length,e=e?[].concat(s(e),s(a)):s(a)),{children:e,headerOffset:r,footerOffset:o}}(t,this.$slots,this.$scopedSlots),r=n.children,o=n.headerOffset,i=n.footerOffset;this.headerOffset=o,this.footerOffset=i;var l=function(e,t){var n=null,r=function(e,t){n=function(e,t,n){return void 0===n||((e=e||{})[t]=n),e}(n,e,t)};if(r("attrs",Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,n){return t[n]=e[n],t}),{})),!t)return n;var o=t.on,i=t.props,a=t.attrs;return r("on",o),r("props",i),Object.assign(n.attrs,a),n}(this.$attrs,this.componentData);return e(this.getTag(),l,r)},created:function(){null!==this.list&&null!==this.value&&c.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&c.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&c.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};_.forEach((function(n){t["on"+n]=f.call(e,n)})),m.forEach((function(n){t["on"+n]=d.bind(e,n)}));var n=Object.keys(this.$attrs).reduce((function(t,n){return t[Object(c.a)(n)]=e.$attrs[n],t}),{}),r=Object.assign({},this.options,n,t,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new u.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var n=Object(c.a)(t);-1===g.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=function(e,t,n,r){if(!e)return[];var o=e.map((function(e){return e.elm})),i=t.length-r,a=s(t).map((function(e,t){return t>=i?o.length:o.indexOf(e)}));return n?a.filter((function(e){return-1!==e})):a}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=function(e,t){return e.map((function(e){return e.elm})).indexOf(t)}(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&p(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=s(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,s(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};if(t!==n&&o&&r.getUnderlyingVm){var a=r.getUnderlyingVm(n);if(a)return Object.assign(a,i)}return i},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),v=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(c.d)(e.item);var n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(Object(c.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})}else Object(c.d)(e.clone)},onDragUpdate:function(e){Object(c.d)(e.item),Object(c.c)(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=s(t.to.children).filter((function(e){return"none"!==e.style.display})),r=n.indexOf(t.related),o=e.component.getVmIndex(r);return-1===n.indexOf(v)&&t.willInsertAfter?o+1:o},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),o=this.context,i=this.computeFutureIndex(r,e);return Object.assign(o,{futureIndex:i}),n(Object.assign({},e,{relatedContext:r,draggedContext:o}),t)},onDragEnd:function(){this.computeIndexes(),v=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",y);var w=y;t.default=w}}).default},e.exports=n(Yr)}(Et);var Qr=L(It),Kr="_unitSubject_1igih_1",Wr="_unitAnswers_1igih_10",Zr="_unitAnswer_1igih_10",Jr="_option_1igih_22",$r="_value_1igih_25",eo="_active_1igih_37",to="_answerContent_1igih_41",no="_sortReset_1igih_54",ro="_tips_1igih_62",oo="_itemsContainer_1igih_75",io="_items_1igih_75",ao="_imgs_1igih_81",so=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=S({domId:"draggableContainer"+ +new Date,drag:!1,sortable:null,list:[],options:[],alst:[]}),i=C((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 j((function(){return o.options}),(function(){var e=o.options||[],t=[];e.forEach((function(e,n){t.push({answerId:e.index,answer:e.leftValue,answerExtra:n+1})})),n("update:value",t)})),R((function(){console.log(e.data,"mounted",o.options),a()})),function(){return _(k,null,[_("div",{class:Kr},[r.title&&r.title(),_($e,{index:e.index,name:e.data.name,showRate:e.showRate,score:e.data.totalScore,answerType:Pe,extra:{rightRate:e.data.rightRate,questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls}},null),_("div",{class:[Wr]},[i.value.map((function(t,r){return _("div",{class:[Zr,t.checked&&eo],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:to},[_("span",{class:Jr},[Oe[r+1],E(".")]),t.questionAnswerTypeCode===He&&_("div",{class:$r},[_(W,{src:t.questionAnswer},null)]),t.questionAnswerTypeCode===Ue&&_("div",{class:$r},[t.questionAnswer])])])})),_("div",{class:[no,"van-hairline--top"]},[_("span",{class:ro},[E("请长按拖拽答案进行排序")]),_(P,{type:"primary",round:!0,disabled:e.readOnly,onClick:function(){o.options=[],o.list=[],function(){var e=o.list||[],t=[];e.forEach((function(e,n){t.push({answerId:e.answerId,answer:e.answer,answerExtra:n+1})})),n("update:value",t)}(),a()}},{default:function(){return[E("重置")]}})]),e.readOnly?o.options.map((function(e){return _("div",{class:oo},[e.leftType===Ue&&_(K,{class:[io],"data-id":e.itemIndex},{default:function(){return[e.leftValue]}}),e.leftType===He&&_(W,{src:e.leftValue,"data-id":e.itemIndex,class:[ao,"van-hairline--surround"],fit:"cover"},null)])})):_(Qr,{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:oo},[t.leftType===Ue&&_(K,{class:[io],"data-id":t.itemIndex},{default:function(){return[t.leftValue]}}),t.leftType===He&&_(W,{src:t.leftValue,"data-id":t.itemIndex,class:[ao,"van-hairline--surround"],fit:"cover"},null)])}})])]),e.showAnalysis&&_(lt,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),lo="_unitSubject_4o8nc_1",uo="_unitAnswers_4o8nc_10",co="_answerItem_4o8nc_15",fo="_img_4o8nc_26",po="_unitItem_4o8nc_29",ho="_active_4o8nc_45",_o="_canvasSection_4o8nc_49",mo="_resetBtnGroup_4o8nc_54",go=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=M(),i=S({answerDomId:"answer"+ +new Date,answerRect:{},dpr:1,sortable:null,list:[],options:[],drawLineList:[],selectItem:[]}),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left",n=i.drawLineList||[],r=!1,o=0,a={};return n.forEach((function(n,i){(n.leftIndex===e&&"left"===t||n.rightIndex===e&&"right"===t)&&(a=n,r=!0,o=i)})),{status:r,selectIndex:o,selectOption:a}},s=function(){var e=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},l={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:l,leftIndex:n.index,rightIndex:a.index}},l=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){u(t,e.startPoint,e.endPoint)}))}},u=function(e,t,n){e.beginPath(),e.moveTo(Math.floor(t.x-1)*i.dpr,Math.ceil(t.y)*i.dpr),e.lineTo(Math.ceil(n.x+1)*i.dpr,Math.ceil(n.y)*i.dpr),e.lineWidth=2*i.dpr,e.strokeStyle="#1CACF1",e.stroke()},c=function(){var e=i.options||[],t=i.drawLineList||[],r=[];t.forEach((function(t){var n=e.find((function(e){return e.index===t.leftIndex})),o=e.find((function(e){return e.index===t.rightIndex}));r.push({answerId:n.index,answer:n.leftValue,answerExtra:o.rightValue})})),n("update:value",r)};return R((function(){var t,n;t=e.data.answers||[],n=e.data.userAnswer||[],t.forEach((function(e){var t={index:e.examinationQuestionAnswerId,leftValue:e.questionAnswer,rightValue:e.questionExtra,leftType:e.questionAnswerTypeCode||"TXT",rightType:e.questionExtraTypeCode||"TXT",left:!1,right:!1,leftLocked:!1,rightLocked:!1};i.options.push(t)})),n.forEach((function(e){var t={startPoint:{x:0,y:0},endPoint:{x:0,y:0},leftIndex:0,rightIndex:0};i.options.forEach((function(n){n.index===e.answerId&&(n.left=!0,n.leftLocked=!0,t.leftIndex=n.index),n.rightValue===e.answerExtra&&(n.right=!0,n.leftLocked=!0,t.rightIndex=n.index)})),i.drawLineList.push(t)})),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(){l(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:lo},[r.title&&r.title(),_($e,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:Re,extra:{questionDetail:e.data.questionDetail,mediaUrls:e.data.mediaUrls,rightRate:e.data.rightRate}},null),_("div",{class:[uo],id:i.answerDomId},[_("canvas",{ref:o,class:_o,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:co},[_("div",{class:[po,t.left&&ho],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),l(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 u=s();i.drawLineList.push(u),i.selectItem=[],l(o.value)}c()}}(0,t)}},[t.leftType===Ue&&t.leftValue,t.leftType===He&&_(W,{src:t.leftValue,class:fo},null)]),_("div",{class:[po,t.right&&ho],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),l(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 u=s();i.drawLineList.push(u),i.selectItem=[],l(o.value)}c()}}(0,t)}},[t.rightType===Ue&&t.rightValue,t.rightType===He&&_(W,{src:t.rightValue,class:fo},null)])])}))]),_("div",{class:mo},[_(P,{round:!0,type:"primary",disabled:e.readOnly,onClick:function(){i.drawLineList=[],l(o.value),i.options.forEach((function(e){e.left=!1,e.right=!1,e.leftLocked=!1,e.rightLocked=!1})),i.selectItem=[],c()}},{default:function(){return[E("重置")]}})])]),e.showAnalysis&&_(lt,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult},null)])}}}),vo="_unitSubject_1j7w8_1",yo="_unitAnswers_1j7w8_10",wo="_playSection_1j7w8_14",bo="_img_1j7w8_19",Ao="_playTitle_1j7w8_24",xo="_playBtn_1j7w8_29",To="_unitScoreNum_1j7w8_37",So="_score_1j7w8_42",Io="_scoreTitle_1j7w8_47",Eo="_scoreTips_1j7w8_53",Co=""+new URL("icon-song-c2cb716c.png",a.meta.url).href,ko=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=S({list:[],score:0}),i=C((function(){return e.data.questionExtendsInfo?JSON.parse(e.data.questionExtendsInfo):""})),a=function(){var t=i.value;t&&(console.log(e.unitId),q({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}}),F("webViewOnResume",(function(){if(N().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 l=s.score||0;o.score<l&&(o.score=s.score||0),z({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}n("update:value",[{answerId:"",answer:o.score,answerExtra:""}]),H("webViewOnResume",(function(){}))}else z({api:"getCache",content:{key:"h5-orchestra-unit"}}).then((function(t){var r=t.content;if(r.value){console.log("🚀 ~ listenerMessage ~ content.value",r.value,"---------------");var i=r.value?JSON.parse(r.value):{};if(console.log("🚀 ~ listenerMessage ~ result",i,e.data.questionId),i.questionId===e.data.id){var a=i.score||0;o.score<a&&(o.score=i.score||0)}n("update:value",[{answerId:"",answer:o.score,answerExtra:""}]),z({api:"setCache",content:{key:"h5-orchestra-unit",value:""}})}H("webViewOnResume",(function(){}))}))})))};return R((function(){var t=e.value||[];t.length>0&&(o.score=t[0].answer)})),function(){return _(k,null,[_("div",{class:vo},[r.title&&r.title(),_($e,{index:e.index,name:e.data.name,score:e.data.totalScore,showRate:e.showRate,answerType:Me,extra:{questionDetail:e.data.questionDetail,mediaUrls:"",rightRate:e.data.rightRate}},null),_("div",{class:[yo]},[i.value&&_(ee,{class:wo,center:!0,titleClass:["van-ellipsis",Ao]},{icon:function(){return _(W,{class:bo,src:Co},null)},title:function(){return _(k,null,[i.value.musicName])},value:function(){return _(P,{round:!0,class:xo,type:"primary",onClick:a,disabled:e.readOnly},{default:function(){return[E("点击评测"),_(y,{name:"play"},null)]}})}}),(!e.readOnly||e.showScore)&&_("div",{class:["van-hairline--top",To]},[_("div",{class:So},[o.score]),_("div",{class:Io},[E("评测分数")]),!e.showScore&&_("div",{class:Eo},[E("多次评测取完整评测的最高分数")])])])]),e.showAnalysis&&_(lt,{answerAnalysis:e.analysis.message,topic:e.analysis.topic,userResult:e.analysis.userResult,rightFlagText:"合格",errorFlagText:"不合格"},null)])}}}),Do={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"},Oo=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:Do.popupResult},[_("div",{class:Do.resultTitle},[_(W,{src:st,class:Do.titleImg},null),"PLAY"===e.questionTypeCode?"不合格!":"回答错误!"]),_("div",{class:Do.resultContent},[_("span",null,[E("答案解析:")]),e.answerAnalysis]),_(P,{type:"primary",round:!0,class:Do.btn,block:!0,onClick:function(){n("conform"),n("close")}},{default:function(){return[e.confirmButtonText]}})])}}}),Lo="_finishResult_1jfdh_1",jo="_finishContainer_1jfdh_5",Ro="_finishContent_1jfdh_10",Po="_scoreNums_1jfdh_14",Mo="_scoreName_1jfdh_24",Bo="_scoreResult_1jfdh_33",qo="_finishFail_1jfdh_38",Fo="_finishPractice_1jfdh_43",No="_finishBtnGroup_1jfdh_48",zo="_finishLeft_1jfdh_54",Ho="_finishRight_1jfdh_55",Uo=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:[Lo,"FAIL"===e.status&&qo,"PRACTICE"===e.status&&Fo]},[_("div",{class:jo},[_("div",{class:Ro},[n.content?n.content():_(k,null,[_("div",{class:Po},[e.result.score,_("span",null,[E("分")])]),_("div",{class:Mo},[e.result.examName]),_("div",{class:Bo},[e.result.tips])])])]),_("div",{class:No},[_("div",{class:zo,onClick:function(){return r("close")}},[e.cancelButtonText]),_("div",{class:Ho,onClick:function(){return r("conform")}},[e.confirmButtonText])])])}}});t("default",h({name:"unit-detail",setup:function(){var t=V(),r=G(),o=M(),i=S({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=te(1e3,{controls:!0}),s=a.counter,l=a.resume,u=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,Y.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,l;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,Y.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 De.emit("unitAudioStop"),i.visiableSure=!0,e.abrupt("return");case 13:s?null===(l=o.value)||void 0===l||l.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=C((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},u(),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,l(),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(){},w=function(){i.quitStatus=!0,De.emit("unitAudioStop")},b=function(){window.removeEventListener("popstate",w,!1),r.back()};return R(n(e().mark((function t(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ne(document,"scroll",(function(){re().y.value>52?(i.background="#fff",i.color="#323333"):(i.background="transparent",i.color="#fff")})),e.next=3,c();case 3:if(h(),U.user.data.vipMember){e.next=9;break}return u(),i.dialogStatus=!0,i.dialogMessage="您暂未开通团练宝,请开通后使用",e.abrupt("return");case 9:case"end":return e.stop()}}),t)})))),I((function(){De.emit("unitAudioStop")})),function(){var e,t;return _("div",{class:pe},[_(Q,{position:"top"},{default:function(){return[_(X,{border:!1,background:i.background,color:i.color},null)]}}),_(oe,{loop:!1,showIndicators:!1,ref:o,duration:300,touchable:!1,class:he,style:{paddingBottom:"12px"},lazyRender:!0,height:i.swipeHeight,onChange:function(e){De.emit("unitAudioStop"),i.currentIndex=e,h()}},(t=e=i.questionList.map((function(e,t){return _(ie,null,{default:function(){return[_("div",{class:"swipe-item-question"},[e.questionTypeCode===Le&&_(vt,{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:_e},[_("div",{class:me},[_("span",null,[i.currentIndex+1]),E("/"),i.questionList.length]),_("div",{class:ge},[_("i",null,null),E("音及音高")])])}}),e.questionTypeCode===je&&_(vt,{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:_e},[_("div",{class:me},[_("span",null,[i.currentIndex+1]),E("/"),i.questionList.length]),_("div",{class:ge},[_("i",null,null),E("音及音高")])])}}),e.questionTypeCode===Pe&&_(so,{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:_e},[_("div",{class:me},[_("span",null,[i.currentIndex+1]),E("/"),i.questionList.length]),_("div",{class:ge},[_("i",null,null),E("音及音高")])])}}),e.questionTypeCode===Re&&_(go,{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:_e},[_("div",{class:me},[_("span",null,[i.currentIndex+1]),E("/"),i.questionList.length]),_("div",{class:ge},[_("i",null,null),E("音及音高")])])}}),e.questionTypeCode===Me&&_(ko,{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:_e},[_("div",{class:me},[_("span",null,[i.currentIndex+1]),E("/"),i.questionList.length]),_("div",{class:ge},[_("i",null,null),E("音及音高")])])}})])]}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!D(t)?e:{default:function(){return[e]}})),_(Q,{position:"bottom"},{default:function(){return[_("div",{class:["btnGroup btnMore",Se]},[_(P,{round:!0,block:!0,class:i.currentIndex>0?Ce:Ie,disabled:!(i.currentIndex>0),onClick:function(){var e;null===(e=o.value)||void 0===e||e.prev()}},{default:function(){return[E("上一题")]}}),_(P,{block:!0,round:!0,class:Ee,onClick:d,loading:i.nextStatus,disabled:i.nextStatus},{default:function(){return[i.questionList.length===i.currentIndex+1?"提交":"下一题"]}}),_(W,{src:"data:image/png;base64,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",class:[ve,"van-haptics-feedback"],onClick:function(){return i.visiableAnswer=!0}},null)])]}}),_(fe,{show:i.visiableAnswer,"onUpdate:show":function(e){return i.visiableAnswer=e},title:"题目列表",safeAreaInsetBottom:!0},{default:function(){return[_(St,{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[_(Oo,{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[_(Uo,{status:"PRACTICE",confirmButtonText:"下一个考点",cancelButtonText:"继续练习本考点",onClose:g,onConform:y},{content:function(){return _("div",{class:ye},[_("div",{class:we},[E("本次练习正确率")]),_("div",{class:be},[i.overResult.rate,E("%")]),_(Z,{border:!1,columnNum:3},{default:function(){return[_(J,null,{default:function(){return[_("p",{class:Ae},[i.overResult.time]),_("p",{class:xe},[E("练习时长")])]}}),_(J,null,{default:function(){return[_("p",{class:[Ae]},[0|i.overResult.questionLength]),_("p",{class:xe},[E("答题数")])]}}),_(J,null,{default:function(){return[_("p",{class:Ae},[0|i.overResult.errorLength]),_("p",{class:xe},[E("错题数")])]}})]}}),i.overResult.rate>=100?_("div",{class:Te},[E("你真棒!"),_("br",null,null),E("本知识点你已经完全掌握啦!")]):_("div",{class:Te},[E("继续努力!"),_("br",null,null),E("争取在测验中获得高分!")])])}})]}}),_($,{show:i.visiableSure,"onUpdate:show":function(e){return i.visiableSure=e},title:"练习完成",message:"确认本次练习的题目都完成了吗?",messageAlign:"left",showCancelButton:!0,cancelButtonText:"再等等",confirmButtonText:"确认完成",onConfirm:m},null),_($,{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",w,!1)},confirmButtonText:"确认退出",onConfirm:b},null),_($,{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)])}}}))}}}))}();
|