-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path6397-es5.d08fd30e670f11316eb1.js
1 lines (1 loc) · 15 KB
/
6397-es5.d08fd30e670f11316eb1.js
1
!function(){function t(t,n,e){return(n=l(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var t,e={},i=Object.prototype,r=i.hasOwnProperty,o=Object.defineProperty||function(t,n,e){t[n]=e.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{u({},"")}catch(t){u=function(t,n,e){return t[n]=e}}function f(t,n,e,i){var r=n&&n.prototype instanceof m?n:m,a=Object.create(r.prototype),l=new O(i||[]);return o(a,"_invoke",{value:S(t,e,l)}),a}function h(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var d="suspendedStart",p="executing",g="completed",v={};function m(){}function y(){}function b(){}var x={};u(x,l,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(F([])));k&&k!==i&&r.call(k,l)&&(x=k);var E=b.prototype=m.prototype=Object.create(x);function L(t){["next","throw","return"].forEach(function(n){u(t,n,function(t){return this._invoke(n,t)})})}function P(t,n){function e(i,o,a,l){var s=h(t[i],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?n.resolve(u.__await).then(function(t){e("next",t,a,l)},function(t){e("throw",t,a,l)}):n.resolve(u).then(function(t){c.value=t,a(c)},function(t){return e("throw",t,a,l)})}l(s.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new n(function(n,i){e(t,r,n,i)})}return i=i?i.then(o,o):o()}})}function S(n,e,i){var r=d;return function(o,a){if(r===p)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var l=i.delegate;if(l){var s=T(l,i);if(s){if(s===v)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===d)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=p;var c=h(n,e,i);if("normal"===c.type){if(r=i.done?g:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=g,i.method="throw",i.arg=c.arg)}}}function T(n,e){var i=e.method,r=n.iterator[i];if(r===t)return e.delegate=null,"throw"===i&&n.iterator.return&&(e.method="return",e.arg=t,T(n,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var o=h(r,n.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var a=o.arg;return a?a.done?(e[n.resultName]=a.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,v):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function j(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function F(n){if(n||""===n){var e=n[l];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var i=-1,o=function e(){for(;++i<n.length;)if(r.call(n,i))return e.value=n[i],e.done=!1,e;return e.value=t,e.done=!0,e};return o.next=o}}throw new TypeError(typeof n+" is not iterable")}return y.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===y||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},L(P.prototype),u(P.prototype,s,function(){return this}),e.AsyncIterator=P,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new P(f(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},L(E),u(E,c,"Generator"),u(E,l,function(){return this}),u(E,"toString",function(){return"[object Generator]"}),e.keys=function(t){var n=Object(t),e=[];for(var i in n)e.push(i);return e.reverse(),function t(){for(;e.length;){var i=e.pop();if(i in n)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=F,O.prototype={constructor:O,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!n)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var e=this;function i(i,r){return l.type="throw",l.arg=n,e.next=i,r&&(e.method="next",e.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],l=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var i=e.completion;if("throw"===i.type){var r=i.arg;j(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,i){return this.delegate={iterator:F(n),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function e(t,n,e,i,r,o,a){try{var l=t[o](a),s=l.value}catch(c){return void e(c)}l.done?n(s):Promise.resolve(s).then(i,r)}function i(t){return function(){var n=this,i=arguments;return new Promise(function(r,o){var a=t.apply(n,i);function l(t){e(a,r,o,l,s,"next",t)}function s(t){e(a,r,o,l,s,"throw",t)}l(void 0)})}}function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,l(i.key),i)}}function a(t,n,e){return n&&o(t.prototype,n),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t){var n=function(t,n){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==typeof n?n:String(n)}(self.webpackChunkv2x_frontend=self.webpackChunkv2x_frontend||[]).push([[6397],{3397:function(t,n,e){"use strict";e.d(n,{a:function(){return o},b:function(){return r},p:function(){return i}});var i=function(t){for(var n,e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return(n=console).warn.apply(n,["[Ionic Warning]: ".concat(t)].concat(i))},r=function(t){for(var n,e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return(n=console).error.apply(n,["[Ionic Error]: ".concat(t)].concat(i))},o=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i<n;i++)e[i-1]=arguments[i];return console.error("<".concat(t.tagName.toLowerCase(),"> must be used inside ").concat(e.join(" or "),"."))}},5269:function(e,o,l){"use strict";l.r(o),l.d(o,{ion_infinite_scroll:function(){return h},ion_infinite_scroll_content:function(){return d}});var s=l(1429),c=l(8931),u=l(5667),f=l(9089),h=function(){function e(t){var n=this;r(this,e),(0,s.r)(this,t),this.ionInfinite=(0,s.e)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=function(){var t=n.scrollEl;if(!t||!n.canStart())return 1;var e=n.el.offsetHeight;if(0===e)return 2;var i=t.scrollTop,r=t.offsetHeight,o=0!==n.thrPc?r*n.thrPc:n.thrPx;if(("bottom"===n.position?t.scrollHeight-e-i-o-r:i-e-o)<0){if(!n.didFire)return n.isLoading=!0,n.didFire=!0,n.ionInfinite.emit(),3}else n.didFire=!1;return 4}}var o,l;return a(e,[{key:"thresholdChanged",value:function(){var t=this.threshold;t.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(t)/100):(this.thrPx=parseFloat(t),this.thrPc=0)}},{key:"disabledChanged",value:function(){var t=this.disabled;t&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!t)}},{key:"connectedCallback",value:(l=i(n().mark(function t(){var e,i=this;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=(0,u.f)(this.el))){t.next=10;break}return t.next=4,(0,u.g)(e);case 4:this.scrollEl=t.sent,this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&(0,s.c)(function(){i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)}),t.next=11;break;case 10:(0,u.p)(this.el);case 11:case"end":return t.stop()}},t,this)})),function(){return l.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.enableScrollEvents(!1),this.scrollEl=void 0}},{key:"complete",value:(o=i(n().mark(function t(){var e,i,r=this;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=this.scrollEl,this.isLoading&&e&&(this.isLoading=!1,"top"===this.position)&&(this.isBusy=!0,i=e.scrollHeight-e.scrollTop,requestAnimationFrame(function(){(0,s.f)(function(){var t=e.scrollHeight-i;requestAnimationFrame(function(){(0,s.c)(function(){e.scrollTop=t,r.isBusy=!1})})})}));case 2:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"canStart",value:function(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}},{key:"enableScrollEvents",value:function(t){this.scrollEl&&(t?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}},{key:"render",value:function(){var n=(0,c.b)(this);return(0,s.h)(s.H,{class:t(t(t({},n,!0),"infinite-scroll-loading",this.isLoading),"infinite-scroll-enabled",!this.disabled)})}},{key:"el",get:function(){return(0,s.i)(this)}}],[{key:"watchers",get:function(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}}]),e}();h.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";var d=function(){function n(t){r(this,n),(0,s.r)(this,t),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",f.E)}return a(n,[{key:"componentDidLoad",value:function(){if(void 0===this.loadingSpinner){var t=(0,c.b)(this);this.loadingSpinner=c.c.get("infiniteLoadingSpinner",c.c.get("spinner","ios"===t?"lines":"crescent"))}}},{key:"renderLoadingText",value:function(){var t=this.customHTMLEnabled,n=this.loadingText;return t?(0,s.h)("div",{class:"infinite-loading-text",innerHTML:(0,f.a)(n)}):(0,s.h)("div",{class:"infinite-loading-text"},this.loadingText)}},{key:"render",value:function(){var n=(0,c.b)(this);return(0,s.h)(s.H,{class:t(t({},n,!0),"infinite-scroll-content-".concat(n),!0)},(0,s.h)("div",{class:"infinite-loading"},this.loadingSpinner&&(0,s.h)("div",{class:"infinite-loading-spinner"},(0,s.h)("ion-spinner",{name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}}]),n}();d.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}])}();