(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/base/tui-skeleton"],{"04ac":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.skeletonElements,(function(t,n){var r=e.__get_orig(t),a=e.getRadius(t.skeletonType,e.borderRadius);return{$orig:r,m0:a}}))),r=e.isLoading?e.getLoadingType(e.loadingType):null;e.$mp.data=Object.assign({},{$root:{l0:n,m1:r}})},a=[]},5891:function(e,t,n){"use strict";var r=n("5bb4"),a=n.n(r);a.a},"5bb4":function(e,t,n){},"7d88":function(e,t,n){"use strict";n.r(t);var r=n("c80f"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},c80f:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("7eb4")),o=r(n("ee10"));function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={name:"tuiSkeleton",props:{selector:{type:String,default:"tui-skeleton"},backgroundColor:{type:String,default:"#fff"},skeletonBgColor:{type:String,default:"#e9e9e9"},skeletonType:{type:Array,default:function(){return["rect","circular","fillet"]}},borderRadius:{type:String,default:"16rpx"},preloadData:{type:Array,default:function(){return[]}},isLoading:{type:Boolean,default:!1},loadingType:{type:Number,default:1}},created:function(){var t=e.getSystemInfoSync();this.winWidth=t.windowWidth,this.winHeight=t.windowHeight,this.isPreload(!0)},mounted:function(){var e=this;this.$nextTick((function(){e.nodesRef(".".concat(e.selector)).then((function(t){t&&t[0]&&(e.winHeight=t[0].height+Math.abs(t[0].top))})),!e.isPreload()&&e.selectorQuery()}))},data:function(){return{winWidth:375,winHeight:800,skeletonElements:[]}},methods:{getLoadingType:function(e){var t=1;return e&&e>0&&e<11&&(t=e),"tui-loading-"+t},getRadius:function(e,t){var n="0";return"circular"==e?n="50%":"fillet"==e&&(n=t),n},isPreload:function(e){var t=this.preloadData||[];return!!t.length&&(e&&(this.skeletonElements=t),!0)},selectorQuery:function(){var e=this;return(0,o.default)(a.default.mark((function t(){var n,r,o,u,c;return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.skeletonType||[],r=[],o=i(n),t.prev=3,c=a.default.mark((function t(){var n,o;return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=u.value,o="",o=".".concat(e.selector," >>> .").concat(n),~"rect_circular_fillet".indexOf(n)&&(o=".".concat(e.selector," >>> .").concat(e.selector,"-").concat(n)),t.next=6,e.nodesRef(o).then((function(e){e.map((function(e){e.skeletonType=n})),r=r.concat(e)}));case 6:case"end":return t.stop()}}),t)})),o.s();case 6:if((u=o.n()).done){t.next=10;break}return t.delegateYield(c(),"t0",8);case 8:t.next=6;break;case 10:t.next=15;break;case 12:t.prev=12,t.t1=t["catch"](3),o.e(t.t1);case 15:return t.prev=15,o.f(),t.finish(15);case 18:e.skeletonElements=r;case 19:case"end":return t.stop()}}),t,null,[[3,12,15,18]])})))()},nodesRef:function(t){return(0,o.default)(a.default.mark((function n(){return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,new Promise((function(n,r){e.createSelectorQuery().selectAll(t).boundingClientRect((function(e){e?n(e):r(e)})).exec()}));case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)})))()}}};t.default=c}).call(this,n("df3c")["default"])},caab:function(e,t,n){"use strict";n.r(t);var r=n("04ac"),a=n("7d88");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("5891");var i=n("828b"),u=Object(i["a"])(a["default"],r["b"],r["c"],!1,null,"f5a31656",null,!1,r["a"],void 0);t["default"]=u.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/base/tui-skeleton-create-component',
    {
        'components/base/tui-skeleton-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("caab"))
        })
    },
    [['components/base/tui-skeleton-create-component']]
]);
