<<<<<<<< HEAD:dist/assets/index-legacy-aae826d4.js
!function(){function t(t,e,i,n,l,a,o){try{var s=t[a](o),r=s.value}catch(c){return void i(c)}s.done?e(r):Promise.resolve(r).then(n,l)}System.register(["./index-legacy-dacf2886.js","./index-legacy-a92664bf.js","./index-legacy-a299dfbf.js","./index.module-legacy-80b22a8c.js","./index-legacy-46cddc82.js","./index-legacy-631689c0.js","./browser-legacy-794fdde3.js","./index-legacy-bd3745bd.js","./index-legacy-6d5b16ab.js"],(function(e,i){"use strict";var n,l,a,o,s,r,c,d,u,g,y,p,m,v;return{setters:[t=>{n=t.d,l=t.P,a=t.x,o=t.y,s=t.a,r=t.W,c=t.a7,d=t.D},t=>{u=t.M},t=>{g=t.u,y=t.a},t=>{p=t.s},t=>{m=t.A},t=>{v=t.I},null,null,null],execute:function(){e("default",n({name:"instrument-detail",setup(){const e=l(),i=a({titleOpacity:0,background:"transparent",color:"#fff",detail:{},musicList:[],loading:!1}),n=function(){var n,l=(n=function*(){i.loading=!0;try{const{data:t}=yield d.get("/edu-app/knowledgeWiki/detail/"+e.query.id);t.intros=t.intros.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),i.detail=t||{},i.musicList=t.knowledgeWikiResources.map((t=>({id:t.id,name:t.name,url:t.url})))}catch(t){}i.loading=!1},function(){var e=this,i=arguments;return new Promise((function(l,a){var o=n.apply(e,i);function s(e){t(o,l,a,s,r,"next",e)}function r(e){t(o,l,a,s,r,"throw",e)}s(void 0)}))});return function(){return l.apply(this,arguments)}}();return o((()=>{g(document,"scroll",(()=>{const{y:t}=y();i.titleOpacity=t.value>100?1:t.value/100})),n()})),()=>s("div",{class:p.detail},[s(u,{position:"top"},{default:()=>[s(r,{border:!1,background:`rgba(255,255,255, ${i.titleOpacity})`,color:`rgba(51,51,51, ${i.titleOpacity})`,title:i.detail.name||""},null)]}),s("div",{class:p.container},[s("div",{class:p.instrumentLogo},[s(v,{class:p.logo,fit:"cover",src:i.detail.avatar},null)]),s("div",{class:p.title},[i.detail.name]),s("div",{class:p.content,innerHTML:i.detail.intros},null),!i.loading&&!i.detail.intros&&s(c,{description:"暂无内容"},null)]),s(u,{position:"bottom"},{default:()=>[i.musicList.length>0&&s(m,{musicList:i.musicList},null)]})])}}))}}}))}();
========
!function(){function t(t,e,i,n,l,a,o){try{var s=t[a](o),r=s.value}catch(c){return void i(c)}s.done?e(r):Promise.resolve(r).then(n,l)}System.register(["./index-legacy-cc1c21a0.js","./index-legacy-73ebded9.js","./index-legacy-4af11040.js","./index.module-legacy-80b22a8c.js","./index-legacy-97f4e6f3.js","./index-legacy-bf50c600.js","./browser-legacy-794fdde3.js","./index-legacy-203d302b.js","./index-legacy-b47bcb0a.js"],(function(e,i){"use strict";var n,l,a,o,s,r,c,d,u,g,y,p,m,v;return{setters:[t=>{n=t.d,l=t.P,a=t.x,o=t.y,s=t.a,r=t.W,c=t.a7,d=t.D},t=>{u=t.M},t=>{g=t.u,y=t.a},t=>{p=t.s},t=>{m=t.A},t=>{v=t.I},null,null,null],execute:function(){e("default",n({name:"instrument-detail",setup(){const e=l(),i=a({titleOpacity:0,background:"transparent",color:"#fff",detail:{},musicList:[],loading:!1}),n=function(){var n,l=(n=function*(){i.loading=!0;try{const{data:t}=yield d.get("/edu-app/knowledgeWiki/detail/"+e.query.id);t.intros=t.intros.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),i.detail=t||{},i.musicList=t.knowledgeWikiResources.map((t=>({id:t.id,name:t.name,url:t.url})))}catch(t){}i.loading=!1},function(){var e=this,i=arguments;return new Promise((function(l,a){var o=n.apply(e,i);function s(e){t(o,l,a,s,r,"next",e)}function r(e){t(o,l,a,s,r,"throw",e)}s(void 0)}))});return function(){return l.apply(this,arguments)}}();return o((()=>{g(document,"scroll",(()=>{const{y:t}=y();i.titleOpacity=t.value>100?1:t.value/100})),n()})),()=>s("div",{class:p.detail},[s(u,{position:"top"},{default:()=>[s(r,{border:!1,background:`rgba(255,255,255, ${i.titleOpacity})`,color:`rgba(51,51,51, ${i.titleOpacity})`,title:i.detail.name||""},null)]}),s("div",{class:p.container},[s("div",{class:p.instrumentLogo},[s(v,{class:p.logo,fit:"cover",src:i.detail.avatar},null)]),s("div",{class:p.title},[i.detail.name]),s("div",{class:p.content,innerHTML:i.detail.intros},null),!i.loading&&!i.detail.intros&&s(c,{description:"暂无内容"},null)]),s(u,{position:"bottom"},{default:()=>[i.musicList.length>0&&s(m,{musicList:i.musicList},null)]})])}}))}}}))}();
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-legacy-15118e6e.js
