index-legacy.9898cf45.js 59 KB

1
  1. !function(){function e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function t(e){return t="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},t(e)}function n(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n,i,r,a,o){try{var l=e[a](o),s=l.value}catch(u){return void n(u)}l.done?t(s):Promise.resolve(s).then(i,r)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var a=e.apply(t,n);function l(e){o(a,i,r,l,s,"next",e)}function s(e){o(a,i,r,l,s,"throw",e)}l(void 0)}))}}function s(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)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(s){l=!0,r=s}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||u(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 u(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var d=document.createElement("style");d.innerHTML='._popup_6gl7n_1{background:transparent;width:3.25333rem;border-radius:.24rem}._wrap_6gl7n_6{background:#fff;text-align:center;border-radius:0 0 .24rem .24rem}._image_6gl7n_11{width:100%;display:block;margin-bottom:-.10667rem}._title_6gl7n_16{font-size:.21333rem;font-weight:500;color:#1a1a1a;line-height:.32rem;padding:.26667rem 0 .08rem}._andTitle_6gl7n_23{font-size:13Px}._sub_6gl7n_26{font-size:.16rem;font-weight:400;color:gray;margin-bottom:.21333rem}._andSub_6gl7n_32{font-size:12Px}._btnWrap_6gl7n_35{display:flex;align-items:center;justify-content:space-evenly;padding-bottom:.21333rem}._btn_6gl7n_35{width:1.62667rem;height:.45333rem;background-color:transparent;border:none;background-size:100% 100%;background-repeat:no-repeat}._cancelBtn_6gl7n_49{background-image:url(/orchestra-music-score/assets/no-confirm-btn.5ed39ffd.svg)}._confirmBtn_6gl7n_52{background-image:url(/orchestra-music-score/assets/confirm-btn.a36604ec.svg)}._tryoutBtn_6gl7n_55{background-image:url(/orchestra-music-score/assets/tryout-btn.891d6395.svg)}._discounts_6gl7n_58{position:relative}._discounts_6gl7n_58:after{width:.66667rem;height:.21333rem;line-height:.21333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.10667rem .10667rem .10667rem 0;content:"\\4e13\\5c5e\\4f18\\60e0";font-size:.13333rem;color:#fff;top:-.16rem;position:absolute;left:.16rem}._membershipBtn_6gl7n_74{background-image:url(/orchestra-music-score/assets/membership-btn.6c4804e5.svg)}._demandBtn_6gl7n_77{background-image:url(/orchestra-music-score/assets/demand-btn.56c792ce.svg)}._demandBtnFree_6gl7n_80{background-image:url(/orchestra-music-score/assets/demand-btn-free.c8a03b7c.svg)}._earphoneBtn_6gl7n_83{background-image:url(/orchestra-music-score/assets/earphone-btn.ab741053.png)}._closeBtn_6gl7n_86{position:absolute;right:-30Px;top:20Px}._item_6tre7_1{display:flex;align-items:center;margin:0 .18667rem;padding:.18667rem .26667rem .18667rem .21333rem;border-radius:.10667rem}._item_6tre7_1.active{background-color:#edfffc}._item_6tre7_1.active>p{color:#2dc7aa}._item_6tre7_1.active:after{content:"\\5f53\\524d";font-size:.18667rem;color:#2dc7aa;display:inline-block;padding-left:.08rem}._item_6tre7_1 ._tag_6tre7_23{height:.24rem;line-height:.24rem;border-radius:.08rem;text-align:center;display:block;margin-right:.10667rem;--van-tag-plain-background-color: transparent}._item_6tre7_1 ._tag_6tre7_23:after{border-radius:.10667rem}._item_6tre7_1 ._tag_6tre7_23:before{display:none}._item_6tre7_1 ._tag_6tre7_23.VIP{--van-tag-default-color: #cd863e;--van-gray-3: #cd863e}._item_6tre7_1 ._tag_6tre7_23.CHARGE{--van-tag-default-color: #3591ce;--van-gray-3: #3591ce}._item_6tre7_1 ._tag_6tre7_23.FREE{--van-tag-default-color: #01b84f;--van-gray-3: #01b84f}._item_6tre7_1>p{color:#333;font-size:.18667rem;margin:0;line-height:.26667rem;white-space:pre;overflow:hidden;flex:1;text-overflow:ellipsis}._tabs_6tre7_60{height:100vh;display:flex;flex-direction:column;--van-tab-text-color: #999999;--van-tab-active-text-color: #333;--van-tabs-bottom-bar-color: #2dc7aa;--van-tabs-bottom-bar-width: .34667rem;--van-tabs-bottom-bar-height: .05333rem}._tabs_6tre7_60 .van-tabs__line{width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background-color:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}._tabs_6tre7_60 .van-tab>span{color:var(--van-tab-active-text-color)!important}._tabs_6tre7_60 .van-tabs__wrap{height:.88rem!important;position:relative}._tabs_6tre7_60 .van-tabs__wrap:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #e8e8e8;transform:scale(.5);border-bottom-width:.02667rem}._tabs_6tre7_60 .van-tabs__wrap .van-tabs__line{bottom:.5rem!important}._tabs_6tre7_60 .van-tabs__content{height:calc(100vh - .88rem)}._tabs_6tre7_60 .van-tab__pane{height:100%}._list_6tre7_105{padding:.21333rem 0}._tab_6tre7_60{box-sizing:border-box;overflow:hidden;height:100%;overflow-y:auto}._container_hiwv0_1 img{width:100%;margin:auto;display:block}._changeIndex_hiwv0_6{font-size:.16rem;position:absolute;left:.64rem;bottom:.53333rem;z-index:10;width:.4rem;height:.4rem;border-radius:100%;background-color:#01c1b5;line-height:.4rem;text-align:center;color:#fff;box-shadow:0 0 .26667rem rgba(0,0,0,.05)}.transverse ._changeIndex_hiwv0_6{bottom:.26667rem;left:.02667rem}.flute ._changeIndex_hiwv0_6{left:.32rem!important}.piccolo ._changeIndex_hiwv0_6{left:1.5vw;bottom:.53333rem}.clarinet ._changeIndex_hiwv0_6{left:0!important}.horn ._changeIndex_hiwv0_6{left:1vw;top:1vh}.up-bass-horn ._changeIndex_hiwv0_6{left:1vw}.tuba ._changeIndex_hiwv0_6{right:inherit;left:1vw;bottom:.53333rem}.saxophone ._changeIndex_hiwv0_6{left:1vw}.trombone ._changeIndex_hiwv0_6{left:.32rem!important}@keyframes _activeopacity_hiwv0_1{0%{transforopacitym:0}to{opacity:1}}@keyframes _leftrotates_hiwv0_1{0%{transform:rotate(0)}50%{transform:rotate(-10deg)}to{transform:rotate(-10deg)}}@keyframes _rightrotates_hiwv0_1{0%{transform:rotate(0)}50%{transform:rotate(5deg)}to{transform:rotate(5deg)}}.small-drum img[data-index=active]{animation:_activeopacity_hiwv0_1 .2s;animation-delay:.3s;transform-origin:0 0}.small-drum img[data-index=left]{animation:_leftrotates_hiwv0_1 .5s;transform-origin:0 0}.small-drum img[data-index=right]{animation:_rightrotates_hiwv0_1 .5s;transform-origin:0 0}.piccolo{margin-top:0}.piano .right101 #b101,.piano .right102 #b102,.piano .right103 #b103,.piano .right103 #b103,.piano .right104 #b104,.piano .right105 #b105,.piano .right106 #b106,.piano .right107 #b107,.piano .right108 #b108,.piano .right109 #b109,.piano .right110 #b110,.piano .right111 #b111,.piano .right112 #b112,.piano .right113 #b113,.piano .right114 #b114,.piano .right115 #b115,.piano .right116 #b116,.piano .right117 #b117,.piano .right118 #b118,.piano .right119 #b119,.piano .right120 #b120,.piano .right121 #b121,.piano .right122 #b122,.piano .right123 #b123,.piano .right124 #b124,.piano .right125 #b125,.piano .right126 #b126,.piano .right127 #b127,.piano .right128 #b128,.piano .right129 #b129,.piano .right130 #b130,.piano .right131 #b131,.piano .right132 #b132,.piano .right133 #b133,.piano .right134 #b134,.piano .right135 #b135,.piano .right136 #b136,.piano .right137 #b137,.piano .right138 #b138,.piano .right139 #b139,.piano .right140 #b140,.piano .right141 #b141,.piano .right142 #b142,.piano .right143 #b143,.piano .right144 #b144,.piano .right145 #b145,.piano .right146 #b146,.piano .right147 #b147,.piano .right148 #b148,.piano .right149 #b149,.piano .right150 #b150,.piano .right151 #b151,.piano .right152 #b152{fill:#9fb9f9;stroke:#3f6ee0}.piano .right1 #h1>path:first-child,.piano .right2 #h2>path:first-child,.piano .right3 #h3>path:first-child,.piano .right3 #h3>path:first-child,.piano .right4 #h4>path:first-child,.piano .right5 #h5>path:first-child,.piano .right6 #h6>path:first-child,.piano .right7 #h7>path:first-child,.piano .right8 #h8>path:first-child,.piano .right9 #h9>path:first-child,.piano .right10 #h10>path:first-child,.piano .right11 #h11>path:first-child,.piano .right12 #h12>path:first-child,.piano .right13 #h13>path:first-child,.piano .right14 #h14>path:first-child,.piano .right15 #h15>path:first-child,.piano .right16 #h16>path:first-child,.piano .right17 #h17>path:first-child,.piano .right18 #h18>path:first-child,.piano .right19 #h19>path:first-child,.piano .right20 #h20>path:first-child,.piano .right21 #h21>path:first-child,.piano .right22 #h22>path:first-child,.piano .right23 #h23>path:first-child,.piano .right24 #h24>path:first-child,.piano .right25 #h25>path:first-child,.piano .right26 #h26>path:first-child,.piano .right27 #h27>path:first-child,.piano .right28 #h28>path:first-child,.piano .right29 #h29>path:first-child,.piano .right30 #h30>path:first-child,.piano .right31 #h31>path:first-child,.piano .right32 #h32>path:first-child,.piano .right33 #h33>path:first-child,.piano .right34 #h34>path:first-child,.piano .right35 #h35>path:first-child,.piano .right36 #h36>path:first-child{fill:url(#linearGradient-2)}.piano .left101 #b101,.piano .left102 #b102,.piano .left103 #b103,.piano .left103 #b103,.piano .left104 #b104,.piano .left105 #b105,.piano .left106 #b106,.piano .left107 #b107,.piano .left108 #b108,.piano .left109 #b109,.piano .left110 #b110,.piano .left111 #b111,.piano .left112 #b112,.piano .left113 #b113,.piano .left114 #b114,.piano .left115 #b115,.piano .left116 #b116,.piano .left117 #b117,.piano .left118 #b118,.piano .left119 #b119,.piano .left120 #b120,.piano .left121 #b121,.piano .left122 #b122,.piano .left123 #b123,.piano .left124 #b124,.piano .left125 #b125,.piano .left126 #b126,.piano .left127 #b127,.piano .left128 #b128,.piano .left129 #b129,.piano .left130 #b130,.piano .left131 #b131,.piano .left132 #b132,.piano .left133 #b133,.piano .left134 #b134,.piano .left135 #b135,.piano .left136 #b136,.piano .left137 #b137,.piano .left138 #b138,.piano .left139 #b139,.piano .left140 #b140,.piano .left141 #b141,.piano .left142 #b142,.piano .left143 #b143,.piano .left144 #b144,.piano .left145 #b145,.piano .left146 #b146,.piano .left147 #b147,.piano .left148 #b148,.piano .left149 #b149,.piano .left150 #b150,.piano .left151 #b151,.piano .left152 #b152{fill:#ffc046;stroke:#ff6f38}.piano .left1 #h1>path:first-child,.piano .left2 #h2>path:first-child,.piano .left3 #h3>path:first-child,.piano .left3 #h3>path:first-child,.piano .left4 #h4>path:first-child,.piano .left5 #h5>path:first-child,.piano .left6 #h6>path:first-child,.piano .left7 #h7>path:first-child,.piano .left8 #h8>path:first-child,.piano .left9 #h9>path:first-child,.piano .left10 #h10>path:first-child,.piano .left11 #h11>path:first-child,.piano .left12 #h12>path:first-child,.piano .left13 #h13>path:first-child,.piano .left14 #h14>path:first-child,.piano .left15 #h15>path:first-child,.piano .left16 #h16>path:first-child,.piano .left17 #h17>path:first-child,.piano .left18 #h18>path:first-child,.piano .left19 #h19>path:first-child,.piano .left20 #h20>path:first-child,.piano .left21 #h21>path:first-child,.piano .left22 #h22>path:first-child,.piano .left23 #h23>path:first-child,.piano .left24 #h24>path:first-child,.piano .left25 #h25>path:first-child,.piano .left26 #h26>path:first-child,.piano .left27 #h27>path:first-child,.piano .left28 #h28>path:first-child,.piano .left29 #h29>path:first-child,.piano .left30 #h30>path:first-child,.piano .left31 #h31>path:first-child,.piano .left32 #h32>path:first-child,.piano .left33 #h33>path:first-child,.piano .left34 #h34>path:first-child,.piano .left35 #h35>path:first-child,.piano .left36 #h36>path:first-child{fill:url(#linearGradient-3)}.evaluating ._fingering_shnq0_1{box-shadow:0 -.26667rem .26667rem #e2f6f1;background:#E2F6F1}.evaluating ._fingering_shnq0_1.vertical{box-shadow:none!important}.eyeProtection .fingering{box-shadow:0 -.26667rem .26667rem var(--eye-background-color);background:var(--eye-background-color)}.eyeProtection .fingering.vertical{box-shadow:none!important}._fingering_shnq0_1{position:fixed;bottom:0;left:0;right:0;padding:.13333rem;box-sizing:border-box;z-index:999;padding-top:0;box-shadow:0 -.26667rem .26667rem #fff;background:#fff}._fingering_shnq0_1.vertical{box-shadow:none!important}._fingering_shnq0_1.vertical{top:.93333rem;left:0;right:initial}._fingering_shnq0_1.vertical:before{display:none}._fingering_shnq0_1.transverse>div{max-width:60%;margin:auto}._fingering_shnq0_1 .substituteFinger{background:url(/orchestra-music-score/assets/substituteFinger.5d97109d.svg) no-repeat center;background-size:contain;left:0;color:transparent}._wrap_1a32j_1{position:fixed;left:0;bottom:0;z-index:1000}._wrap_1a32j_1 ._wrapItem_1a32j_7>span{margin-right:.05333rem}._wrap_1a32j_1 .van-cell-group{display:flex;background-color:rgba(0,0,0,.5);backdrop-filter:blur(.10667rem);border-radius:.05333rem;overflow:hidden}._wrap_1a32j_1 .van-cell{width:auto;padding:.10667rem;line-height:.16rem;background-color:transparent;color:#fff}._wrap_1a32j_1 ._clearItem_1a32j_24,._wrap_1a32j_1 ._saveItem_1a32j_25{border-left:.02667rem solid #fff}._wrap_1a32j_1 ._clearItem_1a32j_24:hover,._wrap_1a32j_1 ._saveItem_1a32j_25:hover{background-color:#000}._wrap_1a32j_1 ._clearItem_1a32j_24 .van-cell__title{color:#fffc00}._wrap_1a32j_1 ._saveItem_1a32j_25 .van-cell__title{color:#62ff62}._tipsContainer_16bs2_1{background:transparent;width:100vw;height:100vh}._backBtn_16bs2_6{position:absolute;left:.64rem;top:.32rem;padding:.10667rem .26667rem;border-radius:.53333rem;border:.02667rem solid #ffffff;font-size:.16rem;color:#fff;text-align:center}._backBtn_16bs2_6:active{opacity:.8}._content_16bs2_20{position:relative;width:100%;height:100%}._parent_16bs2_25{position:absolute;padding:.10667rem;background:#f8f9ed;border-radius:.53333rem;animation:_myscale_16bs2_1 1.5s infinite}._parent_16bs2_25 img{width:100%;height:100%}._item_16bs2_36{position:absolute;width:3.41333rem;z-index:10}._item_16bs2_36 ._img_16bs2_41{position:absolute;width:100%}._item_16bs2_36 ._iconHead_16bs2_45{position:absolute;left:.8rem;width:.4rem;height:.56rem}._item_16bs2_36 ._btns_16bs2_51{position:absolute;display:flex;width:100%;padding:0 .32rem}._item_16bs2_36 ._btns_16bs2_51 ._btn_16bs2_51{width:1.36rem;height:.42667rem;line-height:.42667rem;padding:0}@keyframes _myscale_16bs2_1{0%{transform:scale(.9)}50%{transform:scale(1)}to{transform:scale(.9)}}._modelWraper_xj35j_1{position:fixed;left:0;right:0;bottom:0;z-index:100}._modelWraper_xj35j_1 ._wrap_xj35j_8{padding:.26667rem 0;display:flex;justify-content:center;background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,#ffffff 100%)}._modelWraper_xj35j_1 ._wrap_xj35j_8 img{width:1.92rem;height:.74667rem;margin:0 .32rem}.green .vf-notehead>path{fill:green}._follow_1kxgi_4{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:10}._title_1kxgi_12{margin-top:1.06667rem;font-size:.32rem}._endBtns_1kxgi_16{position:fixed;top:1.06667rem;right:.26667rem}._button_1kxgi_21{height:.61333rem;padding:0;margin:0;border:none;background:none;font-size:0}._button_1kxgi_21._hasText_1kxgi_29{height:.72rem;border-radius:.10667rem;font-size:.13333rem;margin-right:.26667rem}._button_1kxgi_21._hasText_1kxgi_29 img{width:.4rem;height:.37333rem;display:block;margin:auto;margin-bottom:.02667rem}._button_1kxgi_21._hasText_1kxgi_29 .van-button__text{display:flex;font-size:.13333rem;color:#828282;flex-direction:column}._button_1kxgi_21._hasText_1kxgi_29 .van-button__text>span{display:block;margin-top:.05333rem}._button_1kxgi_21._bigIcon_1kxgi_52 img{width:.66667rem;height:.37333rem;display:block;margin:auto;margin-bottom:.02667rem}._start_1kxgi_59{width:2rem;height:2rem;background-repeat:no-repeat;background-position:center;background-size:100%;border-radius:100%;position:fixed;top:50%;left:50%;margin-top:10vh;transform:translate(-50%,-50%);font-size:.32rem;color:#fff}\n',document.head.appendChild(d),System.register(["./App-legacy.28351099.js","./index-legacy.8fb4c977.js","./index-legacy.4c431ea6.js","./index-legacy.e93ec507.js","./index-legacy.cb08fc56.js","./index-legacy.804cc097.js"],(function(i){"use strict";var o,u,c,d,p,f,m,g,v,h,_,b,y,w,x,S,k,j,I,T,C,P,B,O,M,R,D,z,F,E,L,N,q,A,W,J,H,K,U,V,G,$,Y,Q,X,Z,ee,te,ne,ie,re,ae,oe,le,se,ue,ce,de,pe,fe,me,ge,ve,he,_e,be,ye,we,xe,Se,ke,je,Ie,Te,Ce,Pe,Be,Oe,Me,Re,De,ze,Fe,Ee,Le,Ne,qe,Ae,We;return{setters:[function(e){o=e.g,u=e.L,c=e.h,d=e.aj,p=e.N,f=e.af,m=e.R,g=e.r,v=e.l,h=e.I,_=e.ak,b=e.al,y=e.q,w=e.w,x=e.m,S=e.u,k=e.$,j=e.n,I=e.am,T=e.o,C=e.an,P=e.ao,B=e.ap,O=e.aq,M=e.ar,R=e.as,D=e.B,z=e.F,F=e.at,E=e.au,L=e.av,N=e.aw,q=e.j,A=e.J,W=e.ax,J=e.a0,H=e.ay,K=e.az,U=e.aA,V=e.P,G=e.aB,$=e.aC,Y=e.aD,Q=e.aE,X=e.t,Z=e.aF,ee=e.aG,te=e.aH,ne=e.aI,ie=e.aJ,re=e.aK,ae=e.aL,oe=e.U,le=e.aM,se=e.aN,ue=e.T,ce=e.y,de=e.aO,pe=e.aP,fe=e.aQ,me=e.aR,ge=e.aS,ve=e.e,he=e.aT,_e=e.aU,be=e.aV,ye=e.k,we=e.aW,xe=e.aX,Se=e.M,ke=e.aY,je=e.aZ,Ie=e.a_,Te=e.a$,Ce=e.V,Pe=e.v,Be=e.ah,Oe=e.b0,Me=e.b1,Re=e.b2,De=e.b3,ze=e.b4,Fe=e.b5,Ee=e.ag},function(e){Le=e.E,Ne=e.s},function(e){qe=e.L},function(e){Ae=e.T},function(e){We=e.S},function(){}],execute:function(){var Je=Object.freeze(Object.defineProperty({__proto__:null,get getImage(){return en}},Symbol.toStringTag,{value:"Module"})),He=s(p("tag"),2),Ke=He[0],Ue=He[1],Ve=o({name:Ke,props:{size:String,mark:Boolean,show:u,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}},emits:["close"],setup:function(e,t){var n=t.slots,i=t.emit,r=function(e){e.stopPropagation(),i("close",e)},a=function(){var t=e.type,i=e.mark,a=e.plain,o=e.round,l=e.size,s=e.closeable,u={mark:i,plain:a,round:o};l&&(u[l]=l);var d=s&&c(f,{name:"cross",class:Ue("close"),onClick:r},null);return c("span",{style:e.plain?{color:e.textColor||e.color,borderColor:e.color}:{color:e.textColor,background:e.color},class:Ue([u,t])},[null==n.default?void 0:n.default(),d])};return function(){return c(d,{name:e.closeable?"van-fade":void 0},{default:function(){return[e.show?a():null]}})}}}),Ge=m(Ve),$e=function(e,t){var n=g(!1);return t&&(console.log("曲谱为midi,使用app播放"),n.value=!0,v.midiPlayIniting=!0,h({api:"cloudDestroy"}),h({api:"cloudDetail",content:{midi:t,denominator:b(y.osmd).denominator,numerator:b(y.osmd).numerator,originalSpeed:v.activeDetail.originalSpeed,interval:50,duration:1e3*e}},(function(){v.midiPlayIniting=!1,n.value=!1,t&&_("music")})),y.durationNum=e),{initial:n}},Ye=function(){var e=g(!0),t=g(!1),n=g(!1);try{var i=S().setting||{};"EVALUATING"===i.mode&&(n.value=!0,e.value=!1,t.value=!0),i.difficulty&&(x.eva.difficulty=i.difficulty),v.setting=i}catch(r){console.error("设置活动配置失败,请检查传入配置是否正确"),console.error(r)}return{showFingering:e,frozenMode:t,compulsionEvaluating:n}},Qe=function(){var e=l(regeneratorRuntime.mark((function e(){var t,n,i,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=g(.1),n=k(),e.prev=2,e.next=5,j.get("/sysParamConfig/queryByParamNameList",{prefix:n,params:{paramNames:"music_sheet_free_rate"}});case 5:r=e.sent,t.value=parseFloat((null===(i=r.data)||void 0===i?void 0:i[0].paramValue)||"10")/100,e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),Xe=o({name:"ButtonsPlayer",setup:function(){var e=s(I(),1)[0],t=function(){r(),v.activeTick>-1||(L(0),N(new Event("ended")))},n=Math.floor(2*Math.PI*16),i=function(e){var t;"setPlayState"===(null==e||null===(t=e.data)||void 0===t?void 0:t.api)&&(console.log("父页面的切换事件",e.data,y.playState),"play"==y.playState&&P(),B())},r=function(){window.parent.postMessage({api:"headerTogge",playState:y.playState},"*")};return T((function(){window.addEventListener("message",i)})),C((function(){window.removeEventListener("message",i)})),function(){var i=y.currentTimeNum/y.durationNum*n;return c(E,{to:"body"},{default:function(){var n;return[c("div",{class:O.player,id:"globalPlayer"},[c(d,{name:"start",duration:300},{default:function(){var t;return[e.value&&!(null!==(t=M.value)&&void 0!==t&&t.connentLoading)&&R.value&&c(D,{style:{backgroundImage:"url(".concat("/orchestra-music-score/assets/icon-evaluatingStart.6ce77798.png",")")},class:[O.button,O.start],onClick:function(){var e,t;R.value=!1,null===(e=M.value)||void 0===e||null===(t=e.togglePlay)||void 0===t||t.call(e)}},null)]}}),!y.evaluatingStatus&&c(z,null,[("pause"===y.playState||"suspend"===y.playState)&&y.currentTimeNum>0&&!v.sectionStatus&&c(D,{class:[O.button,O.fullbtn],onClick:t},{default:function(){return[c(F,{key:"reset",name:"reset"},null)]}}),c(D,{class:[O.button,O.fullbtn],style:{marginLeft:"14px"},disabled:(null===(n=v.activeDetail)||void 0===n?void 0:n.isAppPlay)&&v.midiPlayIniting,onClick:function(){P(),r()}},{default:function(){return[c("div",{class:O.schedule},[c("div",{class:O.schedule},["play"===y.playState?c(F,{key:"pause",name:"pause"},null):c(F,{key:"play",name:"play"},null),y.currentTimeNum>0&&!v.sectionStatus&&c("svg",{class:O.ring,width:"40",height:"40",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/200/svg"},[c("circle",{cx:"20",cy:"20",r:"16",fill:"none",stroke:"#fff","stroke-width":"2","stroke-linecap":"round"},null),c("circle",{class:O.fillring,cx:"20",cy:"20",r:"16",fill:"none",stroke:"#FFC459","stroke-width":"2","stroke-linecap":"round","stroke-dasharray":i+",10000"},null)])])])]}})])])]}})}}}),Ze={popup:"_popup_6gl7n_1",wrap:"_wrap_6gl7n_6",image:"_image_6gl7n_11",title:"_title_6gl7n_16",andTitle:"_andTitle_6gl7n_23",sub:"_sub_6gl7n_26",andSub:"_andSub_6gl7n_32",btnWrap:"_btnWrap_6gl7n_35",btn:"_btn_6gl7n_35",cancelBtn:"_cancelBtn_6gl7n_49",confirmBtn:"_confirmBtn_6gl7n_52",tryoutBtn:"_tryoutBtn_6gl7n_55",discounts:"_discounts_6gl7n_58",membershipBtn:"_membershipBtn_6gl7n_74",demandBtn:"_demandBtn_6gl7n_77",demandBtnFree:"_demandBtnFree_6gl7n_80",earphoneBtn:"_earphoneBtn_6gl7n_83",closeBtn:"_closeBtn_6gl7n_86"},et=o({name:"ColexiuMicrophone",setup:function(e,t){t.expose;return function(){return c("div",null,[c("img",{class:Ze.image,src:"/orchestra-music-score/assets/microphone.7e50c915.svg"},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:Ze.title},[q("开启权限")]),c("div",{class:Ze.sub},[q("请开启麦克风访问权限")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.cancelBtn)},null),c(D,{class:A(Ze.btn,Ze.confirmBtn)},null)])])])}}}),tt=o({name:"ColexiuMicrophone",setup:function(e,t){t.expose;return function(){return c("div",null,[c("img",{class:Ze.image,src:"/orchestra-music-score/assets/camera.ad45a2ea.svg"},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:Ze.title},[q("开启权限")]),c("div",{class:Ze.sub},[q("请开启相机访问权限")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.cancelBtn)},null),c(D,{class:A(Ze.btn,Ze.confirmBtn)},null)])])])}}}),nt=S(),it=o({name:"ColexiuMember",setup:function(){var e=W(),t=function(){delete nt.Authorization,h({api:"openWebView",content:{url:location.origin+"/"+e+"/#/memberCenter?"+J.stringify(r({},nt)),orientation:1}})},n=function(){H.show=!1,L(0),K(0)};return function(){return c("div",null,[c("img",{class:Ze.image,src:"/orchestra-music-score/assets/membership.78b7ec9a.png"},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:Ze.title},[q("请开通会员")]),c("div",{class:Ze.sub},[q("开通会员后可完整使用该曲目")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.tryoutBtn),onClick:n},null),c(D,{class:A([Ze.btn,Ze.membershipBtn,a({},Ze.discounts,1==nt.discounts)]),onClick:t},null)])])])}}}),rt="/orchestra-music-score/assets/demand.14944949.svg";g(!1);var at=S(),ot=o({name:"ColexiuDemand",setup:function(){var e=W(),t=function(){var t=l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:delete at.Authorization,h({api:"openWebView",content:{url:location.origin+"/"+e+"/#/orderDetail?"+J.stringify(r({orderType:"MUSIC"},at)),orientation:1}});case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),n=function(){H.show=!1,L(0),K(0)};return function(){var e;return c("div",{style:{position:"relative"}},[c("img",{class:Ze.image,src:rt},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:Ze.title},[q("该曲目为点播曲目")]),c("div",{class:Ze.sub},[q("点播价格 "),c("span",{style:{color:"#FF4E19"}},[q("¥"),null===(e=v.activeDetail)||void 0===e?void 0:e.musicPrice]),q(",点播后可永久使用")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.tryoutBtn),onClick:n},null),c(D,{class:A(Ze.btn,Ze.demandBtn),onClick:t},null)])])])}}}),lt=o({name:"ColexiuEarphone",setup:function(){return function(){return c("div",null,[c("img",{class:Ze.image,src:"/orchestra-music-score/assets/earphone.e597e0fb.png"},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:Ze.title},[q("请佩戴耳机")]),c("div",{class:Ze.sub},[q("佩戴耳机可以保证测评准确率哦~")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.earphoneBtn),onClick:function(){H.show=!1}},null)])])])}}});g(!1);var st=S(),ut=o({name:"memberAndDemand",setup:function(){var e=W(),t=function(){var t=l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:delete st.Authorization,h({api:"openWebView",content:{url:location.origin+"/"+e+"/#/orderDetail?"+J.stringify(r({orderType:"MUSIC"},st)),orientation:1}});case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),n=function(){delete st.Authorization,h({api:"openWebView",content:{url:location.origin+"/"+e+"/#/memberCenter",orientation:1}})},i=function(){H.show=!1,L(0),K(0)};return function(){var e;return c("div",{style:{position:"relative"}},[c("img",{class:Ze.closeBtn,src:U,onClick:i},null),c("img",{class:Ze.image,src:rt},null),c("div",{class:Ze.wrap},[c("div",{class:Ze.des},[c("div",{class:[Ze.title,Ze.andTitle]},[q("该曲目为会员曲目,可以单曲购买哦")]),c("div",{class:[Ze.sub,Ze.andSub]},[q("开通酷乐秀会员海量曲目尽情练习"),c("br",null,null),q("单曲点播仅需 "),c("span",{style:{color:"#FF4E19"}},[q("¥"),null===(e=v.activeDetail)||void 0===e?void 0:e.musicPrice]),q(",点播后可永久使用")])]),c("div",{class:Ze.btnWrap},[c(D,{class:A(Ze.btn,Ze.membershipBtn),onClick:n},null),c(D,{class:A(Ze.btn,Ze.demandBtn),onClick:t},null)])])])}}}),ct=o({name:"ColexiuPermission",setup:function(e,t){return(0,t.expose)({toggle:function(){H.show=!H.show}}),function(){return c(V,{class:Ze.popup,show:H.show,"onUpdate:show":function(e){return H.show=e},teleport:"body",onClosed:function(){L(0)}},{default:function(){return["microphone"===H.active?c(et,null,null):"camera"===H.active?c(tt,null,null):"member"===H.active?c(it,null,null):"demand"===H.active?c(ot,null,null):"earphone"===H.active?c(lt,null,null):"memberAndDemand"===H.active?c(ut,null,null):null]}})}}}),dt="_item_6tre7_1",pt="_tag_6tre7_23",ft="_tabs_6tre7_60",mt="_list_6tre7_105",gt="_tab_6tre7_60",vt={VIP:"会员",CHARGE:"点播",FREE:"免费"},ht=o({name:"SwitchTag",props:{type:String},setup:function(e){return function(){return c(Ge,{plain:!0,class:[pt,e.type,"van-hairline--surround"]},{default:function(){return[vt[e.type]]}})}}}),_t=o({name:"MusicList-MusicScore-Item",props:{item:{type:Object}},setup:function(e){var t=S(),n=sessionStorage.getItem("behaviorId")||""+(new Date).valueOf();return function(){var i,a,o;return c("div",{class:[dt,{active:(null===(i=e.item)||void 0===i?void 0:i.id)==t.id}],onClick:function(){return G(),h({api:"cloudDestroy"}),h({api:"cloudLoading",content:{show:!0,type:"fullscreen"}}),void(location.href=location.origin+location.pathname+"?"+J.stringify(r(r({},t),{},{behaviorId:n,id:null===(i=e.item)||void 0===i?void 0:i.id,_t:(new Date).valueOf()})));var i}},[c("div",{style:{display:"flex"}},[((null===(a=e.item)||void 0===a?void 0:a.paymentType)||"").split(",").map((function(e){return c(ht,{key:e,type:e},null)}))]),c("p",null,[null===(o=e.item)||void 0===o?void 0:o.musicSheetName])])}}});var bt=o({name:"MusicList-MusicScore-List",props:{list:{type:Array,default:function(){return[]}},url:{type:String,default:""},moreSearch:{type:Object,default:function(){return{}}}},emits:["refresh"],setup:function(e,t){t.emit;var i=g(!1),a=g(!1),o=g(1),s=g([]),u=g(),d=function(){var t=l(regeneratorRuntime.mark((function t(){var l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.url){t.next=2;break}return t.abrupt("return");case 2:return i.value=!0,t.prev=3,t.next=6,j(e.url,{params:r({page:o.value},e.moreSearch)});case 6:l=t.sent,s.value=[].concat(n(s.value),n(l.data.rows)),a.value=l.data.totalPage<o.value,t.next=13;break;case 11:t.prev=11,t.t0=t.catch(3);case 13:i.value=!1;case 14:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(){return t.apply(this,arguments)}}();T(d);var p=function(){i.value||a.value||(o.value=o.value+1,d())};return function(){var e,t;return s.value.length||i.value?c("div",{class:gt},[c(qe,{ref:u,class:mt,loading:i.value,finished:a.value,onLoad:p},(t=e=s.value.map((function(e){return c(_t,{item:e,key:e.id},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!$(t)?e:{default:function(){return[e]}}))]):c(Le,{description:"暂无曲目"},{default:function(){return[c("span",null,null)]}})}}}),yt=S(),wt=o({name:"MusicList-MusicScore",setup:function(){return function(){return c(bt,{url:"/music/sheet/queryRelatedList",moreSearch:{albumId:yt.albumId,musicSheetId:yt.id}},null)}}}),xt=o({name:"MusicList-MusicScore",setup:function(){return function(){return c(bt,{url:"/music/sheet/favorite"},null)}}}),St=o({name:"MusicList-Practice",setup:function(){return function(){return c(bt,{url:"/music/sheet/practice"},null)}}}),kt=o({name:"MusicListContent",setup:function(){return function(){return c(Y,{class:ft},{default:function(){return[c(Q,{title:"其他曲谱"},{default:function(){return[c(wt,null,null)]}}),c(Q,{title:"最近练习"},{default:function(){return[c(St,null,null)]}}),c(Q,{class:gt,title:"我的收藏"},{default:function(){return[c(xt,null,null)]}})]}})}}}),jt=g(!1),It=g(!1),Tt=function(){jt.value=!1},Ct=function(){It.value=!1},Pt=o({name:"MusicList",setup:function(e){return function(){return c(V,{show:jt.value,onClickOverlay:Tt,onClosed:Ct,position:"right",teleport:"body",style:{height:"100vh",width:"55vw",borderRadius:"5px 0 0 5px",overflow:"hidden"}},{default:function(){return[It.value&&c(kt,e,null)]}})}}}),Bt="_container_hiwv0_1",Ot="_changeIndex_hiwv0_6",Mt=o({name:"fingering",props:{type:{type:String,default:""},fixedKey:{type:Number,default:0},fingeringInfo:{type:Object},loaded:{type:Function,default:function(){}},viewInfo:{type:Object}},setup:function(e,i){var r=i.expose,a=X(e),o=g(null);g(null);var l=g(0),s=g(0);return r({container:o,containerWidth:l}),function(){var i,r,l,u,d,p,f,m,h,_,b,y,w,x,S;if(null===(i=a.viewInfo.value)||void 0===i||!i.activeType)return null;var k,j,I,T,C=(k=null===(r=e.fingeringInfo)||void 0===r?void 0:r.name,j=a.fixedKey.value,"piccolo"===k&&v.times[0]?g(j+12*(1-v.times[0].octaveOffset)):g(j)).value,P=function(e,n){var i=e[n]||e[0]||[];return"number"==typeof i[0]||"string"==typeof i[0]?[i]:"object"===t(i[0])?i:[[]]}(null===(l=a.viewInfo.value)||void 0===l||null===(u=l.activeType)||void 0===u?void 0:u.relationship,C||0),B=[];v.activeNote&&(null===(I=v.activeNote)||void 0===I||I.halfTone1.forEach((function(e){var t,i,r,o=(null===(t=a.viewInfo.value)||void 0===t||null===(i=t.activeType)||void 0===i||null===(r=i.relationship)||void 0===r?void 0:r[e])||[];o=o.map((function(e){return"right"+e})),B.push.apply(B,n(o))})),null===(T=v.activeNote)||void 0===T||T.halfTone2.forEach((function(e){var t,i,r,o=(null===(t=a.viewInfo.value)||void 0===t||null===(i=t.activeType)||void 0===i||null===(r=i.relationship)||void 0===r?void 0:r[e])||[];o=o.map((function(e){return"left"+e})),B.push.apply(B,n(o))})));var O=P[s.value]||[];return c("div",{ref:o,class:A(null===(d=e.fingeringInfo)||void 0===d?void 0:d.name,Bt),style:{width:"vertical"===(null===(p=e.fingeringInfo)||void 0===p?void 0:p.direction)?null===(f=e.fingeringInfo)||void 0===f?void 0:f.width:"",height:"transverse"===(null===(m=e.fingeringInfo)||void 0===m?void 0:m.direction)?(null===(h=e.fingeringInfo)||void 0===h?void 0:h.height)||"":"100%",display:"flex",paddingLeft:"vertical"===(null===(_=e.fingeringInfo)||void 0===_?void 0:_.direction)?null===(b=e.fingeringInfo)||void 0===b?void 0:b.paddingLeft:"",paddingRight:"vertical"===(null===(y=e.fingeringInfo)||void 0===y?void 0:y.direction)?null===(w=e.fingeringInfo)||void 0===w?void 0:w.paddingRight:""}},[O.includes(0)?c("span",{style:{position:"absolute",top:".5vh",right:".5vw",color:"rgb(1, 193, 181)",fontWeight:"bold"}},[q("转调")]):null,c("div",{style:{width:"100%",height:"100%"},class:B,innerHTML:null===(x=a.viewInfo.value)||void 0===x||null===(S=x.activeType)||void 0===S?void 0:S.json.full2},null),P.length>1?c("div",{role:"button",onClick:function(){var e=s.value===P.length-1?0:s.value+1;s.value=e},class:["substituteFinger",Ot]},[q("替指")]):null])}}}),Rt="_fingering_shnq0_1",Dt=["piano"],zt=g(0),Ft=g("hidden"),Et=function(){var e=l(regeneratorRuntime.mark((function e(t){var n,i,r,a,o,l,s,u,c,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t)){e.next=21;break}return e.next=4,ne(n.name);case 4:if(!(i=e.sent)){e.next=19;break}return r=ie(n.name,v.fixedKey),a=re(i,n.name,r.value),e.next=10,ae(a.value);case 10:return o=e.sent,l=o.width,s=o.height,u=document.getElementById("colexiu-detail-music-sheet").clientHeight||0,c=y.evaluatingStatus?0:l,d=u/s,zt.value=u?d*c:c,l&&(Ft.value="show"),e.abrupt("return",oe({width:l,height:s,scale:d,usedFixedKey:r.value,fullsrc:a.value,activeType:i,detail:n}));case 19:e.next=22;break;case 21:Ft.value="hidden";case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Lt=o({name:"ColexiuFingering",props:{code:{type:String,default:-1}},setup:function(e){var t=X(e).code,n=g(null),i=g(-1);return w([t],function(){var e=l(regeneratorRuntime.mark((function e(r,a){var o,l,u,c,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=s(r,1),l=o[0],u=s(a,1),c=u[0],i.value=te(t.value),l===c){e.next=8;break}return e.next=6,Et(Z[i.value]);case 6:(d=e.sent)&&(n.value=d);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),{immediate:!0,deep:!0}),function(){if(i.value<0||!n.value)return null;var e=Z[i.value];return c("div",{class:[Rt,e.name,e.direction,"fingering"],style:{left:"vertical"===e.direction?v.notchHeight/2+"px":""}},[Dt.includes(null==e?void 0:e.name)?c(Mt,{viewInfo:n.value,type:null==e?void 0:e.name,fingeringInfo:e,fixedKey:v.fixedKey},null):c(ee,{viewInfo:n.value,type:null==e?void 0:e.name,fingeringInfo:e,fixedKey:v.fixedKey},null)])}}}),Nt="_wrap_1a32j_1",qt="_wrapItem_1a32j_7",At="_clearItem_1a32j_24",Wt="_saveItem_1a32j_25",Jt=o({name:"productJson",setup:function(e,t){var n=t.expose,i=S();n({autoProduct:function(e){if("json"!==i.modeType){var t,n,r,o;if(!jn.svg)jn.svg=(null===(t=document.getElementById("osmdSvgPage1"))||void 0===t?void 0:t.outerHTML)||"";if(jn.svg)if("staff"===x.sett.type)null!==(n=v.activeDetail)&&void 0!==n&&n.musicSvg||a(!1);else(!x.sett.keySignature||null!==(r=v.activeDetail)&&void 0!==r&&r.musicFirstSvg)&&(x.sett.keySignature||null!==(o=v.activeDetail)&&void 0!==o&&o.musicJianSvg)||a(!1)}}});var r=function(){var e=l(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o({},!0);case 2:ue("清除成功"),setTimeout((function(){history.go(0)}),500);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=function(){var e=l(regeneratorRuntime.mark((function e(){var t,n,i,r,a,l,u,c,d=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(d.length>0&&void 0!==d[0])||d[0],jn.json){e.next=4;break}return r&&ue("没有生成json数据,联系开发人员"),e.abrupt("return");case 4:if(jn.svg){e.next=7;break}return r&&ue("没有生成svg数据,联系开发人员"),e.abrupt("return");case 7:return a=null,r&&(a=ue.loading({message:"上传数据中 1/2",duration:0})),l={svg:"",json:""},e.next=12,s("".concat(null===(t=v.activeDetail)||void 0===t?void 0:t.id,".json"),jn.json);case 12:return l.json=e.sent,a&&(a.message="上传数据中 2/2"),e.next=16,s("".concat(null===(n=v.activeDetail)||void 0===n?void 0:n.id,".svg"),jn.svg);case 16:return l.svg=e.sent,u={id:null===(i=v.activeDetail)||void 0===i?void 0:i.id,musicSvg:v.activeDetail.musicSvg,musicJianSvg:v.activeDetail.musicJianSvg,musicFirstSvg:v.activeDetail.musicFirstSvg},"staff"===x.sett.type?u.musicSvg=JSON.stringify(l):x.sett.keySignature?u.musicFirstSvg=JSON.stringify(l):u.musicJianSvg=JSON.stringify(l),a&&(a.message="保存数据中"),e.next=22,o(u);case 22:200==(null==(c=e.sent)?void 0:c.code)?a&&(a.message="保存成功"):a&&(a.message="保存失败"),setTimeout((function(){a&&a.close()}),300);case 25:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o=function(){var e=l(regeneratorRuntime.mark((function e(t){var n,i,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.length>1&&void 0!==r[1]&&r[1]&&(t={id:null===(n=v.activeDetail)||void 0===n?void 0:n.id,musicJSON:"",musicSvg:"",musicJianSvg:"",musicFirstSvg:""}),e.next=4,j.post("/musicSheet/updateRenderFile",{requestType:"json",data:t});case 4:return 200===(i=e.sent).code&&(v.activeDetail.musicJSON=t.musicJSON,v.activeDetail.musicSvg=t.musicSvg,v.activeDetail.musicJianSvg=t.musicJianSvg,v.activeDetail.musicFirstSvg=t.musicFirstSvg),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=l(regeneratorRuntime.mark((function e(t,n){var i,r,a,o,l,s,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="https://".concat(i="daya",".ks3-cn-beijing.ksyuncs.com/"),a=Date.now()+"_"+t,o={filename:t,bucketName:i,postData:{filename:t,acl:"public-read",key:a}},e.next=6,j.post("/open/getUploadSign",{requestType:"json",data:o});case 6:for(c in l=e.sent,s=new FormData,u={policy:l.data.policy,signature:l.data.signature,key:a,KSSAccessKeyId:l.data.kssAccessKeyId,acl:"public-read",name:t})s.append(c,u[c]);return s.append("file",new Blob([n])),e.next=13,ce.post(r,{data:s});case 13:return e.abrupt("return",r+a);case 14:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return function(){return c(z,null,["json"===i.modeType&&c("div",{class:Nt},[c(le,null,{default:function(){return[c(se,{center:!0},{title:function(){var e,t,n;return c("div",{class:qt},[c("span",null,[q("缓存状态: ")]),c("span",null,[q("五线谱 "),null!==(e=v.activeDetail)&&void 0!==e&&e.musicSvg?c(f,{name:"success",color:"rgba(103,201,176,1)"},null):c(f,{name:"cross",color:"#ff6868"},null)]),c("span",null,[q("首调 "),null!==(t=v.activeDetail)&&void 0!==t&&t.musicJianSvg?c(f,{name:"success",color:"rgba(103,201,176,1)"},null):c(f,{name:"cross",color:"#ff6868"},null)]),c("span",null,[q("固定调 "),null!==(n=v.activeDetail)&&void 0!==n&&n.musicFirstSvg?c(f,{name:"checked",color:"rgba(103,201,176,1)"},null):c(f,{name:"cross",color:"#ff6868"},null)])])}}),c(se,{class:At,title:"清除缓存数据",clickable:!0,onClick:r},null),c(se,{class:Wt,title:"保存缓存数据",clickable:!0,onClick:a},null)]}})])])}}}),Ht="_tipsContainer_16bs2_1",Kt="_backBtn_16bs2_6",Ut="_content_16bs2_20",Vt="_parent_16bs2_25",Gt="_item_16bs2_36",$t="_img_16bs2_41",Yt="_iconHead_16bs2_45",Qt="_btns_16bs2_51",Xt="_btn_16bs2_51",Zt={"../images/icon-hand2.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/icon-hand2.d851ec92.png"},Symbol.toStringTag,{value:"Module"})),"../images/icon-header.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/icon-header.3b4d207c.png"},Symbol.toStringTag,{value:"Module"})),"../images/index.ts":Je,"../images/m1.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/m1.290ace12.png"},Symbol.toStringTag,{value:"Module"})),"../images/m2.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/m2.42d4af93.png"},Symbol.toStringTag,{value:"Module"})),"../images/m3.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/m3.e1fd1696.png"},Symbol.toStringTag,{value:"Module"})),"../images/m4.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/m4.c9acb58f.png"},Symbol.toStringTag,{value:"Module"})),"../images/m5.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/m5.365472c1.png"},Symbol.toStringTag,{value:"Module"})),"../images/step0.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/step0.687e2fe1.png"},Symbol.toStringTag,{value:"Module"})),"../images/step1.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/step1.3309e3f2.png"},Symbol.toStringTag,{value:"Module"})),"../images/step2.png":Object.freeze(Object.defineProperty({__proto__:null,default:"/orchestra-music-score/assets/step2.aff09e55.png"},Symbol.toStringTag,{value:"Module"}))},en=function(e){var t;return(null===(t=Zt["../images/".concat(e)])||void 0===t?void 0:t.default)||""},tn=o({name:"tips-tip1",emits:["hanldeStop"],setup:function(t,n){var i=n.emit,r=[{img:en("step0.png"),btnsStyle:{top:"-2.13333rem"},handStyle:{top:"-0.42667rem"},imgStyle:{top:"-2.4rem"}},{img:en("step1.png"),btnsStyle:{top:"-2.2rem"},handStyle:{top:"-0.42667rem"},imgStyle:{top:"-2.4rem"}},{img:en("step2.png"),btnsStyle:{top:"-0.7rem",left:"-2.5rem","justify-content":"space-evenly",padding:0},handStyle:{top:"-0.42667rem"},imgStyle:{top:"-2.7rem",left:"-2.3rem"}}],a=g(),o=oe({show:!1,step:0,rect:{}});T((function(){l()}));var l=function(){!function(){var t,n=e(document.querySelectorAll(".".concat(Vt)));try{for(n.s();!(t=n.n()).done;)t.value.remove()}catch(i){n.e(i)}finally{n.f()}}();var t=document.querySelector("[data-step='step".concat(o.step,"']")),n=null==t?void 0:t.getBoundingClientRect(),i=null==t?void 0:t.cloneNode(!0);if(t&&n){var r,l=document.createElement("div");l.classList.add(Vt),l.style.left=(null==n?void 0:n.left)-10+"px",l.style.top=(null==n?void 0:n.top)-10+"px",l.style.width=(null==n?void 0:n.width)+20+"px",l.style.height=(null==n?void 0:n.height)+20+"px",o.rect=n||{},l.appendChild(i),null===(r=a.value)||void 0===r||r.append(l)}},s=function(e){void 0!==e?o.step=e:o.step+=1,l()},u=function(){i("hanldeStop")};return function(){var e,t,n=r[o.step];return c("div",{class:Ut,ref:a},[c("div",{class:Kt,onClick:function(){return u()}},[q("跳过引导")]),c("div",{class:Gt,style:{left:"".concat(null===(e=o.rect)||void 0===e?void 0:e.left,"px"),top:"".concat(null===(t=o.rect)||void 0===t?void 0:t.top,"px")}},[c("img",{class:$t,style:n.imgStyle,src:n.img},null),c("img",{class:Yt,style:n.handStyle,src:en("icon-header.png")},null),c("div",{class:Qt,style:n.btnsStyle},[o.step+1==r.length?c(z,null,[c(D,{class:Xt,round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:function(){return s(0)}},{default:function(){return[q("再看一遍")]}}),c(D,{class:Xt,round:!0,type:"primary",onClick:function(){return u()}},{default:function(){return[q("完成")]}})]):c(D,{class:Xt,round:!0,type:"primary",onClick:function(){return s()}},{default:function(){return[q("下一步 ("),o.step+1,q("/"),r.length,q(")")]}})])])])}}}),nn=o({name:"tips-tip1",emits:["hanldeStop"],setup:function(t,n){var i=n.emit,a=[{img:en("m1.png"),btnsStyle:{top:"2.6rem"},handStyle:{top:"0.8rem",left:"0.22rem"},imgStyle:{top:"0.8rem",left:"-0.1rem"}},{img:en("m2.png"),btnsStyle:{top:"2.6rem"},handStyle:{top:"0.8rem",left:"0.22rem"},imgStyle:{width:"2.66667rem",top:"0.9rem",left:"-0.1rem"}},{img:en("m3.png"),btnsStyle:{top:"2.8rem"},handStyle:{top:"0.8rem",left:"0.22rem"},imgStyle:{width:"2.45333rem",top:"0.8rem",left:"-0.1rem"}},{img:en("m4.png"),btnsStyle:{top:"2.8rem",left:"-1.3rem"},handStyle:{top:"0.8rem",left:"0.22rem"},imgStyle:{width:"2.45333rem",top:"0.8rem",left:"-1.6rem"}},{img:en("m5.png"),btnsStyle:{top:"2.6rem",left:"-1.9rem",width:"2.93333rem","justify-content":"space-evenly",padding:0},handStyle:{top:"0.8rem",left:"0.22rem"},imgStyle:{top:"0.7rem",left:"-1.9rem",width:"2.93333rem"}}],o=g(),l=oe({show:!1,step:0,rect:{}});T((function(){s()}));var s=function(){!function(){var t,n=e(document.querySelectorAll(".".concat(Vt)));try{for(n.s();!(t=n.n()).done;)t.value.remove()}catch(i){n.e(i)}finally{n.f()}}();var t=document.querySelector("[data-step='m".concat(l.step+1,"']")),n=null==t?void 0:t.getBoundingClientRect(),i=null==t?void 0:t.cloneNode(!0);if(t&&n&&o.value){var a,s=document.createElement("div");s.classList.add(Vt),s.style.left=n.left-10+"px",s.style.top="0px",s.style.borderRadius="0.1rem",l.rect=r(r({},n),{},{left:n.left-n.width/2,top:n.top+2})||{},s.appendChild(i),null===(a=o.value)||void 0===a||a.append(s)}},u=function(e){void 0!==e?l.step=e:l.step+=1,s()},d=function(){i("hanldeStop")};return function(){var e,t=a[l.step];return c("div",{class:Ut,ref:o},[c("div",{class:Kt,onClick:function(){return d()}},[q("跳过引导")]),c("div",{class:Gt,style:{width:"2.18667rem",left:"".concat(null===(e=l.rect)||void 0===e?void 0:e.left,"px"),top:"0px"}},[c("img",{class:$t,style:t.imgStyle,src:t.img},null),c("img",{class:Yt,style:t.handStyle,src:en("icon-hand2.png")},null),c("div",{class:Qt,style:t.btnsStyle},[l.step+1==a.length?c(z,null,[c(D,{class:Xt,round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:function(){return u(0)}},{default:function(){return[q("再看一遍")]}}),c(D,{class:Xt,round:!0,type:"primary",onClick:function(){return d()}},{default:function(){return[q("完成")]}})]):c(D,{class:Xt,round:!0,type:"primary",onClick:function(){return u()}},{default:function(){return[q("下一步 ("),l.step+1,q("/"),a.length,q(")")]}})])])])}}}),rn=o({name:"tips-step",setup:function(e,t){var n=g(!1),i=oe({tip1:!1,tip2:!1});w(de,(function(){"practice"===de.value&&a()}));var r=function(e){localStorage.setItem(e,"ok")},a=function(){var e=localStorage.getItem("isFirstTip"),t=localStorage.getItem("isFirstModel");"init"!=de.value||e?"practice"!=de.value||t||(n.value=!0,i.tip1=!1,i.tip2=!0):(n.value=!0,i.tip1=!0,i.tip2=!1)};return T((function(){a()})),function(){return c(V,{teleport:"body",closeOnClickOverlay:!1,class:Ht,show:n.value,"onUpdate:show":function(e){return n.value=e}},{default:function(){return[i.tip1&&c(tn,{onHanldeStop:function(){n.value=!1,r("isFirstTip")}},null),i.tip2&&c(nn,{onHanldeStop:function(){n.value=!1,r("isFirstModel")}},null)]}})}}}),an=o({name:"afterClassTraining",setup:function(){return w((function(){return v.initRendered}),(function(){var e,t;v.initRendered&&window.parent.postMessage({api:"admin-selectMusicMeasure",start:null===(e=v.times[0])||void 0===e?void 0:e.measureNumberPrinted,end:null===(t=v.times[v.times.length-1])||void 0===t?void 0:t.measureNumberPrinted,speed:v.activeSpeed},"*")})),w((function(){return v.section.length}),(function(){var e,t;2===v.section.length&&window.parent.postMessage({api:"admin-selectMusicMeasure",start:null===(e=v.section[0])||void 0===e?void 0:e.measureNumberPrinted,end:null===(t=v.section[1])||void 0===t?void 0:t.measureNumberPrinted,speed:v.activeSpeed,change:!0},"*")})),function(){return c("div",null,null)}}}),on="_modelWraper_xj35j_1",ln="_wrap_xj35j_8",sn=o({name:"modelWraper",props:{onChangeModelType:{type:Function,default:function(){}}},setup:function(e,t){return function(){return c("div",{class:on,onClick:function(e){return e.stopPropagation()}},[c("div",{class:ln},[c("img",{"data-step":"step0",onClick:function(){return e.onChangeModelType("practice")},src:"/orchestra-music-score/assets/model-1.fc85b278.png"},null),c("img",{"data-step":"step1",onClick:function(){return e.onChangeModelType("follow")},src:"/orchestra-music-score/assets/model-3.fbe48fb6.png"},null),c("img",{"data-step":"step2",onClick:function(){return e.onChangeModelType("evaluation")},src:"/orchestra-music-score/assets/model-2.28ced35e.png"},null)])])}}}),un={follow:"_follow_1kxgi_4",title:"_title_1kxgi_12",endBtns:"_endBtns_1kxgi_16",button:"_button_1kxgi_21",hasText:"_hasText_1kxgi_29",bigIcon:"_bigIcon_1kxgi_52",start:"_start_1kxgi_59"},cn=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=document.querySelector("#globalPlayer");t&&(t.style.display=e?"":"none")},dn=oe({list:[],index:0,start:!1});me(!0);var pn=g(0),fn=g(0),mn=g(0),gn=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(h({api:"cloudToggleFollow",content:{state:e?"start":"end"}}),e)mn.value=Date.now();else{var t=Date.now()-mn.value;0!==mn.value&&t>0&&(mn.value=0)}};(new Date).valueOf();var vn=function(){v.times.forEach((function(e){var t=document.querySelector("div[data-vf=vf".concat(e.id,"]"));t&&(t.classList.remove("follow-error"),t.classList.remove("follow-success"))}))},hn=function(){dn.start=!1,gn(!1),dn.index=0,y.osmd.cursor.reset(),bn()},_n=function(){y.osmd.product?y.osmd.cursor.setPosition(v.times[dn.index].cursorBox):y.osmd.cursor.next(),ge()},bn=function e(){var t=v.times[dn.index];return t.frequency?(pn.value=t.frequency,v.fixedKey=t.realKey,{id:t.id,min:t.frequency-.1*(t.frequency-t.noteElement.pitch.prevFrequency),max:t.frequency+.1*(t.noteElement.pitch.nextFrequency-t.frequency)}):(dn.index=dn.index+1,_n(),e())},yn=!1,wn=function(e){var t,n=null==e||null===(t=e.content)||void 0===t?void 0:t.frequency;fn.value=n,dn.list.push(n),xn()},xn=function(){if(!yn){yn=!0;for(var e=bn(),t=0;t<dn.list.length;t++){var n=dn.list[t];if(n>e.min&&n<e.max)return console.log(e.min,n,e.max),_n(),dn.index+=1,dn.list=dn.list.slice(t+1),Sn(e,!0),void(yn=!1)}Sn(e),yn=!1}},Sn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelector("div[data-vf=vf".concat(e.id,"]"));n&&(t?(n.classList.remove("follow-error"),n.classList.add("follow-success")):(n.classList.remove("follow-success"),n.classList.add("follow-error")))},kn=o({name:"follow",setup:function(e,t){var n=t.expose;return T((function(){cn(),console.log("开始监听"),pe("cloudFollowTime",wn)})),C((function(){fe("cloudFollowTime",wn),cn(!0),vn()})),n({data:dn,handleEnd:hn}),function(){return c(E,{to:"#colexiu-detail-music-sheet"},{default:function(){return[c("div",{class:un.follow},[c(d,{name:"start",duration:300},{default:function(){return[!dn.start&&c(D,{style:{backgroundImage:"url(".concat("/orchestra-music-score/assets/icon-follwBtn.9fb45e5d.png",")")},class:[un.button,un.start,un.followBtn],onClick:function(){return vn(),dn.start=!0,gn(!0),dn.index=0,dn.list=[],y.osmd.cursor.reset(),bn(),void ge()}},null)]}})])]}})}}}),jn=i("musicJSON",oe({json:"",svg:"",rended:!1})),In=i("MusicSheetRef",g());i("default",o({name:"Colexiu",setup:function(){var e=S(),t=ve(),n=g(!1),i=ze();v.midiPlayIniting=!0;var a=g(!0),o=g(!1),u=g(!1),p=g(""),f=g("init"),m=g(""),_=g({}),k=g({}),j=s(he(e.id),2),I=j[0],P=j[1];w(I,l(regeneratorRuntime.mark((function e(){var t,n,i,r,l,c,d,g,h,b;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("success"!==I.value||!P.value.xmlFileUrl){e.next=25;break}return k.value=Z[te(P.value.code||"")]||{},t=Ye(),n=t.showFingering,i=t.frozenMode,r=t.compulsionEvaluating,e.next=5,Fe(n.value?P.value.code:void 0);case 5:return l=e.sent,c=s(l,3),d=c[0],g=c[1],h=c[2],f.value=d.value,m.value=g.value,_.value=h.value,v.frozenMode=i.value,u.value=r.value,e.next=17,Ee(P.value.xmlFileUrl,P.value);case 17:if((b=e.sent).value){e.next=24;break}return a.value=!1,o.value=!0,e.abrupt("return");case 24:p.value=b.value;case 25:case"end":return e.stop()}}),e)})))),T((function(){window.appName="colexiu",_e.on("settingFingeringChange",R),h({api:"setEventTracking",content:{type:"klx_xiaokuAI"}})})),C((function(){var e,t,n;(_e.off("settingFingeringChange",R),"function"==typeof(null===(e=y)||void 0===e||null===(t=e.audiosInstance)||void 0===t?void 0:t.destroy))&&(null===(n=y.audiosInstance)||void 0===n||n.destroy())}));var B,O,M,R=(B=function(){"vertical"===k.value.direction&&setTimeout((function(){In.value.reRender()}),16)},O=300,M=!0,function(){if(!M)return!1;M=!1,setTimeout((function(){B(),M=!0}),O)});be(),ye(),we();var D=g(!1),F=g(),E=function(){window.isLoading=!1,h({api:"cloudLoading",content:{show:!1,type:"fullscreen"}})},L=function(){var t=l(regeneratorRuntime.mark((function t(n){var r,o,l,s,c,d,p,f,m,g,_,S,k,j,I,T,C;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(E(),v.initRendered=!0,console.time("获取数据"),y.osmd=n,console.log(Ce.get("speeds22")),p=(Ce.get("speeds")||{})[e.id],f=n.bpm||n.Sheet.userStartTempoInBPM,v.activeSpeed=p||P.value.playSpeed||f||100,v.baseSpeed=p||P.value.playSpeed||f||100,v.code=(null===(r=P.value)||void 0===r?void 0:r.code)||"",v.activeDetail.originalSpeed=v.baseSpeed,"native"===v.renderType&&(v.times=Pe(n)),D.value="json"===e.modeType||!(null!==(o=v.activeDetail)&&void 0!==o&&o.musicSvg)||!(null!==(l=v.activeDetail)&&void 0!==l&&l.musicJianSvg)||!(null!==(s=v.activeDetail)&&void 0!==s&&s.musicFirstSvg),D.value){m=b(n),g=m.numerator,_=m.denominator;try{jn.json=JSON.stringify({musicId:v.activeDetail.id,musicSheetName:encodeURIComponent(v.activeDetail.musicSheetName),osmd:{product:!0,bpm:(null==n||null===(S=n.Sheet)||void 0===S?void 0:S.userStartTempoInBPM)||(null==n?void 0:n.bpm),numerator:g,denominator:_,scoreSize:x.sett.scoreSize||"middle"},times:v.times}),jn.svg=(null===(k=document.getElementById("osmdSvgPage1"))||void 0===k?void 0:k.outerHTML)||"",Be((function(){var e,t;jn.svg=(null===(e=document.getElementById("osmdSvgPage1"))||void 0===e?void 0:e.outerHTML)||"",jn.rended=!0,null===(t=F.value)||void 0===t||t.autoProduct()}))}catch(B){console.log(B)}}return console.timeEnd("获取数据"),console.log("🚀 ~ detailState.times",v.times),j=(null===(c=v.times[v.times.length-1||0])||void 0===c?void 0:c.endtime)||0,v.isAppPlay&&$e(j,P.value.midiUrl),y.durationNum||(y.durationNum=j),t.next=21,Qe();case 21:I=t.sent,v.freeRate=I.value,Oe(P.value.paymentType||P.value.chargeType,P.value.orderStatus),w((function(){return x.sett.camera}),(function(e){h(e?{api:"openCamera"}:{api:"closeCamera"})}),{immediate:!0}),Me(v.activeSpeed),((null===(d=v.setting)||void 0===d?void 0:d.resets)||[]).includes("SPEED")&&v.activeDetail&&Me(null===(T=v.activeDetail)||void 0===T?void 0:T.originalSpeed),Re(),a.value=!1;try{De(v.times)}catch(B){}u.value&&(y.evaluatingStatus=!0,de.value="evaluation"),(C=i.query.modelType)&&"evaluation"==C&&Be((function(){Te(C)}));case 33:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),N=function(){var e=l(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a.value=!0;case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){E(),o.value=!0,a.value=!1};return function(){a.value||I.value;var e=o.value||"error"===I.value,i=k.value,l=i.width,s=i.paddingRight,u=i.paddingLeft,m=i.direction,g="init"!==f.value,h=l||"0px",_=s||"0px",b=u||"0px",w="vertical"===m,S="vertical"===m?"20px":"0px",j="show"===f.value&&x.sett.fingering&&!y.evaluatingStatus,T="vertical"===m&&j,C=r(r({},w&&{margin:"auto",marginRight:0}),{},{width:k.value&&T?"calc(100% - ".concat(h," - ").concat(_," - ").concat(b," - ").concat(S,")"):""});return c(z,null,[c("div",{class:[Ne.container,x.sett.eyeProtection&&"eyeProtection",t.android&&"android"]},[c(d,{name:"van-slide-down"},{default:function(){return[!a.value&&c(xe,{class:Ne.buttons},null)]}}),c("div",{id:"colexiu-detail-music-sheet",class:[Ne.musicSheet,{evaluating:y.evaluatingStatus||"follow"===de.value}],style:{paddingLeft:v.isSpecialShapedScreen?v.notchHeight/2+"px":"auto",paddingBottom:j&&k.value.height?k.value.height:"40px",background:x.sett.camera?"rgba(".concat(x.sett.eyeProtection?"253,244,229":"255,255,255"," ,").concat(x.sett.opacity/100,") !important"):""}},[!!P.value.musicSheetName&&c("div",{style:{width:a.value?"":C.width},class:Ne.headTitle},[P.value.musicSheetName]),c(We,{class:Ne.skeleton,rowWidth:"80%",title:!0,loading:"loading"===I.value},null),c(We,{class:Ne.skeleton,row:6,loading:a.value},null),p.value&&g&&c(z,null,[c(Se,{ref:In,style:C,score:p.value,EngravingRules:{DYMusicScoreType:x.sett.type},opotions:{drawTitle:!1,drawComposer:!0,drawLyricist:!1,drawMetronomeMarks:!0,drawMeasureNumbers:!0,autoResize:!1},onStartRender:N,onRenderError:q,onRerender:L},null),j&&c(Lt,{style:{background:x.sett.camera?"rgba(".concat(x.sett.eyeProtection?"253,244,229":"255,255,255"," ,").concat(x.sett.opacity/100,")"):"",boxShadow:x.sett.camera?"none":""},code:P.value.code},null)]),"follow"===de.value&&c(kn,{ref:ke},null)]),!a.value&&c(Xe,null,null),c(Ae,{score:p.value},null),c(ct,null,null),c(je,null,null),c(Ie,null,null),c(Pt,null,null),c(Jt,{ref:F},null),c(an,null,null),c(d,{name:"van-slide-up",onAfterEnter:function(){n.value=!0}},{default:function(){return[!a.value&&"init"==de.value&&c(sn,{onChangeModelType:Te},null)]}}),n.value&&!e&&c(rn,null,null),e&&c("div",{class:Ne.errorWrap},[c(Le,null,null)])])])}}}))}}}))}();