index-legacy.a2ac81dd.js 6.2 KB

123456
  1. <<<<<<<< HEAD:dist/assets/index-legacy.a2ac81dd.js
  2. !function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||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 e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy.48c8d62c.js"],(function(e){"use strict";var n,r,o,i,a,u,c,f,l,s,d,v,h,p,m,y,b,x,g,w,I,S,j;return{setters:[function(t){n=t.aa,r=t.aT,o=t.ab,i=t.aL,a=t.t,u=t.z,c=t.u,f=t.w,l=t.d,s=t.R,d=t.an,v=t.r,h=t.y,p=t.az,m=t.N,y=t.aU,b=t.Z,x=t.a0,g=t.c,w=t.at,I=t.am,S=t.ap,j=t.D}],execute:function(){var A=t(a("sticky"),2),O=A[0],T=A[1],z={zIndex:u,position:c("top"),container:Object,offsetTop:f(0),offsetBottom:f(0)},B=l({name:O,props:z,emits:["scroll","change"],setup:function(t,e){var a=e.emit,u=e.slots,c=s(),f=d(c),l=v({fixed:!1,width:0,height:0,transform:0}),j=h((function(){return p("top"===t.position?t.offsetTop:t.offsetBottom)})),A=h((function(){var t=l.fixed,e=l.height,n=l.width;if(t)return{width:"".concat(n,"px"),height:"".concat(e,"px")}})),O=h((function(){if(l.fixed){var e,n,r,o=m(y(t.zIndex),(e={width:"".concat(l.width,"px"),height:"".concat(l.height,"px")},n=t.position,r="".concat(j.value,"px"),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e));return l.transform&&(o.transform="translate3d(0, ".concat(l.transform,"px, 0)")),o}})),z=function(){if(c.value&&!w(c)){var e=t.container,n=t.position,r=I(c),o=S(window);if(l.width=r.width,l.height=r.height,"top"===n)if(e){var i=I(e),u=i.bottom-j.value-l.height;l.fixed=j.value>r.top&&i.bottom>0,l.transform=u<0?u:0}else l.fixed=j.value>r.top;else{var f=document.documentElement.clientHeight;if(e){var s=I(e),d=f-s.top-j.value-l.height;l.fixed=f-j.value<r.bottom&&f>s.top,l.transform=d<0?-d:0}else l.fixed=f-j.value<r.bottom}!function(t){a("scroll",{scrollTop:t,isFixed:l.fixed})}(o)}};return b((function(){return l.fixed}),(function(t){return a("change",t)})),x("scroll",z,{target:f,passive:!0}),function(t,e){if(n&&window.IntersectionObserver){var a=new IntersectionObserver((function(t){e(t[0].intersectionRatio>0)}),{root:document.body}),u=function(){t.value&&a.unobserve(t.value)};r(u),o(u),i((function(){t.value&&a.observe(t.value)}))}}(c,z),function(){var t;return g("div",{ref:c,style:A.value},[g("div",{class:T({fixed:l.fixed}),style:O.value},[null==(t=u.default)?void 0:t.call(u)])])}}});e("S",j(B))}}}))}();
  3. ========
  4. !function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||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 e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy.c1f63540.js"],(function(e){"use strict";var n,r,o,i,a,u,c,f,l,s,d,v,h,p,m,y,b,x,g,w,A,I,S;return{setters:[function(t){n=t.aa,r=t.aZ,o=t.ab,i=t.aH,a=t.t,u=t.z,c=t.u,f=t.w,l=t.d,s=t.R,d=t.ap,v=t.r,h=t.y,p=t.aM,m=t.N,y=t.ax,b=t.Z,x=t.a0,g=t.c,w=t.aA,A=t.an,I=t.ar,S=t.D}],execute:function(){var j=t(a("sticky"),2),O=j[0],T=j[1],z={zIndex:u,position:c("top"),container:Object,offsetTop:f(0),offsetBottom:f(0)},B=l({name:O,props:z,emits:["scroll","change"],setup:function(t,e){var a=e.emit,u=e.slots,c=s(),f=d(c),l=v({fixed:!1,width:0,height:0,transform:0}),S=h((function(){return p("top"===t.position?t.offsetTop:t.offsetBottom)})),j=h((function(){var t=l.fixed,e=l.height,n=l.width;if(t)return{width:"".concat(n,"px"),height:"".concat(e,"px")}})),O=h((function(){if(l.fixed){var e,n,r,o=m(y(t.zIndex),(e={width:"".concat(l.width,"px"),height:"".concat(l.height,"px")},n=t.position,r="".concat(S.value,"px"),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e));return l.transform&&(o.transform="translate3d(0, ".concat(l.transform,"px, 0)")),o}})),z=function(){if(c.value&&!w(c)){var e=t.container,n=t.position,r=A(c),o=I(window);if(l.width=r.width,l.height=r.height,"top"===n)if(e){var i=A(e),u=i.bottom-S.value-l.height;l.fixed=S.value>r.top&&i.bottom>0,l.transform=u<0?u:0}else l.fixed=S.value>r.top;else{var f=document.documentElement.clientHeight;if(e){var s=A(e),d=f-s.top-S.value-l.height;l.fixed=f-S.value<r.bottom&&f>s.top,l.transform=d<0?-d:0}else l.fixed=f-S.value<r.bottom}!function(t){a("scroll",{scrollTop:t,isFixed:l.fixed})}(o)}};return b((function(){return l.fixed}),(function(t){return a("change",t)})),x("scroll",z,{target:f,passive:!0}),function(t,e){if(n&&window.IntersectionObserver){var a=new IntersectionObserver((function(t){e(t[0].intersectionRatio>0)}),{root:document.body}),u=function(){t.value&&a.unobserve(t.value)};r(u),o(u),i((function(){t.value&&a.observe(t.value)}))}}(c,z),function(){var t;return g("div",{ref:c,style:j.value},[g("div",{class:T({fixed:l.fixed}),style:O.value},[null==(t=u.default)?void 0:t.call(u)])])}}});e("S",S(B))}}}))}();
  5. >>>>>>>> online:dist/assets/index-legacy.6603017a.js