index-legacy.6a47581c.js 5.4 KB

1
  1. !function(){function n(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==e)return;var a,l,r=[],o=!0,f=!1;try{for(e=e.call(n);!(o=(a=e.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(i){f=!0,l=i}finally{try{o||null==e.return||e.return()}finally{if(f)throw l}}return r}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var a=Object.prototype.toString.call(n).slice(8,-1);"Object"===a&&n.constructor&&(a=n.constructor.name);if("Map"===a||"Set"===a)return Array.from(n);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return e(n,t)}(n,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 e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,a=new Array(t);e<t;e++)a[e]=n[e];return a}var a=document.createElement("style");a.innerHTML=".van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:.02667rem}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}\n",document.head.appendChild(a),System.register(["./index-legacy.b903c881.js"],(function(e){"use strict";var a,l,r,o,f,i,c,u,s,v,m;return{setters:[function(n){a=n.A,l=n.$,r=n.G,o=n.aa,f=n.d,i=n.ai,c=n.V,u=n.j,s=n.E,v=n.as,m=n.N}],execute:function(){var d=t(a("row"),2),x=d[0],g=d[1],h=Symbol(x),w={tag:l("div"),wrap:r,align:String,gutter:o(0),justify:String},p=f({name:x,props:w,setup:function(t,e){var a=e.slots,l=i(h),r=l.children,o=l.linkChildren,f=c((function(){var n=[[]],t=0;return r.forEach((function(e,a){(t+=Number(e.span))>24?(n.push([a]),t-=24):n[n.length-1].push(a)})),n})),s=c((function(){var n=Number(t.gutter),e=[];return n?(f.value.forEach((function(t){var a=n*(t.length-1)/t.length;t.forEach((function(t,l){if(0===l)e.push({right:a});else{var r=n-e[t-1].right,o=a-r;e.push({left:r,right:o})}}))})),e):e}));return o({spaces:s}),function(){var e,l=t.tag,r=t.wrap,o=t.align,f=t.justify;return u(l,{class:g((e={},n(e,"align-".concat(o),o),n(e,"justify-".concat(f),f),n(e,"nowrap",!r),e))},{default:function(){var n;return[null==(n=a.default)?void 0:n.call(a)]}})}}}),y=t(a("col"),2),b=y[0],j=y[1],S={tag:l("div"),span:o(0),offset:s},A=f({name:b,props:S,setup:function(t,e){var a=e.slots,l=v(h),r=l.parent,o=l.index,f=c((function(){if(r){var n=r.spaces;if(n&&n.value&&n.value[o.value]){var t=n.value[o.value],e=t.left,a=t.right;return{paddingLeft:e?"".concat(e,"px"):null,paddingRight:a?"".concat(a,"px"):null}}}}));return function(){var e,l=t.tag,r=t.span,o=t.offset;return u(l,{style:f.value,class:j((e={},n(e,r,r),n(e,"offset-".concat(o),o),e))},{default:function(){var n;return[null==(n=a.default)?void 0:n.call(a)]}})}}});e("C",m(A)),e("R",m(p))}}}))}();