(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ax-custom-title/ax-custom-title"],{"1aa8":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=(this._self._c,this.visible?this.pages.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},"2ca5":function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("7eb4")),i=r(n("ee10")),o=r(n("773f"));function u(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);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 c(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},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 i,o=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var f={name:"ax-custom-title",props:{title:{type:String,default:""},unlock:{type:Boolean,default:!1}},data:function(){return{titleText:"",visible:!1,padding:"0px",height:"auto"}},created:function(){var e=this;return(0,i.default)(a.default.mark((function n(){var r,i,c,f,s,l,d,p,h,b,g,v,m,x,y,w;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.systemInfo();case 2:if(c=n.sent,e.visible=c.windowHeight===c.screenHeight,0!=e.visible){n.next=6;break}return n.abrupt("return");case 6:if(f={top:0,left:0,right:0,bottom:0,width:0,height:0},0===c.uniPlatform.indexOf("mp-")&&(f=t.getMenuButtonBoundingClientRect()),s=c.windowWidth-(f.right||c.windowWidth-10),l={top:f.top,left:s,right:(f.width||-1*s)+2*s,bottom:s,componentHeight:f.top+f.height+s,statusBarHeight:c.statusBarHeight},d="".concat(l.top,"px"),p="".concat(l.left,"px"),h="".concat(l.right,"px"),b="".concat(l.bottom,"px"),["windows","mac"].includes(c.platform)&&(d=0,b=0,h=p,f.height=45,0!=e.unlock||e.$slots.default||(e.visible=!1)),e.padding=[d,h,b,p].join(" "),e.height="".concat(f.height||50,"px"),g=Array.from(getCurrentPages()).pop(),v=o.default.pages.find((function(t){return t.path==g.route})),v||!o.default.subPackages){n.next=38;break}m=u(o.default.subPackages),n.prev=21,y=function(){var t=x.value,e=t.pages.find((function(e){return"".concat(t.root,"/").concat(e.path)==g.route}));if(e)return v=e,"break"},m.s();case 24:if((x=m.n()).done){n.next=30;break}if(w=y(),"break"!==w){n.next=28;break}return n.abrupt("break",30);case 28:n.next=24;break;case 30:n.next=35;break;case 32:n.prev=32,n.t0=n["catch"](21),m.e(n.t0);case 35:return n.prev=35,m.f(),n.finish(35);case 38:e.titleText=(null===(r=v)||void 0===r||null===(i=r.style)||void 0===i?void 0:i.navigationBarTitleText)||"",e.$emit("display",l);case 40:case"end":return n.stop()}}),n,null,[[21,32,35,38]])})))()},computed:{pages:function(){return getCurrentPages()}},methods:{systemInfo:function(){return new Promise((function(e,n){t.getSystemInfo({success:function(t){return e(t)},fail:function(t){return n(t)}})}))},back:function(){t.navigateBack({delta:1})}}};e.default=f}).call(this,n("df3c")["default"])},"34b9":function(t,e,n){"use strict";n.r(e);var r=n("2ca5"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},6358:function(t,e,n){"use strict";n.r(e);var r=n("1aa8"),a=n("34b9");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("ffab");var o=n("828b"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"703752e4",null,!1,r["a"],void 0);e["default"]=u.exports},af7f:function(t,e,n){},ffab:function(t,e,n){"use strict";var r=n("af7f"),a=n.n(r);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/ax-custom-title/ax-custom-title-create-component',
    {
        'components/ax-custom-title/ax-custom-title-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("6358"))
        })
    },
    [['components/ax-custom-title/ax-custom-title-create-component']]
]);
