index-legacy.8e9b4f42.js 3.1 KB

1
  1. !function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var t,i,a=[],d=!0,o=!1;try{for(n=n.call(e);!(d=(t=n.next()).done)&&(a.push(t.value),!r||a.length!==r);d=!0);}catch(v){o=!0,i=v}finally{try{d||null==n.return||n.return()}finally{if(o)throw i}}return a}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e,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 r(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var n=document.createElement("style");n.innerHTML=':root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: .64rem;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:.02667rem;border-color:inherit;border-style:inherit;border-width:var(--van-border-width-base) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}\n',document.head.appendChild(n),System.register(["./index-legacy.fba2875c.js"],(function(r){"use strict";var n,t,i,a,d,o;return{setters:[function(e){n=e.A,t=e.G,i=e.$,a=e.d,d=e.j,o=e.N}],execute:function(){var v=e(n("divider"),2),l=v[0],c=v[1],f={dashed:Boolean,hairline:t,contentPosition:i("center")},u=a({name:l,props:f,setup:function(e,r){var n=r.slots;return function(){var r,t,i,a;return d("div",{role:"separator",class:c((t={dashed:e.dashed,hairline:e.hairline},i="content-".concat(e.contentPosition),a=!!n.default,i in t?Object.defineProperty(t,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[i]=a,t))},[null==(r=n.default)?void 0:r.call(n)])}}});r("D",o(u))}}}))}();