1 |
- !function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}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 o,u=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){l=!0,o=e},f:function(){try{u||null==r.return||r.return()}finally{if(l)throw o}}}}function t(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 n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,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 i(e,t,n,r,a,i,o){try{var u=e[i](o),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,a)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function u(e){i(o,r,a,u,l,"next",e)}function l(e){i(o,r,a,u,l,"throw",e)}u(void 0)}))}}var u=document.createElement("style");u.innerHTML='._base_1uzmg_1>div{background:url(./header-bg.png) no-repeat top center}._detail_1uzmg_4{overflow:hidden;--van-nav-bar-background-color: transparent;--van-nav-bar-icon-color: #fff;--van-nav-bar-text-color: #fff;--van-nav-bar-title-text-color: #fff;--plyr-color-main: var(--van-primary);--plyr-control-icon-size: .32rem}._detail_1uzmg_4 .plyr__controls .plyr__controls__item:first-child{background-color:var(--van-primary);color:#fff;border-radius:50%}._base_1uzmg_1 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._shareBtn_1uzmg_21{display:flex;align-items:flex-start;color:#fff;font-size:.37333rem;line-height:.53333rem!important}._shareBtn_1uzmg_21 .van-image{width:.48rem;height:.48rem;margin-right:.16rem}._bgImg_1uzmg_33{position:absolute;left:0;top:0;width:100%;height:7.06667rem;-o-object-fit:cover;object-fit:cover;filter:blur(.26667rem)}._bgContent_1uzmg_42{position:absolute;top:0;height:7.06667rem;width:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._musicContent_1uzmg_51{position:relative;width:100%;height:13.33333rem;overflow:hidden}._musicContent_1uzmg_51:after{content:" ";position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#ffffff 100%);height:7.65333rem}._musicContent_1uzmg_51 ._musicTitle_1uzmg_66{text-align:center;font-size:.42667rem}._musicContent_1uzmg_51 ._musicImg_1uzmg_70,._musicContent_1uzmg_51 ._musicImg_1uzmg_70 img{width:100%}._musicContent_1uzmg_51 ._finch_1uzmg_76{width:4rem;margin:2.13333rem auto 0}._musicContent_1uzmg_51 ._finchLoad_1uzmg_80{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem}._musicContent_1uzmg_51 iframe{border:none;width:100%;height:13.33333rem;overflow:hidden}._musicContent_1uzmg_51 iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:.02667rem solid transparent;background-clip:padding-box;border-radius:.13333rem}._collectCell_1uzmg_98{margin:.26667rem .42667rem 0;background:#ffffff;border-radius:.26667rem;box-shadow:0 0 .16rem rgba(229,229,229,.7);overflow:hidden}._videoOperation_1uzmg_105{position:absolute;left:0;right:0;bottom:.13333rem;z-index:1}._audition_1uzmg_112{display:flex;align-items:center;margin:.26667rem .42667rem 0;background:linear-gradient(180deg,#fff0d9 0%,#ffdfb8 100%);border-radius:.42667rem;padding:.18667rem .32rem;font-size:.32rem;font-weight:600;color:#ff731d;height:.48rem}._audition_1uzmg_112 img{margin-top:-.05333rem;width:.56rem;height:.4rem;margin-right:.29333rem}._collect_1uzmg_98{display:flex;align-items:center;justify-content:space-between;padding:.29333rem;font-size:.37333rem;color:#666}._collect_1uzmg_98 ._userInfo_1uzmg_138{display:flex;align-items:center;padding:.08rem .16rem;background:#d5f3ee;border-radius:.42667rem}._collect_1uzmg_98 ._userInfo_1uzmg_138 img{width:.69333rem;height:.69333rem;border-radius:50%}._collect_1uzmg_98 ._userInfo_1uzmg_138 span{padding-left:.21333rem;max-width:1.6rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2dc7aa}._collect_1uzmg_98 ._collectSection_1uzmg_158{display:flex;align-items:center}._collect_1uzmg_98 ._collectSection_1uzmg_158 img{margin-top:-.05333rem;margin-left:.13333rem;width:.48rem;height:.48rem}._collect_1uzmg_98 ._collectSection_1uzmg_158 .van-icon{font-size:.53333rem;margin-top:-.05333rem;margin-left:.13333rem;color:var(--van-primary)}._collect_1uzmg_98 ._collectSection_1uzmg_158:first-child{margin-right:.37333rem}._lookAlbum_1uzmg_177{padding:.45333rem .53333rem;margin-bottom:.4rem;font-size:.37333rem;color:#333;line-height:.53333rem;display:flex;align-items:center;justify-content:space-between}._lookAlbum_1uzmg_177>div{display:flex;align-items:center;line-height:1}._lookAlbum_1uzmg_177>div img{width:.53333rem;height:.53333rem;margin-right:.26667rem}._bg_1uzmg_33{position:relative;height:100%;padding:.42667rem;z-index:11}._musicContainer_1uzmg_203{position:relative;z-index:12;border-radius:.48rem .48rem 0 0;background-color:#fff;overflow-y:auto}._shareMate_1uzmg_210{position:relative;margin-top:1.33333rem;display:flex;flex:1;align-items:center;padding:.29333rem .32rem;background:#ffffff;border-radius:.26667rem}._shareMate_1uzmg_210 ._icon_1uzmg_220{width:.96rem;height:.96rem;border-radius:.26667rem}._shareMate_1uzmg_210 ._info_1uzmg_225{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._shareMate_1uzmg_210 ._info_1uzmg_225>h4{color:var(--music-list-item-title-color);font-size:.37333rem;font-weight:600;width:5.33333rem}._shareMate_1uzmg_210 ._info_1uzmg_225>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._shareMate_1uzmg_210 ._tagDiscount_1uzmg_241{position:absolute;top:-.69333rem;left:.4rem;padding:.05333rem .26667rem .02667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.53333rem}._shareVip_1uzmg_254{position:relative;margin-top:.93333rem;display:flex;flex:1;align-items:center;padding:.18667rem;background:#ffffff;border-radius:.26667rem}._shareVip_1uzmg_254 ._icon_1uzmg_220{width:1.92rem;height:1.92rem;border-radius:.26667rem}._shareVip_1uzmg_254 ._info_1uzmg_225{margin-left:.16rem;flex:1;word-break:break-all}._shareVip_1uzmg_254 ._info_1uzmg_225>h4{color:var(--music-list-item-title-color);font-size:.42667rem;font-weight:600}._shareVip_1uzmg_254 ._info_1uzmg_225>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._tagDiscount_1uzmg_241{position:absolute;top:-.61333rem;left:.4rem;padding:0 .26667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.64rem}._buttonDiscount_1uzmg_296{position:absolute;top:-.48rem;right:.4rem;padding:0 .13333rem;height:.48rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.32rem;font-weight:600;color:#fff;line-height:.53333rem}._pImg_1uzmg_309{width:1.22667rem;height:1.22667rem;border-radius:.26667rem;overflow:hidden;flex-shrink:0}._musicInfo_1uzmg_316{padding-top:.61333rem!important;padding-bottom:.61333rem!important;margin-bottom:.26667rem}._musicInfo_1uzmg_316 ._coomposer_1uzmg_321{padding-top:.05333rem;padding-left:.16rem;max-width:3.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._musicInfo_1uzmg_316 ._tag_1uzmg_241{flex-shrink:0;padding:.05333rem .10667rem 0;border-radius:.10667rem}._musicInfo_1uzmg_316 ._tag_1uzmg_241+._tag_1uzmg_241{margin-left:.13333rem}._musicInfo_1uzmg_316 ._info_1uzmg_225{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._musicInfo_1uzmg_316 ._info_1uzmg_225>h4{font-size:.42667rem;font-weight:700;color:#1a1a1a;width:4.26667rem;padding-bottom:.08rem}._musicInfo_1uzmg_316 ._info_1uzmg_225>p{font-size:.32rem;color:#999;line-height:.45333rem}._musicInfo_1uzmg_316 ._download_1uzmg_355{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.32rem}._musicInfo_1uzmg_316 ._download_1uzmg_355 img{height:.64rem;width:.64rem}._musicInfo_1uzmg_316 ._download_1uzmg_355 ._iconExchange_1uzmg_366{display:flex;align-items:center;justify-content:center;background:#f6f6f6;border-radius:50%;font-size:.42667rem;width:.64rem;height:.64rem}._musicInfo_1uzmg_316 ._exquisiteFlag_1uzmg_376{width:.37333rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_1uzmg_316 ._songAlbum_1uzmg_381{width:.4rem;height:.4rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_1uzmg_316 .van-cell__value{display:flex;justify-content:space-around}._colSticky_1uzmg_391{display:flex;align-items:center;justify-content:space-between}._colSticky_1uzmg_391 ._priceSection_1uzmg_396{font-size:.37333rem;font-weight:400;color:#999}._colSticky_1uzmg_391 ._priceSection_1uzmg_396 ._price_1uzmg_396{font-size:.58667rem;font-weight:700;color:#ff4e19}._colSticky_1uzmg_391 ._priceSection_1uzmg_396 ._price_1uzmg_396 i{font-style:normal;font-size:.42667rem}._buyBtn_1uzmg_410{--van-button-default-height: 1.12rem;flex:1;display:flex;align-items:center;justify-content:flex-end}._buyBtn_1uzmg_410 .van-button{padding:0 .58667rem;font-weight:600}._buyBtn_1uzmg_410 .van-button+.van-button{margin-left:.32rem}._buyBtn_1uzmg_410 ._primry_1uzmg_424{box-shadow:0 .05333rem .18667rem rgba(45,199,170,.25)}._buyBtn_1uzmg_410 ._member_1uzmg_427{box-shadow:0 .05333rem .18667rem rgba(187,156,83,.25)}._functionSection_1uzmg_430{display:flex}._empty_1uzmg_433{margin:0 auto;font-size:.37333rem;color:#999;line-height:.53333rem;text-align:center;padding-top:1.6rem}._empty_1uzmg_433 ._emptyImg_1uzmg_441{width:4.58667rem}._staffContainer_1uzmg_444{padding:.4rem .4rem .64rem}._staffContainer_1uzmg_444 ._staffTitle_1uzmg_447{padding-bottom:.66667rem;font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._staffContainer_1uzmg_444 ._staffImg_1uzmg_453{width:.85333rem;height:.53333rem}._staffContainer_1uzmg_444 ._name_1uzmg_457{padding-left:.45333rem;font-size:.34667rem;font-weight:500;color:#333}._staffContainer_1uzmg_444 ._boxStyle_1uzmg_463{background:transparent!important;width:.4rem;height:.4rem;border:transparent!important}._staffContainer_1uzmg_444 ._active_1uzmg_469{background:#f7f8f9;border-radius:.21333rem}._staffContainer_1uzmg_444 ._active_1uzmg_469 ._name_1uzmg_457{color:#2dc7aa}._staffContainer_1uzmg_444 .van-cell{padding:.24rem .42667rem;margin-bottom:.16rem}._staffContainer_1uzmg_444 .van-cell:hover,._staffContainer_1uzmg_444 .van-cell:active,._staffContainer_1uzmg_444 .van-cell.active{background:#f7f8f9;border-radius:.21333rem}._staffContainer_1uzmg_444 .van-cell:hover .name,._staffContainer_1uzmg_444 .van-cell:active .name,._staffContainer_1uzmg_444 .van-cell.active .name{color:#2dc7aa}._staffContainer_1uzmg_444 .van-cell:last-child{margin-bottom:0}._staffContainer_1uzmg_444 .van-cell__value{display:flex;justify-content:flex-end}._staffContainer_1uzmg_444 .van-checkbox{overflow:inherit;height:.48rem;display:flex;align-items:center;justify-content:flex-end}._staffContainer_1uzmg_444 .van-checkbox__icon{height:.4rem;line-height:.4rem;display:inline-block;vertical-align:middle}._staffContainer_1uzmg_444 .van-checkbox__label{line-height:.4rem}\n',document.head.appendChild(u),System.register(["./icon_uploader-legacy.99fa0203.js","./icon-xin-legacy.785d3d33.js","./icon_album-legacy.498b9a9b.js","./icon_album_active-legacy.890b9402.js","./icon_exquisite-legacy.ccb5dcc0.js","./icon_music_active-legacy.aba070d7.js","./ResizeObserver.es-legacy.550cdd79.js","./index-legacy.68fecbe3.js","./index-legacy.ad89ccc9.js","./index-legacy.1117f73f.js","./index-legacy.15e51dab.js","./index-legacy.56dfb9ea.js","./index-legacy.054cb2f1.js","./index-legacy.d00b2744.js","./index-legacy.4ef6bb26.js","./vue3-lottie.es-legacy.4068df99.js","./music-legacy.df2ba245.js","./index-legacy.ccce7afc.js","./orderStatus-legacy.3a610e68.js","./icon_share-legacy.69f1973c.js","./download-legacy.0c4dcee0.js","./index-legacy.29f87052.js","./icon_teacher-legacy.42ba77b1.js","./icon_checkbox_default-legacy.e33240bc.js","./plyr.min-legacy.2c76eff7.js","./plyr-legacy.2bfabaee.js","./instrument-legacy.841a4c41.js","./oss-file-upload-legacy.5c611a5a.js","./index-legacy.4a1f68ca.js","./index-legacy.adbbdb37.js","./index-legacy.b6ddf8f7.js","./code-down-load-legacy.d088c326.js","./logo-legacy.cf4b3bd2.js","./browser-legacy.869507ab.js","./html2canvas.esm-legacy.19f9c2b7.js"],(function(t){"use strict";var n,a,i,u,l,c,s,m,d,f,g,_,p,v,h,b,y,z,x,w,k,C,I,S,j,T,R,O,E,N,A,P,D,B,L,M,X,U,V,q,F,H,W,J,G,K,Q,Y,$,Z,ee,te,ne,re,ae,ie,oe,ue,le,ce,se,me,de,fe,ge,_e,pe,ve,he,be,ye,ze,xe,we,ke,Ce,Ie;return{setters:[function(e){n=e._,a=e.a,i=e.b,u=e.c,l=e.d,c=e.e,s=e.f},function(e){m=e._},function(e){d=e.i,f=e._},function(e){g=e._},function(e){_=e._},function(e){p=e._},function(e){v=e.d,h=e.Q,b=e.P,y=e.U,z=e.S,x=e.a3,w=e.V,k=e.Y,C=e.bE,I=e.W,S=e.j,j=e.A,T=e.F,R=e.T,O=e.N,E=e.f,N=e.g,A=e.B,P=e.bA,D=e.aS,B=e.X,L=e.y,M=e.D,X=e.n,U=e.bi,V=e.bp},function(e){q=e.C},function(e){F=e.C},function(e){H=e.C},function(e){W=e.I},function(e){J=e.R,G=e.a},function(e){K=e.T},function(){},function(){},function(e){Q=e.V},function(e){Y=e.g,$=e.m},function(e){Z=e.C},function(e){ee=e.o},function(e){te=e.i},function(e){ne=e.i,re=e.a,ae=e.A,ie=e.e,oe=e.b,ue=e.c,le=e.d,ce=e.D,se=e.s,me=e.f,de=e.g},function(e){fe=e.C},function(e){ge=e.i},function(e){_e=e.a,pe=e.i},function(e){ve=e.P},function(){},function(e){he=e.g,be=e.s,ye=e.a,ze=e.f,xe=e.o},function(e){we=e.g,ke=e.o},function(e){Ce=e.e},function(e){Ie=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var Se={base:"_base_1uzmg_1",detail:"_detail_1uzmg_4",shareBtn:"_shareBtn_1uzmg_21",bgImg:"_bgImg_1uzmg_33",bgContent:"_bgContent_1uzmg_42",musicContent:"_musicContent_1uzmg_51",musicTitle:"_musicTitle_1uzmg_66",musicImg:"_musicImg_1uzmg_70",finch:"_finch_1uzmg_76",finchLoad:"_finchLoad_1uzmg_80",collectCell:"_collectCell_1uzmg_98",videoOperation:"_videoOperation_1uzmg_105",audition:"_audition_1uzmg_112",collect:"_collect_1uzmg_98",userInfo:"_userInfo_1uzmg_138",collectSection:"_collectSection_1uzmg_158",lookAlbum:"_lookAlbum_1uzmg_177",bg:"_bg_1uzmg_33",musicContainer:"_musicContainer_1uzmg_203",shareMate:"_shareMate_1uzmg_210",icon:"_icon_1uzmg_220",info:"_info_1uzmg_225",tagDiscount:"_tagDiscount_1uzmg_241",shareVip:"_shareVip_1uzmg_254",buttonDiscount:"_buttonDiscount_1uzmg_296",pImg:"_pImg_1uzmg_309",musicInfo:"_musicInfo_1uzmg_316",coomposer:"_coomposer_1uzmg_321",tag:"_tag_1uzmg_241",download:"_download_1uzmg_355",iconExchange:"_iconExchange_1uzmg_366",exquisiteFlag:"_exquisiteFlag_1uzmg_376",songAlbum:"_songAlbum_1uzmg_381",colSticky:"_colSticky_1uzmg_391",priceSection:"_priceSection_1uzmg_396",price:"_price_1uzmg_396",buyBtn:"_buyBtn_1uzmg_410",primry:"_primry_1uzmg_424",member:"_member_1uzmg_427",functionSection:"_functionSection_1uzmg_430",empty:"_empty_1uzmg_433",emptyImg:"_emptyImg_1uzmg_441",staffContainer:"_staffContainer_1uzmg_444",staffTitle:"_staffTitle_1uzmg_447",staffImg:"_staffImg_1uzmg_453",name:"_name_1uzmg_457",boxStyle:"_boxStyle_1uzmg_463",active:"_active_1uzmg_469"},je=t("getAssetsHomeFile",(function(e){var t="../component/images/".concat(e);return{"../component/images/collection.png":n,"../component/images/collection_active.png":a,"../component/images/icon-xin.png":m,"../component/images/icon_ai.png":i,"../component/images/icon_album.png":f,"../component/images/icon_album_active.png":g,"../component/images/icon_author.png":u,"../component/images/icon_download.png":l,"../component/images/icon_exquisite.png":_,"../component/images/icon_music_active.png":p,"../component/images/icon_share.png":c,"../component/images/icon_uploader.png":s}[t].default}));t("default",v({name:"MusicDetail",setup:function(){localStorage.setItem("behaviorId",Y());var t=h(),n=b(),a=y(!1),i=Number(n.query.activityId)||0,u=y(i),l=y(!1),c=y(null),s=y(null),m=y("0"),f=y(null),g=y(""),_=y([]),p=y([]),v=y([]),Te=y([]),Re=y({first:!1,fixed:!1,staff:!1});y("");var Oe=y(!1),Ee=z({status:!1,radio:"staff"}),Ne={FREE:{color:"#01B84F",text:"免费"},VIP:{color:"#CD863E",text:"会员"},CHARGE:{color:"#3591CE",text:"点播"}},Ae=function(e){Ee.radio=e,Ee.status=!1,"first"!=e||Re.value.first?"fixed"!=e||Re.value.fixed?Re.value.staff||(a.value=!1,it("staff",et.musicXml)):(a.value=!1,it("fixed",et.musicXml)):(a.value=!1,it("first",et.musicXml))};x((function(){return Ee.radio}),(function(e){_.value="first"==e?p.value:"fixed"==e?v.value:Te.value}));var Pe=function(){var e=o(regeneratorRuntime.mark((function e(r){var i,o,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a.value){e.next=2;break}return e.abrupt("return");case 2:return a.value=!0,l.value=!1,e.prev=4,e.next=7,L.get("/music/sheet/detail/".concat(n.query.id),{prefix:"TEACHER"===N.platformType?"/api-teacher":"/api-student"});case 7:o=e.sent,f.value=o.data,u=o.data.background,g.value=u&&u.length>0?u[0].audioFileUrl:"",_.value=o.data.musicImg?o.data.musicImg.split(","):[],p.value=o.data.firstTone?o.data.firstTone.split(","):[],v.value=o.data.fixedTone?o.data.fixedTone.split(","):[],Te.value=o.data.musicImg?o.data.musicImg.split(","):[],p.value.length>0&&(Re.value.first=!0),v.value.length>0&&(Re.value.fixed=!0),Te.value.length>0&&(Re.value.staff=!0),B((function(){nt()})),"DOING"===o.data.auditStatus&&M.confirm({message:"曲目审核中",showConfirmButton:!0,showCancelButton:!1,confirmButtonColor:"var(--van-primary)"}).then((function(){E().isApp?X({api:"goBack"}):t.back()})),e.next=25;break;case 22:e.prev=22,e.t0=e.catch(4),l.value=!0;case 25:"CONCERT"!==(null===(i=f.value)||void 0===i?void 0:i.musicSheetType)&&(a.value=!1);case 26:case"end":return e.stop()}}),e,null,[[4,22]])})));return function(t){return e.apply(this,arguments)}}(),De=function(e){for(var t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=atob(t[1]),a=r.length,i=new Uint8Array(a);a--;)i[a]=r.charCodeAt(a);return new Blob([i],{type:n})},Be=y(null),Le=y(null),Me=y(0),Xe=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=["play-large","play","progress","captions","duration"],Be.value=new ve(Le.value,{controls:n}),e.next=4,L.get("/api-student/sysConfig/queryByParamNameList",{params:{paramNames:"music_sheet_free_rate"}});case 4:r=e.sent,Me.value=(null===(t=r.data[0])||void 0===t?void 0:t.paramValue)||0,Be.value.on("timeupdate",(function(){var e=Be.value,t=e.duration*Me.value/100||0;e.currentTime>=t&&!Ke.value.play&&e.stop()}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ue=function(){var e=o(regeneratorRuntime.mark((function e(t){var i,o,u,l,c,s,m,d,f,g,p,v,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("musicStaffRender"!==(null===(i=t.data)||void 0===i?void 0:i.api)){e.next=27;break}o=t.data.osmdImg,_.value=[],u=[],l=0;case 5:if(!(l<o.length)){e.next=25;break}return e.next=8,be(o[l].img,o[l].width,o[l].height);case 8:return c=e.sent,s=n.query.id+N.user.data.userId+ +new Date+".png",m={filename:s,bucketName:"cloud-coach",postData:{filename:s,acl:"public-read",key:s}},e.next=13,we(m,!0);case 13:return d=e.sent,f=d.data,g={policy:f.policy,signature:f.signature,key:s,KSSAccessKeyId:f.kssAccessKeyId,acl:"public-read",name:s},p=De(c),v=V("cloud-coach"),e.next=20,ke(v,r(r({},g),{},{file:p}));case 20:h=e.sent,u.push(h);case 22:l++,e.next=5;break;case 25:_.value=u,a.value=t.data.loading;case 27:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();w(o(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Pe();case 2:t=k(c),n=t.height,r=k(s),m.value=n+r.height,g.value&&Xe(),window.addEventListener("message",Ue);case 7:case"end":return e.stop()}}),e)})))),C((function(){window.removeEventListener("message",Ue)}));var Ve=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/music/sheet/favorite/"+(null===(t=f.value)||void 0===t?void 0:t.id),{prefix:"TEACHER"===N.platformType?"/api-teacher":"/api-student"});case 3:f.value.favorite=null!==(n=f.value)&&void 0!==n&&n.favorite?0:1,f.value.favoriteCount=null!==(r=f.value)&&void 0!==r&&r.favorite?f.value.favoriteCount+1:f.value.favoriteCount-1<0?0:f.value.favoriteCount-1,setTimeout((function(){var e;R(null!==(e=f.value)&&void 0!==e&&e.favorite?"收藏成功":"取消收藏成功")}),100),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),qe=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/courseCourseware/submit",{data:{musicSheetId:f.value.id,clientType:"TEACHER",userId:null===(t=N.user.data)||void 0===t?void 0:t.userId}});case 3:n=e.sent,setTimeout((function(){f.value.coursewareId=n.data.id||"",R("添加成功"),f.value.coursewareStatus=1}),100),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),Fe=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:M.confirm({title:"提示",message:"您是否确定移除课件",confirmButtonColor:"#269a93",cancelButtonText:"取消",confirmButtonText:"确定"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/courseCourseware/remove/"+f.value.coursewareId,{data:{}});case 3:setTimeout((function(){R("移除成功"),f.value.coursewareStatus=0}),100),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])}))));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),He=function(){var e=o(regeneratorRuntime.mark((function e(){var t,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=f.value,ee.orderObject.orderType="MUSIC",ee.orderObject.orderName=t.musicSheetName,ee.orderObject.orderDesc=t.musicSheetName,ee.orderObject.actualPrice=t.musicPrice,ee.orderObject.recomUserId=n.query.recomUserId||0,ee.orderObject.activityId=n.query.activityId||0,ee.orderObject.orderNo="",ee.orderObject.orderList=[r({orderType:"MUSIC",goodsName:t.musicSheetName,actualPrice:t.musicPrice},t)],e.next=11,L.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"MUSIC",bizId:t.id}});case 11:a=e.sent,(i=a.data)?M.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ee.orderObject.orderNo=i.orderNo,ee.orderObject.actualPrice=i.actualPrice,ee.orderObject.discountPrice=i.discountPrice,ee.orderObject.paymentConfig=r(r({},i.paymentConfig),{},{paymentVendor:i.paymentVendor,paymentVersion:i.paymentVersion}),We();case 5:case"end":return e.stop()}}),e)})))).catch((function(){M.close(),Je(i.orderNo)})):We();case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),We=function(){var e=f.value;t.push({path:"/orderDetail",query:{orderType:"MUSIC",musicId:e.id}})},Je=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-student/userOrder/orderCancel",{data:{orderNo:t}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),Ge=I((function(){var e,t=null===(e=f.value)||void 0===e?void 0:e.paymentType;return"string"==typeof t?t=t.split(","):[]})),Ke=I((function(){var e,t=f.value;return{hasTenantAlbum:!(null===(e=n.query)||void 0===e||!e.tenantAlbumId),play:!!t.play,free:null==t?void 0:t.paymentType.includes("FREE"),charge:null==t?void 0:t.paymentType.includes("CHARGE"),vip:null==t?void 0:t.paymentType.includes("VIP"),buy:"PAID"===(null==t?void 0:t.orderStatus)}})),Qe=y(!1),Ye=y(""),$e=y(0),Ze=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.post("/api-teacher/open/musicShareProfit",{data:{bizId:null===(t=f.value)||void 0===t?void 0:t.id,userId:null===(n=N.user.data)||void 0===n?void 0:n.userId}});case 3:return i=e.sent,o=location.origin+"/teacher/#/shareMusic?id=".concat(null===(r=f.value)||void 0===r?void 0:r.id,"&recomUserId=").concat(null===(a=N.user.data)||void 0===a?void 0:a.userId,"&userType=").concat(N.platformType),1===i.data.discount&&(o+="&activityId=".concat(i.data.activityId)),$e.value=i.data.discount||0,console.log(o),Ye.value=o,Qe.value=!0,e.abrupt("return");case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(){return e.apply(this,arguments)}}(),et=z({open:!1,iframeSrc:"",musicXml:"",instrumentName:"",iframeRef:null,partIndex:0,partXmlIndex:0,tempPartList:[],partList:[],xmlPartList:[]}),tt={"长笛":1,"单簧管":2,"中音单簧管":3,"低音单簧管":4,"高音萨克斯风":5,"中音萨克斯风":6,"次中音萨克斯风":7,"低音萨克斯风":8,"小号":9,"长号":10,"圆号":11,"大号":12,"上低音号":13},nt=function(){var t=o(regeneratorRuntime.mark((function t(){var n,a,i,o,u,l,c,s,m,d,g,_,p,v,h,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,null===(n=f.value)||void 0===n||!n.xmlFileUrl){t.next=13;break}return t.next=4,U.get(null===(l=f.value)||void 0===l?void 0:l.xmlFileUrl,{mode:"cors"});case 4:c=t.sent,s=[],m=(new DOMParser).parseFromString(c,"text/xml"),d=e(m.getElementsByTagName("part-name"));try{for(d.s();!(g=d.n()).done;)(_=g.value).textContent&&s.push(_.textContent)}catch(z){d.e(z)}finally{d.f()}for(s=s.filter((function(e){var t;return!(null!=e&&null!==(t=e.toLocaleUpperCase())&&void 0!==t&&t.includes("COMMON"))})),p=[],v=0;v<s.length;v++)p.push({name:s[v],value:v});et.xmlPartList=p;case 13:et.iframeSrc="".concat(location.origin).concat(location.pathname,"osmd/index.html"),et.musicXml=(null===(a=f.value)||void 0===a?void 0:a.xmlFileUrl)||"",h=(null===(i=f.value)||void 0===i?void 0:i.background)||[],b=[],et.xmlPartList.forEach((function(e){var t=h.find((function(t){return t.track===e.name}));t&&b.push(r(r({},t),{},{index:e.value}))})),et.partList=b,et.tempPartList=JSON.parse(JSON.stringify(et.partList)),et.partList=((y=et.partList).sort((function(e,t){return(tt[he(e.track)]||20)-(tt[he(t.track)]||20)})),y),et.partXmlIndex=et.partList[0].index||0,et.instrumentName="CONCERT"===(null===(o=f.value)||void 0===o?void 0:o.musicSheetType)?he(null===(u=et.partList[et.partIndex])||void 0===u?void 0:u.track):"",t.next=27;break;case 25:t.prev=25,t.t0=t.catch(0);case 27:case"end":return t.stop()}var y}),t,null,[[0,25]])})));return function(){return t.apply(this,arguments)}}(),rt=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=document.getElementById("staffIframeRef"))||!t.contentWindow.renderXml){e.next=9;break}return e.next=4,U.get(et.musicXml,{mode:"cors"});case 4:n=e.sent,r=ye(n),a=ze(r.parsedXML),i=xe(a,et.partXmlIndex),t.contentWindow.renderXml(i,0);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),at=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,i,o,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=document.getElementById("staffIframeRef"))||!t.contentWindow.renderXml){e.next=11;break}return a.value=!0,e.next=5,U.get(et.musicXml,{mode:"cors"});case 5:r=e.sent,i=ye(r),o=ze(i.parsedXML),u=xe(o,et.partXmlIndex),t.contentWindow.renderXml(u,0),et.instrumentName=he(null===(n=et.partList[et.partIndex])||void 0===n?void 0:n.track);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),it=function(){var e=o(regeneratorRuntime.mark((function e(t,n){var r,i,o,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=document.getElementById("staffIframeRef"))||!r.contentWindow.renderXml){e.next=10;break}return a.value=!0,e.next=5,U.get(et.musicXml,{mode:"cors"});case 5:i=e.sent,o=ye(i),u=ze(o.parsedXML),l=xe(u,et.partXmlIndex),r.contentWindow.resetRenderPage(t,l);case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ot=I((function(){return et.partList.map((function(e,t){var n,r="CONCERT"===(null===(n=f.value)||void 0===n?void 0:n.musicSheetType)?he(e.track):"";return{text:e.track+(r?"(".concat(r,")"):""),value:t,xmlValue:e.index,track:e.track}}))}));return function(){var e,i,o,l,m,p,v,h,b,y,z;return S("div",{class:Se.detail},[S(Z,{position:"top"},{default:function(){var e;return[S("div",{ref:c},[S(q,{background:"transparent",border:!1,isFixed:!1,color:"#fff",title:null===(e=f.value)||void 0===e?void 0:e.musicSheetName,backIconColor:"white"},{right:function(){return S("div",{class:Se.shareBtn,style:{color:"#fff"},onClick:Ze},[S(W,{src:te},null),j("分享")])}})])]}}),S("img",{class:Se.bgImg,src:null===(e=f.value)||void 0===e?void 0:e.titleImg},null),S("div",{class:Se.bgContent},null),S("div",{class:Se.musicContainer,style:{marginTop:"16px",height:"calc(100vh - var(--header-height) - var(--bottom-height) - 16px)"}},[S(F,{border:!1,center:!0,class:Se.musicInfo},{icon:function(){var e;return S(W,{class:Se.pImg,src:null===(e=f.value)||void 0===e?void 0:e.titleImg},null)},title:function(){var e,t,n,r;return S("div",{class:Se.info},[S("h4",{class:"van-ellipsis"},[null===(e=f.value)||void 0===e?void 0:e.musicSheetName]),S("p",{style:{display:"flex"}},[Ge.value.map((function(e){return S(K,{style:{color:Ne[e].color},class:Se.tag,type:"success",plain:!0},{default:function(){return[Ne[e].text]}})})),1===(null===(t=f.value)||void 0===t?void 0:t.exquisiteFlag)&&S(W,{class:Se.exquisiteFlag,src:je("icon_exquisite.png")},null),(null===(n=f.value)||void 0===n?void 0:n.albumNums)>0&&S(W,{class:Se.songAlbum,src:je("icon_album_active.png")},null),S("span",{class:Se.coomposer},[null===(r=f.value)||void 0===r?void 0:r.composer])])])},value:function(){var e,t,n;return S(T,null,[null!==(e=f.value)&&void 0!==e&&e.notation?S("span",{class:Se.download,onClick:function(){Ee.status=!0},style:{display:"CONCERT"!==(null===(t=f.value)||void 0===t?void 0:t.musicSheetType)?"":"none"}},[S("img",{src:ne},null),S("span",null,[j("转谱")])]):null,S("span",{class:Se.download,onClick:function(){_.value.length>0?Oe.value=!0:R("暂无图片")}},[S("img",{src:re},null),S("span",null,[j("下载曲谱")])]),S("span",{style:{display:"CONCERT"===(null===(n=f.value)||void 0===n?void 0:n.musicSheetType)?"":"none"},class:Se.download,onClick:function(){et.open=!0}},[S(O,{class:Se.iconExchange,name:"exchange"},null),S("span",null,[j("切换乐器")])])])}}),S("div",{class:Se.musicContent},[S("p",{class:Se.musicTitle},[(null!==(i=f.value)&&void 0!==i&&i.musicSheetName?null===(o=f.value)||void 0===o?void 0:o.musicSheetName:"")+(et.instrumentName?"(".concat(et.instrumentName,")"):"")]),"CONCERT"!==(null===(l=f.value)||void 0===l?void 0:l.musicSheetType)&&Re.value[Ee.radio]?S(T,null,[_.value.length>0?S("div",{class:Se.musicImg},[S("img",{src:_.value[0],alt:""},null)]):a.value?S(T,null,[S(Q,{animationData:ae,class:Se.finch},null),S("p",{class:Se.finchLoad},[j("加载中...")])]):S("div",{class:Se.empty},[S(W,{src:ie,class:Se.emptyImg},null),S("p",{class:Se.emptyTip},[j("暂无乐谱预览图")])])]):S(T,null,[a.value&&S(T,null,[S(Q,{animationData:ae,class:Se.finch},null),S("p",{class:Se.finchLoad},[j("加载中...")])]),S("iframe",{id:"staffIframeRef",style:{opacity:a.value?0:1},src:et.iframeSrc,onLoad:function(){Re.value[Ee.radio]?rt():Ae(Ee.radio)}},null)]),S("div",{class:Se.videoOperation},[g.value&&S(T,null,[!Ke.value.play&&100!=Me.value&&0!=Me.value&&S("div",{class:[Se.audition]},[S("img",{src:oe},null),S("span",null,[j("每首曲目可试听"),Me.value,j("%")])]),S("div",{class:[Se.audio,Se.collectCell]},[S("audio",{id:"player",controls:!0,ref:Le},[S("source",{src:g.value,type:"audio/mp3"},null)])])]),S("div",{class:[Se.collect,Se.collectCell]},[S("div",{class:[Se.userInfo],onClick:function(){var e,n;E().isApp&&"TEACHER"===(null===(e=f.value)||void 0===e?void 0:e.sourceType)&&"STUDENT"===N.platformType&&t.push({path:"/teacherHome",query:{teacherId:null===(n=f.value)||void 0===n?void 0:n.userId,tabs:"music"}})}},[S("img",{src:(null===(m=f.value)||void 0===m?void 0:m.userAvatar)||ge},null),S("span",null,[null===(p=f.value)||void 0===p?void 0:p.userName])]),S("div",{class:Se.functionSection},[S("div",{class:[Se.collectSection],onClick:function(){return Ve()}},[S("span",null,[null===(v=f.value)||void 0===v?void 0:v.favoriteCount,j("人收藏")]),S("img",{src:null!==(h=f.value)&&void 0!==h&&h.favorite?ue:le},null)]),"TEACHER"===N.platformType&&S("div",{class:[Se.collectSection],onClick:function(){var e;null!==(e=f.value)&&void 0!==e&&e.coursewareStatus?Fe():qe()}},[S("span",null,[null!==(b=f.value)&&void 0!==b&&b.coursewareStatus?"移出课件":"添加到课件"]),null!==(y=f.value)&&void 0!==y&&y.coursewareStatus?S(O,{name:"clear"},null):S(O,{name:"add",size:18},null)])])])])]),S("div",{class:[Se.lookAlbum,Se.collectCell],onClick:function(){var e,n;t.push({path:"/look-album-list",query:{id:null===(e=f.value)||void 0===e?void 0:e.id,musicSubject:null===(n=f.value)||void 0===n?void 0:n.musicSubject}})}},[S("div",null,[S("img",{src:d},null),S("span",null,[j("进入曲目所在平台专辑列表")])]),S(O,{name:"arrow",size:16,color:"#666"},null)])]),(null===(z=f.value)||void 0===z?void 0:z.id)&&S(Z,{position:"bottom",background:"white",varName:"--bottom-height"},{default:function(){var e;return[S("div",{ref:s},[Ke.value.play||"TEACHER"===N.platformType&&Ke.value.hasTenantAlbum?S(A,{round:!0,block:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){Ce((function(){Be.value&&Be.value.stop();var e=ot.value.find((function(e){return e.value===et.partIndex}));$(f.value,(function(){}),{"part-index":(null==e?void 0:e.xmlValue)||0,sett:Ee.radio})}),500)()}},{default:function(){return[j("立即练习")]}}):S("div",{class:Se.colSticky},[Ke.value.charge&&S("div",{class:Se.priceSection},[S("span",null,[j("点播价:")]),S("span",{class:Se.price},[S("i",null,[j("¥")]),P(null===(e=f.value)||void 0===e?void 0:e.musicPrice)])]),S("div",{class:[Se.buyBtn]},[Ke.value.charge&&S(A,{round:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",class:Se.primary,onClick:He},{default:function(){return[j("立即点播")]}}),Ke.value.vip&&S(A,{round:!0,block:!Ke.value.charge,type:"primary",color:"linear-gradient(180deg, #F7BD8D 0%, #CD8806 100%)",class:Se.memeber,onClick:function(){t.push({path:"/memberCenter",query:r({},n.query)})}},{default:function(){return[u.value>0&&S("div",{class:[Se.buttonDiscount]},[j("专属优惠")]),j("开通会员")]}})])])])]}}),S(D,{show:Qe.value,"onUpdate:show":function(e){return Qe.value=e},style:{background:"transparent"},teleport:"body"},{default:function(){var e;return[S(fe,{teacherId:null===(e=N.user.data)||void 0===e?void 0:e.userId,shareUrl:Ye.value,shareType:"music"},{default:function(){var e,t,n;return[S("div",{class:Se.shareMate},[1===$e.value&&S("div",{class:Se.tagDiscount},[j("专属优惠")]),S("img",{class:Se.icon,crossorigin:"anonymous",src:(null===(e=f.value)||void 0===e?void 0:e.titleImg)+"?t=".concat(+new Date)},null),S("div",{class:Se.info},[S("h4",{class:"van-multi-ellipsis--l2"},[null===(t=f.value)||void 0===t?void 0:t.musicSheetName]),S("p",null,[j("作曲人:"),null===(n=f.value)||void 0===n?void 0:n.composer])])])]}})]}}),S(D,{show:Oe.value,"onUpdate:show":function(e){return Oe.value=e},position:"bottom",round:!0},{default:function(){return[Oe.value&&S(ce,{imgList:JSON.parse(JSON.stringify(_.value)),musicSheetName:f.value.musicSheetName},null)]}}),S(D,{show:Ee.status,"onUpdate:show":function(e){return Ee.status=e},teleport:"body",closeable:!0,style:{width:"80%"},round:!0},{default:function(){return[S("div",{class:Se.staffContainer},[S("div",{class:Se.staffTitle},[j("选择转换曲谱")]),S(J,{modelValue:Ee.radio,"onUpdate:modelValue":function(e){return Ee.radio=e}},{default:function(){return[S(H,{border:!1},{default:function(){return[S(F,{center:!0,border:!1,class:"staff"===Ee.radio?Se.active:"",onClick:function(){return Ae("staff")}},{icon:function(){return S(W,{src:se,class:Se.staffImg},null)},title:function(){return S("span",{class:Se.name},[j("五线谱")])},value:function(){return S(G,{name:"staff"},{icon:function(e){return S(O,{class:Se.boxStyle,size:16,name:e.checked?_e:pe},null)}})}}),S(F,{center:!0,border:!1,class:"first"===Ee.radio?Se.active:"",onClick:function(){return Ae("first")}},{icon:function(){return S(W,{src:me,class:Se.staffImg},null)},title:function(){return S("span",{class:Se.name},[j("简谱-首调")])},value:function(){return S(G,{name:"first"},{icon:function(e){return S(O,{class:Se.boxStyle,size:16,name:e.checked?_e:pe},null)}})}}),S(F,{center:!0,border:!1,class:"fixed"===Ee.radio?Se.active:"",onClick:function(){return Ae("fixed")}},{icon:function(){return S(W,{src:de,class:Se.staffImg},null)},title:function(){return S("span",{class:Se.name},[j("简谱-固定调")])},value:function(){return S(G,{name:"fixed"},{icon:function(e){return S(O,{class:Se.boxStyle,size:16,name:e.checked?_e:pe},null)}})}})]}})]}})])]}}),S(D,{teleport:"body",position:"bottom",round:!0,show:et.open,"onUpdate:show":function(e){return et.open=e}},{default:function(){return[S(Ie,{columns:ot.value,onConfirm:function(e){et.open=!1,et.partIndex=e.value,et.partXmlIndex=e.xmlValue,_.value=[],B((function(){at()}))},onCancel:function(){return et.open=!1}},null)]}})])}}}))}}}))}();
|