<<<<<<<< HEAD:dist/assets/index-legacy.31a9e446.js !function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var r,a,i=[],l=!0,o=!1;try{for(t=t.call(e);!(l=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);l=!0);}catch(u){o=!0,a=u}finally{try{l||null==t.return||t.return()}finally{if(o)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);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 n(e,t)}(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 n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);tn||!u&&on?t(r):l&&t(l)}()}function te(){var e=i([]),n=[];l((function(){e.value=[]}));return[e,function(t){return n[t]||(n[t]=function(n){e.value[t]=n}),n[t]}]}n("u",te);var re=e(o("tab"),2),ae=re[0],ie=re[1],le=u({name:ae,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:c,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:s},setup:function(e,n){var t=n.slots,r=d((function(){var n={},t=e.type,r=e.color,a=e.disabled,i=e.isActive,l=e.activeColor,o=e.inactiveColor;r&&"card"===t&&(n.borderColor=r,a||(i?n.backgroundColor=r:n.color=r));var u=i?l:o;return u&&(n.color=u),n}));return function(){return f("div",{id:e.id,role:"tab",class:[ie([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:r.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[(n=f("span",{class:ie("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]),e.dot||v(e.badge)&&""!==e.badge?f(b,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:function(){return[n]}}):n)]);var n}}}),oe=e(o("tabs"),2),ue=oe[0],ce=oe[1],se=u({name:ue,props:{count:p(Number),inited:Boolean,animated:Boolean,duration:p(c),swipeable:Boolean,lazyRender:Boolean,currentIndex:p(Number)},emits:["change"],setup:function(e,n){var t=n.emit,r=n.slots,a=i(),l=function(e){return t("change",e)},o=function(n){var t=a.value;t&&t.state.active!==n&&t.swipeTo(n,{immediate:!e.inited})};return h((function(){return e.currentIndex}),o),g((function(){o(e.currentIndex)})),y({swipeRef:a}),function(){return f("div",{class:ce("content",{animated:e.animated||e.swipeable})},[(t=null==(n=r.default)?void 0:n.call(r),e.animated||e.swipeable?f(P,{ref:a,loop:!1,class:ce("track"),duration:1e3*+e.duration,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:l},{default:function(){return[t]}}):t)]);var n,t}}}),de=e(o("tabs"),2),fe=de[0],ve=de[1],be={type:m("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:w(0),duration:w(.3),animated:Boolean,ellipsis:s,swipeable:Boolean,scrollspy:Boolean,offsetTop:w(0),background:String,lazyRender:s,lineWidth:c,lineHeight:c,beforeChange:Function,swipeThreshold:w(5),titleActiveColor:String,titleInactiveColor:String},pe=Symbol(fe),he=u({name:fe,props:be,emits:["change","scroll","rendered","clickTab","update:active"],setup:function(n,r){var a,l,o,u=r.emit,c=r.slots,s=i(),b=i(),p=i(),g=i(),m=x(),w=S(s),D=e(te(),2),U=D[0],E=D[1],F=I(pe),K=F.children,Q=F.linkChildren,Y=k({inited:!1,position:"",lineStyle:{},currentIndex:-1}),q=d((function(){return K.length>n.swipeThreshold||!n.ellipsis||n.shrink})),G=d((function(){return{borderColor:n.color,background:n.background}})),J=function(e,n){var t;return null!=(t=e.name)?t:n},P=d((function(){var e=K[Y.currentIndex];if(e)return J(e,Y.currentIndex)})),_=d((function(){return C(n.offsetTop)})),re=d((function(){return n.sticky?_.value+a:0})),ae=function(e){var r=b.value,a=U.value;if(q.value&&r&&a&&a[Y.currentIndex]){var i=a[Y.currentIndex].$el;!function(e,n,r){var a=0,i=e.scrollLeft,l=0===r?1:Math.round(1e3*r/16);!function r(){e.scrollLeft+=(n-i)/l,++a=0&&e0&&void 0!==arguments[0]&&arguments[0];if(n.scrollspy){var t=K[Y.currentIndex].$el;if(t&&w.value){var r=W(t,w.value)-re.value;l=!0,ne(w.value,r,e?0:+n.duration,(function(){l=!1}))}}},de=function(e){o=e.isFixed,u("scroll",e)},fe=function(){return K.map((function(e,t){return f(le,M({key:e.id,id:"".concat(m,"-").concat(t),ref:E(t),type:n.type,color:n.color,style:e.titleStyle,class:e.titleClass,shrink:n.shrink,isActive:t===Y.currentIndex,controls:e.id,scrollable:q.value,activeColor:n.titleActiveColor,inactiveColor:n.titleInactiveColor,onClick:function(r){return function(e,t,r){var a=K[t],i=a.title,l=a.disabled,o=J(K[t],t);l||(V(n.beforeChange,{args:[o],done:function(){oe(t),ce()}}),X(e)),u("clickTab",{name:o,title:i,event:r,disabled:l})}(e,t,r)}},N(e,["dot","badge","title","disabled","showZeroBadge"])),{title:e.$slots.title})}))},be=function(){if("line"===n.type&&K.length)return f("div",{class:ve("line"),style:Y.lineStyle},null)},he=function(){var e,t,r,a,i,l,o=n.type,u=n.border,s=n.sticky,d=[f("div",{ref:s?void 0:p,class:[ve("wrap"),(a={},i=L,l="line"===o&&u,i in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,a)]},[f("div",{ref:b,role:"tablist",class:ve("nav",[o,{shrink:n.shrink,complete:q.value}]),style:G.value,"aria-orientation":"horizontal"},[null==(e=c["nav-left"])?void 0:e.call(c),fe(),be(),null==(t=c["nav-right"])?void 0:t.call(c)])]),null==(r=c["nav-bottom"])?void 0:r.call(c)];return s?f("div",{ref:p},[d]):d};h([function(){return n.color},B],ie),h((function(){return n.active}),(function(e){e!==P.value&&ue(e)})),h((function(){return K.length}),(function(){Y.inited&&(ue(n.active),ie(),R((function(){ae(!0)})))}));return y({resize:function(){ie(),R((function(){var e,n;return null==(n=null==(e=g.value)?void 0:e.swipeRef.value)?void 0:n.resize()}))},scrollTo:function(e){R((function(){ue(e),ce(!0)}))}}),A(ie),T(ie),z((function(){ue(n.active,!0),R((function(){Y.inited=!0,p.value&&(a=H(p.value).height),ae(!0)}))})),j("scroll",(function(){if(n.scrollspy&&!l){var e=function(){for(var e=0;ere.value)return 0===e?0:e-1;return K.length-1}();oe(e)}}),{target:w,passive:!0}),Q({id:m,props:n,setLine:ie,onRendered:function(e,n){return u("rendered",e,n)},currentName:P,scrollIntoView:ae}),function(){return f("div",{ref:s,class:ve([n.type])},[n.sticky?f(ee,{container:s.value,offsetTop:_.value,onScroll:de},{default:function(){return[he()]}}):he(),f(se,{ref:g,count:K.length,inited:Y.inited,animated:n.animated,duration:n.duration,swipeable:n.swipeable,lazyRender:n.lazyRender,currentIndex:Y.currentIndex,onChange:oe},{default:function(){var e;return[null==(e=c.default)?void 0:e.call(c)]}})])}}}),ge=e(o("tab"),2),ye=ge[0],me=ge[1],we=D({},U,{dot:Boolean,name:c,badge:c,title:String,disabled:Boolean,titleClass:E,titleStyle:[String,Object],showZeroBadge:s}),xe=u({name:ye,props:we,setup:function(e,n){var t=n.slots,r=x(),a=i(!1),l=F(pe),o=l.parent,u=l.index;if(o){var c=function(){var n;return null!=(n=e.name)?n:u.value},s=d((function(){var n=c()===o.currentName.value;return n&&!a.value&&(a.value=!0,o.props.lazyRender&&R((function(){o.onRendered(c(),e.title)}))),n})),v=i(!s.value);return h(s,(function(e){e?v.value=!1:K((function(){v.value=!0}))})),h((function(){return e.title}),(function(){o.setLine(),o.scrollIntoView()})),Q(J,s),function(){var e,n="".concat(o.id,"-").concat(u.value),i=o.props,l=i.animated,c=i.swipeable,d=i.scrollspy,b=i.lazyRender;if(t.default||l){var p=d||s.value;if(l||c)return f(_,{id:r,role:"tabpanel",class:me("panel-wrapper",{inactive:v.value}),tabindex:s.value?0:-1,"aria-hidden":!s.value,"aria-labelledby":n},{default:function(){var e;return[f("div",{class:me("panel")},[null==(e=t.default)?void 0:e.call(t)])]}});var h=a.value||d||!b?null==(e=t.default)?void 0:e.call(t):null;return y({id:r}),Y(f("div",{id:r,role:"tabpanel",class:me("panel"),tabindex:p?0:-1,"aria-labelledby":n},[h]),[[q,p]])}}}console.error("[Vant] must be a child component of .")}});n("a",G(xe)),n("T",G(he))}}}))}(); ======== !function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var r,a,i=[],l=!0,o=!1;try{for(t=t.call(e);!(l=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);l=!0);}catch(u){o=!0,a=u}finally{try{l||null==t.return||t.return()}finally{if(o)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);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 n(e,t)}(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 n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);tn||!u&&on?t(r):l&&t(l)}()}function te(){var e=i([]),n=[];l((function(){e.value=[]}));return[e,function(t){return n[t]||(n[t]=function(n){e.value[t]=n}),n[t]}]}n("u",te);var re=e(o("tab"),2),ae=re[0],ie=re[1],le=u({name:ae,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:c,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:s},setup:function(e,n){var t=n.slots,r=d((function(){var n={},t=e.type,r=e.color,a=e.disabled,i=e.isActive,l=e.activeColor,o=e.inactiveColor;r&&"card"===t&&(n.borderColor=r,a||(i?n.backgroundColor=r:n.color=r));var u=i?l:o;return u&&(n.color=u),n}));return function(){return f("div",{id:e.id,role:"tab",class:[ie([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:r.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[(n=f("span",{class:ie("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]),e.dot||v(e.badge)&&""!==e.badge?f(b,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:function(){return[n]}}):n)]);var n}}}),oe=e(o("tabs"),2),ue=oe[0],ce=oe[1],se=u({name:ue,props:{count:p(Number),inited:Boolean,animated:Boolean,duration:p(c),swipeable:Boolean,lazyRender:Boolean,currentIndex:p(Number)},emits:["change"],setup:function(e,n){var t=n.emit,r=n.slots,a=i(),l=function(e){return t("change",e)},o=function(n){var t=a.value;t&&t.state.active!==n&&t.swipeTo(n,{immediate:!e.inited})};return h((function(){return e.currentIndex}),o),g((function(){o(e.currentIndex)})),y({swipeRef:a}),function(){return f("div",{class:ce("content",{animated:e.animated||e.swipeable})},[(t=null==(n=r.default)?void 0:n.call(r),e.animated||e.swipeable?f(P,{ref:a,loop:!1,class:ce("track"),duration:1e3*+e.duration,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:l},{default:function(){return[t]}}):t)]);var n,t}}}),de=e(o("tabs"),2),fe=de[0],ve=de[1],be={type:m("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:w(0),duration:w(.3),animated:Boolean,ellipsis:s,swipeable:Boolean,scrollspy:Boolean,offsetTop:w(0),background:String,lazyRender:s,lineWidth:c,lineHeight:c,beforeChange:Function,swipeThreshold:w(5),titleActiveColor:String,titleInactiveColor:String},pe=Symbol(fe),he=u({name:fe,props:be,emits:["change","scroll","rendered","clickTab","update:active"],setup:function(n,r){var a,l,o,u=r.emit,c=r.slots,s=i(),b=i(),p=i(),g=i(),m=x(),w=S(s),D=e(te(),2),U=D[0],E=D[1],F=I(pe),K=F.children,Q=F.linkChildren,Y=k({inited:!1,position:"",lineStyle:{},currentIndex:-1}),q=d((function(){return K.length>n.swipeThreshold||!n.ellipsis||n.shrink})),G=d((function(){return{borderColor:n.color,background:n.background}})),J=function(e,n){var t;return null!=(t=e.name)?t:n},P=d((function(){var e=K[Y.currentIndex];if(e)return J(e,Y.currentIndex)})),_=d((function(){return C(n.offsetTop)})),re=d((function(){return n.sticky?_.value+a:0})),ae=function(e){var r=b.value,a=U.value;if(q.value&&r&&a&&a[Y.currentIndex]){var i=a[Y.currentIndex].$el;!function(e,n,r){var a=0,i=e.scrollLeft,l=0===r?1:Math.round(1e3*r/16);!function r(){e.scrollLeft+=(n-i)/l,++a=0&&e0&&void 0!==arguments[0]&&arguments[0];if(n.scrollspy){var t=K[Y.currentIndex].$el;if(t&&w.value){var r=W(t,w.value)-re.value;l=!0,ne(w.value,r,e?0:+n.duration,(function(){l=!1}))}}},de=function(e){o=e.isFixed,u("scroll",e)},fe=function(){return K.map((function(e,t){return f(le,M({key:e.id,id:"".concat(m,"-").concat(t),ref:E(t),type:n.type,color:n.color,style:e.titleStyle,class:e.titleClass,shrink:n.shrink,isActive:t===Y.currentIndex,controls:e.id,scrollable:q.value,activeColor:n.titleActiveColor,inactiveColor:n.titleInactiveColor,onClick:function(r){return function(e,t,r){var a=K[t],i=a.title,l=a.disabled,o=J(K[t],t);l||(V(n.beforeChange,{args:[o],done:function(){oe(t),ce()}}),X(e)),u("clickTab",{name:o,title:i,event:r,disabled:l})}(e,t,r)}},N(e,["dot","badge","title","disabled","showZeroBadge"])),{title:e.$slots.title})}))},be=function(){if("line"===n.type&&K.length)return f("div",{class:ve("line"),style:Y.lineStyle},null)},he=function(){var e,t,r,a,i,l,o=n.type,u=n.border,s=n.sticky,d=[f("div",{ref:s?void 0:p,class:[ve("wrap"),(a={},i=L,l="line"===o&&u,i in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,a)]},[f("div",{ref:b,role:"tablist",class:ve("nav",[o,{shrink:n.shrink,complete:q.value}]),style:G.value,"aria-orientation":"horizontal"},[null==(e=c["nav-left"])?void 0:e.call(c),fe(),be(),null==(t=c["nav-right"])?void 0:t.call(c)])]),null==(r=c["nav-bottom"])?void 0:r.call(c)];return s?f("div",{ref:p},[d]):d};h([function(){return n.color},B],ie),h((function(){return n.active}),(function(e){e!==P.value&&ue(e)})),h((function(){return K.length}),(function(){Y.inited&&(ue(n.active),ie(),R((function(){ae(!0)})))}));return y({resize:function(){ie(),R((function(){var e,n;return null==(n=null==(e=g.value)?void 0:e.swipeRef.value)?void 0:n.resize()}))},scrollTo:function(e){R((function(){ue(e),ce(!0)}))}}),A(ie),T(ie),z((function(){ue(n.active,!0),R((function(){Y.inited=!0,p.value&&(a=H(p.value).height),ae(!0)}))})),j("scroll",(function(){if(n.scrollspy&&!l){var e=function(){for(var e=0;ere.value)return 0===e?0:e-1;return K.length-1}();oe(e)}}),{target:w,passive:!0}),Q({id:m,props:n,setLine:ie,onRendered:function(e,n){return u("rendered",e,n)},currentName:P,scrollIntoView:ae}),function(){return f("div",{ref:s,class:ve([n.type])},[n.sticky?f(ee,{container:s.value,offsetTop:_.value,onScroll:de},{default:function(){return[he()]}}):he(),f(se,{ref:g,count:K.length,inited:Y.inited,animated:n.animated,duration:n.duration,swipeable:n.swipeable,lazyRender:n.lazyRender,currentIndex:Y.currentIndex,onChange:oe},{default:function(){var e;return[null==(e=c.default)?void 0:e.call(c)]}})])}}}),ge=e(o("tab"),2),ye=ge[0],me=ge[1],we=D({},U,{dot:Boolean,name:c,badge:c,title:String,disabled:Boolean,titleClass:E,titleStyle:[String,Object],showZeroBadge:s}),xe=u({name:ye,props:we,setup:function(e,n){var t=n.slots,r=x(),a=i(!1),l=F(pe),o=l.parent,u=l.index;if(o){var c=function(){var n;return null!=(n=e.name)?n:u.value},s=d((function(){var n=c()===o.currentName.value;return n&&!a.value&&(a.value=!0,o.props.lazyRender&&R((function(){o.onRendered(c(),e.title)}))),n})),v=i(!s.value);return h(s,(function(e){e?v.value=!1:K((function(){v.value=!0}))})),h((function(){return e.title}),(function(){o.setLine(),o.scrollIntoView()})),Q(J,s),function(){var e,n="".concat(o.id,"-").concat(u.value),i=o.props,l=i.animated,c=i.swipeable,d=i.scrollspy,b=i.lazyRender;if(t.default||l){var p=d||s.value;if(l||c)return f(_,{id:r,role:"tabpanel",class:me("panel-wrapper",{inactive:v.value}),tabindex:s.value?0:-1,"aria-hidden":!s.value,"aria-labelledby":n},{default:function(){var e;return[f("div",{class:me("panel")},[null==(e=t.default)?void 0:e.call(t)])]}});var h=a.value||d||!b?null==(e=t.default)?void 0:e.call(t):null;return y({id:r}),Y(f("div",{id:r,role:"tabpanel",class:me("panel"),tabindex:p?0:-1,"aria-labelledby":n},[h]),[[q,p]])}}}console.error("[Vant] must be a child component of .")}});n("a",G(xe)),n("T",G(he))}}}))}(); >>>>>>>> iteration-20241018-courseware:dist/assets/index-legacy.f07c815b.js