index-legacy.45d07924.js 5.7 KB

12345
  1. <<<<<<<< HEAD:dist/assets/index-legacy.0e0de364.js
  2. !function(){function r(r,o){return function(r){if(Array.isArray(r))return r}(r)||function(r,n){var o=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==o)return;var t,e,i=[],a=!0,l=!1;try{for(o=o.call(r);!(a=(t=o.next()).done)&&(i.push(t.value),!n||i.length!==n);a=!0);}catch(u){l=!0,e=u}finally{try{a||null==o.return||o.return()}finally{if(l)throw e}}return i}(r,o)||function(r,o){if(!r)return;if("string"==typeof r)return n(r,o);var t=Object.prototype.toString.call(r).slice(8,-1);"Object"===t&&r.constructor&&(t=r.constructor.name);if("Map"===t||"Set"===t)return Array.from(r);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,o)}(r,o)||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(r,n){(null==n||n>r.length)&&(n=r.length);for(var o=0,t=new Array(n);o<n;o++)t[o]=r[o];return t}System.register(["./index-legacy.48c8d62c.js"],(function(n){"use strict";var o,t,e,i,a,l,u,c,s,f,d,v,g,y,h,m,p,b,S,w;return{setters:[function(r){o=r.t,t=r.z,e=r.v,i=r.u,a=r.d,l=r.R,u=r.a9,c=r.y,s=r.U,f=r.a1,d=r.Z,v=r.aa,g=r.ab,y=r.c,h=r.ac,m=r.ad,p=r.E,b=r._,S=r.a5,w=r.D}],execute:function(){var z=r(o("image"),2),I=z[0],x=z[1],j={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:t,height:t,radius:t,lazyLoad:Boolean,iconSize:t,showError:e,errorIcon:i("photo-fail"),iconPrefix:String,showLoading:e,loadingIcon:i("photo")},A=a({name:I,props:j,emits:["load","error"],setup:function(r,n){var o=n.emit,t=n.slots,e=l(!1),i=l(!0),a=l(),w=u().proxy.$Lazyload,z=c((function(){var n={width:s(r.width),height:s(r.height)};return f(r.radius)&&(n.overflow="hidden",n.borderRadius=s(r.radius)),n}));d((function(){return r.src}),(function(){e.value=!1,i.value=!0}));var I=function(r){i.value=!1,o("load",r)},j=function(r){e.value=!0,i.value=!1,o("error",r)},A=function(n,o,t){return t?t():y(S,{name:n,size:r.iconSize,class:o,classPrefix:r.iconPrefix},null)},L=function(){if(!e.value&&r.src){var n={alt:r.alt,class:x("img"),style:{objectFit:r.fit,objectPosition:r.position}};return r.lazyLoad?h(y("img",p({ref:a},n),null),[[m("lazy"),r.src]]):y("img",p({src:r.src,onLoad:I,onError:j},n),null)}},$=function(r){var n=r.el,o=function(){n===a.value&&i.value&&I()};a.value?o():b(o)},E=function(r){r.el!==a.value||e.value||j()};return w&&v&&(w.$on("loaded",$),w.$on("error",E),g((function(){w.$off("loaded",$),w.$off("error",E)}))),function(){var n;return y("div",{class:x({round:r.round,block:r.block}),style:z.value},[L(),i.value&&r.showLoading?y("div",{class:x("loading")},[A(r.loadingIcon,x("loading-icon"),t.loading)]):e.value&&r.showError?y("div",{class:x("error")},[A(r.errorIcon,x("error-icon"),t.error)]):void 0,null==(n=t.default)?void 0:n.call(t)])}}});n("I",w(A))}}}))}();
  3. ========
  4. !function(){function r(r,o){return function(r){if(Array.isArray(r))return r}(r)||function(r,n){var o=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==o)return;var t,e,i=[],a=!0,l=!1;try{for(o=o.call(r);!(a=(t=o.next()).done)&&(i.push(t.value),!n||i.length!==n);a=!0);}catch(u){l=!0,e=u}finally{try{a||null==o.return||o.return()}finally{if(l)throw e}}return i}(r,o)||function(r,o){if(!r)return;if("string"==typeof r)return n(r,o);var t=Object.prototype.toString.call(r).slice(8,-1);"Object"===t&&r.constructor&&(t=r.constructor.name);if("Map"===t||"Set"===t)return Array.from(r);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,o)}(r,o)||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(r,n){(null==n||n>r.length)&&(n=r.length);for(var o=0,t=new Array(n);o<n;o++)t[o]=r[o];return t}System.register(["./index-legacy.c1f63540.js"],(function(n){"use strict";var o,t,e,i,a,l,u,c,s,f,d,v,g,y,h,m,p,b,S,w;return{setters:[function(r){o=r.t,t=r.z,e=r.v,i=r.u,a=r.d,l=r.R,u=r.a9,c=r.y,s=r.U,f=r.a1,d=r.Z,v=r.aa,g=r.ab,y=r.c,h=r.ac,m=r.ad,p=r.E,b=r._,S=r.a5,w=r.D}],execute:function(){var z=r(o("image"),2),I=z[0],x=z[1],j={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:t,height:t,radius:t,lazyLoad:Boolean,iconSize:t,showError:e,errorIcon:i("photo-fail"),iconPrefix:String,showLoading:e,loadingIcon:i("photo")},A=a({name:I,props:j,emits:["load","error"],setup:function(r,n){var o=n.emit,t=n.slots,e=l(!1),i=l(!0),a=l(),w=u().proxy.$Lazyload,z=c((function(){var n={width:s(r.width),height:s(r.height)};return f(r.radius)&&(n.overflow="hidden",n.borderRadius=s(r.radius)),n}));d((function(){return r.src}),(function(){e.value=!1,i.value=!0}));var I=function(r){i.value=!1,o("load",r)},j=function(r){e.value=!0,i.value=!1,o("error",r)},A=function(n,o,t){return t?t():y(S,{name:n,size:r.iconSize,class:o,classPrefix:r.iconPrefix},null)},L=function(){if(!e.value&&r.src){var n={alt:r.alt,class:x("img"),style:{objectFit:r.fit,objectPosition:r.position}};return r.lazyLoad?h(y("img",p({ref:a},n),null),[[m("lazy"),r.src]]):y("img",p({src:r.src,onLoad:I,onError:j},n),null)}},$=function(r){var n=r.el,o=function(){n===a.value&&i.value&&I()};a.value?o():b(o)},E=function(r){r.el!==a.value||e.value||j()};return w&&v&&(w.$on("loaded",$),w.$on("error",E),g((function(){w.$off("loaded",$),w.$off("error",E)}))),function(){var n;return y("div",{class:x({round:r.round,block:r.block}),style:z.value},[L(),i.value&&r.showLoading?y("div",{class:x("loading")},[A(r.loadingIcon,x("loading-icon"),t.loading)]):e.value&&r.showError?y("div",{class:x("error")},[A(r.errorIcon,x("error-icon"),t.error)]):void 0,null==(n=t.default)?void 0:n.call(t)])}}});n("I",w(A))}}}))}();
  5. >>>>>>>> online:dist/assets/index-legacy.45d07924.js