index-legacy-9d260c53.js 3.3 KB

1
  1. !function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(r,n,e){return(n=function(r){var n=function(r,n){if("object"!==t(r)||null===r)return r;var e=r[Symbol.toPrimitive];if(void 0!==e){var u=e.call(r,n||"default");if("object"!==t(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(r)}(r,"string");return"symbol"===t(n)?n:String(n)}(n))in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function n(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var e,u,o,i,a=[],l=!0,f=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;!(l=(e=o.call(n)).done)&&(a.push(e.value),a.length!==r);l=!0);}catch(c){f=!0,u=c}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(f)throw u}}return a}}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t,r)||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,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./index-legacy-64376843.js"],(function(t,e){"use strict";var u,o,i,a,l,f,c,s,p,v,y;return{setters:[function(t){u=t.j,o=t.n,i=t.v,a=t.ao,l=t.d,f=t.ac,c=t.E,s=t.g,p=t.t,v=t.ae,y=t.D}],execute:function(){var e=n(u("row"),2),g=e[0],m=e[1],b=Symbol(g),d={tag:o("div"),wrap:i,align:String,gutter:a(0),justify:String},h=l({name:g,props:d,setup:function(t,n){var e=n.slots,u=f(b),o=u.children,i=u.linkChildren,a=c((function(){var t=[[]],r=0;return o.forEach((function(n,e){(r+=Number(n.span))>24?(t.push([e]),r-=24):t[t.length-1].push(e)})),t}));return i({spaces:c((function(){var r=Number(t.gutter),n=[];return r?(a.value.forEach((function(t){var e=r*(t.length-1)/t.length;t.forEach((function(t,u){if(0===u)n.push({right:e});else{var o=r-n[t-1].right,i=e-o;n.push({left:o,right:i})}}))})),n):n}))}),function(){var n,u=t.tag,o=t.wrap,i=t.align,a=t.justify;return s(u,{class:m((n={},r(n,"align-".concat(i),i),r(n,"justify-".concat(a),a),r(n,"nowrap",!o),n))},{default:function(){var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}}),S=n(u("col"),2),j=S[0],w=S[1],x={tag:o("div"),span:a(0),offset:p},A=l({name:j,props:x,setup:function(t,n){var e=n.slots,u=v(b),o=u.parent,i=u.index,a=c((function(){if(o){var t=o.spaces;if(t&&t.value&&t.value[i.value]){var r=t.value[i.value],n=r.left,e=r.right;return{paddingLeft:n?"".concat(n,"px"):null,paddingRight:e?"".concat(e,"px"):null}}}}));return function(){var n,u=t.tag,o=t.span,i=t.offset;return s(u,{style:a.value,class:w((n={},r(n,o,o),r(n,"offset-".concat(i),i),n))},{default:function(){var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}});t("C",y(A)),t("R",y(h))}}}))}();